packages feed

amazonka-swf 0.1.0 → 0.1.1

raw patch · 33 files changed

+1175/−676 lines, 33 filesdep ~amazonka-corePVP ok

version bump matches the API change (PVP)

Dependency ranges changed: amazonka-core

API changes (from Hackage documentation)

+ Network.AWS.SWF.RegisterActivityType: ratDefaultTaskPriority :: Lens' RegisterActivityType (Maybe Text)
+ Network.AWS.SWF.RegisterWorkflowType: rwtDefaultTaskPriority :: Lens' RegisterWorkflowType (Maybe Text)
+ Network.AWS.SWF.StartWorkflowExecution: swe1TaskPriority :: Lens' StartWorkflowExecution (Maybe Text)
+ Network.AWS.SWF.Types: CANWEFCContinueAsNewWorkflowExecutionRateExceeded :: ContinueAsNewWorkflowExecutionFailedCause
+ Network.AWS.SWF.Types: atcDefaultTaskPriority :: Lens' ActivityTypeConfiguration (Maybe Text)
+ Network.AWS.SWF.Types: atseaTaskPriority :: Lens' ActivityTaskScheduledEventAttributes (Maybe Text)
+ Network.AWS.SWF.Types: canwedaTaskPriority :: Lens' ContinueAsNewWorkflowExecutionDecisionAttributes (Maybe Text)
+ Network.AWS.SWF.Types: dtseaTaskPriority :: Lens' DecisionTaskScheduledEventAttributes (Maybe Text)
+ Network.AWS.SWF.Types: instance Constructor C1_8ContinueAsNewWorkflowExecutionFailedCause
+ Network.AWS.SWF.Types: satdaTaskPriority :: Lens' ScheduleActivityTaskDecisionAttributes (Maybe Text)
+ Network.AWS.SWF.Types: scwedaTaskPriority :: Lens' StartChildWorkflowExecutionDecisionAttributes (Maybe Text)
+ Network.AWS.SWF.Types: scweieaTaskPriority :: Lens' StartChildWorkflowExecutionInitiatedEventAttributes (Maybe Text)
+ Network.AWS.SWF.Types: wecTaskPriority :: Lens' WorkflowExecutionConfiguration (Maybe Text)
+ Network.AWS.SWF.Types: wecaneaTaskPriority :: Lens' WorkflowExecutionContinuedAsNewEventAttributes (Maybe Text)
+ Network.AWS.SWF.Types: weseaTaskPriority :: Lens' WorkflowExecutionStartedEventAttributes (Maybe Text)
+ Network.AWS.SWF.Types: wtcDefaultTaskPriority :: Lens' WorkflowTypeConfiguration (Maybe Text)

Files

