{ "smithy": "1.0", "metadata": { "suppressions": [ { "id": "HttpMethodSemantics", "namespace": "*" }, { "id": "HttpResponseCodeSemantics", "namespace": "*" }, { "id": "PaginatedTrait", "namespace": "*" }, { "id": "HttpHeaderTrait", "namespace": "*" }, { "id": "HttpUriConflict", "namespace": "*" }, { "id": "Service", "namespace": "*" } ] }, "shapes": { "com.amazonaws.swf#ActivityId": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 256 } } }, "com.amazonaws.swf#ActivityTask": { "type": "structure", "members": { "taskToken": { "target": "com.amazonaws.swf#TaskToken", "traits": { "smithy.api#documentation": "
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.
", "smithy.api#required": {} } }, "activityId": { "target": "com.amazonaws.swf#ActivityId", "traits": { "smithy.api#documentation": "The unique ID of the task.
", "smithy.api#required": {} } }, "startedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "The ID of the ActivityTaskStarted
event recorded in the history.
The workflow execution that started this activity task.
", "smithy.api#required": {} } }, "activityType": { "target": "com.amazonaws.swf#ActivityType", "traits": { "smithy.api#documentation": "The type of this activity task.
", "smithy.api#required": {} } }, "input": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "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.
" } } }, "traits": { "smithy.api#documentation": "Unit of work sent to an activity worker.
" } }, "com.amazonaws.swf#ActivityTaskCancelRequestedEventAttributes": { "type": "structure", "members": { "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "The ID of the DecisionTaskCompleted
event corresponding to the decision task that resulted in the\n RequestCancelActivityTask
decision for this cancellation request. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
The unique ID of the task.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Provides the details of the ActivityTaskCancelRequested
event.
Details of the cancellation.
" } }, "scheduledEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "The ID of the ActivityTaskScheduled
event that was recorded when this activity task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
The ID of the ActivityTaskStarted
event recorded when this activity task was started. This\n information can be useful for diagnosing problems by tracing back the chain of events leading up to this\n event.
If set, contains the ID of the last ActivityTaskCancelRequested
event recorded for this activity task. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
Provides the details of the ActivityTaskCanceled
event.
The results of the activity task.
" } }, "scheduledEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "The ID of the ActivityTaskScheduled
event that was recorded when this activity task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
The ID of the ActivityTaskStarted
event recorded when this activity task was started. This\n information can be useful for diagnosing problems by tracing back the chain of events leading up to this\n event.
Provides the details of the ActivityTaskCompleted
event.
The reason provided for the failure.
" } }, "details": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "The details of the failure.
" } }, "scheduledEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "The ID of the ActivityTaskScheduled
event that was recorded when this activity task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
The ID of the ActivityTaskStarted
event recorded when this activity task was started. This\n information can be useful for diagnosing problems by tracing back the chain of events leading up to this\n event.
Provides the details of the ActivityTaskFailed
event.
The type of the activity task.
", "smithy.api#required": {} } }, "activityId": { "target": "com.amazonaws.swf#ActivityId", "traits": { "smithy.api#documentation": "The unique ID of the activity task.
", "smithy.api#required": {} } }, "input": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "The input provided to the activity task.
" } }, "control": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "Data attached to the event that can be used by the decider in subsequent workflow tasks. This data isn't sent to the activity.
" } }, "scheduleToStartTimeout": { "target": "com.amazonaws.swf#DurationInSecondsOptional", "traits": { "smithy.api#documentation": "The maximum amount of time the activity task can wait to be assigned to a worker.
" } }, "scheduleToCloseTimeout": { "target": "com.amazonaws.swf#DurationInSecondsOptional", "traits": { "smithy.api#documentation": "The maximum amount of time for this activity task.
" } }, "startToCloseTimeout": { "target": "com.amazonaws.swf#DurationInSecondsOptional", "traits": { "smithy.api#documentation": "The maximum amount of time a worker may take to process the activity task.
" } }, "taskList": { "target": "com.amazonaws.swf#TaskList", "traits": { "smithy.api#documentation": "The task list in which the activity task has been scheduled.
", "smithy.api#required": {} } }, "taskPriority": { "target": "com.amazonaws.swf#TaskPriority", "traits": { "smithy.api#documentation": "\n The priority to assign to the scheduled activity task. If set, this overrides any default\n priority value that was assigned when the activity type was registered.
\nValid values are integers that range from Java's Integer.MIN_VALUE
\n (-2147483648) to Integer.MAX_VALUE
(2147483647). Higher numbers indicate higher priority.
For more information about setting task priority, see Setting Task Priority in the Amazon SWF Developer Guide.
" } }, "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "The ID of the DecisionTaskCompleted
event corresponding to the decision that resulted in the scheduling of this activity task. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
The maximum time before which the worker processing this task must report progress by calling\n RecordActivityTaskHeartbeat. If the timeout is exceeded, the activity task is automatically timed out. If\n the worker subsequently attempts to record a heartbeat or return a result, it is ignored.
" } } }, "traits": { "smithy.api#documentation": "Provides the details of the ActivityTaskScheduled
event.
Identity of the worker that was assigned this task. This aids diagnostics when problems arise. The form of this identity is user defined.
" } }, "scheduledEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "The ID of the ActivityTaskScheduled
event that was recorded when this activity task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
Provides the details of the ActivityTaskStarted
event.
Set to true
if cancellation of the task is requested.
Status information about an activity task.
" } }, "com.amazonaws.swf#ActivityTaskTimedOutEventAttributes": { "type": "structure", "members": { "timeoutType": { "target": "com.amazonaws.swf#ActivityTaskTimeoutType", "traits": { "smithy.api#documentation": "The type of the timeout that caused this event.
", "smithy.api#required": {} } }, "scheduledEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "The ID of the ActivityTaskScheduled
event that was recorded when this activity task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
The ID of the ActivityTaskStarted
event recorded when this activity task was started. This\n information can be useful for diagnosing problems by tracing back the chain of events leading up to this\n event.
Contains the content of the details
parameter for the last call made by the activity to\n RecordActivityTaskHeartbeat
.
Provides the details of the ActivityTaskTimedOut
event.
The name of this activity.
\nThe combination of activity type name and version must be unique within a domain.
\nThe version of this activity.
\nThe combination of activity type name and version must be unique with in a domain.
\nRepresents an activity type.
" } }, "com.amazonaws.swf#ActivityTypeConfiguration": { "type": "structure", "members": { "defaultTaskStartToCloseTimeout": { "target": "com.amazonaws.swf#DurationInSecondsOptional", "traits": { "smithy.api#documentation": "\n The default maximum duration for tasks of an activity type specified when registering the activity\n type. You can override this default when scheduling a task through the ScheduleActivityTask
\n Decision.
The duration is specified in seconds, an integer greater than or equal to 0
. You can use NONE
to specify unlimited duration.
\n The default maximum time, in seconds, before which a worker processing a task must report\n progress by calling RecordActivityTaskHeartbeat.
\nYou can specify this value only when registering an activity type. The registered default value can be\n overridden when you schedule a task through the ScheduleActivityTask
\n Decision. If the activity\n worker subsequently attempts to record a heartbeat or returns a result, the activity worker receives an\n UnknownResource
fault. In this case, Amazon SWF no longer considers the activity task to be valid;\n the activity worker should clean up the activity task.
The duration is specified in seconds, an integer greater than or equal to 0
. You can use NONE
to specify unlimited duration.
\n The default task list specified for this activity type at registration. This default is used if\n a task list isn't provided when a task is scheduled through the ScheduleActivityTask
\n Decision. You can override the default registered task list when scheduling a task through the\n ScheduleActivityTask
\n Decision.
\n The default task priority for tasks of this activity type, specified at registration. If not\n set, then 0
is used as the default priority. This default can be overridden when scheduling an activity\n task.
Valid values are integers that range from Java's Integer.MIN_VALUE
\n (-2147483648) to Integer.MAX_VALUE
(2147483647). Higher numbers indicate higher priority.
For more information about setting task priority, see Setting Task Priority in the Amazon SWF Developer Guide.
" } }, "defaultTaskScheduleToStartTimeout": { "target": "com.amazonaws.swf#DurationInSecondsOptional", "traits": { "smithy.api#documentation": "\n The default maximum duration, specified when registering the activity type, that a task of an\n activity type can wait before being assigned to a worker. You can override this default when scheduling a task\n through the ScheduleActivityTask
\n Decision.
The duration is specified in seconds, an integer greater than or equal to 0
. You can use NONE
to specify unlimited duration.
\n The default maximum duration, specified when registering the activity type, for tasks of this activity\n type. You can override this default when scheduling a task through the ScheduleActivityTask
\n Decision.
The duration is specified in seconds, an integer greater than or equal to 0
. You can use NONE
to specify unlimited duration.
Configuration settings registered with the activity type.
" } }, "com.amazonaws.swf#ActivityTypeDetail": { "type": "structure", "members": { "typeInfo": { "target": "com.amazonaws.swf#ActivityTypeInfo", "traits": { "smithy.api#documentation": "General information about the activity type.
\nThe status of activity type (returned in the ActivityTypeInfo structure) can be one of the following.
\n\n REGISTERED
– The type is registered and available. Workers supporting this\n type should be running.\n
\n DEPRECATED
– The type was deprecated using DeprecateActivityType, but is\n still in use. You should keep workers supporting this type running.\n You cannot create new tasks of this type.\n
The configuration settings registered with the activity type.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Detailed information about an activity type.
" } }, "com.amazonaws.swf#ActivityTypeInfo": { "type": "structure", "members": { "activityType": { "target": "com.amazonaws.swf#ActivityType", "traits": { "smithy.api#documentation": "The ActivityType type structure representing the activity type.
", "smithy.api#required": {} } }, "status": { "target": "com.amazonaws.swf#RegistrationStatus", "traits": { "smithy.api#documentation": "The current status of the activity type.
", "smithy.api#required": {} } }, "description": { "target": "com.amazonaws.swf#Description", "traits": { "smithy.api#documentation": "The description of the activity type provided in RegisterActivityType.
" } }, "creationDate": { "target": "com.amazonaws.swf#Timestamp", "traits": { "smithy.api#documentation": "The date and time this activity type was created through RegisterActivityType.
", "smithy.api#required": {} } }, "deprecationDate": { "target": "com.amazonaws.swf#Timestamp", "traits": { "smithy.api#documentation": "If DEPRECATED, the date and time DeprecateActivityType was called.
" } } }, "traits": { "smithy.api#documentation": "Detailed information about an activity type.
" } }, "com.amazonaws.swf#ActivityTypeInfoList": { "type": "list", "member": { "target": "com.amazonaws.swf#ActivityTypeInfo" } }, "com.amazonaws.swf#ActivityTypeInfos": { "type": "structure", "members": { "typeInfos": { "target": "com.amazonaws.swf#ActivityTypeInfoList", "traits": { "smithy.api#documentation": "List of activity type information.
", "smithy.api#required": {} } }, "nextPageToken": { "target": "com.amazonaws.swf#PageToken", "traits": { "smithy.api#documentation": "If a NextPageToken
was returned by a previous call, there are more\n results available. To retrieve the next page of results, make the call again using the returned token in\n nextPageToken
. Keep all other arguments unchanged.
The configured maximumPageSize
determines how many results can be returned in a single call.
Contains a paginated list of activity type information structures.
" } }, "com.amazonaws.swf#Arn": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 1600 } } }, "com.amazonaws.swf#CancelTimerDecisionAttributes": { "type": "structure", "members": { "timerId": { "target": "com.amazonaws.swf#TimerId", "traits": { "smithy.api#documentation": "\n The unique ID of the timer to cancel.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Provides the details of the CancelTimer
decision.
\n Access Control\n
\nYou can use IAM policies to control this decision's access to Amazon SWF resources as follows:
\nUse a Resource
element with the domain name to limit the action to only\n specified domains.
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.
\nIf the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated event attribute's\n cause
parameter is set to OPERATION_NOT_PERMITTED
. For details and example IAM policies, see\n Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.
The timerId provided in the CancelTimer
decision that failed.
The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.
\nIf cause
is set to OPERATION_NOT_PERMITTED
, the decision failed\n because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows\n in the Amazon SWF Developer Guide.
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 chain of events leading up to this event.
Provides the details of the CancelTimerFailed
event.
\n Details of the cancellation.
" } } }, "traits": { "smithy.api#documentation": "Provides the details of the CancelWorkflowExecution
decision.
\n Access Control\n
\nYou can use IAM policies to control this decision's access to Amazon SWF resources as follows:
\nUse a Resource
element with the domain name to limit the action to only\n specified domains.
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.
\nIf the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated event attribute's\n cause
parameter is set to OPERATION_NOT_PERMITTED
. For details and example IAM policies, see\n Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.
The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.
\nIf cause
is set to OPERATION_NOT_PERMITTED
, the decision failed\n because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows\n in the Amazon SWF Developer Guide.
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 chain of events leading up to this event.
Provides the details of the CancelWorkflowExecutionFailed
event.
The child workflow execution that was canceled.
", "smithy.api#required": {} } }, "workflowType": { "target": "com.amazonaws.swf#WorkflowType", "traits": { "smithy.api#documentation": "The type of the child workflow execution.
", "smithy.api#required": {} } }, "details": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "Details of the cancellation (if provided).
" } }, "initiatedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "The ID of the StartChildWorkflowExecutionInitiated
event corresponding to the\n StartChildWorkflowExecution
\n Decision to start this child workflow execution.\n This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.
The ID of the ChildWorkflowExecutionStarted
event recorded when this child workflow execution was\n started. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.
Provide details of the ChildWorkflowExecutionCanceled
event.
The child workflow execution that was completed.
", "smithy.api#required": {} } }, "workflowType": { "target": "com.amazonaws.swf#WorkflowType", "traits": { "smithy.api#documentation": "The type of the child workflow execution.
", "smithy.api#required": {} } }, "result": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "The result of the child workflow execution.
" } }, "initiatedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "The ID of the StartChildWorkflowExecutionInitiated
event corresponding to the StartChildWorkflowExecution
\n 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 ChildWorkflowExecutionStarted
event recorded when this child workflow execution was\n started. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.
Provides the details of the ChildWorkflowExecutionCompleted
event.
The child workflow execution that failed.
", "smithy.api#required": {} } }, "workflowType": { "target": "com.amazonaws.swf#WorkflowType", "traits": { "smithy.api#documentation": "The type of the child workflow execution.
", "smithy.api#required": {} } }, "reason": { "target": "com.amazonaws.swf#FailureReason", "traits": { "smithy.api#documentation": "The reason for the failure (if provided).
" } }, "details": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "The details of the failure (if provided).
" } }, "initiatedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "The ID of the StartChildWorkflowExecutionInitiated
event corresponding to the\n StartChildWorkflowExecution
\n Decision to start this child workflow execution.\n This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.
The ID of the ChildWorkflowExecutionStarted
event recorded when this child workflow execution was\n started. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.
Provides the details of the ChildWorkflowExecutionFailed
event.
The child workflow execution that was started.
", "smithy.api#required": {} } }, "workflowType": { "target": "com.amazonaws.swf#WorkflowType", "traits": { "smithy.api#documentation": "The type of the child workflow execution.
", "smithy.api#required": {} } }, "initiatedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "The ID of the StartChildWorkflowExecutionInitiated
event corresponding to the\n StartChildWorkflowExecution
\n Decision to start this child workflow execution.\n This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.
Provides the details of the ChildWorkflowExecutionStarted
event.
The child workflow execution that was terminated.
", "smithy.api#required": {} } }, "workflowType": { "target": "com.amazonaws.swf#WorkflowType", "traits": { "smithy.api#documentation": "The type of the child workflow execution.
", "smithy.api#required": {} } }, "initiatedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "The ID of the StartChildWorkflowExecutionInitiated
event corresponding to the\n StartChildWorkflowExecution
\n Decision to start this child workflow execution.\n This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.
The ID of the ChildWorkflowExecutionStarted
event recorded when this child workflow execution was\n started. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.
Provides the details of the ChildWorkflowExecutionTerminated
event.
The child workflow execution that timed out.
", "smithy.api#required": {} } }, "workflowType": { "target": "com.amazonaws.swf#WorkflowType", "traits": { "smithy.api#documentation": "The type of the child workflow execution.
", "smithy.api#required": {} } }, "timeoutType": { "target": "com.amazonaws.swf#WorkflowExecutionTimeoutType", "traits": { "smithy.api#documentation": "The type of the timeout that caused the child workflow execution to time out.
", "smithy.api#required": {} } }, "initiatedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "The ID of the StartChildWorkflowExecutionInitiated
event corresponding to the\n StartChildWorkflowExecution
\n Decision to start this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.
The ID of the ChildWorkflowExecutionStarted
event recorded when this child workflow execution was\n started. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.
Provides the details of the ChildWorkflowExecutionTimedOut
event.
\n The close status that must match the close status of an execution for it to meet the criteria of\n this filter.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Used to filter the closed workflow executions in visibility APIs by their close status.
" } }, "com.amazonaws.swf#CompleteWorkflowExecutionDecisionAttributes": { "type": "structure", "members": { "result": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "The result of the workflow execution. The form of the result is implementation defined.
" } } }, "traits": { "smithy.api#documentation": "Provides the details of the CompleteWorkflowExecution
decision.
\n Access Control\n
\nYou can use IAM policies to control this decision's access to Amazon SWF resources as follows:
\nUse a Resource
element with the domain name to limit the action to only\n specified domains.
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.
\nIf the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated event attribute's\n cause
parameter is set to OPERATION_NOT_PERMITTED
. For details and example IAM policies, see\n Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.
The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.
\nIf cause
is set to OPERATION_NOT_PERMITTED
, the decision failed\n because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows\n in the Amazon SWF Developer Guide.
The ID of the DecisionTaskCompleted
event corresponding to the decision task that resulted in the\n CompleteWorkflowExecution
decision to complete this execution. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.
Provides the details of the CompleteWorkflowExecutionFailed
event.
The input provided to the new workflow execution.
" } }, "executionStartToCloseTimeout": { "target": "com.amazonaws.swf#DurationInSecondsOptional", "traits": { "smithy.api#documentation": "If set, specifies the total duration for this workflow execution. This overrides the\n defaultExecutionStartToCloseTimeout
specified when registering the workflow type.
The duration is specified in seconds, an integer greater than or equal to 0
. You can use NONE
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 is returned.
\nThe task list to use for the decisions of the new (continued) workflow\n execution.
" } }, "taskPriority": { "target": "com.amazonaws.swf#TaskPriority", "traits": { "smithy.api#documentation": "\n The task priority that, if set, specifies the priority for the decision tasks for this workflow\n execution. This overrides the defaultTaskPriority specified when registering the workflow type.\n Valid values are integers that range from Java's Integer.MIN_VALUE
\n (-2147483648) to Integer.MAX_VALUE
(2147483647). Higher numbers indicate higher priority.
For more information about setting task priority, see Setting Task Priority in the Amazon SWF Developer Guide.
" } }, "taskStartToCloseTimeout": { "target": "com.amazonaws.swf#DurationInSecondsOptional", "traits": { "smithy.api#documentation": "Specifies the maximum duration of decision tasks for the new workflow execution. This parameter overrides the\n defaultTaskStartToCloseTimout
specified when registering the workflow type using\n RegisterWorkflowType.
The duration is specified in seconds, an integer greater than or equal to 0
. You can use NONE
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 is returned.
\nIf set, specifies the policy to use for the child workflow executions of the new execution if it is terminated\n by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout. This policy\n overrides the default child policy specified when registering the workflow type using\n RegisterWorkflowType.
\nThe supported child policies are:
\n\n TERMINATE
– The child executions are terminated.
\n REQUEST_CANCEL
– A request to cancel is attempted for each child\n execution by recording a WorkflowExecutionCancelRequested
event in its history. It is up to the decider\n to take appropriate actions when it receives an execution history with this event.
\n ABANDON
– No action is taken. The child executions 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 is returned.
\nThe list of tags to associate with the new workflow execution. A maximum of 5 tags can be specified. You can\n list workflow executions with a specific tag by calling ListOpenWorkflowExecutions or\n ListClosedWorkflowExecutions and specifying a TagFilter.
" } }, "workflowTypeVersion": { "target": "com.amazonaws.swf#Version", "traits": { "smithy.api#documentation": "The version of the workflow to start.
" } }, "lambdaRole": { "target": "com.amazonaws.swf#Arn", "traits": { "smithy.api#documentation": "The IAM role to attach to the new (continued) execution.
" } } }, "traits": { "smithy.api#documentation": "Provides the details of the ContinueAsNewWorkflowExecution
decision.
\n Access Control\n
\nYou can use IAM policies to control this decision's access to Amazon SWF resources as follows:
\nUse a Resource
element with the domain name to limit the action to only\n 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\n appropriate keys.
\n tag
– A tag used to identify the workflow execution
\n taskList
– String constraint. The key is swf:taskList.name
.
\n workflowType.version
– String constraint. The key is swf:workflowType.version
.
If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated event attribute's\n cause
parameter is set to OPERATION_NOT_PERMITTED
. For details and example IAM policies, see\n Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.
The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.
\nIf cause
is set to OPERATION_NOT_PERMITTED
, the decision failed\n because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows\n in the Amazon SWF Developer Guide.
The ID of the DecisionTaskCompleted
event corresponding to the decision task that resulted in the\n ContinueAsNewWorkflowExecution
decision that started this execution. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.
Provides the details of the ContinueAsNewWorkflowExecutionFailed
event.
Returns the number of closed workflow executions within the given domain that meet the\n specified filtering criteria.
\nThis operation is eventually consistent. The results are best effort and may not\n exactly reflect recent updates and changes.
\n\n Access Control\n
\nYou can use IAM policies to control this action's access to Amazon SWF resources as\n follows:
\nUse a Resource
element with the domain name to limit the action to\n only specified domains.
Use an Action
element to allow or deny permission to call this\n action.
Constrain the following parameters by using a Condition
element with\n the appropriate keys.
\n tagFilter.tag
: String constraint. The key is\n swf:tagFilter.tag
.
\n typeFilter.name
: String constraint. The key is\n swf:typeFilter.name
.
\n typeFilter.version
: String constraint. The key is\n swf:typeFilter.version
.
If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause
parameter is set to OPERATION_NOT_PERMITTED
.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.
The name of the domain containing the workflow executions to count.
", "smithy.api#required": {} } }, "startTimeFilter": { "target": "com.amazonaws.swf#ExecutionTimeFilter", "traits": { "smithy.api#documentation": "If specified, only workflow executions that meet the start time criteria of the filter\n are counted.
\n\n startTimeFilter
and closeTimeFilter
are mutually exclusive. You\n must specify one of these in a request but not both.
If specified, only workflow executions that meet the close time criteria of the filter\n are counted.
\n\n startTimeFilter
and closeTimeFilter
are mutually exclusive. You\n must specify one of these in a request but not both.
If specified, only workflow executions matching the WorkflowId
in the\n filter are counted.
\n closeStatusFilter
, executionFilter
, typeFilter
and\n tagFilter
are mutually exclusive. You can specify at most one of these in a\n request.
If specified, indicates the type of the workflow executions to be counted.
\n\n closeStatusFilter
, executionFilter
, typeFilter
and\n tagFilter
are mutually exclusive. You can specify at most one of these in a\n request.
If specified, only executions that have a tag that matches the filter are\n counted.
\n\n closeStatusFilter
, executionFilter
, typeFilter
and\n tagFilter
are mutually exclusive. You can specify at most one of these in a\n request.
If specified, only workflow executions that match this close status are counted. This\n filter has an affect only if executionStatus
is specified as\n CLOSED
.
\n closeStatusFilter
, executionFilter
, typeFilter
and\n tagFilter
are mutually exclusive. You can specify at most one of these in a\n request.
Returns the number of open workflow executions within the given domain that meet the\n specified filtering criteria.
\nThis operation is eventually consistent. The results are best effort and may not\n exactly reflect recent updates and changes.
\n\n Access Control\n
\nYou can use IAM policies to control this action's access to Amazon SWF resources as\n follows:
\nUse a Resource
element with the domain name to limit the action to\n only specified domains.
Use an Action
element to allow or deny permission to call this\n action.
Constrain the following parameters by using a Condition
element with\n the appropriate keys.
\n tagFilter.tag
: String constraint. The key is\n swf:tagFilter.tag
.
\n typeFilter.name
: String constraint. The key is\n swf:typeFilter.name
.
\n typeFilter.version
: String constraint. The key is\n swf:typeFilter.version
.
If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause
parameter is set to OPERATION_NOT_PERMITTED
.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.
The name of the domain containing the workflow executions to count.
", "smithy.api#required": {} } }, "startTimeFilter": { "target": "com.amazonaws.swf#ExecutionTimeFilter", "traits": { "smithy.api#documentation": "Specifies the start time criteria that workflow executions must meet in order to be\n counted.
", "smithy.api#required": {} } }, "typeFilter": { "target": "com.amazonaws.swf#WorkflowTypeFilter", "traits": { "smithy.api#documentation": "Specifies the type of the workflow executions to be counted.
\n\n executionFilter
, typeFilter
and tagFilter
are\n mutually exclusive. You can specify at most one of these in a request.
If specified, only executions that have a tag that matches the filter are\n counted.
\n\n executionFilter
, typeFilter
and tagFilter
are\n mutually exclusive. You can specify at most one of these in a request.
If specified, only workflow executions matching the WorkflowId
in the\n filter are counted.
\n executionFilter
, typeFilter
and tagFilter
are\n mutually exclusive. You can specify at most one of these in a request.
Returns the estimated number of activity tasks in the specified task list. The count\n returned is an approximation and isn't guaranteed to be exact. If you specify a task list that\n no activity task was ever scheduled in then 0
is returned.
\n Access Control\n
\nYou can use IAM policies to control this action's access to Amazon SWF resources as\n follows:
\nUse a Resource
element with the domain name to limit the action to\n only specified domains.
Use an Action
element to allow or deny permission to call this\n action.
Constrain the taskList.name
parameter by using a\n Condition
element with the swf:taskList.name
key to allow the\n action to access only certain task lists.
If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause
parameter is set to OPERATION_NOT_PERMITTED
.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.
The name of the domain that contains the task list.
", "smithy.api#required": {} } }, "taskList": { "target": "com.amazonaws.swf#TaskList", "traits": { "smithy.api#documentation": "The name of the task list.
", "smithy.api#required": {} } } } }, "com.amazonaws.swf#CountPendingDecisionTasks": { "type": "operation", "input": { "target": "com.amazonaws.swf#CountPendingDecisionTasksInput" }, "output": { "target": "com.amazonaws.swf#PendingTaskCount" }, "errors": [ { "target": "com.amazonaws.swf#OperationNotPermittedFault" }, { "target": "com.amazonaws.swf#UnknownResourceFault" } ], "traits": { "smithy.api#documentation": "Returns the estimated number of decision tasks in the specified task list. The count\n returned is an approximation and isn't guaranteed to be exact. If you specify a task list that\n no decision task was ever scheduled in then 0
is returned.
\n Access Control\n
\nYou can use IAM policies to control this action's access to Amazon SWF resources as\n follows:
\nUse a Resource
element with the domain name to limit the action to\n only specified domains.
Use an Action
element to allow or deny permission to call this\n action.
Constrain the taskList.name
parameter by using a\n Condition
element with the swf:taskList.name
key to allow the\n action to access only certain task lists.
If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause
parameter is set to OPERATION_NOT_PERMITTED
.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.
The name of the domain that contains the task list.
", "smithy.api#required": {} } }, "taskList": { "target": "com.amazonaws.swf#TaskList", "traits": { "smithy.api#documentation": "The name of the task list.
", "smithy.api#required": {} } } } }, "com.amazonaws.swf#Data": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 32768 } } }, "com.amazonaws.swf#Decision": { "type": "structure", "members": { "decisionType": { "target": "com.amazonaws.swf#DecisionType", "traits": { "smithy.api#documentation": "Specifies the type of the decision.
", "smithy.api#required": {} } }, "scheduleActivityTaskDecisionAttributes": { "target": "com.amazonaws.swf#ScheduleActivityTaskDecisionAttributes", "traits": { "smithy.api#documentation": "Provides the details of the ScheduleActivityTask
decision. It isn't set for other decision types.
Provides the details of the RequestCancelActivityTask
decision. It isn't set for other decision types.
Provides the details of the CompleteWorkflowExecution
decision. It isn't set for other decision types.
Provides the details of the FailWorkflowExecution
decision. It isn't set for other decision types.
Provides the details of the CancelWorkflowExecution
decision. It isn't set for other decision types.
Provides the details of the ContinueAsNewWorkflowExecution
decision. It isn't set for other decision types.
Provides the details of the RecordMarker
decision. It isn't set for other decision types.
Provides the details of the StartTimer
decision. It isn't set for other decision types.
Provides the details of the CancelTimer
decision. It isn't set for other decision types.
Provides the details of the SignalExternalWorkflowExecution
decision. It isn't set for other decision types.
Provides the details of the RequestCancelExternalWorkflowExecution
decision.\n It isn't set for other decision types.
Provides the details of the StartChildWorkflowExecution
decision. It isn't set for other decision types.
Provides the details of the ScheduleLambdaFunction
decision. It isn't set\n for other decision types.
Specifies a decision made by the decider. A decision can be one of these types:
\n\n CancelTimer
– Cancels a previously started timer and records a TimerCanceled
event in the\n history.
\n CancelWorkflowExecution
– Closes the workflow execution and records a\n WorkflowExecutionCanceled
event in the history.
\n CompleteWorkflowExecution
– Closes the workflow execution and records a\n WorkflowExecutionCompleted
event in the history .
\n ContinueAsNewWorkflowExecution
– Closes the workflow execution and starts a new workflow execution of the\n same type using the same workflow ID and a unique run Id. A WorkflowExecutionContinuedAsNew
event\n is recorded in the history.
\n FailWorkflowExecution
– Closes the workflow execution and records a WorkflowExecutionFailed
\n event in the history.
\n RecordMarker
– Records a MarkerRecorded
event in the history. Markers can be used for adding\n custom information in the history for instance to let deciders know that they don't need to look at the history\n beyond the marker event.
\n RequestCancelActivityTask
– Attempts to cancel a previously scheduled activity task. If the activity task\n was scheduled but has not been assigned to a worker, then it is canceled. If the activity task was already\n assigned to a worker, then the worker is informed that cancellation has been requested in the response to\n RecordActivityTaskHeartbeat.
\n RequestCancelExternalWorkflowExecution
– Requests that a request be made to cancel the specified external\n workflow execution and records a RequestCancelExternalWorkflowExecutionInitiated
event in the\n history.
\n ScheduleActivityTask
– Schedules an activity task.
\n SignalExternalWorkflowExecution
– Requests a signal to be delivered to the specified external workflow\n execution and records a SignalExternalWorkflowExecutionInitiated
event in the history.
\n StartChildWorkflowExecution
– Requests that a child workflow execution be started and records a\n StartChildWorkflowExecutionInitiated
event in the history. The child workflow execution is a\n separate workflow execution with its own history.
\n StartTimer
– Starts a timer for this workflow execution and records a TimerStarted
event in\n the history. This timer fires after the specified delay and record a TimerFired
event.
\n Access Control\n
\nIf you grant permission to use RespondDecisionTaskCompleted
, you can use IAM policies to express\n permissions for the list of decisions returned by this action as if they were members of the API. Treating\n decisions as a pseudo API maintains a uniform conceptual model and helps keep policies readable. For details and\n example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.
\n Decision Failure\n
\n\nDecisions can fail for several reasons
\n\nThe ordering of decisions should follow a logical flow. Some decisions might not make sense in the current context of the workflow execution and therefore fails.
\nA limit on your account was reached.
\nThe decision lacks sufficient permissions.
\nOne of the following events might be added to the history to indicate an error. The event attribute's\n cause
parameter indicates the cause. If cause
is set to OPERATION_NOT_PERMITTED
, the decision failed\n because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows\n in the Amazon SWF Developer Guide.
\n ScheduleActivityTaskFailed
– A ScheduleActivityTask
decision failed. This could happen if the\n activity type specified in the decision isn't registered, is in a deprecated state, or the decision isn't\n properly configured.
\n RequestCancelActivityTaskFailed
– A\n RequestCancelActivityTask
decision failed. This could happen if\n there is no open activity task with the specified activityId.
\n StartTimerFailed
– A StartTimer
decision failed. This\n could happen if there is another open timer with the same timerId.
\n CancelTimerFailed
– A CancelTimer
decision failed.\n This could happen if there is no open timer with the specified\n timerId.
\n StartChildWorkflowExecutionFailed
– A\n StartChildWorkflowExecution
decision failed. This could happen\n if the workflow type specified isn't registered, is deprecated, or the decision\n isn't properly configured.
\n SignalExternalWorkflowExecutionFailed
– A\n SignalExternalWorkflowExecution
decision failed. This could\n happen if the workflowID
specified in the decision was\n incorrect.
\n RequestCancelExternalWorkflowExecutionFailed
– A\n RequestCancelExternalWorkflowExecution
decision failed. This\n could happen if the workflowID
specified in the decision was\n incorrect.
\n CancelWorkflowExecutionFailed
– A\n CancelWorkflowExecution
decision failed. This could happen if\n there is an unhandled decision task pending in the workflow execution.
\n CompleteWorkflowExecutionFailed
– A\n CompleteWorkflowExecution
decision failed. This could happen if\n there is an unhandled decision task pending in the workflow execution.
\n ContinueAsNewWorkflowExecutionFailed
– A\n ContinueAsNewWorkflowExecution
decision failed. This could\n happen if there is an unhandled decision task pending in the workflow execution\n or the ContinueAsNewWorkflowExecution decision was not configured\n correctly.
\n FailWorkflowExecutionFailed
– A FailWorkflowExecution
\n decision failed. This could happen if there is an unhandled decision task\n pending in the workflow execution.
The preceding error events might occur due to an error in the decider logic, which might put the workflow execution in an unstable state The cause field in the event structure for the error event indicates the cause of the error.
\nA workflow execution may be closed by the decider by returning one of the following decisions when completing\n a decision task: CompleteWorkflowExecution
, FailWorkflowExecution
,\n CancelWorkflowExecution
and ContinueAsNewWorkflowExecution
. An UnhandledDecision
fault\n is returned if a workflow closing decision is specified and a signal or activity event had been added to the\n history while the decision task was being performed by the decider. Unlike the above situations which are logic\n issues, this fault is always possible because of race conditions in a distributed system. The right action here is\n to call RespondDecisionTaskCompleted without any decisions. This would result in another decision task\n with these new events included in the history. The decider should handle the new events and may decide to close\n the workflow execution.
\n How to Code a Decision\n
\nYou code a decision by first setting the decision type field to one of the above decision values, and then set the corresponding attributes field shown below:
\n\n \n ScheduleActivityTaskDecisionAttributes\n
\n
\n \n RequestCancelActivityTaskDecisionAttributes\n
\n
\n \n CompleteWorkflowExecutionDecisionAttributes\n
\n
\n \n FailWorkflowExecutionDecisionAttributes\n
\n
\n \n CancelWorkflowExecutionDecisionAttributes\n
\n
\n \n RecordMarkerDecisionAttributes\n
\n
\n \n StartTimerDecisionAttributes\n
\n
\n \n CancelTimerDecisionAttributes\n
\n
\n \n SignalExternalWorkflowExecutionDecisionAttributes\n
\n
\n \n RequestCancelExternalWorkflowExecutionDecisionAttributes\n
\n
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.
", "smithy.api#required": {} } }, "startedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "The ID of the DecisionTaskStarted
event recorded in the history.
The workflow execution for which this decision task was created.
", "smithy.api#required": {} } }, "workflowType": { "target": "com.amazonaws.swf#WorkflowType", "traits": { "smithy.api#documentation": "The type of the workflow execution for which this decision task was created.
", "smithy.api#required": {} } }, "events": { "target": "com.amazonaws.swf#HistoryEventList", "traits": { "smithy.api#documentation": "A paginated list of history events of the workflow execution. The decider uses this during the processing of the decision task.
", "smithy.api#required": {} } }, "nextPageToken": { "target": "com.amazonaws.swf#PageToken", "traits": { "smithy.api#documentation": "If a NextPageToken
was returned by a previous call, there are more\n results available. To retrieve the next page of results, make the call again using the returned token in\n nextPageToken
. Keep all other arguments unchanged.
The configured maximumPageSize
determines how many results can be returned in a single call.
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.
" } } }, "traits": { "smithy.api#documentation": "A structure that represents a decision task. Decision tasks are sent to deciders in order for them to make decisions.
" } }, "com.amazonaws.swf#DecisionTaskCompletedEventAttributes": { "type": "structure", "members": { "executionContext": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "User defined context for the workflow execution.
" } }, "scheduledEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "The ID of the DecisionTaskScheduled
event that was recorded when this decision task was scheduled.\n This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.
The ID of the DecisionTaskStarted
event recorded when this decision task was started.\n This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.
Provides the details of the DecisionTaskCompleted
event.
The name of the task list in which the decision task was scheduled.
", "smithy.api#required": {} } }, "taskPriority": { "target": "com.amazonaws.swf#TaskPriority", "traits": { "smithy.api#documentation": "\n A task priority that, if set, specifies the priority for this decision task.\n Valid values are integers that range from Java's Integer.MIN_VALUE
\n (-2147483648) to Integer.MAX_VALUE
(2147483647). Higher numbers indicate higher priority.
For more information about setting task priority, see Setting Task Priority in the Amazon SWF Developer Guide.
" } }, "startToCloseTimeout": { "target": "com.amazonaws.swf#DurationInSecondsOptional", "traits": { "smithy.api#documentation": "The maximum duration for this decision task. The task is considered timed out if it doesn't completed within this duration.
\nThe duration is specified in seconds, an integer greater than or equal to 0
. You can use NONE
to specify unlimited duration.
Provides details about the DecisionTaskScheduled
event.
Identity of the decider making the request. This enables diagnostic tracing when problems arise. The form of this identity is user defined.
" } }, "scheduledEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "The ID of the DecisionTaskScheduled
event that was recorded when this decision task was scheduled.\n This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.
Provides the details of the DecisionTaskStarted
event.
The type of timeout that expired before the decision task could be completed.
", "smithy.api#required": {} } }, "scheduledEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "The ID of the DecisionTaskScheduled
event that was recorded when this decision task was scheduled.\n This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.
The ID of the DecisionTaskStarted
event recorded when this decision task was started. This\n information can be useful for diagnosing problems by tracing back the chain of events leading up to this\n event.
Provides the details of the DecisionTaskTimedOut
event.
The StartWorkflowExecution
API action was called without the required\n parameters set.
Some workflow execution parameters, such as the decision taskList
, must be\n set to start the execution. However, these parameters might have been set as defaults when the\n workflow type was registered. In this case, you can omit these parameters from the\n StartWorkflowExecution
call and Amazon SWF uses the values defined in the workflow\n type.
If these parameters aren't set and no default parameters were defined in the workflow\n type, this error is displayed.
\nDeprecates the specified activity type. After an activity type has\n been deprecated, you cannot create new tasks of that activity type. Tasks of this type that\n were scheduled before the type was deprecated continue to run.
\nThis operation is eventually consistent. The results are best effort and may not\n exactly reflect recent updates and changes.
\n\n Access Control\n
\nYou can use IAM policies to control this action's access to Amazon SWF resources as\n follows:
\nUse a Resource
element with the domain name to limit the action to\n only specified domains.
Use an Action
element to allow or deny permission to call this\n action.
Constrain the following parameters by using a Condition
element with\n the appropriate keys.
\n activityType.name
: String constraint. The key is\n swf:activityType.name
.
\n activityType.version
: String constraint. The key is\n swf:activityType.version
.
If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause
parameter is set to OPERATION_NOT_PERMITTED
.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.
The name of the domain in which the activity type is registered.
", "smithy.api#required": {} } }, "activityType": { "target": "com.amazonaws.swf#ActivityType", "traits": { "smithy.api#documentation": "The activity type to deprecate.
", "smithy.api#required": {} } } } }, "com.amazonaws.swf#DeprecateDomain": { "type": "operation", "input": { "target": "com.amazonaws.swf#DeprecateDomainInput" }, "errors": [ { "target": "com.amazonaws.swf#DomainDeprecatedFault" }, { "target": "com.amazonaws.swf#OperationNotPermittedFault" }, { "target": "com.amazonaws.swf#UnknownResourceFault" } ], "traits": { "smithy.api#documentation": "Deprecates the specified domain. After a domain has been deprecated it cannot be used\n to create new workflow executions or register new types. However, you can still use visibility\n actions on this domain. Deprecating a domain also deprecates all activity and workflow types\n registered in the domain. Executions that were started before the domain was deprecated\n continues to run.
\nThis operation is eventually consistent. The results are best effort and may not\n exactly reflect recent updates and changes.
\n\n Access Control\n
\nYou can use IAM policies to control this action's access to Amazon SWF resources as\n follows:
\nUse a Resource
element with the domain name to limit the action to\n only specified domains.
Use an Action
element to allow or deny permission to call this\n action.
You cannot use an IAM policy to constrain this action's parameters.
\nIf the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause
parameter is set to OPERATION_NOT_PERMITTED
.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.
The name of the domain to deprecate.
", "smithy.api#required": {} } } } }, "com.amazonaws.swf#DeprecateWorkflowType": { "type": "operation", "input": { "target": "com.amazonaws.swf#DeprecateWorkflowTypeInput" }, "errors": [ { "target": "com.amazonaws.swf#OperationNotPermittedFault" }, { "target": "com.amazonaws.swf#TypeDeprecatedFault" }, { "target": "com.amazonaws.swf#UnknownResourceFault" } ], "traits": { "smithy.api#documentation": "Deprecates the specified workflow type. After a workflow type has\n been deprecated, you cannot create new executions of that type. Executions that were started\n before the type was deprecated continues to run. A deprecated workflow type may still be used\n when calling visibility actions.
\nThis operation is eventually consistent. The results are best effort and may not\n exactly reflect recent updates and changes.
\n\n Access Control\n
\nYou can use IAM policies to control this action's access to Amazon SWF resources as\n follows:
\nUse a Resource
element with the domain name to limit the action to\n only specified domains.
Use an Action
element to allow or deny permission to call this\n action.
Constrain the following parameters by using a Condition
element with\n the appropriate keys.
\n workflowType.name
: String constraint. The key is\n swf:workflowType.name
.
\n workflowType.version
: String constraint. The key is\n swf:workflowType.version
.
If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause
parameter is set to OPERATION_NOT_PERMITTED
.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.
The name of the domain in which the workflow type is registered.
", "smithy.api#required": {} } }, "workflowType": { "target": "com.amazonaws.swf#WorkflowType", "traits": { "smithy.api#documentation": "The workflow type to deprecate.
", "smithy.api#required": {} } } } }, "com.amazonaws.swf#DescribeActivityType": { "type": "operation", "input": { "target": "com.amazonaws.swf#DescribeActivityTypeInput" }, "output": { "target": "com.amazonaws.swf#ActivityTypeDetail" }, "errors": [ { "target": "com.amazonaws.swf#OperationNotPermittedFault" }, { "target": "com.amazonaws.swf#UnknownResourceFault" } ], "traits": { "smithy.api#documentation": "Returns information about the specified activity type. This includes configuration\n settings provided when the type was registered and other general information about the\n type.
\n\n Access Control\n
\nYou can use IAM policies to control this action's access to Amazon SWF resources as\n follows:
\nUse a Resource
element with the domain name to limit the action to\n only specified domains.
Use an Action
element to allow or deny permission to call this\n action.
Constrain the following parameters by using a Condition
element with\n the appropriate keys.
\n activityType.name
: String constraint. The key is\n swf:activityType.name
.
\n activityType.version
: String constraint. The key is\n swf:activityType.version
.
If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause
parameter is set to OPERATION_NOT_PERMITTED
.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.
The name of the domain in which the activity type is registered.
", "smithy.api#required": {} } }, "activityType": { "target": "com.amazonaws.swf#ActivityType", "traits": { "smithy.api#documentation": "The activity type to get information about. Activity types are identified by the\n name
and version
that were supplied when the activity was\n registered.
Returns information about the specified domain, including description and\n status.
\n\n Access Control\n
\nYou can use IAM policies to control this action's access to Amazon SWF resources as\n follows:
\nUse a Resource
element with the domain name to limit the action to\n only specified domains.
Use an Action
element to allow or deny permission to call this\n action.
You cannot use an IAM policy to constrain this action's parameters.
\nIf the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause
parameter is set to OPERATION_NOT_PERMITTED
.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.
The name of the domain to describe.
", "smithy.api#required": {} } } } }, "com.amazonaws.swf#DescribeWorkflowExecution": { "type": "operation", "input": { "target": "com.amazonaws.swf#DescribeWorkflowExecutionInput" }, "output": { "target": "com.amazonaws.swf#WorkflowExecutionDetail" }, "errors": [ { "target": "com.amazonaws.swf#OperationNotPermittedFault" }, { "target": "com.amazonaws.swf#UnknownResourceFault" } ], "traits": { "smithy.api#documentation": "Returns information about the specified workflow execution including its type and some\n statistics.
\nThis operation is eventually consistent. The results are best effort and may not\n exactly reflect recent updates and changes.
\n\n Access Control\n
\nYou can use IAM policies to control this action's access to Amazon SWF resources as\n follows:
\nUse a Resource
element with the domain name to limit the action to\n only specified domains.
Use an Action
element to allow or deny permission to call this\n action.
You cannot use an IAM policy to constrain this action's parameters.
\nIf the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause
parameter is set to OPERATION_NOT_PERMITTED
.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.
The name of the domain containing the workflow execution.
", "smithy.api#required": {} } }, "execution": { "target": "com.amazonaws.swf#WorkflowExecution", "traits": { "smithy.api#documentation": "The workflow execution to describe.
", "smithy.api#required": {} } } } }, "com.amazonaws.swf#DescribeWorkflowType": { "type": "operation", "input": { "target": "com.amazonaws.swf#DescribeWorkflowTypeInput" }, "output": { "target": "com.amazonaws.swf#WorkflowTypeDetail" }, "errors": [ { "target": "com.amazonaws.swf#OperationNotPermittedFault" }, { "target": "com.amazonaws.swf#UnknownResourceFault" } ], "traits": { "smithy.api#documentation": "Returns information about the specified workflow type. This\n includes configuration settings specified when the type was registered and other information\n such as creation date, current status, etc.
\n\n Access Control\n
\nYou can use IAM policies to control this action's access to Amazon SWF resources as\n follows:
\nUse a Resource
element with the domain name to limit the action to\n only specified domains.
Use an Action
element to allow or deny permission to call this\n action.
Constrain the following parameters by using a Condition
element with\n the appropriate keys.
\n workflowType.name
: String constraint. The key is\n swf:workflowType.name
.
\n workflowType.version
: String constraint. The key is\n swf:workflowType.version
.
If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause
parameter is set to OPERATION_NOT_PERMITTED
.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.
The name of the domain in which this workflow type is registered.
", "smithy.api#required": {} } }, "workflowType": { "target": "com.amazonaws.swf#WorkflowType", "traits": { "smithy.api#documentation": "The workflow type to describe.
", "smithy.api#required": {} } } } }, "com.amazonaws.swf#Description": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 1024 } } }, "com.amazonaws.swf#DomainAlreadyExistsFault": { "type": "structure", "members": { "message": { "target": "com.amazonaws.swf#ErrorMessage", "traits": { "smithy.api#documentation": "A description that may help with diagnosing the cause of the fault.
" } } }, "traits": { "smithy.api#documentation": "Returned if the domain already exists. You may get this fault if you are registering a domain that is either already registered or deprecated, or if you undeprecate a domain that is currently registered.
", "smithy.api#error": "client" } }, "com.amazonaws.swf#DomainConfiguration": { "type": "structure", "members": { "workflowExecutionRetentionPeriodInDays": { "target": "com.amazonaws.swf#DurationInDays", "traits": { "smithy.api#documentation": "The retention period for workflow executions in this domain.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Contains the configuration settings of a domain.
" } }, "com.amazonaws.swf#DomainDeprecatedFault": { "type": "structure", "members": { "message": { "target": "com.amazonaws.swf#ErrorMessage", "traits": { "smithy.api#documentation": "A description that may help with diagnosing the cause of the fault.
" } } }, "traits": { "smithy.api#documentation": "Returned when the specified domain has been deprecated.
", "smithy.api#error": "client" } }, "com.amazonaws.swf#DomainDetail": { "type": "structure", "members": { "domainInfo": { "target": "com.amazonaws.swf#DomainInfo", "traits": { "smithy.api#documentation": "The basic information about a domain, such as its name, status, and\n description.
", "smithy.api#required": {} } }, "configuration": { "target": "com.amazonaws.swf#DomainConfiguration", "traits": { "smithy.api#documentation": "The domain configuration. Currently, this includes only the domain's retention\n period.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Contains details of a domain.
" } }, "com.amazonaws.swf#DomainInfo": { "type": "structure", "members": { "name": { "target": "com.amazonaws.swf#DomainName", "traits": { "smithy.api#documentation": "The name of the domain. This name is unique within the account.
", "smithy.api#required": {} } }, "status": { "target": "com.amazonaws.swf#RegistrationStatus", "traits": { "smithy.api#documentation": "The status of the domain:
\n\n REGISTERED
– The domain is properly registered and available. You can use this domain\n for registering types and creating new workflow executions.\n
\n DEPRECATED
– The domain was deprecated using DeprecateDomain, but is\n still in use. You should not create new workflow executions in this domain.\n
The description of the domain provided through RegisterDomain.
" } }, "arn": { "target": "com.amazonaws.swf#Arn", "traits": { "smithy.api#documentation": "The ARN of the domain.
" } } }, "traits": { "smithy.api#documentation": "Contains general information about a domain.
" } }, "com.amazonaws.swf#DomainInfoList": { "type": "list", "member": { "target": "com.amazonaws.swf#DomainInfo" } }, "com.amazonaws.swf#DomainInfos": { "type": "structure", "members": { "domainInfos": { "target": "com.amazonaws.swf#DomainInfoList", "traits": { "smithy.api#documentation": "A list of DomainInfo structures.
", "smithy.api#required": {} } }, "nextPageToken": { "target": "com.amazonaws.swf#PageToken", "traits": { "smithy.api#documentation": "If a NextPageToken
was returned by a previous call, there are more\n results available. To retrieve the next page of results, make the call again using the returned token in\n nextPageToken
. Keep all other arguments unchanged.
The configured maximumPageSize
determines how many results can be returned in a single call.
Contains a paginated collection of DomainInfo structures.
" } }, "com.amazonaws.swf#DomainName": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 256 } } }, "com.amazonaws.swf#DurationInDays": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 8 } } }, "com.amazonaws.swf#DurationInSeconds": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 8 } } }, "com.amazonaws.swf#DurationInSecondsOptional": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 8 } } }, "com.amazonaws.swf#ErrorMessage": { "type": "string" }, "com.amazonaws.swf#EventId": { "type": "long" }, "com.amazonaws.swf#EventType": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "WorkflowExecutionStarted", "name": "WorkflowExecutionStarted" }, { "value": "WorkflowExecutionCancelRequested", "name": "WorkflowExecutionCancelRequested" }, { "value": "WorkflowExecutionCompleted", "name": "WorkflowExecutionCompleted" }, { "value": "CompleteWorkflowExecutionFailed", "name": "CompleteWorkflowExecutionFailed" }, { "value": "WorkflowExecutionFailed", "name": "WorkflowExecutionFailed" }, { "value": "FailWorkflowExecutionFailed", "name": "FailWorkflowExecutionFailed" }, { "value": "WorkflowExecutionTimedOut", "name": "WorkflowExecutionTimedOut" }, { "value": "WorkflowExecutionCanceled", "name": "WorkflowExecutionCanceled" }, { "value": "CancelWorkflowExecutionFailed", "name": "CancelWorkflowExecutionFailed" }, { "value": "WorkflowExecutionContinuedAsNew", "name": "WorkflowExecutionContinuedAsNew" }, { "value": "ContinueAsNewWorkflowExecutionFailed", "name": "ContinueAsNewWorkflowExecutionFailed" }, { "value": "WorkflowExecutionTerminated", "name": "WorkflowExecutionTerminated" }, { "value": "DecisionTaskScheduled", "name": "DecisionTaskScheduled" }, { "value": "DecisionTaskStarted", "name": "DecisionTaskStarted" }, { "value": "DecisionTaskCompleted", "name": "DecisionTaskCompleted" }, { "value": "DecisionTaskTimedOut", "name": "DecisionTaskTimedOut" }, { "value": "ActivityTaskScheduled", "name": "ActivityTaskScheduled" }, { "value": "ScheduleActivityTaskFailed", "name": "ScheduleActivityTaskFailed" }, { "value": "ActivityTaskStarted", "name": "ActivityTaskStarted" }, { "value": "ActivityTaskCompleted", "name": "ActivityTaskCompleted" }, { "value": "ActivityTaskFailed", "name": "ActivityTaskFailed" }, { "value": "ActivityTaskTimedOut", "name": "ActivityTaskTimedOut" }, { "value": "ActivityTaskCanceled", "name": "ActivityTaskCanceled" }, { "value": "ActivityTaskCancelRequested", "name": "ActivityTaskCancelRequested" }, { "value": "RequestCancelActivityTaskFailed", "name": "RequestCancelActivityTaskFailed" }, { "value": "WorkflowExecutionSignaled", "name": "WorkflowExecutionSignaled" }, { "value": "MarkerRecorded", "name": "MarkerRecorded" }, { "value": "RecordMarkerFailed", "name": "RecordMarkerFailed" }, { "value": "TimerStarted", "name": "TimerStarted" }, { "value": "StartTimerFailed", "name": "StartTimerFailed" }, { "value": "TimerFired", "name": "TimerFired" }, { "value": "TimerCanceled", "name": "TimerCanceled" }, { "value": "CancelTimerFailed", "name": "CancelTimerFailed" }, { "value": "StartChildWorkflowExecutionInitiated", "name": "StartChildWorkflowExecutionInitiated" }, { "value": "StartChildWorkflowExecutionFailed", "name": "StartChildWorkflowExecutionFailed" }, { "value": "ChildWorkflowExecutionStarted", "name": "ChildWorkflowExecutionStarted" }, { "value": "ChildWorkflowExecutionCompleted", "name": "ChildWorkflowExecutionCompleted" }, { "value": "ChildWorkflowExecutionFailed", "name": "ChildWorkflowExecutionFailed" }, { "value": "ChildWorkflowExecutionTimedOut", "name": "ChildWorkflowExecutionTimedOut" }, { "value": "ChildWorkflowExecutionCanceled", "name": "ChildWorkflowExecutionCanceled" }, { "value": "ChildWorkflowExecutionTerminated", "name": "ChildWorkflowExecutionTerminated" }, { "value": "SignalExternalWorkflowExecutionInitiated", "name": "SignalExternalWorkflowExecutionInitiated" }, { "value": "SignalExternalWorkflowExecutionFailed", "name": "SignalExternalWorkflowExecutionFailed" }, { "value": "ExternalWorkflowExecutionSignaled", "name": "ExternalWorkflowExecutionSignaled" }, { "value": "RequestCancelExternalWorkflowExecutionInitiated", "name": "RequestCancelExternalWorkflowExecutionInitiated" }, { "value": "RequestCancelExternalWorkflowExecutionFailed", "name": "RequestCancelExternalWorkflowExecutionFailed" }, { "value": "ExternalWorkflowExecutionCancelRequested", "name": "ExternalWorkflowExecutionCancelRequested" }, { "value": "LambdaFunctionScheduled", "name": "LambdaFunctionScheduled" }, { "value": "LambdaFunctionStarted", "name": "LambdaFunctionStarted" }, { "value": "LambdaFunctionCompleted", "name": "LambdaFunctionCompleted" }, { "value": "LambdaFunctionFailed", "name": "LambdaFunctionFailed" }, { "value": "LambdaFunctionTimedOut", "name": "LambdaFunctionTimedOut" }, { "value": "ScheduleLambdaFunctionFailed", "name": "ScheduleLambdaFunctionFailed" }, { "value": "StartLambdaFunctionFailed", "name": "StartLambdaFunctionFailed" } ] } }, "com.amazonaws.swf#ExecutionStatus": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "OPEN", "name": "OPEN" }, { "value": "CLOSED", "name": "CLOSED" } ] } }, "com.amazonaws.swf#ExecutionTimeFilter": { "type": "structure", "members": { "oldestDate": { "target": "com.amazonaws.swf#Timestamp", "traits": { "smithy.api#documentation": "Specifies the oldest start or close date and time to return.
", "smithy.api#required": {} } }, "latestDate": { "target": "com.amazonaws.swf#Timestamp", "traits": { "smithy.api#documentation": "Specifies the latest start or close date and time to return.
" } } }, "traits": { "smithy.api#documentation": "Used to filter the workflow executions in visibility APIs by various time-based rules. Each parameter, if\n specified, defines a rule that must be satisfied by each returned query result. The parameter values are in the Unix Time format. For example:\n \"oldestDate\": 1325376070.
\n
The external workflow execution to which the cancellation request was delivered.
", "smithy.api#required": {} } }, "initiatedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "The ID of the RequestCancelExternalWorkflowExecutionInitiated
event corresponding to the\n RequestCancelExternalWorkflowExecution
decision to cancel this external workflow execution. This\n information can be useful for diagnosing problems by tracing back the chain of events leading up to this\n event.
Provides the details of the ExternalWorkflowExecutionCancelRequested
event.
The external workflow execution that the signal was delivered to.
", "smithy.api#required": {} } }, "initiatedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "The ID of the SignalExternalWorkflowExecutionInitiated
event corresponding to the\n SignalExternalWorkflowExecution
decision to request this signal. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.
Provides the details of the ExternalWorkflowExecutionSignaled
event.
A descriptive reason for the failure that may help in diagnostics.
" } }, "details": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "\n Details of the failure.
" } } }, "traits": { "smithy.api#documentation": "Provides the details of the FailWorkflowExecution
decision.
\n Access Control\n
\nYou can use IAM policies to control this decision's access to Amazon SWF resources as follows:
\nUse a Resource
element with the domain name to limit the action to only\n specified domains.
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.
\nIf the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated event attribute's\n cause
parameter is set to OPERATION_NOT_PERMITTED
. For details and example IAM policies, see\n Using IAM to Manage Access to Amazon SWF Workflows\n in the Amazon SWF Developer Guide.
The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.
\nIf cause
is set to OPERATION_NOT_PERMITTED
, the decision failed\n because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows\n in the Amazon SWF Developer Guide.
The ID of the DecisionTaskCompleted
event corresponding to the decision task that resulted in the\n FailWorkflowExecution
decision to fail this execution. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.
Provides the details of the FailWorkflowExecutionFailed
event.
Returns the history of the specified workflow execution. The results may be split into\n multiple pages. To retrieve subsequent pages, make the call again using the\n nextPageToken
returned by the initial call.
This operation is eventually consistent. The results are best effort and may not\n exactly reflect recent updates and changes.
\n\n Access Control\n
\nYou can use IAM policies to control this action's access to Amazon SWF resources as\n follows:
\nUse a Resource
element with the domain name to limit the action to\n only specified domains.
Use an Action
element to allow or deny permission to call this\n action.
You cannot use an IAM policy to constrain this action's parameters.
\nIf the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause
parameter is set to OPERATION_NOT_PERMITTED
.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.
The name of the domain containing the workflow execution.
", "smithy.api#required": {} } }, "execution": { "target": "com.amazonaws.swf#WorkflowExecution", "traits": { "smithy.api#documentation": "Specifies the workflow execution for which to return the history.
", "smithy.api#required": {} } }, "nextPageToken": { "target": "com.amazonaws.swf#PageToken", "traits": { "smithy.api#documentation": "If NextPageToken
is returned there are more results\n available. The value of NextPageToken
is a unique pagination token for each page. Make the call again using \n the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires \n after 60 seconds. Using an expired pagination token will return a 400
error: \"Specified token has \n exceeded its maximum lifetime
\".
The configured maximumPageSize
determines how many results can be returned\n in a single call.
The maximum number of results that are returned per call.\n Use nextPageToken
to obtain further pages of results.
When set to true
, returns the events in reverse order. By default the\n results are returned in ascending order of the eventTimeStamp
of the\n events.
The list of history events.
", "smithy.api#required": {} } }, "nextPageToken": { "target": "com.amazonaws.swf#PageToken", "traits": { "smithy.api#documentation": "If a NextPageToken
was returned by a previous call, there are more\n results available. To retrieve the next page of results, make the call again using the returned token in\n nextPageToken
. Keep all other arguments unchanged.
The configured maximumPageSize
determines how many results can be returned in a single call.
Paginated representation of a workflow history for a workflow execution. This is the up to date, complete and authoritative record of the events related to all tasks and events in the life of the workflow execution.
" } }, "com.amazonaws.swf#HistoryEvent": { "type": "structure", "members": { "eventTimestamp": { "target": "com.amazonaws.swf#Timestamp", "traits": { "smithy.api#documentation": "The date and time when the event occurred.
", "smithy.api#required": {} } }, "eventType": { "target": "com.amazonaws.swf#EventType", "traits": { "smithy.api#documentation": "The type of the history event.
", "smithy.api#required": {} } }, "eventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "The system generated ID of the event. This ID uniquely identifies the event with in the workflow execution history.
", "smithy.api#required": {} } }, "workflowExecutionStartedEventAttributes": { "target": "com.amazonaws.swf#WorkflowExecutionStartedEventAttributes", "traits": { "smithy.api#documentation": "If the event is of type WorkflowExecutionStarted
then this member is set and provides detailed\n information about the event. It isn't set for other event types.
If the event is of type WorkflowExecutionCompleted
then this member is set and provides detailed\n information about the event. It isn't set for other event types.
If the event is of type CompleteWorkflowExecutionFailed
then this member is set and provides\n detailed information about the event. It isn't set for other event types.
If the event is of type WorkflowExecutionFailed
then this member is set and provides detailed\n information about the event. It isn't set for other event types.
If the event is of type FailWorkflowExecutionFailed
then this member is set and provides detailed\n information about the event. It isn't set for other event types.
If the event is of type WorkflowExecutionTimedOut
then this member is set and provides detailed\n information about the event. It isn't set for other event types.
If the event is of type WorkflowExecutionCanceled
then this member is set and provides detailed\n information about the event. It isn't set for other event types.
If the event is of type CancelWorkflowExecutionFailed
then this member is set and provides detailed\n information about the event. It isn't set for other event types.
If the event is of type WorkflowExecutionContinuedAsNew
then this member is set and provides\n detailed information about the event. It isn't set for other event types.
If the event is of type ContinueAsNewWorkflowExecutionFailed
then this member is set and provides\n detailed information about the event. It isn't set for other event types.
If the event is of type WorkflowExecutionTerminated
then this member is set and provides detailed\n information about the event. It isn't set for other event types.
If the event is of type WorkflowExecutionCancelRequested
then this member is set and provides\n detailed information about the event. It isn't set for other event types.
If the event is of type DecisionTaskScheduled
then this member is set and provides detailed\n information about the event. It isn't set for other event types.
If the event is of type DecisionTaskStarted
then this member is set and provides detailed\n information about the event. It isn't set for other event types.
If the event is of type DecisionTaskCompleted
then this member is set and provides detailed\n information about the event. It isn't set for other event types.
If the event is of type DecisionTaskTimedOut
then this member is set and provides detailed\n information about the event. It isn't set for other event types.
If the event is of type ActivityTaskScheduled
then this member is set and provides detailed\n information about the event. It isn't set for other event types.
If the event is of type ActivityTaskStarted
then this member is set and provides detailed\n information about the event. It isn't set for other event types.
If the event is of type ActivityTaskCompleted
then this member is set and provides detailed\n information about the event. It isn't set for other event types.
If the event is of type ActivityTaskFailed
then this member is set and provides detailed\n information about the event. It isn't set for other event types.
If the event is of type ActivityTaskTimedOut
then this member is set and provides detailed\n information about the event. It isn't set for other event types.
If the event is of type ActivityTaskCanceled
then this member is set and provides detailed\n information about the event. It isn't set for other event types.
If the event is of type ActivityTaskcancelRequested
then this member is set and provides detailed\n information about the event. It isn't set for other event types.
If the event is of type WorkflowExecutionSignaled
then this member is set and provides detailed\n information about the event. It isn't set for other event types.
If the event is of type MarkerRecorded
then this member is set and provides detailed information\n about the event. It isn't set for other event types.
If the event is of type DecisionTaskFailed
then this member is set and provides detailed\n information about the event. It isn't set for other event types.
If the event is of type TimerStarted
then this member is set and provides detailed information\n about the event. It isn't set for other event types.
If the event is of type TimerFired
then this member is set and provides detailed information about\n the event. It isn't set for other event types.
If the event is of type TimerCanceled
then this member is set and provides detailed information\n about the event. It isn't set for other event types.
If the event is of type StartChildWorkflowExecutionInitiated
then this member is set and provides\n detailed information about the event. It isn't set for other event types.
If the event is of type ChildWorkflowExecutionStarted
then this member is set and provides detailed\n information about the event. It isn't set for other event types.
If the event is of type ChildWorkflowExecutionCompleted
then this member is set and provides\n detailed information about the event. It isn't set for other event types.
If the event is of type ChildWorkflowExecutionFailed
then this member is set and provides detailed\n information about the event. It isn't set for other event types.
If the event is of type ChildWorkflowExecutionTimedOut
then this member is set and provides\n detailed information about the event. It isn't set for other event types.
If the event is of type ChildWorkflowExecutionCanceled
then this member is set and provides\n detailed information about the event. It isn't set for other event types.
If the event is of type ChildWorkflowExecutionTerminated
then this member is set and provides\n detailed information about the event. It isn't set for other event types.
If the event is of type SignalExternalWorkflowExecutionInitiated
then this member is set and\n provides detailed information about the event. It isn't set for other event types.
If the event is of type ExternalWorkflowExecutionSignaled
then this member is set and provides\n detailed information about the event. It isn't set for other event types.
If the event is of type SignalExternalWorkflowExecutionFailed
then this member is set and provides\n detailed information about the event. It isn't set for other event types.
If the event is of type ExternalWorkflowExecutionCancelRequested
then this member is set and\n provides detailed information about the event. It isn't set for other event types.
If the event is of type RequestCancelExternalWorkflowExecutionInitiated
then this member is set and\n provides detailed information about the event. It isn't set for other event types.
If the event is of type RequestCancelExternalWorkflowExecutionFailed
then this member is set and\n provides detailed information about the event. It isn't set for other event types.
If the event is of type ScheduleActivityTaskFailed
then this member is set and provides detailed\n information about the event. It isn't set for other event types.
If the event is of type RequestCancelActivityTaskFailed
then this member is set and provides\n detailed information about the event. It isn't set for other event types.
If the event is of type StartTimerFailed
then this member is set and provides detailed information\n about the event. It isn't set for other event types.
If the event is of type CancelTimerFailed
then this member is set and provides detailed information\n about the event. It isn't set for other event types.
If the event is of type StartChildWorkflowExecutionFailed
then this member is set and provides\n detailed information about the event. It isn't set for other event types.
Provides the details of the LambdaFunctionScheduled
event. It isn't set\n for other event types.
Provides the details of the LambdaFunctionStarted
event. It isn't set for\n other event types.
Provides the details of the LambdaFunctionCompleted
event. It isn't set\n for other event types.
Provides the details of the LambdaFunctionFailed
event. It isn't set for\n other event types.
Provides the details of the LambdaFunctionTimedOut
event. It isn't set for\n other event types.
Provides the details of the ScheduleLambdaFunctionFailed
event. It isn't\n set for other event types.
Provides the details of the StartLambdaFunctionFailed
event. It isn't set\n for other event types.
Event within a workflow execution. A history event can be one of these types:
\n\n ActivityTaskCancelRequested
– A RequestCancelActivityTask
decision was received by the\n system.
\n ActivityTaskCanceled
– The activity task was successfully canceled.
\n ActivityTaskCompleted
– An activity worker successfully completed an activity task by calling\n RespondActivityTaskCompleted.
\n ActivityTaskFailed
– An activity worker failed an activity task by calling\n RespondActivityTaskFailed.
\n ActivityTaskScheduled
– An activity task was scheduled for execution.
\n ActivityTaskStarted
– The scheduled activity task was dispatched to a worker.
\n ActivityTaskTimedOut
– The activity task timed out.
\n CancelTimerFailed
– Failed to process CancelTimer decision. This happens when the decision isn't\n configured properly, for example no timer exists with the specified timer Id.
\n CancelWorkflowExecutionFailed
– A request to cancel a workflow execution failed.
\n ChildWorkflowExecutionCanceled
– A child workflow execution, started by this workflow execution, was\n canceled and closed.
\n ChildWorkflowExecutionCompleted
– A child workflow execution, started by this workflow execution,\n completed successfully and was closed.
\n ChildWorkflowExecutionFailed
– A child workflow execution,\n started by this workflow execution, failed to complete successfully and was closed.
\n ChildWorkflowExecutionStarted
– A child workflow execution was successfully started.
\n ChildWorkflowExecutionTerminated
– A child workflow execution, started by this workflow execution, was\n terminated.
\n ChildWorkflowExecutionTimedOut
– A child workflow execution, started by this workflow execution, timed\n out and was closed.
\n CompleteWorkflowExecutionFailed
– The workflow execution failed to complete.
\n ContinueAsNewWorkflowExecutionFailed
– The workflow execution failed to complete after being continued\n as a new workflow execution.
\n DecisionTaskCompleted
– The decider successfully completed a decision task by calling\n RespondDecisionTaskCompleted.
\n DecisionTaskScheduled
– A decision task was scheduled for the workflow execution.
\n DecisionTaskStarted
– The decision task was dispatched to a decider.
\n DecisionTaskTimedOut
– The decision task timed out.
\n ExternalWorkflowExecutionCancelRequested
– Request to cancel an external workflow execution was\n successfully delivered to the target execution.
\n ExternalWorkflowExecutionSignaled
– A signal, requested by this workflow execution, was successfully\n delivered to the target external workflow execution.
\n FailWorkflowExecutionFailed
– A request to mark a workflow execution as failed, itself failed.
\n MarkerRecorded
– A marker was recorded in the workflow history as the result of a\n RecordMarker
decision.
\n RecordMarkerFailed
– A RecordMarker
decision was returned as failed.
\n RequestCancelActivityTaskFailed
– Failed to process RequestCancelActivityTask decision. This happens\n when the decision isn't configured properly.
\n RequestCancelExternalWorkflowExecutionFailed
– Request to cancel an external workflow execution\n failed.
\n RequestCancelExternalWorkflowExecutionInitiated
– A request was made to request the cancellation of an\n external workflow execution.
\n ScheduleActivityTaskFailed
– Failed to process ScheduleActivityTask decision. This happens when the\n decision isn't configured properly, for example the activity type specified isn't registered.
\n SignalExternalWorkflowExecutionFailed
– The request to signal an external workflow execution\n failed.
\n SignalExternalWorkflowExecutionInitiated
– A request to signal an external workflow was made.
\n StartActivityTaskFailed
– A scheduled activity task failed to start.
\n StartChildWorkflowExecutionFailed
– Failed to process StartChildWorkflowExecution decision. This happens\n when the decision isn't configured properly, for example the workflow type specified isn't registered.
\n StartChildWorkflowExecutionInitiated
– A request was made to start a child workflow execution.
\n StartTimerFailed
– Failed to process StartTimer decision. This happens when the decision isn't\n configured properly, for example a timer already exists with the specified timer Id.
\n TimerCanceled
– A timer, previously started for this workflow execution, was successfully canceled.
\n TimerFired
– A timer, previously started for this workflow execution, fired.
\n TimerStarted
– A timer was started for the workflow execution due to a StartTimer
\n decision.
\n WorkflowExecutionCancelRequested
– A request to cancel this workflow execution was made.
\n WorkflowExecutionCanceled
– The workflow execution was successfully canceled and closed.
\n WorkflowExecutionCompleted
– The workflow execution was closed due to successful completion.
\n WorkflowExecutionContinuedAsNew
– The workflow execution was closed and a new execution of the same type\n was created with the same workflowId.
\n WorkflowExecutionFailed
– The workflow execution closed due to a failure.
\n WorkflowExecutionSignaled
– An external signal was received for the workflow execution.
\n WorkflowExecutionStarted
– The workflow execution was started.
\n WorkflowExecutionTerminated
– The workflow execution was terminated.
\n WorkflowExecutionTimedOut
– The workflow execution was closed because a time out was exceeded.
The ID of the LambdaFunctionScheduled
event that was recorded when this\n Lambda task was scheduled. To help diagnose issues, use this information to trace back the chain of events leading up to this event.
The ID of the LambdaFunctionStarted
event recorded when this activity task\n started. To help diagnose issues, use this information to trace back the chain of events leading up to this event.
The results of the Lambda task.
" } } }, "traits": { "smithy.api#documentation": "Provides the details of the LambdaFunctionCompleted
event. It isn't set\n for other event types.
The ID of the LambdaFunctionScheduled
event that was recorded when this\n activity task was scheduled. To help diagnose issues, use this information to trace back the chain of events leading up to this event.
The ID of the LambdaFunctionStarted
event recorded when this activity task\n started. To help diagnose issues, use this information to trace back the chain of events leading up to this event.
The reason provided for the failure.
" } }, "details": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "The details of the failure.
" } } }, "traits": { "smithy.api#documentation": "Provides the details of the LambdaFunctionFailed
event. It isn't set for\n other event types.
The unique ID of the Lambda task.
", "smithy.api#required": {} } }, "name": { "target": "com.amazonaws.swf#FunctionName", "traits": { "smithy.api#documentation": "The name of the Lambda function.
", "smithy.api#required": {} } }, "control": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "Data attached to the event that the decider can use in subsequent workflow tasks. This\n data isn't sent to the Lambda task.
" } }, "input": { "target": "com.amazonaws.swf#FunctionInput", "traits": { "smithy.api#documentation": "The input provided to the Lambda task.
" } }, "startToCloseTimeout": { "target": "com.amazonaws.swf#DurationInSecondsOptional", "traits": { "smithy.api#documentation": "The maximum amount of time a worker can take to process the Lambda task.
" } }, "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "The ID of the LambdaFunctionCompleted
event corresponding to the decision\n that resulted in scheduling this activity task. To help diagnose issues, use this information to trace back the chain of events leading up to this event.
Provides the details of the LambdaFunctionScheduled
event. It isn't set\n for other event types.
The ID of the LambdaFunctionScheduled
event that was recorded when this\n activity task was scheduled. To help diagnose issues, use this information to trace back the chain of events leading up to this event.
Provides the details of the LambdaFunctionStarted
event. It isn't set for\n other event types.
The ID of the LambdaFunctionScheduled
event that was recorded when this\n activity task was scheduled. To help diagnose issues, use this information to trace back the chain of events leading up to this event.
The ID of the ActivityTaskStarted
event that was recorded when this\n activity task started. To help diagnose issues, use this information to trace back the chain of events leading up to this event.
The type of the timeout that caused this event.
" } } }, "traits": { "smithy.api#documentation": "Provides details of the LambdaFunctionTimedOut
event.
A description that may help with diagnosing the cause of the fault.
" } } }, "traits": { "smithy.api#documentation": "Returned by any operation if a system imposed limitation has been reached. To address this fault you should either clean up unused resources or increase the limit by contacting AWS.
", "smithy.api#error": "client" } }, "com.amazonaws.swf#LimitedData": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 2048 } } }, "com.amazonaws.swf#ListActivityTypes": { "type": "operation", "input": { "target": "com.amazonaws.swf#ListActivityTypesInput" }, "output": { "target": "com.amazonaws.swf#ActivityTypeInfos" }, "errors": [ { "target": "com.amazonaws.swf#OperationNotPermittedFault" }, { "target": "com.amazonaws.swf#UnknownResourceFault" } ], "traits": { "smithy.api#documentation": "Returns information about all activities registered in the specified domain that match\n the specified name and registration status. The result includes information like creation\n date, current status of the activity, etc. The results may be split into multiple pages. To\n retrieve subsequent pages, make the call again using the nextPageToken
returned\n by the initial call.
\n Access Control\n
\nYou can use IAM policies to control this action's access to Amazon SWF resources as\n follows:
\nUse a Resource
element with the domain name to limit the action to\n only specified domains.
Use an Action
element to allow or deny permission to call this\n action.
You cannot use an IAM policy to constrain this action's parameters.
\nIf the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause
parameter is set to OPERATION_NOT_PERMITTED
.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.
The name of the domain in which the activity types have been registered.
", "smithy.api#required": {} } }, "name": { "target": "com.amazonaws.swf#Name", "traits": { "smithy.api#documentation": "If specified, only lists the activity types that have this name.
" } }, "registrationStatus": { "target": "com.amazonaws.swf#RegistrationStatus", "traits": { "smithy.api#documentation": "Specifies the registration status of the activity types to list.
", "smithy.api#required": {} } }, "nextPageToken": { "target": "com.amazonaws.swf#PageToken", "traits": { "smithy.api#documentation": "If NextPageToken
is returned there are more results\n available. The value of NextPageToken
is a unique pagination token for each page. Make the call again using \n the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires \n after 60 seconds. Using an expired pagination token will return a 400
error: \"Specified token has \n exceeded its maximum lifetime
\".
The configured maximumPageSize
determines how many results can be returned\n in a single call.
The maximum number of results that are returned per call.\n Use nextPageToken
to obtain further pages of results.
When set to true
, returns the results in reverse order. By default, the\n results are returned in ascending alphabetical order by name
of the activity\n types.
Returns a list of closed workflow executions in the specified domain that meet the\n filtering criteria. The results may be split into multiple pages. To retrieve subsequent\n pages, make the call again using the nextPageToken returned by the initial call.
\nThis operation is eventually consistent. The results are best effort and may not\n exactly reflect recent updates and changes.
\n\n Access Control\n
\nYou can use IAM policies to control this action's access to Amazon SWF resources as\n follows:
\nUse a Resource
element with the domain name to limit the action to\n only specified domains.
Use an Action
element to allow or deny permission to call this\n action.
Constrain the following parameters by using a Condition
element with\n the appropriate keys.
\n tagFilter.tag
: String constraint. The key is\n swf:tagFilter.tag
.
\n typeFilter.name
: String constraint. The key is\n swf:typeFilter.name
.
\n typeFilter.version
: String constraint. The key is\n swf:typeFilter.version
.
If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause
parameter is set to OPERATION_NOT_PERMITTED
.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.
The name of the domain that contains the workflow executions to list.
", "smithy.api#required": {} } }, "startTimeFilter": { "target": "com.amazonaws.swf#ExecutionTimeFilter", "traits": { "smithy.api#documentation": "If specified, the workflow executions are included in the returned results based on\n whether their start times are within the range specified by this filter. Also, if this\n parameter is specified, the returned results are ordered by their start times.
\n\n startTimeFilter
and closeTimeFilter
are mutually exclusive. You\n must specify one of these in a request but not both.
If specified, the workflow executions are included in the returned results based on\n whether their close times are within the range specified by this filter. Also, if this\n parameter is specified, the returned results are ordered by their close times.
\n\n startTimeFilter
and closeTimeFilter
are mutually exclusive. You\n must specify one of these in a request but not both.
If specified, only workflow executions matching the workflow ID specified in the filter\n are returned.
\n\n closeStatusFilter
, executionFilter
, typeFilter
and\n tagFilter
are mutually exclusive. You can specify at most one of these in a\n request.
If specified, only workflow executions that match this close\n status are listed. For example, if TERMINATED is specified, then only TERMINATED\n workflow executions are listed.
\n\n closeStatusFilter
, executionFilter
, typeFilter
and\n tagFilter
are mutually exclusive. You can specify at most one of these in a\n request.
If specified, only executions of the type specified in the filter are\n returned.
\n\n closeStatusFilter
, executionFilter
, typeFilter
and\n tagFilter
are mutually exclusive. You can specify at most one of these in a\n request.
If specified, only executions that have the matching tag are listed.
\n\n closeStatusFilter
, executionFilter
, typeFilter
and\n tagFilter
are mutually exclusive. You can specify at most one of these in a\n request.
If NextPageToken
is returned there are more results\n available. The value of NextPageToken
is a unique pagination token for each page. Make the call again using \n the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires \n after 60 seconds. Using an expired pagination token will return a 400
error: \"Specified token has \n exceeded its maximum lifetime
\".
The configured maximumPageSize
determines how many results can be returned\n in a single call.
The maximum number of results that are returned per call.\n Use nextPageToken
to obtain further pages of results.
When set to true
, returns the results in reverse order. By default the\n results are returned in descending order of the start or the close time of the\n executions.
Returns the list of domains registered in the account. The results may be split into\n multiple pages. To retrieve subsequent pages, make the call again using the nextPageToken\n returned by the initial call.
\nThis operation is eventually consistent. The results are best effort and may not\n exactly reflect recent updates and changes.
\n\n Access Control\n
\nYou can use IAM policies to control this action's access to Amazon SWF resources as\n follows:
\nUse a Resource
element with the domain name to limit the action to\n only specified domains. The element must be set to\n arn:aws:swf::AccountID:domain/*
, where AccountID is\n the account ID, with no dashes.
Use an Action
element to allow or deny permission to call this\n action.
You cannot use an IAM policy to constrain this action's parameters.
\nIf the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause
parameter is set to OPERATION_NOT_PERMITTED
.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.
If NextPageToken
is returned there are more results\n available. The value of NextPageToken
is a unique pagination token for each page. Make the call again using \n the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires \n after 60 seconds. Using an expired pagination token will return a 400
error: \"Specified token has \n exceeded its maximum lifetime
\".
The configured maximumPageSize
determines how many results can be returned\n in a single call.
Specifies the registration status of the domains to list.
", "smithy.api#required": {} } }, "maximumPageSize": { "target": "com.amazonaws.swf#PageSize", "traits": { "smithy.api#documentation": "The maximum number of results that are returned per call.\n Use nextPageToken
to obtain further pages of results.
When set to true
, returns the results in reverse order. By default, the\n results are returned in ascending alphabetical order by name
of the\n domains.
Returns a list of open workflow executions in the specified domain that meet the\n filtering criteria. The results may be split into multiple pages. To retrieve subsequent\n pages, make the call again using the nextPageToken returned by the initial call.
\nThis operation is eventually consistent. The results are best effort and may not\n exactly reflect recent updates and changes.
\n\n Access Control\n
\nYou can use IAM policies to control this action's access to Amazon SWF resources as\n follows:
\nUse a Resource
element with the domain name to limit the action to\n only specified domains.
Use an Action
element to allow or deny permission to call this\n action.
Constrain the following parameters by using a Condition
element with\n the appropriate keys.
\n tagFilter.tag
: String constraint. The key is\n swf:tagFilter.tag
.
\n typeFilter.name
: String constraint. The key is\n swf:typeFilter.name
.
\n typeFilter.version
: String constraint. The key is\n swf:typeFilter.version
.
If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause
parameter is set to OPERATION_NOT_PERMITTED
.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.
The name of the domain that contains the workflow executions to list.
", "smithy.api#required": {} } }, "startTimeFilter": { "target": "com.amazonaws.swf#ExecutionTimeFilter", "traits": { "smithy.api#documentation": "Workflow executions are included in the returned results based on whether their start\n times are within the range specified by this filter.
", "smithy.api#required": {} } }, "typeFilter": { "target": "com.amazonaws.swf#WorkflowTypeFilter", "traits": { "smithy.api#documentation": "If specified, only executions of the type specified in the filter are\n returned.
\n\n executionFilter
, typeFilter
and tagFilter
are\n mutually exclusive. You can specify at most one of these in a request.
If specified, only executions that have the matching tag are listed.
\n\n executionFilter
, typeFilter
and tagFilter
are\n mutually exclusive. You can specify at most one of these in a request.
If NextPageToken
is returned there are more results\n available. The value of NextPageToken
is a unique pagination token for each page. Make the call again using \n the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires \n after 60 seconds. Using an expired pagination token will return a 400
error: \"Specified token has \n exceeded its maximum lifetime
\".
The configured maximumPageSize
determines how many results can be returned\n in a single call.
The maximum number of results that are returned per call.\n Use nextPageToken
to obtain further pages of results.
When set to true
, returns the results in reverse order. By default the\n results are returned in descending order of the start time of the executions.
If specified, only workflow executions matching the workflow ID specified in the filter\n are returned.
\n\n executionFilter
, typeFilter
and tagFilter
are\n mutually exclusive. You can specify at most one of these in a request.
List tags for a given domain.
" } }, "com.amazonaws.swf#ListTagsForResourceInput": { "type": "structure", "members": { "resourceArn": { "target": "com.amazonaws.swf#Arn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) for the Amazon SWF domain.
", "smithy.api#required": {} } } } }, "com.amazonaws.swf#ListTagsForResourceOutput": { "type": "structure", "members": { "tags": { "target": "com.amazonaws.swf#ResourceTagList", "traits": { "smithy.api#documentation": "An array of tags associated with the domain.
" } } } }, "com.amazonaws.swf#ListWorkflowTypes": { "type": "operation", "input": { "target": "com.amazonaws.swf#ListWorkflowTypesInput" }, "output": { "target": "com.amazonaws.swf#WorkflowTypeInfos" }, "errors": [ { "target": "com.amazonaws.swf#OperationNotPermittedFault" }, { "target": "com.amazonaws.swf#UnknownResourceFault" } ], "traits": { "smithy.api#documentation": "Returns information about workflow types in the specified domain. The results may be\n split into multiple pages that can be retrieved by making the call repeatedly.
\n\n Access Control\n
\nYou can use IAM policies to control this action's access to Amazon SWF resources as\n follows:
\nUse a Resource
element with the domain name to limit the action to\n only specified domains.
Use an Action
element to allow or deny permission to call this\n action.
You cannot use an IAM policy to constrain this action's parameters.
\nIf the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause
parameter is set to OPERATION_NOT_PERMITTED
.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.
The name of the domain in which the workflow types have been registered.
", "smithy.api#required": {} } }, "name": { "target": "com.amazonaws.swf#Name", "traits": { "smithy.api#documentation": "If specified, lists the workflow type with this name.
" } }, "registrationStatus": { "target": "com.amazonaws.swf#RegistrationStatus", "traits": { "smithy.api#documentation": "Specifies the registration status of the workflow types to list.
", "smithy.api#required": {} } }, "nextPageToken": { "target": "com.amazonaws.swf#PageToken", "traits": { "smithy.api#documentation": "If NextPageToken
is returned there are more results\n available. The value of NextPageToken
is a unique pagination token for each page. Make the call again using \n the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires \n after 60 seconds. Using an expired pagination token will return a 400
error: \"Specified token has \n exceeded its maximum lifetime
\".
The configured maximumPageSize
determines how many results can be returned\n in a single call.
The maximum number of results that are returned per call.\n Use nextPageToken
to obtain further pages of results.
When set to true
, returns the results in reverse order. By default the\n results are returned in ascending alphabetical order of the name
of the workflow\n types.
The name of the marker.
", "smithy.api#required": {} } }, "details": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "The details of the marker.
" } }, "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "The ID of the DecisionTaskCompleted
event corresponding to the decision task that resulted in the\n RecordMarker
decision that requested this marker. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.
Provides the details of the MarkerRecorded
event.
A description that may help with diagnosing the cause of the fault.
" } } }, "traits": { "smithy.api#documentation": "Returned when the caller doesn't have sufficient permissions to invoke the action.
", "smithy.api#error": "client" } }, "com.amazonaws.swf#PageSize": { "type": "integer", "traits": { "smithy.api#range": { "min": 0, "max": 1000 } } }, "com.amazonaws.swf#PageToken": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 2048 } } }, "com.amazonaws.swf#PendingTaskCount": { "type": "structure", "members": { "count": { "target": "com.amazonaws.swf#Count", "traits": { "smithy.api#documentation": "The number of tasks in the task list.
", "smithy.api#required": {} } }, "truncated": { "target": "com.amazonaws.swf#Truncated", "traits": { "smithy.api#documentation": "If set to true, indicates that the actual count was more than the maximum supported by this API and the count returned is the truncated value.
" } } }, "traits": { "smithy.api#documentation": "Contains the count of tasks in a task list.
" } }, "com.amazonaws.swf#PollForActivityTask": { "type": "operation", "input": { "target": "com.amazonaws.swf#PollForActivityTaskInput" }, "output": { "target": "com.amazonaws.swf#ActivityTask" }, "errors": [ { "target": "com.amazonaws.swf#LimitExceededFault" }, { "target": "com.amazonaws.swf#OperationNotPermittedFault" }, { "target": "com.amazonaws.swf#UnknownResourceFault" } ], "traits": { "smithy.api#documentation": "Used by workers to get an ActivityTask from the specified activity\n taskList
. This initiates a long poll, where the service holds the HTTP\n connection open and responds as soon as a task becomes available. The maximum time the service\n holds on to the request before responding is 60 seconds. If no task is available within 60\n seconds, the poll returns an empty result. An empty result, in this context, means that an\n ActivityTask is returned, but that the value of taskToken is an empty string. If a task is\n returned, the 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\n seconds higher than the maximum time service may hold the poll request).
\n\n Access Control\n
\nYou can use IAM policies to control this action's access to Amazon SWF resources as\n follows:
\nUse a Resource
element with the domain name to limit the action to\n only specified domains.
Use an Action
element to allow or deny permission to call this\n action.
Constrain the taskList.name
parameter by using a\n Condition
element with the swf:taskList.name
key to allow the\n action to access only certain task lists.
If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause
parameter is set to OPERATION_NOT_PERMITTED
.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.
The name of the domain that contains the task lists being polled.
", "smithy.api#required": {} } }, "taskList": { "target": "com.amazonaws.swf#TaskList", "traits": { "smithy.api#documentation": "Specifies the task list to poll for activity tasks.
\n \nThe specified string must not start or end with whitespace. It must not contain a\n :
(colon), /
(slash), |
(vertical bar), or any\n control characters (\\u0000-\\u001f
| \\u007f-\\u009f
). Also, it must\n not be the literal string arn
.
Identity of the worker making the request, recorded in the\n ActivityTaskStarted
event in the workflow history. This enables diagnostic\n tracing when problems arise. The form of this identity is user defined.
Used by deciders to get a DecisionTask from the specified decision\n taskList
. A decision task may be returned for any open workflow execution that\n is using the specified task list. The task includes a paginated view of the history of the\n workflow execution. The decider should use the workflow type and the history to determine how\n to properly handle the task.
This action initiates a long poll, where the service holds the HTTP connection open and\n responds as soon a task becomes available. If no decision task is available in the specified\n task list before the timeout of 60 seconds expires, an empty result is returned. An empty\n result, in this context, means that a DecisionTask is returned, but that the value of\n taskToken is an empty string.
\nDeciders should set their client side socket timeout to at least 70 seconds (10\n seconds higher than the timeout).
\nBecause the number of workflow history events for a single workflow execution might\n be very large, the result returned might be split up across a number of pages. To retrieve\n subsequent pages, make additional calls to PollForDecisionTask
using the\n nextPageToken
returned by the initial call. Note that you do\n not call GetWorkflowExecutionHistory
with this\n nextPageToken
. Instead, call PollForDecisionTask
\n again.
\n Access Control\n
\nYou can use IAM policies to control this action's access to Amazon SWF resources as\n follows:
\nUse a Resource
element with the domain name to limit the action to\n only specified domains.
Use an Action
element to allow or deny permission to call this\n action.
Constrain the taskList.name
parameter by using a\n Condition
element with the swf:taskList.name
key to allow the\n action to access only certain task lists.
If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause
parameter is set to OPERATION_NOT_PERMITTED
.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.
The name of the domain containing the task lists to poll.
", "smithy.api#required": {} } }, "taskList": { "target": "com.amazonaws.swf#TaskList", "traits": { "smithy.api#documentation": "Specifies the task list to poll for decision tasks.
\n \nThe specified string must not start or end with whitespace. It must not contain a\n :
(colon), /
(slash), |
(vertical bar), or any\n control characters (\\u0000-\\u001f
| \\u007f-\\u009f
). Also, it must\n not be the literal string arn
.
Identity of the decider making the request, which is recorded in the\n DecisionTaskStarted event in the workflow history. This enables diagnostic tracing when\n problems arise. The form of this identity is user defined.
" } }, "nextPageToken": { "target": "com.amazonaws.swf#PageToken", "traits": { "smithy.api#documentation": "If NextPageToken
is returned there are more results\n available. The value of NextPageToken
is a unique pagination token for each page. Make the call again using \n the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires \n after 60 seconds. Using an expired pagination token will return a 400
error: \"Specified token has \n exceeded its maximum lifetime
\".
The configured maximumPageSize
determines how many results can be returned\n 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\n the next page of history records. Calling PollForDecisionTask with a\n nextPageToken
doesn't return a new decision task.
The maximum number of results that are returned per call.\n Use nextPageToken
to obtain further pages of results.
This\n is an upper limit only; the actual number of results returned per call may be fewer than the\n specified maximum.
" } }, "reverseOrder": { "target": "com.amazonaws.swf#ReverseOrder", "traits": { "smithy.api#documentation": "When set to true
, returns the events in reverse order. By default the\n results are returned in ascending order of the eventTimestamp
of the\n events.
Used by activity workers to report to the service that the ActivityTask represented by the specified taskToken
is still making progress. The worker\n can also specify details of the progress, for example percent complete, using the\n details
parameter. This action can also be used by the worker as a mechanism to\n check if cancellation is being requested for the activity task. If a cancellation is being\n attempted for the specified task, then the boolean cancelRequested
flag returned\n by the service is set to true
.
This action resets the taskHeartbeatTimeout
clock. The\n taskHeartbeatTimeout
is specified in RegisterActivityType.
This action doesn't in itself create an event in the workflow execution history.\n However, if the task times out, the workflow execution history contains a\n ActivityTaskTimedOut
event that contains the information from the last\n heartbeat generated by the activity worker.
The taskStartToCloseTimeout
of an activity type is the maximum duration\n 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\n task and to determine if a cancellation is being attempted.
\nIf the cancelRequested
flag returns true
, a cancellation is\n being attempted. If the worker can cancel the activity, it should respond with RespondActivityTaskCanceled. Otherwise, it should ignore the cancellation\n request.
\n Access Control\n
\nYou can use IAM policies to control this action's access to Amazon SWF resources as\n follows:
\nUse a Resource
element with the domain name to limit the action to\n only specified domains.
Use an Action
element to allow or deny permission to call this\n action.
You cannot use an IAM policy to constrain this action's parameters.
\nIf the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause
parameter is set to OPERATION_NOT_PERMITTED
.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.
The taskToken
of the ActivityTask.
\n taskToken
is generated by the service and should be treated as an opaque value.\n If the task is passed to another process, its taskToken
must also be passed.\n This enables it to provide its progress and respond with results.
If specified, contains details about the progress of the task.
" } } } }, "com.amazonaws.swf#RecordMarkerDecisionAttributes": { "type": "structure", "members": { "markerName": { "target": "com.amazonaws.swf#MarkerName", "traits": { "smithy.api#documentation": "\n The name of the marker.
", "smithy.api#required": {} } }, "details": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "\n The details of the marker.
" } } }, "traits": { "smithy.api#documentation": "Provides the details of the RecordMarker
decision.
\n Access Control\n
\nYou can use IAM policies to control this decision's access to Amazon SWF resources as follows:
\nUse a Resource
element with the domain name to limit the action to only\n specified domains.
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.
\nIf the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated event attribute's\n cause
parameter is set to OPERATION_NOT_PERMITTED
. For details and example IAM policies, see\n Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.
The marker's name.
", "smithy.api#required": {} } }, "cause": { "target": "com.amazonaws.swf#RecordMarkerFailedCause", "traits": { "smithy.api#documentation": "The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.
\nIf cause
is set to OPERATION_NOT_PERMITTED
, the decision failed\n because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows\n in the Amazon SWF Developer Guide.
The ID of the DecisionTaskCompleted
event corresponding to the decision task that resulted in the\n RecordMarkerFailed
decision for this cancellation request. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.
Provides the details of the RecordMarkerFailed
event.
Registers a new activity type along with its configuration\n settings in the specified domain.
\nA TypeAlreadyExists
fault is returned if the type already exists in the\n domain. You cannot change any configuration settings of the type after its registration, and\n it must be registered as a new version.
\n Access Control\n
\nYou can use IAM policies to control this action's access to Amazon SWF resources as\n follows:
\nUse a Resource
element with the domain name to limit the action to\n only specified domains.
Use an Action
element to allow or deny permission to call this\n action.
Constrain the following parameters by using a Condition
element with\n the appropriate keys.
\n defaultTaskList.name
: String constraint. The key is\n swf:defaultTaskList.name
.
\n name
: String constraint. The key is swf:name
.
\n version
: String constraint. The key is\n swf:version
.
If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause
parameter is set to OPERATION_NOT_PERMITTED
.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.
The name of the domain in which this activity is to be registered.
", "smithy.api#required": {} } }, "name": { "target": "com.amazonaws.swf#Name", "traits": { "smithy.api#documentation": "The name of the activity type within the domain.
\n \nThe specified string must not start or end with whitespace. It must not contain a\n :
(colon), /
(slash), |
(vertical bar), or any\n control characters (\\u0000-\\u001f
| \\u007f-\\u009f
). Also, it must\n not be the literal string arn
.
The version of the activity type.
\nThe activity type consists of the name and version, the combination of which must be\n unique within the domain.
\nThe specified string must not start or end with whitespace. It must not contain a\n :
(colon), /
(slash), |
(vertical bar), or any\n control characters (\\u0000-\\u001f
| \\u007f-\\u009f
). Also, it must\n not be the literal string arn
.
A textual description of the activity type.
" } }, "defaultTaskStartToCloseTimeout": { "target": "com.amazonaws.swf#DurationInSecondsOptional", "traits": { "smithy.api#documentation": "If set, specifies the default maximum duration that a worker can take to process tasks\n of this activity type. This default can be overridden when scheduling an activity task using\n the ScheduleActivityTask
\n Decision.
The duration is specified in seconds, an integer greater than or equal to\n 0
. You can use NONE
to specify unlimited duration.
If set, specifies the default maximum time before which a worker processing a task of\n this type must report progress by calling RecordActivityTaskHeartbeat. If\n the timeout is exceeded, the activity task is automatically timed out. This default can be\n overridden when scheduling an activity task using the ScheduleActivityTask
\n Decision. If the activity worker subsequently attempts to record a heartbeat\n or returns a result, the activity worker receives an UnknownResource
fault. In\n this case, Amazon SWF no longer considers the activity task to be valid; the activity worker should\n clean up the activity task.
The duration is specified in seconds, an integer greater than or equal to\n 0
. You can use NONE
to specify unlimited duration.
If set, specifies the default task list to use for scheduling tasks of this activity\n type. This default task list is used if a task list isn't provided when a task is scheduled\n through the ScheduleActivityTask
\n Decision.
The default task priority to assign to the activity type. If not assigned, then\n 0
is used. Valid values are integers that range from Java's\n Integer.MIN_VALUE
(-2147483648) to Integer.MAX_VALUE
(2147483647).\n Higher numbers indicate higher priority.
For more information about setting task priority, see Setting Task\n Priority in the in the\n Amazon SWF Developer Guide..
" } }, "defaultTaskScheduleToStartTimeout": { "target": "com.amazonaws.swf#DurationInSecondsOptional", "traits": { "smithy.api#documentation": "If set, specifies the default maximum duration that a task of this activity type can\n wait before being assigned to a worker. This default can be overridden when scheduling an\n activity task using the ScheduleActivityTask
\n Decision.
The duration is specified in seconds, an integer greater than or equal to\n 0
. You can use NONE
to specify unlimited duration.
If set, specifies the default maximum duration for a task of this activity type. This\n default can be overridden when scheduling an activity task using the\n ScheduleActivityTask
\n Decision.
The duration is specified in seconds, an integer greater than or equal to\n 0
. You can use NONE
to specify unlimited duration.
Registers a new domain.
\n\n Access Control\n
\nYou can use IAM policies to control this action's access to Amazon SWF resources as\n follows:
\nYou cannot use an IAM policy to control domain access for this action. The name of\n the domain being registered is available as the resource of this action.
\nUse an Action
element to allow or deny permission to call this\n action.
You cannot use an IAM policy to constrain this action's parameters.
\nIf the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause
parameter is set to OPERATION_NOT_PERMITTED
.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.
Name of the domain to register. The name must be unique in the region that the domain\n is registered in.
\n \nThe specified string must not start or end with whitespace. It must not contain a\n :
(colon), /
(slash), |
(vertical bar), or any\n control characters (\\u0000-\\u001f
| \\u007f-\\u009f
). Also, it must\n not be the literal string arn
.
A text description of the domain.
" } }, "workflowExecutionRetentionPeriodInDays": { "target": "com.amazonaws.swf#DurationInDays", "traits": { "smithy.api#documentation": "The duration (in days) that records and histories of workflow executions on the domain\n should be kept by the service. After the retention period, the workflow execution isn't\n available in the results of visibility calls.
\nIf you pass the value NONE
or 0
(zero), then the workflow\n execution history isn't retained. As soon as the workflow execution completes, the execution\n record and its history are deleted.
The maximum workflow execution retention period is 90 days. For more information about\n Amazon SWF service limits, see: Amazon SWF Service Limits in the\n Amazon SWF Developer Guide.
", "smithy.api#required": {} } }, "tags": { "target": "com.amazonaws.swf#ResourceTagList", "traits": { "smithy.api#documentation": "Tags to be added when registering a domain.
\nTags may only contain unicode letters, digits, whitespace, or these symbols: _ . : / = + - @
.
Registers a new workflow type and its configuration settings in\n the specified domain.
\nThe retention period for the workflow history is set by the RegisterDomain action.
\nIf the type already exists, then a TypeAlreadyExists
fault is returned.\n You cannot change the configuration settings of a workflow type once it is registered and it\n must be registered as a new version.
\n Access Control\n
\nYou can use IAM policies to control this action's access to Amazon SWF resources as\n follows:
\nUse a Resource
element with the domain name to limit the action to\n only specified domains.
Use an Action
element to allow or deny permission to call this\n action.
Constrain the following parameters by using a Condition
element with\n the appropriate keys.
\n defaultTaskList.name
: String constraint. The key is\n swf:defaultTaskList.name
.
\n name
: String constraint. The key is swf:name
.
\n version
: String constraint. The key is\n swf:version
.
If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause
parameter is set to OPERATION_NOT_PERMITTED
.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.
The name of the domain in which to register the workflow type.
", "smithy.api#required": {} } }, "name": { "target": "com.amazonaws.swf#Name", "traits": { "smithy.api#documentation": "The name of the workflow type.
\n \nThe specified string must not start or end with whitespace. It must not contain a\n :
(colon), /
(slash), |
(vertical bar), or any\n control characters (\\u0000-\\u001f
| \\u007f-\\u009f
). Also, it must\n not be the literal string arn
.
The version of the workflow type.
\nThe workflow type consists of the name and version, the combination of which must be\n unique within the domain. To get a list of all currently registered workflow types, use the\n ListWorkflowTypes action.
\nThe specified string must not start or end with whitespace. It must not contain a\n :
(colon), /
(slash), |
(vertical bar), or any\n control characters (\\u0000-\\u001f
| \\u007f-\\u009f
). Also, it must\n not be the literal string arn
.
Textual description of the workflow type.
" } }, "defaultTaskStartToCloseTimeout": { "target": "com.amazonaws.swf#DurationInSecondsOptional", "traits": { "smithy.api#documentation": "If set, specifies the default maximum duration of decision tasks for this workflow\n type. This default can be overridden when starting a workflow execution using the StartWorkflowExecution action or the StartChildWorkflowExecution
\n Decision.
The duration is specified in seconds, an integer greater than or equal to\n 0
. You can use NONE
to specify unlimited duration.
If set, specifies the default maximum duration for executions of this workflow type.\n You can override this default when starting an execution through the StartWorkflowExecution Action or StartChildWorkflowExecution
\n Decision.
The duration is specified in seconds; an integer greater than or equal to 0. Unlike\n some of the other timeout parameters in Amazon SWF, you cannot specify a value of \"NONE\" for\n defaultExecutionStartToCloseTimeout
; there is a one-year max limit on the time\n that a workflow execution can run. Exceeding this limit always causes the workflow execution\n to time out.
If set, specifies the default task list to use for scheduling decision tasks for\n executions of this workflow type. This default is used only if a task list isn't provided when\n starting the execution through the StartWorkflowExecution Action or\n StartChildWorkflowExecution
\n Decision.
The default task priority to assign to the workflow type. If not assigned, then\n 0
is used. Valid values are integers that range from Java's\n Integer.MIN_VALUE
(-2147483648) to Integer.MAX_VALUE
(2147483647).\n Higher numbers indicate higher priority.
For more information about setting task priority, see Setting Task\n Priority in the Amazon SWF Developer Guide.
" } }, "defaultChildPolicy": { "target": "com.amazonaws.swf#ChildPolicy", "traits": { "smithy.api#documentation": "If set, specifies the default policy to use for the child workflow executions when a\n workflow execution of this type is terminated, by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout. This\n default can be overridden when starting a workflow execution using the StartWorkflowExecution action or the StartChildWorkflowExecution
\n Decision.
The supported child policies are:
\n\n TERMINATE
– The child executions are terminated.
\n REQUEST_CANCEL
– A request to cancel is attempted for each child\n execution by recording a WorkflowExecutionCancelRequested
event in its\n history. It is up to the decider to take appropriate actions when it receives an execution\n history with this event.
\n ABANDON
– No action is taken. The child executions continue to\n run.
The default IAM role attached to this workflow type.
\nExecutions of this workflow type need IAM roles to invoke Lambda functions. If you\n don't specify an IAM role when you start this workflow type, the default Lambda role is\n attached to the execution. For more information, see https://docs.aws.amazon.com/amazonswf/latest/developerguide/lambda-task.html in the\n Amazon SWF Developer Guide.
\nThe activityId
of the activity task to be canceled.
Provides the details of the RequestCancelActivityTask
decision.
\n Access Control\n
\nYou can use IAM policies to control this decision's access to Amazon SWF resources as follows:
\nUse a Resource
element with the domain name to limit the action to only\n specified domains.
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.
\nIf the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated event attribute's\n cause
parameter is set to OPERATION_NOT_PERMITTED
. For details and example IAM policies, see\n Using IAM to Manage Access to Amazon SWF Workflows\n in the Amazon SWF Developer Guide.
The activityId provided in the RequestCancelActivityTask
decision that failed.
The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.
\nIf cause
is set to OPERATION_NOT_PERMITTED
, the decision failed\n because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows\n in the Amazon SWF Developer Guide.
The ID of the DecisionTaskCompleted
event corresponding to the decision task that resulted in the\n RequestCancelActivityTask
decision for this cancellation request. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.
Provides the details of the RequestCancelActivityTaskFailed
event.
\n The workflowId
of the external workflow execution to cancel.
The runId
of the external workflow execution to cancel.
The data attached to the event that can be used by the decider in subsequent workflow tasks.
" } } }, "traits": { "smithy.api#documentation": "Provides the details of the RequestCancelExternalWorkflowExecution
decision.
\n Access Control\n
\nYou can use IAM policies to control this decision's access to Amazon SWF resources as follows:
\nUse a Resource
element with the domain name to limit the action to only\n specified domains.
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.
\nIf the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated event attribute's\n cause
parameter is set to OPERATION_NOT_PERMITTED
. For details and example IAM policies, see\n Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.
The workflowId
of the external workflow to which the cancel request was to be delivered.
The runId
of the external workflow execution.
The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.
\nIf cause
is set to OPERATION_NOT_PERMITTED
, the decision failed\n because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows\n in the Amazon SWF Developer Guide.
The ID of the RequestCancelExternalWorkflowExecutionInitiated
event corresponding to the\n RequestCancelExternalWorkflowExecution
decision to cancel this external workflow execution. This\n information can be useful for diagnosing problems by tracing back the chain of events leading up to this\n event.
The ID of the DecisionTaskCompleted
event corresponding to the decision task that resulted in the\n RequestCancelExternalWorkflowExecution
decision for this cancellation request. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.
The data attached to the event that the decider can use in subsequent workflow tasks.\n This data isn't sent to the workflow execution.
" } } }, "traits": { "smithy.api#documentation": "Provides the details of the RequestCancelExternalWorkflowExecutionFailed
event.
The workflowId
of the external workflow execution to be canceled.
The runId
of the external workflow execution to be canceled.
The ID of the DecisionTaskCompleted
event corresponding to the decision task that resulted in the\n RequestCancelExternalWorkflowExecution
decision for this cancellation request.\n This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.
Data attached to the event that can be used by the decider in subsequent workflow tasks.
" } } }, "traits": { "smithy.api#documentation": "Provides the details of the RequestCancelExternalWorkflowExecutionInitiated
event.
Records a WorkflowExecutionCancelRequested
event in the currently running\n workflow execution identified by the given domain, workflowId, and runId. This logically\n requests the cancellation of the workflow execution as a whole. It is up to the decider to\n take appropriate actions when it receives an execution history with this event.
If the runId isn't specified, the WorkflowExecutionCancelRequested
event\n is recorded in the history of the current open workflow execution with the specified\n workflowId in the domain.
Because this action allows the workflow to properly clean up and gracefully close, it\n should be used instead of TerminateWorkflowExecution when\n possible.
\n\n Access Control\n
\nYou can use IAM policies to control this action's access to Amazon SWF resources as\n follows:
\nUse a Resource
element with the domain name to limit the action to\n only specified domains.
Use an Action
element to allow or deny permission to call this\n action.
You cannot use an IAM policy to constrain this action's parameters.
\nIf the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause
parameter is set to OPERATION_NOT_PERMITTED
.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.
The name of the domain containing the workflow execution to cancel.
", "smithy.api#required": {} } }, "workflowId": { "target": "com.amazonaws.swf#WorkflowId", "traits": { "smithy.api#documentation": "The workflowId of the workflow execution to cancel.
", "smithy.api#required": {} } }, "runId": { "target": "com.amazonaws.swf#WorkflowRunIdOptional", "traits": { "smithy.api#documentation": "The runId of the workflow execution to cancel.
" } } } }, "com.amazonaws.swf#ResourceTag": { "type": "structure", "members": { "key": { "target": "com.amazonaws.swf#ResourceTagKey", "traits": { "smithy.api#documentation": "The key of a tag.
", "smithy.api#required": {} } }, "value": { "target": "com.amazonaws.swf#ResourceTagValue", "traits": { "smithy.api#documentation": "The value of a tag.
" } } }, "traits": { "smithy.api#documentation": "Tags are key-value pairs that can be associated with Amazon SWF state machines and\n activities.
\nTags may only contain unicode letters, digits, whitespace, or these symbols: _ . : / = + - @
.
Used by workers to tell the service that the ActivityTask identified\n by the taskToken
was successfully canceled. Additional details
can\n be provided using the details
argument.
These details
(if provided) appear in the\n ActivityTaskCanceled
event added to the workflow history.
Only use this operation if the canceled
flag of a RecordActivityTaskHeartbeat request returns true
and if the\n activity can be safely undone or abandoned.
A task is considered open from the time that it is scheduled until it is closed.\n Therefore a task is reported as open while a worker is processing it. A task is closed after\n it has been specified in a call to RespondActivityTaskCompleted,\n RespondActivityTaskCanceled, RespondActivityTaskFailed, or the task has\n timed\n out.
\n\n\n Access Control\n
\nYou can use IAM policies to control this action's access to Amazon SWF resources as\n follows:
\nUse a Resource
element with the domain name to limit the action to\n only specified domains.
Use an Action
element to allow or deny permission to call this\n action.
You cannot use an IAM policy to constrain this action's parameters.
\nIf the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause
parameter is set to OPERATION_NOT_PERMITTED
.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.
The taskToken
of the ActivityTask.
\n taskToken
is generated by the service and should be treated as an opaque value.\n If the task is passed to another process, its taskToken
must also be passed.\n This enables it to provide its progress and respond with results.
Information about the cancellation.
" } } } }, "com.amazonaws.swf#RespondActivityTaskCompleted": { "type": "operation", "input": { "target": "com.amazonaws.swf#RespondActivityTaskCompletedInput" }, "errors": [ { "target": "com.amazonaws.swf#OperationNotPermittedFault" }, { "target": "com.amazonaws.swf#UnknownResourceFault" } ], "traits": { "smithy.api#documentation": "Used by workers to tell the service that the ActivityTask identified\n by the taskToken
completed successfully with a result
(if provided).\n The result
appears in the ActivityTaskCompleted
event in the\n workflow history.
If the requested task doesn't complete successfully, use RespondActivityTaskFailed instead. If the worker finds that the task is\n canceled through the canceled
flag returned by RecordActivityTaskHeartbeat, it should cancel the task, clean up and then call\n RespondActivityTaskCanceled.
A task is considered open from the time that it is scheduled until it is closed.\n Therefore a task is reported as open while a worker is processing it. A task is closed after\n it has been specified in a call to RespondActivityTaskCompleted, RespondActivityTaskCanceled, RespondActivityTaskFailed, or the\n task has timed\n out.
\n\n\n Access Control\n
\nYou can use IAM policies to control this action's access to Amazon SWF resources as\n follows:
\nUse a Resource
element with the domain name to limit the action to\n only specified domains.
Use an Action
element to allow or deny permission to call this\n action.
You cannot use an IAM policy to constrain this action's parameters.
\nIf the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause
parameter is set to OPERATION_NOT_PERMITTED
.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.
The taskToken
of the ActivityTask.
\n taskToken
is generated by the service and should be treated as an opaque value.\n If the task is passed to another process, its taskToken
must also be passed.\n This enables it to provide its progress and respond with results.
The result of the activity task. It is a free form string that is implementation\n specific.
" } } } }, "com.amazonaws.swf#RespondActivityTaskFailed": { "type": "operation", "input": { "target": "com.amazonaws.swf#RespondActivityTaskFailedInput" }, "errors": [ { "target": "com.amazonaws.swf#OperationNotPermittedFault" }, { "target": "com.amazonaws.swf#UnknownResourceFault" } ], "traits": { "smithy.api#documentation": "Used by workers to tell the service that the ActivityTask identified\n by the taskToken
has failed with reason
(if specified). The\n reason
and details
appear in the ActivityTaskFailed
\n event added to the workflow history.
A task is considered open from the time that it is scheduled until it is closed.\n Therefore a task is reported as open while a worker is processing it. A task is closed after\n it has been specified in a call to RespondActivityTaskCompleted, RespondActivityTaskCanceled, RespondActivityTaskFailed, or the task has timed\n out.
\n\n\n Access Control\n
\nYou can use IAM policies to control this action's access to Amazon SWF resources as\n follows:
\nUse a Resource
element with the domain name to limit the action to\n only specified domains.
Use an Action
element to allow or deny permission to call this\n action.
You cannot use an IAM policy to constrain this action's parameters.
\nIf the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause
parameter is set to OPERATION_NOT_PERMITTED
.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.
The taskToken
of the ActivityTask.
\n taskToken
is generated by the service and should be treated as an opaque value.\n If the task is passed to another process, its taskToken
must also be passed.\n This enables it to provide its progress and respond with results.
Description of the error that may assist in diagnostics.
" } }, "details": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "Detailed information about the failure.
" } } } }, "com.amazonaws.swf#RespondDecisionTaskCompleted": { "type": "operation", "input": { "target": "com.amazonaws.swf#RespondDecisionTaskCompletedInput" }, "errors": [ { "target": "com.amazonaws.swf#OperationNotPermittedFault" }, { "target": "com.amazonaws.swf#UnknownResourceFault" } ], "traits": { "smithy.api#documentation": "Used by deciders to tell the service that the DecisionTask identified\n by the taskToken
has successfully completed. The decisions
argument\n specifies the list of decisions made while processing the task.
A DecisionTaskCompleted
event is added to the workflow history. The\n executionContext
specified is attached to the event in the workflow execution\n history.
\n Access Control\n
\n\nIf an IAM policy grants permission to use RespondDecisionTaskCompleted
, it\n can express permissions for the list of decisions in the decisions
parameter.\n Each of the decisions has one or more parameters, much like a regular API call. To allow for\n policies to be as readable as possible, you can express permissions on decisions as if they\n were actual API calls, including applying conditions to some parameters. For more information,\n see Using\n IAM to Manage Access to Amazon SWF Workflows in the\n Amazon SWF Developer Guide.
The taskToken
from the DecisionTask.
\n taskToken
is generated by the service and should be treated as an opaque value.\n If the task is passed to another process, its taskToken
must also be passed.\n This enables it to provide its progress and respond with results.
The list of decisions (possibly empty) made by the decider while processing this\n decision task. See the docs for the Decision structure for\n details.
" } }, "executionContext": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "User defined context to add to workflow execution.
" } } }, "traits": { "smithy.api#documentation": "Input data for a TaskCompleted response to a decision task.
" } }, "com.amazonaws.swf#ReverseOrder": { "type": "boolean" }, "com.amazonaws.swf#Run": { "type": "structure", "members": { "runId": { "target": "com.amazonaws.swf#WorkflowRunId", "traits": { "smithy.api#documentation": "The runId
of a workflow execution. This ID is generated by the service and\n can be used to uniquely identify the workflow execution within a domain.
Specifies the runId
of a workflow execution.
\n The type of the activity task to schedule.
", "smithy.api#required": {} } }, "activityId": { "target": "com.amazonaws.swf#ActivityId", "traits": { "smithy.api#documentation": "\n The activityId
of the activity task.
The specified string must not start or end with whitespace. It must not contain a :
\n (colon), /
(slash), |
(vertical bar), or any control characters (\\u0000-\\u001f
| \\u007f-\\u009f
). Also, it must not contain the literal string arn
.
Data attached to the event that can be used by the decider in subsequent workflow tasks. This data isn't sent to the activity.
" } }, "input": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "The input provided to the activity task.
" } }, "scheduleToCloseTimeout": { "target": "com.amazonaws.swf#DurationInSecondsOptional", "traits": { "smithy.api#documentation": "The maximum duration for this activity task.
\nThe duration is specified in seconds, an integer greater than or equal to 0
. You can use NONE
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 is returned.
\nIf set, specifies the name of the task list in which to schedule the activity task. If not specified, the\n defaultTaskList
registered with the activity type is used.
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 is returned.
\nThe specified string must not start or end with whitespace. It must not contain a :
\n (colon), /
(slash), |
(vertical bar), or any control characters (\\u0000-\\u001f
| \\u007f-\\u009f
). Also, it must not contain the literal string arn
.
\n If set, specifies the priority with which the activity task is to be assigned to a worker. This\n overrides the defaultTaskPriority specified when registering the activity type using RegisterActivityType.\n Valid values are integers that range from Java's Integer.MIN_VALUE
\n (-2147483648) to Integer.MAX_VALUE
(2147483647). Higher numbers indicate higher priority.
For more information about setting task priority, see Setting Task Priority in the Amazon SWF Developer Guide.
" } }, "scheduleToStartTimeout": { "target": "com.amazonaws.swf#DurationInSecondsOptional", "traits": { "smithy.api#documentation": "\n If set, specifies the maximum duration the activity task can wait to be assigned to a worker.\n This overrides the default schedule-to-start timeout specified when registering the activity type using\n RegisterActivityType.
\nThe duration is specified in seconds, an integer greater than or equal to 0
. You can use NONE
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 is returned.
\nIf set, specifies the maximum duration a worker may take to process this activity task. This overrides the\n default start-to-close timeout specified when registering the activity type using RegisterActivityType.
\nThe duration is specified in seconds, an integer greater than or equal to 0
. You can use NONE
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 is returned.
\nIf set, specifies the maximum time before which a worker processing a task of this type must report progress by\n calling RecordActivityTaskHeartbeat. If the timeout is exceeded, the activity task is automatically timed\n out. If the worker subsequently attempts to record a heartbeat or returns a result, it is ignored. This\n overrides the default heartbeat timeout specified when registering the activity type using\n RegisterActivityType.
\nThe duration is specified in seconds, an integer greater than or equal to 0
. You can use NONE
to specify unlimited duration.
Provides the details of the ScheduleActivityTask
decision.
\n Access Control\n
\nYou can use IAM policies to control this decision's access to Amazon SWF resources as follows:
\nUse a Resource
element with the domain name to limit the action to only\n 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\n appropriate keys.
\n activityType.name
– String constraint. The key is swf:activityType.name
.
\n activityType.version
– String constraint. The key is swf:activityType.version
.
\n taskList
– String constraint. The key is swf:taskList.name
.
If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated event attribute's\n cause
parameter is set to OPERATION_NOT_PERMITTED
. For details and example IAM policies, see\n Using IAM to Manage Access to Amazon SWF Workflows\n in the Amazon SWF Developer Guide.
The activity type provided in the ScheduleActivityTask
decision that failed.
The activityId provided in the ScheduleActivityTask
decision that failed.
The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.
\nIf cause
is set to OPERATION_NOT_PERMITTED
, the decision failed\n because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows\n in the Amazon SWF Developer Guide.
The ID of the DecisionTaskCompleted
event corresponding to the decision that resulted in the\n scheduling of this activity task. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.
Provides the details of the ScheduleActivityTaskFailed
event.
A string that identifies the Lambda function execution in the event history.
", "smithy.api#required": {} } }, "name": { "target": "com.amazonaws.swf#FunctionName", "traits": { "smithy.api#documentation": "The name, or ARN, of the Lambda function to schedule.
", "smithy.api#required": {} } }, "control": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "The data attached to the event that the decider can use in subsequent workflow tasks.\n This data isn't sent to the Lambda task.
" } }, "input": { "target": "com.amazonaws.swf#FunctionInput", "traits": { "smithy.api#documentation": "The optional input data to be supplied to the Lambda function.
" } }, "startToCloseTimeout": { "target": "com.amazonaws.swf#DurationInSecondsOptional", "traits": { "smithy.api#documentation": "The timeout value, in seconds, after which the Lambda function is considered to be failed once it has started. This can be any integer from 1-300 (1s-5m). If no value is supplied, than a default value of 300s is assumed.
" } } }, "traits": { "smithy.api#documentation": "Decision attributes specified in scheduleLambdaFunctionDecisionAttributes
within the list of\n decisions decisions
passed to RespondDecisionTaskCompleted.
The ID provided in the ScheduleLambdaFunction
decision that failed.\n
The name of the Lambda function.
", "smithy.api#required": {} } }, "cause": { "target": "com.amazonaws.swf#ScheduleLambdaFunctionFailedCause", "traits": { "smithy.api#documentation": "The cause of the failure. To help diagnose issues, use this information to trace back the chain of events leading up to this event.
\nIf cause
is set to OPERATION_NOT_PERMITTED
, the decision\n failed because it lacked sufficient permissions. For details and example IAM policies, see\n Using\n IAM to Manage Access to Amazon SWF Workflows in the\n Amazon SWF Developer Guide.
The ID of the LambdaFunctionCompleted
event corresponding to the decision\n that resulted in scheduling this Lambda task. To help diagnose issues, use this information to trace back the chain of events leading up to this event.
Provides the details of the ScheduleLambdaFunctionFailed
event. It isn't\n set for other event types.
\n The workflowId
of the workflow execution to be signaled.
The runId
of the workflow execution to be signaled.
\n The name of the signal.The target workflow execution uses the signal name and input to\n process the signal.
", "smithy.api#required": {} } }, "input": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "\n The input data to be provided with the signal. The target workflow execution uses the signal\n name and input data to process the signal.
" } }, "control": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "The data attached to the event that can be used by the decider in subsequent decision tasks.
" } } }, "traits": { "smithy.api#documentation": "Provides the details of the SignalExternalWorkflowExecution
decision.
\n Access Control\n
\nYou can use IAM policies to control this decision's access to Amazon SWF resources as follows:
\nUse a Resource
element with the domain name to limit the action to only\n specified domains.
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.
\nIf the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated event attribute's\n cause
parameter is set to OPERATION_NOT_PERMITTED
. For details and example IAM policies, see\n Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.
The workflowId
of the external workflow execution that the signal was being delivered to.
The runId
of the external workflow execution that the signal was being delivered to.
The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.
\nIf cause
is set to OPERATION_NOT_PERMITTED
, the decision failed\n because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows\n in the Amazon SWF Developer Guide.
The ID of the SignalExternalWorkflowExecutionInitiated
event corresponding to the\n SignalExternalWorkflowExecution
decision to request this signal. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.
The ID of the DecisionTaskCompleted
event corresponding to the decision task that resulted in the\n SignalExternalWorkflowExecution
decision for this signal. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.
The data attached to the event that the decider can use in subsequent workflow tasks.\n This data isn't sent to the workflow execution.
" } } }, "traits": { "smithy.api#documentation": "Provides the details of the SignalExternalWorkflowExecutionFailed
event.
The workflowId
of the external workflow execution.
The runId
of the external workflow execution to send the signal to.
The name of the signal.
", "smithy.api#required": {} } }, "input": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "The input provided to the signal.
" } }, "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "The ID of the DecisionTaskCompleted
event corresponding to the decision task that resulted in the\n SignalExternalWorkflowExecution
decision for this signal. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.
Data attached to the event that can be used by the decider in subsequent decision tasks.
" } } }, "traits": { "smithy.api#documentation": "Provides the details of the SignalExternalWorkflowExecutionInitiated
event.
Records a WorkflowExecutionSignaled
event in the workflow execution\n history and creates a decision task for the workflow execution identified by the given domain,\n workflowId and runId. The event is recorded with the specified user defined signalName and\n input (if provided).
If a runId isn't specified, then the WorkflowExecutionSignaled
event is\n recorded in the history of the current open workflow with the matching workflowId in the\n domain.
If the specified workflow execution isn't open, this method fails with\n UnknownResource
.
\n Access Control\n
\nYou can use IAM policies to control this action's access to Amazon SWF resources as\n follows:
\nUse a Resource
element with the domain name to limit the action to\n only specified domains.
Use an Action
element to allow or deny permission to call this\n action.
You cannot use an IAM policy to constrain this action's parameters.
\nIf the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause
parameter is set to OPERATION_NOT_PERMITTED
.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.
The name of the domain containing the workflow execution to signal.
", "smithy.api#required": {} } }, "workflowId": { "target": "com.amazonaws.swf#WorkflowId", "traits": { "smithy.api#documentation": "The workflowId of the workflow execution to signal.
", "smithy.api#required": {} } }, "runId": { "target": "com.amazonaws.swf#WorkflowRunIdOptional", "traits": { "smithy.api#documentation": "The runId of the workflow execution to signal.
" } }, "signalName": { "target": "com.amazonaws.swf#SignalName", "traits": { "smithy.api#documentation": "The name of the signal. This name must be meaningful to the target workflow.
", "smithy.api#required": {} } }, "input": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "Data to attach to the WorkflowExecutionSignaled
event in the target\n workflow execution's history.
The Amazon Simple Workflow Service (Amazon SWF) makes it easy to build applications that use Amazon's cloud to\n coordinate work across distributed components. In Amazon SWF, a task\n represents a logical unit of work that is performed by a component of your workflow.\n Coordinating tasks in a workflow involves managing intertask dependencies, scheduling, and \n concurrency in accordance with the logical flow of the application.
\n\nAmazon SWF gives you full control over implementing tasks and coordinating them without\n worrying about underlying complexities such as tracking their progress and maintaining their\n state.
\n\nThis documentation serves as reference only. For a broader overview of the Amazon SWF\n programming model, see the \n Amazon SWF Developer Guide\n .
", "smithy.api#title": "Amazon Simple Workflow Service", "smithy.api#xmlNamespace": { "uri": "http://swf.amazonaws.com/doc/2012-01-25" } } }, "com.amazonaws.swf#StartChildWorkflowExecutionDecisionAttributes": { "type": "structure", "members": { "workflowType": { "target": "com.amazonaws.swf#WorkflowType", "traits": { "smithy.api#documentation": "\n The type of the workflow execution to be started.
", "smithy.api#required": {} } }, "workflowId": { "target": "com.amazonaws.swf#WorkflowId", "traits": { "smithy.api#documentation": "\n The workflowId
of the workflow execution.
The specified string must not start or end with whitespace. It must not contain a :
\n (colon), /
(slash), |
(vertical bar), or any control characters (\\u0000-\\u001f
| \\u007f-\\u009f
). Also, it must not contain the literal string arn
.
The data attached to the event that can be used by the decider in subsequent workflow tasks. This data isn't sent to the child workflow execution.
" } }, "input": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "The input to be provided to the workflow execution.
" } }, "executionStartToCloseTimeout": { "target": "com.amazonaws.swf#DurationInSecondsOptional", "traits": { "smithy.api#documentation": "The total duration for this workflow execution. This overrides the defaultExecutionStartToCloseTimeout specified when registering the workflow type.
\nThe duration is specified in seconds, an integer greater than or equal to 0
. You can use NONE
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 is returned.
\nThe name of the task list to be used for decision tasks of the child workflow execution.
\nA 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 is returned.
\nThe specified string must not start or end with whitespace. It must not contain a :
\n (colon), /
(slash), |
(vertical bar), or any control characters (\\u0000-\\u001f
| \\u007f-\\u009f
). Also, it must not contain the literal string arn
.
\n A task priority that, if set, specifies the priority for a decision task of this workflow\n execution. This overrides the defaultTaskPriority specified when registering the workflow type.\n Valid values are integers that range from Java's Integer.MIN_VALUE
\n (-2147483648) to Integer.MAX_VALUE
(2147483647). Higher numbers indicate higher priority.
For more information about setting task priority, see Setting Task Priority in the Amazon SWF Developer Guide.
" } }, "taskStartToCloseTimeout": { "target": "com.amazonaws.swf#DurationInSecondsOptional", "traits": { "smithy.api#documentation": "Specifies the maximum duration of decision tasks for this workflow execution. This parameter overrides the\n defaultTaskStartToCloseTimout
specified when registering the workflow type using\n RegisterWorkflowType.
The duration is specified in seconds, an integer greater than or equal to 0
. You can use NONE
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 is returned.
\n\n If set, specifies the policy to use for the child workflow executions if the workflow execution\n being started is terminated by calling the TerminateWorkflowExecution action explicitly or due to an\n expired timeout. This policy overrides the default child policy specified when registering the workflow type using\n RegisterWorkflowType.
\nThe supported child policies are:
\n\n TERMINATE
– The child executions are terminated.
\n REQUEST_CANCEL
– A request to cancel is attempted for each child\n execution by recording a WorkflowExecutionCancelRequested
event in its history. It is up to the decider\n to take appropriate actions when it receives an execution history with this event.
\n ABANDON
– No action is taken. The child executions 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 is returned.
\nThe list of tags to associate with the child workflow execution. A maximum of 5 tags can be specified. You can\n list workflow executions with a specific tag by calling ListOpenWorkflowExecutions or\n ListClosedWorkflowExecutions and specifying a TagFilter.
" } }, "lambdaRole": { "target": "com.amazonaws.swf#Arn", "traits": { "smithy.api#documentation": "The IAM role attached to the child workflow execution.
" } } }, "traits": { "smithy.api#documentation": "Provides the details of the StartChildWorkflowExecution
decision.
\n Access Control\n
\nYou can use IAM policies to control this decision's access to Amazon SWF resources as follows:
\nUse a Resource
element with the domain name to limit the action to only\n 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\n appropriate keys.
\n tagList.member.N
– The key is \"swf:tagList.N\" where N is the tag number from 0 to 4,\n inclusive.
\n taskList
– String constraint. The key is swf:taskList.name
.
\n workflowType.name
– String constraint. The key is swf:workflowType.name
.
\n workflowType.version
– String constraint. The key is swf:workflowType.version
.
If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated event attribute's\n cause
parameter is set to OPERATION_NOT_PERMITTED
. For details and example IAM policies, see\n Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.
The workflow type provided in the StartChildWorkflowExecution
\n Decision that failed.
The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.
\nWhen cause
is set to OPERATION_NOT_PERMITTED
, the decision fails because it lacks sufficient permissions. \n For details and example IAM policies, see \n Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.
The workflowId
of the child workflow execution.
When the cause
is WORKFLOW_ALREADY_RUNNING
, initiatedEventId
is the ID of the StartChildWorkflowExecutionInitiated
\n event that corresponds to the StartChildWorkflowExecution
\n Decision to start the workflow execution. You can use this information to diagnose\n problems by tracing back the chain of events leading up to this event.
When the cause
isn't WORKFLOW_ALREADY_RUNNING
, initiatedEventId
is set to 0
because the \n StartChildWorkflowExecutionInitiated
event doesn't exist.
The ID of the DecisionTaskCompleted
event corresponding to the decision task that resulted in the StartChildWorkflowExecution
\n Decision to request this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events.
The data attached to the event that the decider can use in subsequent workflow tasks.\n This data isn't sent to the child workflow execution.
" } } }, "traits": { "smithy.api#documentation": "Provides the details of the StartChildWorkflowExecutionFailed
event.
The workflowId
of the child workflow execution.
The type of the child workflow execution.
", "smithy.api#required": {} } }, "control": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "Data attached to the event that can be used by the decider in subsequent decision tasks. This data isn't sent to the activity.
" } }, "input": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "The inputs provided to the child workflow execution.
" } }, "executionStartToCloseTimeout": { "target": "com.amazonaws.swf#DurationInSecondsOptional", "traits": { "smithy.api#documentation": "The maximum duration for the child workflow execution. If the workflow execution isn't closed within this duration, it is timed out and force-terminated.
\nThe duration is specified in seconds, an integer greater than or equal to 0
. You can use NONE
to specify unlimited duration.
The name of the task list used for the decision tasks of the child workflow execution.
", "smithy.api#required": {} } }, "taskPriority": { "target": "com.amazonaws.swf#TaskPriority", "traits": { "smithy.api#documentation": "\n The priority assigned for the decision tasks for this workflow execution.\n Valid values are integers that range from Java's Integer.MIN_VALUE
\n (-2147483648) to Integer.MAX_VALUE
(2147483647). Higher numbers indicate higher priority.
For more information about setting task priority, see Setting Task Priority in the Amazon SWF Developer Guide.
" } }, "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "The ID of the DecisionTaskCompleted
event corresponding to the decision task that resulted in the\n StartChildWorkflowExecution
\n Decision to request this child workflow execution. This\n information can be useful for diagnosing problems by tracing back the cause of events.
The policy to use for the child workflow executions if this execution gets terminated by explicitly calling the\n TerminateWorkflowExecution action or due to an expired timeout.
\nThe supported child policies are:
\n\n TERMINATE
– The child executions are terminated.
\n REQUEST_CANCEL
– A request to cancel is attempted for each child\n execution by recording a WorkflowExecutionCancelRequested
event in its history. It is up to the decider\n to take appropriate actions when it receives an execution history with this event.
\n ABANDON
– No action is taken. The child executions continue to run.
The maximum duration allowed for the decision tasks for this workflow execution.
\nThe duration is specified in seconds, an integer greater than or equal to 0
. You can use NONE
to specify unlimited duration.
The list of tags to associated with the child workflow execution.
" } }, "lambdaRole": { "target": "com.amazonaws.swf#Arn", "traits": { "smithy.api#documentation": "The IAM role to attach to the child workflow execution.
" } } }, "traits": { "smithy.api#documentation": "Provides the details of the StartChildWorkflowExecutionInitiated
event.
The ID of the ActivityTaskScheduled
event that was recorded when this\n activity task was scheduled. To help diagnose issues, use this information to trace back the chain of events leading up to this event.
The cause of the failure. To help diagnose issues, use this information to trace back the chain of events leading up to this event.
\nIf cause
is set to OPERATION_NOT_PERMITTED
, the decision\n failed because the IAM role attached to the execution lacked sufficient permissions. For\n details and example IAM policies, see Lambda Tasks in the\n Amazon SWF Developer Guide.
A description that can help diagnose the cause of the fault.
" } } }, "traits": { "smithy.api#documentation": "Provides the details of the StartLambdaFunctionFailed
event. It isn't set\n for other event types.
\n The unique ID of the timer.
\nThe specified string must not start or end with whitespace. It must not contain a :
\n (colon), /
(slash), |
(vertical bar), or any control characters (\\u0000-\\u001f
| \\u007f-\\u009f
). Also, it must not contain the literal string arn
.
The data attached to the event that can be used by the decider in subsequent workflow tasks.
" } }, "startToFireTimeout": { "target": "com.amazonaws.swf#DurationInSeconds", "traits": { "smithy.api#documentation": "\n The duration to wait before firing the timer.
\nThe duration is specified in seconds, an integer greater than or equal to 0
.
Provides the details of the StartTimer
decision.
\n Access Control\n
\nYou can use IAM policies to control this decision's access to Amazon SWF resources as follows:
\nUse a Resource
element with the domain name to limit the action to only\n specified domains.
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.
\nIf the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated event attribute's\n cause
parameter is set to OPERATION_NOT_PERMITTED
. For details and example IAM policies, see\n Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.
The timerId provided in the StartTimer
decision that failed.
The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.
\nIf cause
is set to OPERATION_NOT_PERMITTED
, the decision failed\n because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows\n in the Amazon SWF Developer Guide.
The ID of the DecisionTaskCompleted
event corresponding to the decision task that resulted in the\n StartTimer
decision for this activity task. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.
Provides the details of the StartTimerFailed
event.
Starts an execution of the workflow type in the specified domain using the provided\n workflowId
and input data.
This action returns the newly started workflow execution.
\n\n\n Access Control\n
\nYou can use IAM policies to control this action's access to Amazon SWF resources as\n follows:
\nUse a Resource
element with the domain name to limit the action to\n only specified domains.
Use an Action
element to allow or deny permission to call this\n action.
Constrain the following parameters by using a Condition
element with\n the appropriate keys.
\n tagList.member.0
: The key is swf:tagList.member.0
.
\n tagList.member.1
: The key is swf:tagList.member.1
.
\n tagList.member.2
: The key is swf:tagList.member.2
.
\n tagList.member.3
: The key is swf:tagList.member.3
.
\n tagList.member.4
: The key is swf:tagList.member.4
.
\n taskList
: String constraint. The key is\n swf:taskList.name
.
\n workflowType.name
: String constraint. The key is\n swf:workflowType.name
.
\n workflowType.version
: String constraint. The key is\n swf:workflowType.version
.
If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause
parameter is set to OPERATION_NOT_PERMITTED
.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.
The name of the domain in which the workflow execution is created.
", "smithy.api#required": {} } }, "workflowId": { "target": "com.amazonaws.swf#WorkflowId", "traits": { "smithy.api#documentation": "The user defined identifier associated with the workflow execution. You can use this to\n associate a custom identifier with the workflow execution. You may specify the same identifier\n if a workflow execution is logically a restart of a previous execution.\n You cannot have two open workflow executions with the same workflowId
at the same\n time within the same domain.
The specified string must not start or end with whitespace. It must not contain a\n :
(colon), /
(slash), |
(vertical bar), or any\n control characters (\\u0000-\\u001f
| \\u007f-\\u009f
). Also, it must\n not be the literal string arn
.
The type of the workflow to start.
", "smithy.api#required": {} } }, "taskList": { "target": "com.amazonaws.swf#TaskList", "traits": { "smithy.api#documentation": "The task list to use for the decision tasks generated for this workflow execution. This\n overrides the defaultTaskList
specified when registering the workflow\n type.
A task list for this workflow execution must be specified either as a default for the\n workflow type or through this parameter. If neither this parameter is set nor a default task\n list was specified at registration time then a fault is returned.
\nThe specified string must not start or end with whitespace. It must not contain a\n :
(colon), /
(slash), |
(vertical bar), or any\n control characters (\\u0000-\\u001f
| \\u007f-\\u009f
). Also, it must\n not be the literal string arn
.
The task priority to use for this workflow execution. This overrides any default\n priority that was assigned when the workflow type was registered. If not set, then the default\n task priority for the workflow type is used. Valid values are integers that range from Java's\n Integer.MIN_VALUE
(-2147483648) to Integer.MAX_VALUE
(2147483647).\n Higher numbers indicate higher priority.
For more information about setting task priority, see Setting Task\n Priority in the Amazon SWF Developer Guide.
" } }, "input": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "The input for the workflow execution. This is a free form string which should be\n meaningful to the workflow you are starting. This input
is made available to the\n new workflow execution in the WorkflowExecutionStarted
history event.
The total duration for this workflow execution. This overrides the\n defaultExecutionStartToCloseTimeout specified when registering the workflow type.
\n\nThe duration is specified in seconds; an integer greater than or equal to\n 0
. Exceeding this limit causes the workflow execution to time out. Unlike some\n of the other timeout parameters in Amazon SWF, you cannot specify a value of \"NONE\" for this\n timeout; there is a one-year max limit on the time that a workflow execution can\n run.
An execution start-to-close timeout must be specified either through this parameter\n or as a default when the workflow type is registered. If neither this parameter nor a\n default execution start-to-close timeout is specified, a fault is returned.
\nThe list of tags to associate with the workflow execution. You can specify a maximum of\n 5 tags. You can list workflow executions with a specific tag by calling ListOpenWorkflowExecutions or ListClosedWorkflowExecutions and\n specifying a TagFilter.
" } }, "taskStartToCloseTimeout": { "target": "com.amazonaws.swf#DurationInSecondsOptional", "traits": { "smithy.api#documentation": "Specifies the maximum duration of decision tasks for this workflow execution. This\n parameter overrides the defaultTaskStartToCloseTimout
specified when registering\n the workflow type using RegisterWorkflowType.
The duration is specified in seconds, an integer greater than or equal to\n 0
. You can use NONE
to specify unlimited duration.
A task start-to-close timeout for this workflow execution must be specified either as\n a default for the workflow type or through this parameter. If neither this parameter is set\n nor a default task start-to-close timeout was specified at registration time then a fault is\n returned.
\nIf set, specifies the policy to use for the child workflow executions of this workflow\n execution if it is terminated, by calling the TerminateWorkflowExecution\n action explicitly or due to an expired timeout. This policy overrides the default child policy\n specified when registering the workflow type using RegisterWorkflowType.
\nThe supported child policies are:
\n\n TERMINATE
– The child executions are terminated.
\n REQUEST_CANCEL
– A request to cancel is attempted for each child\n execution by recording a WorkflowExecutionCancelRequested
event in its\n history. It is up to the decider to take appropriate actions when it receives an execution\n history with this event.
\n ABANDON
– No action is taken. The child executions continue to\n run.
A child policy for this workflow execution must be specified either as a default for\n the workflow type or through this parameter. If neither this parameter is set nor a default\n child policy was specified at registration time then a fault is returned.
\nThe IAM role to attach to this workflow execution.
\nExecutions of this workflow type need IAM roles to invoke Lambda functions. If you\n don't attach an IAM role, any attempt to schedule a Lambda task fails. This results in a\n ScheduleLambdaFunctionFailed
history event. For more information, see https://docs.aws.amazon.com/amazonswf/latest/developerguide/lambda-task.html in the\n Amazon SWF Developer Guide.
\n Specifies the tag that must be associated with the execution for it to meet the filter\n criteria.
\nTags may only contain unicode letters, digits, whitespace, or these symbols: _ . : / = + - @
.
Used to filter the workflow executions in visibility APIs based on a tag.
" } }, "com.amazonaws.swf#TagList": { "type": "list", "member": { "target": "com.amazonaws.swf#Tag" }, "traits": { "smithy.api#length": { "min": 0, "max": 5 } } }, "com.amazonaws.swf#TagResource": { "type": "operation", "input": { "target": "com.amazonaws.swf#TagResourceInput" }, "errors": [ { "target": "com.amazonaws.swf#LimitExceededFault" }, { "target": "com.amazonaws.swf#OperationNotPermittedFault" }, { "target": "com.amazonaws.swf#TooManyTagsFault" }, { "target": "com.amazonaws.swf#UnknownResourceFault" } ], "traits": { "smithy.api#documentation": "Add a tag to a Amazon SWF domain.
\nAmazon SWF supports a maximum of 50 tags per resource.
\nThe Amazon Resource Name (ARN) for the Amazon SWF domain.
", "smithy.api#required": {} } }, "tags": { "target": "com.amazonaws.swf#ResourceTagList", "traits": { "smithy.api#documentation": "The list of tags to add to a domain.
\nTags may only contain unicode letters, digits, whitespace, or these symbols: _ . : / = + - @
.
The name of the task list.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Represents a task list.
" } }, "com.amazonaws.swf#TaskPriority": { "type": "string" }, "com.amazonaws.swf#TaskToken": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 1024 } } }, "com.amazonaws.swf#TerminateReason": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 256 } } }, "com.amazonaws.swf#TerminateWorkflowExecution": { "type": "operation", "input": { "target": "com.amazonaws.swf#TerminateWorkflowExecutionInput" }, "errors": [ { "target": "com.amazonaws.swf#OperationNotPermittedFault" }, { "target": "com.amazonaws.swf#UnknownResourceFault" } ], "traits": { "smithy.api#documentation": "Records a WorkflowExecutionTerminated
event and forces closure of the\n workflow execution identified by the given domain, runId, and workflowId. The child policy,\n registered with the workflow type or specified when starting this execution, is applied to any\n open child workflow executions of this workflow execution.
If the identified workflow execution was in progress, it is terminated\n immediately.
\nIf a runId isn't specified, then the WorkflowExecutionTerminated
event\n is recorded in the history of the current open workflow with the matching workflowId in the\n domain.
You should consider using RequestCancelWorkflowExecution action\n instead because it allows the workflow to gracefully close while TerminateWorkflowExecution doesn't.
\n\n Access Control\n
\nYou can use IAM policies to control this action's access to Amazon SWF resources as\n follows:
\nUse a Resource
element with the domain name to limit the action to\n only specified domains.
Use an Action
element to allow or deny permission to call this\n action.
You cannot use an IAM policy to constrain this action's parameters.
\nIf the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause
parameter is set to OPERATION_NOT_PERMITTED
.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.
The domain of the workflow execution to terminate.
", "smithy.api#required": {} } }, "workflowId": { "target": "com.amazonaws.swf#WorkflowId", "traits": { "smithy.api#documentation": "The workflowId of the workflow execution to terminate.
", "smithy.api#required": {} } }, "runId": { "target": "com.amazonaws.swf#WorkflowRunIdOptional", "traits": { "smithy.api#documentation": "The runId of the workflow execution to terminate.
" } }, "reason": { "target": "com.amazonaws.swf#TerminateReason", "traits": { "smithy.api#documentation": "A descriptive reason for terminating the workflow execution.
" } }, "details": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "Details for terminating the workflow execution.
" } }, "childPolicy": { "target": "com.amazonaws.swf#ChildPolicy", "traits": { "smithy.api#documentation": "If set, specifies the policy to use for the child workflow executions of the workflow\n execution being terminated. This policy overrides the child policy specified for the workflow\n execution at registration time or when starting the execution.
\nThe supported child policies are:
\n\n TERMINATE
– The child executions are terminated.
\n REQUEST_CANCEL
– A request to cancel is attempted for each child\n execution by recording a WorkflowExecutionCancelRequested
event in its\n history. It is up to the decider to take appropriate actions when it receives an execution\n history with this event.
\n ABANDON
– No action is taken. The child executions continue to\n run.
A child policy for this workflow execution must be specified either as a default for\n the workflow type or through this parameter. If neither this parameter is set nor a default\n child policy was specified at registration time then a fault is returned.
\nThe unique ID of the timer that was canceled.
", "smithy.api#required": {} } }, "startedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "The ID of the TimerStarted
event that was recorded when this timer was started.\n This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.
The ID of the DecisionTaskCompleted
event corresponding to the decision task that resulted in the\n CancelTimer
decision to cancel this timer. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.
\n Provides the details of the TimerCanceled
event.\n
The unique ID of the timer that fired.
", "smithy.api#required": {} } }, "startedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "The ID of the TimerStarted
event that was recorded when this timer was started.\n This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.
Provides the details of the TimerFired
event.
The unique ID of the timer that was started.
", "smithy.api#required": {} } }, "control": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "Data attached to the event that can be used by the decider in subsequent workflow tasks.
" } }, "startToFireTimeout": { "target": "com.amazonaws.swf#DurationInSeconds", "traits": { "smithy.api#documentation": "The duration of time after which the timer fires.
\nThe duration is specified in seconds, an integer greater than or equal to 0
.
The ID of the DecisionTaskCompleted
event corresponding to the decision task that resulted in the\n StartTimer
decision for this activity task. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.
Provides the details of the TimerStarted
event.
You've exceeded the number of tags allowed for a domain.
", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.swf#Truncated": { "type": "boolean" }, "com.amazonaws.swf#TypeAlreadyExistsFault": { "type": "structure", "members": { "message": { "target": "com.amazonaws.swf#ErrorMessage", "traits": { "smithy.api#documentation": "A description that may help with diagnosing the cause of the fault.
" } } }, "traits": { "smithy.api#documentation": "Returned if the type already exists in the specified domain. You may get this fault if you are registering a type that is either already registered or deprecated, or if you undeprecate a type that is currently registered.
", "smithy.api#error": "client" } }, "com.amazonaws.swf#TypeDeprecatedFault": { "type": "structure", "members": { "message": { "target": "com.amazonaws.swf#ErrorMessage", "traits": { "smithy.api#documentation": "A description that may help with diagnosing the cause of the fault.
" } } }, "traits": { "smithy.api#documentation": "Returned when the specified activity or workflow type was already deprecated.
", "smithy.api#error": "client" } }, "com.amazonaws.swf#UndeprecateActivityType": { "type": "operation", "input": { "target": "com.amazonaws.swf#UndeprecateActivityTypeInput" }, "errors": [ { "target": "com.amazonaws.swf#OperationNotPermittedFault" }, { "target": "com.amazonaws.swf#TypeAlreadyExistsFault" }, { "target": "com.amazonaws.swf#UnknownResourceFault" } ], "traits": { "smithy.api#documentation": "Undeprecates a previously deprecated activity type. After an activity type has\n been undeprecated, you can create new tasks of that activity type.
\nThis operation is eventually consistent. The results are best effort and may not\n exactly reflect recent updates and changes.
\n\n Access Control\n
\nYou can use IAM policies to control this action's access to Amazon SWF resources as\n follows:
\nUse a Resource
element with the domain name to limit the action to\n only specified domains.
Use an Action
element to allow or deny permission to call this\n action.
Constrain the following parameters by using a Condition
element with\n the appropriate keys.
\n activityType.name
: String constraint. The key is\n swf:activityType.name
.
\n activityType.version
: String constraint. The key is\n swf:activityType.version
.
If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause
parameter is set to OPERATION_NOT_PERMITTED
.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.
The name of the domain of the deprecated activity type.
", "smithy.api#required": {} } }, "activityType": { "target": "com.amazonaws.swf#ActivityType", "traits": { "smithy.api#documentation": "The activity type to undeprecate.
", "smithy.api#required": {} } } } }, "com.amazonaws.swf#UndeprecateDomain": { "type": "operation", "input": { "target": "com.amazonaws.swf#UndeprecateDomainInput" }, "errors": [ { "target": "com.amazonaws.swf#DomainAlreadyExistsFault" }, { "target": "com.amazonaws.swf#OperationNotPermittedFault" }, { "target": "com.amazonaws.swf#UnknownResourceFault" } ], "traits": { "smithy.api#documentation": "Undeprecates a previously deprecated domain. After a domain has been undeprecated it can be used\n to create new workflow executions or register new types.
\nThis operation is eventually consistent. The results are best effort and may not\n exactly reflect recent updates and changes.
\n\n Access Control\n
\nYou can use IAM policies to control this action's access to Amazon SWF resources as\n follows:
\nUse a Resource
element with the domain name to limit the action to\n only specified domains.
Use an Action
element to allow or deny permission to call this\n action.
You cannot use an IAM policy to constrain this action's parameters.
\nIf the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause
parameter is set to OPERATION_NOT_PERMITTED
.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.
The name of the domain of the deprecated workflow type.
", "smithy.api#required": {} } } } }, "com.amazonaws.swf#UndeprecateWorkflowType": { "type": "operation", "input": { "target": "com.amazonaws.swf#UndeprecateWorkflowTypeInput" }, "errors": [ { "target": "com.amazonaws.swf#OperationNotPermittedFault" }, { "target": "com.amazonaws.swf#TypeAlreadyExistsFault" }, { "target": "com.amazonaws.swf#UnknownResourceFault" } ], "traits": { "smithy.api#documentation": "Undeprecates a previously deprecated workflow type. After a workflow type has\n been undeprecated, you can create new executions of that type.
\nThis operation is eventually consistent. The results are best effort and may not\n exactly reflect recent updates and changes.
\n\n Access Control\n
\nYou can use IAM policies to control this action's access to Amazon SWF resources as\n follows:
\nUse a Resource
element with the domain name to limit the action to\n only specified domains.
Use an Action
element to allow or deny permission to call this\n action.
Constrain the following parameters by using a Condition
element with\n the appropriate keys.
\n workflowType.name
: String constraint. The key is\n swf:workflowType.name
.
\n workflowType.version
: String constraint. The key is\n swf:workflowType.version
.
If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause
parameter is set to OPERATION_NOT_PERMITTED
.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.
The name of the domain of the deprecated workflow type.
", "smithy.api#required": {} } }, "workflowType": { "target": "com.amazonaws.swf#WorkflowType", "traits": { "smithy.api#documentation": "The name of the domain of the deprecated workflow type.
", "smithy.api#required": {} } } } }, "com.amazonaws.swf#UnknownResourceFault": { "type": "structure", "members": { "message": { "target": "com.amazonaws.swf#ErrorMessage", "traits": { "smithy.api#documentation": "A description that may help with diagnosing the cause of the fault.
" } } }, "traits": { "smithy.api#documentation": "Returned when the named resource cannot be found with in the scope of this operation (region or domain). This could happen if the named resource was never created or is no longer available for this operation.
", "smithy.api#error": "client" } }, "com.amazonaws.swf#UntagResource": { "type": "operation", "input": { "target": "com.amazonaws.swf#UntagResourceInput" }, "errors": [ { "target": "com.amazonaws.swf#LimitExceededFault" }, { "target": "com.amazonaws.swf#OperationNotPermittedFault" }, { "target": "com.amazonaws.swf#UnknownResourceFault" } ], "traits": { "smithy.api#documentation": "Remove a tag from a Amazon SWF domain.
" } }, "com.amazonaws.swf#UntagResourceInput": { "type": "structure", "members": { "resourceArn": { "target": "com.amazonaws.swf#Arn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) for the Amazon SWF domain.
", "smithy.api#required": {} } }, "tagKeys": { "target": "com.amazonaws.swf#ResourceTagKeyList", "traits": { "smithy.api#documentation": "The list of tags to remove from the Amazon SWF domain.
", "smithy.api#required": {} } } } }, "com.amazonaws.swf#Version": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 64 } } }, "com.amazonaws.swf#VersionOptional": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 64 } } }, "com.amazonaws.swf#WorkflowExecution": { "type": "structure", "members": { "workflowId": { "target": "com.amazonaws.swf#WorkflowId", "traits": { "smithy.api#documentation": "The user defined identifier associated with the workflow execution.
", "smithy.api#required": {} } }, "runId": { "target": "com.amazonaws.swf#WorkflowRunId", "traits": { "smithy.api#documentation": "A system-generated unique identifier for the workflow execution.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Represents a workflow execution.
" } }, "com.amazonaws.swf#WorkflowExecutionAlreadyStartedFault": { "type": "structure", "members": { "message": { "target": "com.amazonaws.swf#ErrorMessage", "traits": { "smithy.api#documentation": "A description that may help with diagnosing the cause of the fault.
" } } }, "traits": { "smithy.api#documentation": "Returned by StartWorkflowExecution when an open execution with the same workflowId is already running in\n the specified domain.
", "smithy.api#error": "client" } }, "com.amazonaws.swf#WorkflowExecutionCancelRequestedCause": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "CHILD_POLICY_APPLIED", "name": "CHILD_POLICY_APPLIED" } ] } }, "com.amazonaws.swf#WorkflowExecutionCancelRequestedEventAttributes": { "type": "structure", "members": { "externalWorkflowExecution": { "target": "com.amazonaws.swf#WorkflowExecution", "traits": { "smithy.api#documentation": "The external workflow execution for which the cancellation was requested.
" } }, "externalInitiatedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "The ID of the RequestCancelExternalWorkflowExecutionInitiated
event corresponding to the\n RequestCancelExternalWorkflowExecution
decision to cancel this workflow execution.The source event\n 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\n events leading up to this event.
If set, indicates that the request to cancel the workflow execution was automatically generated, and specifies the cause. This happens if the parent workflow execution times out or is terminated, and the child policy is set to cancel child executions.
" } } }, "traits": { "smithy.api#documentation": "Provides the details of the WorkflowExecutionCancelRequested
event.
The details of the cancellation.
" } }, "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "The ID of the DecisionTaskCompleted
event corresponding to the decision task that resulted in the\n CancelWorkflowExecution
decision for this cancellation request. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.
Provides the details of the WorkflowExecutionCanceled
event.
The result produced by the workflow execution upon successful completion.
" } }, "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "The ID of the DecisionTaskCompleted
event corresponding to the decision task that resulted in the\n CompleteWorkflowExecution
decision to complete this execution. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.
Provides the details of the WorkflowExecutionCompleted
event.
The maximum duration allowed for decision tasks for this workflow execution.
\nThe duration is specified in seconds, an integer greater than or equal to 0
. You can use NONE
to specify unlimited duration.
The total duration for this workflow execution.
\nThe duration is specified in seconds, an integer greater than or equal to 0
. You can use NONE
to specify unlimited duration.
The task list used for the decision tasks generated for this workflow execution.
", "smithy.api#required": {} } }, "taskPriority": { "target": "com.amazonaws.swf#TaskPriority", "traits": { "smithy.api#documentation": "The priority assigned to decision tasks for this workflow execution. Valid values are integers that range from Java's Integer.MIN_VALUE
\n (-2147483648) to Integer.MAX_VALUE
(2147483647). Higher numbers indicate higher priority.
For more information about setting task priority, see Setting Task Priority in the Amazon SWF Developer Guide.
" } }, "childPolicy": { "target": "com.amazonaws.swf#ChildPolicy", "traits": { "smithy.api#documentation": "The policy to use for the child workflow executions if this workflow execution is terminated, by calling the\n TerminateWorkflowExecution action explicitly or due to an expired timeout.
\nThe supported child policies are:
\n\n TERMINATE
– The child executions are terminated.
\n REQUEST_CANCEL
– A request to cancel is attempted for each child\n execution by recording a WorkflowExecutionCancelRequested
event in its history. It is up to the decider\n to take appropriate actions when it receives an execution history with this event.
\n ABANDON
– No action is taken. The child executions continue to run.
The IAM role attached to the child workflow execution.
" } } }, "traits": { "smithy.api#documentation": "The configuration settings for a workflow execution including timeout values, tasklist etc. These configuration settings are determined from the defaults specified when registering the workflow type and those specified when starting the workflow execution.
" } }, "com.amazonaws.swf#WorkflowExecutionContinuedAsNewEventAttributes": { "type": "structure", "members": { "input": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "The input provided to the new workflow execution.
" } }, "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "The ID of the DecisionTaskCompleted
event corresponding to the decision task that resulted in the\n ContinueAsNewWorkflowExecution
decision that started this execution. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.
The runId
of the new workflow execution.
The total duration allowed for the new workflow execution.
\nThe duration is specified in seconds, an integer greater than or equal to 0
. You can use NONE
to specify unlimited duration.
The task list to use for the decisions of the new (continued) workflow\n execution.
", "smithy.api#required": {} } }, "taskPriority": { "target": "com.amazonaws.swf#TaskPriority", "traits": { "smithy.api#documentation": "The priority of the task to use for the decisions of the new (continued) workflow\n execution.
" } }, "taskStartToCloseTimeout": { "target": "com.amazonaws.swf#DurationInSecondsOptional", "traits": { "smithy.api#documentation": "The maximum duration of decision tasks for the new workflow execution.
\nThe duration is specified in seconds, an integer greater than or equal to 0
. You can use NONE
to specify unlimited duration.
The policy to use for the child workflow executions of the new execution if it is terminated by calling the\n TerminateWorkflowExecution action explicitly or due to an expired timeout.
\nThe supported child policies are:
\n\n TERMINATE
– The child executions are terminated.
\n REQUEST_CANCEL
– A request to cancel is attempted for each child\n execution by recording a WorkflowExecutionCancelRequested
event in its history. It is up to the decider\n to take appropriate actions when it receives an execution history with this event.
\n ABANDON
– No action is taken. The child executions continue to run.
The list of tags associated with the new workflow execution.
" } }, "workflowType": { "target": "com.amazonaws.swf#WorkflowType", "traits": { "smithy.api#documentation": "The workflow type of this execution.
", "smithy.api#required": {} } }, "lambdaRole": { "target": "com.amazonaws.swf#Arn", "traits": { "smithy.api#documentation": "The IAM role to attach to the new (continued) workflow execution.
" } } }, "traits": { "smithy.api#documentation": "Provides the details of the WorkflowExecutionContinuedAsNew
event.
The number of workflow executions.
", "smithy.api#required": {} } }, "truncated": { "target": "com.amazonaws.swf#Truncated", "traits": { "smithy.api#documentation": "If set to true, indicates that the actual count was more than the maximum supported by this API and the count returned is the truncated value.
" } } }, "traits": { "smithy.api#documentation": "Contains the count of workflow executions returned from CountOpenWorkflowExecutions or\n CountClosedWorkflowExecutions\n
" } }, "com.amazonaws.swf#WorkflowExecutionDetail": { "type": "structure", "members": { "executionInfo": { "target": "com.amazonaws.swf#WorkflowExecutionInfo", "traits": { "smithy.api#documentation": "Information about the workflow execution.
", "smithy.api#required": {} } }, "executionConfiguration": { "target": "com.amazonaws.swf#WorkflowExecutionConfiguration", "traits": { "smithy.api#documentation": "The configuration settings for this workflow execution including timeout values, tasklist etc.
", "smithy.api#required": {} } }, "openCounts": { "target": "com.amazonaws.swf#WorkflowExecutionOpenCounts", "traits": { "smithy.api#documentation": "The number of tasks for this workflow execution. This includes open and closed tasks of all types.
", "smithy.api#required": {} } }, "latestActivityTaskTimestamp": { "target": "com.amazonaws.swf#Timestamp", "traits": { "smithy.api#documentation": "The time when the last activity task was scheduled for this workflow execution. You can use this information to determine if the workflow has not made progress for an unusually long period of time and might require a corrective action.
" } }, "latestExecutionContext": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "The latest executionContext provided by the decider for this workflow execution. A decider can provide an\n executionContext (a free-form string) when closing a decision task using RespondDecisionTaskCompleted.
" } } }, "traits": { "smithy.api#documentation": "Contains details about a workflow execution.
" } }, "com.amazonaws.swf#WorkflowExecutionFailedEventAttributes": { "type": "structure", "members": { "reason": { "target": "com.amazonaws.swf#FailureReason", "traits": { "smithy.api#documentation": "The descriptive reason provided for the failure.
" } }, "details": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "The details of the failure.
" } }, "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "The ID of the DecisionTaskCompleted
event corresponding to the decision task that resulted in the\n FailWorkflowExecution
decision to fail this execution. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.
Provides the details of the WorkflowExecutionFailed
event.
The workflowId to pass of match the criteria of this filter.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Used to filter the workflow executions in visibility APIs by their workflowId
.
The workflow execution this information is about.
", "smithy.api#required": {} } }, "workflowType": { "target": "com.amazonaws.swf#WorkflowType", "traits": { "smithy.api#documentation": "The type of the workflow execution.
", "smithy.api#required": {} } }, "startTimestamp": { "target": "com.amazonaws.swf#Timestamp", "traits": { "smithy.api#documentation": "The time when the execution was started.
", "smithy.api#required": {} } }, "closeTimestamp": { "target": "com.amazonaws.swf#Timestamp", "traits": { "smithy.api#documentation": "The time when the workflow execution was closed. Set only if the execution status is CLOSED.
" } }, "executionStatus": { "target": "com.amazonaws.swf#ExecutionStatus", "traits": { "smithy.api#documentation": "The current status of the execution.
", "smithy.api#required": {} } }, "closeStatus": { "target": "com.amazonaws.swf#CloseStatus", "traits": { "smithy.api#documentation": "If the execution status is closed then this specifies how the execution was closed:
\n\n COMPLETED
– the execution was successfully completed.
\n CANCELED
– the execution was canceled.Cancellation allows the implementation to gracefully clean\n up before the execution is closed.
\n TERMINATED
– the execution was force terminated.
\n FAILED
– the execution failed to complete.
\n TIMED_OUT
– the execution did not complete in the alloted time and was automatically timed\n out.
\n CONTINUED_AS_NEW
– the execution is logically continued. This means the current execution was\n completed and a new execution was started to carry on the workflow.
If this workflow execution is a child of another execution then contains the workflow execution that started this execution.
" } }, "tagList": { "target": "com.amazonaws.swf#TagList", "traits": { "smithy.api#documentation": "The list of tags associated with the workflow execution. Tags can be used to identify and list workflow executions of interest through the visibility APIs. A workflow execution can have a maximum of 5 tags.
" } }, "cancelRequested": { "target": "com.amazonaws.swf#Canceled", "traits": { "smithy.api#documentation": "Set to true if a cancellation is requested for this workflow execution.
" } } }, "traits": { "smithy.api#documentation": "Contains information about a workflow execution.
" } }, "com.amazonaws.swf#WorkflowExecutionInfoList": { "type": "list", "member": { "target": "com.amazonaws.swf#WorkflowExecutionInfo" } }, "com.amazonaws.swf#WorkflowExecutionInfos": { "type": "structure", "members": { "executionInfos": { "target": "com.amazonaws.swf#WorkflowExecutionInfoList", "traits": { "smithy.api#documentation": "The list of workflow information structures.
", "smithy.api#required": {} } }, "nextPageToken": { "target": "com.amazonaws.swf#PageToken", "traits": { "smithy.api#documentation": "If a NextPageToken
was returned by a previous call, there are more\n results available. To retrieve the next page of results, make the call again using the returned token in\n nextPageToken
. Keep all other arguments unchanged.
The configured maximumPageSize
determines how many results can be returned in a single call.
Contains a paginated list of information about workflow executions.
" } }, "com.amazonaws.swf#WorkflowExecutionOpenCounts": { "type": "structure", "members": { "openActivityTasks": { "target": "com.amazonaws.swf#Count", "traits": { "smithy.api#documentation": "The count of activity tasks whose status is OPEN
.
The count of decision tasks whose status is OPEN. A workflow execution can have at most one open decision task.
", "smithy.api#required": {} } }, "openTimers": { "target": "com.amazonaws.swf#Count", "traits": { "smithy.api#documentation": "The count of timers started by this workflow execution that have not fired yet.
", "smithy.api#required": {} } }, "openChildWorkflowExecutions": { "target": "com.amazonaws.swf#Count", "traits": { "smithy.api#documentation": "The count of child workflow executions whose status is OPEN
.
The count of Lambda tasks whose status is OPEN
.
Contains the counts of open tasks, child workflow executions and timers for a workflow execution.
" } }, "com.amazonaws.swf#WorkflowExecutionSignaledEventAttributes": { "type": "structure", "members": { "signalName": { "target": "com.amazonaws.swf#SignalName", "traits": { "smithy.api#documentation": "The name of the signal received. The decider can use the signal name and inputs to determine how to the process the signal.
", "smithy.api#required": {} } }, "input": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "The inputs provided with the signal. The decider can use the signal name and inputs to determine how to process the signal.
" } }, "externalWorkflowExecution": { "target": "com.amazonaws.swf#WorkflowExecution", "traits": { "smithy.api#documentation": "The workflow execution that sent the signal. This is set only of the signal was sent by another workflow execution.
" } }, "externalInitiatedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "The ID of the SignalExternalWorkflowExecutionInitiated
event corresponding to the\n SignalExternalWorkflow
decision to signal this workflow execution.The source event with this ID can\n be found in the history of the source workflow execution. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event. This field is set only if\n the signal was initiated by another workflow execution.
Provides the details of the WorkflowExecutionSignaled
event.
The input provided to the workflow execution.
" } }, "executionStartToCloseTimeout": { "target": "com.amazonaws.swf#DurationInSecondsOptional", "traits": { "smithy.api#documentation": "The maximum duration for this workflow execution.
\nThe duration is specified in seconds, an integer greater than or equal to 0
. You can use NONE
to specify unlimited duration.
The maximum duration of decision tasks for this workflow type.
\nThe duration is specified in seconds, an integer greater than or equal to 0
. You can use NONE
to specify unlimited duration.
The policy to use for the child workflow executions if this workflow execution is terminated, by calling the\n TerminateWorkflowExecution action explicitly or due to an expired timeout.
\nThe supported child policies are:
\n\n TERMINATE
– The child executions are terminated.
\n REQUEST_CANCEL
– A request to cancel is attempted for each child\n execution by recording a WorkflowExecutionCancelRequested
event in its history. It is up to the decider\n to take appropriate actions when it receives an execution history with this event.
\n ABANDON
– No action is taken. The child executions continue to run.
The name of the task list for scheduling the decision tasks for this workflow execution.
", "smithy.api#required": {} } }, "taskPriority": { "target": "com.amazonaws.swf#TaskPriority", "traits": { "smithy.api#documentation": "The priority of the decision tasks in the workflow execution.
" } }, "workflowType": { "target": "com.amazonaws.swf#WorkflowType", "traits": { "smithy.api#documentation": "The workflow type of this execution.
", "smithy.api#required": {} } }, "tagList": { "target": "com.amazonaws.swf#TagList", "traits": { "smithy.api#documentation": "The list of tags associated with this workflow execution. An execution can have up to 5 tags.
" } }, "continuedExecutionRunId": { "target": "com.amazonaws.swf#WorkflowRunIdOptional", "traits": { "smithy.api#documentation": "If this workflow execution was started due to a ContinueAsNewWorkflowExecution
decision, then it\n contains the runId
of the previous workflow execution that was closed and continued as this\n execution.
The source workflow execution that started this workflow execution. The member isn't set if the workflow execution was not started by a workflow.
" } }, "parentInitiatedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "The ID of the StartChildWorkflowExecutionInitiated
event corresponding to the\n StartChildWorkflowExecution
\n Decision to start this workflow execution. The source event with\n 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\n events leading up to this event.
The IAM role attached to the workflow execution.
" } } }, "traits": { "smithy.api#documentation": "Provides details of WorkflowExecutionStarted
event.
The reason provided for the termination.
" } }, "details": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "The details provided for the termination.
" } }, "childPolicy": { "target": "com.amazonaws.swf#ChildPolicy", "traits": { "smithy.api#documentation": "The policy used for the child workflow executions of this workflow execution.
\nThe supported child policies are:
\n\n TERMINATE
– The child executions are terminated.
\n REQUEST_CANCEL
– A request to cancel is attempted for each child\n execution by recording a WorkflowExecutionCancelRequested
event in its history. It is up to the decider\n to take appropriate actions when it receives an execution history with this event.
\n ABANDON
– No action is taken. The child executions continue to run.
If set, indicates that the workflow execution was automatically terminated, and specifies the cause. This happens if the parent workflow execution times out or is terminated and the child policy is set to terminate child executions.
" } } }, "traits": { "smithy.api#documentation": "Provides the details of the WorkflowExecutionTerminated
event.
The type of timeout that caused this event.
", "smithy.api#required": {} } }, "childPolicy": { "target": "com.amazonaws.swf#ChildPolicy", "traits": { "smithy.api#documentation": "The policy used for the child workflow executions of this workflow execution.
\nThe supported child policies are:
\n\n TERMINATE
– The child executions are terminated.
\n REQUEST_CANCEL
– A request to cancel is attempted for each child\n execution by recording a WorkflowExecutionCancelRequested
event in its history. It is up to the decider\n to take appropriate actions when it receives an execution history with this event.
\n ABANDON
– No action is taken. The child executions continue to run.
Provides the details of the WorkflowExecutionTimedOut
event.
\n The name of the workflow type.
\nThe combination of workflow type name and version must be unique with in a domain.
\n\n The version of the workflow type.
\nThe combination of workflow type name and version must be unique with in a domain.
\nRepresents a workflow type.
" } }, "com.amazonaws.swf#WorkflowTypeConfiguration": { "type": "structure", "members": { "defaultTaskStartToCloseTimeout": { "target": "com.amazonaws.swf#DurationInSecondsOptional", "traits": { "smithy.api#documentation": "\n The default maximum duration, specified when registering the workflow type, that a decision task\n for executions of this workflow type might take before returning completion or failure. If the task doesn'tdo close\n in the specified time then the task is automatically timed out and rescheduled. If the decider eventually reports\n a completion or failure, it is ignored. This default can be overridden when starting a workflow execution using\n the StartWorkflowExecution action or the StartChildWorkflowExecution
\n Decision.
The duration is specified in seconds, an integer greater than or equal to 0
. You can use NONE
to specify unlimited duration.
\n The default maximum duration, specified when registering the workflow type, for executions of\n this workflow type. This default can be overridden when starting a workflow execution using the\n StartWorkflowExecution action or the StartChildWorkflowExecution
\n Decision.
The duration is specified in seconds, an integer greater than or equal to 0
. You can use NONE
to specify unlimited duration.
\n The default task list, specified when registering the workflow type, for decisions tasks\n scheduled for workflow executions of this type. This default can be overridden when starting a workflow execution\n using the StartWorkflowExecution action or the StartChildWorkflowExecution
\n Decision.
\n The default task priority, specified when registering the workflow type, for all decision tasks\n of this workflow type. This default can be overridden when starting a workflow execution using the\n StartWorkflowExecution action or the StartChildWorkflowExecution
decision.
Valid values are integers that range from Java's Integer.MIN_VALUE
\n (-2147483648) to Integer.MAX_VALUE
(2147483647). Higher numbers indicate higher priority.
For more information about setting task priority, see Setting Task Priority in the Amazon SWF Developer Guide.
" } }, "defaultChildPolicy": { "target": "com.amazonaws.swf#ChildPolicy", "traits": { "smithy.api#documentation": "\n The default policy to use for the child workflow executions when a workflow execution of this\n type is terminated, by calling the TerminateWorkflowExecution action explicitly or due to an expired\n timeout. This default can be overridden when starting a workflow execution using the StartWorkflowExecution\n action or the StartChildWorkflowExecution
\n Decision.
The supported child policies are:
\n\n TERMINATE
– The child executions are terminated.
\n REQUEST_CANCEL
– A request to cancel is attempted for each child\n execution by recording a WorkflowExecutionCancelRequested
event in its history. It is up to the decider\n to take appropriate actions when it receives an execution history with this event.
\n ABANDON
– No action is taken. The child executions continue to run.
The default IAM role attached to this workflow type.
\nExecutions of this workflow type need IAM roles to invoke Lambda functions. If you\n don't specify an IAM role when starting this workflow type, the default Lambda role is\n attached to the execution. For more information, see https://docs.aws.amazon.com/amazonswf/latest/developerguide/lambda-task.html in the\n Amazon SWF Developer Guide.
\nThe configuration settings of a workflow type.
" } }, "com.amazonaws.swf#WorkflowTypeDetail": { "type": "structure", "members": { "typeInfo": { "target": "com.amazonaws.swf#WorkflowTypeInfo", "traits": { "smithy.api#documentation": "General information about the workflow type.
\nThe status of the workflow type (returned in the WorkflowTypeInfo structure) can be one of the following.
\n\n REGISTERED
– The type is registered and available. Workers supporting this type should be running.
\n DEPRECATED
– The type was deprecated using DeprecateWorkflowType, but is still in use. You should\n keep workers supporting this type running. You cannot create new workflow executions of this type.
Configuration settings of the workflow type registered through RegisterWorkflowType\n
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Contains details about a workflow type.
" } }, "com.amazonaws.swf#WorkflowTypeFilter": { "type": "structure", "members": { "name": { "target": "com.amazonaws.swf#Name", "traits": { "smithy.api#documentation": "\n Name of the workflow type.
", "smithy.api#required": {} } }, "version": { "target": "com.amazonaws.swf#VersionOptional", "traits": { "smithy.api#documentation": "Version of the workflow type.
" } } }, "traits": { "smithy.api#documentation": "Used to filter workflow execution query results by type. Each parameter, if specified, defines a rule that must be satisfied by each returned result.
" } }, "com.amazonaws.swf#WorkflowTypeInfo": { "type": "structure", "members": { "workflowType": { "target": "com.amazonaws.swf#WorkflowType", "traits": { "smithy.api#documentation": "The workflow type this information is about.
", "smithy.api#required": {} } }, "status": { "target": "com.amazonaws.swf#RegistrationStatus", "traits": { "smithy.api#documentation": "The current status of the workflow type.
", "smithy.api#required": {} } }, "description": { "target": "com.amazonaws.swf#Description", "traits": { "smithy.api#documentation": "The description of the type registered through RegisterWorkflowType.
" } }, "creationDate": { "target": "com.amazonaws.swf#Timestamp", "traits": { "smithy.api#documentation": "The date when this type was registered.
", "smithy.api#required": {} } }, "deprecationDate": { "target": "com.amazonaws.swf#Timestamp", "traits": { "smithy.api#documentation": "If the type is in deprecated state, then it is set to the date when the type was deprecated.
" } } }, "traits": { "smithy.api#documentation": "Contains information about a workflow type.
" } }, "com.amazonaws.swf#WorkflowTypeInfoList": { "type": "list", "member": { "target": "com.amazonaws.swf#WorkflowTypeInfo" } }, "com.amazonaws.swf#WorkflowTypeInfos": { "type": "structure", "members": { "typeInfos": { "target": "com.amazonaws.swf#WorkflowTypeInfoList", "traits": { "smithy.api#documentation": "The list of workflow type information.
", "smithy.api#required": {} } }, "nextPageToken": { "target": "com.amazonaws.swf#PageToken", "traits": { "smithy.api#documentation": "If a NextPageToken
was returned by a previous call, there are more\n results available. To retrieve the next page of results, make the call again using the returned token in\n nextPageToken
. Keep all other arguments unchanged.
The configured maximumPageSize
determines how many results can be returned in a single call.
Contains a paginated list of information structures about workflow types.
" } } } }