7107 lines
505 KiB
JSON
7107 lines
505 KiB
JSON
|
{
|
|||
|
"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": "<p>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.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"activityId": {
|
|||
|
"target": "com.amazonaws.swf#ActivityId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The unique ID of the task.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"startedEventId": {
|
|||
|
"target": "com.amazonaws.swf#EventId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The ID of the <code>ActivityTaskStarted</code> event recorded in the history.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"workflowExecution": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowExecution",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The workflow execution that started this activity task.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"activityType": {
|
|||
|
"target": "com.amazonaws.swf#ActivityType",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The type of this activity task.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"input": {
|
|||
|
"target": "com.amazonaws.swf#Data",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>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.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Unit of work sent to an activity worker.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#ActivityTaskCancelRequestedEventAttributes": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"decisionTaskCompletedEventId": {
|
|||
|
"target": "com.amazonaws.swf#EventId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The ID of the <code>DecisionTaskCompleted</code> event corresponding to the decision task that resulted in the\n <code>RequestCancelActivityTask</code> 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.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"activityId": {
|
|||
|
"target": "com.amazonaws.swf#ActivityId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The unique ID of the task.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>ActivityTaskCancelRequested</code> event.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#ActivityTaskCanceledEventAttributes": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"details": {
|
|||
|
"target": "com.amazonaws.swf#Data",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Details of the cancellation.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"scheduledEventId": {
|
|||
|
"target": "com.amazonaws.swf#EventId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The ID of the <code>ActivityTaskScheduled</code> 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.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"startedEventId": {
|
|||
|
"target": "com.amazonaws.swf#EventId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The ID of the <code>ActivityTaskStarted</code> 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.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"latestCancelRequestedEventId": {
|
|||
|
"target": "com.amazonaws.swf#EventId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If set, contains the ID of the last <code>ActivityTaskCancelRequested</code> 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.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>ActivityTaskCanceled</code> event.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#ActivityTaskCompletedEventAttributes": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"result": {
|
|||
|
"target": "com.amazonaws.swf#Data",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The results of the activity task.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"scheduledEventId": {
|
|||
|
"target": "com.amazonaws.swf#EventId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The ID of the <code>ActivityTaskScheduled</code> 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.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"startedEventId": {
|
|||
|
"target": "com.amazonaws.swf#EventId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The ID of the <code>ActivityTaskStarted</code> 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.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>ActivityTaskCompleted</code> event.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#ActivityTaskFailedEventAttributes": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"reason": {
|
|||
|
"target": "com.amazonaws.swf#FailureReason",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The reason provided for the failure.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"details": {
|
|||
|
"target": "com.amazonaws.swf#Data",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The details of the failure.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"scheduledEventId": {
|
|||
|
"target": "com.amazonaws.swf#EventId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The ID of the <code>ActivityTaskScheduled</code> 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.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"startedEventId": {
|
|||
|
"target": "com.amazonaws.swf#EventId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The ID of the <code>ActivityTaskStarted</code> 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.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>ActivityTaskFailed</code> event.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#ActivityTaskScheduledEventAttributes": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"activityType": {
|
|||
|
"target": "com.amazonaws.swf#ActivityType",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The type of the activity task.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"activityId": {
|
|||
|
"target": "com.amazonaws.swf#ActivityId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The unique ID of the activity task.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"input": {
|
|||
|
"target": "com.amazonaws.swf#Data",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The input provided to the activity task.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"control": {
|
|||
|
"target": "com.amazonaws.swf#Data",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Data attached to the event that can be used by the decider in subsequent workflow tasks. This data isn't sent to the activity.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"scheduleToStartTimeout": {
|
|||
|
"target": "com.amazonaws.swf#DurationInSecondsOptional",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The maximum amount of time the activity task can wait to be assigned to a worker.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"scheduleToCloseTimeout": {
|
|||
|
"target": "com.amazonaws.swf#DurationInSecondsOptional",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The maximum amount of time for this activity task.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"startToCloseTimeout": {
|
|||
|
"target": "com.amazonaws.swf#DurationInSecondsOptional",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The maximum amount of time a worker may take to process the activity task.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"taskList": {
|
|||
|
"target": "com.amazonaws.swf#TaskList",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The task list in which the activity task has been scheduled.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"taskPriority": {
|
|||
|
"target": "com.amazonaws.swf#TaskPriority",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>\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.</p>\n <p>Valid values are integers that range from Java's <code>Integer.MIN_VALUE</code>\n (-2147483648) to <code>Integer.MAX_VALUE</code> (2147483647). Higher numbers indicate higher priority.</p>\n <p>For more information about setting task priority, see <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html\">Setting Task Priority</a> in the <i>Amazon SWF Developer Guide</i>.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"decisionTaskCompletedEventId": {
|
|||
|
"target": "com.amazonaws.swf#EventId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The ID of the <code>DecisionTaskCompleted</code> 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.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"heartbeatTimeout": {
|
|||
|
"target": "com.amazonaws.swf#DurationInSecondsOptional",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The maximum time before which the worker processing this task must report progress by calling\n <a>RecordActivityTaskHeartbeat</a>. 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.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>ActivityTaskScheduled</code> event.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#ActivityTaskStartedEventAttributes": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"identity": {
|
|||
|
"target": "com.amazonaws.swf#Identity",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Identity of the worker that was assigned this task. This aids diagnostics when problems arise. The form of this identity is user defined.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"scheduledEventId": {
|
|||
|
"target": "com.amazonaws.swf#EventId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The ID of the <code>ActivityTaskScheduled</code> 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.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>ActivityTaskStarted</code> event.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#ActivityTaskStatus": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"cancelRequested": {
|
|||
|
"target": "com.amazonaws.swf#Canceled",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Set to <code>true</code> if cancellation of the task is requested.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Status information about an activity task.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#ActivityTaskTimedOutEventAttributes": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"timeoutType": {
|
|||
|
"target": "com.amazonaws.swf#ActivityTaskTimeoutType",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The type of the timeout that caused this event.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"scheduledEventId": {
|
|||
|
"target": "com.amazonaws.swf#EventId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The ID of the <code>ActivityTaskScheduled</code> 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.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"startedEventId": {
|
|||
|
"target": "com.amazonaws.swf#EventId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The ID of the <code>ActivityTaskStarted</code> 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.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"details": {
|
|||
|
"target": "com.amazonaws.swf#LimitedData",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Contains the content of the <code>details</code> parameter for the last call made by the activity to\n <code>RecordActivityTaskHeartbeat</code>.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>ActivityTaskTimedOut</code> event.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#ActivityTaskTimeoutType": {
|
|||
|
"type": "string",
|
|||
|
"traits": {
|
|||
|
"smithy.api#enum": [
|
|||
|
{
|
|||
|
"value": "START_TO_CLOSE",
|
|||
|
"name": "START_TO_CLOSE"
|
|||
|
},
|
|||
|
{
|
|||
|
"value": "SCHEDULE_TO_START",
|
|||
|
"name": "SCHEDULE_TO_START"
|
|||
|
},
|
|||
|
{
|
|||
|
"value": "SCHEDULE_TO_CLOSE",
|
|||
|
"name": "SCHEDULE_TO_CLOSE"
|
|||
|
},
|
|||
|
{
|
|||
|
"value": "HEARTBEAT",
|
|||
|
"name": "HEARTBEAT"
|
|||
|
}
|
|||
|
]
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#ActivityType": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"name": {
|
|||
|
"target": "com.amazonaws.swf#Name",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The name of this activity.</p>\n <note>\n <p>The combination of activity type name and version must be unique within a domain.</p>\n </note>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"version": {
|
|||
|
"target": "com.amazonaws.swf#Version",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The version of this activity.</p>\n <note>\n <p>The combination of activity type name and version must be unique with in a domain.</p>\n </note>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Represents an activity type.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#ActivityTypeConfiguration": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"defaultTaskStartToCloseTimeout": {
|
|||
|
"target": "com.amazonaws.swf#DurationInSecondsOptional",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>\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 <code>ScheduleActivityTask</code>\n <a>Decision</a>.</p>\n <p>The duration is specified in seconds, an integer greater than or equal to <code>0</code>. You can use <code>NONE</code> to specify unlimited duration.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"defaultTaskHeartbeatTimeout": {
|
|||
|
"target": "com.amazonaws.swf#DurationInSecondsOptional",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>\n The default maximum time, in seconds, before which a worker processing a task must report\n progress by calling <a>RecordActivityTaskHeartbeat</a>.</p>\n <p>You can specify this value only when <i>registering</i> an activity type. The registered default value can be\n overridden when you schedule a task through the <code>ScheduleActivityTask</code> \n <a>Decision</a>. If the activity\n worker subsequently attempts to record a heartbeat or returns a result, the activity worker receives an\n <code>UnknownResource</code> 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.</p>\n <p>The duration is specified in seconds, an integer greater than or equal to <code>0</code>. You can use <code>NONE</code> to specify unlimited duration.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"defaultTaskList": {
|
|||
|
"target": "com.amazonaws.swf#TaskList",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>\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 <code>ScheduleActivityTask</code>\n <a>Decision</a>. You can override the default registered task list when scheduling a task through the\n <code>ScheduleActivityTask</code> \n <a>Decision</a>.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"defaultTaskPriority": {
|
|||
|
"target": "com.amazonaws.swf#TaskPriority",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>\n The default task priority for tasks of this activity type, specified at registration. If not\n set, then <code>0</code> is used as the default priority. This default can be overridden when scheduling an activity\n task.</p>\n <p>Valid values are integers that range from Java's <code>Integer.MIN_VALUE</code>\n (-2147483648) to <code>Integer.MAX_VALUE</code> (2147483647). Higher numbers indicate higher priority.</p>\n <p>For more information about setting task priority, see <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html\">Setting Task Priority</a> in the <i>Amazon SWF Developer Guide</i>.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"defaultTaskScheduleToStartTimeout": {
|
|||
|
"target": "com.amazonaws.swf#DurationInSecondsOptional",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>\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 <code>ScheduleActivityTask</code> \n <a>Decision</a>.</p>\n <p>The duration is specified in seconds, an integer greater than or equal to <code>0</code>. You can use <code>NONE</code> to specify unlimited duration.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"defaultTaskScheduleToCloseTimeout": {
|
|||
|
"target": "com.amazonaws.swf#DurationInSecondsOptional",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>\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 <code>ScheduleActivityTask</code>\n <a>Decision</a>.</p>\n <p>The duration is specified in seconds, an integer greater than or equal to <code>0</code>. You can use <code>NONE</code> to specify unlimited duration.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Configuration settings registered with the activity type.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#ActivityTypeDetail": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"typeInfo": {
|
|||
|
"target": "com.amazonaws.swf#ActivityTypeInfo",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>General information about the activity type.</p>\n <p>The status of activity type (returned in the ActivityTypeInfo structure) can be one of the following.</p>\n <ul>\n <li>\n <p>\n <code>REGISTERED</code> – The type is registered and available. Workers supporting this\n type should be running.\n </p>\n </li>\n <li>\n <p>\n <code>DEPRECATED</code> – The type was deprecated using <a>DeprecateActivityType</a>, but is\n still in use. You should keep workers supporting this type running.\n You cannot create new tasks of this type.\n </p>\n </li>\n </ul>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"configuration": {
|
|||
|
"target": "com.amazonaws.swf#ActivityTypeConfiguration",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The configuration settings registered with the activity type.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Detailed information about an activity type.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#ActivityTypeInfo": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"activityType": {
|
|||
|
"target": "com.amazonaws.swf#ActivityType",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The <a>ActivityType</a> type structure representing the activity type.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"status": {
|
|||
|
"target": "com.amazonaws.swf#RegistrationStatus",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The current status of the activity type.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"description": {
|
|||
|
"target": "com.amazonaws.swf#Description",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The description of the activity type provided in <a>RegisterActivityType</a>.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"creationDate": {
|
|||
|
"target": "com.amazonaws.swf#Timestamp",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The date and time this activity type was created through <a>RegisterActivityType</a>.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"deprecationDate": {
|
|||
|
"target": "com.amazonaws.swf#Timestamp",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If DEPRECATED, the date and time <a>DeprecateActivityType</a> was called.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Detailed information about an activity type.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"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": "<p>List of activity type information.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"nextPageToken": {
|
|||
|
"target": "com.amazonaws.swf#PageToken",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If a <code>NextPageToken</code> 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 <code>nextPageToken</code>. Keep all other arguments unchanged.</p>\n <p>The configured <code>maximumPageSize</code> determines how many results can be returned in a single call.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Contains a paginated list of activity type information structures.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"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": "<p>\n The unique ID of the timer to cancel.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>CancelTimer</code> decision.</p>\n <p>\n <b>Access Control</b>\n </p>\n <p>You can use IAM policies to control this decision's access to Amazon SWF resources as follows:</p>\n <ul>\n <li>\n <p>Use a <code>Resource</code> element with the domain name to limit the action to only\n specified domains.</p>\n </li>\n <li>\n <p>Use an <code>Action</code> element to allow or deny permission to call this action.</p>\n </li>\n <li>\n <p>You cannot use an IAM policy to constrain this action's parameters.</p>\n </li>\n </ul>\n <p>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 <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>. For details and example IAM policies, see\n <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html\">Using IAM to Manage Access to Amazon SWF Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#CancelTimerFailedCause": {
|
|||
|
"type": "string",
|
|||
|
"traits": {
|
|||
|
"smithy.api#enum": [
|
|||
|
{
|
|||
|
"value": "TIMER_ID_UNKNOWN",
|
|||
|
"name": "TIMER_ID_UNKNOWN"
|
|||
|
},
|
|||
|
{
|
|||
|
"value": "OPERATION_NOT_PERMITTED",
|
|||
|
"name": "OPERATION_NOT_PERMITTED"
|
|||
|
}
|
|||
|
]
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#CancelTimerFailedEventAttributes": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"timerId": {
|
|||
|
"target": "com.amazonaws.swf#TimerId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The timerId provided in the <code>CancelTimer</code> decision that failed.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"cause": {
|
|||
|
"target": "com.amazonaws.swf#CancelTimerFailedCause",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.</p>\n <note>\n <p>If <code>cause</code> is set to <code>OPERATION_NOT_PERMITTED</code>, the decision failed\n because it lacked sufficient permissions. For details and example IAM policies, see <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html\">Using IAM to Manage Access to Amazon SWF Workflows</a>\n in the <i>Amazon SWF Developer Guide</i>.</p>\n </note>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"decisionTaskCompletedEventId": {
|
|||
|
"target": "com.amazonaws.swf#EventId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The ID of the <code>DecisionTaskCompleted</code> event corresponding to the decision task that resulted in the <code>CancelTimer</code> 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.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>CancelTimerFailed</code> event.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#CancelWorkflowExecutionDecisionAttributes": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"details": {
|
|||
|
"target": "com.amazonaws.swf#Data",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>\n Details of the cancellation.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>CancelWorkflowExecution</code> decision.</p>\n <p>\n <b>Access Control</b>\n </p>\n <p>You can use IAM policies to control this decision's access to Amazon SWF resources as follows:</p>\n <ul>\n <li>\n <p>Use a <code>Resource</code> element with the domain name to limit the action to only\n specified domains.</p>\n </li>\n <li>\n <p>Use an <code>Action</code> element to allow or deny permission to call this action.</p>\n </li>\n <li>\n <p>You cannot use an IAM policy to constrain this action's parameters.</p>\n </li>\n </ul>\n <p>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 <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>. For details and example IAM policies, see\n <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html\">Using IAM to Manage Access to Amazon SWF Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#CancelWorkflowExecutionFailedCause": {
|
|||
|
"type": "string",
|
|||
|
"traits": {
|
|||
|
"smithy.api#enum": [
|
|||
|
{
|
|||
|
"value": "UNHANDLED_DECISION",
|
|||
|
"name": "UNHANDLED_DECISION"
|
|||
|
},
|
|||
|
{
|
|||
|
"value": "OPERATION_NOT_PERMITTED",
|
|||
|
"name": "OPERATION_NOT_PERMITTED"
|
|||
|
}
|
|||
|
]
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#CancelWorkflowExecutionFailedEventAttributes": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"cause": {
|
|||
|
"target": "com.amazonaws.swf#CancelWorkflowExecutionFailedCause",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.</p>\n <note>\n <p>If <code>cause</code> is set to <code>OPERATION_NOT_PERMITTED</code>, the decision failed\n because it lacked sufficient permissions. For details and example IAM policies, see <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html\">Using IAM to Manage Access to Amazon SWF Workflows</a>\n in the <i>Amazon SWF Developer Guide</i>.</p>\n </note>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"decisionTaskCompletedEventId": {
|
|||
|
"target": "com.amazonaws.swf#EventId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The ID of the <code>DecisionTaskCompleted</code> event corresponding to the decision task that resulted in the <code>CancelWorkflowExecution</code> 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.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>CancelWorkflowExecutionFailed</code> event.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#Canceled": {
|
|||
|
"type": "boolean"
|
|||
|
},
|
|||
|
"com.amazonaws.swf#CauseMessage": {
|
|||
|
"type": "string",
|
|||
|
"traits": {
|
|||
|
"smithy.api#length": {
|
|||
|
"min": 0,
|
|||
|
"max": 1728
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#ChildPolicy": {
|
|||
|
"type": "string",
|
|||
|
"traits": {
|
|||
|
"smithy.api#enum": [
|
|||
|
{
|
|||
|
"value": "TERMINATE",
|
|||
|
"name": "TERMINATE"
|
|||
|
},
|
|||
|
{
|
|||
|
"value": "REQUEST_CANCEL",
|
|||
|
"name": "REQUEST_CANCEL"
|
|||
|
},
|
|||
|
{
|
|||
|
"value": "ABANDON",
|
|||
|
"name": "ABANDON"
|
|||
|
}
|
|||
|
]
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#ChildWorkflowExecutionCanceledEventAttributes": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"workflowExecution": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowExecution",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The child workflow execution that was canceled.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"workflowType": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowType",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The type of the child workflow execution.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"details": {
|
|||
|
"target": "com.amazonaws.swf#Data",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Details of the cancellation (if provided).</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"initiatedEventId": {
|
|||
|
"target": "com.amazonaws.swf#EventId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The ID of the <code>StartChildWorkflowExecutionInitiated</code> event corresponding to the\n <code>StartChildWorkflowExecution</code> \n <a>Decision</a> 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.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"startedEventId": {
|
|||
|
"target": "com.amazonaws.swf#EventId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The ID of the <code>ChildWorkflowExecutionStarted</code> 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.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provide details of the <code>ChildWorkflowExecutionCanceled</code> event.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#ChildWorkflowExecutionCompletedEventAttributes": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"workflowExecution": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowExecution",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The child workflow execution that was completed.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"workflowType": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowType",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The type of the child workflow execution.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"result": {
|
|||
|
"target": "com.amazonaws.swf#Data",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The result of the child workflow execution.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"initiatedEventId": {
|
|||
|
"target": "com.amazonaws.swf#EventId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The ID of the <code>StartChildWorkflowExecutionInitiated</code> event corresponding to the <code>StartChildWorkflowExecution</code> \n <a>Decision</a> 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.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"startedEventId": {
|
|||
|
"target": "com.amazonaws.swf#EventId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The ID of the <code>ChildWorkflowExecutionStarted</code> 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.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>ChildWorkflowExecutionCompleted</code> event.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#ChildWorkflowExecutionFailedEventAttributes": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"workflowExecution": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowExecution",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The child workflow execution that failed.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"workflowType": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowType",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The type of the child workflow execution.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"reason": {
|
|||
|
"target": "com.amazonaws.swf#FailureReason",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The reason for the failure (if provided).</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"details": {
|
|||
|
"target": "com.amazonaws.swf#Data",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The details of the failure (if provided).</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"initiatedEventId": {
|
|||
|
"target": "com.amazonaws.swf#EventId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The ID of the <code>StartChildWorkflowExecutionInitiated</code> event corresponding to the\n <code>StartChildWorkflowExecution</code> \n <a>Decision</a> 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.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"startedEventId": {
|
|||
|
"target": "com.amazonaws.swf#EventId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The ID of the <code>ChildWorkflowExecutionStarted</code> 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.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>ChildWorkflowExecutionFailed</code> event.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#ChildWorkflowExecutionStartedEventAttributes": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"workflowExecution": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowExecution",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The child workflow execution that was started.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"workflowType": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowType",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The type of the child workflow execution.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"initiatedEventId": {
|
|||
|
"target": "com.amazonaws.swf#EventId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The ID of the <code>StartChildWorkflowExecutionInitiated</code> event corresponding to the\n <code>StartChildWorkflowExecution</code> \n <a>Decision</a> 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.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>ChildWorkflowExecutionStarted</code> event.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#ChildWorkflowExecutionTerminatedEventAttributes": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"workflowExecution": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowExecution",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The child workflow execution that was terminated.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"workflowType": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowType",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The type of the child workflow execution.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"initiatedEventId": {
|
|||
|
"target": "com.amazonaws.swf#EventId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The ID of the <code>StartChildWorkflowExecutionInitiated</code> event corresponding to the\n <code>StartChildWorkflowExecution</code> \n <a>Decision</a> 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.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"startedEventId": {
|
|||
|
"target": "com.amazonaws.swf#EventId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The ID of the <code>ChildWorkflowExecutionStarted</code> 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.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>ChildWorkflowExecutionTerminated</code> event.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#ChildWorkflowExecutionTimedOutEventAttributes": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"workflowExecution": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowExecution",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The child workflow execution that timed out.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"workflowType": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowType",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The type of the child workflow execution.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"timeoutType": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowExecutionTimeoutType",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The type of the timeout that caused the child workflow execution to time out.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"initiatedEventId": {
|
|||
|
"target": "com.amazonaws.swf#EventId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The ID of the <code>StartChildWorkflowExecutionInitiated</code> event corresponding to the\n <code>StartChildWorkflowExecution</code> \n <a>Decision</a> 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.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"startedEventId": {
|
|||
|
"target": "com.amazonaws.swf#EventId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The ID of the <code>ChildWorkflowExecutionStarted</code> 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.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>ChildWorkflowExecutionTimedOut</code> event.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#CloseStatus": {
|
|||
|
"type": "string",
|
|||
|
"traits": {
|
|||
|
"smithy.api#enum": [
|
|||
|
{
|
|||
|
"value": "COMPLETED",
|
|||
|
"name": "COMPLETED"
|
|||
|
},
|
|||
|
{
|
|||
|
"value": "FAILED",
|
|||
|
"name": "FAILED"
|
|||
|
},
|
|||
|
{
|
|||
|
"value": "CANCELED",
|
|||
|
"name": "CANCELED"
|
|||
|
},
|
|||
|
{
|
|||
|
"value": "TERMINATED",
|
|||
|
"name": "TERMINATED"
|
|||
|
},
|
|||
|
{
|
|||
|
"value": "CONTINUED_AS_NEW",
|
|||
|
"name": "CONTINUED_AS_NEW"
|
|||
|
},
|
|||
|
{
|
|||
|
"value": "TIMED_OUT",
|
|||
|
"name": "TIMED_OUT"
|
|||
|
}
|
|||
|
]
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#CloseStatusFilter": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"status": {
|
|||
|
"target": "com.amazonaws.swf#CloseStatus",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>\n The close status that must match the close status of an execution for it to meet the criteria of\n this filter.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Used to filter the closed workflow executions in visibility APIs by their close status.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#CompleteWorkflowExecutionDecisionAttributes": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"result": {
|
|||
|
"target": "com.amazonaws.swf#Data",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The result of the workflow execution. The form of the result is implementation defined.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>CompleteWorkflowExecution</code> decision.</p>\n <p>\n <b>Access Control</b>\n </p>\n <p>You can use IAM policies to control this decision's access to Amazon SWF resources as follows:</p>\n <ul>\n <li>\n <p>Use a <code>Resource</code> element with the domain name to limit the action to only\n specified domains.</p>\n </li>\n <li>\n <p>Use an <code>Action</code> element to allow or deny permission to call this action.</p>\n </li>\n <li>\n <p>You cannot use an IAM policy to constrain this action's parameters.</p>\n </li>\n </ul>\n <p>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 <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>. For details and example IAM policies, see\n <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html\">Using IAM to Manage Access to Amazon SWF Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#CompleteWorkflowExecutionFailedCause": {
|
|||
|
"type": "string",
|
|||
|
"traits": {
|
|||
|
"smithy.api#enum": [
|
|||
|
{
|
|||
|
"value": "UNHANDLED_DECISION",
|
|||
|
"name": "UNHANDLED_DECISION"
|
|||
|
},
|
|||
|
{
|
|||
|
"value": "OPERATION_NOT_PERMITTED",
|
|||
|
"name": "OPERATION_NOT_PERMITTED"
|
|||
|
}
|
|||
|
]
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#CompleteWorkflowExecutionFailedEventAttributes": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"cause": {
|
|||
|
"target": "com.amazonaws.swf#CompleteWorkflowExecutionFailedCause",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.</p>\n <note>\n <p>If <code>cause</code> is set to <code>OPERATION_NOT_PERMITTED</code>, the decision failed\n because it lacked sufficient permissions. For details and example IAM policies, see <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html\">Using IAM to Manage Access to Amazon SWF Workflows</a>\n in the <i>Amazon SWF Developer Guide</i>.</p>\n </note>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"decisionTaskCompletedEventId": {
|
|||
|
"target": "com.amazonaws.swf#EventId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The ID of the <code>DecisionTaskCompleted</code> event corresponding to the decision task that resulted in the\n <code>CompleteWorkflowExecution</code> 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.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>CompleteWorkflowExecutionFailed</code> event.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#ContinueAsNewWorkflowExecutionDecisionAttributes": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"input": {
|
|||
|
"target": "com.amazonaws.swf#Data",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The input provided to the new workflow execution.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"executionStartToCloseTimeout": {
|
|||
|
"target": "com.amazonaws.swf#DurationInSecondsOptional",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If set, specifies the total duration for this workflow execution. This overrides the\n <code>defaultExecutionStartToCloseTimeout</code> specified when registering the workflow type.</p>\n <p>The duration is specified in seconds, an integer greater than or equal to <code>0</code>. You can use <code>NONE</code> to specify unlimited duration.</p>\n <note>\n <p>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.</p>\n </note>"
|
|||
|
}
|
|||
|
},
|
|||
|
"taskList": {
|
|||
|
"target": "com.amazonaws.swf#TaskList",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The task list to use for the decisions of the new (continued) workflow\n execution.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"taskPriority": {
|
|||
|
"target": "com.amazonaws.swf#TaskPriority",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>\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 <code>Integer.MIN_VALUE</code>\n (-2147483648) to <code>Integer.MAX_VALUE</code> (2147483647). Higher numbers indicate higher priority.</p>\n <p>For more information about setting task priority, see <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html\">Setting Task Priority</a> in the <i>Amazon SWF Developer Guide</i>.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"taskStartToCloseTimeout": {
|
|||
|
"target": "com.amazonaws.swf#DurationInSecondsOptional",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Specifies the maximum duration of decision tasks for the new workflow execution. This parameter overrides the\n <code>defaultTaskStartToCloseTimout</code> specified when registering the workflow type using\n <a>RegisterWorkflowType</a>.</p>\n <p>The duration is specified in seconds, an integer greater than or equal to <code>0</code>. You can use <code>NONE</code> to specify unlimited duration.</p>\n <note>\n <p>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.</p>\n </note>"
|
|||
|
}
|
|||
|
},
|
|||
|
"childPolicy": {
|
|||
|
"target": "com.amazonaws.swf#ChildPolicy",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If set, specifies the policy to use for the child workflow executions of the new execution if it is terminated\n by calling the <a>TerminateWorkflowExecution</a> action explicitly or due to an expired timeout. This policy\n overrides the default child policy specified when registering the workflow type using\n <a>RegisterWorkflowType</a>.</p>\n <p>The supported child policies are:</p>\n <ul>\n <li>\n <p>\n <code>TERMINATE</code> – The child executions are terminated.</p>\n </li>\n <li>\n <p>\n <code>REQUEST_CANCEL</code> – A request to cancel is attempted for each child\n execution by recording a <code>WorkflowExecutionCancelRequested</code> event in its history. It is up to the decider\n to take appropriate actions when it receives an execution history with this event.</p>\n </li>\n <li>\n <p>\n <code>ABANDON</code> – No action is taken. The child executions continue to run.</p>\n </li>\n </ul>\n <note>\n <p>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.</p>\n </note>"
|
|||
|
}
|
|||
|
},
|
|||
|
"tagList": {
|
|||
|
"target": "com.amazonaws.swf#TagList",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The 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 <a>ListOpenWorkflowExecutions</a> or\n <a>ListClosedWorkflowExecutions</a> and specifying a <a>TagFilter</a>.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"workflowTypeVersion": {
|
|||
|
"target": "com.amazonaws.swf#Version",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The version of the workflow to start.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"lambdaRole": {
|
|||
|
"target": "com.amazonaws.swf#Arn",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The IAM role to attach to the new (continued) execution.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>ContinueAsNewWorkflowExecution</code> decision.</p>\n <p>\n <b>Access Control</b>\n </p>\n <p>You can use IAM policies to control this decision's access to Amazon SWF resources as follows:</p>\n <ul>\n <li>\n <p>Use a <code>Resource</code> element with the domain name to limit the action to only\n specified domains.</p>\n </li>\n <li>\n <p>Use an <code>Action</code> element to allow or deny permission to call this action.</p>\n </li>\n <li>\n <p>Constrain the following parameters by using a <code>Condition</code> element with the\n appropriate keys.</p>\n <ul>\n <li>\n <p>\n <code>tag</code> – A tag used to identify the workflow execution</p>\n </li>\n <li>\n <p>\n <code>taskList</code> – String constraint. The key is <code>swf:taskList.name</code>.</p>\n </li>\n <li>\n <p>\n <code>workflowType.version</code> – String constraint. The key is <code>swf:workflowType.version</code>.</p>\n </li>\n </ul>\n </li>\n </ul>\n <p>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 <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>. For details and example IAM policies, see\n <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html\">Using IAM to Manage Access to Amazon SWF Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#ContinueAsNewWorkflowExecutionFailedCause": {
|
|||
|
"type": "string",
|
|||
|
"traits": {
|
|||
|
"smithy.api#enum": [
|
|||
|
{
|
|||
|
"value": "UNHANDLED_DECISION",
|
|||
|
"name": "UNHANDLED_DECISION"
|
|||
|
},
|
|||
|
{
|
|||
|
"value": "WORKFLOW_TYPE_DEPRECATED",
|
|||
|
"name": "WORKFLOW_TYPE_DEPRECATED"
|
|||
|
},
|
|||
|
{
|
|||
|
"value": "WORKFLOW_TYPE_DOES_NOT_EXIST",
|
|||
|
"name": "WORKFLOW_TYPE_DOES_NOT_EXIST"
|
|||
|
},
|
|||
|
{
|
|||
|
"value": "DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED",
|
|||
|
"name": "DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED"
|
|||
|
},
|
|||
|
{
|
|||
|
"value": "DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED",
|
|||
|
"name": "DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED"
|
|||
|
},
|
|||
|
{
|
|||
|
"value": "DEFAULT_TASK_LIST_UNDEFINED",
|
|||
|
"name": "DEFAULT_TASK_LIST_UNDEFINED"
|
|||
|
},
|
|||
|
{
|
|||
|
"value": "DEFAULT_CHILD_POLICY_UNDEFINED",
|
|||
|
"name": "DEFAULT_CHILD_POLICY_UNDEFINED"
|
|||
|
},
|
|||
|
{
|
|||
|
"value": "CONTINUE_AS_NEW_WORKFLOW_EXECUTION_RATE_EXCEEDED",
|
|||
|
"name": "CONTINUE_AS_NEW_WORKFLOW_EXECUTION_RATE_EXCEEDED"
|
|||
|
},
|
|||
|
{
|
|||
|
"value": "OPERATION_NOT_PERMITTED",
|
|||
|
"name": "OPERATION_NOT_PERMITTED"
|
|||
|
}
|
|||
|
]
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#ContinueAsNewWorkflowExecutionFailedEventAttributes": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"cause": {
|
|||
|
"target": "com.amazonaws.swf#ContinueAsNewWorkflowExecutionFailedCause",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.</p>\n <note>\n <p>If <code>cause</code> is set to <code>OPERATION_NOT_PERMITTED</code>, the decision failed\n because it lacked sufficient permissions. For details and example IAM policies, see <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html\">Using IAM to Manage Access to Amazon SWF Workflows</a>\n in the <i>Amazon SWF Developer Guide</i>.</p>\n </note>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"decisionTaskCompletedEventId": {
|
|||
|
"target": "com.amazonaws.swf#EventId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The ID of the <code>DecisionTaskCompleted</code> event corresponding to the decision task that resulted in the\n <code>ContinueAsNewWorkflowExecution</code> 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.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>ContinueAsNewWorkflowExecutionFailed</code> event.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#Count": {
|
|||
|
"type": "integer",
|
|||
|
"traits": {
|
|||
|
"smithy.api#range": {
|
|||
|
"min": 0
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#CountClosedWorkflowExecutions": {
|
|||
|
"type": "operation",
|
|||
|
"input": {
|
|||
|
"target": "com.amazonaws.swf#CountClosedWorkflowExecutionsInput"
|
|||
|
},
|
|||
|
"output": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowExecutionCount"
|
|||
|
},
|
|||
|
"errors": [
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#OperationNotPermittedFault"
|
|||
|
},
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#UnknownResourceFault"
|
|||
|
}
|
|||
|
],
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Returns the number of closed workflow executions within the given domain that meet the\n specified filtering criteria.</p>\n <note>\n <p>This operation is eventually consistent. The results are best effort and may not\n exactly reflect recent updates and changes.</p>\n </note>\n <p>\n <b>Access Control</b>\n </p>\n <p>You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:</p>\n <ul>\n <li>\n <p>Use a <code>Resource</code> element with the domain name to limit the action to\n only specified domains.</p>\n </li>\n <li>\n <p>Use an <code>Action</code> element to allow or deny permission to call this\n action.</p>\n </li>\n <li>\n <p>Constrain the following parameters by using a <code>Condition</code> element with\n the appropriate keys.</p>\n <ul>\n <li>\n <p>\n <code>tagFilter.tag</code>: String constraint. The key is\n <code>swf:tagFilter.tag</code>.</p>\n </li>\n <li>\n <p>\n <code>typeFilter.name</code>: String constraint. The key is\n <code>swf:typeFilter.name</code>.</p>\n </li>\n <li>\n <p>\n <code>typeFilter.version</code>: String constraint. The key is\n <code>swf:typeFilter.version</code>.</p>\n </li>\n </ul>\n </li>\n </ul>\n <p>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 <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.\n For details and example IAM policies, see <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html\">Using IAM to Manage Access to Amazon SWF\n Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#CountClosedWorkflowExecutionsInput": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"domain": {
|
|||
|
"target": "com.amazonaws.swf#DomainName",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The name of the domain containing the workflow executions to count.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"startTimeFilter": {
|
|||
|
"target": "com.amazonaws.swf#ExecutionTimeFilter",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If specified, only workflow executions that meet the start time criteria of the filter\n are counted.</p>\n <note>\n <p>\n <code>startTimeFilter</code> and <code>closeTimeFilter</code> are mutually exclusive. You\n must specify one of these in a request but not both.</p>\n </note>"
|
|||
|
}
|
|||
|
},
|
|||
|
"closeTimeFilter": {
|
|||
|
"target": "com.amazonaws.swf#ExecutionTimeFilter",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If specified, only workflow executions that meet the close time criteria of the filter\n are counted.</p>\n <note>\n <p>\n <code>startTimeFilter</code> and <code>closeTimeFilter</code> are mutually exclusive. You\n must specify one of these in a request but not both.</p>\n </note>"
|
|||
|
}
|
|||
|
},
|
|||
|
"executionFilter": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowExecutionFilter",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If specified, only workflow executions matching the <code>WorkflowId</code> in the\n filter are counted.</p>\n <note>\n <p>\n <code>closeStatusFilter</code>, <code>executionFilter</code>, <code>typeFilter</code> and\n <code>tagFilter</code> are mutually exclusive. You can specify at most one of these in a\n request.</p>\n </note>"
|
|||
|
}
|
|||
|
},
|
|||
|
"typeFilter": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowTypeFilter",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If specified, indicates the type of the workflow executions to be counted.</p>\n <note>\n <p>\n <code>closeStatusFilter</code>, <code>executionFilter</code>, <code>typeFilter</code> and\n <code>tagFilter</code> are mutually exclusive. You can specify at most one of these in a\n request.</p>\n </note>"
|
|||
|
}
|
|||
|
},
|
|||
|
"tagFilter": {
|
|||
|
"target": "com.amazonaws.swf#TagFilter",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If specified, only executions that have a tag that matches the filter are\n counted.</p>\n <note>\n <p>\n <code>closeStatusFilter</code>, <code>executionFilter</code>, <code>typeFilter</code> and\n <code>tagFilter</code> are mutually exclusive. You can specify at most one of these in a\n request.</p>\n </note>"
|
|||
|
}
|
|||
|
},
|
|||
|
"closeStatusFilter": {
|
|||
|
"target": "com.amazonaws.swf#CloseStatusFilter",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If specified, only workflow executions that match this close status are counted. This\n filter has an affect only if <code>executionStatus</code> is specified as\n <code>CLOSED</code>.</p>\n <note>\n <p>\n <code>closeStatusFilter</code>, <code>executionFilter</code>, <code>typeFilter</code> and\n <code>tagFilter</code> are mutually exclusive. You can specify at most one of these in a\n request.</p>\n </note>"
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#CountOpenWorkflowExecutions": {
|
|||
|
"type": "operation",
|
|||
|
"input": {
|
|||
|
"target": "com.amazonaws.swf#CountOpenWorkflowExecutionsInput"
|
|||
|
},
|
|||
|
"output": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowExecutionCount"
|
|||
|
},
|
|||
|
"errors": [
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#OperationNotPermittedFault"
|
|||
|
},
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#UnknownResourceFault"
|
|||
|
}
|
|||
|
],
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Returns the number of open workflow executions within the given domain that meet the\n specified filtering criteria.</p>\n <note>\n <p>This operation is eventually consistent. The results are best effort and may not\n exactly reflect recent updates and changes.</p>\n </note>\n <p>\n <b>Access Control</b>\n </p>\n <p>You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:</p>\n <ul>\n <li>\n <p>Use a <code>Resource</code> element with the domain name to limit the action to\n only specified domains.</p>\n </li>\n <li>\n <p>Use an <code>Action</code> element to allow or deny permission to call this\n action.</p>\n </li>\n <li>\n <p>Constrain the following parameters by using a <code>Condition</code> element with\n the appropriate keys.</p>\n <ul>\n <li>\n <p>\n <code>tagFilter.tag</code>: String constraint. The key is\n <code>swf:tagFilter.tag</code>.</p>\n </li>\n <li>\n <p>\n <code>typeFilter.name</code>: String constraint. The key is\n <code>swf:typeFilter.name</code>.</p>\n </li>\n <li>\n <p>\n <code>typeFilter.version</code>: String constraint. The key is\n <code>swf:typeFilter.version</code>.</p>\n </li>\n </ul>\n </li>\n </ul>\n <p>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 <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.\n For details and example IAM policies, see <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html\">Using IAM to Manage Access to Amazon SWF\n Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#CountOpenWorkflowExecutionsInput": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"domain": {
|
|||
|
"target": "com.amazonaws.swf#DomainName",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The name of the domain containing the workflow executions to count.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"startTimeFilter": {
|
|||
|
"target": "com.amazonaws.swf#ExecutionTimeFilter",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Specifies the start time criteria that workflow executions must meet in order to be\n counted.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"typeFilter": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowTypeFilter",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Specifies the type of the workflow executions to be counted.</p>\n <note>\n <p>\n <code>executionFilter</code>, <code>typeFilter</code> and <code>tagFilter</code> are\n mutually exclusive. You can specify at most one of these in a request.</p>\n </note>"
|
|||
|
}
|
|||
|
},
|
|||
|
"tagFilter": {
|
|||
|
"target": "com.amazonaws.swf#TagFilter",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If specified, only executions that have a tag that matches the filter are\n counted.</p>\n <note>\n <p>\n <code>executionFilter</code>, <code>typeFilter</code> and <code>tagFilter</code> are\n mutually exclusive. You can specify at most one of these in a request.</p>\n </note>"
|
|||
|
}
|
|||
|
},
|
|||
|
"executionFilter": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowExecutionFilter",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If specified, only workflow executions matching the <code>WorkflowId</code> in the\n filter are counted.</p>\n <note>\n <p>\n <code>executionFilter</code>, <code>typeFilter</code> and <code>tagFilter</code> are\n mutually exclusive. You can specify at most one of these in a request.</p>\n </note>"
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#CountPendingActivityTasks": {
|
|||
|
"type": "operation",
|
|||
|
"input": {
|
|||
|
"target": "com.amazonaws.swf#CountPendingActivityTasksInput"
|
|||
|
},
|
|||
|
"output": {
|
|||
|
"target": "com.amazonaws.swf#PendingTaskCount"
|
|||
|
},
|
|||
|
"errors": [
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#OperationNotPermittedFault"
|
|||
|
},
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#UnknownResourceFault"
|
|||
|
}
|
|||
|
],
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>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 <code>0</code> is returned.</p>\n <p>\n <b>Access Control</b>\n </p>\n <p>You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:</p>\n <ul>\n <li>\n <p>Use a <code>Resource</code> element with the domain name to limit the action to\n only specified domains.</p>\n </li>\n <li>\n <p>Use an <code>Action</code> element to allow or deny permission to call this\n action.</p>\n </li>\n <li>\n <p>Constrain the <code>taskList.name</code> parameter by using a\n <code>Condition</code> element with the <code>swf:taskList.name</code> key to allow the\n action to access only certain task lists.</p>\n </li>\n </ul>\n <p>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 <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.\n For details and example IAM policies, see <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html\">Using IAM to Manage Access to Amazon SWF\n Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#CountPendingActivityTasksInput": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"domain": {
|
|||
|
"target": "com.amazonaws.swf#DomainName",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The name of the domain that contains the task list.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"taskList": {
|
|||
|
"target": "com.amazonaws.swf#TaskList",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The name of the task list.</p>",
|
|||
|
"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": "<p>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 <code>0</code> is returned.</p>\n <p>\n <b>Access Control</b>\n </p>\n <p>You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:</p>\n <ul>\n <li>\n <p>Use a <code>Resource</code> element with the domain name to limit the action to\n only specified domains.</p>\n </li>\n <li>\n <p>Use an <code>Action</code> element to allow or deny permission to call this\n action.</p>\n </li>\n <li>\n <p>Constrain the <code>taskList.name</code> parameter by using a\n <code>Condition</code> element with the <code>swf:taskList.name</code> key to allow the\n action to access only certain task lists.</p>\n </li>\n </ul>\n <p>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 <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.\n For details and example IAM policies, see <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html\">Using IAM to Manage Access to Amazon SWF\n Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#CountPendingDecisionTasksInput": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"domain": {
|
|||
|
"target": "com.amazonaws.swf#DomainName",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The name of the domain that contains the task list.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"taskList": {
|
|||
|
"target": "com.amazonaws.swf#TaskList",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The name of the task list.</p>",
|
|||
|
"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": "<p>Specifies the type of the decision.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"scheduleActivityTaskDecisionAttributes": {
|
|||
|
"target": "com.amazonaws.swf#ScheduleActivityTaskDecisionAttributes",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>ScheduleActivityTask</code> decision. It isn't set for other decision types.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"requestCancelActivityTaskDecisionAttributes": {
|
|||
|
"target": "com.amazonaws.swf#RequestCancelActivityTaskDecisionAttributes",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>RequestCancelActivityTask</code> decision. It isn't set for other decision types.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"completeWorkflowExecutionDecisionAttributes": {
|
|||
|
"target": "com.amazonaws.swf#CompleteWorkflowExecutionDecisionAttributes",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>CompleteWorkflowExecution</code> decision. It isn't set for other decision types.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"failWorkflowExecutionDecisionAttributes": {
|
|||
|
"target": "com.amazonaws.swf#FailWorkflowExecutionDecisionAttributes",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>FailWorkflowExecution</code> decision. It isn't set for other decision types.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"cancelWorkflowExecutionDecisionAttributes": {
|
|||
|
"target": "com.amazonaws.swf#CancelWorkflowExecutionDecisionAttributes",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>CancelWorkflowExecution</code> decision. It isn't set for other decision types.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"continueAsNewWorkflowExecutionDecisionAttributes": {
|
|||
|
"target": "com.amazonaws.swf#ContinueAsNewWorkflowExecutionDecisionAttributes",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>ContinueAsNewWorkflowExecution</code> decision. It isn't set for other decision types.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"recordMarkerDecisionAttributes": {
|
|||
|
"target": "com.amazonaws.swf#RecordMarkerDecisionAttributes",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>RecordMarker</code> decision. It isn't set for other decision types.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"startTimerDecisionAttributes": {
|
|||
|
"target": "com.amazonaws.swf#StartTimerDecisionAttributes",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>StartTimer</code> decision. It isn't set for other decision types.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"cancelTimerDecisionAttributes": {
|
|||
|
"target": "com.amazonaws.swf#CancelTimerDecisionAttributes",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>CancelTimer</code> decision. It isn't set for other decision types.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"signalExternalWorkflowExecutionDecisionAttributes": {
|
|||
|
"target": "com.amazonaws.swf#SignalExternalWorkflowExecutionDecisionAttributes",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>SignalExternalWorkflowExecution</code> decision. It isn't set for other decision types.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"requestCancelExternalWorkflowExecutionDecisionAttributes": {
|
|||
|
"target": "com.amazonaws.swf#RequestCancelExternalWorkflowExecutionDecisionAttributes",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>RequestCancelExternalWorkflowExecution</code> decision.\n It isn't set for other decision types.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"startChildWorkflowExecutionDecisionAttributes": {
|
|||
|
"target": "com.amazonaws.swf#StartChildWorkflowExecutionDecisionAttributes",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>StartChildWorkflowExecution</code> decision. It isn't set for other decision types.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"scheduleLambdaFunctionDecisionAttributes": {
|
|||
|
"target": "com.amazonaws.swf#ScheduleLambdaFunctionDecisionAttributes",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>ScheduleLambdaFunction</code> decision. It isn't set\n for other decision types.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Specifies a decision made by the decider. A decision can be one of these types:</p>\n <ul>\n <li>\n <p>\n <code>CancelTimer</code> – Cancels a previously started timer and records a <code>TimerCanceled</code> event in the\n history.</p>\n </li>\n <li>\n <p>\n <code>CancelWorkflowExecution</code> – Closes the workflow execution and records a\n <code>WorkflowExecutionCanceled</code> event in the history.</p>\n </li>\n <li>\n <p>\n <code>CompleteWorkflowExecution</code> – Closes the workflow execution and records a\n <code>WorkflowExecutionCompleted</code> event in the history .</p>\n </li>\n <li>\n <p>\n <code>ContinueAsNewWorkflowExecution</code> – 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 <code>WorkflowExecutionContinuedAsNew</code> event\n is recorded in the history.</p>\n </li>\n <li>\n <p>\n <code>FailWorkflowExecution</code> – Closes the workflow execution and records a <code>WorkflowExecutionFailed</code>\n event in the history.</p>\n </li>\n <li>\n <p>\n <code>RecordMarker</code> – Records a <code>MarkerRecorded</code> 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.</p>\n </li>\n <li>\n <p>\n <code>RequestCancelActivityTask</code> – 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 <a>RecordActivityTaskHeartbeat</a>.</p>\n </li>\n <li>\n <p>\n <code>RequestCancelExternalWorkflowExecution</code> – Requests that a request be made to cancel the specified external\n workflow execution and records a <code>RequestCancelExternalWorkflowExecutionInitiated</code> event in the\n history.</p>\n </li>\n <li>\n <p>\n <code>ScheduleActivityTask</code> – Schedules an activity task.</p>\n </li>\n <li>\n <p>\n <code>SignalExternalWorkflowExecution</code> – Requests a signal to be delivered to the specified external workflow\n execution and records a <code>SignalExternalWorkflowExecutionInitiated</code> event in the history.</p>\n </li>\n <li>\n <p>\n <code>StartChildWorkflowExecution</code> – Requests that a child workflow execution be started and records a\n <code>StartChildWorkflowExecutionInitiated</code> event in the history. The child workflow execution is a\n separate workflow execution with its own history.</p>\n </li>\n <li>\n <p>\n <code>StartTimer</code> – Starts a timer for this workflow execution and records a <code>TimerStarted</code> event in\n the history. This timer fires after the specified delay and record a <code>TimerFired</code> event.</p>\n </li>\n </ul>\n <p>\n <b>Access Control</b>\n </p>\n <p>If you grant permission to use <code>RespondDecisionTaskCompleted</code>, 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 conc
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#DecisionList": {
|
|||
|
"type": "list",
|
|||
|
"member": {
|
|||
|
"target": "com.amazonaws.swf#Decision"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#DecisionTask": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"taskToken": {
|
|||
|
"target": "com.amazonaws.swf#TaskToken",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>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.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"startedEventId": {
|
|||
|
"target": "com.amazonaws.swf#EventId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The ID of the <code>DecisionTaskStarted</code> event recorded in the history.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"workflowExecution": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowExecution",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The workflow execution for which this decision task was created.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"workflowType": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowType",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The type of the workflow execution for which this decision task was created.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"events": {
|
|||
|
"target": "com.amazonaws.swf#HistoryEventList",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>A paginated list of history events of the workflow execution. The decider uses this during the processing of the decision task.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"nextPageToken": {
|
|||
|
"target": "com.amazonaws.swf#PageToken",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If a <code>NextPageToken</code> 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 <code>nextPageToken</code>. Keep all other arguments unchanged.</p>\n <p>The configured <code>maximumPageSize</code> determines how many results can be returned in a single call.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"previousStartedEventId": {
|
|||
|
"target": "com.amazonaws.swf#EventId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>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.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>A structure that represents a decision task. Decision tasks are sent to deciders in order for them to make decisions.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#DecisionTaskCompletedEventAttributes": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"executionContext": {
|
|||
|
"target": "com.amazonaws.swf#Data",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>User defined context for the workflow execution.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"scheduledEventId": {
|
|||
|
"target": "com.amazonaws.swf#EventId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The ID of the <code>DecisionTaskScheduled</code> 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.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"startedEventId": {
|
|||
|
"target": "com.amazonaws.swf#EventId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The ID of the <code>DecisionTaskStarted</code> 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.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>DecisionTaskCompleted</code> event.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#DecisionTaskScheduledEventAttributes": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"taskList": {
|
|||
|
"target": "com.amazonaws.swf#TaskList",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The name of the task list in which the decision task was scheduled.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"taskPriority": {
|
|||
|
"target": "com.amazonaws.swf#TaskPriority",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>\n A task priority that, if set, specifies the priority for this decision task.\n Valid values are integers that range from Java's <code>Integer.MIN_VALUE</code>\n (-2147483648) to <code>Integer.MAX_VALUE</code> (2147483647). Higher numbers indicate higher priority.</p>\n <p>For more information about setting task priority, see <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html\">Setting Task Priority</a> in the <i>Amazon SWF Developer Guide</i>.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"startToCloseTimeout": {
|
|||
|
"target": "com.amazonaws.swf#DurationInSecondsOptional",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The maximum duration for this decision task. The task is considered timed out if it doesn't completed within this duration.</p>\n <p>The duration is specified in seconds, an integer greater than or equal to <code>0</code>. You can use <code>NONE</code> to specify unlimited duration.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides details about the <code>DecisionTaskScheduled</code> event.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#DecisionTaskStartedEventAttributes": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"identity": {
|
|||
|
"target": "com.amazonaws.swf#Identity",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Identity of the decider making the request. This enables diagnostic tracing when problems arise. The form of this identity is user defined.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"scheduledEventId": {
|
|||
|
"target": "com.amazonaws.swf#EventId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The ID of the <code>DecisionTaskScheduled</code> 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.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>DecisionTaskStarted</code> event.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#DecisionTaskTimedOutEventAttributes": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"timeoutType": {
|
|||
|
"target": "com.amazonaws.swf#DecisionTaskTimeoutType",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The type of timeout that expired before the decision task could be completed.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"scheduledEventId": {
|
|||
|
"target": "com.amazonaws.swf#EventId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The ID of the <code>DecisionTaskScheduled</code> 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.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"startedEventId": {
|
|||
|
"target": "com.amazonaws.swf#EventId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The ID of the <code>DecisionTaskStarted</code> 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.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>DecisionTaskTimedOut</code> event.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#DecisionTaskTimeoutType": {
|
|||
|
"type": "string",
|
|||
|
"traits": {
|
|||
|
"smithy.api#enum": [
|
|||
|
{
|
|||
|
"value": "START_TO_CLOSE",
|
|||
|
"name": "START_TO_CLOSE"
|
|||
|
}
|
|||
|
]
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#DecisionType": {
|
|||
|
"type": "string",
|
|||
|
"traits": {
|
|||
|
"smithy.api#enum": [
|
|||
|
{
|
|||
|
"value": "ScheduleActivityTask",
|
|||
|
"name": "ScheduleActivityTask"
|
|||
|
},
|
|||
|
{
|
|||
|
"value": "RequestCancelActivityTask",
|
|||
|
"name": "RequestCancelActivityTask"
|
|||
|
},
|
|||
|
{
|
|||
|
"value": "CompleteWorkflowExecution",
|
|||
|
"name": "CompleteWorkflowExecution"
|
|||
|
},
|
|||
|
{
|
|||
|
"value": "FailWorkflowExecution",
|
|||
|
"name": "FailWorkflowExecution"
|
|||
|
},
|
|||
|
{
|
|||
|
"value": "CancelWorkflowExecution",
|
|||
|
"name": "CancelWorkflowExecution"
|
|||
|
},
|
|||
|
{
|
|||
|
"value": "ContinueAsNewWorkflowExecution",
|
|||
|
"name": "ContinueAsNewWorkflowExecution"
|
|||
|
},
|
|||
|
{
|
|||
|
"value": "RecordMarker",
|
|||
|
"name": "RecordMarker"
|
|||
|
},
|
|||
|
{
|
|||
|
"value": "StartTimer",
|
|||
|
"name": "StartTimer"
|
|||
|
},
|
|||
|
{
|
|||
|
"value": "CancelTimer",
|
|||
|
"name": "CancelTimer"
|
|||
|
},
|
|||
|
{
|
|||
|
"value": "SignalExternalWorkflowExecution",
|
|||
|
"name": "SignalExternalWorkflowExecution"
|
|||
|
},
|
|||
|
{
|
|||
|
"value": "RequestCancelExternalWorkflowExecution",
|
|||
|
"name": "RequestCancelExternalWorkflowExecution"
|
|||
|
},
|
|||
|
{
|
|||
|
"value": "StartChildWorkflowExecution",
|
|||
|
"name": "StartChildWorkflowExecution"
|
|||
|
},
|
|||
|
{
|
|||
|
"value": "ScheduleLambdaFunction",
|
|||
|
"name": "ScheduleLambdaFunction"
|
|||
|
}
|
|||
|
]
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#DefaultUndefinedFault": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"message": {
|
|||
|
"target": "com.amazonaws.swf#ErrorMessage"
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The <code>StartWorkflowExecution</code> API action was called without the required\n parameters set.</p>\n <p>Some workflow execution parameters, such as the decision <code>taskList</code>, 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 <code>StartWorkflowExecution</code> call and Amazon SWF uses the values defined in the workflow\n type.</p>\n <note>\n <p>If these parameters aren't set and no default parameters were defined in the workflow\n type, this error is displayed.</p>\n </note>",
|
|||
|
"smithy.api#error": "client"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#DeprecateActivityType": {
|
|||
|
"type": "operation",
|
|||
|
"input": {
|
|||
|
"target": "com.amazonaws.swf#DeprecateActivityTypeInput"
|
|||
|
},
|
|||
|
"errors": [
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#OperationNotPermittedFault"
|
|||
|
},
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#TypeDeprecatedFault"
|
|||
|
},
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#UnknownResourceFault"
|
|||
|
}
|
|||
|
],
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Deprecates the specified <i>activity type</i>. 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.</p>\n <note>\n <p>This operation is eventually consistent. The results are best effort and may not\n exactly reflect recent updates and changes.</p>\n </note>\n <p>\n <b>Access Control</b>\n </p>\n <p>You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:</p>\n <ul>\n <li>\n <p>Use a <code>Resource</code> element with the domain name to limit the action to\n only specified domains.</p>\n </li>\n <li>\n <p>Use an <code>Action</code> element to allow or deny permission to call this\n action.</p>\n </li>\n <li>\n <p>Constrain the following parameters by using a <code>Condition</code> element with\n the appropriate keys.</p>\n <ul>\n <li>\n <p>\n <code>activityType.name</code>: String constraint. The key is\n <code>swf:activityType.name</code>.</p>\n </li>\n <li>\n <p>\n <code>activityType.version</code>: String constraint. The key is\n <code>swf:activityType.version</code>.</p>\n </li>\n </ul>\n </li>\n </ul>\n <p>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 <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.\n For details and example IAM policies, see <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html\">Using IAM to Manage Access to Amazon SWF\n Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#DeprecateActivityTypeInput": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"domain": {
|
|||
|
"target": "com.amazonaws.swf#DomainName",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The name of the domain in which the activity type is registered.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"activityType": {
|
|||
|
"target": "com.amazonaws.swf#ActivityType",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The activity type to deprecate.</p>",
|
|||
|
"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": "<p>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.</p>\n <note>\n <p>This operation is eventually consistent. The results are best effort and may not\n exactly reflect recent updates and changes.</p>\n </note>\n <p>\n <b>Access Control</b>\n </p>\n <p>You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:</p>\n <ul>\n <li>\n <p>Use a <code>Resource</code> element with the domain name to limit the action to\n only specified domains.</p>\n </li>\n <li>\n <p>Use an <code>Action</code> element to allow or deny permission to call this\n action.</p>\n </li>\n <li>\n <p>You cannot use an IAM policy to constrain this action's parameters.</p>\n </li>\n </ul>\n <p>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 <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.\n For details and example IAM policies, see <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html\">Using IAM to Manage Access to Amazon SWF\n Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#DeprecateDomainInput": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"name": {
|
|||
|
"target": "com.amazonaws.swf#DomainName",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The name of the domain to deprecate.</p>",
|
|||
|
"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": "<p>Deprecates the specified <i>workflow type</i>. 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.</p>\n <note>\n <p>This operation is eventually consistent. The results are best effort and may not\n exactly reflect recent updates and changes.</p>\n </note>\n <p>\n <b>Access Control</b>\n </p>\n <p>You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:</p>\n <ul>\n <li>\n <p>Use a <code>Resource</code> element with the domain name to limit the action to\n only specified domains.</p>\n </li>\n <li>\n <p>Use an <code>Action</code> element to allow or deny permission to call this\n action.</p>\n </li>\n <li>\n <p>Constrain the following parameters by using a <code>Condition</code> element with\n the appropriate keys.</p>\n <ul>\n <li>\n <p>\n <code>workflowType.name</code>: String constraint. The key is\n <code>swf:workflowType.name</code>.</p>\n </li>\n <li>\n <p>\n <code>workflowType.version</code>: String constraint. The key is\n <code>swf:workflowType.version</code>.</p>\n </li>\n </ul>\n </li>\n </ul>\n <p>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 <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.\n For details and example IAM policies, see <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html\">Using IAM to Manage Access to Amazon SWF\n Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#DeprecateWorkflowTypeInput": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"domain": {
|
|||
|
"target": "com.amazonaws.swf#DomainName",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The name of the domain in which the workflow type is registered.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"workflowType": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowType",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The workflow type to deprecate.</p>",
|
|||
|
"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": "<p>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.</p>\n <p>\n <b>Access Control</b>\n </p>\n <p>You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:</p>\n <ul>\n <li>\n <p>Use a <code>Resource</code> element with the domain name to limit the action to\n only specified domains.</p>\n </li>\n <li>\n <p>Use an <code>Action</code> element to allow or deny permission to call this\n action.</p>\n </li>\n <li>\n <p>Constrain the following parameters by using a <code>Condition</code> element with\n the appropriate keys.</p>\n <ul>\n <li>\n <p>\n <code>activityType.name</code>: String constraint. The key is\n <code>swf:activityType.name</code>.</p>\n </li>\n <li>\n <p>\n <code>activityType.version</code>: String constraint. The key is\n <code>swf:activityType.version</code>.</p>\n </li>\n </ul>\n </li>\n </ul>\n <p>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 <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.\n For details and example IAM policies, see <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html\">Using IAM to Manage Access to Amazon SWF\n Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#DescribeActivityTypeInput": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"domain": {
|
|||
|
"target": "com.amazonaws.swf#DomainName",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The name of the domain in which the activity type is registered.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"activityType": {
|
|||
|
"target": "com.amazonaws.swf#ActivityType",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The activity type to get information about. Activity types are identified by the\n <code>name</code> and <code>version</code> that were supplied when the activity was\n registered.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#DescribeDomain": {
|
|||
|
"type": "operation",
|
|||
|
"input": {
|
|||
|
"target": "com.amazonaws.swf#DescribeDomainInput"
|
|||
|
},
|
|||
|
"output": {
|
|||
|
"target": "com.amazonaws.swf#DomainDetail"
|
|||
|
},
|
|||
|
"errors": [
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#OperationNotPermittedFault"
|
|||
|
},
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#UnknownResourceFault"
|
|||
|
}
|
|||
|
],
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Returns information about the specified domain, including description and\n status.</p>\n <p>\n <b>Access Control</b>\n </p>\n <p>You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:</p>\n <ul>\n <li>\n <p>Use a <code>Resource</code> element with the domain name to limit the action to\n only specified domains.</p>\n </li>\n <li>\n <p>Use an <code>Action</code> element to allow or deny permission to call this\n action.</p>\n </li>\n <li>\n <p>You cannot use an IAM policy to constrain this action's parameters.</p>\n </li>\n </ul>\n <p>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 <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.\n For details and example IAM policies, see <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html\">Using IAM to Manage Access to Amazon SWF\n Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#DescribeDomainInput": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"name": {
|
|||
|
"target": "com.amazonaws.swf#DomainName",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The name of the domain to describe.</p>",
|
|||
|
"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": "<p>Returns information about the specified workflow execution including its type and some\n statistics.</p>\n <note>\n <p>This operation is eventually consistent. The results are best effort and may not\n exactly reflect recent updates and changes.</p>\n </note>\n <p>\n <b>Access Control</b>\n </p>\n <p>You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:</p>\n <ul>\n <li>\n <p>Use a <code>Resource</code> element with the domain name to limit the action to\n only specified domains.</p>\n </li>\n <li>\n <p>Use an <code>Action</code> element to allow or deny permission to call this\n action.</p>\n </li>\n <li>\n <p>You cannot use an IAM policy to constrain this action's parameters.</p>\n </li>\n </ul>\n <p>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 <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.\n For details and example IAM policies, see <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html\">Using IAM to Manage Access to Amazon SWF\n Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#DescribeWorkflowExecutionInput": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"domain": {
|
|||
|
"target": "com.amazonaws.swf#DomainName",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The name of the domain containing the workflow execution.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"execution": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowExecution",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The workflow execution to describe.</p>",
|
|||
|
"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": "<p>Returns information about the specified <i>workflow type</i>. This\n includes configuration settings specified when the type was registered and other information\n such as creation date, current status, etc.</p>\n <p>\n <b>Access Control</b>\n </p>\n <p>You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:</p>\n <ul>\n <li>\n <p>Use a <code>Resource</code> element with the domain name to limit the action to\n only specified domains.</p>\n </li>\n <li>\n <p>Use an <code>Action</code> element to allow or deny permission to call this\n action.</p>\n </li>\n <li>\n <p>Constrain the following parameters by using a <code>Condition</code> element with\n the appropriate keys.</p>\n <ul>\n <li>\n <p>\n <code>workflowType.name</code>: String constraint. The key is\n <code>swf:workflowType.name</code>.</p>\n </li>\n <li>\n <p>\n <code>workflowType.version</code>: String constraint. The key is\n <code>swf:workflowType.version</code>.</p>\n </li>\n </ul>\n </li>\n </ul>\n <p>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 <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.\n For details and example IAM policies, see <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html\">Using IAM to Manage Access to Amazon SWF\n Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#DescribeWorkflowTypeInput": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"domain": {
|
|||
|
"target": "com.amazonaws.swf#DomainName",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The name of the domain in which this workflow type is registered.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"workflowType": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowType",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The workflow type to describe.</p>",
|
|||
|
"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": "<p>A description that may help with diagnosing the cause of the fault.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>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.</p>",
|
|||
|
"smithy.api#error": "client"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#DomainConfiguration": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"workflowExecutionRetentionPeriodInDays": {
|
|||
|
"target": "com.amazonaws.swf#DurationInDays",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The retention period for workflow executions in this domain.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Contains the configuration settings of a domain.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#DomainDeprecatedFault": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"message": {
|
|||
|
"target": "com.amazonaws.swf#ErrorMessage",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>A description that may help with diagnosing the cause of the fault.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Returned when the specified domain has been deprecated.</p>",
|
|||
|
"smithy.api#error": "client"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#DomainDetail": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"domainInfo": {
|
|||
|
"target": "com.amazonaws.swf#DomainInfo",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The basic information about a domain, such as its name, status, and\n description.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"configuration": {
|
|||
|
"target": "com.amazonaws.swf#DomainConfiguration",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The domain configuration. Currently, this includes only the domain's retention\n period.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Contains details of a domain.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#DomainInfo": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"name": {
|
|||
|
"target": "com.amazonaws.swf#DomainName",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The name of the domain. This name is unique within the account.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"status": {
|
|||
|
"target": "com.amazonaws.swf#RegistrationStatus",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The status of the domain:</p>\n <ul>\n <li>\n <p>\n <code>REGISTERED</code> – The domain is properly registered and available. You can use this domain\n for registering types and creating new workflow executions.\n </p>\n </li>\n <li>\n <p>\n <code>DEPRECATED</code> – The domain was deprecated using <a>DeprecateDomain</a>, but is\n still in use. You should not create new workflow executions in this domain.\n </p>\n </li>\n </ul>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"description": {
|
|||
|
"target": "com.amazonaws.swf#Description",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The description of the domain provided through <a>RegisterDomain</a>.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"arn": {
|
|||
|
"target": "com.amazonaws.swf#Arn",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The ARN of the domain.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Contains general information about a domain.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"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": "<p>A list of DomainInfo structures.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"nextPageToken": {
|
|||
|
"target": "com.amazonaws.swf#PageToken",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If a <code>NextPageToken</code> 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 <code>nextPageToken</code>. Keep all other arguments unchanged.</p>\n <p>The configured <code>maximumPageSize</code> determines how many results can be returned in a single call.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Contains a paginated collection of DomainInfo structures.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"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": "<p>Specifies the oldest start or close date and time to return.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"latestDate": {
|
|||
|
"target": "com.amazonaws.swf#Timestamp",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Specifies the latest start or close date and time to return.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>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 <a href=\"https://en.wikipedia.org/wiki/Unix_time\">Unix Time format</a>. For example:\n <code>\"oldestDate\": 1325376070.</code>\n </p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#ExternalWorkflowExecutionCancelRequestedEventAttributes": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"workflowExecution": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowExecution",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The external workflow execution to which the cancellation request was delivered.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"initiatedEventId": {
|
|||
|
"target": "com.amazonaws.swf#EventId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The ID of the <code>RequestCancelExternalWorkflowExecutionInitiated</code> event corresponding to the\n <code>RequestCancelExternalWorkflowExecution</code> 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.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>ExternalWorkflowExecutionCancelRequested</code> event.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#ExternalWorkflowExecutionSignaledEventAttributes": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"workflowExecution": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowExecution",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The external workflow execution that the signal was delivered to.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"initiatedEventId": {
|
|||
|
"target": "com.amazonaws.swf#EventId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The ID of the <code>SignalExternalWorkflowExecutionInitiated</code> event corresponding to the\n <code>SignalExternalWorkflowExecution</code> 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.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>ExternalWorkflowExecutionSignaled</code> event.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#FailWorkflowExecutionDecisionAttributes": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"reason": {
|
|||
|
"target": "com.amazonaws.swf#FailureReason",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>A descriptive reason for the failure that may help in diagnostics.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"details": {
|
|||
|
"target": "com.amazonaws.swf#Data",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>\n Details of the failure.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>FailWorkflowExecution</code> decision.</p>\n <p>\n <b>Access Control</b>\n </p>\n <p>You can use IAM policies to control this decision's access to Amazon SWF resources as follows:</p>\n <ul>\n <li>\n <p>Use a <code>Resource</code> element with the domain name to limit the action to only\n specified domains.</p>\n </li>\n <li>\n <p>Use an <code>Action</code> element to allow or deny permission to call this action.</p>\n </li>\n <li>\n <p>You cannot use an IAM policy to constrain this action's parameters.</p>\n </li>\n </ul>\n <p>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 <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>. For details and example IAM policies, see\n <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html\">Using IAM to Manage Access to Amazon SWF Workflows</a>\n in the <i>Amazon SWF Developer Guide</i>.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#FailWorkflowExecutionFailedCause": {
|
|||
|
"type": "string",
|
|||
|
"traits": {
|
|||
|
"smithy.api#enum": [
|
|||
|
{
|
|||
|
"value": "UNHANDLED_DECISION",
|
|||
|
"name": "UNHANDLED_DECISION"
|
|||
|
},
|
|||
|
{
|
|||
|
"value": "OPERATION_NOT_PERMITTED",
|
|||
|
"name": "OPERATION_NOT_PERMITTED"
|
|||
|
}
|
|||
|
]
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#FailWorkflowExecutionFailedEventAttributes": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"cause": {
|
|||
|
"target": "com.amazonaws.swf#FailWorkflowExecutionFailedCause",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.</p>\n <note>\n <p>If <code>cause</code> is set to <code>OPERATION_NOT_PERMITTED</code>, the decision failed\n because it lacked sufficient permissions. For details and example IAM policies, see <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html\">Using IAM to Manage Access to Amazon SWF Workflows</a>\n in the <i>Amazon SWF Developer Guide</i>.</p>\n </note>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"decisionTaskCompletedEventId": {
|
|||
|
"target": "com.amazonaws.swf#EventId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The ID of the <code>DecisionTaskCompleted</code> event corresponding to the decision task that resulted in the\n <code>FailWorkflowExecution</code> 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.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>FailWorkflowExecutionFailed</code> event.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#FailureReason": {
|
|||
|
"type": "string",
|
|||
|
"traits": {
|
|||
|
"smithy.api#length": {
|
|||
|
"min": 0,
|
|||
|
"max": 256
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#FunctionId": {
|
|||
|
"type": "string",
|
|||
|
"traits": {
|
|||
|
"smithy.api#length": {
|
|||
|
"min": 1,
|
|||
|
"max": 256
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#FunctionInput": {
|
|||
|
"type": "string",
|
|||
|
"traits": {
|
|||
|
"smithy.api#length": {
|
|||
|
"min": 0,
|
|||
|
"max": 32768
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#FunctionName": {
|
|||
|
"type": "string",
|
|||
|
"traits": {
|
|||
|
"smithy.api#length": {
|
|||
|
"min": 1,
|
|||
|
"max": 64
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#GetWorkflowExecutionHistory": {
|
|||
|
"type": "operation",
|
|||
|
"input": {
|
|||
|
"target": "com.amazonaws.swf#GetWorkflowExecutionHistoryInput"
|
|||
|
},
|
|||
|
"output": {
|
|||
|
"target": "com.amazonaws.swf#History"
|
|||
|
},
|
|||
|
"errors": [
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#OperationNotPermittedFault"
|
|||
|
},
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#UnknownResourceFault"
|
|||
|
}
|
|||
|
],
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>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 <code>nextPageToken</code> returned by the initial call.</p>\n <note>\n <p>This operation is eventually consistent. The results are best effort and may not\n exactly reflect recent updates and changes.</p>\n </note>\n <p>\n <b>Access Control</b>\n </p>\n <p>You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:</p>\n <ul>\n <li>\n <p>Use a <code>Resource</code> element with the domain name to limit the action to\n only specified domains.</p>\n </li>\n <li>\n <p>Use an <code>Action</code> element to allow or deny permission to call this\n action.</p>\n </li>\n <li>\n <p>You cannot use an IAM policy to constrain this action's parameters.</p>\n </li>\n </ul>\n <p>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 <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.\n For details and example IAM policies, see <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html\">Using IAM to Manage Access to Amazon SWF\n Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>",
|
|||
|
"smithy.api#paginated": {
|
|||
|
"inputToken": "nextPageToken",
|
|||
|
"outputToken": "nextPageToken",
|
|||
|
"items": "events",
|
|||
|
"pageSize": "maximumPageSize"
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#GetWorkflowExecutionHistoryInput": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"domain": {
|
|||
|
"target": "com.amazonaws.swf#DomainName",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The name of the domain containing the workflow execution.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"execution": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowExecution",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Specifies the workflow execution for which to return the history.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"nextPageToken": {
|
|||
|
"target": "com.amazonaws.swf#PageToken",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If <code>NextPageToken</code> is returned there are more results\n available. The value of <code>NextPageToken</code> 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 <code>400</code> error: \"<code>Specified token has \n exceeded its maximum lifetime</code>\". </p>\n \n <p>The configured <code>maximumPageSize</code> determines how many results can be returned\n in a single call. </p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"maximumPageSize": {
|
|||
|
"target": "com.amazonaws.swf#PageSize",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The maximum number of results that are returned per call.\n Use <code>nextPageToken</code> to obtain further pages of results. </p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"reverseOrder": {
|
|||
|
"target": "com.amazonaws.swf#ReverseOrder",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>When set to <code>true</code>, returns the events in reverse order. By default the\n results are returned in ascending order of the <code>eventTimeStamp</code> of the\n events.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#History": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"events": {
|
|||
|
"target": "com.amazonaws.swf#HistoryEventList",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The list of history events.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"nextPageToken": {
|
|||
|
"target": "com.amazonaws.swf#PageToken",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If a <code>NextPageToken</code> 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 <code>nextPageToken</code>. Keep all other arguments unchanged.</p>\n <p>The configured <code>maximumPageSize</code> determines how many results can be returned in a single call.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>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.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#HistoryEvent": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"eventTimestamp": {
|
|||
|
"target": "com.amazonaws.swf#Timestamp",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The date and time when the event occurred.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"eventType": {
|
|||
|
"target": "com.amazonaws.swf#EventType",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The type of the history event.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"eventId": {
|
|||
|
"target": "com.amazonaws.swf#EventId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The system generated ID of the event. This ID uniquely identifies the event with in the workflow execution history.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"workflowExecutionStartedEventAttributes": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowExecutionStartedEventAttributes",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If the event is of type <code>WorkflowExecutionStarted</code> then this member is set and provides detailed\n information about the event. It isn't set for other event types.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"workflowExecutionCompletedEventAttributes": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowExecutionCompletedEventAttributes",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If the event is of type <code>WorkflowExecutionCompleted</code> then this member is set and provides detailed\n information about the event. It isn't set for other event types.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"completeWorkflowExecutionFailedEventAttributes": {
|
|||
|
"target": "com.amazonaws.swf#CompleteWorkflowExecutionFailedEventAttributes",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If the event is of type <code>CompleteWorkflowExecutionFailed</code> then this member is set and provides\n detailed information about the event. It isn't set for other event types.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"workflowExecutionFailedEventAttributes": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowExecutionFailedEventAttributes",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If the event is of type <code>WorkflowExecutionFailed</code> then this member is set and provides detailed\n information about the event. It isn't set for other event types.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"failWorkflowExecutionFailedEventAttributes": {
|
|||
|
"target": "com.amazonaws.swf#FailWorkflowExecutionFailedEventAttributes",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If the event is of type <code>FailWorkflowExecutionFailed</code> then this member is set and provides detailed\n information about the event. It isn't set for other event types.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"workflowExecutionTimedOutEventAttributes": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowExecutionTimedOutEventAttributes",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If the event is of type <code>WorkflowExecutionTimedOut</code> then this member is set and provides detailed\n information about the event. It isn't set for other event types.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"workflowExecutionCanceledEventAttributes": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowExecutionCanceledEventAttributes",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If the event is of type <code>WorkflowExecutionCanceled</code> then this member is set and provides detailed\n information about the event. It isn't set for other event types.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"cancelWorkflowExecutionFailedEventAttributes": {
|
|||
|
"target": "com.amazonaws.swf#CancelWorkflowExecutionFailedEventAttributes",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If the event is of type <code>CancelWorkflowExecutionFailed</code> then this member is set and provides detailed\n information about the event. It isn't set for other event types.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"workflowExecutionContinuedAsNewEventAttributes": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowExecutionContinuedAsNewEventAttributes",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If the event is of type <code>WorkflowExecutionContinuedAsNew</code> then this member is set and provides\n detailed information about the event. It isn't set for other event types.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"continueAsNewWorkflowExecutionFailedEventAttributes": {
|
|||
|
"target": "com.amazonaws.swf#ContinueAsNewWorkflowExecutionFailedEventAttributes",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If the event is of type <code>ContinueAsNewWorkflowExecutionFailed</code> then this member is set and provides\n detailed information about the event. It isn't set for other event types.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"workflowExecutionTerminatedEventAttributes": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowExecutionTerminatedEventAttributes",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If the event is of type <code>WorkflowExecutionTerminated</code> then this member is set and provides detailed\n information about the event. It isn't set for other event types.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"workflowExecutionCancelRequestedEventAttributes": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowExecutionCancelRequestedEventAttributes",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If the event is of type <code>WorkflowExecutionCancelRequested</code> then this member is set and provides\n detailed information about the event. It isn't set for other event types.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"decisionTaskScheduledEventAttributes": {
|
|||
|
"target": "com.amazonaws.swf#DecisionTaskScheduledEventAttributes",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If the event is of type <code>DecisionTaskScheduled</code> then this member is set and provides detailed\n information about the event. It isn't set for other event types.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"decisionTaskStartedEventAttributes": {
|
|||
|
"target": "com.amazonaws.swf#DecisionTaskStartedEventAttributes",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If the event is of type <code>DecisionTaskStarted</code> then this member is set and provides detailed\n information about the event. It isn't set for other event types.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"decisionTaskCompletedEventAttributes": {
|
|||
|
"target": "com.amazonaws.swf#DecisionTaskCompletedEventAttributes",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If the event is of type <code>DecisionTaskCompleted</code> then this member is set and provides detailed\n information about the event. It isn't set for other event types.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"decisionTaskTimedOutEventAttributes": {
|
|||
|
"target": "com.amazonaws.swf#DecisionTaskTimedOutEventAttributes",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If the event is of type <code>DecisionTaskTimedOut</code> then this member is set and provides detailed\n information about the event. It isn't set for other event types.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"activityTaskScheduledEventAttributes": {
|
|||
|
"target": "com.amazonaws.swf#ActivityTaskScheduledEventAttributes",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If the event is of type <code>ActivityTaskScheduled</code> then this member is set and provides detailed\n information about the event. It isn't set for other event types.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"activityTaskStartedEventAttributes": {
|
|||
|
"target": "com.amazonaws.swf#ActivityTaskStartedEventAttributes",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If the event is of type <code>ActivityTaskStarted</code> then this member is set and provides detailed\n information about the event. It isn't set for other event types.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"activityTaskCompletedEventAttributes": {
|
|||
|
"target": "com.amazonaws.swf#ActivityTaskCompletedEventAttributes",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If the event is of type <code>ActivityTaskCompleted</code> then this member is set and provides detailed\n information about the event. It isn't set for other event types.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"activityTaskFailedEventAttributes": {
|
|||
|
"target": "com.amazonaws.swf#ActivityTaskFailedEventAttributes",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If the event is of type <code>ActivityTaskFailed</code> then this member is set and provides detailed\n information about the event. It isn't set for other event types.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"activityTaskTimedOutEventAttributes": {
|
|||
|
"target": "com.amazonaws.swf#ActivityTaskTimedOutEventAttributes",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If the event is of type <code>ActivityTaskTimedOut</code> then this member is set and provides detailed\n information about the event. It isn't set for other event types.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"activityTaskCanceledEventAttributes": {
|
|||
|
"target": "com.amazonaws.swf#ActivityTaskCanceledEventAttributes",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If the event is of type <code>ActivityTaskCanceled</code> then this member is set and provides detailed\n information about the event. It isn't set for other event types.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"activityTaskCancelRequestedEventAttributes": {
|
|||
|
"target": "com.amazonaws.swf#ActivityTaskCancelRequestedEventAttributes",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If the event is of type <code>ActivityTaskcancelRequested</code> then this member is set and provides detailed\n information about the event. It isn't set for other event types.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"workflowExecutionSignaledEventAttributes": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowExecutionSignaledEventAttributes",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If the event is of type <code>WorkflowExecutionSignaled</code> then this member is set and provides detailed\n information about the event. It isn't set for other event types.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"markerRecordedEventAttributes": {
|
|||
|
"target": "com.amazonaws.swf#MarkerRecordedEventAttributes",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If the event is of type <code>MarkerRecorded</code> then this member is set and provides detailed information\n about the event. It isn't set for other event types.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"recordMarkerFailedEventAttributes": {
|
|||
|
"target": "com.amazonaws.swf#RecordMarkerFailedEventAttributes",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If the event is of type <code>DecisionTaskFailed</code> then this member is set and provides detailed\n information about the event. It isn't set for other event types.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"timerStartedEventAttributes": {
|
|||
|
"target": "com.amazonaws.swf#TimerStartedEventAttributes",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If the event is of type <code>TimerStarted</code> then this member is set and provides detailed information\n about the event. It isn't set for other event types.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"timerFiredEventAttributes": {
|
|||
|
"target": "com.amazonaws.swf#TimerFiredEventAttributes",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If the event is of type <code>TimerFired</code> then this member is set and provides detailed information about\n the event. It isn't set for other event types.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"timerCanceledEventAttributes": {
|
|||
|
"target": "com.amazonaws.swf#TimerCanceledEventAttributes",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If the event is of type <code>TimerCanceled</code> then this member is set and provides detailed information\n about the event. It isn't set for other event types.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"startChildWorkflowExecutionInitiatedEventAttributes": {
|
|||
|
"target": "com.amazonaws.swf#StartChildWorkflowExecutionInitiatedEventAttributes",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If the event is of type <code>StartChildWorkflowExecutionInitiated</code> then this member is set and provides\n detailed information about the event. It isn't set for other event types.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"childWorkflowExecutionStartedEventAttributes": {
|
|||
|
"target": "com.amazonaws.swf#ChildWorkflowExecutionStartedEventAttributes",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If the event is of type <code>ChildWorkflowExecutionStarted</code> then this member is set and provides detailed\n information about the event. It isn't set for other event types.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"childWorkflowExecutionCompletedEventAttributes": {
|
|||
|
"target": "com.amazonaws.swf#ChildWorkflowExecutionCompletedEventAttributes",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If the event is of type <code>ChildWorkflowExecutionCompleted</code> then this member is set and provides\n detailed information about the event. It isn't set for other event types.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"childWorkflowExecutionFailedEventAttributes": {
|
|||
|
"target": "com.amazonaws.swf#ChildWorkflowExecutionFailedEventAttributes",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If the event is of type <code>ChildWorkflowExecutionFailed</code> then this member is set and provides detailed\n information about the event. It isn't set for other event types.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"childWorkflowExecutionTimedOutEventAttributes": {
|
|||
|
"target": "com.amazonaws.swf#ChildWorkflowExecutionTimedOutEventAttributes",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If the event is of type <code>ChildWorkflowExecutionTimedOut</code> then this member is set and provides\n detailed information about the event. It isn't set for other event types.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"childWorkflowExecutionCanceledEventAttributes": {
|
|||
|
"target": "com.amazonaws.swf#ChildWorkflowExecutionCanceledEventAttributes",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If the event is of type <code>ChildWorkflowExecutionCanceled</code> then this member is set and provides\n detailed information about the event. It isn't set for other event types.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"childWorkflowExecutionTerminatedEventAttributes": {
|
|||
|
"target": "com.amazonaws.swf#ChildWorkflowExecutionTerminatedEventAttributes",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If the event is of type <code>ChildWorkflowExecutionTerminated</code> then this member is set and provides\n detailed information about the event. It isn't set for other event types.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"signalExternalWorkflowExecutionInitiatedEventAttributes": {
|
|||
|
"target": "com.amazonaws.swf#SignalExternalWorkflowExecutionInitiatedEventAttributes",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If the event is of type <code>SignalExternalWorkflowExecutionInitiated</code> then this member is set and\n provides detailed information about the event. It isn't set for other event types.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"externalWorkflowExecutionSignaledEventAttributes": {
|
|||
|
"target": "com.amazonaws.swf#ExternalWorkflowExecutionSignaledEventAttributes",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If the event is of type <code>ExternalWorkflowExecutionSignaled</code> then this member is set and provides\n detailed information about the event. It isn't set for other event types.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"signalExternalWorkflowExecutionFailedEventAttributes": {
|
|||
|
"target": "com.amazonaws.swf#SignalExternalWorkflowExecutionFailedEventAttributes",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If the event is of type <code>SignalExternalWorkflowExecutionFailed</code> then this member is set and provides\n detailed information about the event. It isn't set for other event types.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"externalWorkflowExecutionCancelRequestedEventAttributes": {
|
|||
|
"target": "com.amazonaws.swf#ExternalWorkflowExecutionCancelRequestedEventAttributes",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If the event is of type <code>ExternalWorkflowExecutionCancelRequested</code> then this member is set and\n provides detailed information about the event. It isn't set for other event types. </p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"requestCancelExternalWorkflowExecutionInitiatedEventAttributes": {
|
|||
|
"target": "com.amazonaws.swf#RequestCancelExternalWorkflowExecutionInitiatedEventAttributes",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If the event is of type <code>RequestCancelExternalWorkflowExecutionInitiated</code> then this member is set and\n provides detailed information about the event. It isn't set for other event types.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"requestCancelExternalWorkflowExecutionFailedEventAttributes": {
|
|||
|
"target": "com.amazonaws.swf#RequestCancelExternalWorkflowExecutionFailedEventAttributes",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If the event is of type <code>RequestCancelExternalWorkflowExecutionFailed</code> then this member is set and\n provides detailed information about the event. It isn't set for other event types.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"scheduleActivityTaskFailedEventAttributes": {
|
|||
|
"target": "com.amazonaws.swf#ScheduleActivityTaskFailedEventAttributes",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If the event is of type <code>ScheduleActivityTaskFailed</code> then this member is set and provides detailed\n information about the event. It isn't set for other event types.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"requestCancelActivityTaskFailedEventAttributes": {
|
|||
|
"target": "com.amazonaws.swf#RequestCancelActivityTaskFailedEventAttributes",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If the event is of type <code>RequestCancelActivityTaskFailed</code> then this member is set and provides\n detailed information about the event. It isn't set for other event types.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"startTimerFailedEventAttributes": {
|
|||
|
"target": "com.amazonaws.swf#StartTimerFailedEventAttributes",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If the event is of type <code>StartTimerFailed</code> then this member is set and provides detailed information\n about the event. It isn't set for other event types.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"cancelTimerFailedEventAttributes": {
|
|||
|
"target": "com.amazonaws.swf#CancelTimerFailedEventAttributes",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If the event is of type <code>CancelTimerFailed</code> then this member is set and provides detailed information\n about the event. It isn't set for other event types.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"startChildWorkflowExecutionFailedEventAttributes": {
|
|||
|
"target": "com.amazonaws.swf#StartChildWorkflowExecutionFailedEventAttributes",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If the event is of type <code>StartChildWorkflowExecutionFailed</code> then this member is set and provides\n detailed information about the event. It isn't set for other event types.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"lambdaFunctionScheduledEventAttributes": {
|
|||
|
"target": "com.amazonaws.swf#LambdaFunctionScheduledEventAttributes",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>LambdaFunctionScheduled</code> event. It isn't set\n for other event types.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"lambdaFunctionStartedEventAttributes": {
|
|||
|
"target": "com.amazonaws.swf#LambdaFunctionStartedEventAttributes",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>LambdaFunctionStarted</code> event. It isn't set for\n other event types.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"lambdaFunctionCompletedEventAttributes": {
|
|||
|
"target": "com.amazonaws.swf#LambdaFunctionCompletedEventAttributes",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>LambdaFunctionCompleted</code> event. It isn't set\n for other event types.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"lambdaFunctionFailedEventAttributes": {
|
|||
|
"target": "com.amazonaws.swf#LambdaFunctionFailedEventAttributes",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>LambdaFunctionFailed</code> event. It isn't set for\n other event types.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"lambdaFunctionTimedOutEventAttributes": {
|
|||
|
"target": "com.amazonaws.swf#LambdaFunctionTimedOutEventAttributes",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>LambdaFunctionTimedOut</code> event. It isn't set for\n other event types.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"scheduleLambdaFunctionFailedEventAttributes": {
|
|||
|
"target": "com.amazonaws.swf#ScheduleLambdaFunctionFailedEventAttributes",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>ScheduleLambdaFunctionFailed</code> event. It isn't\n set for other event types.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"startLambdaFunctionFailedEventAttributes": {
|
|||
|
"target": "com.amazonaws.swf#StartLambdaFunctionFailedEventAttributes",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>StartLambdaFunctionFailed</code> event. It isn't set\n for other event types.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Event within a workflow execution. A history event can be one of these types:</p>\n <ul>\n <li>\n <p>\n <code>ActivityTaskCancelRequested</code> – A <code>RequestCancelActivityTask</code> decision was received by the\n system.</p>\n </li>\n <li>\n <p>\n <code>ActivityTaskCanceled</code> – The activity task was successfully canceled.</p>\n </li>\n <li>\n <p>\n <code>ActivityTaskCompleted</code> – An activity worker successfully completed an activity task by calling\n <a>RespondActivityTaskCompleted</a>.</p>\n </li>\n <li>\n <p>\n <code>ActivityTaskFailed</code> – An activity worker failed an activity task by calling\n <a>RespondActivityTaskFailed</a>.</p>\n </li>\n <li>\n <p>\n <code>ActivityTaskScheduled</code> – An activity task was scheduled for execution.</p>\n </li>\n <li>\n <p>\n <code>ActivityTaskStarted</code> – The scheduled activity task was dispatched to a worker.</p>\n </li>\n <li>\n <p>\n <code>ActivityTaskTimedOut</code> – The activity task timed out.</p>\n </li>\n <li>\n <p>\n <code>CancelTimerFailed</code> – 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.</p>\n </li>\n <li>\n <p>\n <code>CancelWorkflowExecutionFailed</code> – A request to cancel a workflow execution failed.</p>\n </li>\n <li>\n <p>\n <code>ChildWorkflowExecutionCanceled</code> – A child workflow execution, started by this workflow execution, was\n canceled and closed.</p>\n </li>\n <li>\n <p>\n <code>ChildWorkflowExecutionCompleted</code> – A child workflow execution, started by this workflow execution,\n completed successfully and was closed.</p>\n </li>\n <li>\n <p>\n <code>ChildWorkflowExecutionFailed</code> – A child workflow execution,\n started by this workflow execution, failed to complete successfully and was closed.</p>\n </li>\n <li>\n <p>\n <code>ChildWorkflowExecutionStarted</code> – A child workflow execution was successfully started.</p>\n </li>\n <li>\n <p>\n <code>ChildWorkflowExecutionTerminated</code> – A child workflow execution, started by this workflow execution, was\n terminated.</p>\n </li>\n <li>\n <p>\n <code>ChildWorkflowExecutionTimedOut</code> – A child workflow execution, started by this workflow execution, timed\n out and was closed.</p>\n </li>\n <li>\n <p>\n <code>CompleteWorkflowExecutionFailed</code> – The workflow execution failed to complete.</p>\n </li>\n <li>\n <p>\n <code>ContinueAsNewWorkflowExecutionFailed</code> – The workflow execution failed to complete after being continued\n as a new workflow execution.</p>\n </li>\n <li>\n <p>\n <code>DecisionTaskCompleted</code> – The decider successfully completed a decision task by calling\n <a>RespondDecisionTaskCompleted</a>.</p>\n </li>\n <li>\n <p>\n <code>DecisionTaskScheduled</code> – A decision task was scheduled for the workflow execution.</p>\n </li>\n <li>\n
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#HistoryEventList": {
|
|||
|
"type": "list",
|
|||
|
"member": {
|
|||
|
"target": "com.amazonaws.swf#HistoryEvent"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#Identity": {
|
|||
|
"type": "string",
|
|||
|
"traits": {
|
|||
|
"smithy.api#length": {
|
|||
|
"min": 0,
|
|||
|
"max": 256
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#LambdaFunctionCompletedEventAttributes": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"scheduledEventId": {
|
|||
|
"target": "com.amazonaws.swf#EventId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The ID of the <code>LambdaFunctionScheduled</code> 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.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"startedEventId": {
|
|||
|
"target": "com.amazonaws.swf#EventId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The ID of the <code>LambdaFunctionStarted</code> 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.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"result": {
|
|||
|
"target": "com.amazonaws.swf#Data",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The results of the Lambda task.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>LambdaFunctionCompleted</code> event. It isn't set\n for other event types.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#LambdaFunctionFailedEventAttributes": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"scheduledEventId": {
|
|||
|
"target": "com.amazonaws.swf#EventId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The ID of the <code>LambdaFunctionScheduled</code> 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.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"startedEventId": {
|
|||
|
"target": "com.amazonaws.swf#EventId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The ID of the <code>LambdaFunctionStarted</code> 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.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"reason": {
|
|||
|
"target": "com.amazonaws.swf#FailureReason",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The reason provided for the failure.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"details": {
|
|||
|
"target": "com.amazonaws.swf#Data",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The details of the failure.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>LambdaFunctionFailed</code> event. It isn't set for\n other event types.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#LambdaFunctionScheduledEventAttributes": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"id": {
|
|||
|
"target": "com.amazonaws.swf#FunctionId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The unique ID of the Lambda task.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"name": {
|
|||
|
"target": "com.amazonaws.swf#FunctionName",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The name of the Lambda function.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"control": {
|
|||
|
"target": "com.amazonaws.swf#Data",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Data attached to the event that the decider can use in subsequent workflow tasks. This\n data isn't sent to the Lambda task.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"input": {
|
|||
|
"target": "com.amazonaws.swf#FunctionInput",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The input provided to the Lambda task.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"startToCloseTimeout": {
|
|||
|
"target": "com.amazonaws.swf#DurationInSecondsOptional",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The maximum amount of time a worker can take to process the Lambda task.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"decisionTaskCompletedEventId": {
|
|||
|
"target": "com.amazonaws.swf#EventId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The ID of the <code>LambdaFunctionCompleted</code> 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.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>LambdaFunctionScheduled</code> event. It isn't set\n for other event types.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#LambdaFunctionStartedEventAttributes": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"scheduledEventId": {
|
|||
|
"target": "com.amazonaws.swf#EventId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The ID of the <code>LambdaFunctionScheduled</code> 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.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>LambdaFunctionStarted</code> event. It isn't set for\n other event types.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#LambdaFunctionTimedOutEventAttributes": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"scheduledEventId": {
|
|||
|
"target": "com.amazonaws.swf#EventId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The ID of the <code>LambdaFunctionScheduled</code> 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.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"startedEventId": {
|
|||
|
"target": "com.amazonaws.swf#EventId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The ID of the <code>ActivityTaskStarted</code> 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.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"timeoutType": {
|
|||
|
"target": "com.amazonaws.swf#LambdaFunctionTimeoutType",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The type of the timeout that caused this event.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides details of the <code>LambdaFunctionTimedOut</code> event.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#LambdaFunctionTimeoutType": {
|
|||
|
"type": "string",
|
|||
|
"traits": {
|
|||
|
"smithy.api#enum": [
|
|||
|
{
|
|||
|
"value": "START_TO_CLOSE",
|
|||
|
"name": "START_TO_CLOSE"
|
|||
|
}
|
|||
|
]
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#LimitExceededFault": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"message": {
|
|||
|
"target": "com.amazonaws.swf#ErrorMessage",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>A description that may help with diagnosing the cause of the fault.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>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.</p>",
|
|||
|
"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": "<p>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 <code>nextPageToken</code> returned\n by the initial call.</p>\n <p>\n <b>Access Control</b>\n </p>\n <p>You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:</p>\n <ul>\n <li>\n <p>Use a <code>Resource</code> element with the domain name to limit the action to\n only specified domains.</p>\n </li>\n <li>\n <p>Use an <code>Action</code> element to allow or deny permission to call this\n action.</p>\n </li>\n <li>\n <p>You cannot use an IAM policy to constrain this action's parameters.</p>\n </li>\n </ul>\n <p>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 <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.\n For details and example IAM policies, see <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html\">Using IAM to Manage Access to Amazon SWF\n Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>",
|
|||
|
"smithy.api#paginated": {
|
|||
|
"inputToken": "nextPageToken",
|
|||
|
"outputToken": "nextPageToken",
|
|||
|
"items": "typeInfos",
|
|||
|
"pageSize": "maximumPageSize"
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#ListActivityTypesInput": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"domain": {
|
|||
|
"target": "com.amazonaws.swf#DomainName",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The name of the domain in which the activity types have been registered.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"name": {
|
|||
|
"target": "com.amazonaws.swf#Name",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If specified, only lists the activity types that have this name.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"registrationStatus": {
|
|||
|
"target": "com.amazonaws.swf#RegistrationStatus",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Specifies the registration status of the activity types to list.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"nextPageToken": {
|
|||
|
"target": "com.amazonaws.swf#PageToken",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If <code>NextPageToken</code> is returned there are more results\n available. The value of <code>NextPageToken</code> 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 <code>400</code> error: \"<code>Specified token has \n exceeded its maximum lifetime</code>\". </p>\n \n <p>The configured <code>maximumPageSize</code> determines how many results can be returned\n in a single call. </p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"maximumPageSize": {
|
|||
|
"target": "com.amazonaws.swf#PageSize",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The maximum number of results that are returned per call.\n Use <code>nextPageToken</code> to obtain further pages of results. </p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"reverseOrder": {
|
|||
|
"target": "com.amazonaws.swf#ReverseOrder",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>When set to <code>true</code>, returns the results in reverse order. By default, the\n results are returned in ascending alphabetical order by <code>name</code> of the activity\n types.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#ListClosedWorkflowExecutions": {
|
|||
|
"type": "operation",
|
|||
|
"input": {
|
|||
|
"target": "com.amazonaws.swf#ListClosedWorkflowExecutionsInput"
|
|||
|
},
|
|||
|
"output": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowExecutionInfos"
|
|||
|
},
|
|||
|
"errors": [
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#OperationNotPermittedFault"
|
|||
|
},
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#UnknownResourceFault"
|
|||
|
}
|
|||
|
],
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>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.</p>\n <note>\n <p>This operation is eventually consistent. The results are best effort and may not\n exactly reflect recent updates and changes.</p>\n </note>\n <p>\n <b>Access Control</b>\n </p>\n <p>You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:</p>\n <ul>\n <li>\n <p>Use a <code>Resource</code> element with the domain name to limit the action to\n only specified domains.</p>\n </li>\n <li>\n <p>Use an <code>Action</code> element to allow or deny permission to call this\n action.</p>\n </li>\n <li>\n <p>Constrain the following parameters by using a <code>Condition</code> element with\n the appropriate keys.</p>\n <ul>\n <li>\n <p>\n <code>tagFilter.tag</code>: String constraint. The key is\n <code>swf:tagFilter.tag</code>.</p>\n </li>\n <li>\n <p>\n <code>typeFilter.name</code>: String constraint. The key is\n <code>swf:typeFilter.name</code>.</p>\n </li>\n <li>\n <p>\n <code>typeFilter.version</code>: String constraint. The key is\n <code>swf:typeFilter.version</code>.</p>\n </li>\n </ul>\n </li>\n </ul>\n <p>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 <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.\n For details and example IAM policies, see <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html\">Using IAM to Manage Access to Amazon SWF\n Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>",
|
|||
|
"smithy.api#paginated": {
|
|||
|
"inputToken": "nextPageToken",
|
|||
|
"outputToken": "nextPageToken",
|
|||
|
"items": "executionInfos",
|
|||
|
"pageSize": "maximumPageSize"
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#ListClosedWorkflowExecutionsInput": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"domain": {
|
|||
|
"target": "com.amazonaws.swf#DomainName",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The name of the domain that contains the workflow executions to list.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"startTimeFilter": {
|
|||
|
"target": "com.amazonaws.swf#ExecutionTimeFilter",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>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.</p>\n <note>\n <p>\n <code>startTimeFilter</code> and <code>closeTimeFilter</code> are mutually exclusive. You\n must specify one of these in a request but not both.</p>\n </note>"
|
|||
|
}
|
|||
|
},
|
|||
|
"closeTimeFilter": {
|
|||
|
"target": "com.amazonaws.swf#ExecutionTimeFilter",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>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.</p>\n <note>\n <p>\n <code>startTimeFilter</code> and <code>closeTimeFilter</code> are mutually exclusive. You\n must specify one of these in a request but not both.</p>\n </note>"
|
|||
|
}
|
|||
|
},
|
|||
|
"executionFilter": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowExecutionFilter",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If specified, only workflow executions matching the workflow ID specified in the filter\n are returned.</p>\n <note>\n <p>\n <code>closeStatusFilter</code>, <code>executionFilter</code>, <code>typeFilter</code> and\n <code>tagFilter</code> are mutually exclusive. You can specify at most one of these in a\n request.</p>\n </note>"
|
|||
|
}
|
|||
|
},
|
|||
|
"closeStatusFilter": {
|
|||
|
"target": "com.amazonaws.swf#CloseStatusFilter",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If specified, only workflow executions that match this <i>close\n status</i> are listed. For example, if TERMINATED is specified, then only TERMINATED\n workflow executions are listed.</p>\n <note>\n <p>\n <code>closeStatusFilter</code>, <code>executionFilter</code>, <code>typeFilter</code> and\n <code>tagFilter</code> are mutually exclusive. You can specify at most one of these in a\n request.</p>\n </note>"
|
|||
|
}
|
|||
|
},
|
|||
|
"typeFilter": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowTypeFilter",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If specified, only executions of the type specified in the filter are\n returned.</p>\n <note>\n <p>\n <code>closeStatusFilter</code>, <code>executionFilter</code>, <code>typeFilter</code> and\n <code>tagFilter</code> are mutually exclusive. You can specify at most one of these in a\n request.</p>\n </note>"
|
|||
|
}
|
|||
|
},
|
|||
|
"tagFilter": {
|
|||
|
"target": "com.amazonaws.swf#TagFilter",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If specified, only executions that have the matching tag are listed.</p>\n <note>\n <p>\n <code>closeStatusFilter</code>, <code>executionFilter</code>, <code>typeFilter</code> and\n <code>tagFilter</code> are mutually exclusive. You can specify at most one of these in a\n request.</p>\n </note>"
|
|||
|
}
|
|||
|
},
|
|||
|
"nextPageToken": {
|
|||
|
"target": "com.amazonaws.swf#PageToken",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If <code>NextPageToken</code> is returned there are more results\n available. The value of <code>NextPageToken</code> 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 <code>400</code> error: \"<code>Specified token has \n exceeded its maximum lifetime</code>\". </p>\n \n <p>The configured <code>maximumPageSize</code> determines how many results can be returned\n in a single call. </p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"maximumPageSize": {
|
|||
|
"target": "com.amazonaws.swf#PageSize",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The maximum number of results that are returned per call.\n Use <code>nextPageToken</code> to obtain further pages of results. </p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"reverseOrder": {
|
|||
|
"target": "com.amazonaws.swf#ReverseOrder",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>When set to <code>true</code>, 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.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#ListDomains": {
|
|||
|
"type": "operation",
|
|||
|
"input": {
|
|||
|
"target": "com.amazonaws.swf#ListDomainsInput"
|
|||
|
},
|
|||
|
"output": {
|
|||
|
"target": "com.amazonaws.swf#DomainInfos"
|
|||
|
},
|
|||
|
"errors": [
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#OperationNotPermittedFault"
|
|||
|
}
|
|||
|
],
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>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.</p>\n <note>\n <p>This operation is eventually consistent. The results are best effort and may not\n exactly reflect recent updates and changes.</p>\n </note>\n <p>\n <b>Access Control</b>\n </p>\n <p>You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:</p>\n <ul>\n <li>\n <p>Use a <code>Resource</code> element with the domain name to limit the action to\n only specified domains. The element must be set to\n <code>arn:aws:swf::AccountID:domain/*</code>, where <i>AccountID</i> is\n the account ID, with no dashes.</p>\n </li>\n <li>\n <p>Use an <code>Action</code> element to allow or deny permission to call this\n action.</p>\n </li>\n <li>\n <p>You cannot use an IAM policy to constrain this action's parameters.</p>\n </li>\n </ul>\n <p>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 <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.\n For details and example IAM policies, see <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html\">Using IAM to Manage Access to Amazon SWF\n Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>",
|
|||
|
"smithy.api#paginated": {
|
|||
|
"inputToken": "nextPageToken",
|
|||
|
"outputToken": "nextPageToken",
|
|||
|
"items": "domainInfos",
|
|||
|
"pageSize": "maximumPageSize"
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#ListDomainsInput": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"nextPageToken": {
|
|||
|
"target": "com.amazonaws.swf#PageToken",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If <code>NextPageToken</code> is returned there are more results\n available. The value of <code>NextPageToken</code> 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 <code>400</code> error: \"<code>Specified token has \n exceeded its maximum lifetime</code>\". </p>\n \n <p>The configured <code>maximumPageSize</code> determines how many results can be returned\n in a single call. </p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"registrationStatus": {
|
|||
|
"target": "com.amazonaws.swf#RegistrationStatus",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Specifies the registration status of the domains to list.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"maximumPageSize": {
|
|||
|
"target": "com.amazonaws.swf#PageSize",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The maximum number of results that are returned per call.\n Use <code>nextPageToken</code> to obtain further pages of results. </p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"reverseOrder": {
|
|||
|
"target": "com.amazonaws.swf#ReverseOrder",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>When set to <code>true</code>, returns the results in reverse order. By default, the\n results are returned in ascending alphabetical order by <code>name</code> of the\n domains.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#ListOpenWorkflowExecutions": {
|
|||
|
"type": "operation",
|
|||
|
"input": {
|
|||
|
"target": "com.amazonaws.swf#ListOpenWorkflowExecutionsInput"
|
|||
|
},
|
|||
|
"output": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowExecutionInfos"
|
|||
|
},
|
|||
|
"errors": [
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#OperationNotPermittedFault"
|
|||
|
},
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#UnknownResourceFault"
|
|||
|
}
|
|||
|
],
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>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.</p>\n <note>\n <p>This operation is eventually consistent. The results are best effort and may not\n exactly reflect recent updates and changes.</p>\n </note>\n <p>\n <b>Access Control</b>\n </p>\n <p>You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:</p>\n <ul>\n <li>\n <p>Use a <code>Resource</code> element with the domain name to limit the action to\n only specified domains.</p>\n </li>\n <li>\n <p>Use an <code>Action</code> element to allow or deny permission to call this\n action.</p>\n </li>\n <li>\n <p>Constrain the following parameters by using a <code>Condition</code> element with\n the appropriate keys.</p>\n <ul>\n <li>\n <p>\n <code>tagFilter.tag</code>: String constraint. The key is\n <code>swf:tagFilter.tag</code>.</p>\n </li>\n <li>\n <p>\n <code>typeFilter.name</code>: String constraint. The key is\n <code>swf:typeFilter.name</code>.</p>\n </li>\n <li>\n <p>\n <code>typeFilter.version</code>: String constraint. The key is\n <code>swf:typeFilter.version</code>.</p>\n </li>\n </ul>\n </li>\n </ul>\n <p>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 <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.\n For details and example IAM policies, see <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html\">Using IAM to Manage Access to Amazon SWF\n Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>",
|
|||
|
"smithy.api#paginated": {
|
|||
|
"inputToken": "nextPageToken",
|
|||
|
"outputToken": "nextPageToken",
|
|||
|
"items": "executionInfos",
|
|||
|
"pageSize": "maximumPageSize"
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#ListOpenWorkflowExecutionsInput": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"domain": {
|
|||
|
"target": "com.amazonaws.swf#DomainName",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The name of the domain that contains the workflow executions to list.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"startTimeFilter": {
|
|||
|
"target": "com.amazonaws.swf#ExecutionTimeFilter",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Workflow executions are included in the returned results based on whether their start\n times are within the range specified by this filter.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"typeFilter": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowTypeFilter",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If specified, only executions of the type specified in the filter are\n returned.</p>\n <note>\n <p>\n <code>executionFilter</code>, <code>typeFilter</code> and <code>tagFilter</code> are\n mutually exclusive. You can specify at most one of these in a request.</p>\n </note>"
|
|||
|
}
|
|||
|
},
|
|||
|
"tagFilter": {
|
|||
|
"target": "com.amazonaws.swf#TagFilter",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If specified, only executions that have the matching tag are listed.</p>\n <note>\n <p>\n <code>executionFilter</code>, <code>typeFilter</code> and <code>tagFilter</code> are\n mutually exclusive. You can specify at most one of these in a request.</p>\n </note>"
|
|||
|
}
|
|||
|
},
|
|||
|
"nextPageToken": {
|
|||
|
"target": "com.amazonaws.swf#PageToken",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If <code>NextPageToken</code> is returned there are more results\n available. The value of <code>NextPageToken</code> 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 <code>400</code> error: \"<code>Specified token has \n exceeded its maximum lifetime</code>\". </p>\n \n <p>The configured <code>maximumPageSize</code> determines how many results can be returned\n in a single call. </p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"maximumPageSize": {
|
|||
|
"target": "com.amazonaws.swf#PageSize",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The maximum number of results that are returned per call.\n Use <code>nextPageToken</code> to obtain further pages of results. </p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"reverseOrder": {
|
|||
|
"target": "com.amazonaws.swf#ReverseOrder",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>When set to <code>true</code>, returns the results in reverse order. By default the\n results are returned in descending order of the start time of the executions.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"executionFilter": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowExecutionFilter",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If specified, only workflow executions matching the workflow ID specified in the filter\n are returned.</p>\n <note>\n <p>\n <code>executionFilter</code>, <code>typeFilter</code> and <code>tagFilter</code> are\n mutually exclusive. You can specify at most one of these in a request.</p>\n </note>"
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#ListTagsForResource": {
|
|||
|
"type": "operation",
|
|||
|
"input": {
|
|||
|
"target": "com.amazonaws.swf#ListTagsForResourceInput"
|
|||
|
},
|
|||
|
"output": {
|
|||
|
"target": "com.amazonaws.swf#ListTagsForResourceOutput"
|
|||
|
},
|
|||
|
"errors": [
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#LimitExceededFault"
|
|||
|
},
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#OperationNotPermittedFault"
|
|||
|
},
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#UnknownResourceFault"
|
|||
|
}
|
|||
|
],
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>List tags for a given domain.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#ListTagsForResourceInput": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"resourceArn": {
|
|||
|
"target": "com.amazonaws.swf#Arn",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) for the Amazon SWF domain.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#ListTagsForResourceOutput": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"tags": {
|
|||
|
"target": "com.amazonaws.swf#ResourceTagList",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>An array of tags associated with the domain.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"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": "<p>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.</p>\n <p>\n <b>Access Control</b>\n </p>\n <p>You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:</p>\n <ul>\n <li>\n <p>Use a <code>Resource</code> element with the domain name to limit the action to\n only specified domains.</p>\n </li>\n <li>\n <p>Use an <code>Action</code> element to allow or deny permission to call this\n action.</p>\n </li>\n <li>\n <p>You cannot use an IAM policy to constrain this action's parameters.</p>\n </li>\n </ul>\n <p>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 <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.\n For details and example IAM policies, see <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html\">Using IAM to Manage Access to Amazon SWF\n Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>",
|
|||
|
"smithy.api#paginated": {
|
|||
|
"inputToken": "nextPageToken",
|
|||
|
"outputToken": "nextPageToken",
|
|||
|
"items": "typeInfos",
|
|||
|
"pageSize": "maximumPageSize"
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#ListWorkflowTypesInput": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"domain": {
|
|||
|
"target": "com.amazonaws.swf#DomainName",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The name of the domain in which the workflow types have been registered.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"name": {
|
|||
|
"target": "com.amazonaws.swf#Name",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If specified, lists the workflow type with this name.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"registrationStatus": {
|
|||
|
"target": "com.amazonaws.swf#RegistrationStatus",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Specifies the registration status of the workflow types to list.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"nextPageToken": {
|
|||
|
"target": "com.amazonaws.swf#PageToken",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If <code>NextPageToken</code> is returned there are more results\n available. The value of <code>NextPageToken</code> 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 <code>400</code> error: \"<code>Specified token has \n exceeded its maximum lifetime</code>\". </p>\n \n <p>The configured <code>maximumPageSize</code> determines how many results can be returned\n in a single call. </p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"maximumPageSize": {
|
|||
|
"target": "com.amazonaws.swf#PageSize",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The maximum number of results that are returned per call.\n Use <code>nextPageToken</code> to obtain further pages of results. </p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"reverseOrder": {
|
|||
|
"target": "com.amazonaws.swf#ReverseOrder",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>When set to <code>true</code>, returns the results in reverse order. By default the\n results are returned in ascending alphabetical order of the <code>name</code> of the workflow\n types.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#MarkerName": {
|
|||
|
"type": "string",
|
|||
|
"traits": {
|
|||
|
"smithy.api#length": {
|
|||
|
"min": 1,
|
|||
|
"max": 256
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#MarkerRecordedEventAttributes": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"markerName": {
|
|||
|
"target": "com.amazonaws.swf#MarkerName",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The name of the marker.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"details": {
|
|||
|
"target": "com.amazonaws.swf#Data",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The details of the marker.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"decisionTaskCompletedEventId": {
|
|||
|
"target": "com.amazonaws.swf#EventId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The ID of the <code>DecisionTaskCompleted</code> event corresponding to the decision task that resulted in the\n <code>RecordMarker</code> 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.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>MarkerRecorded</code> event.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#Name": {
|
|||
|
"type": "string",
|
|||
|
"traits": {
|
|||
|
"smithy.api#length": {
|
|||
|
"min": 1,
|
|||
|
"max": 256
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#OpenDecisionTasksCount": {
|
|||
|
"type": "integer",
|
|||
|
"traits": {
|
|||
|
"smithy.api#range": {
|
|||
|
"min": 0,
|
|||
|
"max": 1
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#OperationNotPermittedFault": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"message": {
|
|||
|
"target": "com.amazonaws.swf#ErrorMessage",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>A description that may help with diagnosing the cause of the fault.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Returned when the caller doesn't have sufficient permissions to invoke the action.</p>",
|
|||
|
"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": "<p>The number of tasks in the task list.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"truncated": {
|
|||
|
"target": "com.amazonaws.swf#Truncated",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>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.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Contains the count of tasks in a task list.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"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": "<p>Used by workers to get an <a>ActivityTask</a> from the specified activity\n <code>taskList</code>. 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.</p>\n <important>\n <p>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).</p>\n </important>\n <p>\n <b>Access Control</b>\n </p>\n <p>You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:</p>\n <ul>\n <li>\n <p>Use a <code>Resource</code> element with the domain name to limit the action to\n only specified domains.</p>\n </li>\n <li>\n <p>Use an <code>Action</code> element to allow or deny permission to call this\n action.</p>\n </li>\n <li>\n <p>Constrain the <code>taskList.name</code> parameter by using a\n <code>Condition</code> element with the <code>swf:taskList.name</code> key to allow the\n action to access only certain task lists.</p>\n </li>\n </ul>\n <p>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 <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.\n For details and example IAM policies, see <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html\">Using IAM to Manage Access to Amazon SWF\n Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#PollForActivityTaskInput": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"domain": {
|
|||
|
"target": "com.amazonaws.swf#DomainName",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The name of the domain that contains the task lists being polled.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"taskList": {
|
|||
|
"target": "com.amazonaws.swf#TaskList",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Specifies the task list to poll for activity tasks.</p>\n \n <p>The specified string must not start or end with whitespace. It must not contain a\n <code>:</code> (colon), <code>/</code> (slash), <code>|</code> (vertical bar), or any\n control characters (<code>\\u0000-\\u001f</code> | <code>\\u007f-\\u009f</code>). Also, it must\n not <i>be</i> the literal string <code>arn</code>.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"identity": {
|
|||
|
"target": "com.amazonaws.swf#Identity",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Identity of the worker making the request, recorded in the\n <code>ActivityTaskStarted</code> event in the workflow history. This enables diagnostic\n tracing when problems arise. The form of this identity is user defined.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#PollForDecisionTask": {
|
|||
|
"type": "operation",
|
|||
|
"input": {
|
|||
|
"target": "com.amazonaws.swf#PollForDecisionTaskInput"
|
|||
|
},
|
|||
|
"output": {
|
|||
|
"target": "com.amazonaws.swf#DecisionTask"
|
|||
|
},
|
|||
|
"errors": [
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#LimitExceededFault"
|
|||
|
},
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#OperationNotPermittedFault"
|
|||
|
},
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#UnknownResourceFault"
|
|||
|
}
|
|||
|
],
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Used by deciders to get a <a>DecisionTask</a> from the specified decision\n <code>taskList</code>. 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.</p>\n <p>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.</p>\n <important>\n <p>Deciders should set their client side socket timeout to at least 70 seconds (10\n seconds higher than the timeout).</p>\n </important>\n <important>\n <p>Because 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 <code>PollForDecisionTask</code> using the\n <code>nextPageToken</code> returned by the initial call. Note that you do\n <i>not</i> call <code>GetWorkflowExecutionHistory</code> with this\n <code>nextPageToken</code>. Instead, call <code>PollForDecisionTask</code>\n again.</p>\n </important>\n <p>\n <b>Access Control</b>\n </p>\n <p>You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:</p>\n <ul>\n <li>\n <p>Use a <code>Resource</code> element with the domain name to limit the action to\n only specified domains.</p>\n </li>\n <li>\n <p>Use an <code>Action</code> element to allow or deny permission to call this\n action.</p>\n </li>\n <li>\n <p>Constrain the <code>taskList.name</code> parameter by using a\n <code>Condition</code> element with the <code>swf:taskList.name</code> key to allow the\n action to access only certain task lists.</p>\n </li>\n </ul>\n <p>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 <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.\n For details and example IAM policies, see <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html\">Using IAM to Manage Access to Amazon SWF\n Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>",
|
|||
|
"smithy.api#paginated": {
|
|||
|
"inputToken": "nextPageToken",
|
|||
|
"outputToken": "nextPageToken",
|
|||
|
"items": "events",
|
|||
|
"pageSize": "maximumPageSize"
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#PollForDecisionTaskInput": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"domain": {
|
|||
|
"target": "com.amazonaws.swf#DomainName",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The name of the domain containing the task lists to poll.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"taskList": {
|
|||
|
"target": "com.amazonaws.swf#TaskList",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Specifies the task list to poll for decision tasks.</p>\n \n <p>The specified string must not start or end with whitespace. It must not contain a\n <code>:</code> (colon), <code>/</code> (slash), <code>|</code> (vertical bar), or any\n control characters (<code>\\u0000-\\u001f</code> | <code>\\u007f-\\u009f</code>). Also, it must\n not <i>be</i> the literal string <code>arn</code>.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"identity": {
|
|||
|
"target": "com.amazonaws.swf#Identity",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>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.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"nextPageToken": {
|
|||
|
"target": "com.amazonaws.swf#PageToken",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If <code>NextPageToken</code> is returned there are more results\n available. The value of <code>NextPageToken</code> 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 <code>400</code> error: \"<code>Specified token has \n exceeded its maximum lifetime</code>\". </p>\n \n <p>The configured <code>maximumPageSize</code> determines how many results can be returned\n in a single call. </p>\n <note>\n <p>The <code>nextPageToken</code> returned by this action cannot be used with <a>GetWorkflowExecutionHistory</a> to get the next page. You must call <a>PollForDecisionTask</a> again (with the <code>nextPageToken</code>) to retrieve\n the next page of history records. Calling <a>PollForDecisionTask</a> with a\n <code>nextPageToken</code> doesn't return a new decision task.</p>\n </note>"
|
|||
|
}
|
|||
|
},
|
|||
|
"maximumPageSize": {
|
|||
|
"target": "com.amazonaws.swf#PageSize",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The maximum number of results that are returned per call.\n Use <code>nextPageToken</code> to obtain further pages of results. </p> \n <p>This\n is an upper limit only; the actual number of results returned per call may be fewer than the\n specified maximum.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"reverseOrder": {
|
|||
|
"target": "com.amazonaws.swf#ReverseOrder",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>When set to <code>true</code>, returns the events in reverse order. By default the\n results are returned in ascending order of the <code>eventTimestamp</code> of the\n events.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#RecordActivityTaskHeartbeat": {
|
|||
|
"type": "operation",
|
|||
|
"input": {
|
|||
|
"target": "com.amazonaws.swf#RecordActivityTaskHeartbeatInput"
|
|||
|
},
|
|||
|
"output": {
|
|||
|
"target": "com.amazonaws.swf#ActivityTaskStatus"
|
|||
|
},
|
|||
|
"errors": [
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#OperationNotPermittedFault"
|
|||
|
},
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#UnknownResourceFault"
|
|||
|
}
|
|||
|
],
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Used by activity workers to report to the service that the <a>ActivityTask</a> represented by the specified <code>taskToken</code> is still making progress. The worker\n can also specify details of the progress, for example percent complete, using the\n <code>details</code> 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 <code>cancelRequested</code> flag returned\n by the service is set to <code>true</code>.</p>\n <p>This action resets the <code>taskHeartbeatTimeout</code> clock. The\n <code>taskHeartbeatTimeout</code> is specified in <a>RegisterActivityType</a>.</p>\n <p>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 <code>ActivityTaskTimedOut</code> event that contains the information from the last\n heartbeat generated by the activity worker.</p>\n <note>\n <p>The <code>taskStartToCloseTimeout</code> of an activity type is the maximum duration\n of an activity task, regardless of the number of <a>RecordActivityTaskHeartbeat</a> requests received. The <code>taskStartToCloseTimeout</code> is also specified in <a>RegisterActivityType</a>.</p>\n </note>\n <note>\n <p>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.</p>\n </note>\n <important>\n <p>If the <code>cancelRequested</code> flag returns <code>true</code>, a cancellation is\n being attempted. If the worker can cancel the activity, it should respond with <a>RespondActivityTaskCanceled</a>. Otherwise, it should ignore the cancellation\n request.</p>\n </important>\n <p>\n <b>Access Control</b>\n </p>\n <p>You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:</p>\n <ul>\n <li>\n <p>Use a <code>Resource</code> element with the domain name to limit the action to\n only specified domains.</p>\n </li>\n <li>\n <p>Use an <code>Action</code> element to allow or deny permission to call this\n action.</p>\n </li>\n <li>\n <p>You cannot use an IAM policy to constrain this action's parameters.</p>\n </li>\n </ul>\n <p>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 <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.\n For details and example IAM policies, see <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html\">Using IAM to Manage Access to Amazon SWF\n Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#RecordActivityTaskHeartbeatInput": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"taskToken": {
|
|||
|
"target": "com.amazonaws.swf#TaskToken",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The <code>taskToken</code> of the <a>ActivityTask</a>.</p>\n <important>\n <p>\n <code>taskToken</code> is generated by the service and should be treated as an opaque value.\n If the task is passed to another process, its <code>taskToken</code> must also be passed.\n This enables it to provide its progress and respond with results. </p>\n </important>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"details": {
|
|||
|
"target": "com.amazonaws.swf#LimitedData",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If specified, contains details about the progress of the task.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#RecordMarkerDecisionAttributes": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"markerName": {
|
|||
|
"target": "com.amazonaws.swf#MarkerName",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>\n The name of the marker.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"details": {
|
|||
|
"target": "com.amazonaws.swf#Data",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>\n The details of the marker.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>RecordMarker</code> decision.</p>\n <p>\n <b>Access Control</b>\n </p>\n <p>You can use IAM policies to control this decision's access to Amazon SWF resources as follows:</p>\n <ul>\n <li>\n <p>Use a <code>Resource</code> element with the domain name to limit the action to only\n specified domains.</p>\n </li>\n <li>\n <p>Use an <code>Action</code> element to allow or deny permission to call this action.</p>\n </li>\n <li>\n <p>You cannot use an IAM policy to constrain this action's parameters.</p>\n </li>\n </ul>\n <p>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 <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>. For details and example IAM policies, see\n <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html\">Using IAM to Manage Access to Amazon SWF Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#RecordMarkerFailedCause": {
|
|||
|
"type": "string",
|
|||
|
"traits": {
|
|||
|
"smithy.api#enum": [
|
|||
|
{
|
|||
|
"value": "OPERATION_NOT_PERMITTED",
|
|||
|
"name": "OPERATION_NOT_PERMITTED"
|
|||
|
}
|
|||
|
]
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#RecordMarkerFailedEventAttributes": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"markerName": {
|
|||
|
"target": "com.amazonaws.swf#MarkerName",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The marker's name.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"cause": {
|
|||
|
"target": "com.amazonaws.swf#RecordMarkerFailedCause",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.</p>\n <note>\n <p>If <code>cause</code> is set to <code>OPERATION_NOT_PERMITTED</code>, the decision failed\n because it lacked sufficient permissions. For details and example IAM policies, see <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html\">Using IAM to Manage Access to Amazon SWF Workflows</a>\n in the <i>Amazon SWF Developer Guide</i>.</p>\n </note>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"decisionTaskCompletedEventId": {
|
|||
|
"target": "com.amazonaws.swf#EventId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The ID of the <code>DecisionTaskCompleted</code> event corresponding to the decision task that resulted in the\n <code>RecordMarkerFailed</code> 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.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>RecordMarkerFailed</code> event.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#RegisterActivityType": {
|
|||
|
"type": "operation",
|
|||
|
"input": {
|
|||
|
"target": "com.amazonaws.swf#RegisterActivityTypeInput"
|
|||
|
},
|
|||
|
"errors": [
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#LimitExceededFault"
|
|||
|
},
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#OperationNotPermittedFault"
|
|||
|
},
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#TypeAlreadyExistsFault"
|
|||
|
},
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#UnknownResourceFault"
|
|||
|
}
|
|||
|
],
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Registers a new <i>activity type</i> along with its configuration\n settings in the specified domain.</p>\n <important>\n <p>A <code>TypeAlreadyExists</code> 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.</p>\n </important>\n <p>\n <b>Access Control</b>\n </p>\n <p>You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:</p>\n <ul>\n <li>\n <p>Use a <code>Resource</code> element with the domain name to limit the action to\n only specified domains.</p>\n </li>\n <li>\n <p>Use an <code>Action</code> element to allow or deny permission to call this\n action.</p>\n </li>\n <li>\n <p>Constrain the following parameters by using a <code>Condition</code> element with\n the appropriate keys.</p>\n <ul>\n <li>\n <p>\n <code>defaultTaskList.name</code>: String constraint. The key is\n <code>swf:defaultTaskList.name</code>.</p>\n </li>\n <li>\n <p>\n <code>name</code>: String constraint. The key is <code>swf:name</code>.</p>\n </li>\n <li>\n <p>\n <code>version</code>: String constraint. The key is\n <code>swf:version</code>.</p>\n </li>\n </ul>\n </li>\n </ul>\n <p>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 <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.\n For details and example IAM policies, see <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html\">Using IAM to Manage Access to Amazon SWF\n Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#RegisterActivityTypeInput": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"domain": {
|
|||
|
"target": "com.amazonaws.swf#DomainName",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The name of the domain in which this activity is to be registered.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"name": {
|
|||
|
"target": "com.amazonaws.swf#Name",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The name of the activity type within the domain.</p>\n \n <p>The specified string must not start or end with whitespace. It must not contain a\n <code>:</code> (colon), <code>/</code> (slash), <code>|</code> (vertical bar), or any\n control characters (<code>\\u0000-\\u001f</code> | <code>\\u007f-\\u009f</code>). Also, it must\n not <i>be</i> the literal string <code>arn</code>.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"version": {
|
|||
|
"target": "com.amazonaws.swf#Version",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The version of the activity type.</p>\n <note>\n <p>The activity type consists of the name and version, the combination of which must be\n unique within the domain.</p>\n </note>\n \n <p>The specified string must not start or end with whitespace. It must not contain a\n <code>:</code> (colon), <code>/</code> (slash), <code>|</code> (vertical bar), or any\n control characters (<code>\\u0000-\\u001f</code> | <code>\\u007f-\\u009f</code>). Also, it must\n not <i>be</i> the literal string <code>arn</code>.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"description": {
|
|||
|
"target": "com.amazonaws.swf#Description",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>A textual description of the activity type.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"defaultTaskStartToCloseTimeout": {
|
|||
|
"target": "com.amazonaws.swf#DurationInSecondsOptional",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>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 <code>ScheduleActivityTask</code>\n <a>Decision</a>.</p>\n <p>The duration is specified in seconds, an integer greater than or equal to\n <code>0</code>. You can use <code>NONE</code> to specify unlimited duration.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"defaultTaskHeartbeatTimeout": {
|
|||
|
"target": "com.amazonaws.swf#DurationInSecondsOptional",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If set, specifies the default maximum time before which a worker processing a task of\n this type must report progress by calling <a>RecordActivityTaskHeartbeat</a>. 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 <code>ScheduleActivityTask</code>\n <a>Decision</a>. If the activity worker subsequently attempts to record a heartbeat\n or returns a result, the activity worker receives an <code>UnknownResource</code> 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.</p>\n <p>The duration is specified in seconds, an integer greater than or equal to\n <code>0</code>. You can use <code>NONE</code> to specify unlimited duration.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"defaultTaskList": {
|
|||
|
"target": "com.amazonaws.swf#TaskList",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>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 <code>ScheduleActivityTask</code>\n <a>Decision</a>.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"defaultTaskPriority": {
|
|||
|
"target": "com.amazonaws.swf#TaskPriority",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The default task priority to assign to the activity type. If not assigned, then\n <code>0</code> is used. Valid values are integers that range from Java's\n <code>Integer.MIN_VALUE</code> (-2147483648) to <code>Integer.MAX_VALUE</code> (2147483647).\n Higher numbers indicate higher priority.</p>\n <p>For more information about setting task priority, see <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html\">Setting Task\n Priority</a> in the <i>in the\n <i>Amazon SWF Developer Guide</i>.</i>.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"defaultTaskScheduleToStartTimeout": {
|
|||
|
"target": "com.amazonaws.swf#DurationInSecondsOptional",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>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 <code>ScheduleActivityTask</code>\n <a>Decision</a>.</p>\n <p>The duration is specified in seconds, an integer greater than or equal to\n <code>0</code>. You can use <code>NONE</code> to specify unlimited duration.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"defaultTaskScheduleToCloseTimeout": {
|
|||
|
"target": "com.amazonaws.swf#DurationInSecondsOptional",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>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 <code>ScheduleActivityTask</code>\n <a>Decision</a>.</p>\n <p>The duration is specified in seconds, an integer greater than or equal to\n <code>0</code>. You can use <code>NONE</code> to specify unlimited duration.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#RegisterDomain": {
|
|||
|
"type": "operation",
|
|||
|
"input": {
|
|||
|
"target": "com.amazonaws.swf#RegisterDomainInput"
|
|||
|
},
|
|||
|
"errors": [
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#DomainAlreadyExistsFault"
|
|||
|
},
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#LimitExceededFault"
|
|||
|
},
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#OperationNotPermittedFault"
|
|||
|
},
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#TooManyTagsFault"
|
|||
|
}
|
|||
|
],
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Registers a new domain.</p>\n <p>\n <b>Access Control</b>\n </p>\n <p>You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:</p>\n <ul>\n <li>\n <p>You 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.</p>\n </li>\n <li>\n <p>Use an <code>Action</code> element to allow or deny permission to call this\n action.</p>\n </li>\n <li>\n <p>You cannot use an IAM policy to constrain this action's parameters.</p>\n </li>\n </ul>\n <p>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 <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.\n For details and example IAM policies, see <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html\">Using IAM to Manage Access to Amazon SWF\n Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#RegisterDomainInput": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"name": {
|
|||
|
"target": "com.amazonaws.swf#DomainName",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Name of the domain to register. The name must be unique in the region that the domain\n is registered in.</p>\n \n <p>The specified string must not start or end with whitespace. It must not contain a\n <code>:</code> (colon), <code>/</code> (slash), <code>|</code> (vertical bar), or any\n control characters (<code>\\u0000-\\u001f</code> | <code>\\u007f-\\u009f</code>). Also, it must\n not <i>be</i> the literal string <code>arn</code>.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"description": {
|
|||
|
"target": "com.amazonaws.swf#Description",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>A text description of the domain.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"workflowExecutionRetentionPeriodInDays": {
|
|||
|
"target": "com.amazonaws.swf#DurationInDays",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>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.</p>\n <p>If you pass the value <code>NONE</code> or <code>0</code> (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.</p>\n <p>The maximum workflow execution retention period is 90 days. For more information about\n Amazon SWF service limits, see: <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dg-limits.html\">Amazon SWF Service Limits</a> in the\n <i>Amazon SWF Developer Guide</i>.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"tags": {
|
|||
|
"target": "com.amazonaws.swf#ResourceTagList",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Tags to be added when registering a domain.</p> \n <p>Tags may only contain unicode letters, digits, whitespace, or these symbols: <code>_ . : / = + - @</code>.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#RegisterWorkflowType": {
|
|||
|
"type": "operation",
|
|||
|
"input": {
|
|||
|
"target": "com.amazonaws.swf#RegisterWorkflowTypeInput"
|
|||
|
},
|
|||
|
"errors": [
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#LimitExceededFault"
|
|||
|
},
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#OperationNotPermittedFault"
|
|||
|
},
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#TypeAlreadyExistsFault"
|
|||
|
},
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#UnknownResourceFault"
|
|||
|
}
|
|||
|
],
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Registers a new <i>workflow type</i> and its configuration settings in\n the specified domain.</p>\n <p>The retention period for the workflow history is set by the <a>RegisterDomain</a> action.</p>\n <important>\n <p>If the type already exists, then a <code>TypeAlreadyExists</code> 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.</p>\n </important>\n <p>\n <b>Access Control</b>\n </p>\n <p>You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:</p>\n <ul>\n <li>\n <p>Use a <code>Resource</code> element with the domain name to limit the action to\n only specified domains.</p>\n </li>\n <li>\n <p>Use an <code>Action</code> element to allow or deny permission to call this\n action.</p>\n </li>\n <li>\n <p>Constrain the following parameters by using a <code>Condition</code> element with\n the appropriate keys.</p>\n <ul>\n <li>\n <p>\n <code>defaultTaskList.name</code>: String constraint. The key is\n <code>swf:defaultTaskList.name</code>.</p>\n </li>\n <li>\n <p>\n <code>name</code>: String constraint. The key is <code>swf:name</code>.</p>\n </li>\n <li>\n <p>\n <code>version</code>: String constraint. The key is\n <code>swf:version</code>.</p>\n </li>\n </ul>\n </li>\n </ul>\n <p>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 <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.\n For details and example IAM policies, see <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html\">Using IAM to Manage Access to Amazon SWF\n Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#RegisterWorkflowTypeInput": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"domain": {
|
|||
|
"target": "com.amazonaws.swf#DomainName",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The name of the domain in which to register the workflow type.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"name": {
|
|||
|
"target": "com.amazonaws.swf#Name",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The name of the workflow type.</p>\n \n <p>The specified string must not start or end with whitespace. It must not contain a\n <code>:</code> (colon), <code>/</code> (slash), <code>|</code> (vertical bar), or any\n control characters (<code>\\u0000-\\u001f</code> | <code>\\u007f-\\u009f</code>). Also, it must\n not <i>be</i> the literal string <code>arn</code>.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"version": {
|
|||
|
"target": "com.amazonaws.swf#Version",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The version of the workflow type.</p>\n <note>\n <p>The 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 <a>ListWorkflowTypes</a> action.</p>\n </note>\n \n <p>The specified string must not start or end with whitespace. It must not contain a\n <code>:</code> (colon), <code>/</code> (slash), <code>|</code> (vertical bar), or any\n control characters (<code>\\u0000-\\u001f</code> | <code>\\u007f-\\u009f</code>). Also, it must\n not <i>be</i> the literal string <code>arn</code>.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"description": {
|
|||
|
"target": "com.amazonaws.swf#Description",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Textual description of the workflow type.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"defaultTaskStartToCloseTimeout": {
|
|||
|
"target": "com.amazonaws.swf#DurationInSecondsOptional",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>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 <a>StartWorkflowExecution</a> action or the <code>StartChildWorkflowExecution</code>\n <a>Decision</a>.</p>\n <p>The duration is specified in seconds, an integer greater than or equal to\n <code>0</code>. You can use <code>NONE</code> to specify unlimited duration.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"defaultExecutionStartToCloseTimeout": {
|
|||
|
"target": "com.amazonaws.swf#DurationInSecondsOptional",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>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 <a>StartWorkflowExecution</a> Action or <code>StartChildWorkflowExecution</code>\n <a>Decision</a>.</p>\n\n <p>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 <code>defaultExecutionStartToCloseTimeout</code>; 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.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"defaultTaskList": {
|
|||
|
"target": "com.amazonaws.swf#TaskList",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>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 <a>StartWorkflowExecution</a> Action or\n <code>StartChildWorkflowExecution</code>\n <a>Decision</a>.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"defaultTaskPriority": {
|
|||
|
"target": "com.amazonaws.swf#TaskPriority",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The default task priority to assign to the workflow type. If not assigned, then\n <code>0</code> is used. Valid values are integers that range from Java's\n <code>Integer.MIN_VALUE</code> (-2147483648) to <code>Integer.MAX_VALUE</code> (2147483647).\n Higher numbers indicate higher priority.</p>\n <p>For more information about setting task priority, see <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html\">Setting Task\n Priority</a> in the <i>Amazon SWF Developer Guide</i>.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"defaultChildPolicy": {
|
|||
|
"target": "com.amazonaws.swf#ChildPolicy",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>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 <a>TerminateWorkflowExecution</a> action explicitly or due to an expired timeout. This\n default can be overridden when starting a workflow execution using the <a>StartWorkflowExecution</a> action or the <code>StartChildWorkflowExecution</code>\n <a>Decision</a>.</p>\n <p>The supported child policies are:</p>\n <ul>\n <li>\n <p>\n <code>TERMINATE</code> – The child executions are terminated.</p>\n </li>\n <li>\n <p>\n <code>REQUEST_CANCEL</code> – A request to cancel is attempted for each child\n execution by recording a <code>WorkflowExecutionCancelRequested</code> 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.</p>\n </li>\n <li>\n <p>\n <code>ABANDON</code> – No action is taken. The child executions continue to\n run.</p>\n </li>\n </ul>"
|
|||
|
}
|
|||
|
},
|
|||
|
"defaultLambdaRole": {
|
|||
|
"target": "com.amazonaws.swf#Arn",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The default IAM role attached to this workflow type.</p>\n <note>\n <p>Executions 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 <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/lambda-task.html\">https://docs.aws.amazon.com/amazonswf/latest/developerguide/lambda-task.html</a> in the\n <i>Amazon SWF Developer Guide</i>.</p>\n </note>"
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#RegistrationStatus": {
|
|||
|
"type": "string",
|
|||
|
"traits": {
|
|||
|
"smithy.api#enum": [
|
|||
|
{
|
|||
|
"value": "REGISTERED",
|
|||
|
"name": "REGISTERED"
|
|||
|
},
|
|||
|
{
|
|||
|
"value": "DEPRECATED",
|
|||
|
"name": "DEPRECATED"
|
|||
|
}
|
|||
|
]
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#RequestCancelActivityTaskDecisionAttributes": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"activityId": {
|
|||
|
"target": "com.amazonaws.swf#ActivityId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The <code>activityId</code> of the activity task to be canceled.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>RequestCancelActivityTask</code> decision.</p>\n <p>\n <b>Access Control</b>\n </p>\n <p>You can use IAM policies to control this decision's access to Amazon SWF resources as follows:</p>\n <ul>\n <li>\n <p>Use a <code>Resource</code> element with the domain name to limit the action to only\n specified domains.</p>\n </li>\n <li>\n <p>Use an <code>Action</code> element to allow or deny permission to call this action.</p>\n </li>\n <li>\n <p>You cannot use an IAM policy to constrain this action's parameters.</p>\n </li>\n </ul>\n <p>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 <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>. For details and example IAM policies, see\n <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html\">Using IAM to Manage Access to Amazon SWF Workflows</a>\n in the <i>Amazon SWF Developer Guide</i>.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#RequestCancelActivityTaskFailedCause": {
|
|||
|
"type": "string",
|
|||
|
"traits": {
|
|||
|
"smithy.api#enum": [
|
|||
|
{
|
|||
|
"value": "ACTIVITY_ID_UNKNOWN",
|
|||
|
"name": "ACTIVITY_ID_UNKNOWN"
|
|||
|
},
|
|||
|
{
|
|||
|
"value": "OPERATION_NOT_PERMITTED",
|
|||
|
"name": "OPERATION_NOT_PERMITTED"
|
|||
|
}
|
|||
|
]
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#RequestCancelActivityTaskFailedEventAttributes": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"activityId": {
|
|||
|
"target": "com.amazonaws.swf#ActivityId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The activityId provided in the <code>RequestCancelActivityTask</code> decision that failed.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"cause": {
|
|||
|
"target": "com.amazonaws.swf#RequestCancelActivityTaskFailedCause",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.</p>\n <note>\n <p>If <code>cause</code> is set to <code>OPERATION_NOT_PERMITTED</code>, the decision failed\n because it lacked sufficient permissions. For details and example IAM policies, see <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html\">Using IAM to Manage Access to Amazon SWF Workflows</a>\n in the <i>Amazon SWF Developer Guide</i>.</p>\n </note>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"decisionTaskCompletedEventId": {
|
|||
|
"target": "com.amazonaws.swf#EventId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The ID of the <code>DecisionTaskCompleted</code> event corresponding to the decision task that resulted in the\n <code>RequestCancelActivityTask</code> 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.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>RequestCancelActivityTaskFailed</code> event.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#RequestCancelExternalWorkflowExecutionDecisionAttributes": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"workflowId": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>\n The <code>workflowId</code> of the external workflow execution to cancel.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"runId": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowRunIdOptional",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The <code>runId</code> of the external workflow execution to cancel.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"control": {
|
|||
|
"target": "com.amazonaws.swf#Data",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The data attached to the event that can be used by the decider in subsequent workflow tasks.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>RequestCancelExternalWorkflowExecution</code> decision.</p>\n <p>\n <b>Access Control</b>\n </p>\n <p>You can use IAM policies to control this decision's access to Amazon SWF resources as follows:</p>\n <ul>\n <li>\n <p>Use a <code>Resource</code> element with the domain name to limit the action to only\n specified domains.</p>\n </li>\n <li>\n <p>Use an <code>Action</code> element to allow or deny permission to call this action.</p>\n </li>\n <li>\n <p>You cannot use an IAM policy to constrain this action's parameters.</p>\n </li>\n </ul>\n <p>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 <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>. For details and example IAM policies, see\n <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html\">Using IAM to Manage Access to Amazon SWF Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#RequestCancelExternalWorkflowExecutionFailedCause": {
|
|||
|
"type": "string",
|
|||
|
"traits": {
|
|||
|
"smithy.api#enum": [
|
|||
|
{
|
|||
|
"value": "UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION",
|
|||
|
"name": "UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION"
|
|||
|
},
|
|||
|
{
|
|||
|
"value": "REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED",
|
|||
|
"name": "REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED"
|
|||
|
},
|
|||
|
{
|
|||
|
"value": "OPERATION_NOT_PERMITTED",
|
|||
|
"name": "OPERATION_NOT_PERMITTED"
|
|||
|
}
|
|||
|
]
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#RequestCancelExternalWorkflowExecutionFailedEventAttributes": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"workflowId": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The <code>workflowId</code> of the external workflow to which the cancel request was to be delivered.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"runId": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowRunIdOptional",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The <code>runId</code> of the external workflow execution.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"cause": {
|
|||
|
"target": "com.amazonaws.swf#RequestCancelExternalWorkflowExecutionFailedCause",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.</p>\n <note>\n <p>If <code>cause</code> is set to <code>OPERATION_NOT_PERMITTED</code>, the decision failed\n because it lacked sufficient permissions. For details and example IAM policies, see <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html\">Using IAM to Manage Access to Amazon SWF Workflows</a>\n in the <i>Amazon SWF Developer Guide</i>.</p>\n </note>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"initiatedEventId": {
|
|||
|
"target": "com.amazonaws.swf#EventId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The ID of the <code>RequestCancelExternalWorkflowExecutionInitiated</code> event corresponding to the\n <code>RequestCancelExternalWorkflowExecution</code> 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.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"decisionTaskCompletedEventId": {
|
|||
|
"target": "com.amazonaws.swf#EventId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The ID of the <code>DecisionTaskCompleted</code> event corresponding to the decision task that resulted in the\n <code>RequestCancelExternalWorkflowExecution</code> 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.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"control": {
|
|||
|
"target": "com.amazonaws.swf#Data",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>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.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>RequestCancelExternalWorkflowExecutionFailed</code> event.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#RequestCancelExternalWorkflowExecutionInitiatedEventAttributes": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"workflowId": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The <code>workflowId</code> of the external workflow execution to be canceled.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"runId": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowRunIdOptional",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The <code>runId</code> of the external workflow execution to be canceled.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"decisionTaskCompletedEventId": {
|
|||
|
"target": "com.amazonaws.swf#EventId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The ID of the <code>DecisionTaskCompleted</code> event corresponding to the decision task that resulted in the\n <code>RequestCancelExternalWorkflowExecution</code> 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.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"control": {
|
|||
|
"target": "com.amazonaws.swf#Data",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Data attached to the event that can be used by the decider in subsequent workflow tasks.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>RequestCancelExternalWorkflowExecutionInitiated</code> event.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#RequestCancelWorkflowExecution": {
|
|||
|
"type": "operation",
|
|||
|
"input": {
|
|||
|
"target": "com.amazonaws.swf#RequestCancelWorkflowExecutionInput"
|
|||
|
},
|
|||
|
"errors": [
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#OperationNotPermittedFault"
|
|||
|
},
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#UnknownResourceFault"
|
|||
|
}
|
|||
|
],
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Records a <code>WorkflowExecutionCancelRequested</code> 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.</p>\n\n <note>\n <p>If the runId isn't specified, the <code>WorkflowExecutionCancelRequested</code> event\n is recorded in the history of the current open workflow execution with the specified\n workflowId in the domain.</p>\n </note>\n\n <note>\n <p>Because this action allows the workflow to properly clean up and gracefully close, it\n should be used instead of <a>TerminateWorkflowExecution</a> when\n possible.</p>\n </note>\n <p>\n <b>Access Control</b>\n </p>\n <p>You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:</p>\n <ul>\n <li>\n <p>Use a <code>Resource</code> element with the domain name to limit the action to\n only specified domains.</p>\n </li>\n <li>\n <p>Use an <code>Action</code> element to allow or deny permission to call this\n action.</p>\n </li>\n <li>\n <p>You cannot use an IAM policy to constrain this action's parameters.</p>\n </li>\n </ul>\n <p>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 <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.\n For details and example IAM policies, see <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html\">Using IAM to Manage Access to Amazon SWF\n Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#RequestCancelWorkflowExecutionInput": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"domain": {
|
|||
|
"target": "com.amazonaws.swf#DomainName",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The name of the domain containing the workflow execution to cancel.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"workflowId": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The workflowId of the workflow execution to cancel.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"runId": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowRunIdOptional",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The runId of the workflow execution to cancel.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#ResourceTag": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"key": {
|
|||
|
"target": "com.amazonaws.swf#ResourceTagKey",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The key of a tag.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"value": {
|
|||
|
"target": "com.amazonaws.swf#ResourceTagValue",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The value of a tag.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Tags are key-value pairs that can be associated with Amazon SWF state machines and\n activities.</p> \n <p>Tags may only contain unicode letters, digits, whitespace, or these symbols: <code>_ . : / = + - @</code>.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#ResourceTagKey": {
|
|||
|
"type": "string",
|
|||
|
"traits": {
|
|||
|
"smithy.api#length": {
|
|||
|
"min": 1,
|
|||
|
"max": 128
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#ResourceTagKeyList": {
|
|||
|
"type": "list",
|
|||
|
"member": {
|
|||
|
"target": "com.amazonaws.swf#ResourceTagKey"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#ResourceTagList": {
|
|||
|
"type": "list",
|
|||
|
"member": {
|
|||
|
"target": "com.amazonaws.swf#ResourceTag"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#ResourceTagValue": {
|
|||
|
"type": "string",
|
|||
|
"traits": {
|
|||
|
"smithy.api#length": {
|
|||
|
"min": 0,
|
|||
|
"max": 256
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#RespondActivityTaskCanceled": {
|
|||
|
"type": "operation",
|
|||
|
"input": {
|
|||
|
"target": "com.amazonaws.swf#RespondActivityTaskCanceledInput"
|
|||
|
},
|
|||
|
"errors": [
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#OperationNotPermittedFault"
|
|||
|
},
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#UnknownResourceFault"
|
|||
|
}
|
|||
|
],
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Used by workers to tell the service that the <a>ActivityTask</a> identified\n by the <code>taskToken</code> was successfully canceled. Additional <code>details</code> can\n be provided using the <code>details</code> argument.</p>\n\n <p>These <code>details</code> (if provided) appear in the\n <code>ActivityTaskCanceled</code> event added to the workflow history.</p>\n\n <important>\n <p>Only use this operation if the <code>canceled</code> flag of a <a>RecordActivityTaskHeartbeat</a> request returns <code>true</code> and if the\n activity can be safely undone or abandoned.</p>\n </important>\n\n <p>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 <a>RespondActivityTaskCompleted</a>,\n RespondActivityTaskCanceled, <a>RespondActivityTaskFailed</a>, or the task has\n <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dg-basic.html#swf-dev-timeout-types\">timed\n out</a>.</p>\n\n <p>\n <b>Access Control</b>\n </p>\n <p>You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:</p>\n <ul>\n <li>\n <p>Use a <code>Resource</code> element with the domain name to limit the action to\n only specified domains.</p>\n </li>\n <li>\n <p>Use an <code>Action</code> element to allow or deny permission to call this\n action.</p>\n </li>\n <li>\n <p>You cannot use an IAM policy to constrain this action's parameters.</p>\n </li>\n </ul>\n <p>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 <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.\n For details and example IAM policies, see <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html\">Using IAM to Manage Access to Amazon SWF\n Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#RespondActivityTaskCanceledInput": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"taskToken": {
|
|||
|
"target": "com.amazonaws.swf#TaskToken",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The <code>taskToken</code> of the <a>ActivityTask</a>.</p>\n <important>\n <p>\n <code>taskToken</code> is generated by the service and should be treated as an opaque value.\n If the task is passed to another process, its <code>taskToken</code> must also be passed.\n This enables it to provide its progress and respond with results.</p>\n </important>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"details": {
|
|||
|
"target": "com.amazonaws.swf#Data",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p> Information about the cancellation.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"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": "<p>Used by workers to tell the service that the <a>ActivityTask</a> identified\n by the <code>taskToken</code> completed successfully with a <code>result</code> (if provided).\n The <code>result</code> appears in the <code>ActivityTaskCompleted</code> event in the\n workflow history.</p>\n\n <important>\n <p>If the requested task doesn't complete successfully, use <a>RespondActivityTaskFailed</a> instead. If the worker finds that the task is\n canceled through the <code>canceled</code> flag returned by <a>RecordActivityTaskHeartbeat</a>, it should cancel the task, clean up and then call\n <a>RespondActivityTaskCanceled</a>.</p>\n </important>\n\n <p>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, <a>RespondActivityTaskCanceled</a>, <a>RespondActivityTaskFailed</a>, or the\n task has <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dg-basic.html#swf-dev-timeout-types\">timed\n out</a>.</p>\n\n <p>\n <b>Access Control</b>\n </p>\n <p>You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:</p>\n <ul>\n <li>\n <p>Use a <code>Resource</code> element with the domain name to limit the action to\n only specified domains.</p>\n </li>\n <li>\n <p>Use an <code>Action</code> element to allow or deny permission to call this\n action.</p>\n </li>\n <li>\n <p>You cannot use an IAM policy to constrain this action's parameters.</p>\n </li>\n </ul>\n <p>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 <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.\n For details and example IAM policies, see <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html\">Using IAM to Manage Access to Amazon SWF\n Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#RespondActivityTaskCompletedInput": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"taskToken": {
|
|||
|
"target": "com.amazonaws.swf#TaskToken",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The <code>taskToken</code> of the <a>ActivityTask</a>.</p>\n <important>\n <p>\n <code>taskToken</code> is generated by the service and should be treated as an opaque value.\n If the task is passed to another process, its <code>taskToken</code> must also be passed.\n This enables it to provide its progress and respond with results.</p>\n </important>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"result": {
|
|||
|
"target": "com.amazonaws.swf#Data",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The result of the activity task. It is a free form string that is implementation\n specific.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"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": "<p>Used by workers to tell the service that the <a>ActivityTask</a> identified\n by the <code>taskToken</code> has failed with <code>reason</code> (if specified). The\n <code>reason</code> and <code>details</code> appear in the <code>ActivityTaskFailed</code>\n event added to the workflow history.</p>\n\n <p>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 <a>RespondActivityTaskCompleted</a>, <a>RespondActivityTaskCanceled</a>, RespondActivityTaskFailed, or the task has <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dg-basic.html#swf-dev-timeout-types\">timed\n out</a>.</p>\n\n <p>\n <b>Access Control</b>\n </p>\n <p>You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:</p>\n <ul>\n <li>\n <p>Use a <code>Resource</code> element with the domain name to limit the action to\n only specified domains.</p>\n </li>\n <li>\n <p>Use an <code>Action</code> element to allow or deny permission to call this\n action.</p>\n </li>\n <li>\n <p>You cannot use an IAM policy to constrain this action's parameters.</p>\n </li>\n </ul>\n <p>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 <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.\n For details and example IAM policies, see <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html\">Using IAM to Manage Access to Amazon SWF\n Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#RespondActivityTaskFailedInput": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"taskToken": {
|
|||
|
"target": "com.amazonaws.swf#TaskToken",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The <code>taskToken</code> of the <a>ActivityTask</a>.</p>\n\n <important>\n <p>\n <code>taskToken</code> is generated by the service and should be treated as an opaque value.\n If the task is passed to another process, its <code>taskToken</code> must also be passed.\n This enables it to provide its progress and respond with results.</p>\n </important>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"reason": {
|
|||
|
"target": "com.amazonaws.swf#FailureReason",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Description of the error that may assist in diagnostics.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"details": {
|
|||
|
"target": "com.amazonaws.swf#Data",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p> Detailed information about the failure.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"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": "<p>Used by deciders to tell the service that the <a>DecisionTask</a> identified\n by the <code>taskToken</code> has successfully completed. The <code>decisions</code> argument\n specifies the list of decisions made while processing the task.</p>\n\n <p>A <code>DecisionTaskCompleted</code> event is added to the workflow history. The\n <code>executionContext</code> specified is attached to the event in the workflow execution\n history.</p>\n\n <p>\n <b>Access Control</b>\n </p>\n\n <p>If an IAM policy grants permission to use <code>RespondDecisionTaskCompleted</code>, it\n can express permissions for the list of decisions in the <code>decisions</code> 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 <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html\">Using\n IAM to Manage Access to Amazon SWF Workflows</a> in the\n <i>Amazon SWF Developer Guide</i>.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#RespondDecisionTaskCompletedInput": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"taskToken": {
|
|||
|
"target": "com.amazonaws.swf#TaskToken",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The <code>taskToken</code> from the <a>DecisionTask</a>.</p>\n <important>\n <p>\n <code>taskToken</code> is generated by the service and should be treated as an opaque value.\n If the task is passed to another process, its <code>taskToken</code> must also be passed.\n This enables it to provide its progress and respond with results.</p>\n </important>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"decisions": {
|
|||
|
"target": "com.amazonaws.swf#DecisionList",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The list of decisions (possibly empty) made by the decider while processing this\n decision task. See the docs for the <a>Decision</a> structure for\n details.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"executionContext": {
|
|||
|
"target": "com.amazonaws.swf#Data",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>User defined context to add to workflow execution.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Input data for a TaskCompleted response to a decision task.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#ReverseOrder": {
|
|||
|
"type": "boolean"
|
|||
|
},
|
|||
|
"com.amazonaws.swf#Run": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"runId": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowRunId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The <code>runId</code> 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.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Specifies the <code>runId</code> of a workflow execution.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#ScheduleActivityTaskDecisionAttributes": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"activityType": {
|
|||
|
"target": "com.amazonaws.swf#ActivityType",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>\n The type of the activity task to schedule.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"activityId": {
|
|||
|
"target": "com.amazonaws.swf#ActivityId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>\n The <code>activityId</code> of the activity task.</p>\n <p>The specified string must not start or end with whitespace. It must not contain a <code>:</code>\n (colon), <code>/</code> (slash), <code>|</code> (vertical bar), or any control characters (<code>\\u0000-\\u001f</code> | <code>\\u007f-\\u009f</code>). Also, it must not contain the literal string <code>arn</code>.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"control": {
|
|||
|
"target": "com.amazonaws.swf#Data",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Data attached to the event that can be used by the decider in subsequent workflow tasks. This data isn't sent to the activity.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"input": {
|
|||
|
"target": "com.amazonaws.swf#Data",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The input provided to the activity task.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"scheduleToCloseTimeout": {
|
|||
|
"target": "com.amazonaws.swf#DurationInSecondsOptional",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The maximum duration for this activity task.</p>\n <p>The duration is specified in seconds, an integer greater than or equal to <code>0</code>. You can use <code>NONE</code> to specify unlimited duration.</p>\n <note>\n <p>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.</p>\n </note>"
|
|||
|
}
|
|||
|
},
|
|||
|
"taskList": {
|
|||
|
"target": "com.amazonaws.swf#TaskList",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If set, specifies the name of the task list in which to schedule the activity task. If not specified, the\n <code>defaultTaskList</code> registered with the activity type is used.</p>\n <note>\n <p>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.</p>\n </note>\n <p>The specified string must not start or end with whitespace. It must not contain a <code>:</code>\n (colon), <code>/</code> (slash), <code>|</code> (vertical bar), or any control characters (<code>\\u0000-\\u001f</code> | <code>\\u007f-\\u009f</code>). Also, it must not contain the literal string <code>arn</code>.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"taskPriority": {
|
|||
|
"target": "com.amazonaws.swf#TaskPriority",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>\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 <a>RegisterActivityType</a>.\n Valid values are integers that range from Java's <code>Integer.MIN_VALUE</code>\n (-2147483648) to <code>Integer.MAX_VALUE</code> (2147483647). Higher numbers indicate higher priority.</p>\n <p>For more information about setting task priority, see <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html\">Setting Task Priority</a> in the <i>Amazon SWF Developer Guide</i>.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"scheduleToStartTimeout": {
|
|||
|
"target": "com.amazonaws.swf#DurationInSecondsOptional",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>\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 <a>RegisterActivityType</a>.</p>\n <p>The duration is specified in seconds, an integer greater than or equal to <code>0</code>. You can use <code>NONE</code> to specify unlimited duration.</p>\n <note>\n <p>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.</p>\n </note>"
|
|||
|
}
|
|||
|
},
|
|||
|
"startToCloseTimeout": {
|
|||
|
"target": "com.amazonaws.swf#DurationInSecondsOptional",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If 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 <a>RegisterActivityType</a>.</p>\n <p>The duration is specified in seconds, an integer greater than or equal to <code>0</code>. You can use <code>NONE</code> to specify unlimited duration.</p>\n <note>\n <p>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.</p>\n </note>"
|
|||
|
}
|
|||
|
},
|
|||
|
"heartbeatTimeout": {
|
|||
|
"target": "com.amazonaws.swf#DurationInSecondsOptional",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If set, specifies the maximum time before which a worker processing a task of this type must report progress by\n calling <a>RecordActivityTaskHeartbeat</a>. 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 <a>RegisterActivityType</a>.</p>\n <p>The duration is specified in seconds, an integer greater than or equal to <code>0</code>. You can use <code>NONE</code> to specify unlimited duration.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>ScheduleActivityTask</code> decision.</p>\n <p>\n <b>Access Control</b>\n </p>\n <p>You can use IAM policies to control this decision's access to Amazon SWF resources as follows:</p>\n <ul>\n <li>\n <p>Use a <code>Resource</code> element with the domain name to limit the action to only\n specified domains.</p>\n </li>\n <li>\n <p>Use an <code>Action</code> element to allow or deny permission to call this action.</p>\n </li>\n <li>\n <p>Constrain the following parameters by using a <code>Condition</code> element with the\n appropriate keys.</p>\n <ul>\n <li>\n <p>\n <code>activityType.name</code> – String constraint. The key is <code>swf:activityType.name</code>.</p>\n </li>\n <li>\n <p>\n <code>activityType.version</code> – String constraint. The key is <code>swf:activityType.version</code>.</p>\n </li>\n <li>\n <p>\n <code>taskList</code> – String constraint. The key is <code>swf:taskList.name</code>.</p>\n </li>\n </ul>\n </li>\n </ul>\n <p>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 <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>. For details and example IAM policies, see\n <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html\">Using IAM to Manage Access to Amazon SWF Workflows</a>\n in the <i>Amazon SWF Developer Guide</i>.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#ScheduleActivityTaskFailedCause": {
|
|||
|
"type": "string",
|
|||
|
"traits": {
|
|||
|
"smithy.api#enum": [
|
|||
|
{
|
|||
|
"value": "ACTIVITY_TYPE_DEPRECATED",
|
|||
|
"name": "ACTIVITY_TYPE_DEPRECATED"
|
|||
|
},
|
|||
|
{
|
|||
|
"value": "ACTIVITY_TYPE_DOES_NOT_EXIST",
|
|||
|
"name": "ACTIVITY_TYPE_DOES_NOT_EXIST"
|
|||
|
},
|
|||
|
{
|
|||
|
"value": "ACTIVITY_ID_ALREADY_IN_USE",
|
|||
|
"name": "ACTIVITY_ID_ALREADY_IN_USE"
|
|||
|
},
|
|||
|
{
|
|||
|
"value": "OPEN_ACTIVITIES_LIMIT_EXCEEDED",
|
|||
|
"name": "OPEN_ACTIVITIES_LIMIT_EXCEEDED"
|
|||
|
},
|
|||
|
{
|
|||
|
"value": "ACTIVITY_CREATION_RATE_EXCEEDED",
|
|||
|
"name": "ACTIVITY_CREATION_RATE_EXCEEDED"
|
|||
|
},
|
|||
|
{
|
|||
|
"value": "DEFAULT_SCHEDULE_TO_CLOSE_TIMEOUT_UNDEFINED",
|
|||
|
"name": "DEFAULT_SCHEDULE_TO_CLOSE_TIMEOUT_UNDEFINED"
|
|||
|
},
|
|||
|
{
|
|||
|
"value": "DEFAULT_TASK_LIST_UNDEFINED",
|
|||
|
"name": "DEFAULT_TASK_LIST_UNDEFINED"
|
|||
|
},
|
|||
|
{
|
|||
|
"value": "DEFAULT_SCHEDULE_TO_START_TIMEOUT_UNDEFINED",
|
|||
|
"name": "DEFAULT_SCHEDULE_TO_START_TIMEOUT_UNDEFINED"
|
|||
|
},
|
|||
|
{
|
|||
|
"value": "DEFAULT_START_TO_CLOSE_TIMEOUT_UNDEFINED",
|
|||
|
"name": "DEFAULT_START_TO_CLOSE_TIMEOUT_UNDEFINED"
|
|||
|
},
|
|||
|
{
|
|||
|
"value": "DEFAULT_HEARTBEAT_TIMEOUT_UNDEFINED",
|
|||
|
"name": "DEFAULT_HEARTBEAT_TIMEOUT_UNDEFINED"
|
|||
|
},
|
|||
|
{
|
|||
|
"value": "OPERATION_NOT_PERMITTED",
|
|||
|
"name": "OPERATION_NOT_PERMITTED"
|
|||
|
}
|
|||
|
]
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#ScheduleActivityTaskFailedEventAttributes": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"activityType": {
|
|||
|
"target": "com.amazonaws.swf#ActivityType",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The activity type provided in the <code>ScheduleActivityTask</code> decision that failed.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"activityId": {
|
|||
|
"target": "com.amazonaws.swf#ActivityId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The activityId provided in the <code>ScheduleActivityTask</code> decision that failed.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"cause": {
|
|||
|
"target": "com.amazonaws.swf#ScheduleActivityTaskFailedCause",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.</p>\n <note>\n <p>If <code>cause</code> is set to <code>OPERATION_NOT_PERMITTED</code>, the decision failed\n because it lacked sufficient permissions. For details and example IAM policies, see <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html\">Using IAM to Manage Access to Amazon SWF Workflows</a>\n in the <i>Amazon SWF Developer Guide</i>.</p>\n </note>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"decisionTaskCompletedEventId": {
|
|||
|
"target": "com.amazonaws.swf#EventId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The ID of the <code>DecisionTaskCompleted</code> 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.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>ScheduleActivityTaskFailed</code> event.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#ScheduleLambdaFunctionDecisionAttributes": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"id": {
|
|||
|
"target": "com.amazonaws.swf#FunctionId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>A string that identifies the Lambda function execution in the event history.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"name": {
|
|||
|
"target": "com.amazonaws.swf#FunctionName",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The name, or ARN, of the Lambda function to schedule.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"control": {
|
|||
|
"target": "com.amazonaws.swf#Data",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>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.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"input": {
|
|||
|
"target": "com.amazonaws.swf#FunctionInput",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The optional input data to be supplied to the Lambda function.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"startToCloseTimeout": {
|
|||
|
"target": "com.amazonaws.swf#DurationInSecondsOptional",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>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.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Decision attributes specified in <code>scheduleLambdaFunctionDecisionAttributes</code> within the list of\n decisions <code>decisions</code> passed to <a>RespondDecisionTaskCompleted</a>.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#ScheduleLambdaFunctionFailedCause": {
|
|||
|
"type": "string",
|
|||
|
"traits": {
|
|||
|
"smithy.api#enum": [
|
|||
|
{
|
|||
|
"value": "ID_ALREADY_IN_USE",
|
|||
|
"name": "ID_ALREADY_IN_USE"
|
|||
|
},
|
|||
|
{
|
|||
|
"value": "OPEN_LAMBDA_FUNCTIONS_LIMIT_EXCEEDED",
|
|||
|
"name": "OPEN_LAMBDA_FUNCTIONS_LIMIT_EXCEEDED"
|
|||
|
},
|
|||
|
{
|
|||
|
"value": "LAMBDA_FUNCTION_CREATION_RATE_EXCEEDED",
|
|||
|
"name": "LAMBDA_FUNCTION_CREATION_RATE_EXCEEDED"
|
|||
|
},
|
|||
|
{
|
|||
|
"value": "LAMBDA_SERVICE_NOT_AVAILABLE_IN_REGION",
|
|||
|
"name": "LAMBDA_SERVICE_NOT_AVAILABLE_IN_REGION"
|
|||
|
}
|
|||
|
]
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#ScheduleLambdaFunctionFailedEventAttributes": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"id": {
|
|||
|
"target": "com.amazonaws.swf#FunctionId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The ID provided in the <code>ScheduleLambdaFunction</code> decision that failed.\n </p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"name": {
|
|||
|
"target": "com.amazonaws.swf#FunctionName",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The name of the Lambda function.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"cause": {
|
|||
|
"target": "com.amazonaws.swf#ScheduleLambdaFunctionFailedCause",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The cause of the failure. To help diagnose issues, use this information to trace back the chain of events leading up to this event.</p>\n <note>\n <p>If <code>cause</code> is set to <code>OPERATION_NOT_PERMITTED</code>, the decision\n failed because it lacked sufficient permissions. For details and example IAM policies, see\n <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html\">Using\n IAM to Manage Access to Amazon SWF Workflows</a> in the\n <i>Amazon SWF Developer Guide</i>.</p>\n </note>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"decisionTaskCompletedEventId": {
|
|||
|
"target": "com.amazonaws.swf#EventId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The ID of the <code>LambdaFunctionCompleted</code> 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.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>ScheduleLambdaFunctionFailed</code> event. It isn't\n set for other event types.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#SignalExternalWorkflowExecutionDecisionAttributes": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"workflowId": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>\n The <code>workflowId</code> of the workflow execution to be signaled.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"runId": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowRunIdOptional",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The <code>runId</code> of the workflow execution to be signaled.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"signalName": {
|
|||
|
"target": "com.amazonaws.swf#SignalName",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>\n The name of the signal.The target workflow execution uses the signal name and input to\n process the signal.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"input": {
|
|||
|
"target": "com.amazonaws.swf#Data",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>\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.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"control": {
|
|||
|
"target": "com.amazonaws.swf#Data",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The data attached to the event that can be used by the decider in subsequent decision tasks.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>SignalExternalWorkflowExecution</code> decision.</p>\n <p>\n <b>Access Control</b>\n </p>\n <p>You can use IAM policies to control this decision's access to Amazon SWF resources as follows:</p>\n <ul>\n <li>\n <p>Use a <code>Resource</code> element with the domain name to limit the action to only\n specified domains.</p>\n </li>\n <li>\n <p>Use an <code>Action</code> element to allow or deny permission to call this action.</p>\n </li>\n <li>\n <p>You cannot use an IAM policy to constrain this action's parameters.</p>\n </li>\n </ul>\n <p>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 <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>. For details and example IAM policies, see\n <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html\">Using IAM to Manage Access to Amazon SWF Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#SignalExternalWorkflowExecutionFailedCause": {
|
|||
|
"type": "string",
|
|||
|
"traits": {
|
|||
|
"smithy.api#enum": [
|
|||
|
{
|
|||
|
"value": "UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION",
|
|||
|
"name": "UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION"
|
|||
|
},
|
|||
|
{
|
|||
|
"value": "SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED",
|
|||
|
"name": "SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED"
|
|||
|
},
|
|||
|
{
|
|||
|
"value": "OPERATION_NOT_PERMITTED",
|
|||
|
"name": "OPERATION_NOT_PERMITTED"
|
|||
|
}
|
|||
|
]
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#SignalExternalWorkflowExecutionFailedEventAttributes": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"workflowId": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The <code>workflowId</code> of the external workflow execution that the signal was being delivered to.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"runId": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowRunIdOptional",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The <code>runId</code> of the external workflow execution that the signal was being delivered to.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"cause": {
|
|||
|
"target": "com.amazonaws.swf#SignalExternalWorkflowExecutionFailedCause",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.</p>\n <note>\n <p>If <code>cause</code> is set to <code>OPERATION_NOT_PERMITTED</code>, the decision failed\n because it lacked sufficient permissions. For details and example IAM policies, see <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html\">Using IAM to Manage Access to Amazon SWF Workflows</a>\n in the <i>Amazon SWF Developer Guide</i>.</p>\n </note>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"initiatedEventId": {
|
|||
|
"target": "com.amazonaws.swf#EventId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The ID of the <code>SignalExternalWorkflowExecutionInitiated</code> event corresponding to the\n <code>SignalExternalWorkflowExecution</code> 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.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"decisionTaskCompletedEventId": {
|
|||
|
"target": "com.amazonaws.swf#EventId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The ID of the <code>DecisionTaskCompleted</code> event corresponding to the decision task that resulted in the\n <code>SignalExternalWorkflowExecution</code> 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.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"control": {
|
|||
|
"target": "com.amazonaws.swf#Data",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>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.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>SignalExternalWorkflowExecutionFailed</code> event.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#SignalExternalWorkflowExecutionInitiatedEventAttributes": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"workflowId": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The <code>workflowId</code> of the external workflow execution.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"runId": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowRunIdOptional",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The <code>runId</code> of the external workflow execution to send the signal to.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"signalName": {
|
|||
|
"target": "com.amazonaws.swf#SignalName",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The name of the signal.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"input": {
|
|||
|
"target": "com.amazonaws.swf#Data",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The input provided to the signal.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"decisionTaskCompletedEventId": {
|
|||
|
"target": "com.amazonaws.swf#EventId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The ID of the <code>DecisionTaskCompleted</code> event corresponding to the decision task that resulted in the\n <code>SignalExternalWorkflowExecution</code> 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.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"control": {
|
|||
|
"target": "com.amazonaws.swf#Data",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Data attached to the event that can be used by the decider in subsequent decision tasks.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>SignalExternalWorkflowExecutionInitiated</code> event.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#SignalName": {
|
|||
|
"type": "string",
|
|||
|
"traits": {
|
|||
|
"smithy.api#length": {
|
|||
|
"min": 1,
|
|||
|
"max": 256
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#SignalWorkflowExecution": {
|
|||
|
"type": "operation",
|
|||
|
"input": {
|
|||
|
"target": "com.amazonaws.swf#SignalWorkflowExecutionInput"
|
|||
|
},
|
|||
|
"errors": [
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#OperationNotPermittedFault"
|
|||
|
},
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#UnknownResourceFault"
|
|||
|
}
|
|||
|
],
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Records a <code>WorkflowExecutionSignaled</code> 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).</p>\n\n <note>\n <p>If a runId isn't specified, then the <code>WorkflowExecutionSignaled</code> event is\n recorded in the history of the current open workflow with the matching workflowId in the\n domain.</p>\n </note>\n\n <note>\n <p>If the specified workflow execution isn't open, this method fails with\n <code>UnknownResource</code>.</p>\n </note>\n\n <p>\n <b>Access Control</b>\n </p>\n <p>You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:</p>\n <ul>\n <li>\n <p>Use a <code>Resource</code> element with the domain name to limit the action to\n only specified domains.</p>\n </li>\n <li>\n <p>Use an <code>Action</code> element to allow or deny permission to call this\n action.</p>\n </li>\n <li>\n <p>You cannot use an IAM policy to constrain this action's parameters.</p>\n </li>\n </ul>\n <p>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 <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.\n For details and example IAM policies, see <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html\">Using IAM to Manage Access to Amazon SWF\n Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#SignalWorkflowExecutionInput": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"domain": {
|
|||
|
"target": "com.amazonaws.swf#DomainName",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The name of the domain containing the workflow execution to signal.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"workflowId": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The workflowId of the workflow execution to signal.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"runId": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowRunIdOptional",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The runId of the workflow execution to signal.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"signalName": {
|
|||
|
"target": "com.amazonaws.swf#SignalName",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The name of the signal. This name must be meaningful to the target workflow.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"input": {
|
|||
|
"target": "com.amazonaws.swf#Data",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Data to attach to the <code>WorkflowExecutionSignaled</code> event in the target\n workflow execution's history.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#SimpleWorkflowService": {
|
|||
|
"type": "service",
|
|||
|
"version": "2012-01-25",
|
|||
|
"operations": [
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#CountClosedWorkflowExecutions"
|
|||
|
},
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#CountOpenWorkflowExecutions"
|
|||
|
},
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#CountPendingActivityTasks"
|
|||
|
},
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#CountPendingDecisionTasks"
|
|||
|
},
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#DeprecateActivityType"
|
|||
|
},
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#DeprecateDomain"
|
|||
|
},
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#DeprecateWorkflowType"
|
|||
|
},
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#DescribeActivityType"
|
|||
|
},
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#DescribeDomain"
|
|||
|
},
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#DescribeWorkflowExecution"
|
|||
|
},
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#DescribeWorkflowType"
|
|||
|
},
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#GetWorkflowExecutionHistory"
|
|||
|
},
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#ListActivityTypes"
|
|||
|
},
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#ListClosedWorkflowExecutions"
|
|||
|
},
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#ListDomains"
|
|||
|
},
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#ListOpenWorkflowExecutions"
|
|||
|
},
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#ListTagsForResource"
|
|||
|
},
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#ListWorkflowTypes"
|
|||
|
},
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#PollForActivityTask"
|
|||
|
},
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#PollForDecisionTask"
|
|||
|
},
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#RecordActivityTaskHeartbeat"
|
|||
|
},
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#RegisterActivityType"
|
|||
|
},
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#RegisterDomain"
|
|||
|
},
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#RegisterWorkflowType"
|
|||
|
},
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#RequestCancelWorkflowExecution"
|
|||
|
},
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#RespondActivityTaskCanceled"
|
|||
|
},
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#RespondActivityTaskCompleted"
|
|||
|
},
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#RespondActivityTaskFailed"
|
|||
|
},
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#RespondDecisionTaskCompleted"
|
|||
|
},
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#SignalWorkflowExecution"
|
|||
|
},
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#StartWorkflowExecution"
|
|||
|
},
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#TagResource"
|
|||
|
},
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#TerminateWorkflowExecution"
|
|||
|
},
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#UndeprecateActivityType"
|
|||
|
},
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#UndeprecateDomain"
|
|||
|
},
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#UndeprecateWorkflowType"
|
|||
|
},
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#UntagResource"
|
|||
|
}
|
|||
|
],
|
|||
|
"traits": {
|
|||
|
"aws.api#service": {
|
|||
|
"sdkId": "SWF",
|
|||
|
"arnNamespace": "swf",
|
|||
|
"cloudFormationName": "SWF",
|
|||
|
"cloudTrailEventSource": "swf.amazonaws.com",
|
|||
|
"endpointPrefix": "swf"
|
|||
|
},
|
|||
|
"aws.auth#sigv4": {
|
|||
|
"name": "swf"
|
|||
|
},
|
|||
|
"aws.protocols#awsJson1_0": {},
|
|||
|
"smithy.api#documentation": "<fullname>Amazon Simple Workflow Service</fullname>\n\n <p>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 <i>task</i>\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.</p>\n\n <p>Amazon 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.</p>\n\n <p>This documentation serves as reference only. For a broader overview of the Amazon SWF\n programming model, see the <i>\n <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/\">Amazon SWF Developer Guide</a>\n </i>.</p>",
|
|||
|
"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": "<p>\n The type of the workflow execution to be started.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"workflowId": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>\n The <code>workflowId</code> of the workflow execution.</p>\n <p>The specified string must not start or end with whitespace. It must not contain a <code>:</code>\n (colon), <code>/</code> (slash), <code>|</code> (vertical bar), or any control characters (<code>\\u0000-\\u001f</code> | <code>\\u007f-\\u009f</code>). Also, it must not contain the literal string <code>arn</code>.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"control": {
|
|||
|
"target": "com.amazonaws.swf#Data",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>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.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"input": {
|
|||
|
"target": "com.amazonaws.swf#Data",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The input to be provided to the workflow execution.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"executionStartToCloseTimeout": {
|
|||
|
"target": "com.amazonaws.swf#DurationInSecondsOptional",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The total duration for this workflow execution. This overrides the defaultExecutionStartToCloseTimeout specified when registering the workflow type.</p>\n <p>The duration is specified in seconds, an integer greater than or equal to <code>0</code>. You can use <code>NONE</code> to specify unlimited duration.</p>\n <note>\n <p>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.</p>\n </note>"
|
|||
|
}
|
|||
|
},
|
|||
|
"taskList": {
|
|||
|
"target": "com.amazonaws.swf#TaskList",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The name of the task list to be used for decision tasks of the child workflow execution.</p>\n <note>\n <p>A task list for this workflow execution must be specified either as a default for the workflow type or through this parameter. If neither this parameter is set nor a default task list was specified at registration time then a fault is returned.</p>\n </note>\n <p>The specified string must not start or end with whitespace. It must not contain a <code>:</code>\n (colon), <code>/</code> (slash), <code>|</code> (vertical bar), or any control characters (<code>\\u0000-\\u001f</code> | <code>\\u007f-\\u009f</code>). Also, it must not contain the literal string <code>arn</code>.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"taskPriority": {
|
|||
|
"target": "com.amazonaws.swf#TaskPriority",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>\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 <code>Integer.MIN_VALUE</code>\n (-2147483648) to <code>Integer.MAX_VALUE</code> (2147483647). Higher numbers indicate higher priority.</p>\n <p>For more information about setting task priority, see <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html\">Setting Task Priority</a> in the <i>Amazon SWF Developer Guide</i>.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"taskStartToCloseTimeout": {
|
|||
|
"target": "com.amazonaws.swf#DurationInSecondsOptional",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Specifies the maximum duration of decision tasks for this workflow execution. This parameter overrides the\n <code>defaultTaskStartToCloseTimout</code> specified when registering the workflow type using\n <a>RegisterWorkflowType</a>.</p>\n <p>The duration is specified in seconds, an integer greater than or equal to <code>0</code>. You can use <code>NONE</code> to specify unlimited duration.</p>\n <note>\n <p>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.</p>\n </note>"
|
|||
|
}
|
|||
|
},
|
|||
|
"childPolicy": {
|
|||
|
"target": "com.amazonaws.swf#ChildPolicy",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>\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 <a>TerminateWorkflowExecution</a> action explicitly or due to an\n expired timeout. This policy overrides the default child policy specified when registering the workflow type using\n <a>RegisterWorkflowType</a>.</p>\n <p>The supported child policies are:</p>\n <ul>\n <li>\n <p>\n <code>TERMINATE</code> – The child executions are terminated.</p>\n </li>\n <li>\n <p>\n <code>REQUEST_CANCEL</code> – A request to cancel is attempted for each child\n execution by recording a <code>WorkflowExecutionCancelRequested</code> event in its history. It is up to the decider\n to take appropriate actions when it receives an execution history with this event.</p>\n </li>\n <li>\n <p>\n <code>ABANDON</code> – No action is taken. The child executions continue to run.</p>\n </li>\n </ul>\n <note>\n <p>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.</p>\n </note>"
|
|||
|
}
|
|||
|
},
|
|||
|
"tagList": {
|
|||
|
"target": "com.amazonaws.swf#TagList",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The 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 <a>ListOpenWorkflowExecutions</a> or\n <a>ListClosedWorkflowExecutions</a> and specifying a <a>TagFilter</a>.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"lambdaRole": {
|
|||
|
"target": "com.amazonaws.swf#Arn",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The IAM role attached to the child workflow execution.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>StartChildWorkflowExecution</code> decision.</p>\n <p>\n <b>Access Control</b>\n </p>\n <p>You can use IAM policies to control this decision's access to Amazon SWF resources as follows:</p>\n <ul>\n <li>\n <p>Use a <code>Resource</code> element with the domain name to limit the action to only\n specified domains.</p>\n </li>\n <li>\n <p>Use an <code>Action</code> element to allow or deny permission to call this action.</p>\n </li>\n <li>\n <p>Constrain the following parameters by using a <code>Condition</code> element with the\n appropriate keys.</p>\n <ul>\n <li>\n <p>\n <code>tagList.member.N</code> – The key is \"swf:tagList.N\" where N is the tag number from 0 to 4,\n inclusive.</p>\n </li>\n <li>\n <p>\n <code>taskList</code> – String constraint. The key is <code>swf:taskList.name</code>.</p>\n </li>\n <li>\n <p>\n <code>workflowType.name</code> – String constraint. The key is <code>swf:workflowType.name</code>.</p>\n </li>\n <li>\n <p>\n <code>workflowType.version</code> – String constraint. The key is <code>swf:workflowType.version</code>.</p>\n </li>\n </ul>\n </li>\n </ul>\n <p>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 <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>. For details and example IAM policies, see\n <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html\">Using IAM to Manage Access to Amazon SWF Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#StartChildWorkflowExecutionFailedCause": {
|
|||
|
"type": "string",
|
|||
|
"traits": {
|
|||
|
"smithy.api#enum": [
|
|||
|
{
|
|||
|
"value": "WORKFLOW_TYPE_DOES_NOT_EXIST",
|
|||
|
"name": "WORKFLOW_TYPE_DOES_NOT_EXIST"
|
|||
|
},
|
|||
|
{
|
|||
|
"value": "WORKFLOW_TYPE_DEPRECATED",
|
|||
|
"name": "WORKFLOW_TYPE_DEPRECATED"
|
|||
|
},
|
|||
|
{
|
|||
|
"value": "OPEN_CHILDREN_LIMIT_EXCEEDED",
|
|||
|
"name": "OPEN_CHILDREN_LIMIT_EXCEEDED"
|
|||
|
},
|
|||
|
{
|
|||
|
"value": "OPEN_WORKFLOWS_LIMIT_EXCEEDED",
|
|||
|
"name": "OPEN_WORKFLOWS_LIMIT_EXCEEDED"
|
|||
|
},
|
|||
|
{
|
|||
|
"value": "CHILD_CREATION_RATE_EXCEEDED",
|
|||
|
"name": "CHILD_CREATION_RATE_EXCEEDED"
|
|||
|
},
|
|||
|
{
|
|||
|
"value": "WORKFLOW_ALREADY_RUNNING",
|
|||
|
"name": "WORKFLOW_ALREADY_RUNNING"
|
|||
|
},
|
|||
|
{
|
|||
|
"value": "DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED",
|
|||
|
"name": "DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED"
|
|||
|
},
|
|||
|
{
|
|||
|
"value": "DEFAULT_TASK_LIST_UNDEFINED",
|
|||
|
"name": "DEFAULT_TASK_LIST_UNDEFINED"
|
|||
|
},
|
|||
|
{
|
|||
|
"value": "DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED",
|
|||
|
"name": "DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED"
|
|||
|
},
|
|||
|
{
|
|||
|
"value": "DEFAULT_CHILD_POLICY_UNDEFINED",
|
|||
|
"name": "DEFAULT_CHILD_POLICY_UNDEFINED"
|
|||
|
},
|
|||
|
{
|
|||
|
"value": "OPERATION_NOT_PERMITTED",
|
|||
|
"name": "OPERATION_NOT_PERMITTED"
|
|||
|
}
|
|||
|
]
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#StartChildWorkflowExecutionFailedEventAttributes": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"workflowType": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowType",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The workflow type provided in the <code>StartChildWorkflowExecution</code> \n <a>Decision</a> that failed.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"cause": {
|
|||
|
"target": "com.amazonaws.swf#StartChildWorkflowExecutionFailedCause",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.</p>\n <note>\n <p>When <code>cause</code> is set to <code>OPERATION_NOT_PERMITTED</code>, the decision fails because it lacks sufficient permissions. \n For details and example IAM policies, see <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html\">\n Using IAM to Manage Access to Amazon SWF Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>\n </note>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"workflowId": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The <code>workflowId</code> of the child workflow execution.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"initiatedEventId": {
|
|||
|
"target": "com.amazonaws.swf#EventId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>When the <code>cause</code> is <code>WORKFLOW_ALREADY_RUNNING</code>, <code>initiatedEventId</code> is the ID of the <code>StartChildWorkflowExecutionInitiated</code>\n event that corresponds to the <code>StartChildWorkflowExecution</code> \n <a>Decision</a> 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.</p>\n <p>When the <code>cause</code> isn't <code>WORKFLOW_ALREADY_RUNNING</code>, <code>initiatedEventId</code> is set to <code>0</code> because the \n <code>StartChildWorkflowExecutionInitiated</code> event doesn't exist.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"decisionTaskCompletedEventId": {
|
|||
|
"target": "com.amazonaws.swf#EventId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The ID of the <code>DecisionTaskCompleted</code> event corresponding to the decision task that resulted in the <code>StartChildWorkflowExecution</code> \n <a>Decision</a> to request this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"control": {
|
|||
|
"target": "com.amazonaws.swf#Data",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>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.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>StartChildWorkflowExecutionFailed</code> event.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#StartChildWorkflowExecutionInitiatedEventAttributes": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"workflowId": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The <code>workflowId</code> of the child workflow execution.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"workflowType": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowType",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The type of the child workflow execution.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"control": {
|
|||
|
"target": "com.amazonaws.swf#Data",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Data attached to the event that can be used by the decider in subsequent decision tasks. This data isn't sent to the activity.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"input": {
|
|||
|
"target": "com.amazonaws.swf#Data",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The inputs provided to the child workflow execution.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"executionStartToCloseTimeout": {
|
|||
|
"target": "com.amazonaws.swf#DurationInSecondsOptional",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>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.</p>\n <p>The duration is specified in seconds, an integer greater than or equal to <code>0</code>. You can use <code>NONE</code> to specify unlimited duration.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"taskList": {
|
|||
|
"target": "com.amazonaws.swf#TaskList",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The name of the task list used for the decision tasks of the child workflow execution.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"taskPriority": {
|
|||
|
"target": "com.amazonaws.swf#TaskPriority",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>\n The priority assigned for the decision tasks for this workflow execution.\n Valid values are integers that range from Java's <code>Integer.MIN_VALUE</code>\n (-2147483648) to <code>Integer.MAX_VALUE</code> (2147483647). Higher numbers indicate higher priority.</p>\n <p>For more information about setting task priority, see <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html\">Setting Task Priority</a> in the <i>Amazon SWF Developer Guide</i>.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"decisionTaskCompletedEventId": {
|
|||
|
"target": "com.amazonaws.swf#EventId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The ID of the <code>DecisionTaskCompleted</code> event corresponding to the decision task that resulted in the\n <code>StartChildWorkflowExecution</code> \n <a>Decision</a> to request this child workflow execution. This\n information can be useful for diagnosing problems by tracing back the cause of events.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"childPolicy": {
|
|||
|
"target": "com.amazonaws.swf#ChildPolicy",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The policy to use for the child workflow executions if this execution gets terminated by explicitly calling the\n <a>TerminateWorkflowExecution</a> action or due to an expired timeout.</p>\n <p>The supported child policies are:</p>\n <ul>\n <li>\n <p>\n <code>TERMINATE</code> – The child executions are terminated.</p>\n </li>\n <li>\n <p>\n <code>REQUEST_CANCEL</code> – A request to cancel is attempted for each child\n execution by recording a <code>WorkflowExecutionCancelRequested</code> event in its history. It is up to the decider\n to take appropriate actions when it receives an execution history with this event.</p>\n </li>\n <li>\n <p>\n <code>ABANDON</code> – No action is taken. The child executions continue to run.</p>\n </li>\n </ul>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"taskStartToCloseTimeout": {
|
|||
|
"target": "com.amazonaws.swf#DurationInSecondsOptional",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The maximum duration allowed for the decision tasks for this workflow execution.</p>\n <p>The duration is specified in seconds, an integer greater than or equal to <code>0</code>. You can use <code>NONE</code> to specify unlimited duration.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"tagList": {
|
|||
|
"target": "com.amazonaws.swf#TagList",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The list of tags to associated with the child workflow execution.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"lambdaRole": {
|
|||
|
"target": "com.amazonaws.swf#Arn",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The IAM role to attach to the child workflow execution.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>StartChildWorkflowExecutionInitiated</code> event.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#StartLambdaFunctionFailedCause": {
|
|||
|
"type": "string",
|
|||
|
"traits": {
|
|||
|
"smithy.api#enum": [
|
|||
|
{
|
|||
|
"value": "ASSUME_ROLE_FAILED",
|
|||
|
"name": "ASSUME_ROLE_FAILED"
|
|||
|
}
|
|||
|
]
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#StartLambdaFunctionFailedEventAttributes": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"scheduledEventId": {
|
|||
|
"target": "com.amazonaws.swf#EventId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The ID of the <code>ActivityTaskScheduled</code> 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.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"cause": {
|
|||
|
"target": "com.amazonaws.swf#StartLambdaFunctionFailedCause",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The cause of the failure. To help diagnose issues, use this information to trace back the chain of events leading up to this event.</p>\n <note>\n <p>If <code>cause</code> is set to <code>OPERATION_NOT_PERMITTED</code>, the decision\n failed because the IAM role attached to the execution lacked sufficient permissions. For\n details and example IAM policies, see <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/lambda-task.html\">Lambda Tasks</a> in the\n <i>Amazon SWF Developer Guide</i>.</p>\n </note>"
|
|||
|
}
|
|||
|
},
|
|||
|
"message": {
|
|||
|
"target": "com.amazonaws.swf#CauseMessage",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>A description that can help diagnose the cause of the fault.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>StartLambdaFunctionFailed</code> event. It isn't set\n for other event types.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#StartTimerDecisionAttributes": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"timerId": {
|
|||
|
"target": "com.amazonaws.swf#TimerId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>\n The unique ID of the timer.</p>\n <p>The specified string must not start or end with whitespace. It must not contain a <code>:</code>\n (colon), <code>/</code> (slash), <code>|</code> (vertical bar), or any control characters (<code>\\u0000-\\u001f</code> | <code>\\u007f-\\u009f</code>). Also, it must not contain the literal string <code>arn</code>.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"control": {
|
|||
|
"target": "com.amazonaws.swf#Data",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The data attached to the event that can be used by the decider in subsequent workflow tasks.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"startToFireTimeout": {
|
|||
|
"target": "com.amazonaws.swf#DurationInSeconds",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>\n The duration to wait before firing the timer.</p>\n <p>The duration is specified in seconds, an integer greater than or equal to <code>0</code>.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>StartTimer</code> decision.</p>\n <p>\n <b>Access Control</b>\n </p>\n <p>You can use IAM policies to control this decision's access to Amazon SWF resources as follows:</p>\n <ul>\n <li>\n <p>Use a <code>Resource</code> element with the domain name to limit the action to only\n specified domains.</p>\n </li>\n <li>\n <p>Use an <code>Action</code> element to allow or deny permission to call this action.</p>\n </li>\n <li>\n <p>You cannot use an IAM policy to constrain this action's parameters.</p>\n </li>\n </ul>\n <p>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 <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>. For details and example IAM policies, see\n <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html\">Using IAM to Manage Access to Amazon SWF Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#StartTimerFailedCause": {
|
|||
|
"type": "string",
|
|||
|
"traits": {
|
|||
|
"smithy.api#enum": [
|
|||
|
{
|
|||
|
"value": "TIMER_ID_ALREADY_IN_USE",
|
|||
|
"name": "TIMER_ID_ALREADY_IN_USE"
|
|||
|
},
|
|||
|
{
|
|||
|
"value": "OPEN_TIMERS_LIMIT_EXCEEDED",
|
|||
|
"name": "OPEN_TIMERS_LIMIT_EXCEEDED"
|
|||
|
},
|
|||
|
{
|
|||
|
"value": "TIMER_CREATION_RATE_EXCEEDED",
|
|||
|
"name": "TIMER_CREATION_RATE_EXCEEDED"
|
|||
|
},
|
|||
|
{
|
|||
|
"value": "OPERATION_NOT_PERMITTED",
|
|||
|
"name": "OPERATION_NOT_PERMITTED"
|
|||
|
}
|
|||
|
]
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#StartTimerFailedEventAttributes": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"timerId": {
|
|||
|
"target": "com.amazonaws.swf#TimerId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The timerId provided in the <code>StartTimer</code> decision that failed.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"cause": {
|
|||
|
"target": "com.amazonaws.swf#StartTimerFailedCause",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.</p>\n <note>\n <p>If <code>cause</code> is set to <code>OPERATION_NOT_PERMITTED</code>, the decision failed\n because it lacked sufficient permissions. For details and example IAM policies, see <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html\">Using IAM to Manage Access to Amazon SWF Workflows</a>\n in the <i>Amazon SWF Developer Guide</i>.</p>\n </note>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"decisionTaskCompletedEventId": {
|
|||
|
"target": "com.amazonaws.swf#EventId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The ID of the <code>DecisionTaskCompleted</code> event corresponding to the decision task that resulted in the\n <code>StartTimer</code> 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.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>StartTimerFailed</code> event.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#StartWorkflowExecution": {
|
|||
|
"type": "operation",
|
|||
|
"input": {
|
|||
|
"target": "com.amazonaws.swf#StartWorkflowExecutionInput"
|
|||
|
},
|
|||
|
"output": {
|
|||
|
"target": "com.amazonaws.swf#Run"
|
|||
|
},
|
|||
|
"errors": [
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#DefaultUndefinedFault"
|
|||
|
},
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#LimitExceededFault"
|
|||
|
},
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#OperationNotPermittedFault"
|
|||
|
},
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#TypeDeprecatedFault"
|
|||
|
},
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#UnknownResourceFault"
|
|||
|
},
|
|||
|
{
|
|||
|
"target": "com.amazonaws.swf#WorkflowExecutionAlreadyStartedFault"
|
|||
|
}
|
|||
|
],
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Starts an execution of the workflow type in the specified domain using the provided\n <code>workflowId</code> and input data.</p>\n\n <p>This action returns the newly started workflow execution.</p>\n\n <p>\n <b>Access Control</b>\n </p>\n <p>You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:</p>\n <ul>\n <li>\n <p>Use a <code>Resource</code> element with the domain name to limit the action to\n only specified domains.</p>\n </li>\n <li>\n <p>Use an <code>Action</code> element to allow or deny permission to call this\n action.</p>\n </li>\n <li>\n <p>Constrain the following parameters by using a <code>Condition</code> element with\n the appropriate keys.</p>\n <ul>\n <li>\n <p>\n <code>tagList.member.0</code>: The key is <code>swf:tagList.member.0</code>.</p>\n </li>\n <li>\n <p>\n <code>tagList.member.1</code>: The key is <code>swf:tagList.member.1</code>.</p>\n </li>\n <li>\n <p>\n <code>tagList.member.2</code>: The key is <code>swf:tagList.member.2</code>.</p>\n </li>\n <li>\n <p>\n <code>tagList.member.3</code>: The key is <code>swf:tagList.member.3</code>.</p>\n </li>\n <li>\n <p>\n <code>tagList.member.4</code>: The key is <code>swf:tagList.member.4</code>.</p>\n </li>\n <li>\n <p>\n <code>taskList</code>: String constraint. The key is\n <code>swf:taskList.name</code>.</p>\n </li>\n <li>\n <p>\n <code>workflowType.name</code>: String constraint. The key is\n <code>swf:workflowType.name</code>.</p>\n </li>\n <li>\n <p>\n <code>workflowType.version</code>: String constraint. The key is\n <code>swf:workflowType.version</code>.</p>\n </li>\n </ul>\n </li>\n </ul>\n <p>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 <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.\n For details and example IAM policies, see <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html\">Using IAM to Manage Access to Amazon SWF\n Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#StartWorkflowExecutionInput": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"domain": {
|
|||
|
"target": "com.amazonaws.swf#DomainName",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The name of the domain in which the workflow execution is created.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"workflowId": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>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 <i>restart</i> of a previous execution.\n You cannot have two open workflow executions with the same <code>workflowId</code> at the same\n time within the same domain.</p>\n \n <p>The specified string must not start or end with whitespace. It must not contain a\n <code>:</code> (colon), <code>/</code> (slash), <code>|</code> (vertical bar), or any\n control characters (<code>\\u0000-\\u001f</code> | <code>\\u007f-\\u009f</code>). Also, it must\n not <i>be</i> the literal string <code>arn</code>.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"workflowType": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowType",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The type of the workflow to start.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"taskList": {
|
|||
|
"target": "com.amazonaws.swf#TaskList",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The task list to use for the decision tasks generated for this workflow execution. This\n overrides the <code>defaultTaskList</code> specified when registering the workflow\n type.</p>\n <note>\n <p>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.</p>\n </note>\n \n <p>The specified string must not start or end with whitespace. It must not contain a\n <code>:</code> (colon), <code>/</code> (slash), <code>|</code> (vertical bar), or any\n control characters (<code>\\u0000-\\u001f</code> | <code>\\u007f-\\u009f</code>). Also, it must\n not <i>be</i> the literal string <code>arn</code>.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"taskPriority": {
|
|||
|
"target": "com.amazonaws.swf#TaskPriority",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>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 <code>Integer.MIN_VALUE</code> (-2147483648) to <code>Integer.MAX_VALUE</code> (2147483647).\n Higher numbers indicate higher priority.</p>\n <p>For more information about setting task priority, see <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html\">Setting Task\n Priority</a> in the <i>Amazon SWF Developer Guide</i>.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"input": {
|
|||
|
"target": "com.amazonaws.swf#Data",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The input for the workflow execution. This is a free form string which should be\n meaningful to the workflow you are starting. This <code>input</code> is made available to the\n new workflow execution in the <code>WorkflowExecutionStarted</code> history event.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"executionStartToCloseTimeout": {
|
|||
|
"target": "com.amazonaws.swf#DurationInSecondsOptional",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The total duration for this workflow execution. This overrides the\n defaultExecutionStartToCloseTimeout specified when registering the workflow type.</p>\n\n <p>The duration is specified in seconds; an integer greater than or equal to\n <code>0</code>. 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.</p>\n\n <note>\n <p>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.</p>\n </note>"
|
|||
|
}
|
|||
|
},
|
|||
|
"tagList": {
|
|||
|
"target": "com.amazonaws.swf#TagList",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The 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 <a>ListOpenWorkflowExecutions</a> or <a>ListClosedWorkflowExecutions</a> and\n specifying a <a>TagFilter</a>.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"taskStartToCloseTimeout": {
|
|||
|
"target": "com.amazonaws.swf#DurationInSecondsOptional",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Specifies the maximum duration of decision tasks for this workflow execution. This\n parameter overrides the <code>defaultTaskStartToCloseTimout</code> specified when registering\n the workflow type using <a>RegisterWorkflowType</a>.</p>\n <p>The duration is specified in seconds, an integer greater than or equal to\n <code>0</code>. You can use <code>NONE</code> to specify unlimited duration.</p>\n <note>\n <p>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.</p>\n </note>"
|
|||
|
}
|
|||
|
},
|
|||
|
"childPolicy": {
|
|||
|
"target": "com.amazonaws.swf#ChildPolicy",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If set, specifies the policy to use for the child workflow executions of this workflow\n execution if it is terminated, by calling the <a>TerminateWorkflowExecution</a>\n action explicitly or due to an expired timeout. This policy overrides the default child policy\n specified when registering the workflow type using <a>RegisterWorkflowType</a>.</p>\n <p>The supported child policies are:</p>\n <ul>\n <li>\n <p>\n <code>TERMINATE</code> – The child executions are terminated.</p>\n </li>\n <li>\n <p>\n <code>REQUEST_CANCEL</code> – A request to cancel is attempted for each child\n execution by recording a <code>WorkflowExecutionCancelRequested</code> 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.</p>\n </li>\n <li>\n <p>\n <code>ABANDON</code> – No action is taken. The child executions continue to\n run.</p>\n </li>\n </ul>\n <note>\n <p>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.</p>\n </note>"
|
|||
|
}
|
|||
|
},
|
|||
|
"lambdaRole": {
|
|||
|
"target": "com.amazonaws.swf#Arn",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The IAM role to attach to this workflow execution.</p>\n <note>\n <p>Executions 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 <code>ScheduleLambdaFunctionFailed</code> history event. For more information, see <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/lambda-task.html\">https://docs.aws.amazon.com/amazonswf/latest/developerguide/lambda-task.html</a> in the\n <i>Amazon SWF Developer Guide</i>.</p>\n </note>"
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#Tag": {
|
|||
|
"type": "string",
|
|||
|
"traits": {
|
|||
|
"smithy.api#length": {
|
|||
|
"min": 0,
|
|||
|
"max": 256
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#TagFilter": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"tag": {
|
|||
|
"target": "com.amazonaws.swf#Tag",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>\n Specifies the tag that must be associated with the execution for it to meet the filter\n criteria.</p>\n <p>Tags may only contain unicode letters, digits, whitespace, or these symbols: <code>_ . : / = + - @</code>.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Used to filter the workflow executions in visibility APIs based on a tag.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"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": "<p>Add a tag to a Amazon SWF domain.</p>\n <note>\n <p>Amazon SWF supports a maximum of 50 tags per resource.</p>\n </note>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#TagResourceInput": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"resourceArn": {
|
|||
|
"target": "com.amazonaws.swf#Arn",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) for the Amazon SWF domain.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"tags": {
|
|||
|
"target": "com.amazonaws.swf#ResourceTagList",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The list of tags to add to a domain. </p> \n <p>Tags may only contain unicode letters, digits, whitespace, or these symbols: <code>_ . : / = + - @</code>.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#TaskList": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"name": {
|
|||
|
"target": "com.amazonaws.swf#Name",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The name of the task list.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Represents a task list.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"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": "<p>Records a <code>WorkflowExecutionTerminated</code> 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.</p>\n\n <important>\n <p>If the identified workflow execution was in progress, it is terminated\n immediately.</p>\n </important>\n\n <note>\n <p>If a runId isn't specified, then the <code>WorkflowExecutionTerminated</code> event\n is recorded in the history of the current open workflow with the matching workflowId in the\n domain.</p>\n </note>\n\n <note>\n <p>You should consider using <a>RequestCancelWorkflowExecution</a> action\n instead because it allows the workflow to gracefully close while <a>TerminateWorkflowExecution</a> doesn't.</p>\n </note>\n\n <p>\n <b>Access Control</b>\n </p>\n <p>You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:</p>\n <ul>\n <li>\n <p>Use a <code>Resource</code> element with the domain name to limit the action to\n only specified domains.</p>\n </li>\n <li>\n <p>Use an <code>Action</code> element to allow or deny permission to call this\n action.</p>\n </li>\n <li>\n <p>You cannot use an IAM policy to constrain this action's parameters.</p>\n </li>\n </ul>\n <p>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 <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.\n For details and example IAM policies, see <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html\">Using IAM to Manage Access to Amazon SWF\n Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#TerminateWorkflowExecutionInput": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"domain": {
|
|||
|
"target": "com.amazonaws.swf#DomainName",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The domain of the workflow execution to terminate.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"workflowId": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The workflowId of the workflow execution to terminate.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"runId": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowRunIdOptional",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The runId of the workflow execution to terminate.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"reason": {
|
|||
|
"target": "com.amazonaws.swf#TerminateReason",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p> A descriptive reason for terminating the workflow execution.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"details": {
|
|||
|
"target": "com.amazonaws.swf#Data",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p> Details for terminating the workflow execution.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"childPolicy": {
|
|||
|
"target": "com.amazonaws.swf#ChildPolicy",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>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.</p>\n <p>The supported child policies are:</p>\n <ul>\n <li>\n <p>\n <code>TERMINATE</code> – The child executions are terminated.</p>\n </li>\n <li>\n <p>\n <code>REQUEST_CANCEL</code> – A request to cancel is attempted for each child\n execution by recording a <code>WorkflowExecutionCancelRequested</code> 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.</p>\n </li>\n <li>\n <p>\n <code>ABANDON</code> – No action is taken. The child executions continue to\n run.</p>\n </li>\n </ul>\n <note>\n <p>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.</p>\n </note>"
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#TimerCanceledEventAttributes": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"timerId": {
|
|||
|
"target": "com.amazonaws.swf#TimerId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The unique ID of the timer that was canceled.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"startedEventId": {
|
|||
|
"target": "com.amazonaws.swf#EventId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The ID of the <code>TimerStarted</code> 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.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"decisionTaskCompletedEventId": {
|
|||
|
"target": "com.amazonaws.swf#EventId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The ID of the <code>DecisionTaskCompleted</code> event corresponding to the decision task that resulted in the\n <code>CancelTimer</code> 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.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>\n Provides the details of the <code>TimerCanceled</code> event.\n </p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#TimerFiredEventAttributes": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"timerId": {
|
|||
|
"target": "com.amazonaws.swf#TimerId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The unique ID of the timer that fired.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"startedEventId": {
|
|||
|
"target": "com.amazonaws.swf#EventId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The ID of the <code>TimerStarted</code> 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.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>TimerFired</code> event.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#TimerId": {
|
|||
|
"type": "string",
|
|||
|
"traits": {
|
|||
|
"smithy.api#length": {
|
|||
|
"min": 1,
|
|||
|
"max": 256
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#TimerStartedEventAttributes": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"timerId": {
|
|||
|
"target": "com.amazonaws.swf#TimerId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The unique ID of the timer that was started.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"control": {
|
|||
|
"target": "com.amazonaws.swf#Data",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Data attached to the event that can be used by the decider in subsequent workflow tasks.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"startToFireTimeout": {
|
|||
|
"target": "com.amazonaws.swf#DurationInSeconds",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The duration of time after which the timer fires.</p>\n <p>The duration is specified in seconds, an integer greater than or equal to <code>0</code>.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"decisionTaskCompletedEventId": {
|
|||
|
"target": "com.amazonaws.swf#EventId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The ID of the <code>DecisionTaskCompleted</code> event corresponding to the decision task that resulted in the\n <code>StartTimer</code> 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.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>TimerStarted</code> event.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#Timestamp": {
|
|||
|
"type": "timestamp"
|
|||
|
},
|
|||
|
"com.amazonaws.swf#TooManyTagsFault": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"message": {
|
|||
|
"target": "com.amazonaws.swf#ErrorMessage"
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>You've exceeded the number of tags allowed for a domain.</p>",
|
|||
|
"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": "<p>A description that may help with diagnosing the cause of the fault.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>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.</p>",
|
|||
|
"smithy.api#error": "client"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#TypeDeprecatedFault": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"message": {
|
|||
|
"target": "com.amazonaws.swf#ErrorMessage",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>A description that may help with diagnosing the cause of the fault.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Returned when the specified activity or workflow type was already deprecated.</p>",
|
|||
|
"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": "<p>Undeprecates a previously deprecated <i>activity type</i>. After an activity type has\n been undeprecated, you can create new tasks of that activity type.</p>\n <note>\n <p>This operation is eventually consistent. The results are best effort and may not\n exactly reflect recent updates and changes.</p>\n </note>\n <p>\n <b>Access Control</b>\n </p>\n <p>You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:</p>\n <ul>\n <li>\n <p>Use a <code>Resource</code> element with the domain name to limit the action to\n only specified domains.</p>\n </li>\n <li>\n <p>Use an <code>Action</code> element to allow or deny permission to call this\n action.</p>\n </li>\n <li>\n <p>Constrain the following parameters by using a <code>Condition</code> element with\n the appropriate keys.</p>\n <ul>\n <li>\n <p>\n <code>activityType.name</code>: String constraint. The key is\n <code>swf:activityType.name</code>.</p>\n </li>\n <li>\n <p>\n <code>activityType.version</code>: String constraint. The key is\n <code>swf:activityType.version</code>.</p>\n </li>\n </ul>\n </li>\n </ul>\n <p>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 <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.\n For details and example IAM policies, see <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html\">Using IAM to Manage Access to Amazon SWF\n Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#UndeprecateActivityTypeInput": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"domain": {
|
|||
|
"target": "com.amazonaws.swf#DomainName",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The name of the domain of the deprecated activity type.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"activityType": {
|
|||
|
"target": "com.amazonaws.swf#ActivityType",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The activity type to undeprecate.</p>",
|
|||
|
"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": "<p>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.</p>\n <note>\n <p>This operation is eventually consistent. The results are best effort and may not\n exactly reflect recent updates and changes.</p>\n </note>\n <p>\n <b>Access Control</b>\n </p>\n <p>You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:</p>\n <ul>\n <li>\n <p>Use a <code>Resource</code> element with the domain name to limit the action to\n only specified domains.</p>\n </li>\n <li>\n <p>Use an <code>Action</code> element to allow or deny permission to call this\n action.</p>\n </li>\n <li>\n <p>You cannot use an IAM policy to constrain this action's parameters.</p>\n </li>\n </ul>\n <p>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 <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.\n For details and example IAM policies, see <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html\">Using IAM to Manage Access to Amazon SWF\n Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#UndeprecateDomainInput": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"name": {
|
|||
|
"target": "com.amazonaws.swf#DomainName",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The name of the domain of the deprecated workflow type.</p>",
|
|||
|
"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": "<p>Undeprecates a previously deprecated <i>workflow type</i>. After a workflow type has\n been undeprecated, you can create new executions of that type. </p>\n <note>\n <p>This operation is eventually consistent. The results are best effort and may not\n exactly reflect recent updates and changes.</p>\n </note>\n <p>\n <b>Access Control</b>\n </p>\n <p>You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:</p>\n <ul>\n <li>\n <p>Use a <code>Resource</code> element with the domain name to limit the action to\n only specified domains.</p>\n </li>\n <li>\n <p>Use an <code>Action</code> element to allow or deny permission to call this\n action.</p>\n </li>\n <li>\n <p>Constrain the following parameters by using a <code>Condition</code> element with\n the appropriate keys.</p>\n <ul>\n <li>\n <p>\n <code>workflowType.name</code>: String constraint. The key is\n <code>swf:workflowType.name</code>.</p>\n </li>\n <li>\n <p>\n <code>workflowType.version</code>: String constraint. The key is\n <code>swf:workflowType.version</code>.</p>\n </li>\n </ul>\n </li>\n </ul>\n <p>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 <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.\n For details and example IAM policies, see <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html\">Using IAM to Manage Access to Amazon SWF\n Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#UndeprecateWorkflowTypeInput": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"domain": {
|
|||
|
"target": "com.amazonaws.swf#DomainName",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The name of the domain of the deprecated workflow type.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"workflowType": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowType",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The name of the domain of the deprecated workflow type.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#UnknownResourceFault": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"message": {
|
|||
|
"target": "com.amazonaws.swf#ErrorMessage",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>A description that may help with diagnosing the cause of the fault.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>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.</p>",
|
|||
|
"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": "<p>Remove a tag from a Amazon SWF domain.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#UntagResourceInput": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"resourceArn": {
|
|||
|
"target": "com.amazonaws.swf#Arn",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) for the Amazon SWF domain.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"tagKeys": {
|
|||
|
"target": "com.amazonaws.swf#ResourceTagKeyList",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The list of tags to remove from the Amazon SWF domain.</p>",
|
|||
|
"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": "<p>The user defined identifier associated with the workflow execution.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"runId": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowRunId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>A system-generated unique identifier for the workflow execution.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Represents a workflow execution.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#WorkflowExecutionAlreadyStartedFault": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"message": {
|
|||
|
"target": "com.amazonaws.swf#ErrorMessage",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>A description that may help with diagnosing the cause of the fault.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Returned by <a>StartWorkflowExecution</a> when an open execution with the same workflowId is already running in\n the specified domain.</p>",
|
|||
|
"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": "<p>The external workflow execution for which the cancellation was requested.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"externalInitiatedEventId": {
|
|||
|
"target": "com.amazonaws.swf#EventId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The ID of the <code>RequestCancelExternalWorkflowExecutionInitiated</code> event corresponding to the\n <code>RequestCancelExternalWorkflowExecution</code> 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.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"cause": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowExecutionCancelRequestedCause",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>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.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>WorkflowExecutionCancelRequested</code> event.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#WorkflowExecutionCanceledEventAttributes": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"details": {
|
|||
|
"target": "com.amazonaws.swf#Data",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The details of the cancellation.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"decisionTaskCompletedEventId": {
|
|||
|
"target": "com.amazonaws.swf#EventId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The ID of the <code>DecisionTaskCompleted</code> event corresponding to the decision task that resulted in the\n <code>CancelWorkflowExecution</code> 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.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>WorkflowExecutionCanceled</code> event.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#WorkflowExecutionCompletedEventAttributes": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"result": {
|
|||
|
"target": "com.amazonaws.swf#Data",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The result produced by the workflow execution upon successful completion.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"decisionTaskCompletedEventId": {
|
|||
|
"target": "com.amazonaws.swf#EventId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The ID of the <code>DecisionTaskCompleted</code> event corresponding to the decision task that resulted in the\n <code>CompleteWorkflowExecution</code> 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.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>WorkflowExecutionCompleted</code> event.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#WorkflowExecutionConfiguration": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"taskStartToCloseTimeout": {
|
|||
|
"target": "com.amazonaws.swf#DurationInSeconds",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The maximum duration allowed for decision tasks for this workflow execution.</p>\n <p>The duration is specified in seconds, an integer greater than or equal to <code>0</code>. You can use <code>NONE</code> to specify unlimited duration.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"executionStartToCloseTimeout": {
|
|||
|
"target": "com.amazonaws.swf#DurationInSeconds",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The total duration for this workflow execution.</p>\n <p>The duration is specified in seconds, an integer greater than or equal to <code>0</code>. You can use <code>NONE</code> to specify unlimited duration.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"taskList": {
|
|||
|
"target": "com.amazonaws.swf#TaskList",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The task list used for the decision tasks generated for this workflow execution.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"taskPriority": {
|
|||
|
"target": "com.amazonaws.swf#TaskPriority",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The priority assigned to decision tasks for this workflow execution. Valid values are integers that range from Java's <code>Integer.MIN_VALUE</code>\n (-2147483648) to <code>Integer.MAX_VALUE</code> (2147483647). Higher numbers indicate higher priority.</p>\n <p>For more information about setting task priority, see <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html\">Setting Task Priority</a> in the <i>Amazon SWF Developer Guide</i>.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"childPolicy": {
|
|||
|
"target": "com.amazonaws.swf#ChildPolicy",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The policy to use for the child workflow executions if this workflow execution is terminated, by calling the\n <a>TerminateWorkflowExecution</a> action explicitly or due to an expired timeout.</p>\n <p>The supported child policies are:</p>\n <ul>\n <li>\n <p>\n <code>TERMINATE</code> – The child executions are terminated.</p>\n </li>\n <li>\n <p>\n <code>REQUEST_CANCEL</code> – A request to cancel is attempted for each child\n execution by recording a <code>WorkflowExecutionCancelRequested</code> event in its history. It is up to the decider\n to take appropriate actions when it receives an execution history with this event.</p>\n </li>\n <li>\n <p>\n <code>ABANDON</code> – No action is taken. The child executions continue to run.</p>\n </li>\n </ul>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"lambdaRole": {
|
|||
|
"target": "com.amazonaws.swf#Arn",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The IAM role attached to the child workflow execution.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>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.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#WorkflowExecutionContinuedAsNewEventAttributes": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"input": {
|
|||
|
"target": "com.amazonaws.swf#Data",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The input provided to the new workflow execution.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"decisionTaskCompletedEventId": {
|
|||
|
"target": "com.amazonaws.swf#EventId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The ID of the <code>DecisionTaskCompleted</code> event corresponding to the decision task that resulted in the\n <code>ContinueAsNewWorkflowExecution</code> 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.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"newExecutionRunId": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowRunId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The <code>runId</code> of the new workflow execution.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"executionStartToCloseTimeout": {
|
|||
|
"target": "com.amazonaws.swf#DurationInSecondsOptional",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The total duration allowed for the new workflow execution.</p>\n <p>The duration is specified in seconds, an integer greater than or equal to <code>0</code>. You can use <code>NONE</code> to specify unlimited duration.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"taskList": {
|
|||
|
"target": "com.amazonaws.swf#TaskList",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The task list to use for the decisions of the new (continued) workflow\n execution.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"taskPriority": {
|
|||
|
"target": "com.amazonaws.swf#TaskPriority",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The priority of the task to use for the decisions of the new (continued) workflow\n execution.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"taskStartToCloseTimeout": {
|
|||
|
"target": "com.amazonaws.swf#DurationInSecondsOptional",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The maximum duration of decision tasks for the new workflow execution.</p>\n <p>The duration is specified in seconds, an integer greater than or equal to <code>0</code>. You can use <code>NONE</code> to specify unlimited duration.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"childPolicy": {
|
|||
|
"target": "com.amazonaws.swf#ChildPolicy",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The policy to use for the child workflow executions of the new execution if it is terminated by calling the\n <a>TerminateWorkflowExecution</a> action explicitly or due to an expired timeout.</p>\n <p>The supported child policies are:</p>\n <ul>\n <li>\n <p>\n <code>TERMINATE</code> – The child executions are terminated.</p>\n </li>\n <li>\n <p>\n <code>REQUEST_CANCEL</code> – A request to cancel is attempted for each child\n execution by recording a <code>WorkflowExecutionCancelRequested</code> event in its history. It is up to the decider\n to take appropriate actions when it receives an execution history with this event.</p>\n </li>\n <li>\n <p>\n <code>ABANDON</code> – No action is taken. The child executions continue to run.</p>\n </li>\n </ul>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"tagList": {
|
|||
|
"target": "com.amazonaws.swf#TagList",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The list of tags associated with the new workflow execution.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"workflowType": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowType",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The workflow type of this execution.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"lambdaRole": {
|
|||
|
"target": "com.amazonaws.swf#Arn",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The IAM role to attach to the new (continued) workflow execution.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>WorkflowExecutionContinuedAsNew</code> event.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#WorkflowExecutionCount": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"count": {
|
|||
|
"target": "com.amazonaws.swf#Count",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The number of workflow executions.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"truncated": {
|
|||
|
"target": "com.amazonaws.swf#Truncated",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>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.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Contains the count of workflow executions returned from <a>CountOpenWorkflowExecutions</a> or\n <a>CountClosedWorkflowExecutions</a>\n </p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#WorkflowExecutionDetail": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"executionInfo": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowExecutionInfo",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Information about the workflow execution.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"executionConfiguration": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowExecutionConfiguration",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The configuration settings for this workflow execution including timeout values, tasklist etc.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"openCounts": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowExecutionOpenCounts",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The number of tasks for this workflow execution. This includes open and closed tasks of all types.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"latestActivityTaskTimestamp": {
|
|||
|
"target": "com.amazonaws.swf#Timestamp",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>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.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"latestExecutionContext": {
|
|||
|
"target": "com.amazonaws.swf#Data",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>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 <a>RespondDecisionTaskCompleted</a>.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Contains details about a workflow execution.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#WorkflowExecutionFailedEventAttributes": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"reason": {
|
|||
|
"target": "com.amazonaws.swf#FailureReason",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The descriptive reason provided for the failure.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"details": {
|
|||
|
"target": "com.amazonaws.swf#Data",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The details of the failure.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"decisionTaskCompletedEventId": {
|
|||
|
"target": "com.amazonaws.swf#EventId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The ID of the <code>DecisionTaskCompleted</code> event corresponding to the decision task that resulted in the\n <code>FailWorkflowExecution</code> 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.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>WorkflowExecutionFailed</code> event.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#WorkflowExecutionFilter": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"workflowId": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The workflowId to pass of match the criteria of this filter.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Used to filter the workflow executions in visibility APIs by their <code>workflowId</code>.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#WorkflowExecutionInfo": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"execution": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowExecution",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The workflow execution this information is about.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"workflowType": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowType",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The type of the workflow execution.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"startTimestamp": {
|
|||
|
"target": "com.amazonaws.swf#Timestamp",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The time when the execution was started.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"closeTimestamp": {
|
|||
|
"target": "com.amazonaws.swf#Timestamp",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The time when the workflow execution was closed. Set only if the execution status is CLOSED.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"executionStatus": {
|
|||
|
"target": "com.amazonaws.swf#ExecutionStatus",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The current status of the execution.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"closeStatus": {
|
|||
|
"target": "com.amazonaws.swf#CloseStatus",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If the execution status is closed then this specifies how the execution was closed:</p>\n <ul>\n <li>\n <p>\n <code>COMPLETED</code> – the execution was successfully completed.</p>\n </li>\n <li>\n <p>\n <code>CANCELED</code> – the execution was canceled.Cancellation allows the implementation to gracefully clean\n up before the execution is closed.</p>\n </li>\n <li>\n <p>\n <code>TERMINATED</code> – the execution was force terminated.</p>\n </li>\n <li>\n <p>\n <code>FAILED</code> – the execution failed to complete.</p>\n </li>\n <li>\n <p>\n <code>TIMED_OUT</code> – the execution did not complete in the alloted time and was automatically timed\n out.</p>\n </li>\n <li>\n <p>\n <code>CONTINUED_AS_NEW</code> – the execution is logically continued. This means the current execution was\n completed and a new execution was started to carry on the workflow.</p>\n </li>\n </ul>"
|
|||
|
}
|
|||
|
},
|
|||
|
"parent": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowExecution",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If this workflow execution is a child of another execution then contains the workflow execution that started this execution.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"tagList": {
|
|||
|
"target": "com.amazonaws.swf#TagList",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>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.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"cancelRequested": {
|
|||
|
"target": "com.amazonaws.swf#Canceled",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Set to true if a cancellation is requested for this workflow execution.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Contains information about a workflow execution.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"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": "<p>The list of workflow information structures.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"nextPageToken": {
|
|||
|
"target": "com.amazonaws.swf#PageToken",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If a <code>NextPageToken</code> 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 <code>nextPageToken</code>. Keep all other arguments unchanged.</p>\n <p>The configured <code>maximumPageSize</code> determines how many results can be returned in a single call.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Contains a paginated list of information about workflow executions.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#WorkflowExecutionOpenCounts": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"openActivityTasks": {
|
|||
|
"target": "com.amazonaws.swf#Count",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The count of activity tasks whose status is <code>OPEN</code>.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"openDecisionTasks": {
|
|||
|
"target": "com.amazonaws.swf#OpenDecisionTasksCount",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The count of decision tasks whose status is OPEN. A workflow execution can have at most one open decision task.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"openTimers": {
|
|||
|
"target": "com.amazonaws.swf#Count",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The count of timers started by this workflow execution that have not fired yet.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"openChildWorkflowExecutions": {
|
|||
|
"target": "com.amazonaws.swf#Count",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The count of child workflow executions whose status is <code>OPEN</code>.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"openLambdaFunctions": {
|
|||
|
"target": "com.amazonaws.swf#Count",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The count of Lambda tasks whose status is <code>OPEN</code>.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Contains the counts of open tasks, child workflow executions and timers for a workflow execution.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#WorkflowExecutionSignaledEventAttributes": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"signalName": {
|
|||
|
"target": "com.amazonaws.swf#SignalName",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The name of the signal received. The decider can use the signal name and inputs to determine how to the process the signal.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"input": {
|
|||
|
"target": "com.amazonaws.swf#Data",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The inputs provided with the signal. The decider can use the signal name and inputs to determine how to process the signal.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"externalWorkflowExecution": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowExecution",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The workflow execution that sent the signal. This is set only of the signal was sent by another workflow execution.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"externalInitiatedEventId": {
|
|||
|
"target": "com.amazonaws.swf#EventId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The ID of the <code>SignalExternalWorkflowExecutionInitiated</code> event corresponding to the\n <code>SignalExternalWorkflow</code> 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.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>WorkflowExecutionSignaled</code> event.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#WorkflowExecutionStartedEventAttributes": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"input": {
|
|||
|
"target": "com.amazonaws.swf#Data",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The input provided to the workflow execution.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"executionStartToCloseTimeout": {
|
|||
|
"target": "com.amazonaws.swf#DurationInSecondsOptional",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The maximum duration for this workflow execution.</p>\n <p>The duration is specified in seconds, an integer greater than or equal to <code>0</code>. You can use <code>NONE</code> to specify unlimited duration.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"taskStartToCloseTimeout": {
|
|||
|
"target": "com.amazonaws.swf#DurationInSecondsOptional",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The maximum duration of decision tasks for this workflow type.</p>\n <p>The duration is specified in seconds, an integer greater than or equal to <code>0</code>. You can use <code>NONE</code> to specify unlimited duration.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"childPolicy": {
|
|||
|
"target": "com.amazonaws.swf#ChildPolicy",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The policy to use for the child workflow executions if this workflow execution is terminated, by calling the\n <a>TerminateWorkflowExecution</a> action explicitly or due to an expired timeout.</p>\n <p>The supported child policies are:</p>\n <ul>\n <li>\n <p>\n <code>TERMINATE</code> – The child executions are terminated.</p>\n </li>\n <li>\n <p>\n <code>REQUEST_CANCEL</code> – A request to cancel is attempted for each child\n execution by recording a <code>WorkflowExecutionCancelRequested</code> event in its history. It is up to the decider\n to take appropriate actions when it receives an execution history with this event.</p>\n </li>\n <li>\n <p>\n <code>ABANDON</code> – No action is taken. The child executions continue to run.</p>\n </li>\n </ul>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"taskList": {
|
|||
|
"target": "com.amazonaws.swf#TaskList",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The name of the task list for scheduling the decision tasks for this workflow execution.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"taskPriority": {
|
|||
|
"target": "com.amazonaws.swf#TaskPriority",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The priority of the decision tasks in the workflow execution.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"workflowType": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowType",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The workflow type of this execution.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"tagList": {
|
|||
|
"target": "com.amazonaws.swf#TagList",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The list of tags associated with this workflow execution. An execution can have up to 5 tags.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"continuedExecutionRunId": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowRunIdOptional",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If this workflow execution was started due to a <code>ContinueAsNewWorkflowExecution</code> decision, then it\n contains the <code>runId</code> of the previous workflow execution that was closed and continued as this\n execution.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"parentWorkflowExecution": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowExecution",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The source workflow execution that started this workflow execution. The member isn't set if the workflow execution was not started by a workflow.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"parentInitiatedEventId": {
|
|||
|
"target": "com.amazonaws.swf#EventId",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The ID of the <code>StartChildWorkflowExecutionInitiated</code> event corresponding to the\n <code>StartChildWorkflowExecution</code> \n <a>Decision</a> 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.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"lambdaRole": {
|
|||
|
"target": "com.amazonaws.swf#Arn",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The IAM role attached to the workflow execution.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides details of <code>WorkflowExecutionStarted</code> event.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#WorkflowExecutionTerminatedCause": {
|
|||
|
"type": "string",
|
|||
|
"traits": {
|
|||
|
"smithy.api#enum": [
|
|||
|
{
|
|||
|
"value": "CHILD_POLICY_APPLIED",
|
|||
|
"name": "CHILD_POLICY_APPLIED"
|
|||
|
},
|
|||
|
{
|
|||
|
"value": "EVENT_LIMIT_EXCEEDED",
|
|||
|
"name": "EVENT_LIMIT_EXCEEDED"
|
|||
|
},
|
|||
|
{
|
|||
|
"value": "OPERATOR_INITIATED",
|
|||
|
"name": "OPERATOR_INITIATED"
|
|||
|
}
|
|||
|
]
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#WorkflowExecutionTerminatedEventAttributes": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"reason": {
|
|||
|
"target": "com.amazonaws.swf#TerminateReason",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The reason provided for the termination.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"details": {
|
|||
|
"target": "com.amazonaws.swf#Data",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The details provided for the termination.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"childPolicy": {
|
|||
|
"target": "com.amazonaws.swf#ChildPolicy",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The policy used for the child workflow executions of this workflow execution.</p>\n <p>The supported child policies are:</p>\n <ul>\n <li>\n <p>\n <code>TERMINATE</code> – The child executions are terminated.</p>\n </li>\n <li>\n <p>\n <code>REQUEST_CANCEL</code> – A request to cancel is attempted for each child\n execution by recording a <code>WorkflowExecutionCancelRequested</code> event in its history. It is up to the decider\n to take appropriate actions when it receives an execution history with this event.</p>\n </li>\n <li>\n <p>\n <code>ABANDON</code> – No action is taken. The child executions continue to run.</p>\n </li>\n </ul>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"cause": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowExecutionTerminatedCause",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>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.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>WorkflowExecutionTerminated</code> event.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#WorkflowExecutionTimedOutEventAttributes": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"timeoutType": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowExecutionTimeoutType",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The type of timeout that caused this event.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"childPolicy": {
|
|||
|
"target": "com.amazonaws.swf#ChildPolicy",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The policy used for the child workflow executions of this workflow execution.</p>\n <p>The supported child policies are:</p>\n <ul>\n <li>\n <p>\n <code>TERMINATE</code> – The child executions are terminated.</p>\n </li>\n <li>\n <p>\n <code>REQUEST_CANCEL</code> – A request to cancel is attempted for each child\n execution by recording a <code>WorkflowExecutionCancelRequested</code> event in its history. It is up to the decider\n to take appropriate actions when it receives an execution history with this event.</p>\n </li>\n <li>\n <p>\n <code>ABANDON</code> – No action is taken. The child executions continue to run.</p>\n </li>\n </ul>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Provides the details of the <code>WorkflowExecutionTimedOut</code> event.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#WorkflowExecutionTimeoutType": {
|
|||
|
"type": "string",
|
|||
|
"traits": {
|
|||
|
"smithy.api#enum": [
|
|||
|
{
|
|||
|
"value": "START_TO_CLOSE",
|
|||
|
"name": "START_TO_CLOSE"
|
|||
|
}
|
|||
|
]
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#WorkflowId": {
|
|||
|
"type": "string",
|
|||
|
"traits": {
|
|||
|
"smithy.api#length": {
|
|||
|
"min": 1,
|
|||
|
"max": 256
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#WorkflowRunId": {
|
|||
|
"type": "string",
|
|||
|
"traits": {
|
|||
|
"smithy.api#length": {
|
|||
|
"min": 1,
|
|||
|
"max": 64
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#WorkflowRunIdOptional": {
|
|||
|
"type": "string",
|
|||
|
"traits": {
|
|||
|
"smithy.api#length": {
|
|||
|
"min": 0,
|
|||
|
"max": 64
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#WorkflowType": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"name": {
|
|||
|
"target": "com.amazonaws.swf#Name",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>\n The name of the workflow type.</p>\n <note>\n <p>The combination of workflow type name and version must be unique with in a domain.</p>\n </note>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"version": {
|
|||
|
"target": "com.amazonaws.swf#Version",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>\n The version of the workflow type.</p>\n <note>\n <p>The combination of workflow type name and version must be unique with in a domain.</p>\n </note>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Represents a workflow type.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#WorkflowTypeConfiguration": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"defaultTaskStartToCloseTimeout": {
|
|||
|
"target": "com.amazonaws.swf#DurationInSecondsOptional",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>\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 <a>StartWorkflowExecution</a> action or the <code>StartChildWorkflowExecution</code> \n <a>Decision</a>.</p>\n <p>The duration is specified in seconds, an integer greater than or equal to <code>0</code>. You can use <code>NONE</code> to specify unlimited duration.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"defaultExecutionStartToCloseTimeout": {
|
|||
|
"target": "com.amazonaws.swf#DurationInSecondsOptional",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>\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 <a>StartWorkflowExecution</a> action or the <code>StartChildWorkflowExecution</code> \n <a>Decision</a>.</p>\n <p>The duration is specified in seconds, an integer greater than or equal to <code>0</code>. You can use <code>NONE</code> to specify unlimited duration.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"defaultTaskList": {
|
|||
|
"target": "com.amazonaws.swf#TaskList",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>\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 <a>StartWorkflowExecution</a> action or the <code>StartChildWorkflowExecution</code>\n <a>Decision</a>.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"defaultTaskPriority": {
|
|||
|
"target": "com.amazonaws.swf#TaskPriority",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>\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 <a>StartWorkflowExecution</a> action or the <code>StartChildWorkflowExecution</code> decision.</p>\n <p>Valid values are integers that range from Java's <code>Integer.MIN_VALUE</code>\n (-2147483648) to <code>Integer.MAX_VALUE</code> (2147483647). Higher numbers indicate higher priority.</p>\n <p>For more information about setting task priority, see <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html\">Setting Task Priority</a> in the <i>Amazon SWF Developer Guide</i>.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"defaultChildPolicy": {
|
|||
|
"target": "com.amazonaws.swf#ChildPolicy",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>\n The default policy to use for the child workflow executions when a workflow execution of this\n type is terminated, by calling the <a>TerminateWorkflowExecution</a> action explicitly or due to an expired\n timeout. This default can be overridden when starting a workflow execution using the <a>StartWorkflowExecution</a>\n action or the <code>StartChildWorkflowExecution</code> \n <a>Decision</a>.</p>\n <p>The supported child policies are:</p>\n <ul>\n <li>\n <p>\n <code>TERMINATE</code> – The child executions are terminated.</p>\n </li>\n <li>\n <p>\n <code>REQUEST_CANCEL</code> – A request to cancel is attempted for each child\n execution by recording a <code>WorkflowExecutionCancelRequested</code> event in its history. It is up to the decider\n to take appropriate actions when it receives an execution history with this event.</p>\n </li>\n <li>\n <p>\n <code>ABANDON</code> – No action is taken. The child executions continue to run.</p>\n </li>\n </ul>"
|
|||
|
}
|
|||
|
},
|
|||
|
"defaultLambdaRole": {
|
|||
|
"target": "com.amazonaws.swf#Arn",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The default IAM role attached to this workflow type.</p>\n <note>\n <p>Executions 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 <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/lambda-task.html\">https://docs.aws.amazon.com/amazonswf/latest/developerguide/lambda-task.html</a> in the\n <i>Amazon SWF Developer Guide</i>.</p>\n </note>"
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The configuration settings of a workflow type.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#WorkflowTypeDetail": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"typeInfo": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowTypeInfo",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>General information about the workflow type.</p>\n <p>The status of the workflow type (returned in the WorkflowTypeInfo structure) can be one of the following.</p>\n <ul>\n <li>\n <p>\n <code>REGISTERED</code> – The type is registered and available. Workers supporting this type should be running.</p>\n </li>\n <li>\n <p>\n <code>DEPRECATED</code> – The type was deprecated using <a>DeprecateWorkflowType</a>, but is still in use. You should\n keep workers supporting this type running. You cannot create new workflow executions of this type.</p>\n </li>\n </ul>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"configuration": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowTypeConfiguration",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Configuration settings of the workflow type registered through <a>RegisterWorkflowType</a>\n </p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Contains details about a workflow type.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#WorkflowTypeFilter": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"name": {
|
|||
|
"target": "com.amazonaws.swf#Name",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>\n Name of the workflow type.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"version": {
|
|||
|
"target": "com.amazonaws.swf#VersionOptional",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Version of the workflow type.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Used to filter workflow execution query results by type. Each parameter, if specified, defines a rule that must be satisfied by each returned result.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"com.amazonaws.swf#WorkflowTypeInfo": {
|
|||
|
"type": "structure",
|
|||
|
"members": {
|
|||
|
"workflowType": {
|
|||
|
"target": "com.amazonaws.swf#WorkflowType",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The workflow type this information is about.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"status": {
|
|||
|
"target": "com.amazonaws.swf#RegistrationStatus",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The current status of the workflow type.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"description": {
|
|||
|
"target": "com.amazonaws.swf#Description",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The description of the type registered through <a>RegisterWorkflowType</a>.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"creationDate": {
|
|||
|
"target": "com.amazonaws.swf#Timestamp",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>The date when this type was registered.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"deprecationDate": {
|
|||
|
"target": "com.amazonaws.swf#Timestamp",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If the type is in deprecated state, then it is set to the date when the type was deprecated.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Contains information about a workflow type.</p>"
|
|||
|
}
|
|||
|
},
|
|||
|
"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": "<p>The list of workflow type information.</p>",
|
|||
|
"smithy.api#required": {}
|
|||
|
}
|
|||
|
},
|
|||
|
"nextPageToken": {
|
|||
|
"target": "com.amazonaws.swf#PageToken",
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>If a <code>NextPageToken</code> 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 <code>nextPageToken</code>. Keep all other arguments unchanged.</p>\n <p>The configured <code>maximumPageSize</code> determines how many results can be returned in a single call.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"traits": {
|
|||
|
"smithy.api#documentation": "<p>Contains a paginated list of information structures about workflow types.</p>"
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
}
|