amazonka-swf.cabal view
@@ -1,5 +1,5 @@ name:                  amazonka-swf-version:               0.1.0+version:               0.1.1 synopsis:              Amazon Simple Workflow Service SDK. homepage:              https://github.com/brendanhay/amazonka license:               OtherLicense@@ -7,7 +7,7 @@ author:                Brendan Hay maintainer:            Brendan Hay <brendan.g.hay@gmail.com> copyright:             Copyright (c) 2013-2014 Brendan Hay-category:              Network, AWS, Cloud+category:              Network, AWS, Cloud, Distributed Computing build-type:            Simple extra-source-files:    README.md cabal-version:         >= 1.10@@ -77,5 +77,5 @@     other-modules:      build-depends:-          amazonka-core == 0.1.0.*+          amazonka-core == 0.1.1.*         , base          >= 4.7     && < 5
gen/Network/AWS/SWF/CountClosedWorkflowExecutions.hs view
@@ -22,10 +22,11 @@ -- -- Derived from AWS service descriptions, licensed under Apache 2.0. --- | Returns the number of closed workflow executions within the given domain--- that meet the specified filtering criteria.+-- | Returns the number of closed workflow executions within the given domain that+-- meet the specified filtering criteria. ----- Access Control+-- This operation is eventually consistent. The results are best effort and may+-- not exactly reflect recent updates and changes. Access Control -- -- You can use IAM policies to control this action's access to Amazon SWF -- resources as follows:@@ -33,9 +34,11 @@ -- Use a 'Resource' element with the domain name to limit the action to only -- specified domains. Use an 'Action' element to allow or deny permission to call -- this action. Constrain the following parameters by using a 'Condition' element--- with the appropriate keys.   'tagFilter.tag': String constraint. The key is 'swf:tagFilter.tag'.  'typeFilter.name': String constraint. The key is 'swf:typeFilter.name'.  'typeFilter.version': String constraint. The key is 'swf:typeFilter.version'.    If the caller does+-- with the appropriate keys.  'tagFilter.tag': String constraint. The key is 'swf:tagFilter.tag'. 'typeFilter.name': String constraint. The key is 'swf:typeFilter.name'. 'typeFilter.version': String constraint. The key is 'swf:typeFilter.version'.    If the caller does -- not have sufficient permissions to invoke the action, or the parameter values--- fall outside the specified constraints, the action fails by throwing 'OperationNotPermitted'. For details and example IAM policies, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html Using IAM to Manage Access toAmazon SWF Workflows>.+-- fall outside the specified constraints, the action fails. The associated+-- event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For+-- details and example IAM policies, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html Using IAM to Manage Access to AmazonSWF Workflows>. -- -- <http://docs.aws.amazon.com/amazonswf/latest/apireference/API_CountClosedWorkflowExecutions.html> module Network.AWS.SWF.CountClosedWorkflowExecutions@@ -109,12 +112,18 @@  -- | If specified, only workflow executions that match this close status are -- counted. This filter has an affect only if 'executionStatus' is specified as 'CLOSED'.+--+-- 'closeStatusFilter', 'executionFilter', 'typeFilter' and 'tagFilter' are mutually+-- exclusive. You can specify at most one of these in a request. ccweCloseStatusFilter :: Lens' CountClosedWorkflowExecutions (Maybe CloseStatusFilter) ccweCloseStatusFilter =     lens _ccweCloseStatusFilter (\s a -> s { _ccweCloseStatusFilter = a })  -- | If specified, only workflow executions that meet the close time criteria of -- the filter are counted.+--+-- 'startTimeFilter' and 'closeTimeFilter' are mutually exclusive. You must specify+-- one of these in a request but not both. ccweCloseTimeFilter :: Lens' CountClosedWorkflowExecutions (Maybe ExecutionTimeFilter) ccweCloseTimeFilter =     lens _ccweCloseTimeFilter (\s a -> s { _ccweCloseTimeFilter = a })@@ -125,22 +134,34 @@  -- | If specified, only workflow executions matching the 'WorkflowId' in the filter -- are counted.+--+-- 'closeStatusFilter', 'executionFilter', 'typeFilter' and 'tagFilter' are mutually+-- exclusive. You can specify at most one of these in a request. ccweExecutionFilter :: Lens' CountClosedWorkflowExecutions (Maybe WorkflowExecutionFilter) ccweExecutionFilter =     lens _ccweExecutionFilter (\s a -> s { _ccweExecutionFilter = a })  -- | If specified, only workflow executions that meet the start time criteria of -- the filter are counted.+--+-- 'startTimeFilter' and 'closeTimeFilter' are mutually exclusive. You must specify+-- one of these in a request but not both. ccweStartTimeFilter :: Lens' CountClosedWorkflowExecutions (Maybe ExecutionTimeFilter) ccweStartTimeFilter =     lens _ccweStartTimeFilter (\s a -> s { _ccweStartTimeFilter = a })  -- | If specified, only executions that have a tag that matches the filter are -- counted.+--+-- 'closeStatusFilter', 'executionFilter', 'typeFilter' and 'tagFilter' are mutually+-- exclusive. You can specify at most one of these in a request. ccweTagFilter :: Lens' CountClosedWorkflowExecutions (Maybe TagFilter) ccweTagFilter = lens _ccweTagFilter (\s a -> s { _ccweTagFilter = a })  -- | If specified, indicates the type of the workflow executions to be counted.+--+-- 'closeStatusFilter', 'executionFilter', 'typeFilter' and 'tagFilter' are mutually+-- exclusive. You can specify at most one of these in a request. ccweTypeFilter :: Lens' CountClosedWorkflowExecutions (Maybe WorkflowTypeFilter) ccweTypeFilter = lens _ccweTypeFilter (\s a -> s { _ccweTypeFilter = a }) 
gen/Network/AWS/SWF/CountOpenWorkflowExecutions.hs view
@@ -25,7 +25,8 @@ -- | Returns the number of open workflow executions within the given domain that -- meet the specified filtering criteria. ----- Access Control+-- This operation is eventually consistent. The results are best effort and may+-- not exactly reflect recent updates and changes. Access Control -- -- You can use IAM policies to control this action's access to Amazon SWF -- resources as follows:@@ -33,9 +34,11 @@ -- Use a 'Resource' element with the domain name to limit the action to only -- specified domains. Use an 'Action' element to allow or deny permission to call -- this action. Constrain the following parameters by using a 'Condition' element--- with the appropriate keys.   'tagFilter.tag': String constraint. The key is 'swf:tagFilter.tag'.  'typeFilter.name': String constraint. The key is 'swf:typeFilter.name'.  'typeFilter.version': String constraint. The key is 'swf:typeFilter.version'.    If the caller does+-- with the appropriate keys.  'tagFilter.tag': String constraint. The key is 'swf:tagFilter.tag'. 'typeFilter.name': String constraint. The key is 'swf:typeFilter.name'. 'typeFilter.version': String constraint. The key is 'swf:typeFilter.version'.    If the caller does -- not have sufficient permissions to invoke the action, or the parameter values--- fall outside the specified constraints, the action fails by throwing 'OperationNotPermitted'. For details and example IAM policies, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html Using IAM to Manage Access toAmazon SWF Workflows>.+-- fall outside the specified constraints, the action fails. The associated+-- event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For+-- details and example IAM policies, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html Using IAM to Manage Access to AmazonSWF Workflows>. -- -- <http://docs.aws.amazon.com/amazonswf/latest/apireference/API_CountOpenWorkflowExecutions.html> module Network.AWS.SWF.CountOpenWorkflowExecutions@@ -104,22 +107,31 @@  -- | If specified, only workflow executions matching the 'WorkflowId' in the filter -- are counted.+--+-- 'executionFilter', 'typeFilter' and 'tagFilter' are mutually exclusive. You can+-- specify at most one of these in a request. coweExecutionFilter :: Lens' CountOpenWorkflowExecutions (Maybe WorkflowExecutionFilter) coweExecutionFilter =     lens _coweExecutionFilter (\s a -> s { _coweExecutionFilter = a }) --- | Specifies the start time criteria that workflow executions must meet in--- order to be counted.+-- | Specifies the start time criteria that workflow executions must meet in order+-- to be counted. coweStartTimeFilter :: Lens' CountOpenWorkflowExecutions ExecutionTimeFilter coweStartTimeFilter =     lens _coweStartTimeFilter (\s a -> s { _coweStartTimeFilter = a })  -- | If specified, only executions that have a tag that matches the filter are -- counted.+--+-- 'executionFilter', 'typeFilter' and 'tagFilter' are mutually exclusive. You can+-- specify at most one of these in a request. coweTagFilter :: Lens' CountOpenWorkflowExecutions (Maybe TagFilter) coweTagFilter = lens _coweTagFilter (\s a -> s { _coweTagFilter = a })  -- | Specifies the type of the workflow executions to be counted.+--+-- 'executionFilter', 'typeFilter' and 'tagFilter' are mutually exclusive. You can+-- specify at most one of these in a request. coweTypeFilter :: Lens' CountOpenWorkflowExecutions (Maybe WorkflowTypeFilter) coweTypeFilter = lens _coweTypeFilter (\s a -> s { _coweTypeFilter = a }) 
gen/Network/AWS/SWF/CountPendingActivityTasks.hs view
@@ -38,8 +38,9 @@ -- element with the 'swf:taskList.name' key to allow the action to access only -- certain task lists.  If the caller does not have sufficient permissions to -- invoke the action, or the parameter values fall outside the specified--- constraints, the action fails by throwing 'OperationNotPermitted'. For details--- and example IAM policies, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html Using IAM to Manage Access to Amazon SWFWorkflows>.+-- constraints, the action fails. The associated event attribute's cause+-- parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM+-- policies, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html Using IAM to Manage Access to Amazon SWF Workflows>. -- -- <http://docs.aws.amazon.com/amazonswf/latest/apireference/API_CountPendingActivityTasks.html> module Network.AWS.SWF.CountPendingActivityTasks
gen/Network/AWS/SWF/CountPendingDecisionTasks.hs view
@@ -38,8 +38,9 @@ -- element with the 'swf:taskList.name' key to allow the action to access only -- certain task lists.  If the caller does not have sufficient permissions to -- invoke the action, or the parameter values fall outside the specified--- constraints, the action fails by throwing 'OperationNotPermitted'. For details--- and example IAM policies, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html Using IAM to Manage Access to Amazon SWFWorkflows>.+-- constraints, the action fails. The associated event attribute's cause+-- parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM+-- policies, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html Using IAM to Manage Access to Amazon SWF Workflows>. -- -- <http://docs.aws.amazon.com/amazonswf/latest/apireference/API_CountPendingDecisionTasks.html> module Network.AWS.SWF.CountPendingDecisionTasks
gen/Network/AWS/SWF/DeprecateActivityType.hs view
@@ -26,7 +26,8 @@ -- deprecated, you cannot create new tasks of that activity type. Tasks of this -- type that were scheduled before the type was deprecated will continue to run. ----- Access Control+-- This operation is eventually consistent. The results are best effort and may+-- not exactly reflect recent updates and changes. Access Control -- -- You can use IAM policies to control this action's access to Amazon SWF -- resources as follows:@@ -34,10 +35,11 @@ -- Use a 'Resource' element with the domain name to limit the action to only -- specified domains. Use an 'Action' element to allow or deny permission to call -- this action. Constrain the following parameters by using a 'Condition' element--- with the appropriate keys.   'activityType.name': String constraint. The key is 'swf:activityType.name'.  'activityType.version': String constraint. The key is 'swf:activityType.version'.    If the caller does not have sufficient permissions to invoke the action,+-- with the appropriate keys.  'activityType.name': String constraint. The key is 'swf:activityType.name'. 'activityType.version': String constraint. The key is 'swf:activityType.version'+-- .    If the caller does not have sufficient permissions to invoke the action, -- or the parameter values fall outside the specified constraints, the action--- fails by throwing 'OperationNotPermitted'. For details and example IAM--- policies, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html Using IAM to Manage Access to Amazon SWF Workflows>.+-- fails. The associated event attribute's cause parameter will be set to+-- OPERATION_NOT_PERMITTED. For details and example IAM policies, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html Using IAMto Manage Access to Amazon SWF Workflows>. -- -- <http://docs.aws.amazon.com/amazonswf/latest/apireference/API_DeprecateActivityType.html> module Network.AWS.SWF.DeprecateActivityType
gen/Network/AWS/SWF/DeprecateDomain.hs view
@@ -22,14 +22,15 @@ -- -- Derived from AWS service descriptions, licensed under Apache 2.0. --- | Deprecates the specified domain. After a domain has been deprecated it--- cannot be used to create new workflow executions or register new types.--- However, you can still use visibility actions on this domain. Deprecating a--- domain also deprecates all activity and workflow types registered in the--- domain. Executions that were started before the domain was deprecated will--- continue to run.+-- | Deprecates the specified domain. After a domain has been deprecated it cannot+-- be used to create new workflow executions or register new types. However, you+-- can still use visibility actions on this domain. Deprecating a domain also+-- deprecates all activity and workflow types registered in the domain.+-- Executions that were started before the domain was deprecated will continue+-- to run. ----- Access Control+-- This operation is eventually consistent. The results are best effort and may+-- not exactly reflect recent updates and changes. Access Control -- -- You can use IAM policies to control this action's access to Amazon SWF -- resources as follows:@@ -39,8 +40,8 @@ -- this action. You cannot use an IAM policy to constrain this action's -- parameters.  If the caller does not have sufficient permissions to invoke the -- action, or the parameter values fall outside the specified constraints, the--- action fails by throwing 'OperationNotPermitted'. For details and example IAM--- policies, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html Using IAM to Manage Access to Amazon SWF Workflows>.+-- action fails. The associated event attribute's cause parameter will be set to+-- OPERATION_NOT_PERMITTED. For details and example IAM policies, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html Using IAMto Manage Access to Amazon SWF Workflows>. -- -- <http://docs.aws.amazon.com/amazonswf/latest/apireference/API_DeprecateDomain.html> module Network.AWS.SWF.DeprecateDomain
gen/Network/AWS/SWF/DeprecateWorkflowType.hs view
@@ -27,7 +27,8 @@ -- were started before the type was deprecated will continue to run. A -- deprecated workflow type may still be used when calling visibility actions. ----- Access Control+-- This operation is eventually consistent. The results are best effort and may+-- not exactly reflect recent updates and changes. Access Control -- -- You can use IAM policies to control this action's access to Amazon SWF -- resources as follows:@@ -35,10 +36,11 @@ -- Use a 'Resource' element with the domain name to limit the action to only -- specified domains. Use an 'Action' element to allow or deny permission to call -- this action. Constrain the following parameters by using a 'Condition' element--- with the appropriate keys.   'workflowType.name': String constraint. The key is 'swf:workflowType.name'.  'workflowType.version': String constraint. The key is 'swf:workflowType.version'.    If the caller does not have sufficient permissions to invoke the action,+-- with the appropriate keys.  'workflowType.name': String constraint. The key is 'swf:workflowType.name'. 'workflowType.version': String constraint. The key is 'swf:workflowType.version'+-- .    If the caller does not have sufficient permissions to invoke the action, -- or the parameter values fall outside the specified constraints, the action--- fails by throwing 'OperationNotPermitted'. For details and example IAM--- policies, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html Using IAM to Manage Access to Amazon SWF Workflows>.+-- fails. The associated event attribute's cause parameter will be set to+-- OPERATION_NOT_PERMITTED. For details and example IAM policies, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html Using IAMto Manage Access to Amazon SWF Workflows>. -- -- <http://docs.aws.amazon.com/amazonswf/latest/apireference/API_DeprecateWorkflowType.html> module Network.AWS.SWF.DeprecateWorkflowType
gen/Network/AWS/SWF/DescribeActivityType.hs view
@@ -23,8 +23,8 @@ -- Derived from AWS service descriptions, licensed under Apache 2.0.  -- | Returns information about the specified activity type. This includes--- configuration settings provided at registration time as well as other general--- information about the type.+-- configuration settings provided when the type was registered and other+-- general information about the type. -- -- Access Control --@@ -34,10 +34,11 @@ -- Use a 'Resource' element with the domain name to limit the action to only -- specified domains. Use an 'Action' element to allow or deny permission to call -- this action. Constrain the following parameters by using a 'Condition' element--- with the appropriate keys.   'activityType.name': String constraint. The key is 'swf:activityType.name'.  'activityType.version': String constraint. The key is 'swf:activityType.version'.    If the caller does not have sufficient permissions to invoke the action,+-- with the appropriate keys.  'activityType.name': String constraint. The key is 'swf:activityType.name'. 'activityType.version': String constraint. The key is 'swf:activityType.version'+-- .    If the caller does not have sufficient permissions to invoke the action, -- or the parameter values fall outside the specified constraints, the action--- fails by throwing 'OperationNotPermitted'. For details and example IAM--- policies, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html Using IAM to Manage Access to Amazon SWF Workflows>.+-- fails. The associated event attribute's cause parameter will be set to+-- OPERATION_NOT_PERMITTED. For details and example IAM policies, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html Using IAMto Manage Access to Amazon SWF Workflows>. -- -- <http://docs.aws.amazon.com/amazonswf/latest/apireference/API_DescribeActivityType.html> module Network.AWS.SWF.DescribeActivityType@@ -85,7 +86,8 @@     , _datActivityType = p2     } --- | The activity type to describe.+-- | The activity type to get information about. Activity types are identified by+-- the 'name' and 'version' that were supplied when the activity was registered. datActivityType :: Lens' DescribeActivityType ActivityType datActivityType = lens _datActivityType (\s a -> s { _datActivityType = a }) @@ -121,8 +123,8 @@  -- | General information about the activity type. ----- The status of activity type (returned in the ActivityTypeInfo structure)--- can be one of the following.+-- The status of activity type (returned in the ActivityTypeInfo structure) can+-- be one of the following. -- -- REGISTERED: The type is registered and available. Workers supporting this -- type should be running.   DEPRECATED: The type was deprecated using 'DeprecateActivityType', but is still in use. You should keep workers supporting this type running.
gen/Network/AWS/SWF/DescribeDomain.hs view
@@ -22,7 +22,7 @@ -- -- Derived from AWS service descriptions, licensed under Apache 2.0. --- | Returns information about the specified domain including description and+-- | Returns information about the specified domain, including description and -- status. -- -- Access Control@@ -35,8 +35,8 @@ -- this action. You cannot use an IAM policy to constrain this action's -- parameters.  If the caller does not have sufficient permissions to invoke the -- action, or the parameter values fall outside the specified constraints, the--- action fails by throwing 'OperationNotPermitted'. For details and example IAM--- policies, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html Using IAM to Manage Access to Amazon SWF Workflows>.+-- action fails. The associated event attribute's cause parameter will be set to+-- OPERATION_NOT_PERMITTED. For details and example IAM policies, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html Using IAMto Manage Access to Amazon SWF Workflows>. -- -- <http://docs.aws.amazon.com/amazonswf/latest/apireference/API_DescribeDomain.html> module Network.AWS.SWF.DescribeDomain
gen/Network/AWS/SWF/DescribeWorkflowExecution.hs view
@@ -22,10 +22,11 @@ -- -- Derived from AWS service descriptions, licensed under Apache 2.0. --- | Returns information about the specified workflow execution including its--- type and some statistics.+-- | Returns information about the specified workflow execution including its type+-- and some statistics. ----- Access Control+-- This operation is eventually consistent. The results are best effort and may+-- not exactly reflect recent updates and changes. Access Control -- -- You can use IAM policies to control this action's access to Amazon SWF -- resources as follows:@@ -35,8 +36,8 @@ -- this action. You cannot use an IAM policy to constrain this action's -- parameters.  If the caller does not have sufficient permissions to invoke the -- action, or the parameter values fall outside the specified constraints, the--- action fails by throwing 'OperationNotPermitted'. For details and example IAM--- policies, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html Using IAM to Manage Access to Amazon SWF Workflows>.+-- action fails. The associated event attribute's cause parameter will be set to+-- OPERATION_NOT_PERMITTED. For details and example IAM policies, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html Using IAMto Manage Access to Amazon SWF Workflows>. -- -- <http://docs.aws.amazon.com/amazonswf/latest/apireference/API_DescribeWorkflowExecution.html> module Network.AWS.SWF.DescribeWorkflowExecution@@ -152,8 +153,8 @@             . mapping _Time  -- | The latest executionContext provided by the decider for this workflow--- execution. A decider can provide an executionContext, which is a free form--- string, when closing a decision task using 'RespondDecisionTaskCompleted'.+-- execution. A decider can provide an executionContext (a free-form string)+-- when closing a decision task using 'RespondDecisionTaskCompleted'. dwerLatestExecutionContext :: Lens' DescribeWorkflowExecutionResponse (Maybe Text) dwerLatestExecutionContext =     lens _dwerLatestExecutionContext
gen/Network/AWS/SWF/DescribeWorkflowType.hs view
@@ -34,10 +34,11 @@ -- Use a 'Resource' element with the domain name to limit the action to only -- specified domains. Use an 'Action' element to allow or deny permission to call -- this action. Constrain the following parameters by using a 'Condition' element--- with the appropriate keys.   'workflowType.name': String constraint. The key is 'swf:workflowType.name'.  'workflowType.version': String constraint. The key is 'swf:workflowType.version'.    If the caller does not have sufficient permissions to invoke the action,+-- with the appropriate keys.  'workflowType.name': String constraint. The key is 'swf:workflowType.name'. 'workflowType.version': String constraint. The key is 'swf:workflowType.version'+-- .    If the caller does not have sufficient permissions to invoke the action, -- or the parameter values fall outside the specified constraints, the action--- fails by throwing 'OperationNotPermitted'. For details and example IAM--- policies, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html Using IAM to Manage Access to Amazon SWF Workflows>.+-- fails. The associated event attribute's cause parameter will be set to+-- OPERATION_NOT_PERMITTED. For details and example IAM policies, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html Using IAMto Manage Access to Amazon SWF Workflows>. -- -- <http://docs.aws.amazon.com/amazonswf/latest/apireference/API_DescribeWorkflowType.html> module Network.AWS.SWF.DescribeWorkflowType@@ -121,11 +122,11 @@  -- | General information about the workflow type. ----- The status of the workflow type (returned in the WorkflowTypeInfo--- structure) can be one of the following.+-- The status of the workflow type (returned in the WorkflowTypeInfo structure)+-- can be one of the following. -- -- REGISTERED: The type is registered and available. Workers supporting this--- type should be running.   DEPRECATED: The type was deprecated using 'DeprecateWorkflowType', but is still in use. You should keep workers supporting this type running.+-- type should be running.  DEPRECATED: The type was deprecated using 'DeprecateWorkflowType', but is still in use. You should keep workers supporting this type running. -- You cannot create new workflow executions of this type. dwtrTypeInfo :: Lens' DescribeWorkflowTypeResponse WorkflowTypeInfo dwtrTypeInfo = lens _dwtrTypeInfo (\s a -> s { _dwtrTypeInfo = a })
gen/Network/AWS/SWF/GetWorkflowExecutionHistory.hs view
@@ -26,7 +26,8 @@ -- split into multiple pages. To retrieve subsequent pages, make the call again -- using the 'nextPageToken' returned by the initial call. ----- Access Control+-- This operation is eventually consistent. The results are best effort and may+-- not exactly reflect recent updates and changes. Access Control -- -- You can use IAM policies to control this action's access to Amazon SWF -- resources as follows:@@ -36,8 +37,8 @@ -- this action. You cannot use an IAM policy to constrain this action's -- parameters.  If the caller does not have sufficient permissions to invoke the -- action, or the parameter values fall outside the specified constraints, the--- action fails by throwing 'OperationNotPermitted'. For details and example IAM--- policies, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html Using IAM to Manage Access to Amazon SWF Workflows>.+-- action fails. The associated event attribute's cause parameter will be set to+-- OPERATION_NOT_PERMITTED. For details and example IAM policies, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html Using IAMto Manage Access to Amazon SWF Workflows>. -- -- <http://docs.aws.amazon.com/amazonswf/latest/apireference/API_GetWorkflowExecutionHistory.html> module Network.AWS.SWF.GetWorkflowExecutionHistory@@ -108,27 +109,30 @@ gwehExecution :: Lens' GetWorkflowExecutionHistory WorkflowExecution gwehExecution = lens _gwehExecution (\s a -> s { _gwehExecution = a }) --- | Specifies the maximum number of history events returned in one page. The--- next page in the result is identified by the 'NextPageToken' returned. By--- default 100 history events are returned in a page but the caller can override--- this value to a page size /smaller/ than the default. You cannot specify a page--- size larger than 100. Note that the number of events may be less than the--- maxiumum page size, in which case, the returned page will have fewer results--- than the maximumPageSize specified.+-- | The maximum number of results that will be returned per call. 'nextPageToken'+-- can be used to obtain futher pages of results. The default is 100, which is+-- the maximum allowed page size. You can, however, specify a page size /smaller/+-- than 100.+--+-- This is an upper limit only; the actual number of results returned per call+-- may be fewer than the specified maximum. gwehMaximumPageSize :: Lens' GetWorkflowExecutionHistory (Maybe Natural) gwehMaximumPageSize =     lens _gwehMaximumPageSize (\s a -> s { _gwehMaximumPageSize = a })         . mapping _Nat --- | If a 'NextPageToken' is returned, the result has more than one pages. To get--- the next page, repeat the call and specify the nextPageToken with all other--- arguments unchanged.+-- | If a 'NextPageToken' was returned by a previous call, there are more results+-- available. To retrieve the next page of results, make the call again using+-- the returned token in 'nextPageToken'. Keep all other arguments unchanged.+--+-- The configured 'maximumPageSize' determines how many results can be returned+-- in a single call. gwehNextPageToken :: Lens' GetWorkflowExecutionHistory (Maybe Text) gwehNextPageToken =     lens _gwehNextPageToken (\s a -> s { _gwehNextPageToken = a }) --- | When set to 'true', returns the events in reverse order. By default the--- results are returned in ascending order of the 'eventTimeStamp' of the events.+-- | When set to 'true', returns the events in reverse order. By default the results+-- are returned in ascending order of the 'eventTimeStamp' of the events. gwehReverseOrder :: Lens' GetWorkflowExecutionHistory (Maybe Bool) gwehReverseOrder = lens _gwehReverseOrder (\s a -> s { _gwehReverseOrder = a }) @@ -155,9 +159,12 @@ gwehrEvents :: Lens' GetWorkflowExecutionHistoryResponse [HistoryEvent] gwehrEvents = lens _gwehrEvents (\s a -> s { _gwehrEvents = a }) . _List --- | The token for the next page. If set, the history consists of more than one--- page and the next page can be retrieved by repeating the request with this--- token and all other arguments unchanged.+-- | If a 'NextPageToken' was returned by a previous call, there are more results+-- available. To retrieve the next page of results, make the call again using+-- the returned token in 'nextPageToken'. Keep all other arguments unchanged.+--+-- The configured 'maximumPageSize' determines how many results can be returned+-- in a single call. gwehrNextPageToken :: Lens' GetWorkflowExecutionHistoryResponse (Maybe Text) gwehrNextPageToken =     lens _gwehrNextPageToken (\s a -> s { _gwehrNextPageToken = a })
gen/Network/AWS/SWF/ListActivityTypes.hs view
@@ -38,8 +38,8 @@ -- this action. You cannot use an IAM policy to constrain this action's -- parameters.  If the caller does not have sufficient permissions to invoke the -- action, or the parameter values fall outside the specified constraints, the--- action fails by throwing 'OperationNotPermitted'. For details and example IAM--- policies, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html Using IAM to Manage Access to Amazon SWF Workflows>.+-- action fails. The associated event attribute's cause parameter will be set to+-- OPERATION_NOT_PERMITTED. For details and example IAM policies, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html Using IAMto Manage Access to Amazon SWF Workflows>. -- -- <http://docs.aws.amazon.com/amazonswf/latest/apireference/API_ListActivityTypes.html> module Network.AWS.SWF.ListActivityTypes@@ -111,11 +111,13 @@ latDomain :: Lens' ListActivityTypes Text latDomain = lens _latDomain (\s a -> s { _latDomain = a }) --- | The maximum number of results returned in each page. The default is 100, but--- the caller can override this value to a page size /smaller/ than the default.--- You cannot specify a page size greater than 100. Note that the number of--- types may be less than the maxiumum page size, in which case, the returned--- page will have fewer results than the maximumPageSize specified.+-- | The maximum number of results that will be returned per call. 'nextPageToken'+-- can be used to obtain futher pages of results. The default is 100, which is+-- the maximum allowed page size. You can, however, specify a page size /smaller/+-- than 100.+--+-- This is an upper limit only; the actual number of results returned per call+-- may be fewer than the specified maximum. latMaximumPageSize :: Lens' ListActivityTypes (Maybe Natural) latMaximumPageSize =     lens _latMaximumPageSize (\s a -> s { _latMaximumPageSize = a })@@ -125,9 +127,12 @@ latName :: Lens' ListActivityTypes (Maybe Text) latName = lens _latName (\s a -> s { _latName = a }) --- | If on a previous call to this method a 'NextResultToken' was returned, the--- results have more than one page. To get the next page of results, repeat the--- call with the 'nextPageToken' and keep all other arguments unchanged.+-- | If a 'NextPageToken' was returned by a previous call, there are more results+-- available. To retrieve the next page of results, make the call again using+-- the returned token in 'nextPageToken'. Keep all other arguments unchanged.+--+-- The configured 'maximumPageSize' determines how many results can be returned+-- in a single call. latNextPageToken :: Lens' ListActivityTypes (Maybe Text) latNextPageToken = lens _latNextPageToken (\s a -> s { _latNextPageToken = a }) @@ -136,9 +141,9 @@ latRegistrationStatus =     lens _latRegistrationStatus (\s a -> s { _latRegistrationStatus = a }) --- | When set to 'true', returns the results in reverse order. By default the--- results are returned in ascending alphabetical order of the 'name' of the--- activity types.+-- | When set to 'true', returns the results in reverse order. By default, the+-- results are returned in ascending alphabetical order by 'name' of the activity+-- types. latReverseOrder :: Lens' ListActivityTypes (Maybe Bool) latReverseOrder = lens _latReverseOrder (\s a -> s { _latReverseOrder = a }) @@ -161,9 +166,12 @@     , _latrNextPageToken = Nothing     } --- | Returns a value if the results are paginated. To get the next page of--- results, repeat the request specifying this token and all other arguments--- unchanged.+-- | If a 'NextPageToken' was returned by a previous call, there are more results+-- available. To retrieve the next page of results, make the call again using+-- the returned token in 'nextPageToken'. Keep all other arguments unchanged.+--+-- The configured 'maximumPageSize' determines how many results can be returned+-- in a single call. latrNextPageToken :: Lens' ListActivityTypesResponse (Maybe Text) latrNextPageToken =     lens _latrNextPageToken (\s a -> s { _latrNextPageToken = a })
gen/Network/AWS/SWF/ListClosedWorkflowExecutions.hs view
@@ -27,7 +27,8 @@ -- retrieve subsequent pages, make the call again using the nextPageToken -- returned by the initial call. ----- Access Control+-- This operation is eventually consistent. The results are best effort and may+-- not exactly reflect recent updates and changes. Access Control -- -- You can use IAM policies to control this action's access to Amazon SWF -- resources as follows:@@ -35,9 +36,11 @@ -- Use a 'Resource' element with the domain name to limit the action to only -- specified domains. Use an 'Action' element to allow or deny permission to call -- this action. Constrain the following parameters by using a 'Condition' element--- with the appropriate keys.   'tagFilter.tag': String constraint. The key is 'swf:tagFilter.tag'.  'typeFilter.name': String constraint. The key is 'swf:typeFilter.name'.  'typeFilter.version': String constraint. The key is 'swf:typeFilter.version'.    If the caller does+-- with the appropriate keys.  'tagFilter.tag': String constraint. The key is 'swf:tagFilter.tag'. 'typeFilter.name': String constraint. The key is 'swf:typeFilter.name'. 'typeFilter.version': String constraint. The key is 'swf:typeFilter.version'.    If the caller does -- not have sufficient permissions to invoke the action, or the parameter values--- fall outside the specified constraints, the action fails by throwing 'OperationNotPermitted'. For details and example IAM policies, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html Using IAM to Manage Access toAmazon SWF Workflows>.+-- fall outside the specified constraints, the action fails. The associated+-- event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For+-- details and example IAM policies, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html Using IAM to Manage Access to AmazonSWF Workflows>. -- -- <http://docs.aws.amazon.com/amazonswf/latest/apireference/API_ListClosedWorkflowExecutions.html> module Network.AWS.SWF.ListClosedWorkflowExecutions@@ -127,6 +130,9 @@ -- | If specified, only workflow executions that match this /close status/ are -- listed. For example, if TERMINATED is specified, then only TERMINATED -- workflow executions are listed.+--+-- 'closeStatusFilter', 'executionFilter', 'typeFilter' and 'tagFilter' are mutually+-- exclusive. You can specify at most one of these in a request. lcweCloseStatusFilter :: Lens' ListClosedWorkflowExecutions (Maybe CloseStatusFilter) lcweCloseStatusFilter =     lens _lcweCloseStatusFilter (\s a -> s { _lcweCloseStatusFilter = a })@@ -135,6 +141,9 @@ -- based on whether their close times are within the range specified by this -- filter. Also, if this parameter is specified, the returned results are -- ordered by their close times.+--+-- 'startTimeFilter' and 'closeTimeFilter' are mutually exclusive. You must specify+-- one of these in a request but not both. lcweCloseTimeFilter :: Lens' ListClosedWorkflowExecutions (Maybe ExecutionTimeFilter) lcweCloseTimeFilter =     lens _lcweCloseTimeFilter (\s a -> s { _lcweCloseTimeFilter = a })@@ -145,23 +154,31 @@  -- | If specified, only workflow executions matching the workflow id specified in -- the filter are returned.+--+-- 'closeStatusFilter', 'executionFilter', 'typeFilter' and 'tagFilter' are mutually+-- exclusive. You can specify at most one of these in a request. lcweExecutionFilter :: Lens' ListClosedWorkflowExecutions (Maybe WorkflowExecutionFilter) lcweExecutionFilter =     lens _lcweExecutionFilter (\s a -> s { _lcweExecutionFilter = a }) --- | The maximum number of results returned in each page. The default is 100, but--- the caller can override this value to a page size /smaller/ than the default.--- You cannot specify a page size greater than 100. Note that the number of--- executions may be less than the maxiumum page size, in which case, the--- returned page will have fewer results than the maximumPageSize specified.+-- | The maximum number of results that will be returned per call. 'nextPageToken'+-- can be used to obtain futher pages of results. The default is 100, which is+-- the maximum allowed page size. You can, however, specify a page size /smaller/+-- than 100.+--+-- This is an upper limit only; the actual number of results returned per call+-- may be fewer than the specified maximum. lcweMaximumPageSize :: Lens' ListClosedWorkflowExecutions (Maybe Natural) lcweMaximumPageSize =     lens _lcweMaximumPageSize (\s a -> s { _lcweMaximumPageSize = a })         . mapping _Nat --- | If on a previous call to this method a 'NextPageToken' was returned, the--- results are being paginated. To get the next page of results, repeat the call--- with the returned token and all other arguments unchanged.+-- | If a 'NextPageToken' was returned by a previous call, there are more results+-- available. To retrieve the next page of results, make the call again using+-- the returned token in 'nextPageToken'. Keep all other arguments unchanged.+--+-- The configured 'maximumPageSize' determines how many results can be returned+-- in a single call. lcweNextPageToken :: Lens' ListClosedWorkflowExecutions (Maybe Text) lcweNextPageToken =     lens _lcweNextPageToken (\s a -> s { _lcweNextPageToken = a })@@ -176,16 +193,25 @@ -- based on whether their start times are within the range specified by this -- filter. Also, if this parameter is specified, the returned results are -- ordered by their start times.+--+-- 'startTimeFilter' and 'closeTimeFilter' are mutually exclusive. You must specify+-- one of these in a request but not both. lcweStartTimeFilter :: Lens' ListClosedWorkflowExecutions (Maybe ExecutionTimeFilter) lcweStartTimeFilter =     lens _lcweStartTimeFilter (\s a -> s { _lcweStartTimeFilter = a })  -- | If specified, only executions that have the matching tag are listed.+--+-- 'closeStatusFilter', 'executionFilter', 'typeFilter' and 'tagFilter' are mutually+-- exclusive. You can specify at most one of these in a request. lcweTagFilter :: Lens' ListClosedWorkflowExecutions (Maybe TagFilter) lcweTagFilter = lens _lcweTagFilter (\s a -> s { _lcweTagFilter = a })  -- | If specified, only executions of the type specified in the filter are -- returned.+--+-- 'closeStatusFilter', 'executionFilter', 'typeFilter' and 'tagFilter' are mutually+-- exclusive. You can specify at most one of these in a request. lcweTypeFilter :: Lens' ListClosedWorkflowExecutions (Maybe WorkflowTypeFilter) lcweTypeFilter = lens _lcweTypeFilter (\s a -> s { _lcweTypeFilter = a }) @@ -214,9 +240,12 @@     lens _lcwerExecutionInfos (\s a -> s { _lcwerExecutionInfos = a })         . _List --- | The token of the next page in the result. If set, the results have more than--- one page. The next page can be retrieved by repeating the request with this--- token and all other arguments unchanged.+-- | If a 'NextPageToken' was returned by a previous call, there are more results+-- available. To retrieve the next page of results, make the call again using+-- the returned token in 'nextPageToken'. Keep all other arguments unchanged.+--+-- The configured 'maximumPageSize' determines how many results can be returned+-- in a single call. lcwerNextPageToken :: Lens' ListClosedWorkflowExecutionsResponse (Maybe Text) lcwerNextPageToken =     lens _lcwerNextPageToken (\s a -> s { _lcwerNextPageToken = a })
gen/Network/AWS/SWF/ListDomains.hs view
@@ -26,18 +26,21 @@ -- split into multiple pages. To retrieve subsequent pages, make the call again -- using the nextPageToken returned by the initial call. ----- Access Control+-- This operation is eventually consistent. The results are best effort and+-- may not exactly reflect recent updates and changes. Access Control -- -- You can use IAM policies to control this action's access to Amazon SWF -- resources as follows: -- -- Use a 'Resource' element with the domain name to limit the action to only--- specified domains. The element must be set to 'arn:aws:swf::AccountID:domain/*"'--- , where "AccountID" is the account ID, with no dashes. Use an 'Action' element--- to allow or deny permission to call this action. You cannot use an IAM policy--- to constrain this action's parameters.  If the caller does not have--- sufficient permissions to invoke the action, or the parameter values fall--- outside the specified constraints, the action fails by throwing 'OperationNotPermitted'. For details and example IAM policies, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html Using IAM to Manage Access toAmazon SWF Workflows>.+-- specified domains. The element must be set to 'arn:aws:swf::AccountID:domain/*', where+-- /AccountID/ is the account ID, with no dashes. Use an 'Action' element to allow+-- or deny permission to call this action. You cannot use an IAM policy to+-- constrain this action's parameters.  If the caller does not have sufficient+-- permissions to invoke the action, or the parameter values fall outside the+-- specified constraints, the action fails. The associated event attribute's cause+-- parameter will be set to OPERATION_NOT_PERMITTED. For details and example+-- IAM policies, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html Using IAM to Manage Access to Amazon SWF Workflows>. -- -- <http://docs.aws.amazon.com/amazonswf/latest/apireference/API_ListDomains.html> module Network.AWS.SWF.ListDomains@@ -94,19 +97,24 @@     , _ldReverseOrder       = Nothing     } --- | The maximum number of results returned in each page. The default is 100, but--- the caller can override this value to a page size /smaller/ than the default.--- You cannot specify a page size greater than 100. Note that the number of--- domains may be less than the maxiumum page size, in which case, the returned--- page will have fewer results than the maximumPageSize specified.+-- | The maximum number of results that will be returned per call. 'nextPageToken'+-- can be used to obtain futher pages of results. The default is 100, which is+-- the maximum allowed page size. You can, however, specify a page size /smaller/+-- than 100.+--+-- This is an upper limit only; the actual number of results returned per call+-- may be fewer than the specified maximum. ldMaximumPageSize :: Lens' ListDomains (Maybe Natural) ldMaximumPageSize =     lens _ldMaximumPageSize (\s a -> s { _ldMaximumPageSize = a })         . mapping _Nat --- | If on a previous call to this method a 'NextPageToken' was returned, the--- result has more than one page. To get the next page of results, repeat the--- call with the returned token and all other arguments unchanged.+-- | If a 'NextPageToken' was returned by a previous call, there are more results+-- available. To retrieve the next page of results, make the call again using+-- the returned token in 'nextPageToken'. Keep all other arguments unchanged.+--+-- The configured 'maximumPageSize' determines how many results can be returned+-- in a single call. ldNextPageToken :: Lens' ListDomains (Maybe Text) ldNextPageToken = lens _ldNextPageToken (\s a -> s { _ldNextPageToken = a }) @@ -115,9 +123,8 @@ ldRegistrationStatus =     lens _ldRegistrationStatus (\s a -> s { _ldRegistrationStatus = a }) --- | When set to 'true', returns the results in reverse order. By default the--- results are returned in ascending alphabetical order of the 'name' of the--- domains.+-- | When set to 'true', returns the results in reverse order. By default, the+-- results are returned in ascending alphabetical order by 'name' of the domains. ldReverseOrder :: Lens' ListDomains (Maybe Bool) ldReverseOrder = lens _ldReverseOrder (\s a -> s { _ldReverseOrder = a }) @@ -144,9 +151,12 @@ ldrDomainInfos :: Lens' ListDomainsResponse [DomainInfo] ldrDomainInfos = lens _ldrDomainInfos (\s a -> s { _ldrDomainInfos = a }) . _List --- | Returns a value if the results are paginated. To get the next page of--- results, repeat the request specifying this token and all other arguments--- unchanged.+-- | If a 'NextPageToken' was returned by a previous call, there are more results+-- available. To retrieve the next page of results, make the call again using+-- the returned token in 'nextPageToken'. Keep all other arguments unchanged.+--+-- The configured 'maximumPageSize' determines how many results can be returned+-- in a single call. ldrNextPageToken :: Lens' ListDomainsResponse (Maybe Text) ldrNextPageToken = lens _ldrNextPageToken (\s a -> s { _ldrNextPageToken = a }) 
gen/Network/AWS/SWF/ListOpenWorkflowExecutions.hs view
@@ -27,7 +27,8 @@ -- retrieve subsequent pages, make the call again using the nextPageToken -- returned by the initial call. ----- Access Control+-- This operation is eventually consistent. The results are best effort and+-- may not exactly reflect recent updates and changes. Access Control -- -- You can use IAM policies to control this action's access to Amazon SWF -- resources as follows:@@ -35,9 +36,11 @@ -- Use a 'Resource' element with the domain name to limit the action to only -- specified domains. Use an 'Action' element to allow or deny permission to call -- this action. Constrain the following parameters by using a 'Condition' element--- with the appropriate keys.   'tagFilter.tag': String constraint. The key is 'swf:tagFilter.tag'.  'typeFilter.name': String constraint. The key is 'swf:typeFilter.name'.  'typeFilter.version': String constraint. The key is 'swf:typeFilter.version'.    If the caller does+-- with the appropriate keys.  'tagFilter.tag': String constraint. The key is 'swf:tagFilter.tag'. 'typeFilter.name': String constraint. The key is 'swf:typeFilter.name'. 'typeFilter.version': String constraint. The key is 'swf:typeFilter.version'.    If the caller does -- not have sufficient permissions to invoke the action, or the parameter values--- fall outside the specified constraints, the action fails by throwing 'OperationNotPermitted'. For details and example IAM policies, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html Using IAM to Manage Access toAmazon SWF Workflows>.+-- fall outside the specified constraints, the action fails. The associated+-- event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For+-- details and example IAM policies, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html Using IAM to Manage Access to AmazonSWF Workflows>. -- -- <http://docs.aws.amazon.com/amazonswf/latest/apireference/API_ListOpenWorkflowExecutions.html> module Network.AWS.SWF.ListOpenWorkflowExecutions@@ -121,23 +124,31 @@  -- | If specified, only workflow executions matching the workflow id specified in -- the filter are returned.+--+-- 'executionFilter', 'typeFilter' and 'tagFilter' are mutually exclusive. You can+-- specify at most one of these in a request. loweExecutionFilter :: Lens' ListOpenWorkflowExecutions (Maybe WorkflowExecutionFilter) loweExecutionFilter =     lens _loweExecutionFilter (\s a -> s { _loweExecutionFilter = a }) --- | The maximum number of results returned in each page. The default is 100, but--- the caller can override this value to a page size /smaller/ than the default.--- You cannot specify a page size greater than 100. Note that the number of--- executions may be less than the maxiumum page size, in which case, the--- returned page will have fewer results than the maximumPageSize specified.+-- | The maximum number of results that will be returned per call. 'nextPageToken'+-- can be used to obtain futher pages of results. The default is 100, which is+-- the maximum allowed page size. You can, however, specify a page size /smaller/+-- than 100.+--+-- This is an upper limit only; the actual number of results returned per call+-- may be fewer than the specified maximum. loweMaximumPageSize :: Lens' ListOpenWorkflowExecutions (Maybe Natural) loweMaximumPageSize =     lens _loweMaximumPageSize (\s a -> s { _loweMaximumPageSize = a })         . mapping _Nat --- | If on a previous call to this method a 'NextPageToken' was returned, the--- results are being paginated. To get the next page of results, repeat the call--- with the returned token and all other arguments unchanged.+-- | If a 'NextPageToken' was returned by a previous call, there are more results+-- available. To retrieve the next page of results, make the call again using+-- the returned token in 'nextPageToken'. Keep all other arguments unchanged.+--+-- The configured 'maximumPageSize' determines how many results can be returned+-- in a single call. loweNextPageToken :: Lens' ListOpenWorkflowExecutions (Maybe Text) loweNextPageToken =     lens _loweNextPageToken (\s a -> s { _loweNextPageToken = a })@@ -154,11 +165,17 @@     lens _loweStartTimeFilter (\s a -> s { _loweStartTimeFilter = a })  -- | If specified, only executions that have the matching tag are listed.+--+-- 'executionFilter', 'typeFilter' and 'tagFilter' are mutually exclusive. You can+-- specify at most one of these in a request. loweTagFilter :: Lens' ListOpenWorkflowExecutions (Maybe TagFilter) loweTagFilter = lens _loweTagFilter (\s a -> s { _loweTagFilter = a })  -- | If specified, only executions of the type specified in the filter are -- returned.+--+-- 'executionFilter', 'typeFilter' and 'tagFilter' are mutually exclusive. You can+-- specify at most one of these in a request. loweTypeFilter :: Lens' ListOpenWorkflowExecutions (Maybe WorkflowTypeFilter) loweTypeFilter = lens _loweTypeFilter (\s a -> s { _loweTypeFilter = a }) @@ -187,9 +204,12 @@     lens _lowerExecutionInfos (\s a -> s { _lowerExecutionInfos = a })         . _List --- | The token of the next page in the result. If set, the results have more than--- one page. The next page can be retrieved by repeating the request with this--- token and all other arguments unchanged.+-- | If a 'NextPageToken' was returned by a previous call, there are more results+-- available. To retrieve the next page of results, make the call again using+-- the returned token in 'nextPageToken'. Keep all other arguments unchanged.+--+-- The configured 'maximumPageSize' determines how many results can be returned+-- in a single call. lowerNextPageToken :: Lens' ListOpenWorkflowExecutionsResponse (Maybe Text) lowerNextPageToken =     lens _lowerNextPageToken (\s a -> s { _lowerNextPageToken = a })
gen/Network/AWS/SWF/ListWorkflowTypes.hs view
@@ -22,9 +22,9 @@ -- -- Derived from AWS service descriptions, licensed under Apache 2.0. --- | Returns information about workflow types in the specified domain. The--- results may be split into multiple pages that can be retrieved by making the--- call repeatedly.+-- | Returns information about workflow types in the specified domain. The results+-- may be split into multiple pages that can be retrieved by making the call+-- repeatedly. -- -- Access Control --@@ -36,8 +36,8 @@ -- this action. You cannot use an IAM policy to constrain this action's -- parameters.  If the caller does not have sufficient permissions to invoke the -- action, or the parameter values fall outside the specified constraints, the--- action fails by throwing 'OperationNotPermitted'. For details and example IAM--- policies, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html Using IAM to Manage Access to Amazon SWF Workflows>.+-- action fails. The associated event attribute's cause parameter will be set to+-- OPERATION_NOT_PERMITTED. For details and example IAM policies, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html Using IAMto Manage Access to Amazon SWF Workflows>. -- -- <http://docs.aws.amazon.com/amazonswf/latest/apireference/API_ListWorkflowTypes.html> module Network.AWS.SWF.ListWorkflowTypes@@ -109,11 +109,13 @@ lwtDomain :: Lens' ListWorkflowTypes Text lwtDomain = lens _lwtDomain (\s a -> s { _lwtDomain = a }) --- | The maximum number of results returned in each page. The default is 100, but--- the caller can override this value to a page size /smaller/ than the default.--- You cannot specify a page size greater than 100. Note that the number of--- types may be less than the maxiumum page size, in which case, the returned--- page will have fewer results than the maximumPageSize specified.+-- | The maximum number of results that will be returned per call. 'nextPageToken'+-- can be used to obtain futher pages of results. The default is 100, which is+-- the maximum allowed page size. You can, however, specify a page size /smaller/+-- than 100.+--+-- This is an upper limit only; the actual number of results returned per call+-- may be fewer than the specified maximum. lwtMaximumPageSize :: Lens' ListWorkflowTypes (Maybe Natural) lwtMaximumPageSize =     lens _lwtMaximumPageSize (\s a -> s { _lwtMaximumPageSize = a })@@ -123,9 +125,12 @@ lwtName :: Lens' ListWorkflowTypes (Maybe Text) lwtName = lens _lwtName (\s a -> s { _lwtName = a }) --- | If on a previous call to this method a 'NextPageToken' was returned, the--- results are being paginated. To get the next page of results, repeat the call--- with the returned token and all other arguments unchanged.+-- | If a 'NextPageToken' was returned by a previous call, there are more results+-- available. To retrieve the next page of results, make the call again using+-- the returned token in 'nextPageToken'. Keep all other arguments unchanged.+--+-- The configured 'maximumPageSize' determines how many results can be returned+-- in a single call. lwtNextPageToken :: Lens' ListWorkflowTypes (Maybe Text) lwtNextPageToken = lens _lwtNextPageToken (\s a -> s { _lwtNextPageToken = a }) @@ -159,10 +164,12 @@     , _lwtrNextPageToken = Nothing     } --- | The token for the next page of type information. If set then the list--- consists of more than one page. You can retrieve the next page by repeating--- the request (that returned the structure) with the this token and all other--- arguments unchanged.+-- | If a 'NextPageToken' was returned by a previous call, there are more results+-- available. To retrieve the next page of results, make the call again using+-- the returned token in 'nextPageToken'. Keep all other arguments unchanged.+--+-- The configured 'maximumPageSize' determines how many results can be returned+-- in a single call. lwtrNextPageToken :: Lens' ListWorkflowTypesResponse (Maybe Text) lwtrNextPageToken =     lens _lwtrNextPageToken (\s a -> s { _lwtrNextPageToken = a })
gen/Network/AWS/SWF/PollForActivityTask.hs view
@@ -32,9 +32,9 @@ -- worker should use its type to identify and process it correctly. -- -- Workers should set their client side socket timeout to at least 70 seconds--- (10 seconds higher than the maximum time service may hold the poll request).--- Access Control+-- (10 seconds higher than the maximum time service may hold the poll request). Access Control --+-- -- You can use IAM policies to control this action's access to Amazon SWF -- resources as follows: --@@ -44,8 +44,9 @@ -- element with the 'swf:taskList.name' key to allow the action to access only -- certain task lists.  If the caller does not have sufficient permissions to -- invoke the action, or the parameter values fall outside the specified--- constraints, the action fails by throwing 'OperationNotPermitted'. For details--- and example IAM policies, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html Using IAM to Manage Access to Amazon SWFWorkflows>.+-- constraints, the action fails. The associated event attribute's cause+-- parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM+-- policies, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html Using IAM to Manage Access to Amazon SWF Workflows>. -- -- <http://docs.aws.amazon.com/amazonswf/latest/apireference/API_PollForActivityTask.html> module Network.AWS.SWF.PollForActivityTask@@ -106,7 +107,8 @@ pfatDomain :: Lens' PollForActivityTask Text pfatDomain = lens _pfatDomain (\s a -> s { _pfatDomain = a }) --- | Identity of the worker making the request, which is recorded in the 'ActivityTaskStarted' event in the workflow history. This enables diagnostic tracing when problems+-- | Identity of the worker making the request, recorded in the 'ActivityTaskStarted'+-- event in the workflow history. This enables diagnostic tracing when problems -- arise. The form of this identity is user defined. pfatIdentity :: Lens' PollForActivityTask (Maybe Text) pfatIdentity = lens _pfatIdentity (\s a -> s { _pfatIdentity = a })@@ -116,7 +118,7 @@ -- The specified string must not start or end with whitespace. It must not -- contain a ':' (colon), '/' (slash), '|' (vertical bar), or any control characters -- (\u0000-\u001f | \u007f - \u009f). Also, it must not contain the literal--- string "arn".+-- string quotarnquot. pfatTaskList :: Lens' PollForActivityTask TaskList pfatTaskList = lens _pfatTaskList (\s a -> s { _pfatTaskList = a }) @@ -170,8 +172,7 @@     lens _pfatrActivityType (\s a -> s { _pfatrActivityType = a })  -- | The inputs provided when the activity task was scheduled. The form of the--- input is user defined and should be meaningful to the activity--- implementation.+-- input is user defined and should be meaningful to the activity implementation. pfatrInput :: Lens' PollForActivityTaskResponse (Maybe Text) pfatrInput = lens _pfatrInput (\s a -> s { _pfatrInput = a }) @@ -180,9 +181,9 @@ pfatrStartedEventId =     lens _pfatrStartedEventId (\s a -> s { _pfatrStartedEventId = a }) --- | The opaque string used as a handle on the task. This token is used by--- workers to communicate progress and response information back to the system--- about the task.+-- | The opaque string used as a handle on the task. This token is used by workers+-- to communicate progress and response information back to the system about the+-- task. pfatrTaskToken :: Lens' PollForActivityTaskResponse Text pfatrTaskToken = lens _pfatrTaskToken (\s a -> s { _pfatrTaskToken = a }) 
gen/Network/AWS/SWF/PollForDecisionTask.hs view
@@ -36,10 +36,11 @@ -- string. -- -- Deciders should set their client side socket timeout to at least 70 seconds--- (10 seconds higher than the timeout).   Because the number of workflow--- history events for a single workflow execution might be very large, the--- result returned might be split up across a number of pages. To retrieve--- subsequent pages, make additional calls to 'PollForDecisionTask' using the 'nextPageToken' returned by the initial call. Note that you do not call 'GetWorkflowExecutionHistory' with this 'nextPageToken'. Instead, call 'PollForDecisionTask' again.  Access+-- (10 seconds higher than the timeout). Because the number of workflow history+-- events for a single workflow execution might be very large, the result+-- returned might be split up across a number of pages. To retrieve subsequent+-- pages, make additional calls to 'PollForDecisionTask' using the 'nextPageToken'+-- returned by the initial call. Note that you do not call 'GetWorkflowExecutionHistory' with this 'nextPageToken'. Instead, call 'PollForDecisionTask' again. Access -- Control -- -- You can use IAM policies to control this action's access to Amazon SWF@@ -51,8 +52,9 @@ -- element with the 'swf:taskList.name' key to allow the action to access only -- certain task lists.  If the caller does not have sufficient permissions to -- invoke the action, or the parameter values fall outside the specified--- constraints, the action fails by throwing 'OperationNotPermitted'. For details--- and example IAM policies, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html Using IAM to Manage Access to Amazon SWFWorkflows>.+-- constraints, the action fails. The associated event attribute's cause+-- parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM+-- policies, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html Using IAM to Manage Access to Amazon SWF Workflows>. -- -- <http://docs.aws.amazon.com/amazonswf/latest/apireference/API_PollForDecisionTask.html> module Network.AWS.SWF.PollForDecisionTask@@ -135,27 +137,33 @@ pfdtIdentity :: Lens' PollForDecisionTask (Maybe Text) pfdtIdentity = lens _pfdtIdentity (\s a -> s { _pfdtIdentity = a }) --- | The maximum number of history events returned in each page. The default is--- 100, but the caller can override this value to a page size /smaller/ than the--- default. You cannot specify a page size greater than 100. Note that the--- number of events may be less than the maxiumum page size, in which case, the--- returned page will have fewer results than the maximumPageSize specified.+-- | The maximum number of results that will be returned per call. 'nextPageToken'+-- can be used to obtain futher pages of results. The default is 100, which is+-- the maximum allowed page size. You can, however, specify a page size /smaller/+-- than 100.+--+-- This is an upper limit only; the actual number of results returned per call+-- may be fewer than the specified maximum. pfdtMaximumPageSize :: Lens' PollForDecisionTask (Maybe Natural) pfdtMaximumPageSize =     lens _pfdtMaximumPageSize (\s a -> s { _pfdtMaximumPageSize = a })         . mapping _Nat --- | If on a previous call to this method a 'NextPageToken' was returned, the--- results are being paginated. To get the next page of results, repeat the call--- with the returned token and all other arguments unchanged.+-- | If a 'NextPageToken' was returned by a previous call, there are more results+-- available. To retrieve the next page of results, make the call again using+-- the returned token in 'nextPageToken'. Keep all other arguments unchanged. ----- .+-- The configured 'maximumPageSize' determines how many results can be returned+-- in a single call.+--+-- The 'nextPageToken' returned by this action cannot be used with 'GetWorkflowExecutionHistory' to get the next page. You must call 'PollForDecisionTask' again (with the 'nextPageToken') to retrieve the next page of history records. Calling 'PollForDecisionTask'+-- with a 'nextPageToken' will not return a new decision task.. pfdtNextPageToken :: Lens' PollForDecisionTask (Maybe Text) pfdtNextPageToken =     lens _pfdtNextPageToken (\s a -> s { _pfdtNextPageToken = a }) --- | When set to 'true', returns the events in reverse order. By default the--- results are returned in ascending order of the 'eventTimestamp' of the events.+-- | When set to 'true', returns the events in reverse order. By default the results+-- are returned in ascending order of the 'eventTimestamp' of the events. pfdtReverseOrder :: Lens' PollForDecisionTask (Maybe Bool) pfdtReverseOrder = lens _pfdtReverseOrder (\s a -> s { _pfdtReverseOrder = a }) @@ -164,7 +172,7 @@ -- The specified string must not start or end with whitespace. It must not -- contain a ':' (colon), '/' (slash), '|' (vertical bar), or any control characters -- (\u0000-\u001f | \u007f - \u009f). Also, it must not contain the literal--- string "arn".+-- string quotarnquot. pfdtTaskList :: Lens' PollForDecisionTask TaskList pfdtTaskList = lens _pfdtTaskList (\s a -> s { _pfdtTaskList = a }) @@ -216,17 +224,20 @@ pfdtrEvents :: Lens' PollForDecisionTaskResponse [HistoryEvent] pfdtrEvents = lens _pfdtrEvents (\s a -> s { _pfdtrEvents = a }) . _List --- | Returns a value if the results are paginated. To get the next page of--- results, repeat the request specifying this token and all other arguments--- unchanged.+-- | If a 'NextPageToken' was returned by a previous call, there are more results+-- available. To retrieve the next page of results, make the call again using+-- the returned token in 'nextPageToken'. Keep all other arguments unchanged.+--+-- The configured 'maximumPageSize' determines how many results can be returned+-- in a single call. pfdtrNextPageToken :: Lens' PollForDecisionTaskResponse (Maybe Text) pfdtrNextPageToken =     lens _pfdtrNextPageToken (\s a -> s { _pfdtrNextPageToken = a }) --- | The id of the DecisionTaskStarted event of the previous decision task of--- this workflow execution that was processed by the decider. This can be used--- to determine the events in the history new since the last decision task--- received by the decider.+-- | The id of the DecisionTaskStarted event of the previous decision task of this+-- workflow execution that was processed by the decider. This can be used to+-- determine the events in the history new since the last decision task received+-- by the decider. pfdtrPreviousStartedEventId :: Lens' PollForDecisionTaskResponse (Maybe Integer) pfdtrPreviousStartedEventId =     lens _pfdtrPreviousStartedEventId@@ -237,9 +248,9 @@ pfdtrStartedEventId =     lens _pfdtrStartedEventId (\s a -> s { _pfdtrStartedEventId = a }) --- | The opaque string used as a handle on the task. This token is used by--- workers to communicate progress and response information back to the system--- about the task.+-- | The opaque string used as a handle on the task. This token is used by workers+-- to communicate progress and response information back to the system about the+-- task. pfdtrTaskToken :: Lens' PollForDecisionTaskResponse Text pfdtrTaskToken = lens _pfdtrTaskToken (\s a -> s { _pfdtrTaskToken = a }) 
gen/Network/AWS/SWF/RecordActivityTaskHeartbeat.hs view
@@ -38,8 +38,12 @@ -- contain a 'ActivityTaskTimedOut' event that contains the information from the -- last heartbeat generated by the activity worker. ----- If the 'cancelRequested' flag returns 'true', a cancellation is being--- attempted. If the worker can cancel the activity, it should respond with 'RespondActivityTaskCanceled'. Otherwise, it should ignore the cancellation request.  Access Control+-- The 'taskStartToCloseTimeout' of an activity type is the maximum duration of+-- an activity task, regardless of the number of 'RecordActivityTaskHeartbeat'+-- requests received. The 'taskStartToCloseTimeout' is also specified in 'RegisterActivityType'. This operation is only useful for long-lived activities to report+-- liveliness of the task and to determine if a cancellation is being attempted.+-- If the 'cancelRequested' flag returns 'true', a cancellation is being attempted.+-- If the worker can cancel the activity, it should respond with 'RespondActivityTaskCanceled'. Otherwise, it should ignore the cancellation request. Access Control -- -- You can use IAM policies to control this action's access to Amazon SWF -- resources as follows:@@ -49,8 +53,8 @@ -- this action. You cannot use an IAM policy to constrain this action's -- parameters.  If the caller does not have sufficient permissions to invoke the -- action, or the parameter values fall outside the specified constraints, the--- action fails by throwing 'OperationNotPermitted'. For details and example IAM--- policies, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html Using IAM to Manage Access to Amazon SWF Workflows>.+-- action fails. The associated event attribute's cause parameter will be set to+-- OPERATION_NOT_PERMITTED. For details and example IAM policies, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html Using IAMto Manage Access to Amazon SWF Workflows>. -- -- <http://docs.aws.amazon.com/amazonswf/latest/apireference/API_RecordActivityTaskHeartbeat.html> module Network.AWS.SWF.RecordActivityTaskHeartbeat@@ -102,10 +106,9 @@  -- | The 'taskToken' of the 'ActivityTask'. ----- The 'taskToken' is generated by the service and should be treated as an--- opaque value. If the task is passed to another process, its 'taskToken' must--- also be passed. This enables it to provide its progress and respond with--- results.+-- 'taskToken' is generated by the service and should be treated as an opaque+-- value. If the task is passed to another process, its 'taskToken' must also be+-- passed. This enables it to provide its progress and respond with results. rathTaskToken :: Lens' RecordActivityTaskHeartbeat Text rathTaskToken = lens _rathTaskToken (\s a -> s { _rathTaskToken = a }) 
gen/Network/AWS/SWF/RegisterActivityType.hs view
@@ -27,7 +27,7 @@ -- -- A 'TypeAlreadyExists' fault is returned if the type already exists in the -- domain. You cannot change any configuration settings of the type after its--- registration, and it must be registered as a new version.  Access Control+-- registration, and it must be registered as a new version. Access Control -- -- You can use IAM policies to control this action's access to Amazon SWF -- resources as follows:@@ -38,7 +38,9 @@ -- with the appropriate keys.   'defaultTaskList.name': String constraint. The key -- is 'swf:defaultTaskList.name'.  'name': String constraint. The key is 'swf:name'.  'version': String constraint. The key is 'swf:version'.    If the caller does not have -- sufficient permissions to invoke the action, or the parameter values fall--- outside the specified constraints, the action fails by throwing 'OperationNotPermitted'. For details and example IAM policies, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html Using IAM to Manage Access toAmazon SWF Workflows>.+-- outside the specified constraints, the action fails. The associated event+-- attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For+-- details and example IAM policies, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html Using IAM to Manage Access to AmazonSWF Workflows>. -- -- <http://docs.aws.amazon.com/amazonswf/latest/apireference/API_RegisterActivityType.html> module Network.AWS.SWF.RegisterActivityType@@ -50,6 +52,7 @@     -- ** Request lenses     , ratDefaultTaskHeartbeatTimeout     , ratDefaultTaskList+    , ratDefaultTaskPriority     , ratDefaultTaskScheduleToCloseTimeout     , ratDefaultTaskScheduleToStartTimeout     , ratDefaultTaskStartToCloseTimeout@@ -72,6 +75,7 @@ data RegisterActivityType = RegisterActivityType     { _ratDefaultTaskHeartbeatTimeout       :: Maybe Text     , _ratDefaultTaskList                   :: Maybe TaskList+    , _ratDefaultTaskPriority               :: Maybe Text     , _ratDefaultTaskScheduleToCloseTimeout :: Maybe Text     , _ratDefaultTaskScheduleToStartTimeout :: Maybe Text     , _ratDefaultTaskStartToCloseTimeout    :: Maybe Text@@ -89,6 +93,8 @@ -- -- * 'ratDefaultTaskList' @::@ 'Maybe' 'TaskList' --+-- * 'ratDefaultTaskPriority' @::@ 'Maybe' 'Text'+-- -- * 'ratDefaultTaskScheduleToCloseTimeout' @::@ 'Maybe' 'Text' -- -- * 'ratDefaultTaskScheduleToStartTimeout' @::@ 'Maybe' 'Text'@@ -115,20 +121,19 @@     , _ratDefaultTaskStartToCloseTimeout    = Nothing     , _ratDefaultTaskHeartbeatTimeout       = Nothing     , _ratDefaultTaskList                   = Nothing+    , _ratDefaultTaskPriority               = Nothing     , _ratDefaultTaskScheduleToStartTimeout = Nothing     , _ratDefaultTaskScheduleToCloseTimeout = Nothing     } --- | If set, specifies the default maximum time before which a worker processing--- a task of this type must report progress by calling 'RecordActivityTaskHeartbeat'. If the timeout is exceeded, the activity task is automatically timed out.--- This default can be overridden when scheduling an activity task using the 'ScheduleActivityTask' 'Decision'. If the activity worker subsequently attempts to record a heartbeat--- or returns a result, the activity worker receives an 'UnknownResource' fault.--- In this case, Amazon SWF no longer considers the activity task to be valid;--- the activity worker should clean up the activity task.+-- | If set, specifies the default maximum time before which a worker processing a+-- task of this type must report progress by calling 'RecordActivityTaskHeartbeat'. If the timeout is exceeded, the activity task is automatically timed out. This default can be overridden when scheduling an activity task using the+-- 'ScheduleActivityTask' 'Decision'. If the activity worker subsequently attempts+-- to record a heartbeat or returns a result, the activity worker receives an 'UnknownResource' fault. In this case, Amazon SWF no longer considers the activity task to be+-- valid; the activity worker should clean up the activity task. ----- The valid values are integers greater than or equal to '0'. An integer value--- can be used to specify the duration in seconds while 'NONE' can be used to--- specify unlimited duration.+-- The duration is specified in seconds; an integer greater than or equal to 0.+-- The value "NONE" can be used to specify unlimited duration. ratDefaultTaskHeartbeatTimeout :: Lens' RegisterActivityType (Maybe Text) ratDefaultTaskHeartbeatTimeout =     lens _ratDefaultTaskHeartbeatTimeout@@ -141,13 +146,22 @@ ratDefaultTaskList =     lens _ratDefaultTaskList (\s a -> s { _ratDefaultTaskList = a }) +-- | The default task priority to assign to the activity type. If not assigned,+-- then "0" will be used. Valid values are integers that range from Java's 'Integer.MIN_VALUE' (-2147483648) to 'Integer.MAX_VALUE' (2147483647). Higher numbers indicate+-- higher priority.+--+-- For more information about setting task priority, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html Setting Task Priority>+-- in the /Amazon Simple Workflow Developer Guide/.+ratDefaultTaskPriority :: Lens' RegisterActivityType (Maybe Text)+ratDefaultTaskPriority =+    lens _ratDefaultTaskPriority (\s a -> s { _ratDefaultTaskPriority = a })+ -- | If set, specifies the default maximum duration for a task of this activity -- type. This default can be overridden when scheduling an activity task using -- the 'ScheduleActivityTask' 'Decision'. ----- The valid values are integers greater than or equal to '0'. An integer value--- can be used to specify the duration in seconds while 'NONE' can be used to--- specify unlimited duration.+-- The duration is specified in seconds; an integer greater than or equal to 0.+-- The value "NONE" can be used to specify unlimited duration. ratDefaultTaskScheduleToCloseTimeout :: Lens' RegisterActivityType (Maybe Text) ratDefaultTaskScheduleToCloseTimeout =     lens _ratDefaultTaskScheduleToCloseTimeout@@ -157,9 +171,8 @@ -- type can wait before being assigned to a worker. This default can be -- overridden when scheduling an activity task using the 'ScheduleActivityTask' 'Decision'. ----- The valid values are integers greater than or equal to '0'. An integer value--- can be used to specify the duration in seconds while 'NONE' can be used to--- specify unlimited duration.+-- The duration is specified in seconds; an integer greater than or equal to 0.+-- The value "NONE" can be used to specify unlimited duration. ratDefaultTaskScheduleToStartTimeout :: Lens' RegisterActivityType (Maybe Text) ratDefaultTaskScheduleToStartTimeout =     lens _ratDefaultTaskScheduleToStartTimeout@@ -169,9 +182,8 @@ -- process tasks of this activity type. This default can be overridden when -- scheduling an activity task using the 'ScheduleActivityTask' 'Decision'. ----- The valid values are integers greater than or equal to '0'. An integer value--- can be used to specify the duration in seconds while 'NONE' can be used to--- specify unlimited duration.+-- The duration is specified in seconds; an integer greater than or equal to 0.+-- The value "NONE" can be used to specify unlimited duration. ratDefaultTaskStartToCloseTimeout :: Lens' RegisterActivityType (Maybe Text) ratDefaultTaskStartToCloseTimeout =     lens _ratDefaultTaskStartToCloseTimeout@@ -190,16 +202,17 @@ -- The specified string must not start or end with whitespace. It must not -- contain a ':' (colon), '/' (slash), '|' (vertical bar), or any control characters -- (\u0000-\u001f | \u007f - \u009f). Also, it must not contain the literal--- string "arn".+-- string quotarnquot. ratName :: Lens' RegisterActivityType Text ratName = lens _ratName (\s a -> s { _ratName = a })  -- | The version of the activity type. ----- The specified string must not start or end with whitespace. It must not--- contain a ':' (colon), '/' (slash), '|' (vertical bar), or any control characters--- (\u0000-\u001f | \u007f - \u009f). Also, it must not contain the literal--- string "arn".+-- The activity type consists of the name and version, the combination of which+-- must be unique within the domain. The specified string must not start or end+-- with whitespace. It must not contain a ':' (colon), '/' (slash), '|' (vertical+-- bar), or any control characters (\u0000-\u001f | \u007f - \u009f). Also, it+-- must not contain the literal string quotarnquot. ratVersion :: Lens' RegisterActivityType Text ratVersion = lens _ratVersion (\s a -> s { _ratVersion = a }) @@ -227,6 +240,7 @@         , "defaultTaskStartToCloseTimeout"    .= _ratDefaultTaskStartToCloseTimeout         , "defaultTaskHeartbeatTimeout"       .= _ratDefaultTaskHeartbeatTimeout         , "defaultTaskList"                   .= _ratDefaultTaskList+        , "defaultTaskPriority"               .= _ratDefaultTaskPriority         , "defaultTaskScheduleToStartTimeout" .= _ratDefaultTaskScheduleToStartTimeout         , "defaultTaskScheduleToCloseTimeout" .= _ratDefaultTaskScheduleToCloseTimeout         ]
gen/Network/AWS/SWF/RegisterDomain.hs view
@@ -34,10 +34,9 @@ -- action. Use an 'Action' element to allow or deny permission to call this action. -- You cannot use an IAM policy to constrain this action's parameters.  If the -- caller does not have sufficient permissions to invoke the action, or the--- parameter values fall outside the specified constraints, the action fails by--- throwing 'OperationNotPermitted'. For details and example IAM policies, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html Using IAM to Manage Access to Amazon SWF Workflows>.------+-- parameter values fall outside the specified constraints, the action fails.+-- The associated event attribute's cause parameter will be set to+-- OPERATION_NOT_PERMITTED. For details and example IAM policies, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html Using IAMto Manage Access to Amazon SWF Workflows>. -- -- <http://docs.aws.amazon.com/amazonswf/latest/apireference/API_RegisterDomain.html> module Network.AWS.SWF.RegisterDomain@@ -87,24 +86,31 @@     , _rdDescription                            = Nothing     } --- | Textual description of the domain.+-- | A text description of the domain. rdDescription :: Lens' RegisterDomain (Maybe Text) rdDescription = lens _rdDescription (\s a -> s { _rdDescription = a }) --- | Name of the domain to register. The name must be unique.+-- | Name of the domain to register. The name must be unique in the region that+-- the domain is registered in. -- -- The specified string must not start or end with whitespace. It must not -- contain a ':' (colon), '/' (slash), '|' (vertical bar), or any control characters -- (\u0000-\u001f | \u007f - \u009f). Also, it must not contain the literal--- string "arn".+-- string quotarnquot. rdName :: Lens' RegisterDomain Text rdName = lens _rdName (\s a -> s { _rdName = a }) --- | Specifies the duration--/in days/--for which the record (including the--- history) of workflow executions in this domain should be kept by the service.--- After the retention period, the workflow execution will not be available in--- the results of visibility calls. If a duration of 'NONE' is specified, the--- records for workflow executions in this domain are not retained at all.+-- | The duration (in days) that records and histories of workflow executions on+-- the domain should be kept by the service. After the retention period, the+-- workflow execution is not available in the results of visibility calls.+--+-- If you pass the value 'NONE' or '0' (zero), then the workflow execution history+-- will not be retained. As soon as the workflow execution completes, the+-- execution record and its history are deleted.+--+-- The maximum workflow execution retention period is 90 days. For more+-- information about Amazon SWF service limits, see: <http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dg-limits.html Amazon SWF Service Limits>+-- in the /Amazon SWF Developer Guide/. rdWorkflowExecutionRetentionPeriodInDays :: Lens' RegisterDomain Text rdWorkflowExecutionRetentionPeriodInDays =     lens _rdWorkflowExecutionRetentionPeriodInDays
gen/Network/AWS/SWF/RegisterWorkflowType.hs view
@@ -22,15 +22,15 @@ -- -- Derived from AWS service descriptions, licensed under Apache 2.0. --- | Registers a new /workflow type/ and its configuration settings in the--- specified domain.+-- | Registers a new /workflow type/ and its configuration settings in the specified+-- domain. -- -- The retention period for the workflow history is set by the 'RegisterDomain' -- action. -- -- If the type already exists, then a 'TypeAlreadyExists' fault is returned. You -- cannot change the configuration settings of a workflow type once it is--- registered and it must be registered as a new version.  Access Control+-- registered and it must be registered as a new version. Access Control -- -- You can use IAM policies to control this action's access to Amazon SWF -- resources as follows:@@ -41,7 +41,9 @@ -- with the appropriate keys.   'defaultTaskList.name': String constraint. The key -- is 'swf:defaultTaskList.name'.  'name': String constraint. The key is 'swf:name'.  'version': String constraint. The key is 'swf:version'.    If the caller does not have -- sufficient permissions to invoke the action, or the parameter values fall--- outside the specified constraints, the action fails by throwing 'OperationNotPermitted'. For details and example IAM policies, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html Using IAM to Manage Access toAmazon SWF Workflows>.+-- outside the specified constraints, the action fails. The associated event+-- attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For+-- details and example IAM policies, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html Using IAM to Manage Access to AmazonSWF Workflows>. -- -- <http://docs.aws.amazon.com/amazonswf/latest/apireference/API_RegisterWorkflowType.html> module Network.AWS.SWF.RegisterWorkflowType@@ -54,6 +56,7 @@     , rwtDefaultChildPolicy     , rwtDefaultExecutionStartToCloseTimeout     , rwtDefaultTaskList+    , rwtDefaultTaskPriority     , rwtDefaultTaskStartToCloseTimeout     , rwtDescription     , rwtDomain@@ -75,6 +78,7 @@     { _rwtDefaultChildPolicy                  :: Maybe ChildPolicy     , _rwtDefaultExecutionStartToCloseTimeout :: Maybe Text     , _rwtDefaultTaskList                     :: Maybe TaskList+    , _rwtDefaultTaskPriority                 :: Maybe Text     , _rwtDefaultTaskStartToCloseTimeout      :: Maybe Text     , _rwtDescription                         :: Maybe Text     , _rwtDomain                              :: Text@@ -92,6 +96,8 @@ -- -- * 'rwtDefaultTaskList' @::@ 'Maybe' 'TaskList' --+-- * 'rwtDefaultTaskPriority' @::@ 'Maybe' 'Text'+-- -- * 'rwtDefaultTaskStartToCloseTimeout' @::@ 'Maybe' 'Text' -- -- * 'rwtDescription' @::@ 'Maybe' 'Text'@@ -114,18 +120,20 @@     , _rwtDefaultTaskStartToCloseTimeout      = Nothing     , _rwtDefaultExecutionStartToCloseTimeout = Nothing     , _rwtDefaultTaskList                     = Nothing+    , _rwtDefaultTaskPriority                 = Nothing     , _rwtDefaultChildPolicy                  = Nothing     } --- | If set, specifies the default policy to use for the child workflow--- executions when a workflow execution of this type is terminated, by calling--- the 'TerminateWorkflowExecution' action explicitly or due to an expired--- timeout. This default can be overridden when starting a workflow execution--- using the 'StartWorkflowExecution' action or the 'StartChildWorkflowExecution' 'Decision'. The supported child policies are:+-- | If set, specifies the default policy to use for the child workflow executions+-- when a workflow execution of this type is terminated, by calling the 'TerminateWorkflowExecution' action explicitly or due to an expired timeout. This default can be+-- overridden when starting a workflow execution using the 'StartWorkflowExecution'+-- action or the 'StartChildWorkflowExecution' 'Decision'. ----- TERMINATE: the child executions will be terminated.  REQUEST_CANCEL: a+-- The supported child policies are:+--+-- TERMINATE: the child executions will be terminated. REQUEST_CANCEL: a -- request to cancel will be attempted for each child execution by recording a 'WorkflowExecutionCancelRequested' event in its history. It is up to the decider to take appropriate actions--- when it receives an execution history with this event.   ABANDON: no action+-- when it receives an execution history with this event. ABANDON: no action -- will be taken. The child executions will continue to run. rwtDefaultChildPolicy :: Lens' RegisterWorkflowType (Maybe ChildPolicy) rwtDefaultChildPolicy =@@ -135,11 +143,11 @@ -- workflow type. You can override this default when starting an execution -- through the 'StartWorkflowExecution' Action or 'StartChildWorkflowExecution' 'Decision'. ----- The duration is specified in seconds. The valid values are integers greater--- than or equal to 0. Unlike some of the other timeout parameters in Amazon--- SWF, you cannot specify a value of "NONE" for 'defaultExecutionStartToCloseTimeout'; there is a one-year max limit on the time that a workflow execution can--- run. Exceeding this limit will always cause the workflow execution to time--- out.+-- The duration is specified in seconds; an integer greater than or equal to 0.+-- Unlike some of the other timeout parameters in Amazon SWF, you cannot specify+-- a value of "NONE" for 'defaultExecutionStartToCloseTimeout'; there is a+-- one-year max limit on the time that a workflow execution can run. Exceeding+-- this limit will always cause the workflow execution to time out. rwtDefaultExecutionStartToCloseTimeout :: Lens' RegisterWorkflowType (Maybe Text) rwtDefaultExecutionStartToCloseTimeout =     lens _rwtDefaultExecutionStartToCloseTimeout@@ -152,13 +160,22 @@ rwtDefaultTaskList =     lens _rwtDefaultTaskList (\s a -> s { _rwtDefaultTaskList = a }) +-- | The default task priority to assign to the workflow type. If not assigned,+-- then "0" will be used. Valid values are integers that range from Java's 'Integer.MIN_VALUE' (-2147483648) to 'Integer.MAX_VALUE' (2147483647). Higher numbers indicate+-- higher priority.+--+-- For more information about setting task priority, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html Setting Task Priority>+-- in the /Amazon Simple Workflow Developer Guide/.+rwtDefaultTaskPriority :: Lens' RegisterWorkflowType (Maybe Text)+rwtDefaultTaskPriority =+    lens _rwtDefaultTaskPriority (\s a -> s { _rwtDefaultTaskPriority = a })+ -- | If set, specifies the default maximum duration of decision tasks for this -- workflow type. This default can be overridden when starting a workflow -- execution using the 'StartWorkflowExecution' action or the 'StartChildWorkflowExecution' 'Decision'. ----- The valid values are integers greater than or equal to '0'. An integer value--- can be used to specify the duration in seconds while 'NONE' can be used to--- specify unlimited duration.+-- The duration is specified in seconds; an integer greater than or equal to 0.+-- The value "NONE" can be used to specify unlimited duration. rwtDefaultTaskStartToCloseTimeout :: Lens' RegisterWorkflowType (Maybe Text) rwtDefaultTaskStartToCloseTimeout =     lens _rwtDefaultTaskStartToCloseTimeout@@ -177,16 +194,17 @@ -- The specified string must not start or end with whitespace. It must not -- contain a ':' (colon), '/' (slash), '|' (vertical bar), or any control characters -- (\u0000-\u001f | \u007f - \u009f). Also, it must not contain the literal--- string "arn".+-- string quotarnquot. rwtName :: Lens' RegisterWorkflowType Text rwtName = lens _rwtName (\s a -> s { _rwtName = a })  -- | The version of the workflow type. ----- The specified string must not start or end with whitespace. It must not--- contain a ':' (colon), '/' (slash), '|' (vertical bar), or any control characters--- (\u0000-\u001f | \u007f - \u009f). Also, it must not contain the literal--- string "arn".+-- The workflow type consists of the name and version, the combination of which+-- must be unique within the domain. To get a list of all currently registered+-- workflow types, use the 'ListWorkflowTypes' action. The specified string must+-- not start or end with whitespace. It must not contain a ':' (colon), '/' (slash), '|' (vertical bar), or any control characters (\u0000-\u001f | \u007f -+-- \u009f). Also, it must not contain the literal string quotarnquot. rwtVersion :: Lens' RegisterWorkflowType Text rwtVersion = lens _rwtVersion (\s a -> s { _rwtVersion = a }) @@ -214,6 +232,7 @@         , "defaultTaskStartToCloseTimeout"      .= _rwtDefaultTaskStartToCloseTimeout         , "defaultExecutionStartToCloseTimeout" .= _rwtDefaultExecutionStartToCloseTimeout         , "defaultTaskList"                     .= _rwtDefaultTaskList+        , "defaultTaskPriority"                 .= _rwtDefaultTaskPriority         , "defaultChildPolicy"                  .= _rwtDefaultChildPolicy         ] 
gen/Network/AWS/SWF/RequestCancelWorkflowExecution.hs view
@@ -28,7 +28,10 @@ -- whole. It is up to the decider to take appropriate actions when it receives -- an execution history with this event. ----- Access Control+-- If the runId is not specified, the 'WorkflowExecutionCancelRequested' event is+-- recorded in the history of the current open workflow execution with the+-- specified workflowId in the domain. Because this action allows the workflow+-- to properly clean up and gracefully close, it should be used instead of 'TerminateWorkflowExecution' when possible. Access Control -- -- You can use IAM policies to control this action's access to Amazon SWF -- resources as follows:@@ -38,8 +41,8 @@ -- this action. You cannot use an IAM policy to constrain this action's -- parameters.  If the caller does not have sufficient permissions to invoke the -- action, or the parameter values fall outside the specified constraints, the--- action fails by throwing 'OperationNotPermitted'. For details and example IAM--- policies, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html Using IAM to Manage Access to Amazon SWF Workflows>.+-- action fails. The associated event attribute's cause parameter will be set to+-- OPERATION_NOT_PERMITTED. For details and example IAM policies, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html Using IAMto Manage Access to Amazon SWF Workflows>. -- -- <http://docs.aws.amazon.com/amazonswf/latest/apireference/API_RequestCancelWorkflowExecution.html> module Network.AWS.SWF.RequestCancelWorkflowExecution
gen/Network/AWS/SWF/RespondActivityTaskCanceled.hs view
@@ -28,10 +28,9 @@ -- These 'details' (if provided) appear in the 'ActivityTaskCanceled' event added -- to the workflow history. ----- Only use this operation if the 'canceled' flag of a 'RecordActivityTaskHeartbeat' request returns 'true' and if the activity can be safely undone or abandoned.--- A task is considered open from the time that it is scheduled until it is--- closed. Therefore a task is reported as open while a worker is processing it.--- A task is closed after it has been specified in a call to 'RespondActivityTaskCompleted', RespondActivityTaskCanceled, 'RespondActivityTaskFailed', or the task has <http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dg-basic.html#swf-dev-timeout-types timed out>.+-- Only use this operation if the 'canceled' flag of a 'RecordActivityTaskHeartbeat'+-- request returns 'true' and if the activity can be safely undone or abandoned. A task is considered open from the time that it is scheduled until it is closed. Therefore a task is reported as open while a worker is processing it. A task is closed after it has been specified in a call to+-- 'RespondActivityTaskCompleted', RespondActivityTaskCanceled, 'RespondActivityTaskFailed', or the task has <http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dg-basic.html#swf-dev-timeout-types timed out>. -- -- Access Control --@@ -43,8 +42,8 @@ -- this action. You cannot use an IAM policy to constrain this action's -- parameters.  If the caller does not have sufficient permissions to invoke the -- action, or the parameter values fall outside the specified constraints, the--- action fails by throwing 'OperationNotPermitted'. For details and example IAM--- policies, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html Using IAM to Manage Access to Amazon SWF Workflows>.+-- action fails. The associated event attribute's cause parameter will be set to+-- OPERATION_NOT_PERMITTED. For details and example IAM policies, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html Using IAMto Manage Access to Amazon SWF Workflows>. -- -- <http://docs.aws.amazon.com/amazonswf/latest/apireference/API_RespondActivityTaskCanceled.html> module Network.AWS.SWF.RespondActivityTaskCanceled@@ -88,16 +87,15 @@     , _ratc1Details   = Nothing     } --- | Optional information about the cancellation.+-- | /Optional./ Information about the cancellation. ratc1Details :: Lens' RespondActivityTaskCanceled (Maybe Text) ratc1Details = lens _ratc1Details (\s a -> s { _ratc1Details = a })  -- | The 'taskToken' of the 'ActivityTask'. ----- The 'taskToken' is generated by the service and should be treated as an--- opaque value. If the task is passed to another process, its 'taskToken' must--- also be passed. This enables it to provide its progress and respond with--- results.+-- 'taskToken' is generated by the service and should be treated as an opaque+-- value. If the task is passed to another process, its 'taskToken' must also be+-- passed. This enables it to provide its progress and respond with results. ratc1TaskToken :: Lens' RespondActivityTaskCanceled Text ratc1TaskToken = lens _ratc1TaskToken (\s a -> s { _ratc1TaskToken = a }) 
gen/Network/AWS/SWF/RespondActivityTaskCompleted.hs view
@@ -27,10 +27,10 @@ -- -- If the requested task does not complete successfully, use 'RespondActivityTaskFailed' instead. If the worker finds that the task is canceled through the 'canceled' -- flag returned by 'RecordActivityTaskHeartbeat', it should cancel the task,--- clean up and then call 'RespondActivityTaskCanceled'.   A task is considered--- open from the time that it is scheduled until it is closed. Therefore a task--- is reported as open while a worker is processing it. A task is closed after--- it has been specified in a call to RespondActivityTaskCompleted, 'RespondActivityTaskCanceled', 'RespondActivityTaskFailed', or the task has <http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dg-basic.html#swf-dev-timeout-types timed out>.+-- clean up and then call 'RespondActivityTaskCanceled'. A task is considered open+-- from the time that it is scheduled until it is closed. Therefore a task is+-- reported as open while a worker is processing it. A task is closed after it+-- has been specified in a call to RespondActivityTaskCompleted, 'RespondActivityTaskCanceled', 'RespondActivityTaskFailed', or the task has <http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dg-basic.html#swf-dev-timeout-types timed out>. -- -- Access Control --@@ -42,8 +42,8 @@ -- this action. You cannot use an IAM policy to constrain this action's -- parameters.  If the caller does not have sufficient permissions to invoke the -- action, or the parameter values fall outside the specified constraints, the--- action fails by throwing 'OperationNotPermitted'. For details and example IAM--- policies, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html Using IAM to Manage Access to Amazon SWF Workflows>.+-- action fails. The associated event attribute's cause parameter will be set to+-- OPERATION_NOT_PERMITTED. For details and example IAM policies, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html Using IAMto Manage Access to Amazon SWF Workflows>. -- -- <http://docs.aws.amazon.com/amazonswf/latest/apireference/API_RespondActivityTaskCompleted.html> module Network.AWS.SWF.RespondActivityTaskCompleted@@ -94,10 +94,9 @@  -- | The 'taskToken' of the 'ActivityTask'. ----- The 'taskToken' is generated by the service and should be treated as an--- opaque value. If the task is passed to another process, its 'taskToken' must--- also be passed. This enables it to provide its progress and respond with--- results.+-- 'taskToken' is generated by the service and should be treated as an opaque+-- value. If the task is passed to another process, its 'taskToken' must also be+-- passed. This enables it to provide its progress and respond with results. ratcTaskToken :: Lens' RespondActivityTaskCompleted Text ratcTaskToken = lens _ratcTaskToken (\s a -> s { _ratcTaskToken = a }) 
gen/Network/AWS/SWF/RespondActivityTaskFailed.hs view
@@ -38,8 +38,8 @@ -- this action. You cannot use an IAM policy to constrain this action's -- parameters.  If the caller does not have sufficient permissions to invoke the -- action, or the parameter values fall outside the specified constraints, the--- action fails by throwing 'OperationNotPermitted'. For details and example IAM--- policies, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html Using IAM to Manage Access to Amazon SWF Workflows>.+-- action fails. The associated event attribute's cause parameter will be set to+-- OPERATION_NOT_PERMITTED. For details and example IAM policies, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html Using IAMto Manage Access to Amazon SWF Workflows>. -- -- <http://docs.aws.amazon.com/amazonswf/latest/apireference/API_RespondActivityTaskFailed.html> module Network.AWS.SWF.RespondActivityTaskFailed@@ -88,7 +88,7 @@     , _ratfDetails   = Nothing     } --- | Optional detailed information about the failure.+-- | /Optional./ Detailed information about the failure. ratfDetails :: Lens' RespondActivityTaskFailed (Maybe Text) ratfDetails = lens _ratfDetails (\s a -> s { _ratfDetails = a }) @@ -98,10 +98,9 @@  -- | The 'taskToken' of the 'ActivityTask'. ----- The 'taskToken' is generated by the service and should be treated as an--- opaque value. If the task is passed to another process, its 'taskToken' must--- also be passed. This enables it to provide its progress and respond with--- results.+-- 'taskToken' is generated by the service and should be treated as an opaque+-- value. If the task is passed to another process, its 'taskToken' must also be+-- passed. This enables it to provide its progress and respond with results. ratfTaskToken :: Lens' RespondActivityTaskFailed Text ratfTaskToken = lens _ratfTaskToken (\s a -> s { _ratfTaskToken = a }) 
gen/Network/AWS/SWF/RespondDecisionTaskCompleted.hs view
@@ -22,8 +22,8 @@ -- -- Derived from AWS service descriptions, licensed under Apache 2.0. --- | Used by deciders to tell the service that the 'DecisionTask' identified by the 'taskToken' has successfully completed. The 'decisions' argument specifies the--- list of decisions made while processing the task.+-- | Used by deciders to tell the service that the 'DecisionTask' identified by the 'taskToken' has successfully completed. The 'decisions' argument specifies the list of+-- decisions made while processing the task. -- -- A 'DecisionTaskCompleted' event is added to the workflow history. The 'executionContext' specified is attached to the event in the workflow execution history. --@@ -95,10 +95,9 @@  -- | The 'taskToken' from the 'DecisionTask'. ----- The 'taskToken' is generated by the service and should be treated as an--- opaque value. If the task is passed to another process, its 'taskToken' must--- also be passed. This enables it to provide its progress and respond with--- results.+-- 'taskToken' is generated by the service and should be treated as an opaque+-- value. If the task is passed to another process, its 'taskToken' must also be+-- passed. This enables it to provide its progress and respond with results. rdtcTaskToken :: Lens' RespondDecisionTaskCompleted Text rdtcTaskToken = lens _rdtcTaskToken (\s a -> s { _rdtcTaskToken = a }) 
gen/Network/AWS/SWF/SignalWorkflowExecution.hs view
@@ -27,7 +27,10 @@ -- given domain, workflowId and runId. The event is recorded with the specified -- user defined signalName and input (if provided). ----- Access Control+-- If a runId is not specified, then the 'WorkflowExecutionSignaled' event is+-- recorded in the history of the current open workflow with the matching+-- workflowId in the domain.  If the specified workflow execution is not open,+-- this method fails with 'UnknownResource'. Access Control -- -- You can use IAM policies to control this action's access to Amazon SWF -- resources as follows:@@ -37,8 +40,8 @@ -- this action. You cannot use an IAM policy to constrain this action's -- parameters.  If the caller does not have sufficient permissions to invoke the -- action, or the parameter values fall outside the specified constraints, the--- action fails by throwing 'OperationNotPermitted'. For details and example IAM--- policies, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html Using IAM to Manage Access to Amazon SWF Workflows>.+-- action fails. The associated event attribute's cause parameter will be set to+-- OPERATION_NOT_PERMITTED. For details and example IAM policies, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html Using IAMto Manage Access to Amazon SWF Workflows>. -- -- <http://docs.aws.amazon.com/amazonswf/latest/apireference/API_SignalWorkflowExecution.html> module Network.AWS.SWF.SignalWorkflowExecution
gen/Network/AWS/SWF/StartWorkflowExecution.hs view
@@ -37,12 +37,14 @@ -- this action. Constrain the following parameters by using a 'Condition' element -- with the appropriate keys.   'tagList.member.0': The key is 'swf:tagList.member.0' -- .  'tagList.member.1': The key is 'swf:tagList.member.1'.  'tagList.member.2': The--- key is 'swf:tagList.member.2'.  'tagList.member.3': The key is 'swf:tagList.member.3'.  'tagList.member.4': The key is 'swf:tagList.member.4'.  'taskList': String--- constraint. The key is 'swf:taskList.name'.  'name': String constraint. The key--- is 'swf:workflowType.name'.  'version': String constraint. The key is 'swf:workflowType.version'.    If the caller does not have sufficient permissions to invoke the action,--- or the parameter values fall outside the specified constraints, the action--- fails by throwing 'OperationNotPermitted'. For details and example IAM--- policies, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html Using IAM to Manage Access to Amazon SWF Workflows>.+-- key is 'swf:tagList.member.2'.  'tagList.member.3': The key is 'swf:tagList.member.3'.  'tagList.member.4': The key is 'swf:tagList.member.4'. 'taskList': String+-- constraint. The key is 'swf:taskList.name'. 'workflowType.name': String+-- constraint. The key is 'swf:workflowType.name'. 'workflowType.version': String+-- constraint. The key is 'swf:workflowType.version'.    If the caller does not+-- have sufficient permissions to invoke the action, or the parameter values+-- fall outside the specified constraints, the action fails. The associated+-- event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For+-- details and example IAM policies, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html Using IAM to Manage Access to AmazonSWF Workflows>. -- -- <http://docs.aws.amazon.com/amazonswf/latest/apireference/API_StartWorkflowExecution.html> module Network.AWS.SWF.StartWorkflowExecution@@ -58,6 +60,7 @@     , swe1Input     , swe1TagList     , swe1TaskList+    , swe1TaskPriority     , swe1TaskStartToCloseTimeout     , swe1WorkflowId     , swe1WorkflowType@@ -82,6 +85,7 @@     , _swe1Input                        :: Maybe Text     , _swe1TagList                      :: List "tagList" Text     , _swe1TaskList                     :: Maybe TaskList+    , _swe1TaskPriority                 :: Maybe Text     , _swe1TaskStartToCloseTimeout      :: Maybe Text     , _swe1WorkflowId                   :: Text     , _swe1WorkflowType                 :: WorkflowType@@ -103,6 +107,8 @@ -- -- * 'swe1TaskList' @::@ 'Maybe' 'TaskList' --+-- * 'swe1TaskPriority' @::@ 'Maybe' 'Text'+-- -- * 'swe1TaskStartToCloseTimeout' @::@ 'Maybe' 'Text' -- -- * 'swe1WorkflowId' @::@ 'Text'@@ -118,6 +124,7 @@     , _swe1WorkflowId                   = p2     , _swe1WorkflowType                 = p3     , _swe1TaskList                     = Nothing+    , _swe1TaskPriority                 = Nothing     , _swe1Input                        = Nothing     , _swe1ExecutionStartToCloseTimeout = Nothing     , _swe1TagList                      = mempty@@ -125,14 +132,20 @@     , _swe1ChildPolicy                  = Nothing     } --- | If set, specifies the policy to use for the child workflow executions of--- this workflow execution if it is terminated, by calling the 'TerminateWorkflowExecution' action explicitly or due to an expired timeout. This policy overrides the--- default child policy specified when registering the workflow type using 'RegisterWorkflowType'. The supported child policies are:+-- | If set, specifies the policy to use for the child workflow executions of this+-- workflow execution if it is terminated, by calling the 'TerminateWorkflowExecution' action explicitly or due to an expired timeout. This policy overrides the+-- default child policy specified when registering the workflow type using 'RegisterWorkflowType'. ----- TERMINATE: the child executions will be terminated.  REQUEST_CANCEL: a+-- The supported child policies are:+--+-- TERMINATE: the child executions will be terminated. REQUEST_CANCEL: a -- request to cancel will be attempted for each child execution by recording a 'WorkflowExecutionCancelRequested' event in its history. It is up to the decider to take appropriate actions--- when it receives an execution history with this event.   ABANDON: no action--- will be taken. The child executions will continue to run.+-- when it receives an execution history with this event. ABANDON: no action+-- will be taken. The child executions will continue to run.  A child policy for+-- this workflow execution must be specified either as a default for the+-- workflow type or through this parameter. If neither this parameter is set nor+-- a default child policy was specified at registration time then a fault will+-- be returned. swe1ChildPolicy :: Lens' StartWorkflowExecution (Maybe ChildPolicy) swe1ChildPolicy = lens _swe1ChildPolicy (\s a -> s { _swe1ChildPolicy = a }) @@ -144,20 +157,24 @@ -- defaultExecutionStartToCloseTimeout specified when registering the workflow -- type. ----- The duration is specified in seconds. The valid values are integers greater--- than or equal to 0. Exceeding this limit will cause the workflow execution to--- time out. Unlike some of the other timeout parameters in Amazon SWF, you--- cannot specify a value of "NONE" for this timeout; there is a one-year max--- limit on the time that a workflow execution can run.+-- The duration is specified in seconds; an integer greater than or equal to 0.+-- Exceeding this limit will cause the workflow execution to time out. Unlike+-- some of the other timeout parameters in Amazon SWF, you cannot specify a+-- value of "NONE" for this timeout; there is a one-year max limit on the time+-- that a workflow execution can run.+--+-- An execution start-to-close timeout must be specified either through this+-- parameter or as a default when the workflow type is registered. If neither+-- this parameter nor a default execution start-to-close timeout is specified, a+-- fault is returned. swe1ExecutionStartToCloseTimeout :: Lens' StartWorkflowExecution (Maybe Text) swe1ExecutionStartToCloseTimeout =     lens _swe1ExecutionStartToCloseTimeout         (\s a -> s { _swe1ExecutionStartToCloseTimeout = a }) --- | The input for the workflow execution. This is a free form string which--- should be meaningful to the workflow you are starting. This 'input' is made--- available to the new workflow execution in the 'WorkflowExecutionStarted'--- history event.+-- | The input for the workflow execution. This is a free form string which should+-- be meaningful to the workflow you are starting. This 'input' is made available+-- to the new workflow execution in the 'WorkflowExecutionStarted' history event. swe1Input :: Lens' StartWorkflowExecution (Maybe Text) swe1Input = lens _swe1Input (\s a -> s { _swe1Input = a }) @@ -172,20 +189,39 @@ -- execution. This overrides the 'defaultTaskList' specified when registering the -- workflow type. ----- The specified string must not start or end with whitespace. It must not--- contain a ':' (colon), '/' (slash), '|' (vertical bar), or any control characters--- (\u0000-\u001f | \u007f - \u009f). Also, it must not contain the literal--- string "arn".+-- A task list for this workflow execution must be specified either as a+-- default for the workflow type or through this parameter. If neither this+-- parameter is set nor a default task list was specified at registration time+-- then a fault will be returned. The specified string must not start or end+-- with whitespace. It must not contain a ':' (colon), '/' (slash), '|' (vertical+-- bar), or any control characters (\u0000-\u001f | \u007f - \u009f). Also, it+-- must not contain the literal string quotarnquot. swe1TaskList :: Lens' StartWorkflowExecution (Maybe TaskList) swe1TaskList = lens _swe1TaskList (\s a -> s { _swe1TaskList = a }) --- | Specifies the maximum duration of decision tasks for this workflow--- execution. This parameter overrides the 'defaultTaskStartToCloseTimout'--- specified when registering the workflow type using 'RegisterWorkflowType'.+-- | The task priority to use for this workflow execution. This will override any+-- default priority that was assigned when the workflow type was registered. If+-- not set, then the default task priority for the workflow type will be used.+-- Valid values are integers that range from Java's 'Integer.MIN_VALUE'+-- (-2147483648) to 'Integer.MAX_VALUE' (2147483647). Higher numbers indicate+-- higher priority. ----- The valid values are integers greater than or equal to '0'. An integer value--- can be used to specify the duration in seconds while 'NONE' can be used to--- specify unlimited duration.+-- For more information about setting task priority, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html Setting Task Priority>+-- in the /Amazon Simple Workflow Developer Guide/.+swe1TaskPriority :: Lens' StartWorkflowExecution (Maybe Text)+swe1TaskPriority = lens _swe1TaskPriority (\s a -> s { _swe1TaskPriority = a })++-- | Specifies the maximum duration of decision tasks for this workflow execution.+-- This parameter overrides the 'defaultTaskStartToCloseTimout' specified when+-- registering the workflow type using 'RegisterWorkflowType'.+--+-- The duration is specified in seconds; an integer greater than or equal to 0.+-- The value "NONE" can be used to specify unlimited duration.+--+-- A task start-to-close timeout for this workflow execution must be specified+-- either as a default for the workflow type or through this parameter. If+-- neither this parameter is set nor a default task start-to-close timeout was+-- specified at registration time then a fault will be returned. swe1TaskStartToCloseTimeout :: Lens' StartWorkflowExecution (Maybe Text) swe1TaskStartToCloseTimeout =     lens _swe1TaskStartToCloseTimeout@@ -200,7 +236,7 @@ -- The specified string must not start or end with whitespace. It must not -- contain a ':' (colon), '/' (slash), '|' (vertical bar), or any control characters -- (\u0000-\u001f | \u007f - \u009f). Also, it must not contain the literal--- string "arn".+-- string quotarnquot. swe1WorkflowId :: Lens' StartWorkflowExecution Text swe1WorkflowId = lens _swe1WorkflowId (\s a -> s { _swe1WorkflowId = a }) @@ -242,6 +278,7 @@         , "workflowId"                   .= _swe1WorkflowId         , "workflowType"                 .= _swe1WorkflowType         , "taskList"                     .= _swe1TaskList+        , "taskPriority"                 .= _swe1TaskPriority         , "input"                        .= _swe1Input         , "executionStartToCloseTimeout" .= _swe1ExecutionStartToCloseTimeout         , "tagList"                      .= _swe1TagList
gen/Network/AWS/SWF/TerminateWorkflowExecution.hs view
@@ -29,7 +29,8 @@ -- workflow execution. -- -- If the identified workflow execution was in progress, it is terminated--- immediately.  Access Control+-- immediately.  If a runId is not specified, then the 'WorkflowExecutionTerminated' event is recorded in the history of the current open workflow with the+-- matching workflowId in the domain.  You should consider using 'RequestCancelWorkflowExecution' action instead because it allows the workflow to gracefully close while 'TerminateWorkflowExecution' does not. Access Control -- -- You can use IAM policies to control this action's access to Amazon SWF -- resources as follows:@@ -39,8 +40,8 @@ -- this action. You cannot use an IAM policy to constrain this action's -- parameters.  If the caller does not have sufficient permissions to invoke the -- action, or the parameter values fall outside the specified constraints, the--- action fails by throwing 'OperationNotPermitted'. For details and example IAM--- policies, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html Using IAM to Manage Access to Amazon SWF Workflows>.+-- action fails. The associated event attribute's cause parameter will be set to+-- OPERATION_NOT_PERMITTED. For details and example IAM policies, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html Using IAMto Manage Access to Amazon SWF Workflows>. -- -- <http://docs.aws.amazon.com/amazonswf/latest/apireference/API_TerminateWorkflowExecution.html> module Network.AWS.SWF.TerminateWorkflowExecution@@ -108,16 +109,22 @@ -- | If set, specifies the policy to use for the child workflow executions of the -- workflow execution being terminated. This policy overrides the child policy -- specified for the workflow execution at registration time or when starting--- the execution. The supported child policies are:+-- the execution. ----- TERMINATE: the child executions will be terminated.  REQUEST_CANCEL: a+-- The supported child policies are:+--+-- TERMINATE: the child executions will be terminated. REQUEST_CANCEL: a -- request to cancel will be attempted for each child execution by recording a 'WorkflowExecutionCancelRequested' event in its history. It is up to the decider to take appropriate actions--- when it receives an execution history with this event.   ABANDON: no action--- will be taken. The child executions will continue to run.+-- when it receives an execution history with this event. ABANDON: no action+-- will be taken. The child executions will continue to run.  A child policy for+-- this workflow execution must be specified either as a default for the+-- workflow type or through this parameter. If neither this parameter is set nor+-- a default child policy was specified at registration time then a fault will+-- be returned. tweChildPolicy :: Lens' TerminateWorkflowExecution (Maybe ChildPolicy) tweChildPolicy = lens _tweChildPolicy (\s a -> s { _tweChildPolicy = a }) --- | Optional details for terminating the workflow execution.+-- | /Optional./ Details for terminating the workflow execution. tweDetails :: Lens' TerminateWorkflowExecution (Maybe Text) tweDetails = lens _tweDetails (\s a -> s { _tweDetails = a }) @@ -125,7 +132,7 @@ tweDomain :: Lens' TerminateWorkflowExecution Text tweDomain = lens _tweDomain (\s a -> s { _tweDomain = a }) --- | An optional descriptive reason for terminating the workflow execution.+-- | /Optional./ A descriptive reason for terminating the workflow execution. tweReason :: Lens' TerminateWorkflowExecution (Maybe Text) tweReason = lens _tweReason (\s a -> s { _tweReason = a }) 
gen/Network/AWS/SWF/Types.hs view
@@ -49,6 +49,7 @@     , decisionTaskScheduledEventAttributes     , dtseaStartToCloseTimeout     , dtseaTaskList+    , dtseaTaskPriority      -- * WorkflowExecutionCompletedEventAttributes     , WorkflowExecutionCompletedEventAttributes@@ -103,6 +104,7 @@     , atseaScheduleToStartTimeout     , atseaStartToCloseTimeout     , atseaTaskList+    , atseaTaskPriority      -- * CloseStatusFilter     , CloseStatusFilter@@ -124,12 +126,14 @@     , satdaScheduleToStartTimeout     , satdaStartToCloseTimeout     , satdaTaskList+    , satdaTaskPriority      -- * ActivityTypeConfiguration     , ActivityTypeConfiguration     , activityTypeConfiguration     , atcDefaultTaskHeartbeatTimeout     , atcDefaultTaskList+    , atcDefaultTaskPriority     , atcDefaultTaskScheduleToCloseTimeout     , atcDefaultTaskScheduleToStartTimeout     , atcDefaultTaskStartToCloseTimeout@@ -261,6 +265,7 @@     , weseaParentWorkflowExecution     , weseaTagList     , weseaTaskList+    , weseaTaskPriority     , weseaTaskStartToCloseTimeout     , weseaWorkflowType @@ -270,6 +275,7 @@     , wtcDefaultChildPolicy     , wtcDefaultExecutionStartToCloseTimeout     , wtcDefaultTaskList+    , wtcDefaultTaskPriority     , wtcDefaultTaskStartToCloseTimeout      -- * ActivityTaskTimeoutType@@ -352,6 +358,7 @@     , scwedaInput     , scwedaTagList     , scwedaTaskList+    , scwedaTaskPriority     , scwedaTaskStartToCloseTimeout     , scwedaWorkflowId     , scwedaWorkflowType@@ -413,6 +420,7 @@     , scweieaInput     , scweieaTagList     , scweieaTaskList+    , scweieaTaskPriority     , scweieaTaskStartToCloseTimeout     , scweieaWorkflowId     , scweieaWorkflowType@@ -731,6 +739,7 @@     , wecChildPolicy     , wecExecutionStartToCloseTimeout     , wecTaskList+    , wecTaskPriority     , wecTaskStartToCloseTimeout      -- * WorkflowExecution@@ -750,6 +759,7 @@     , canwedaInput     , canwedaTagList     , canwedaTaskList+    , canwedaTaskPriority     , canwedaTaskStartToCloseTimeout     , canwedaWorkflowTypeVersion @@ -775,6 +785,7 @@     , wecaneaNewExecutionRunId     , wecaneaTagList     , wecaneaTaskList+    , wecaneaTaskPriority     , wecaneaTaskStartToCloseTimeout     , wecaneaWorkflowType     ) where@@ -909,7 +920,7 @@     , _rcewedaControl    = Nothing     } --- | Optional data attached to the event that can be used by the decider in+-- | /Optional./ Data attached to the event that can be used by the decider in -- subsequent workflow tasks. rcewedaControl :: Lens' RequestCancelExternalWorkflowExecutionDecisionAttributes (Maybe Text) rcewedaControl = lens _rcewedaControl (\s a -> s { _rcewedaControl = a })@@ -918,8 +929,7 @@ rcewedaRunId :: Lens' RequestCancelExternalWorkflowExecutionDecisionAttributes (Maybe Text) rcewedaRunId = lens _rcewedaRunId (\s a -> s { _rcewedaRunId = a }) --- | The 'workflowId' of the external workflow execution to cancel. This field is--- required.+-- | Required. The 'workflowId' of the external workflow execution to cancel. rcewedaWorkflowId :: Lens' RequestCancelExternalWorkflowExecutionDecisionAttributes Text rcewedaWorkflowId =     lens _rcewedaWorkflowId (\s a -> s { _rcewedaWorkflowId = a })@@ -940,6 +950,7 @@ data DecisionTaskScheduledEventAttributes = DecisionTaskScheduledEventAttributes     { _dtseaStartToCloseTimeout :: Maybe Text     , _dtseaTaskList            :: TaskList+    , _dtseaTaskPriority        :: Maybe Text     } deriving (Eq, Show)  -- | 'DecisionTaskScheduledEventAttributes' constructor.@@ -950,19 +961,21 @@ -- -- * 'dtseaTaskList' @::@ 'TaskList' --+-- * 'dtseaTaskPriority' @::@ 'Maybe' 'Text'+-- decisionTaskScheduledEventAttributes :: TaskList -- ^ 'dtseaTaskList'                                      -> DecisionTaskScheduledEventAttributes decisionTaskScheduledEventAttributes p1 = DecisionTaskScheduledEventAttributes     { _dtseaTaskList            = p1+    , _dtseaTaskPriority        = Nothing     , _dtseaStartToCloseTimeout = Nothing     } --- | The maximum duration for this decision task. The task is considered timed--- out if it does not completed within this duration.+-- | The maximum duration for this decision task. The task is considered timed out+-- if it does not completed within this duration. ----- The valid values are integers greater than or equal to '0'. An integer value--- can be used to specify the duration in seconds while 'NONE' can be used to--- specify unlimited duration.+-- The duration is specified in seconds; an integer greater than or equal to 0.+-- The value "NONE" can be used to specify unlimited duration. dtseaStartToCloseTimeout :: Lens' DecisionTaskScheduledEventAttributes (Maybe Text) dtseaStartToCloseTimeout =     lens _dtseaStartToCloseTimeout@@ -972,14 +985,26 @@ dtseaTaskList :: Lens' DecisionTaskScheduledEventAttributes TaskList dtseaTaskList = lens _dtseaTaskList (\s a -> s { _dtseaTaskList = a }) +-- | /Optional./ A task priority that, if set, specifies the priority for this+-- decision task. Valid values are integers that range from Java's 'Integer.MIN_VALUE' (-2147483648) to 'Integer.MAX_VALUE' (2147483647). Higher numbers indicate+-- higher priority.+--+-- For more information about setting task priority, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html Setting Task Priority>+-- in the /Amazon Simple Workflow Developer Guide/.+dtseaTaskPriority :: Lens' DecisionTaskScheduledEventAttributes (Maybe Text)+dtseaTaskPriority =+    lens _dtseaTaskPriority (\s a -> s { _dtseaTaskPriority = a })+ instance FromJSON DecisionTaskScheduledEventAttributes where     parseJSON = withObject "DecisionTaskScheduledEventAttributes" $ \o -> DecisionTaskScheduledEventAttributes         <$> o .:? "startToCloseTimeout"         <*> o .:  "taskList"+        <*> o .:? "taskPriority"  instance ToJSON DecisionTaskScheduledEventAttributes where     toJSON DecisionTaskScheduledEventAttributes{..} = object         [ "taskList"            .= _dtseaTaskList+        , "taskPriority"        .= _dtseaTaskPriority         , "startToCloseTimeout" .= _dtseaStartToCloseTimeout         ] @@ -1006,7 +1031,7 @@ -- | The id of the 'DecisionTaskCompleted' event corresponding to the decision task -- that resulted in the 'CompleteWorkflowExecution' decision to complete this -- execution. This information can be useful for diagnosing problems by tracing--- back the cause of events.+-- back the chain of events leading up to this event. weceaDecisionTaskCompletedEventId :: Lens' WorkflowExecutionCompletedEventAttributes Integer weceaDecisionTaskCompletedEventId =     lens _weceaDecisionTaskCompletedEventId@@ -1092,15 +1117,18 @@     , _stfeaDecisionTaskCompletedEventId = p3     } --- | The cause of the failure to process the decision. This information is--- generated by the system and can be useful for diagnostic purposes.+-- | The cause of the failure. This information is generated by the system and can+-- be useful for diagnostic purposes.+--+-- If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it+-- lacked sufficient permissions. For details and example IAM policies, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html Using IAM to Manage Access to Amazon SWF Workflows>. stfeaCause :: Lens' StartTimerFailedEventAttributes StartTimerFailedCause stfeaCause = lens _stfeaCause (\s a -> s { _stfeaCause = a })  -- | The id of the 'DecisionTaskCompleted' event corresponding to the decision task -- that resulted in the 'StartTimer' decision for this activity task. This--- information can be useful for diagnosing problems by tracing back the cause--- of events.+-- information can be useful for diagnosing problems by tracing back the chain+-- of events leading up to this event. stfeaDecisionTaskCompletedEventId :: Lens' StartTimerFailedEventAttributes Integer stfeaDecisionTaskCompletedEventId =     lens _stfeaDecisionTaskCompletedEventId@@ -1152,7 +1180,7 @@     , _rceweieaControl                      = Nothing     } --- | Optional data attached to the event that can be used by the decider in+-- | /Optional./ Data attached to the event that can be used by the decider in -- subsequent workflow tasks. rceweieaControl :: Lens' RequestCancelExternalWorkflowExecutionInitiatedEventAttributes (Maybe Text) rceweieaControl = lens _rceweieaControl (\s a -> s { _rceweieaControl = a })@@ -1160,7 +1188,7 @@ -- | The id of the 'DecisionTaskCompleted' event corresponding to the decision task -- that resulted in the 'RequestCancelExternalWorkflowExecution' decision for this -- cancellation request. This information can be useful for diagnosing problems--- by tracing back the cause of events.+-- by tracing back the chain of events leading up to this event. rceweieaDecisionTaskCompletedEventId :: Lens' RequestCancelExternalWorkflowExecutionInitiatedEventAttributes Integer rceweieaDecisionTaskCompletedEventId =     lens _rceweieaDecisionTaskCompletedEventId@@ -1216,15 +1244,18 @@     , _rmfeaDecisionTaskCompletedEventId = p3     } --- | The cause of the failure to process the decision. This information is--- generated by the system and can be useful for diagnostic purposes.+-- | The cause of the failure. This information is generated by the system and can+-- be useful for diagnostic purposes.+--+-- If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it+-- lacked sufficient permissions. For details and example IAM policies, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html Using IAM to Manage Access to Amazon SWF Workflows>. rmfeaCause :: Lens' RecordMarkerFailedEventAttributes RecordMarkerFailedCause rmfeaCause = lens _rmfeaCause (\s a -> s { _rmfeaCause = a })  -- | The id of the 'DecisionTaskCompleted' event corresponding to the decision task -- that resulted in the 'RecordMarkerFailed' decision for this cancellation -- request. This information can be useful for diagnosing problems by tracing--- back the cause of events.+-- back the chain of events leading up to this event. rmfeaDecisionTaskCompletedEventId :: Lens' RecordMarkerFailedEventAttributes Integer rmfeaDecisionTaskCompletedEventId =     lens _rmfeaDecisionTaskCompletedEventId@@ -1298,6 +1329,7 @@     , _atseaScheduleToStartTimeout       :: Maybe Text     , _atseaStartToCloseTimeout          :: Maybe Text     , _atseaTaskList                     :: TaskList+    , _atseaTaskPriority                 :: Maybe Text     } deriving (Eq, Show)  -- | 'ActivityTaskScheduledEventAttributes' constructor.@@ -1324,6 +1356,8 @@ -- -- * 'atseaTaskList' @::@ 'TaskList' --+-- * 'atseaTaskPriority' @::@ 'Maybe' 'Text'+-- activityTaskScheduledEventAttributes :: ActivityType -- ^ 'atseaActivityType'                                      -> Text -- ^ 'atseaActivityId'                                      -> TaskList -- ^ 'atseaTaskList'@@ -1339,6 +1373,7 @@     , _atseaScheduleToStartTimeout       = Nothing     , _atseaScheduleToCloseTimeout       = Nothing     , _atseaStartToCloseTimeout          = Nothing+    , _atseaTaskPriority                 = Nothing     , _atseaHeartbeatTimeout             = Nothing     } @@ -1351,7 +1386,7 @@ atseaActivityType =     lens _atseaActivityType (\s a -> s { _atseaActivityType = a }) --- | Optional data attached to the event that can be used by the decider in+-- | /Optional./ Data attached to the event that can be used by the decider in -- subsequent workflow tasks. This data is not sent to the activity. atseaControl :: Lens' ActivityTaskScheduledEventAttributes (Maybe Text) atseaControl = lens _atseaControl (\s a -> s { _atseaControl = a })@@ -1400,6 +1435,21 @@ atseaTaskList :: Lens' ActivityTaskScheduledEventAttributes TaskList atseaTaskList = lens _atseaTaskList (\s a -> s { _atseaTaskList = a }) +-- | /Optional./ The priority to assign to the scheduled activity task. This will+-- override any default priority that was assigned when the activity type was+-- registered. If not set, then the priority set on the activity type is used as+-- the task priority.+--+-- Valid values are integers that range from Java's 'Integer.MIN_VALUE'+-- (-2147483648) to 'Integer.MAX_VALUE' (2147483647). Higher numbers indicate+-- higher priority.+--+-- For more information about setting task priority, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html Setting Task Priority>+-- in the /Amazon Simple Workflow Developer Guide/.+atseaTaskPriority :: Lens' ActivityTaskScheduledEventAttributes (Maybe Text)+atseaTaskPriority =+    lens _atseaTaskPriority (\s a -> s { _atseaTaskPriority = a })+ instance FromJSON ActivityTaskScheduledEventAttributes where     parseJSON = withObject "ActivityTaskScheduledEventAttributes" $ \o -> ActivityTaskScheduledEventAttributes         <$> o .:  "activityId"@@ -1412,6 +1462,7 @@         <*> o .:? "scheduleToStartTimeout"         <*> o .:? "startToCloseTimeout"         <*> o .:  "taskList"+        <*> o .:? "taskPriority"  instance ToJSON ActivityTaskScheduledEventAttributes where     toJSON ActivityTaskScheduledEventAttributes{..} = object@@ -1423,6 +1474,7 @@         , "scheduleToCloseTimeout"       .= _atseaScheduleToCloseTimeout         , "startToCloseTimeout"          .= _atseaStartToCloseTimeout         , "taskList"                     .= _atseaTaskList+        , "taskPriority"                 .= _atseaTaskPriority         , "decisionTaskCompletedEventId" .= _atseaDecisionTaskCompletedEventId         , "heartbeatTimeout"             .= _atseaHeartbeatTimeout         ]@@ -1443,8 +1495,8 @@     { _csfStatus = p1     } --- | The close status that must match the close status of an execution for it to--- meet the criteria of this filter. This field is required.+-- | Required. The close status that must match the close status of an execution+-- for it to meet the criteria of this filter. csfStatus :: Lens' CloseStatusFilter CloseStatus csfStatus = lens _csfStatus (\s a -> s { _csfStatus = a }) @@ -1492,6 +1544,7 @@     , _satdaScheduleToStartTimeout :: Maybe Text     , _satdaStartToCloseTimeout    :: Maybe Text     , _satdaTaskList               :: Maybe TaskList+    , _satdaTaskPriority           :: Maybe Text     } deriving (Eq, Show)  -- | 'ScheduleActivityTaskDecisionAttributes' constructor.@@ -1516,6 +1569,8 @@ -- -- * 'satdaTaskList' @::@ 'Maybe' 'TaskList' --+-- * 'satdaTaskPriority' @::@ 'Maybe' 'Text'+-- scheduleActivityTaskDecisionAttributes :: ActivityType -- ^ 'satdaActivityType'                                        -> Text -- ^ 'satdaActivityId'                                        -> ScheduleActivityTaskDecisionAttributes@@ -1526,40 +1581,40 @@     , _satdaInput                  = Nothing     , _satdaScheduleToCloseTimeout = Nothing     , _satdaTaskList               = Nothing+    , _satdaTaskPriority           = Nothing     , _satdaScheduleToStartTimeout = Nothing     , _satdaStartToCloseTimeout    = Nothing     , _satdaHeartbeatTimeout       = Nothing     } --- | The 'activityId' of the activity task. This field is required.+-- | Required. The 'activityId' of the activity task. -- -- The specified string must not start or end with whitespace. It must not -- contain a ':' (colon), '/' (slash), '|' (vertical bar), or any control characters -- (\u0000-\u001f | \u007f - \u009f). Also, it must not contain the literal--- string "arn".+-- string quotarnquot. satdaActivityId :: Lens' ScheduleActivityTaskDecisionAttributes Text satdaActivityId = lens _satdaActivityId (\s a -> s { _satdaActivityId = a }) --- | The type of the activity task to schedule. This field is required.+-- | Required. The type of the activity task to schedule. satdaActivityType :: Lens' ScheduleActivityTaskDecisionAttributes ActivityType satdaActivityType =     lens _satdaActivityType (\s a -> s { _satdaActivityType = a }) --- | Optional data attached to the event that can be used by the decider in+-- | /Optional./ Data attached to the event that can be used by the decider in -- subsequent workflow tasks. This data is not sent to the activity. satdaControl :: Lens' ScheduleActivityTaskDecisionAttributes (Maybe Text) satdaControl = lens _satdaControl (\s a -> s { _satdaControl = a }) --- | If set, specifies the maximum time before which a worker processing a task--- of this type must report progress by calling 'RecordActivityTaskHeartbeat'. If--- the timeout is exceeded, the activity task is automatically timed out. If the+-- | If set, specifies the maximum time before which a worker processing a task of+-- this type must report progress by calling 'RecordActivityTaskHeartbeat'. If the+-- timeout is exceeded, the activity task is automatically timed out. If the -- worker subsequently attempts to record a heartbeat or returns a result, it -- will be ignored. This overrides the default heartbeat timeout specified when -- registering the activity type using 'RegisterActivityType'. ----- The valid values are integers greater than or equal to '0'. An integer value--- can be used to specify the duration in seconds while 'NONE' can be used to--- specify unlimited duration.+-- The duration is specified in seconds; an integer greater than or equal to 0.+-- The value "NONE" can be used to specify unlimited duration. satdaHeartbeatTimeout :: Lens' ScheduleActivityTaskDecisionAttributes (Maybe Text) satdaHeartbeatTimeout =     lens _satdaHeartbeatTimeout (\s a -> s { _satdaHeartbeatTimeout = a })@@ -1570,21 +1625,29 @@  -- | The maximum duration for this activity task. ----- The valid values are integers greater than or equal to '0'. An integer value--- can be used to specify the duration in seconds while 'NONE' can be used to--- specify unlimited duration.+-- The duration is specified in seconds; an integer greater than or equal to 0.+-- The value "NONE" can be used to specify unlimited duration.+--+-- A schedule-to-close timeout for this activity task must be specified either+-- as a default for the activity type or through this field. If neither this+-- field is set nor a default schedule-to-close timeout was specified at+-- registration time then a fault will be returned. satdaScheduleToCloseTimeout :: Lens' ScheduleActivityTaskDecisionAttributes (Maybe Text) satdaScheduleToCloseTimeout =     lens _satdaScheduleToCloseTimeout         (\s a -> s { _satdaScheduleToCloseTimeout = a }) --- | If set, specifies the maximum duration the activity task can wait to be--- assigned to a worker. This overrides the default schedule-to-start timeout--- specified when registering the activity type using 'RegisterActivityType'.+-- | /Optional./ If set, specifies the maximum duration the activity task can wait+-- to be assigned to a worker. This overrides the default schedule-to-start+-- timeout specified when registering the activity type using 'RegisterActivityType'. ----- The valid values are integers greater than or equal to '0'. An integer value--- can be used to specify the duration in seconds while 'NONE' can be used to--- specify unlimited duration.+-- The duration is specified in seconds; an integer greater than or equal to 0.+-- The value "NONE" can be used to specify unlimited duration.+--+-- A schedule-to-start timeout for this activity task must be specified either+-- as a default for the activity type or through this field. If neither this+-- field is set nor a default schedule-to-start timeout was specified at+-- registration time then a fault will be returned. satdaScheduleToStartTimeout :: Lens' ScheduleActivityTaskDecisionAttributes (Maybe Text) satdaScheduleToStartTimeout =     lens _satdaScheduleToStartTimeout@@ -1594,25 +1657,43 @@ -- activity task. This overrides the default start-to-close timeout specified -- when registering the activity type using 'RegisterActivityType'. ----- The valid values are integers greater than or equal to '0'. An integer value--- can be used to specify the duration in seconds while 'NONE' can be used to--- specify unlimited duration.+-- The duration is specified in seconds; an integer greater than or equal to 0.+-- The value "NONE" can be used to specify unlimited duration.+--+-- A start-to-close timeout for this activity task must be specified either as+-- a default for the activity type or through this field. If neither this field+-- is set nor a default start-to-close timeout was specified at registration+-- time then a fault will be returned. satdaStartToCloseTimeout :: Lens' ScheduleActivityTaskDecisionAttributes (Maybe Text) satdaStartToCloseTimeout =     lens _satdaStartToCloseTimeout         (\s a -> s { _satdaStartToCloseTimeout = a }) --- | If set, specifies the name of the task list in which to schedule the--- activity task. If not specified, the 'defaultTaskList' registered with the--- activity type will be used.+-- | If set, specifies the name of the task list in which to schedule the activity+-- task. If not specified, the 'defaultTaskList' registered with the activity type+-- will be used. ----- The specified string must not start or end with whitespace. It must not--- contain a ':' (colon), '/' (slash), '|' (vertical bar), or any control characters--- (\u0000-\u001f | \u007f - \u009f). Also, it must not contain the literal--- string "arn".+-- A task list for this activity task must be specified either as a default for+-- the activity type or through this field. If neither this field is set nor a+-- default task list was specified at registration time then a fault will be+-- returned. The specified string must not start or end with whitespace. It must+-- not contain a ':' (colon), '/' (slash), '|' (vertical bar), or any control+-- characters (\u0000-\u001f | \u007f - \u009f). Also, it must not contain the+-- literal string quotarnquot. satdaTaskList :: Lens' ScheduleActivityTaskDecisionAttributes (Maybe TaskList) satdaTaskList = lens _satdaTaskList (\s a -> s { _satdaTaskList = a }) +-- | /Optional./ If set, specifies the priority with which the activity task is to+-- be assigned to a worker. This overrides the defaultTaskPriority specified+-- when registering the activity type using 'RegisterActivityType'. Valid values+-- are integers that range from Java's 'Integer.MIN_VALUE' (-2147483648) to 'Integer.MAX_VALUE' (2147483647). Higher numbers indicate higher priority.+--+-- For more information about setting task priority, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html Setting Task Priority>+-- in the /Amazon Simple Workflow Developer Guide/.+satdaTaskPriority :: Lens' ScheduleActivityTaskDecisionAttributes (Maybe Text)+satdaTaskPriority =+    lens _satdaTaskPriority (\s a -> s { _satdaTaskPriority = a })+ instance FromJSON ScheduleActivityTaskDecisionAttributes where     parseJSON = withObject "ScheduleActivityTaskDecisionAttributes" $ \o -> ScheduleActivityTaskDecisionAttributes         <$> o .:  "activityId"@@ -1624,6 +1705,7 @@         <*> o .:? "scheduleToStartTimeout"         <*> o .:? "startToCloseTimeout"         <*> o .:? "taskList"+        <*> o .:? "taskPriority"  instance ToJSON ScheduleActivityTaskDecisionAttributes where     toJSON ScheduleActivityTaskDecisionAttributes{..} = object@@ -1633,6 +1715,7 @@         , "input"                  .= _satdaInput         , "scheduleToCloseTimeout" .= _satdaScheduleToCloseTimeout         , "taskList"               .= _satdaTaskList+        , "taskPriority"           .= _satdaTaskPriority         , "scheduleToStartTimeout" .= _satdaScheduleToStartTimeout         , "startToCloseTimeout"    .= _satdaStartToCloseTimeout         , "heartbeatTimeout"       .= _satdaHeartbeatTimeout@@ -1641,6 +1724,7 @@ data ActivityTypeConfiguration = ActivityTypeConfiguration     { _atcDefaultTaskHeartbeatTimeout       :: Maybe Text     , _atcDefaultTaskList                   :: Maybe TaskList+    , _atcDefaultTaskPriority               :: Maybe Text     , _atcDefaultTaskScheduleToCloseTimeout :: Maybe Text     , _atcDefaultTaskScheduleToStartTimeout :: Maybe Text     , _atcDefaultTaskStartToCloseTimeout    :: Maybe Text@@ -1654,6 +1738,8 @@ -- -- * 'atcDefaultTaskList' @::@ 'Maybe' 'TaskList' --+-- * 'atcDefaultTaskPriority' @::@ 'Maybe' 'Text'+-- -- * 'atcDefaultTaskScheduleToCloseTimeout' @::@ 'Maybe' 'Text' -- -- * 'atcDefaultTaskScheduleToStartTimeout' @::@ 'Maybe' 'Text'@@ -1665,65 +1751,79 @@     { _atcDefaultTaskStartToCloseTimeout    = Nothing     , _atcDefaultTaskHeartbeatTimeout       = Nothing     , _atcDefaultTaskList                   = Nothing+    , _atcDefaultTaskPriority               = Nothing     , _atcDefaultTaskScheduleToStartTimeout = Nothing     , _atcDefaultTaskScheduleToCloseTimeout = Nothing     } --- | The optional default maximum time, specified when registering the activity--- type, before which a worker processing a task must report progress by calling 'RecordActivityTaskHeartbeat'. You can override this default when scheduling a--- task through the 'ScheduleActivityTask' 'Decision'. If the activity worker--- subsequently attempts to record a heartbeat or returns a result, the activity--- worker receives an 'UnknownResource' fault. In this case, Amazon SWF no longer+-- | /Optional./ The default maximum time, in seconds, before which a worker+-- processing a task must report progress by calling 'RecordActivityTaskHeartbeat'.+--+-- You can specify this value only when /registering/ an activity type. The+-- registered default value can be overridden when you schedule a task through+-- the 'ScheduleActivityTask' 'Decision'. If the activity worker subsequently+-- attempts to record a heartbeat or returns a result, the activity worker+-- receives an 'UnknownResource' fault. In this case, Amazon SWF no longer -- considers the activity task to be valid; the activity worker should clean up -- the activity task. ----- The valid values are integers greater than or equal to '0'. An integer value--- can be used to specify the duration in seconds while 'NONE' can be used to--- specify unlimited duration.+-- The duration is specified in seconds; an integer greater than or equal to 0.+-- The value "NONE" can be used to specify unlimited duration. atcDefaultTaskHeartbeatTimeout :: Lens' ActivityTypeConfiguration (Maybe Text) atcDefaultTaskHeartbeatTimeout =     lens _atcDefaultTaskHeartbeatTimeout         (\s a -> s { _atcDefaultTaskHeartbeatTimeout = a }) --- | The optional default task list specified for this activity type at--- registration. This default task list is used if a task list is not provided--- when a task is scheduled through the 'ScheduleActivityTask' 'Decision'. You can--- override this default when scheduling a task through the 'ScheduleActivityTask' 'Decision'.+-- | /Optional./ The default task list specified for this activity type at+-- registration. This default is used if a task list is not provided when a task+-- is scheduled through the 'ScheduleActivityTask' 'Decision'. You can override the+-- default registered task list when scheduling a task through the 'ScheduleActivityTask' 'Decision'. atcDefaultTaskList :: Lens' ActivityTypeConfiguration (Maybe TaskList) atcDefaultTaskList =     lens _atcDefaultTaskList (\s a -> s { _atcDefaultTaskList = a }) --- | The optional default maximum duration, specified when registering the+-- | /Optional./ The default task priority for tasks of this activity type,+-- specified at registration. If not set, then "0" will be used as the default+-- priority. This default can be overridden when scheduling an activity task.+--+-- Valid values are integers that range from Java's 'Integer.MIN_VALUE'+-- (-2147483648) to 'Integer.MAX_VALUE' (2147483647). Higher numbers indicate+-- higher priority.+--+-- For more information about setting task priority, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html Setting Task Priority>+-- in the /Amazon Simple Workflow Developer Guide/.+atcDefaultTaskPriority :: Lens' ActivityTypeConfiguration (Maybe Text)+atcDefaultTaskPriority =+    lens _atcDefaultTaskPriority (\s a -> s { _atcDefaultTaskPriority = a })++-- | /Optional./ The default maximum duration, specified when registering the -- activity type, for tasks of this activity type. You can override this default -- when scheduling a task through the 'ScheduleActivityTask' 'Decision'. ----- The valid values are integers greater than or equal to '0'. An integer value--- can be used to specify the duration in seconds while 'NONE' can be used to--- specify unlimited duration.+-- The duration is specified in seconds; an integer greater than or equal to 0.+-- The value "NONE" can be used to specify unlimited duration. atcDefaultTaskScheduleToCloseTimeout :: Lens' ActivityTypeConfiguration (Maybe Text) atcDefaultTaskScheduleToCloseTimeout =     lens _atcDefaultTaskScheduleToCloseTimeout         (\s a -> s { _atcDefaultTaskScheduleToCloseTimeout = a }) --- | The optional default maximum duration, specified when registering the+-- | /Optional./ The default maximum duration, specified when registering the -- activity type, that a task of an activity type can wait before being assigned -- to a worker. You can override this default when scheduling a task through the 'ScheduleActivityTask' 'Decision'. ----- The valid values are integers greater than or equal to '0'. An integer value--- can be used to specify the duration in seconds while 'NONE' can be used to--- specify unlimited duration.+-- The duration is specified in seconds; an integer greater than or equal to 0.+-- The value "NONE" can be used to specify unlimited duration. atcDefaultTaskScheduleToStartTimeout :: Lens' ActivityTypeConfiguration (Maybe Text) atcDefaultTaskScheduleToStartTimeout =     lens _atcDefaultTaskScheduleToStartTimeout         (\s a -> s { _atcDefaultTaskScheduleToStartTimeout = a }) --- | The optional default maximum duration for tasks of an activity type+-- | /Optional./ The default maximum duration for tasks of an activity type -- specified when registering the activity type. You can override this default -- when scheduling a task through the 'ScheduleActivityTask' 'Decision'. ----- The valid values are integers greater than or equal to '0'. An integer value--- can be used to specify the duration in seconds while 'NONE' can be used to--- specify unlimited duration.+-- The duration is specified in seconds; an integer greater than or equal to 0.+-- The value "NONE" can be used to specify unlimited duration. atcDefaultTaskStartToCloseTimeout :: Lens' ActivityTypeConfiguration (Maybe Text) atcDefaultTaskStartToCloseTimeout =     lens _atcDefaultTaskStartToCloseTimeout@@ -1733,6 +1833,7 @@     parseJSON = withObject "ActivityTypeConfiguration" $ \o -> ActivityTypeConfiguration         <$> o .:? "defaultTaskHeartbeatTimeout"         <*> o .:? "defaultTaskList"+        <*> o .:? "defaultTaskPriority"         <*> o .:? "defaultTaskScheduleToCloseTimeout"         <*> o .:? "defaultTaskScheduleToStartTimeout"         <*> o .:? "defaultTaskStartToCloseTimeout"@@ -1742,6 +1843,7 @@         [ "defaultTaskStartToCloseTimeout"    .= _atcDefaultTaskStartToCloseTimeout         , "defaultTaskHeartbeatTimeout"       .= _atcDefaultTaskHeartbeatTimeout         , "defaultTaskList"                   .= _atcDefaultTaskList+        , "defaultTaskPriority"               .= _atcDefaultTaskPriority         , "defaultTaskScheduleToStartTimeout" .= _atcDefaultTaskScheduleToStartTimeout         , "defaultTaskScheduleToCloseTimeout" .= _atcDefaultTaskScheduleToCloseTimeout         ]@@ -1768,10 +1870,16 @@     }  -- | The name of this activity.+--+-- The combination of activity type name and version must be unique within a+-- domain. atName :: Lens' ActivityType Text atName = lens _atName (\s a -> s { _atName = a })  -- | The version of this activity.+--+-- The combination of activity type name and version must be unique with in a+-- domain. atVersion :: Lens' ActivityType Text atVersion = lens _atVersion (\s a -> s { _atVersion = a }) @@ -1895,10 +2003,9 @@     , _cweceaResult            = Nothing     } --- | The id of the 'StartChildWorkflowExecutionInitiated' event corresponding to--- the 'StartChildWorkflowExecution' 'Decision' to start this child workflow--- execution. This information can be useful for diagnosing problems by tracing--- back the chain of events leading up to this event.+-- | The id of the 'StartChildWorkflowExecutionInitiated' event corresponding to the 'StartChildWorkflowExecution' 'Decision' to start this child workflow execution.+-- This information can be useful for diagnosing problems by tracing back the+-- chain of events leading up to this event. cweceaInitiatedEventId :: Lens' ChildWorkflowExecutionCompletedEventAttributes Integer cweceaInitiatedEventId =     lens _cweceaInitiatedEventId (\s a -> s { _cweceaInitiatedEventId = a })@@ -2081,8 +2188,11 @@ satfeaActivityType =     lens _satfeaActivityType (\s a -> s { _satfeaActivityType = a }) --- | The cause of the failure to process the decision. This information is--- generated by the system and can be useful for diagnostic purposes.+-- | The cause of the failure. This information is generated by the system and can+-- be useful for diagnostic purposes.+--+-- If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it+-- lacked sufficient permissions. For details and example IAM policies, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html Using IAM to Manage Access to Amazon SWF Workflows>. satfeaCause :: Lens' ScheduleActivityTaskFailedEventAttributes ScheduleActivityTaskFailedCause satfeaCause = lens _satfeaCause (\s a -> s { _satfeaCause = a }) @@ -2137,8 +2247,8 @@  -- | The id of the 'DecisionTaskCompleted' event corresponding to the decision task -- that resulted in the 'RecordMarker' decision that requested this marker. This--- information can be useful for diagnosing problems by tracing back the cause--- of events.+-- information can be useful for diagnosing problems by tracing back the chain+-- of events leading up to this event. mreaDecisionTaskCompletedEventId :: Lens' MarkerRecordedEventAttributes Integer mreaDecisionTaskCompletedEventId =     lens _mreaDecisionTaskCompletedEventId@@ -2198,13 +2308,13 @@     , _sewedaControl    = Nothing     } --- | Optional data attached to the event that can be used by the decider in+-- | /Optional./ Data attached to the event that can be used by the decider in -- subsequent decision tasks. sewedaControl :: Lens' SignalExternalWorkflowExecutionDecisionAttributes (Maybe Text) sewedaControl = lens _sewedaControl (\s a -> s { _sewedaControl = a }) --- | Optional input to be provided with the signal.The target workflow execution--- will use the signal name and input to process the signal.+-- | /Optional./ Input data to be provided with the signal. The target workflow+-- execution will use the signal name and input data to process the signal. sewedaInput :: Lens' SignalExternalWorkflowExecutionDecisionAttributes (Maybe Text) sewedaInput = lens _sewedaInput (\s a -> s { _sewedaInput = a }) @@ -2212,13 +2322,12 @@ sewedaRunId :: Lens' SignalExternalWorkflowExecutionDecisionAttributes (Maybe Text) sewedaRunId = lens _sewedaRunId (\s a -> s { _sewedaRunId = a }) --- | The name of the signal.The target workflow execution will use the signal--- name and input to process the signal. This field is required.+-- | Required. The name of the signal.The target workflow execution will use the+-- signal name and input to process the signal. sewedaSignalName :: Lens' SignalExternalWorkflowExecutionDecisionAttributes Text sewedaSignalName = lens _sewedaSignalName (\s a -> s { _sewedaSignalName = a }) --- | The 'workflowId' of the workflow execution to be signaled. This field is--- required.+-- | Required. The 'workflowId' of the workflow execution to be signaled. sewedaWorkflowId :: Lens' SignalExternalWorkflowExecutionDecisionAttributes Text sewedaWorkflowId = lens _sewedaWorkflowId (\s a -> s { _sewedaWorkflowId = a }) @@ -2352,11 +2461,11 @@     , _rmdaDetails    = Nothing     } --- | Optional details of the marker.+-- | /Optional./ details of the marker. rmdaDetails :: Lens' RecordMarkerDecisionAttributes (Maybe Text) rmdaDetails = lens _rmdaDetails (\s a -> s { _rmdaDetails = a }) --- | The name of the marker. This file is required.+-- | Required. The name of the marker. rmdaMarkerName :: Lens' RecordMarkerDecisionAttributes Text rmdaMarkerName = lens _rmdaMarkerName (\s a -> s { _rmdaMarkerName = a }) @@ -2394,13 +2503,16 @@  -- | The cause of the failure. This information is generated by the system and can -- be useful for diagnostic purposes.+--+-- If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it+-- lacked sufficient permissions. For details and example IAM policies, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html Using IAM to Manage Access to Amazon SWF Workflows>. cwefeaCause :: Lens' CompleteWorkflowExecutionFailedEventAttributes CompleteWorkflowExecutionFailedCause cwefeaCause = lens _cwefeaCause (\s a -> s { _cwefeaCause = a })  -- | The id of the 'DecisionTaskCompleted' event corresponding to the decision task -- that resulted in the 'CompleteWorkflowExecution' decision to complete this -- execution. This information can be useful for diagnosing problems by tracing--- back the cause of events.+-- back the chain of events leading up to this event. cwefeaDecisionTaskCompletedEventId :: Lens' CompleteWorkflowExecutionFailedEventAttributes Integer cwefeaDecisionTaskCompletedEventId =     lens _cwefeaDecisionTaskCompletedEventId@@ -2442,25 +2554,24 @@     , _stdaControl            = Nothing     } --- | Optional data attached to the event that can be used by the decider in+-- | /Optional./ Data attached to the event that can be used by the decider in -- subsequent workflow tasks. stdaControl :: Lens' StartTimerDecisionAttributes (Maybe Text) stdaControl = lens _stdaControl (\s a -> s { _stdaControl = a }) --- | The duration to wait before firing the timer. This field is required.+-- | Required. The duration to wait before firing the timer. ----- The duration is specified in seconds. The valid values are integers greater--- than or equal to 0.+-- The duration is specified in seconds; an integer greater than or equal to 0. stdaStartToFireTimeout :: Lens' StartTimerDecisionAttributes Text stdaStartToFireTimeout =     lens _stdaStartToFireTimeout (\s a -> s { _stdaStartToFireTimeout = a }) --- | The unique Id of the timer. This field is required.+-- | Required. The unique Id of the timer. -- -- The specified string must not start or end with whitespace. It must not -- contain a ':' (colon), '/' (slash), '|' (vertical bar), or any control characters -- (\u0000-\u001f | \u007f - \u009f). Also, it must not contain the literal--- string "arn".+-- string quotarnquot. stdaTimerId :: Lens' StartTimerDecisionAttributes Text stdaTimerId = lens _stdaTimerId (\s a -> s { _stdaTimerId = a }) @@ -2575,8 +2686,11 @@     , _rcewefeaControl                      = Nothing     } --- | The cause of the failure to process the decision. This information is--- generated by the system and can be useful for diagnostic purposes.+-- | The cause of the failure. This information is generated by the system and can+-- be useful for diagnostic purposes.+--+-- If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it+-- lacked sufficient permissions. For details and example IAM policies, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html Using IAM to Manage Access to Amazon SWF Workflows>. rcewefeaCause :: Lens' RequestCancelExternalWorkflowExecutionFailedEventAttributes RequestCancelExternalWorkflowExecutionFailedCause rcewefeaCause = lens _rcewefeaCause (\s a -> s { _rcewefeaCause = a }) @@ -2586,7 +2700,7 @@ -- | The id of the 'DecisionTaskCompleted' event corresponding to the decision task -- that resulted in the 'RequestCancelExternalWorkflowExecution' decision for this -- cancellation request. This information can be useful for diagnosing problems--- by tracing back the cause of events.+-- by tracing back the chain of events leading up to this event. rcewefeaDecisionTaskCompletedEventId :: Lens' RequestCancelExternalWorkflowExecutionFailedEventAttributes Integer rcewefeaDecisionTaskCompletedEventId =     lens _rcewefeaDecisionTaskCompletedEventId@@ -2606,8 +2720,8 @@ rcewefeaRunId :: Lens' RequestCancelExternalWorkflowExecutionFailedEventAttributes (Maybe Text) rcewefeaRunId = lens _rcewefeaRunId (\s a -> s { _rcewefeaRunId = a }) --- | The 'workflowId' of the external workflow to which the cancel request was to--- be delivered.+-- | The 'workflowId' of the external workflow to which the cancel request was to be+-- delivered. rcewefeaWorkflowId :: Lens' RequestCancelExternalWorkflowExecutionFailedEventAttributes Text rcewefeaWorkflowId =     lens _rcewefeaWorkflowId (\s a -> s { _rcewefeaWorkflowId = a })@@ -2669,8 +2783,7 @@ atiActivityType :: Lens' ActivityTypeInfo ActivityType atiActivityType = lens _atiActivityType (\s a -> s { _atiActivityType = a }) --- | The date and time this activity type was created through 'RegisterActivityType'--- .+-- | The date and time this activity type was created through 'RegisterActivityType'. atiCreationDate :: Lens' ActivityTypeInfo UTCTime atiCreationDate = lens _atiCreationDate (\s a -> s { _atiCreationDate = a }) . _Time @@ -2733,8 +2846,8 @@  -- | The id of the 'DecisionTaskCompleted' event corresponding to the decision task -- that resulted in the 'CancelTimer' decision to cancel this timer. This--- information can be useful for diagnosing problems by tracing back the cause--- of events.+-- information can be useful for diagnosing problems by tracing back the chain+-- of events leading up to this event. tceaDecisionTaskCompletedEventId :: Lens' TimerCanceledEventAttributes Integer tceaDecisionTaskCompletedEventId =     lens _tceaDecisionTaskCompletedEventId@@ -2773,6 +2886,7 @@     , _weseaParentWorkflowExecution      :: Maybe WorkflowExecution     , _weseaTagList                      :: List "tagList" Text     , _weseaTaskList                     :: TaskList+    , _weseaTaskPriority                 :: Maybe Text     , _weseaTaskStartToCloseTimeout      :: Maybe Text     , _weseaWorkflowType                 :: WorkflowType     } deriving (Eq, Show)@@ -2797,6 +2911,8 @@ -- -- * 'weseaTaskList' @::@ 'TaskList' --+-- * 'weseaTaskPriority' @::@ 'Maybe' 'Text'+-- -- * 'weseaTaskStartToCloseTimeout' @::@ 'Maybe' 'Text' -- -- * 'weseaWorkflowType' @::@ 'WorkflowType'@@ -2813,6 +2929,7 @@     , _weseaExecutionStartToCloseTimeout = Nothing     , _weseaTaskStartToCloseTimeout      = Nothing     , _weseaTagList                      = mempty+    , _weseaTaskPriority                 = Nothing     , _weseaContinuedExecutionRunId      = Nothing     , _weseaParentWorkflowExecution      = Nothing     , _weseaParentInitiatedEventId       = Nothing@@ -2820,15 +2937,19 @@  -- | The policy to use for the child workflow executions if this workflow -- execution is terminated, by calling the 'TerminateWorkflowExecution' action--- explicitly or due to an expired timeout. The supported child policies are:   TERMINATE:--- the child executions will be terminated.  REQUEST_CANCEL: a request to--- cancel will be attempted for each child execution by recording a 'WorkflowExecutionCancelRequested' event in its history. It is up to the decider to take appropriate actions--- when it receives an execution history with this event.   ABANDON: no action+-- explicitly or due to an expired timeout.+--+-- The supported child policies are:+--+-- TERMINATE: the child executions will be terminated. REQUEST_CANCEL: a+-- request to cancel will be attempted for each child execution by recording a 'WorkflowExecutionCancelRequested' event in its history. It is up to the decider to take appropriate actions+-- when it receives an execution history with this event. ABANDON: no action -- will be taken. The child executions will continue to run. weseaChildPolicy :: Lens' WorkflowExecutionStartedEventAttributes ChildPolicy weseaChildPolicy = lens _weseaChildPolicy (\s a -> s { _weseaChildPolicy = a }) --- | If this workflow execution was started due to a 'ContinueAsNewWorkflowExecution' decision, then it contains the 'runId' of the previous workflow execution that+-- | If this workflow execution was started due to a 'ContinueAsNewWorkflowExecution'+-- decision, then it contains the 'runId' of the previous workflow execution that -- was closed and continued as this execution. weseaContinuedExecutionRunId :: Lens' WorkflowExecutionStartedEventAttributes (Maybe Text) weseaContinuedExecutionRunId =@@ -2837,9 +2958,8 @@  -- | The maximum duration for this workflow execution. ----- The valid values are integers greater than or equal to '0'. An integer value--- can be used to specify the duration in seconds while 'NONE' can be used to--- specify unlimited duration.+-- The duration is specified in seconds; an integer greater than or equal to 0.+-- The value "NONE" can be used to specify unlimited duration. weseaExecutionStartToCloseTimeout :: Lens' WorkflowExecutionStartedEventAttributes (Maybe Text) weseaExecutionStartToCloseTimeout =     lens _weseaExecutionStartToCloseTimeout@@ -2849,11 +2969,10 @@ weseaInput :: Lens' WorkflowExecutionStartedEventAttributes (Maybe Text) weseaInput = lens _weseaInput (\s a -> s { _weseaInput = a }) --- | The id of the 'StartChildWorkflowExecutionInitiated' event corresponding to--- the 'StartChildWorkflowExecution' 'Decision' to start this workflow execution.--- The source event with this Id can be found in the history of the source--- workflow execution. This information can be useful for diagnosing problems by--- tracing back the chain of events leading up to this event.+-- | The id of the 'StartChildWorkflowExecutionInitiated' event corresponding to the 'StartChildWorkflowExecution' 'Decision' to start this workflow execution. The+-- source event with this Id can be found in the history of the source workflow+-- execution. This information can be useful for diagnosing problems by tracing+-- back the chain of events leading up to this event. weseaParentInitiatedEventId :: Lens' WorkflowExecutionStartedEventAttributes (Maybe Integer) weseaParentInitiatedEventId =     lens _weseaParentInitiatedEventId@@ -2871,16 +2990,19 @@ weseaTagList :: Lens' WorkflowExecutionStartedEventAttributes [Text] weseaTagList = lens _weseaTagList (\s a -> s { _weseaTagList = a }) . _List --- | The name of the task list for scheduling the decision tasks for this--- workflow execution.+-- | The name of the task list for scheduling the decision tasks for this workflow+-- execution. weseaTaskList :: Lens' WorkflowExecutionStartedEventAttributes TaskList weseaTaskList = lens _weseaTaskList (\s a -> s { _weseaTaskList = a }) +weseaTaskPriority :: Lens' WorkflowExecutionStartedEventAttributes (Maybe Text)+weseaTaskPriority =+    lens _weseaTaskPriority (\s a -> s { _weseaTaskPriority = a })+ -- | The maximum duration of decision tasks for this workflow type. ----- The valid values are integers greater than or equal to '0'. An integer value--- can be used to specify the duration in seconds while 'NONE' can be used to--- specify unlimited duration.+-- The duration is specified in seconds; an integer greater than or equal to 0.+-- The value "NONE" can be used to specify unlimited duration. weseaTaskStartToCloseTimeout :: Lens' WorkflowExecutionStartedEventAttributes (Maybe Text) weseaTaskStartToCloseTimeout =     lens _weseaTaskStartToCloseTimeout@@ -2901,6 +3023,7 @@         <*> o .:? "parentWorkflowExecution"         <*> o .:? "tagList" .!= mempty         <*> o .:  "taskList"+        <*> o .:? "taskPriority"         <*> o .:? "taskStartToCloseTimeout"         <*> o .:  "workflowType" @@ -2913,6 +3036,7 @@         , "taskList"                     .= _weseaTaskList         , "workflowType"                 .= _weseaWorkflowType         , "tagList"                      .= _weseaTagList+        , "taskPriority"                 .= _weseaTaskPriority         , "continuedExecutionRunId"      .= _weseaContinuedExecutionRunId         , "parentWorkflowExecution"      .= _weseaParentWorkflowExecution         , "parentInitiatedEventId"       .= _weseaParentInitiatedEventId@@ -2922,6 +3046,7 @@     { _wtcDefaultChildPolicy                  :: Maybe ChildPolicy     , _wtcDefaultExecutionStartToCloseTimeout :: Maybe Text     , _wtcDefaultTaskList                     :: Maybe TaskList+    , _wtcDefaultTaskPriority                 :: Maybe Text     , _wtcDefaultTaskStartToCloseTimeout      :: Maybe Text     } deriving (Eq, Show) @@ -2935,6 +3060,8 @@ -- -- * 'wtcDefaultTaskList' @::@ 'Maybe' 'TaskList' --+-- * 'wtcDefaultTaskPriority' @::@ 'Maybe' 'Text'+-- -- * 'wtcDefaultTaskStartToCloseTimeout' @::@ 'Maybe' 'Text' -- workflowTypeConfiguration :: WorkflowTypeConfiguration@@ -2942,44 +3069,60 @@     { _wtcDefaultTaskStartToCloseTimeout      = Nothing     , _wtcDefaultExecutionStartToCloseTimeout = Nothing     , _wtcDefaultTaskList                     = Nothing+    , _wtcDefaultTaskPriority                 = Nothing     , _wtcDefaultChildPolicy                  = Nothing     } --- | The optional default policy to use for the child workflow executions when a+-- | /Optional./ The default policy to use for the child workflow executions when a -- workflow execution of this type is terminated, by calling the 'TerminateWorkflowExecution' action explicitly or due to an expired timeout. This default can be -- overridden when starting a workflow execution using the 'StartWorkflowExecution'--- action or the 'StartChildWorkflowExecution' 'Decision'. The supported child--- policies are:+-- action or the 'StartChildWorkflowExecution' 'Decision'. ----- TERMINATE: the child executions will be terminated.  REQUEST_CANCEL: a+-- The supported child policies are:+--+-- TERMINATE: the child executions will be terminated. REQUEST_CANCEL: a -- request to cancel will be attempted for each child execution by recording a 'WorkflowExecutionCancelRequested' event in its history. It is up to the decider to take appropriate actions--- when it receives an execution history with this event.   ABANDON: no action+-- when it receives an execution history with this event. ABANDON: no action -- will be taken. The child executions will continue to run. wtcDefaultChildPolicy :: Lens' WorkflowTypeConfiguration (Maybe ChildPolicy) wtcDefaultChildPolicy =     lens _wtcDefaultChildPolicy (\s a -> s { _wtcDefaultChildPolicy = a }) --- | The optional default maximum duration, specified when registering the+-- | /Optional./ The default maximum duration, specified when registering the -- workflow type, for executions of this workflow type. This default can be -- overridden when starting a workflow execution using the 'StartWorkflowExecution' -- action or the 'StartChildWorkflowExecution' 'Decision'. ----- The valid values are integers greater than or equal to '0'. An integer value--- can be used to specify the duration in seconds while 'NONE' can be used to--- specify unlimited duration.+-- The duration is specified in seconds; an integer greater than or equal to 0.+-- The value "NONE" can be used to specify unlimited duration. wtcDefaultExecutionStartToCloseTimeout :: Lens' WorkflowTypeConfiguration (Maybe Text) wtcDefaultExecutionStartToCloseTimeout =     lens _wtcDefaultExecutionStartToCloseTimeout         (\s a -> s { _wtcDefaultExecutionStartToCloseTimeout = a }) --- | The optional default task list, specified when registering the workflow+-- | /Optional./ The default task list, specified when registering the workflow -- type, for decisions tasks scheduled for workflow executions of this type. -- This default can be overridden when starting a workflow execution using the 'StartWorkflowExecution' action or the 'StartChildWorkflowExecution' 'Decision'. wtcDefaultTaskList :: Lens' WorkflowTypeConfiguration (Maybe TaskList) wtcDefaultTaskList =     lens _wtcDefaultTaskList (\s a -> s { _wtcDefaultTaskList = a }) --- | The optional default maximum duration, specified when registering the+-- | /Optional./ The default task priority, specified when registering the workflow+-- type, for all decision tasks of this workflow type. This default can be+-- overridden when starting a workflow execution using the 'StartWorkflowExecution'+-- action or the 'StartChildWorkflowExecution' decision.+--+-- Valid values are integers that range from Java's 'Integer.MIN_VALUE'+-- (-2147483648) to 'Integer.MAX_VALUE' (2147483647). Higher numbers indicate+-- higher priority.+--+-- For more information about setting task priority, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html Setting Task Priority>+-- in the /Amazon Simple Workflow Developer Guide/.+wtcDefaultTaskPriority :: Lens' WorkflowTypeConfiguration (Maybe Text)+wtcDefaultTaskPriority =+    lens _wtcDefaultTaskPriority (\s a -> s { _wtcDefaultTaskPriority = a })++-- | /Optional./ The default maximum duration, specified when registering the -- workflow type, that a decision task for executions of this workflow type -- might take before returning completion or failure. If the task does not close -- in the specified time then the task is automatically timed out and@@ -2987,9 +3130,8 @@ -- ignored. This default can be overridden when starting a workflow execution -- using the 'StartWorkflowExecution' action or the 'StartChildWorkflowExecution' 'Decision'. ----- The valid values are integers greater than or equal to '0'. An integer value--- can be used to specify the duration in seconds while 'NONE' can be used to--- specify unlimited duration.+-- The duration is specified in seconds; an integer greater than or equal to 0.+-- The value "NONE" can be used to specify unlimited duration. wtcDefaultTaskStartToCloseTimeout :: Lens' WorkflowTypeConfiguration (Maybe Text) wtcDefaultTaskStartToCloseTimeout =     lens _wtcDefaultTaskStartToCloseTimeout@@ -3000,6 +3142,7 @@         <$> o .:? "defaultChildPolicy"         <*> o .:? "defaultExecutionStartToCloseTimeout"         <*> o .:? "defaultTaskList"+        <*> o .:? "defaultTaskPriority"         <*> o .:? "defaultTaskStartToCloseTimeout"  instance ToJSON WorkflowTypeConfiguration where@@ -3007,6 +3150,7 @@         [ "defaultTaskStartToCloseTimeout"      .= _wtcDefaultTaskStartToCloseTimeout         , "defaultExecutionStartToCloseTimeout" .= _wtcDefaultExecutionStartToCloseTimeout         , "defaultTaskList"                     .= _wtcDefaultTaskList+        , "defaultTaskPriority"                 .= _wtcDefaultTaskPriority         , "defaultChildPolicy"                  .= _wtcDefaultChildPolicy         ] @@ -3066,11 +3210,17 @@     , _wtVersion = p2     } --- | The name of the workflow type. This field is required.+-- | Required. The name of the workflow type.+--+-- The combination of workflow type name and version must be unique with in a+-- domain. wtName :: Lens' WorkflowType Text wtName = lens _wtName (\s a -> s { _wtName = a }) --- | The version of the workflow type. This field is required.+-- | Required. The version of the workflow type.+--+-- The combination of workflow type name and version must be unique with in a+-- domain. wtVersion :: Lens' WorkflowType Text wtVersion = lens _wtVersion (\s a -> s { _wtVersion = a }) @@ -3316,8 +3466,7 @@ dttoeaStartedEventId =     lens _dttoeaStartedEventId (\s a -> s { _dttoeaStartedEventId = a }) --- | The type of timeout that expired before the decision task could be--- completed.+-- | The type of timeout that expired before the decision task could be completed. dttoeaTimeoutType :: Lens' DecisionTaskTimedOutEventAttributes DecisionTaskTimeoutType dttoeaTimeoutType =     lens _dttoeaTimeoutType (\s a -> s { _dttoeaTimeoutType = a })@@ -3361,10 +3510,9 @@     , _cweseaInitiatedEventId  = p3     } --- | The id of the 'StartChildWorkflowExecutionInitiated' event corresponding to--- the 'StartChildWorkflowExecution' 'Decision' to start this child workflow--- execution. This information can be useful for diagnosing problems by tracing--- back the chain of events leading up to this event.+-- | The id of the 'StartChildWorkflowExecutionInitiated' event corresponding to the 'StartChildWorkflowExecution' 'Decision' to start this child workflow execution.+-- This information can be useful for diagnosing problems by tracing back the+-- chain of events leading up to this event. cweseaInitiatedEventId :: Lens' ChildWorkflowExecutionStartedEventAttributes Integer cweseaInitiatedEventId =     lens _cweseaInitiatedEventId (\s a -> s { _cweseaInitiatedEventId = a })@@ -3418,15 +3566,18 @@     , _ctfeaDecisionTaskCompletedEventId = p3     } --- | The cause of the failure to process the decision. This information is--- generated by the system and can be useful for diagnostic purposes.+-- | The cause of the failure. This information is generated by the system and can+-- be useful for diagnostic purposes.+--+-- If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it+-- lacked sufficient permissions. For details and example IAM policies, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html Using IAM to Manage Access to Amazon SWF Workflows>. ctfeaCause :: Lens' CancelTimerFailedEventAttributes CancelTimerFailedCause ctfeaCause = lens _ctfeaCause (\s a -> s { _ctfeaCause = a })  -- | The id of the 'DecisionTaskCompleted' event corresponding to the decision task -- that resulted in the 'CancelTimer' decision to cancel this timer. This--- information can be useful for diagnosing problems by tracing back the cause--- of events.+-- information can be useful for diagnosing problems by tracing back the chain+-- of events leading up to this event. ctfeaDecisionTaskCompletedEventId :: Lens' CancelTimerFailedEventAttributes Integer ctfeaDecisionTaskCompletedEventId =     lens _ctfeaDecisionTaskCompletedEventId@@ -3603,9 +3754,12 @@     lens _weiExecutionInfos (\s a -> s { _weiExecutionInfos = a })         . _List --- | The token of the next page in the result. If set, the results have more than--- one page. The next page can be retrieved by repeating the request with this--- token and all other arguments unchanged.+-- | If a 'NextPageToken' was returned by a previous call, there are more results+-- available. To retrieve the next page of results, make the call again using+-- the returned token in 'nextPageToken'. Keep all other arguments unchanged.+--+-- The configured 'maximumPageSize' determines how many results can be returned+-- in a single call. weiNextPageToken :: Lens' WorkflowExecutionInfos (Maybe Text) weiNextPageToken = lens _weiNextPageToken (\s a -> s { _weiNextPageToken = a }) @@ -3627,6 +3781,7 @@     , _scwedaInput                        :: Maybe Text     , _scwedaTagList                      :: List "tagList" Text     , _scwedaTaskList                     :: Maybe TaskList+    , _scwedaTaskPriority                 :: Maybe Text     , _scwedaTaskStartToCloseTimeout      :: Maybe Text     , _scwedaWorkflowId                   :: Text     , _scwedaWorkflowType                 :: WorkflowType@@ -3648,6 +3803,8 @@ -- -- * 'scwedaTaskList' @::@ 'Maybe' 'TaskList' --+-- * 'scwedaTaskPriority' @::@ 'Maybe' 'Text'+-- -- * 'scwedaTaskStartToCloseTimeout' @::@ 'Maybe' 'Text' -- -- * 'scwedaWorkflowId' @::@ 'Text'@@ -3664,24 +3821,33 @@     , _scwedaInput                        = Nothing     , _scwedaExecutionStartToCloseTimeout = Nothing     , _scwedaTaskList                     = Nothing+    , _scwedaTaskPriority                 = Nothing     , _scwedaTaskStartToCloseTimeout      = Nothing     , _scwedaChildPolicy                  = Nothing     , _scwedaTagList                      = mempty     } --- | If set, specifies the policy to use for the child workflow executions if the--- workflow execution being started is terminated by calling the 'TerminateWorkflowExecution' action explicitly or due to an expired timeout. This policy overrides the--- default child policy specified when registering the workflow type using 'RegisterWorkflowType'. The supported child policies are:+-- | /Optional./ If set, specifies the policy to use for the child workflow+-- executions if the workflow execution being started is terminated by calling+-- the 'TerminateWorkflowExecution' action explicitly or due to an expired+-- timeout. This policy overrides the default child policy specified when+-- registering the workflow type using 'RegisterWorkflowType'. ----- TERMINATE: the child executions will be terminated.  REQUEST_CANCEL: a+-- The supported child policies are:+--+-- TERMINATE: the child executions will be terminated. REQUEST_CANCEL: a -- request to cancel will be attempted for each child execution by recording a 'WorkflowExecutionCancelRequested' event in its history. It is up to the decider to take appropriate actions--- when it receives an execution history with this event.   ABANDON: no action--- will be taken. The child executions will continue to run.+-- when it receives an execution history with this event. ABANDON: no action+-- will be taken. The child executions will continue to run.  A child policy for+-- this workflow execution must be specified either as a default for the+-- workflow type or through this parameter. If neither this parameter is set nor+-- a default child policy was specified at registration time then a fault will+-- be returned. scwedaChildPolicy :: Lens' StartChildWorkflowExecutionDecisionAttributes (Maybe ChildPolicy) scwedaChildPolicy =     lens _scwedaChildPolicy (\s a -> s { _scwedaChildPolicy = a }) --- | Optional data attached to the event that can be used by the decider in+-- | /Optional./ Data attached to the event that can be used by the decider in -- subsequent workflow tasks. This data is not sent to the child workflow -- execution. scwedaControl :: Lens' StartChildWorkflowExecutionDecisionAttributes (Maybe Text)@@ -3691,9 +3857,14 @@ -- defaultExecutionStartToCloseTimeout specified when registering the workflow -- type. ----- The valid values are integers greater than or equal to '0'. An integer value--- can be used to specify the duration in seconds while 'NONE' can be used to--- specify unlimited duration.+-- The duration is specified in seconds; an integer greater than or equal to 0.+-- The value "NONE" can be used to specify unlimited duration.+--+-- An execution start-to-close timeout for this workflow execution must be+-- specified either as a default for the workflow type or through this+-- parameter. If neither this parameter is set nor a default execution+-- start-to-close timeout was specified at registration time then a fault will+-- be returned. scwedaExecutionStartToCloseTimeout :: Lens' StartChildWorkflowExecutionDecisionAttributes (Maybe Text) scwedaExecutionStartToCloseTimeout =     lens _scwedaExecutionStartToCloseTimeout@@ -3703,45 +3874,64 @@ scwedaInput :: Lens' StartChildWorkflowExecutionDecisionAttributes (Maybe Text) scwedaInput = lens _scwedaInput (\s a -> s { _scwedaInput = a }) --- | The list of tags to associate with the child workflow execution. A maximum--- of 5 tags can be specified. You can list workflow executions with a specific--- tag by calling 'ListOpenWorkflowExecutions' or 'ListClosedWorkflowExecutions' and+-- | The list of tags to associate with the child workflow execution. A maximum of+-- 5 tags can be specified. You can list workflow executions with a specific tag+-- by calling 'ListOpenWorkflowExecutions' or 'ListClosedWorkflowExecutions' and -- specifying a 'TagFilter'. scwedaTagList :: Lens' StartChildWorkflowExecutionDecisionAttributes [Text] scwedaTagList = lens _scwedaTagList (\s a -> s { _scwedaTagList = a }) . _List --- | The name of the task list to be used for decision tasks of the child--- workflow execution.+-- | The name of the task list to be used for decision tasks of the child workflow+-- execution. ----- The specified string must not start or end with whitespace. It must not--- contain a ':' (colon), '/' (slash), '|' (vertical bar), or any control characters--- (\u0000-\u001f | \u007f - \u009f). Also, it must not contain the literal--- string "arn".+-- A task list for this workflow execution must be specified either as a+-- default for the workflow type or through this parameter. If neither this+-- parameter is set nor a default task list was specified at registration time+-- then a fault will be returned. The specified string must not start or end+-- with whitespace. It must not contain a ':' (colon), '/' (slash), '|' (vertical+-- bar), or any control characters (\u0000-\u001f | \u007f - \u009f). Also, it+-- must not contain the literal string quotarnquot. scwedaTaskList :: Lens' StartChildWorkflowExecutionDecisionAttributes (Maybe TaskList) scwedaTaskList = lens _scwedaTaskList (\s a -> s { _scwedaTaskList = a }) --- | Specifies the maximum duration of decision tasks for this workflow--- execution. This parameter overrides the 'defaultTaskStartToCloseTimout'--- specified when registering the workflow type using 'RegisterWorkflowType'.+-- | /Optional./ A task priority that, if set, specifies the priority for a decision+-- task of this workflow execution. This overrides the defaultTaskPriority+-- specified when registering the workflow type. Valid values are integers that+-- range from Java's 'Integer.MIN_VALUE' (-2147483648) to 'Integer.MAX_VALUE'+-- (2147483647). Higher numbers indicate higher priority. ----- The valid values are integers greater than or equal to '0'. An integer value--- can be used to specify the duration in seconds while 'NONE' can be used to--- specify unlimited duration.+-- For more information about setting task priority, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html Setting Task Priority>+-- in the /Amazon Simple Workflow Developer Guide/.+scwedaTaskPriority :: Lens' StartChildWorkflowExecutionDecisionAttributes (Maybe Text)+scwedaTaskPriority =+    lens _scwedaTaskPriority (\s a -> s { _scwedaTaskPriority = a })++-- | Specifies the maximum duration of decision tasks for this workflow execution.+-- This parameter overrides the 'defaultTaskStartToCloseTimout' specified when+-- registering the workflow type using 'RegisterWorkflowType'.+--+-- The duration is specified in seconds; an integer greater than or equal to 0.+-- The value "NONE" can be used to specify unlimited duration.+--+-- A task start-to-close timeout for this workflow execution must be specified+-- either as a default for the workflow type or through this parameter. If+-- neither this parameter is set nor a default task start-to-close timeout was+-- specified at registration time then a fault will be returned. scwedaTaskStartToCloseTimeout :: Lens' StartChildWorkflowExecutionDecisionAttributes (Maybe Text) scwedaTaskStartToCloseTimeout =     lens _scwedaTaskStartToCloseTimeout         (\s a -> s { _scwedaTaskStartToCloseTimeout = a }) --- | The 'workflowId' of the workflow execution. This field is required.+-- | Required. The 'workflowId' of the workflow execution. -- -- The specified string must not start or end with whitespace. It must not -- contain a ':' (colon), '/' (slash), '|' (vertical bar), or any control characters -- (\u0000-\u001f | \u007f - \u009f). Also, it must not contain the literal--- string "arn".+-- string quotarnquot. scwedaWorkflowId :: Lens' StartChildWorkflowExecutionDecisionAttributes Text scwedaWorkflowId = lens _scwedaWorkflowId (\s a -> s { _scwedaWorkflowId = a }) --- | The type of the workflow execution to be started. This field is required.+-- | Required. The type of the workflow execution to be started. scwedaWorkflowType :: Lens' StartChildWorkflowExecutionDecisionAttributes WorkflowType scwedaWorkflowType =     lens _scwedaWorkflowType (\s a -> s { _scwedaWorkflowType = a })@@ -3754,6 +3944,7 @@         <*> o .:? "input"         <*> o .:? "tagList" .!= mempty         <*> o .:? "taskList"+        <*> o .:? "taskPriority"         <*> o .:? "taskStartToCloseTimeout"         <*> o .:  "workflowId"         <*> o .:  "workflowType"@@ -3766,13 +3957,15 @@         , "input"                        .= _scwedaInput         , "executionStartToCloseTimeout" .= _scwedaExecutionStartToCloseTimeout         , "taskList"                     .= _scwedaTaskList+        , "taskPriority"                 .= _scwedaTaskPriority         , "taskStartToCloseTimeout"      .= _scwedaTaskStartToCloseTimeout         , "childPolicy"                  .= _scwedaChildPolicy         , "tagList"                      .= _scwedaTagList         ]  data ContinueAsNewWorkflowExecutionFailedCause-    = CANWEFCDefaultChildPolicyUndefined                  -- ^ DEFAULT_CHILD_POLICY_UNDEFINED+    = CANWEFCContinueAsNewWorkflowExecutionRateExceeded   -- ^ CONTINUE_AS_NEW_WORKFLOW_EXECUTION_RATE_EXCEEDED+    | CANWEFCDefaultChildPolicyUndefined                  -- ^ DEFAULT_CHILD_POLICY_UNDEFINED     | CANWEFCDefaultExecutionStartToCloseTimeoutUndefined -- ^ DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED     | CANWEFCDefaultTaskListUndefined                     -- ^ DEFAULT_TASK_LIST_UNDEFINED     | CANWEFCDefaultTaskStartToCloseTimeoutUndefined      -- ^ DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED@@ -3786,6 +3979,7 @@  instance FromText ContinueAsNewWorkflowExecutionFailedCause where     parser = takeText >>= \case+        "CONTINUE_AS_NEW_WORKFLOW_EXECUTION_RATE_EXCEEDED"   -> pure CANWEFCContinueAsNewWorkflowExecutionRateExceeded         "DEFAULT_CHILD_POLICY_UNDEFINED"                     -> pure CANWEFCDefaultChildPolicyUndefined         "DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED" -> pure CANWEFCDefaultExecutionStartToCloseTimeoutUndefined         "DEFAULT_TASK_LIST_UNDEFINED"                        -> pure CANWEFCDefaultTaskListUndefined@@ -3799,6 +3993,7 @@  instance ToText ContinueAsNewWorkflowExecutionFailedCause where     toText = \case+        CANWEFCContinueAsNewWorkflowExecutionRateExceeded   -> "CONTINUE_AS_NEW_WORKFLOW_EXECUTION_RATE_EXCEEDED"         CANWEFCDefaultChildPolicyUndefined                  -> "DEFAULT_CHILD_POLICY_UNDEFINED"         CANWEFCDefaultExecutionStartToCloseTimeoutUndefined -> "DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED"         CANWEFCDefaultTaskListUndefined                     -> "DEFAULT_TASK_LIST_UNDEFINED"@@ -3837,7 +4032,7 @@     , _fwedaDetails = Nothing     } --- | Optional details of the failure.+-- | /Optional./ Details of the failure. fwedaDetails :: Lens' FailWorkflowExecutionDecisionAttributes (Maybe Text) fwedaDetails = lens _fwedaDetails (\s a -> s { _fwedaDetails = a }) @@ -4115,21 +4310,23 @@     , _rcatfeaDecisionTaskCompletedEventId = p3     } --- | The activityId provided in the 'RequestCancelActivityTask' decision that--- failed.+-- | The activityId provided in the 'RequestCancelActivityTask' decision that failed. rcatfeaActivityId :: Lens' RequestCancelActivityTaskFailedEventAttributes Text rcatfeaActivityId =     lens _rcatfeaActivityId (\s a -> s { _rcatfeaActivityId = a }) --- | The cause of the failure to process the decision. This information is--- generated by the system and can be useful for diagnostic purposes.+-- | The cause of the failure. This information is generated by the system and can+-- be useful for diagnostic purposes.+--+-- If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it+-- lacked sufficient permissions. For details and example IAM policies, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html Using IAM to Manage Access to Amazon SWF Workflows>. rcatfeaCause :: Lens' RequestCancelActivityTaskFailedEventAttributes RequestCancelActivityTaskFailedCause rcatfeaCause = lens _rcatfeaCause (\s a -> s { _rcatfeaCause = a })  -- | The id of the 'DecisionTaskCompleted' event corresponding to the decision task -- that resulted in the 'RequestCancelActivityTask' decision for this cancellation -- request. This information can be useful for diagnosing problems by tracing--- back the cause of events.+-- back the chain of events leading up to this event. rcatfeaDecisionTaskCompletedEventId :: Lens' RequestCancelActivityTaskFailedEventAttributes Integer rcatfeaDecisionTaskCompletedEventId =     lens _rcatfeaDecisionTaskCompletedEventId@@ -4256,10 +4453,9 @@     , _cwetoeaStartedEventId    = p5     } --- | The id of the 'StartChildWorkflowExecutionInitiated' event corresponding to--- the 'StartChildWorkflowExecution' 'Decision' to start this child workflow--- execution. This information can be useful for diagnosing problems by tracing--- back the chain of events leading up to this event.+-- | The id of the 'StartChildWorkflowExecutionInitiated' event corresponding to the 'StartChildWorkflowExecution' 'Decision' to start this child workflow execution.+-- This information can be useful for diagnosing problems by tracing back the+-- chain of events leading up to this event. cwetoeaInitiatedEventId :: Lens' ChildWorkflowExecutionTimedOutEventAttributes Integer cwetoeaInitiatedEventId =     lens _cwetoeaInitiatedEventId (\s a -> s { _cwetoeaInitiatedEventId = a })@@ -4271,8 +4467,7 @@ cwetoeaStartedEventId =     lens _cwetoeaStartedEventId (\s a -> s { _cwetoeaStartedEventId = a }) --- | The type of the timeout that caused the child workflow execution to time--- out.+-- | The type of the timeout that caused the child workflow execution to time out. cwetoeaTimeoutType :: Lens' ChildWorkflowExecutionTimedOutEventAttributes WorkflowExecutionTimeoutType cwetoeaTimeoutType =     lens _cwetoeaTimeoutType (\s a -> s { _cwetoeaTimeoutType = a })@@ -4313,6 +4508,7 @@     , _scweieaInput                        :: Maybe Text     , _scweieaTagList                      :: List "tagList" Text     , _scweieaTaskList                     :: TaskList+    , _scweieaTaskPriority                 :: Maybe Text     , _scweieaTaskStartToCloseTimeout      :: Maybe Text     , _scweieaWorkflowId                   :: Text     , _scweieaWorkflowType                 :: WorkflowType@@ -4336,6 +4532,8 @@ -- -- * 'scweieaTaskList' @::@ 'TaskList' --+-- * 'scweieaTaskPriority' @::@ 'Maybe' 'Text'+-- -- * 'scweieaTaskStartToCloseTimeout' @::@ 'Maybe' 'Text' -- -- * 'scweieaWorkflowId' @::@ 'Text'@@ -4357,6 +4555,7 @@     , _scweieaControl                      = Nothing     , _scweieaInput                        = Nothing     , _scweieaExecutionStartToCloseTimeout = Nothing+    , _scweieaTaskPriority                 = Nothing     , _scweieaTaskStartToCloseTimeout      = Nothing     , _scweieaTagList                      = mempty     }@@ -4367,15 +4566,15 @@ -- -- The supported child policies are: ----- TERMINATE: the child executions will be terminated.  REQUEST_CANCEL: a+-- TERMINATE: the child executions will be terminated. REQUEST_CANCEL: a -- request to cancel will be attempted for each child execution by recording a 'WorkflowExecutionCancelRequested' event in its history. It is up to the decider to take appropriate actions--- when it receives an execution history with this event.   ABANDON: no action+-- when it receives an execution history with this event. ABANDON: no action -- will be taken. The child executions will continue to run. scweieaChildPolicy :: Lens' StartChildWorkflowExecutionInitiatedEventAttributes ChildPolicy scweieaChildPolicy =     lens _scweieaChildPolicy (\s a -> s { _scweieaChildPolicy = a }) --- | Optional data attached to the event that can be used by the decider in+-- | /Optional./ Data attached to the event that can be used by the decider in -- subsequent decision tasks. This data is not sent to the activity. scweieaControl :: Lens' StartChildWorkflowExecutionInitiatedEventAttributes (Maybe Text) scweieaControl = lens _scweieaControl (\s a -> s { _scweieaControl = a })@@ -4393,9 +4592,8 @@ -- execution is not closed within this duration, it will be timed out and force -- terminated. ----- The valid values are integers greater than or equal to '0'. An integer value--- can be used to specify the duration in seconds while 'NONE' can be used to--- specify unlimited duration.+-- The duration is specified in seconds; an integer greater than or equal to 0.+-- The value "NONE" can be used to specify unlimited duration. scweieaExecutionStartToCloseTimeout :: Lens' StartChildWorkflowExecutionInitiatedEventAttributes (Maybe Text) scweieaExecutionStartToCloseTimeout =     lens _scweieaExecutionStartToCloseTimeout@@ -4414,12 +4612,22 @@ scweieaTaskList :: Lens' StartChildWorkflowExecutionInitiatedEventAttributes TaskList scweieaTaskList = lens _scweieaTaskList (\s a -> s { _scweieaTaskList = a }) +-- | /Optional./ The priority assigned for the decision tasks for this workflow+-- execution. Valid values are integers that range from Java's 'Integer.MIN_VALUE'+-- (-2147483648) to 'Integer.MAX_VALUE' (2147483647). Higher numbers indicate+-- higher priority.+--+-- For more information about setting task priority, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html Setting Task Priority>+-- in the /Amazon Simple Workflow Developer Guide/.+scweieaTaskPriority :: Lens' StartChildWorkflowExecutionInitiatedEventAttributes (Maybe Text)+scweieaTaskPriority =+    lens _scweieaTaskPriority (\s a -> s { _scweieaTaskPriority = a })+ -- | The maximum duration allowed for the decision tasks for this workflow -- execution. ----- The valid values are integers greater than or equal to '0'. An integer value--- can be used to specify the duration in seconds while 'NONE' can be used to--- specify unlimited duration.+-- The duration is specified in seconds; an integer greater than or equal to 0.+-- The value "NONE" can be used to specify unlimited duration. scweieaTaskStartToCloseTimeout :: Lens' StartChildWorkflowExecutionInitiatedEventAttributes (Maybe Text) scweieaTaskStartToCloseTimeout =     lens _scweieaTaskStartToCloseTimeout@@ -4444,6 +4652,7 @@         <*> o .:? "input"         <*> o .:? "tagList" .!= mempty         <*> o .:  "taskList"+        <*> o .:? "taskPriority"         <*> o .:? "taskStartToCloseTimeout"         <*> o .:  "workflowId"         <*> o .:  "workflowType"@@ -4456,6 +4665,7 @@         , "input"                        .= _scweieaInput         , "executionStartToCloseTimeout" .= _scweieaExecutionStartToCloseTimeout         , "taskList"                     .= _scweieaTaskList+        , "taskPriority"                 .= _scweieaTaskPriority         , "decisionTaskCompletedEventId" .= _scweieaDecisionTaskCompletedEventId         , "childPolicy"                  .= _scweieaChildPolicy         , "taskStartToCloseTimeout"      .= _scweieaTaskStartToCloseTimeout@@ -4485,13 +4695,16 @@  -- | The cause of the failure. This information is generated by the system and can -- be useful for diagnostic purposes.+--+-- If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it+-- lacked sufficient permissions. For details and example IAM policies, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html Using IAM to Manage Access to Amazon SWF Workflows>. cwefea1Cause :: Lens' CancelWorkflowExecutionFailedEventAttributes CancelWorkflowExecutionFailedCause cwefea1Cause = lens _cwefea1Cause (\s a -> s { _cwefea1Cause = a })  -- | The id of the 'DecisionTaskCompleted' event corresponding to the decision task -- that resulted in the 'CancelWorkflowExecution' decision for this cancellation -- request. This information can be useful for diagnosing problems by tracing--- back the cause of events.+-- back the chain of events leading up to this event. cwefea1DecisionTaskCompletedEventId :: Lens' CancelWorkflowExecutionFailedEventAttributes Integer cwefea1DecisionTaskCompletedEventId =     lens _cwefea1DecisionTaskCompletedEventId@@ -4543,12 +4756,13 @@ weteaCause :: Lens' WorkflowExecutionTerminatedEventAttributes (Maybe WorkflowExecutionTerminatedCause) weteaCause = lens _weteaCause (\s a -> s { _weteaCause = a }) --- | The policy used for the child workflow executions of this workflow--- execution. The supported child policies are:+-- | The policy used for the child workflow executions of this workflow execution. ----- TERMINATE: the child executions will be terminated.  REQUEST_CANCEL: a+-- The supported child policies are:+--+-- TERMINATE: the child executions will be terminated. REQUEST_CANCEL: a -- request to cancel will be attempted for each child execution by recording a 'WorkflowExecutionCancelRequested' event in its history. It is up to the decider to take appropriate actions--- when it receives an execution history with this event.   ABANDON: no action+-- when it receives an execution history with this event. ABANDON: no action -- will be taken. The child executions will continue to run. weteaChildPolicy :: Lens' WorkflowExecutionTerminatedEventAttributes ChildPolicy weteaChildPolicy = lens _weteaChildPolicy (\s a -> s { _weteaChildPolicy = a })@@ -4700,10 +4914,9 @@ cwecea1Details :: Lens' ChildWorkflowExecutionCanceledEventAttributes (Maybe Text) cwecea1Details = lens _cwecea1Details (\s a -> s { _cwecea1Details = a }) --- | The id of the 'StartChildWorkflowExecutionInitiated' event corresponding to--- the 'StartChildWorkflowExecution' 'Decision' to start this child workflow--- execution. This information can be useful for diagnosing problems by tracing--- back the chain of events leading up to this event.+-- | The id of the 'StartChildWorkflowExecutionInitiated' event corresponding to the 'StartChildWorkflowExecution' 'Decision' to start this child workflow execution.+-- This information can be useful for diagnosing problems by tracing back the+-- chain of events leading up to this event. cwecea1InitiatedEventId :: Lens' ChildWorkflowExecutionCanceledEventAttributes Integer cwecea1InitiatedEventId =     lens _cwecea1InitiatedEventId (\s a -> s { _cwecea1InitiatedEventId = a })@@ -4802,12 +5015,12 @@ -- | If the execution status is closed then this specifies how the execution was -- closed: ----- COMPLETED: the execution was successfully completed. CANCELED: the+-- 'COMPLETED': the execution was successfully completed.  'CANCELED': the -- execution was canceled.Cancellation allows the implementation to gracefully--- clean up before the execution is closed. TERMINATED: the execution was force--- terminated. FAILED: the execution failed to complete. TIMED_OUT: the+-- clean up before the execution is closed.  'TERMINATED': the execution was force+-- terminated.  'FAILED': the execution failed to complete.  'TIMED_OUT': the -- execution did not complete in the alloted time and was automatically timed--- out. CONTINUED_AS_NEW: the execution is logically continued. This means the+-- out.  'CONTINUED_AS_NEW': the execution is logically continued. This means the -- current execution was completed and a new execution was started to carry on -- the workflow. weiCloseStatus :: Lens' WorkflowExecutionInfo (Maybe CloseStatus)@@ -4914,8 +5127,11 @@     , _sewefeaControl                      = Nothing     } --- | The cause of the failure to process the decision. This information is--- generated by the system and can be useful for diagnostic purposes.+-- | The cause of the failure. This information is generated by the system and can+-- be useful for diagnostic purposes.+--+-- If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it+-- lacked sufficient permissions. For details and example IAM policies, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html Using IAM to Manage Access to Amazon SWF Workflows>. sewefeaCause :: Lens' SignalExternalWorkflowExecutionFailedEventAttributes SignalExternalWorkflowExecutionFailedCause sewefeaCause = lens _sewefeaCause (\s a -> s { _sewefeaCause = a }) @@ -4925,14 +5141,14 @@ -- | The id of the 'DecisionTaskCompleted' event corresponding to the decision task -- that resulted in the 'SignalExternalWorkflowExecution' decision for this -- signal. This information can be useful for diagnosing problems by tracing--- back the cause of events leading up to this event.+-- back the chain of events leading up to this event. sewefeaDecisionTaskCompletedEventId :: Lens' SignalExternalWorkflowExecutionFailedEventAttributes Integer sewefeaDecisionTaskCompletedEventId =     lens _sewefeaDecisionTaskCompletedEventId         (\s a -> s { _sewefeaDecisionTaskCompletedEventId = a }) --- | The id of the 'SignalExternalWorkflowExecutionInitiated' event corresponding--- to the 'SignalExternalWorkflowExecution' decision to request this signal. This+-- | The id of the 'SignalExternalWorkflowExecutionInitiated' event corresponding to+-- the 'SignalExternalWorkflowExecution' decision to request this signal. This -- information can be useful for diagnosing problems by tracing back the chain -- of events leading up to this event. sewefeaInitiatedEventId :: Lens' SignalExternalWorkflowExecutionFailedEventAttributes Integer@@ -4985,8 +5201,8 @@     { _tfTag = p1     } --- | Specifies the tag that must be associated with the execution for it to meet--- the filter criteria. This field is required.+-- | Required. Specifies the tag that must be associated with the execution for it+-- to meet the filter criteria. tfTag :: Lens' TagFilter Text tfTag = lens _tfTag (\s a -> s { _tfTag = a }) @@ -5207,7 +5423,7 @@ -- | The id of the 'DecisionTaskCompleted' event corresponding to the decision task -- that resulted in the 'RequestCancelActivityTask' decision for this cancellation -- request. This information can be useful for diagnosing problems by tracing--- back the cause of events.+-- back the chain of events leading up to this event. atcreaDecisionTaskCompletedEventId :: Lens' ActivityTaskCancelRequestedEventAttributes Integer atcreaDecisionTaskCompletedEventId =     lens _atcreaDecisionTaskCompletedEventId@@ -5245,11 +5461,13 @@     , _wetoeaChildPolicy = p2     } --- | The policy used for the child workflow executions of this workflow--- execution. The supported child policies are:   TERMINATE: the child--- executions will be terminated.  REQUEST_CANCEL: a request to cancel will be--- attempted for each child execution by recording a 'WorkflowExecutionCancelRequested' event in its history. It is up to the decider to take appropriate actions--- when it receives an execution history with this event.   ABANDON: no action+-- | The policy used for the child workflow executions of this workflow execution.+--+-- The supported child policies are:+--+-- TERMINATE: the child executions will be terminated. REQUEST_CANCEL: a+-- request to cancel will be attempted for each child execution by recording a 'WorkflowExecutionCancelRequested' event in its history. It is up to the decider to take appropriate actions+-- when it receives an execution history with this event. ABANDON: no action -- will be taken. The child executions will continue to run. wetoeaChildPolicy :: Lens' WorkflowExecutionTimedOutEventAttributes ChildPolicy wetoeaChildPolicy =@@ -5302,10 +5520,9 @@     , _cweteaStartedEventId    = p4     } --- | The id of the 'StartChildWorkflowExecutionInitiated' event corresponding to--- the 'StartChildWorkflowExecution' 'Decision' to start this child workflow--- execution. This information can be useful for diagnosing problems by tracing--- back the chain of events leading up to this event.+-- | The id of the 'StartChildWorkflowExecutionInitiated' event corresponding to the 'StartChildWorkflowExecution' 'Decision' to start this child workflow execution.+-- This information can be useful for diagnosing problems by tracing back the+-- chain of events leading up to this event. cweteaInitiatedEventId :: Lens' ChildWorkflowExecutionTerminatedEventAttributes Integer cweteaInitiatedEventId =     lens _cweteaInitiatedEventId (\s a -> s { _cweteaInitiatedEventId = a })@@ -5365,7 +5582,7 @@ -- | The id of the 'DecisionTaskCompleted' event corresponding to the decision task -- that resulted in the 'CancelWorkflowExecution' decision for this cancellation -- request. This information can be useful for diagnosing problems by tracing--- back the cause of events.+-- back the chain of events leading up to this event. wecea1DecisionTaskCompletedEventId :: Lens' WorkflowExecutionCanceledEventAttributes Integer wecea1DecisionTaskCompletedEventId =     lens _wecea1DecisionTaskCompletedEventId@@ -5414,8 +5631,8 @@     , _wesea1ExternalInitiatedEventId  = Nothing     } --- | The id of the 'SignalExternalWorkflowExecutionInitiated' event corresponding--- to the 'SignalExternalWorkflow' decision to signal this workflow execution.The+-- | The id of the 'SignalExternalWorkflowExecutionInitiated' event corresponding to+-- the 'SignalExternalWorkflow' decision to signal this workflow execution.The -- source event with this Id can be found in the history of the source workflow -- execution. This information can be useful for diagnosing problems by tracing -- back the chain of events leading up to this event. This field is set only if@@ -5432,8 +5649,8 @@     lens _wesea1ExternalWorkflowExecution         (\s a -> s { _wesea1ExternalWorkflowExecution = a }) --- | Inputs provided with the signal (if any). The decider can use the signal--- name and inputs to determine how to process the signal.+-- | Inputs provided with the signal (if any). The decider can use the signal name+-- and inputs to determine how to process the signal. wesea1Input :: Lens' WorkflowExecutionSignaledEventAttributes (Maybe Text) wesea1Input = lens _wesea1Input (\s a -> s { _wesea1Input = a }) @@ -5541,15 +5758,15 @@     , _tseaControl                      = Nothing     } --- | Optional data attached to the event that can be used by the decider in+-- | /Optional./ Data attached to the event that can be used by the decider in -- subsequent workflow tasks. tseaControl :: Lens' TimerStartedEventAttributes (Maybe Text) tseaControl = lens _tseaControl (\s a -> s { _tseaControl = a })  -- | The id of the 'DecisionTaskCompleted' event corresponding to the decision task -- that resulted in the 'StartTimer' decision for this activity task. This--- information can be useful for diagnosing problems by tracing back the cause--- of events.+-- information can be useful for diagnosing problems by tracing back the chain+-- of events leading up to this event. tseaDecisionTaskCompletedEventId :: Lens' TimerStartedEventAttributes Integer tseaDecisionTaskCompletedEventId =     lens _tseaDecisionTaskCompletedEventId@@ -5557,8 +5774,7 @@  -- | The duration of time after which the timer will fire. ----- The duration is specified in seconds. The valid values are integers greater--- than or equal to 0.+-- The duration is specified in seconds; an integer greater than or equal to 0. tseaStartToFireTimeout :: Lens' TimerStartedEventAttributes Text tseaStartToFireTimeout =     lens _tseaStartToFireTimeout (\s a -> s { _tseaStartToFireTimeout = a })@@ -5689,8 +5905,8 @@     lens _dCancelWorkflowExecutionDecisionAttributes         (\s a -> s { _dCancelWorkflowExecutionDecisionAttributes = a }) --- | Provides details of the 'CompleteWorkflowExecution' decision. It is not set--- for other decision types.+-- | Provides details of the 'CompleteWorkflowExecution' decision. It is not set for+-- other decision types. dCompleteWorkflowExecutionDecisionAttributes :: Lens' Decision (Maybe CompleteWorkflowExecutionDecisionAttributes) dCompleteWorkflowExecutionDecisionAttributes =     lens _dCompleteWorkflowExecutionDecisionAttributes@@ -5721,8 +5937,8 @@     lens _dRecordMarkerDecisionAttributes         (\s a -> s { _dRecordMarkerDecisionAttributes = a }) --- | Provides details of the 'RequestCancelActivityTask' decision. It is not set--- for other decision types.+-- | Provides details of the 'RequestCancelActivityTask' decision. It is not set for+-- other decision types. dRequestCancelActivityTaskDecisionAttributes :: Lens' Decision (Maybe RequestCancelActivityTaskDecisionAttributes) dRequestCancelActivityTaskDecisionAttributes =     lens _dRequestCancelActivityTaskDecisionAttributes@@ -5756,8 +5972,8 @@     lens _dStartChildWorkflowExecutionDecisionAttributes         (\s a -> s { _dStartChildWorkflowExecutionDecisionAttributes = a }) --- | Provides details of the 'StartTimer' decision. It is not set for other--- decision types.+-- | Provides details of the 'StartTimer' decision. It is not set for other decision+-- types. dStartTimerDecisionAttributes :: Lens' Decision (Maybe StartTimerDecisionAttributes) dStartTimerDecisionAttributes =     lens _dStartTimerDecisionAttributes@@ -5891,8 +6107,8 @@     , _eweseaInitiatedEventId  = p2     } --- | The id of the 'SignalExternalWorkflowExecutionInitiated' event corresponding--- to the 'SignalExternalWorkflowExecution' decision to request this signal. This+-- | The id of the 'SignalExternalWorkflowExecutionInitiated' event corresponding to+-- the 'SignalExternalWorkflowExecution' decision to request this signal. This -- information can be useful for diagnosing problems by tracing back the chain -- of events leading up to this event. eweseaInitiatedEventId :: Lens' ExternalWorkflowExecutionSignaledEventAttributes Integer@@ -5930,7 +6146,7 @@     { _cwedaDetails = Nothing     } --- | Optional details of the cancellation.+-- | /Optional./ details of the cancellation. cwedaDetails :: Lens' CancelWorkflowExecutionDecisionAttributes (Maybe Text) cwedaDetails = lens _cwedaDetails (\s a -> s { _cwedaDetails = a }) @@ -6032,13 +6248,16 @@  -- | The cause of the failure. This information is generated by the system and can -- be useful for diagnostic purposes.+--+-- If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it+-- lacked sufficient permissions. For details and example IAM policies, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html Using IAM to Manage Access to Amazon SWF Workflows>. fwefeaCause :: Lens' FailWorkflowExecutionFailedEventAttributes FailWorkflowExecutionFailedCause fwefeaCause = lens _fwefeaCause (\s a -> s { _fwefeaCause = a })  -- | The id of the 'DecisionTaskCompleted' event corresponding to the decision task -- that resulted in the 'FailWorkflowExecution' decision to fail this execution. -- This information can be useful for diagnosing problems by tracing back the--- cause of events.+-- chain of events leading up to this event. fwefeaDecisionTaskCompletedEventId :: Lens' FailWorkflowExecutionFailedEventAttributes Integer fwefeaDecisionTaskCompletedEventId =     lens _fwefeaDecisionTaskCompletedEventId@@ -6095,8 +6314,11 @@     , _scwefeaControl                      = Nothing     } --- | The cause of the failure to process the decision. This information is--- generated by the system and can be useful for diagnostic purposes.+-- | The cause of the failure. This information is generated by the system and can+-- be useful for diagnostic purposes.+--+-- If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it+-- lacked sufficient permissions. For details and example IAM policies, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html Using IAM to Manage Access to Amazon SWF Workflows>. scwefeaCause :: Lens' StartChildWorkflowExecutionFailedEventAttributes StartChildWorkflowExecutionFailedCause scwefeaCause = lens _scwefeaCause (\s a -> s { _scwefeaCause = a }) @@ -6112,10 +6334,9 @@     lens _scwefeaDecisionTaskCompletedEventId         (\s a -> s { _scwefeaDecisionTaskCompletedEventId = a }) --- | The id of the 'StartChildWorkflowExecutionInitiated' event corresponding to--- the 'StartChildWorkflowExecution' 'Decision' to start this child workflow--- execution. This information can be useful for diagnosing problems by tracing--- back the chain of events leading up to this event.+-- | The id of the 'StartChildWorkflowExecutionInitiated' event corresponding to the 'StartChildWorkflowExecution' 'Decision' to start this child workflow execution.+-- This information can be useful for diagnosing problems by tracing back the+-- chain of events leading up to this event. scwefeaInitiatedEventId :: Lens' StartChildWorkflowExecutionFailedEventAttributes Integer scwefeaInitiatedEventId =     lens _scwefeaInitiatedEventId (\s a -> s { _scwefeaInitiatedEventId = a })@@ -6170,7 +6391,7 @@     , _wtfVersion = Nothing     } --- | Name of the workflow type. This field is required.+-- | Required. Name of the workflow type. wtfName :: Lens' WorkflowTypeFilter Text wtfName = lens _wtfName (\s a -> s { _wtfName = a }) @@ -6318,10 +6539,9 @@ cwefeaDetails :: Lens' ChildWorkflowExecutionFailedEventAttributes (Maybe Text) cwefeaDetails = lens _cwefeaDetails (\s a -> s { _cwefeaDetails = a }) --- | The id of the 'StartChildWorkflowExecutionInitiated' event corresponding to--- the 'StartChildWorkflowExecution' 'Decision' to start this child workflow--- execution. This information can be useful for diagnosing problems by tracing--- back the chain of events leading up to this event.+-- | The id of the 'StartChildWorkflowExecutionInitiated' event corresponding to the 'StartChildWorkflowExecution' 'Decision' to start this child workflow execution.+-- This information can be useful for diagnosing problems by tracing back the+-- chain of events leading up to this event. cwefeaInitiatedEventId :: Lens' ChildWorkflowExecutionFailedEventAttributes Integer cwefeaInitiatedEventId =     lens _cwefeaInitiatedEventId (\s a -> s { _cwefeaInitiatedEventId = a })@@ -6699,9 +6919,9 @@     lens _heCancelTimerFailedEventAttributes         (\s a -> s { _heCancelTimerFailedEventAttributes = a }) --- | If the event is of type 'CancelWorkflowExecutionFailed' then this member is--- set and provides detailed information about the event. It is not set for--- other event types.+-- | If the event is of type 'CancelWorkflowExecutionFailed' then this member is set+-- and provides detailed information about the event. It is not set for other+-- event types. heCancelWorkflowExecutionFailedEventAttributes :: Lens' HistoryEvent (Maybe CancelWorkflowExecutionFailedEventAttributes) heCancelWorkflowExecutionFailedEventAttributes =     lens _heCancelWorkflowExecutionFailedEventAttributes@@ -6731,9 +6951,9 @@     lens _heChildWorkflowExecutionFailedEventAttributes         (\s a -> s { _heChildWorkflowExecutionFailedEventAttributes = a }) --- | If the event is of type 'ChildWorkflowExecutionStarted' then this member is--- set and provides detailed information about the event. It is not set for--- other event types.+-- | If the event is of type 'ChildWorkflowExecutionStarted' then this member is set+-- and provides detailed information about the event. It is not set for other+-- event types. heChildWorkflowExecutionStartedEventAttributes :: Lens' HistoryEvent (Maybe ChildWorkflowExecutionStartedEventAttributes) heChildWorkflowExecutionStartedEventAttributes =     lens _heChildWorkflowExecutionStartedEventAttributes@@ -6763,9 +6983,9 @@     lens _heCompleteWorkflowExecutionFailedEventAttributes         (\s a -> s { _heCompleteWorkflowExecutionFailedEventAttributes = a }) --- | If the event is of type 'ContinueAsNewWorkflowExecutionFailed' then this--- member is set and provides detailed information about the event. It is not--- set for other event types.+-- | If the event is of type 'ContinueAsNewWorkflowExecutionFailed' then this member+-- is set and provides detailed information about the event. It is not set for+-- other event types. heContinueAsNewWorkflowExecutionFailedEventAttributes :: Lens' HistoryEvent (Maybe ContinueAsNewWorkflowExecutionFailedEventAttributes) heContinueAsNewWorkflowExecutionFailedEventAttributes =     lens _heContinueAsNewWorkflowExecutionFailedEventAttributes@@ -6824,8 +7044,8 @@     lens _heExternalWorkflowExecutionCancelRequestedEventAttributes         (\s a -> s { _heExternalWorkflowExecutionCancelRequestedEventAttributes = a }) --- | If the event is of type 'ExternalWorkflowExecutionSignaled' then this member--- is set and provides detailed information about the event. It is not set for+-- | If the event is of type 'ExternalWorkflowExecutionSignaled' then this member is+-- set and provides detailed information about the event. It is not set for -- other event types. heExternalWorkflowExecutionSignaledEventAttributes :: Lens' HistoryEvent (Maybe ExternalWorkflowExecutionSignaledEventAttributes) heExternalWorkflowExecutionSignaledEventAttributes =@@ -6903,25 +7123,24 @@     lens _heSignalExternalWorkflowExecutionInitiatedEventAttributes         (\s a -> s { _heSignalExternalWorkflowExecutionInitiatedEventAttributes = a }) --- | If the event is of type 'StartChildWorkflowExecutionFailed' then this member--- is set and provides detailed information about the event. It is not set for+-- | If the event is of type 'StartChildWorkflowExecutionFailed' then this member is+-- set and provides detailed information about the event. It is not set for -- other event types. heStartChildWorkflowExecutionFailedEventAttributes :: Lens' HistoryEvent (Maybe StartChildWorkflowExecutionFailedEventAttributes) heStartChildWorkflowExecutionFailedEventAttributes =     lens _heStartChildWorkflowExecutionFailedEventAttributes         (\s a -> s { _heStartChildWorkflowExecutionFailedEventAttributes = a }) --- | If the event is of type 'StartChildWorkflowExecutionInitiated' then this--- member is set and provides detailed information about the event. It is not--- set for other event types.+-- | If the event is of type 'StartChildWorkflowExecutionInitiated' then this member+-- is set and provides detailed information about the event. It is not set for+-- other event types. heStartChildWorkflowExecutionInitiatedEventAttributes :: Lens' HistoryEvent (Maybe StartChildWorkflowExecutionInitiatedEventAttributes) heStartChildWorkflowExecutionInitiatedEventAttributes =     lens _heStartChildWorkflowExecutionInitiatedEventAttributes         (\s a -> s { _heStartChildWorkflowExecutionInitiatedEventAttributes = a }) --- | If the event is of type 'StartTimerFailed' then this member is set and--- provides detailed information about the event. It is not set for other event--- types.+-- | If the event is of type 'StartTimerFailed' then this member is set and provides+-- detailed information about the event. It is not set for other event types. heStartTimerFailedEventAttributes :: Lens' HistoryEvent (Maybe StartTimerFailedEventAttributes) heStartTimerFailedEventAttributes =     lens _heStartTimerFailedEventAttributes@@ -6956,9 +7175,9 @@     lens _heWorkflowExecutionCancelRequestedEventAttributes         (\s a -> s { _heWorkflowExecutionCancelRequestedEventAttributes = a }) --- | If the event is of type 'WorkflowExecutionCanceled' then this member is set--- and provides detailed information about the event. It is not set for other--- event types.+-- | If the event is of type 'WorkflowExecutionCanceled' then this member is set and+-- provides detailed information about the event. It is not set for other event+-- types. heWorkflowExecutionCanceledEventAttributes :: Lens' HistoryEvent (Maybe WorkflowExecutionCanceledEventAttributes) heWorkflowExecutionCanceledEventAttributes =     lens _heWorkflowExecutionCanceledEventAttributes@@ -6988,9 +7207,9 @@     lens _heWorkflowExecutionFailedEventAttributes         (\s a -> s { _heWorkflowExecutionFailedEventAttributes = a }) --- | If the event is of type 'WorkflowExecutionSignaled' then this member is set--- and provides detailed information about the event. It is not set for other--- event types.+-- | If the event is of type 'WorkflowExecutionSignaled' then this member is set and+-- provides detailed information about the event. It is not set for other event+-- types. heWorkflowExecutionSignaledEventAttributes :: Lens' HistoryEvent (Maybe WorkflowExecutionSignaledEventAttributes) heWorkflowExecutionSignaledEventAttributes =     lens _heWorkflowExecutionSignaledEventAttributes@@ -7012,9 +7231,9 @@     lens _heWorkflowExecutionTerminatedEventAttributes         (\s a -> s { _heWorkflowExecutionTerminatedEventAttributes = a }) --- | If the event is of type 'WorkflowExecutionTimedOut' then this member is set--- and provides detailed information about the event. It is not set for other--- event types.+-- | If the event is of type 'WorkflowExecutionTimedOut' then this member is set and+-- provides detailed information about the event. It is not set for other event+-- types. heWorkflowExecutionTimedOutEventAttributes :: Lens' HistoryEvent (Maybe WorkflowExecutionTimedOutEventAttributes) heWorkflowExecutionTimedOutEventAttributes =     lens _heWorkflowExecutionTimedOutEventAttributes@@ -7150,13 +7369,16 @@  -- | The cause of the failure. This information is generated by the system and can -- be useful for diagnostic purposes.+--+-- If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it+-- lacked sufficient permissions. For details and example IAM policies, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html Using IAM to Manage Access to Amazon SWF Workflows>. canwefeaCause :: Lens' ContinueAsNewWorkflowExecutionFailedEventAttributes ContinueAsNewWorkflowExecutionFailedCause canwefeaCause = lens _canwefeaCause (\s a -> s { _canwefeaCause = a })  -- | The id of the 'DecisionTaskCompleted' event corresponding to the decision task -- that resulted in the 'ContinueAsNewWorkflowExecution' decision that started -- this execution. This information can be useful for diagnosing problems by--- tracing back the cause of events.+-- tracing back the chain of events leading up to this event. canwefeaDecisionTaskCompletedEventId :: Lens' ContinueAsNewWorkflowExecutionFailedEventAttributes Integer canwefeaDecisionTaskCompletedEventId =     lens _canwefeaDecisionTaskCompletedEventId@@ -7211,7 +7433,7 @@     , _seweieaControl                      = Nothing     } --- | Optional data attached to the event that can be used by the decider in+-- | /Optional./ data attached to the event that can be used by the decider in -- subsequent decision tasks. seweieaControl :: Lens' SignalExternalWorkflowExecutionInitiatedEventAttributes (Maybe Text) seweieaControl = lens _seweieaControl (\s a -> s { _seweieaControl = a })@@ -7219,7 +7441,7 @@ -- | The id of the 'DecisionTaskCompleted' event corresponding to the decision task -- that resulted in the 'SignalExternalWorkflowExecution' decision for this -- signal. This information can be useful for diagnosing problems by tracing--- back the cause of events leading up to this event.+-- back the chain of events leading up to this event. seweieaDecisionTaskCompletedEventId :: Lens' SignalExternalWorkflowExecutionInitiatedEventAttributes Integer seweieaDecisionTaskCompletedEventId =     lens _seweieaDecisionTaskCompletedEventId@@ -7278,7 +7500,7 @@     { _ctdaTimerId = p1     } --- | The unique Id of the timer to cancel. This field is required.+-- | Required. The unique Id of the timer to cancel. ctdaTimerId :: Lens' CancelTimerDecisionAttributes Text ctdaTimerId = lens _ctdaTimerId (\s a -> s { _ctdaTimerId = a }) @@ -7318,7 +7540,7 @@ -- | The id of the 'DecisionTaskCompleted' event corresponding to the decision task -- that resulted in the 'FailWorkflowExecution' decision to fail this execution. -- This information can be useful for diagnosing problems by tracing back the--- cause of events.+-- chain of events leading up to this event. wefeaDecisionTaskCompletedEventId :: Lens' WorkflowExecutionFailedEventAttributes Integer wefeaDecisionTaskCompletedEventId =     lens _wefeaDecisionTaskCompletedEventId@@ -7349,6 +7571,7 @@     { _wecChildPolicy                  :: ChildPolicy     , _wecExecutionStartToCloseTimeout :: Text     , _wecTaskList                     :: TaskList+    , _wecTaskPriority                 :: Maybe Text     , _wecTaskStartToCloseTimeout      :: Text     } deriving (Eq, Show) @@ -7362,6 +7585,8 @@ -- -- * 'wecTaskList' @::@ 'TaskList' --+-- * 'wecTaskPriority' @::@ 'Maybe' 'Text'+-- -- * 'wecTaskStartToCloseTimeout' @::@ 'Text' -- workflowExecutionConfiguration :: Text -- ^ 'wecTaskStartToCloseTimeout'@@ -7374,24 +7599,26 @@     , _wecExecutionStartToCloseTimeout = p2     , _wecTaskList                     = p3     , _wecChildPolicy                  = p4+    , _wecTaskPriority                 = Nothing     }  -- | The policy to use for the child workflow executions if this workflow -- execution is terminated, by calling the 'TerminateWorkflowExecution' action--- explicitly or due to an expired timeout. The supported child policies are:+-- explicitly or due to an expired timeout. ----- TERMINATE: the child executions will be terminated.  REQUEST_CANCEL: a+-- The supported child policies are:+--+-- TERMINATE: the child executions will be terminated. REQUEST_CANCEL: a -- request to cancel will be attempted for each child execution by recording a 'WorkflowExecutionCancelRequested' event in its history. It is up to the decider to take appropriate actions--- when it receives an execution history with this event.   ABANDON: no action+-- when it receives an execution history with this event. ABANDON: no action -- will be taken. The child executions will continue to run. wecChildPolicy :: Lens' WorkflowExecutionConfiguration ChildPolicy wecChildPolicy = lens _wecChildPolicy (\s a -> s { _wecChildPolicy = a })  -- | The total duration for this workflow execution. ----- The valid values are integers greater than or equal to '0'. An integer value--- can be used to specify the duration in seconds while 'NONE' can be used to--- specify unlimited duration.+-- The duration is specified in seconds; an integer greater than or equal to 0.+-- The value "NONE" can be used to specify unlimited duration. wecExecutionStartToCloseTimeout :: Lens' WorkflowExecutionConfiguration Text wecExecutionStartToCloseTimeout =     lens _wecExecutionStartToCloseTimeout@@ -7402,11 +7629,18 @@ wecTaskList :: Lens' WorkflowExecutionConfiguration TaskList wecTaskList = lens _wecTaskList (\s a -> s { _wecTaskList = a }) +-- | The priority assigned to decision tasks for this workflow execution. Valid+-- values are integers that range from Java's 'Integer.MIN_VALUE' (-2147483648) to 'Integer.MAX_VALUE' (2147483647). Higher numbers indicate higher priority.+--+-- For more information about setting task priority, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html Setting Task Priority>+-- in the /Amazon Simple Workflow Developer Guide/.+wecTaskPriority :: Lens' WorkflowExecutionConfiguration (Maybe Text)+wecTaskPriority = lens _wecTaskPriority (\s a -> s { _wecTaskPriority = a })+ -- | The maximum duration allowed for decision tasks for this workflow execution. ----- The valid values are integers greater than or equal to '0'. An integer value--- can be used to specify the duration in seconds while 'NONE' can be used to--- specify unlimited duration.+-- The duration is specified in seconds; an integer greater than or equal to 0.+-- The value "NONE" can be used to specify unlimited duration. wecTaskStartToCloseTimeout :: Lens' WorkflowExecutionConfiguration Text wecTaskStartToCloseTimeout =     lens _wecTaskStartToCloseTimeout@@ -7417,6 +7651,7 @@         <$> o .:  "childPolicy"         <*> o .:  "executionStartToCloseTimeout"         <*> o .:  "taskList"+        <*> o .:? "taskPriority"         <*> o .:  "taskStartToCloseTimeout"  instance ToJSON WorkflowExecutionConfiguration where@@ -7424,6 +7659,7 @@         [ "taskStartToCloseTimeout"      .= _wecTaskStartToCloseTimeout         , "executionStartToCloseTimeout" .= _wecExecutionStartToCloseTimeout         , "taskList"                     .= _wecTaskList+        , "taskPriority"                 .= _wecTaskPriority         , "childPolicy"                  .= _wecChildPolicy         ] @@ -7448,7 +7684,7 @@     , _weRunId      = p2     } --- | A system generated unique identifier for the workflow execution.+-- | A system-generated unique identifier for the workflow execution. weRunId :: Lens' WorkflowExecution Text weRunId = lens _weRunId (\s a -> s { _weRunId = a }) @@ -7505,6 +7741,7 @@     , _canwedaInput                        :: Maybe Text     , _canwedaTagList                      :: List "tagList" Text     , _canwedaTaskList                     :: Maybe TaskList+    , _canwedaTaskPriority                 :: Maybe Text     , _canwedaTaskStartToCloseTimeout      :: Maybe Text     , _canwedaWorkflowTypeVersion          :: Maybe Text     } deriving (Eq, Show)@@ -7523,6 +7760,8 @@ -- -- * 'canwedaTaskList' @::@ 'Maybe' 'TaskList' --+-- * 'canwedaTaskPriority' @::@ 'Maybe' 'Text'+-- -- * 'canwedaTaskStartToCloseTimeout' @::@ 'Maybe' 'Text' -- -- * 'canwedaWorkflowTypeVersion' @::@ 'Maybe' 'Text'@@ -7532,6 +7771,7 @@     { _canwedaInput                        = Nothing     , _canwedaExecutionStartToCloseTimeout = Nothing     , _canwedaTaskList                     = Nothing+    , _canwedaTaskPriority                 = Nothing     , _canwedaTaskStartToCloseTimeout      = Nothing     , _canwedaChildPolicy                  = Nothing     , _canwedaTagList                      = mempty@@ -7541,12 +7781,18 @@ -- | If set, specifies the policy to use for the child workflow executions of the -- new execution if it is terminated by calling the 'TerminateWorkflowExecution' -- action explicitly or due to an expired timeout. This policy overrides the--- default child policy specified when registering the workflow type using 'RegisterWorkflowType'. The supported child policies are:+-- default child policy specified when registering the workflow type using 'RegisterWorkflowType'. ----- TERMINATE: the child executions will be terminated.  REQUEST_CANCEL: a+-- The supported child policies are:+--+-- TERMINATE: the child executions will be terminated. REQUEST_CANCEL: a -- request to cancel will be attempted for each child execution by recording a 'WorkflowExecutionCancelRequested' event in its history. It is up to the decider to take appropriate actions--- when it receives an execution history with this event.   ABANDON: no action--- will be taken. The child executions will continue to run.+-- when it receives an execution history with this event. ABANDON: no action+-- will be taken. The child executions will continue to run.  A child policy for+-- this workflow execution must be specified either as a default for the+-- workflow type or through this parameter. If neither this parameter is set nor+-- a default child policy was specified at registration time then a fault will+-- be returned. canwedaChildPolicy :: Lens' ContinueAsNewWorkflowExecutionDecisionAttributes (Maybe ChildPolicy) canwedaChildPolicy =     lens _canwedaChildPolicy (\s a -> s { _canwedaChildPolicy = a })@@ -7555,9 +7801,13 @@ -- overrides the 'defaultExecutionStartToCloseTimeout' specified when registering -- the workflow type. ----- The valid values are integers greater than or equal to '0'. An integer value--- can be used to specify the duration in seconds while 'NONE' can be used to--- specify unlimited duration.+-- The duration is specified in seconds; an integer greater than or equal to 0.+-- The value "NONE" can be used to specify unlimited duration.+--+-- An execution start-to-close timeout for this workflow execution must be+-- specified either as a default for the workflow type or through this field. If+-- neither this field is set nor a default execution start-to-close timeout was+-- specified at registration time then a fault will be returned. canwedaExecutionStartToCloseTimeout :: Lens' ContinueAsNewWorkflowExecutionDecisionAttributes (Maybe Text) canwedaExecutionStartToCloseTimeout =     lens _canwedaExecutionStartToCloseTimeout@@ -7567,8 +7817,8 @@ canwedaInput :: Lens' ContinueAsNewWorkflowExecutionDecisionAttributes (Maybe Text) canwedaInput = lens _canwedaInput (\s a -> s { _canwedaInput = a }) --- | The list of tags to associate with the new workflow execution. A maximum of--- 5 tags can be specified. You can list workflow executions with a specific tag+-- | The list of tags to associate with the new workflow execution. A maximum of 5+-- tags can be specified. You can list workflow executions with a specific tag -- by calling 'ListOpenWorkflowExecutions' or 'ListClosedWorkflowExecutions' and -- specifying a 'TagFilter'. canwedaTagList :: Lens' ContinueAsNewWorkflowExecutionDecisionAttributes [Text]@@ -7577,13 +7827,28 @@ canwedaTaskList :: Lens' ContinueAsNewWorkflowExecutionDecisionAttributes (Maybe TaskList) canwedaTaskList = lens _canwedaTaskList (\s a -> s { _canwedaTaskList = a }) +-- | /Optional./ The task priority that, if set, specifies the priority for the+-- decision tasks for this workflow execution. This overrides the+-- defaultTaskPriority specified when registering the workflow type. Valid+-- values are integers that range from Java's 'Integer.MIN_VALUE' (-2147483648) to 'Integer.MAX_VALUE' (2147483647). Higher numbers indicate higher priority.+--+-- For more information about setting task priority, see <http://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html Setting Task Priority>+-- in the /Amazon Simple Workflow Developer Guide/.+canwedaTaskPriority :: Lens' ContinueAsNewWorkflowExecutionDecisionAttributes (Maybe Text)+canwedaTaskPriority =+    lens _canwedaTaskPriority (\s a -> s { _canwedaTaskPriority = a })+ -- | Specifies the maximum duration of decision tasks for the new workflow -- execution. This parameter overrides the 'defaultTaskStartToCloseTimout' -- specified when registering the workflow type using 'RegisterWorkflowType'. ----- The valid values are integers greater than or equal to '0'. An integer value--- can be used to specify the duration in seconds while 'NONE' can be used to--- specify unlimited duration.+-- The duration is specified in seconds; an integer greater than or equal to 0.+-- The value "NONE" can be used to specify unlimited duration.+--+-- A task start-to-close timeout for the new workflow execution must be+-- specified either as a default for the workflow type or through this+-- parameter. If neither this parameter is set nor a default task start-to-close+-- timeout was specified at registration time then a fault will be returned. canwedaTaskStartToCloseTimeout :: Lens' ContinueAsNewWorkflowExecutionDecisionAttributes (Maybe Text) canwedaTaskStartToCloseTimeout =     lens _canwedaTaskStartToCloseTimeout@@ -7601,6 +7866,7 @@         <*> o .:? "input"         <*> o .:? "tagList" .!= mempty         <*> o .:? "taskList"+        <*> o .:? "taskPriority"         <*> o .:? "taskStartToCloseTimeout"         <*> o .:? "workflowTypeVersion" @@ -7609,6 +7875,7 @@         [ "input"                        .= _canwedaInput         , "executionStartToCloseTimeout" .= _canwedaExecutionStartToCloseTimeout         , "taskList"                     .= _canwedaTaskList+        , "taskPriority"                 .= _canwedaTaskPriority         , "taskStartToCloseTimeout"      .= _canwedaTaskStartToCloseTimeout         , "childPolicy"                  .= _canwedaChildPolicy         , "tagList"                      .= _canwedaTagList@@ -7711,6 +7978,7 @@     , _wecaneaNewExecutionRunId            :: Text     , _wecaneaTagList                      :: List "tagList" Text     , _wecaneaTaskList                     :: TaskList+    , _wecaneaTaskPriority                 :: Maybe Text     , _wecaneaTaskStartToCloseTimeout      :: Maybe Text     , _wecaneaWorkflowType                 :: WorkflowType     } deriving (Eq, Show)@@ -7733,6 +8001,8 @@ -- -- * 'wecaneaTaskList' @::@ 'TaskList' --+-- * 'wecaneaTaskPriority' @::@ 'Maybe' 'Text'+-- -- * 'wecaneaTaskStartToCloseTimeout' @::@ 'Maybe' 'Text' -- -- * 'wecaneaWorkflowType' @::@ 'WorkflowType'@@ -7751,6 +8021,7 @@     , _wecaneaWorkflowType                 = p5     , _wecaneaInput                        = Nothing     , _wecaneaExecutionStartToCloseTimeout = Nothing+    , _wecaneaTaskPriority                 = Nothing     , _wecaneaTaskStartToCloseTimeout      = Nothing     , _wecaneaTagList                      = mempty     }@@ -7761,9 +8032,9 @@ -- -- The supported child policies are: ----- TERMINATE: the child executions will be terminated.  REQUEST_CANCEL: a+-- TERMINATE: the child executions will be terminated. REQUEST_CANCEL: a -- request to cancel will be attempted for each child execution by recording a 'WorkflowExecutionCancelRequested' event in its history. It is up to the decider to take appropriate actions--- when it receives an execution history with this event.   ABANDON: no action+-- when it receives an execution history with this event. ABANDON: no action -- will be taken. The child executions will continue to run. wecaneaChildPolicy :: Lens' WorkflowExecutionContinuedAsNewEventAttributes ChildPolicy wecaneaChildPolicy =@@ -7772,7 +8043,7 @@ -- | The id of the 'DecisionTaskCompleted' event corresponding to the decision task -- that resulted in the 'ContinueAsNewWorkflowExecution' decision that started -- this execution. This information can be useful for diagnosing problems by--- tracing back the cause of events.+-- tracing back the chain of events leading up to this event. wecaneaDecisionTaskCompletedEventId :: Lens' WorkflowExecutionContinuedAsNewEventAttributes Integer wecaneaDecisionTaskCompletedEventId =     lens _wecaneaDecisionTaskCompletedEventId@@ -7780,9 +8051,8 @@  -- | The total duration allowed for the new workflow execution. ----- The valid values are integers greater than or equal to '0'. An integer value--- can be used to specify the duration in seconds while 'NONE' can be used to--- specify unlimited duration.+-- The duration is specified in seconds; an integer greater than or equal to 0.+-- The value "NONE" can be used to specify unlimited duration. wecaneaExecutionStartToCloseTimeout :: Lens' WorkflowExecutionContinuedAsNewEventAttributes (Maybe Text) wecaneaExecutionStartToCloseTimeout =     lens _wecaneaExecutionStartToCloseTimeout@@ -7805,11 +8075,14 @@ wecaneaTaskList :: Lens' WorkflowExecutionContinuedAsNewEventAttributes TaskList wecaneaTaskList = lens _wecaneaTaskList (\s a -> s { _wecaneaTaskList = a }) +wecaneaTaskPriority :: Lens' WorkflowExecutionContinuedAsNewEventAttributes (Maybe Text)+wecaneaTaskPriority =+    lens _wecaneaTaskPriority (\s a -> s { _wecaneaTaskPriority = a })+ -- | The maximum duration of decision tasks for the new workflow execution. ----- The valid values are integers greater than or equal to '0'. An integer value--- can be used to specify the duration in seconds while 'NONE' can be used to--- specify unlimited duration.+-- The duration is specified in seconds; an integer greater than or equal to 0.+-- The value "NONE" can be used to specify unlimited duration. wecaneaTaskStartToCloseTimeout :: Lens' WorkflowExecutionContinuedAsNewEventAttributes (Maybe Text) wecaneaTaskStartToCloseTimeout =     lens _wecaneaTaskStartToCloseTimeout@@ -7828,6 +8101,7 @@         <*> o .:  "newExecutionRunId"         <*> o .:? "tagList" .!= mempty         <*> o .:  "taskList"+        <*> o .:? "taskPriority"         <*> o .:? "taskStartToCloseTimeout"         <*> o .:  "workflowType" @@ -7838,6 +8112,7 @@         , "newExecutionRunId"            .= _wecaneaNewExecutionRunId         , "executionStartToCloseTimeout" .= _wecaneaExecutionStartToCloseTimeout         , "taskList"                     .= _wecaneaTaskList+        , "taskPriority"                 .= _wecaneaTaskPriority         , "taskStartToCloseTimeout"      .= _wecaneaTaskStartToCloseTimeout         , "childPolicy"                  .= _wecaneaChildPolicy         , "tagList"                      .= _wecaneaTagList