{ "smithy": "1.0", "metadata": { "suppressions": [ { "id": "HttpMethodSemantics", "namespace": "*" }, { "id": "HttpResponseCodeSemantics", "namespace": "*" }, { "id": "PaginatedTrait", "namespace": "*" }, { "id": "HttpHeaderTrait", "namespace": "*" }, { "id": "HttpUriConflict", "namespace": "*" }, { "id": "Service", "namespace": "*" } ] }, "shapes": { "com.amazonaws.swf#ActivityId": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 256 } } }, "com.amazonaws.swf#ActivityTask": { "type": "structure", "members": { "taskToken": { "target": "com.amazonaws.swf#TaskToken", "traits": { "smithy.api#documentation": "

The opaque string used as a handle on the task. This token is used by workers to communicate progress and response information back to the system about the task.

", "smithy.api#required": {} } }, "activityId": { "target": "com.amazonaws.swf#ActivityId", "traits": { "smithy.api#documentation": "

The unique ID of the task.

", "smithy.api#required": {} } }, "startedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "

The ID of the ActivityTaskStarted event recorded in the history.

", "smithy.api#required": {} } }, "workflowExecution": { "target": "com.amazonaws.swf#WorkflowExecution", "traits": { "smithy.api#documentation": "

The workflow execution that started this activity task.

", "smithy.api#required": {} } }, "activityType": { "target": "com.amazonaws.swf#ActivityType", "traits": { "smithy.api#documentation": "

The type of this activity task.

", "smithy.api#required": {} } }, "input": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "

The inputs provided when the activity task was scheduled. The form of the input is user defined and should be meaningful to the activity implementation.

" } } }, "traits": { "smithy.api#documentation": "

Unit of work sent to an activity worker.

" } }, "com.amazonaws.swf#ActivityTaskCancelRequestedEventAttributes": { "type": "structure", "members": { "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n RequestCancelActivityTask decision for this cancellation request. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

", "smithy.api#required": {} } }, "activityId": { "target": "com.amazonaws.swf#ActivityId", "traits": { "smithy.api#documentation": "

The unique ID of the task.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Provides the details of the ActivityTaskCancelRequested event.

" } }, "com.amazonaws.swf#ActivityTaskCanceledEventAttributes": { "type": "structure", "members": { "details": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "

Details of the cancellation.

" } }, "scheduledEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "

The ID of the ActivityTaskScheduled event that was recorded when this activity task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

", "smithy.api#required": {} } }, "startedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "

The ID of the ActivityTaskStarted event recorded when this activity task was started. This\n information can be useful for diagnosing problems by tracing back the chain of events leading up to this\n event.

", "smithy.api#required": {} } }, "latestCancelRequestedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "

If set, contains the ID of the last ActivityTaskCancelRequested event recorded for this activity task. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

" } } }, "traits": { "smithy.api#documentation": "

Provides the details of the ActivityTaskCanceled event.

" } }, "com.amazonaws.swf#ActivityTaskCompletedEventAttributes": { "type": "structure", "members": { "result": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "

The results of the activity task.

" } }, "scheduledEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "

The ID of the ActivityTaskScheduled event that was recorded when this activity task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

", "smithy.api#required": {} } }, "startedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "

The ID of the ActivityTaskStarted event recorded when this activity task was started. This\n information can be useful for diagnosing problems by tracing back the chain of events leading up to this\n event.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Provides the details of the ActivityTaskCompleted event.

" } }, "com.amazonaws.swf#ActivityTaskFailedEventAttributes": { "type": "structure", "members": { "reason": { "target": "com.amazonaws.swf#FailureReason", "traits": { "smithy.api#documentation": "

The reason provided for the failure.

" } }, "details": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "

The details of the failure.

" } }, "scheduledEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "

The ID of the ActivityTaskScheduled event that was recorded when this activity task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

", "smithy.api#required": {} } }, "startedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "

The ID of the ActivityTaskStarted event recorded when this activity task was started. This\n information can be useful for diagnosing problems by tracing back the chain of events leading up to this\n event.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Provides the details of the ActivityTaskFailed event.

" } }, "com.amazonaws.swf#ActivityTaskScheduledEventAttributes": { "type": "structure", "members": { "activityType": { "target": "com.amazonaws.swf#ActivityType", "traits": { "smithy.api#documentation": "

The type of the activity task.

", "smithy.api#required": {} } }, "activityId": { "target": "com.amazonaws.swf#ActivityId", "traits": { "smithy.api#documentation": "

The unique ID of the activity task.

", "smithy.api#required": {} } }, "input": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "

The input provided to the activity task.

" } }, "control": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "

Data attached to the event that can be used by the decider in subsequent workflow tasks. This data isn't sent to the activity.

" } }, "scheduleToStartTimeout": { "target": "com.amazonaws.swf#DurationInSecondsOptional", "traits": { "smithy.api#documentation": "

The maximum amount of time the activity task can wait to be assigned to a worker.

" } }, "scheduleToCloseTimeout": { "target": "com.amazonaws.swf#DurationInSecondsOptional", "traits": { "smithy.api#documentation": "

The maximum amount of time for this activity task.

" } }, "startToCloseTimeout": { "target": "com.amazonaws.swf#DurationInSecondsOptional", "traits": { "smithy.api#documentation": "

The maximum amount of time a worker may take to process the activity task.

" } }, "taskList": { "target": "com.amazonaws.swf#TaskList", "traits": { "smithy.api#documentation": "

The task list in which the activity task has been scheduled.

", "smithy.api#required": {} } }, "taskPriority": { "target": "com.amazonaws.swf#TaskPriority", "traits": { "smithy.api#documentation": "

\n The priority to assign to the scheduled activity task. If set, this overrides any default\n priority value that was assigned when the activity type was registered.

\n

Valid values are integers that range from Java's Integer.MIN_VALUE\n (-2147483648) to Integer.MAX_VALUE (2147483647). Higher numbers indicate higher priority.

\n

For more information about setting task priority, see Setting Task Priority in the Amazon SWF Developer Guide.

" } }, "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "

The ID of the DecisionTaskCompleted event corresponding to the decision that resulted in the scheduling of this activity task. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

", "smithy.api#required": {} } }, "heartbeatTimeout": { "target": "com.amazonaws.swf#DurationInSecondsOptional", "traits": { "smithy.api#documentation": "

The maximum time before which the worker processing this task must report progress by calling\n RecordActivityTaskHeartbeat. If the timeout is exceeded, the activity task is automatically timed out. If\n the worker subsequently attempts to record a heartbeat or return a result, it is ignored.

" } } }, "traits": { "smithy.api#documentation": "

Provides the details of the ActivityTaskScheduled event.

" } }, "com.amazonaws.swf#ActivityTaskStartedEventAttributes": { "type": "structure", "members": { "identity": { "target": "com.amazonaws.swf#Identity", "traits": { "smithy.api#documentation": "

Identity of the worker that was assigned this task. This aids diagnostics when problems arise. The form of this identity is user defined.

" } }, "scheduledEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "

The ID of the ActivityTaskScheduled event that was recorded when this activity task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Provides the details of the ActivityTaskStarted event.

" } }, "com.amazonaws.swf#ActivityTaskStatus": { "type": "structure", "members": { "cancelRequested": { "target": "com.amazonaws.swf#Canceled", "traits": { "smithy.api#documentation": "

Set to true if cancellation of the task is requested.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Status information about an activity task.

" } }, "com.amazonaws.swf#ActivityTaskTimedOutEventAttributes": { "type": "structure", "members": { "timeoutType": { "target": "com.amazonaws.swf#ActivityTaskTimeoutType", "traits": { "smithy.api#documentation": "

The type of the timeout that caused this event.

", "smithy.api#required": {} } }, "scheduledEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "

The ID of the ActivityTaskScheduled event that was recorded when this activity task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

", "smithy.api#required": {} } }, "startedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "

The ID of the ActivityTaskStarted event recorded when this activity task was started. This\n information can be useful for diagnosing problems by tracing back the chain of events leading up to this\n event.

", "smithy.api#required": {} } }, "details": { "target": "com.amazonaws.swf#LimitedData", "traits": { "smithy.api#documentation": "

Contains the content of the details parameter for the last call made by the activity to\n RecordActivityTaskHeartbeat.

" } } }, "traits": { "smithy.api#documentation": "

Provides the details of the ActivityTaskTimedOut event.

" } }, "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": "

The name of this activity.

\n \n

The combination of activity type name and version must be unique within a domain.

\n
", "smithy.api#required": {} } }, "version": { "target": "com.amazonaws.swf#Version", "traits": { "smithy.api#documentation": "

The version of this activity.

\n \n

The combination of activity type name and version must be unique with in a domain.

\n
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Represents an activity type.

" } }, "com.amazonaws.swf#ActivityTypeConfiguration": { "type": "structure", "members": { "defaultTaskStartToCloseTimeout": { "target": "com.amazonaws.swf#DurationInSecondsOptional", "traits": { "smithy.api#documentation": "

\n The default maximum duration for tasks of an activity type specified when registering the activity\n type. You can override this default when scheduling a task through the ScheduleActivityTask\n Decision.

\n

The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

" } }, "defaultTaskHeartbeatTimeout": { "target": "com.amazonaws.swf#DurationInSecondsOptional", "traits": { "smithy.api#documentation": "

\n The default maximum time, in seconds, before which a worker processing a task must report\n progress by calling RecordActivityTaskHeartbeat.

\n

You can specify this value only when registering an activity type. The registered default value can be\n overridden when you schedule a task through the ScheduleActivityTask \n Decision. If the activity\n worker subsequently attempts to record a heartbeat or returns a result, the activity worker receives an\n UnknownResource fault. In this case, Amazon SWF no longer considers the activity task to be valid;\n the activity worker should clean up the activity task.

\n

The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

" } }, "defaultTaskList": { "target": "com.amazonaws.swf#TaskList", "traits": { "smithy.api#documentation": "

\n The default task list specified for this activity type at registration. This default is used if\n a task list isn't provided when a task is scheduled through the ScheduleActivityTask\n Decision. You can override the default registered task list when scheduling a task through the\n ScheduleActivityTask \n Decision.

" } }, "defaultTaskPriority": { "target": "com.amazonaws.swf#TaskPriority", "traits": { "smithy.api#documentation": "

\n The default task priority for tasks of this activity type, specified at registration. If not\n set, then 0 is used as the default priority. This default can be overridden when scheduling an activity\n task.

\n

Valid values are integers that range from Java's Integer.MIN_VALUE\n (-2147483648) to Integer.MAX_VALUE (2147483647). Higher numbers indicate higher priority.

\n

For more information about setting task priority, see Setting Task Priority in the Amazon SWF Developer Guide.

" } }, "defaultTaskScheduleToStartTimeout": { "target": "com.amazonaws.swf#DurationInSecondsOptional", "traits": { "smithy.api#documentation": "

\n The default maximum duration, specified when registering the activity type, that a task of an\n activity type can wait before being assigned to a worker. You can override this default when scheduling a task\n through the ScheduleActivityTask \n Decision.

\n

The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

" } }, "defaultTaskScheduleToCloseTimeout": { "target": "com.amazonaws.swf#DurationInSecondsOptional", "traits": { "smithy.api#documentation": "

\n The default maximum duration, specified when registering the activity type, for tasks of this activity\n type. You can override this default when scheduling a task through the ScheduleActivityTask\n Decision.

\n

The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

" } } }, "traits": { "smithy.api#documentation": "

Configuration settings registered with the activity type.

" } }, "com.amazonaws.swf#ActivityTypeDetail": { "type": "structure", "members": { "typeInfo": { "target": "com.amazonaws.swf#ActivityTypeInfo", "traits": { "smithy.api#documentation": "

General information about the activity type.

\n

The status of activity type (returned in the ActivityTypeInfo structure) can be one of the following.

\n ", "smithy.api#required": {} } }, "configuration": { "target": "com.amazonaws.swf#ActivityTypeConfiguration", "traits": { "smithy.api#documentation": "

The configuration settings registered with the activity type.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Detailed information about an activity type.

" } }, "com.amazonaws.swf#ActivityTypeInfo": { "type": "structure", "members": { "activityType": { "target": "com.amazonaws.swf#ActivityType", "traits": { "smithy.api#documentation": "

The ActivityType type structure representing the activity type.

", "smithy.api#required": {} } }, "status": { "target": "com.amazonaws.swf#RegistrationStatus", "traits": { "smithy.api#documentation": "

The current status of the activity type.

", "smithy.api#required": {} } }, "description": { "target": "com.amazonaws.swf#Description", "traits": { "smithy.api#documentation": "

The description of the activity type provided in RegisterActivityType.

" } }, "creationDate": { "target": "com.amazonaws.swf#Timestamp", "traits": { "smithy.api#documentation": "

The date and time this activity type was created through RegisterActivityType.

", "smithy.api#required": {} } }, "deprecationDate": { "target": "com.amazonaws.swf#Timestamp", "traits": { "smithy.api#documentation": "

If DEPRECATED, the date and time DeprecateActivityType was called.

" } } }, "traits": { "smithy.api#documentation": "

Detailed information about an activity type.

" } }, "com.amazonaws.swf#ActivityTypeInfoList": { "type": "list", "member": { "target": "com.amazonaws.swf#ActivityTypeInfo" } }, "com.amazonaws.swf#ActivityTypeInfos": { "type": "structure", "members": { "typeInfos": { "target": "com.amazonaws.swf#ActivityTypeInfoList", "traits": { "smithy.api#documentation": "

List of activity type information.

", "smithy.api#required": {} } }, "nextPageToken": { "target": "com.amazonaws.swf#PageToken", "traits": { "smithy.api#documentation": "

If a NextPageToken was returned by a previous call, there are more\n results available. To retrieve the next page of results, make the call again using the returned token in\n nextPageToken. Keep all other arguments unchanged.

\n

The configured maximumPageSize determines how many results can be returned in a single call.

" } } }, "traits": { "smithy.api#documentation": "

Contains a paginated list of activity type information structures.

" } }, "com.amazonaws.swf#Arn": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 1600 } } }, "com.amazonaws.swf#CancelTimerDecisionAttributes": { "type": "structure", "members": { "timerId": { "target": "com.amazonaws.swf#TimerId", "traits": { "smithy.api#documentation": "

\n The unique ID of the timer to cancel.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Provides the details of the CancelTimer decision.

\n

\n Access Control\n

\n

You can use IAM policies to control this decision's access to Amazon SWF resources as follows:

\n \n

If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated event attribute's\n cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see\n Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

" } }, "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": "

The timerId provided in the CancelTimer decision that failed.

", "smithy.api#required": {} } }, "cause": { "target": "com.amazonaws.swf#CancelTimerFailedCause", "traits": { "smithy.api#documentation": "

The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.

\n \n

If cause is set to OPERATION_NOT_PERMITTED, the decision failed\n because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows\n in the Amazon SWF Developer Guide.

\n
", "smithy.api#required": {} } }, "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the CancelTimer decision to cancel this timer. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Provides the details of the CancelTimerFailed event.

" } }, "com.amazonaws.swf#CancelWorkflowExecutionDecisionAttributes": { "type": "structure", "members": { "details": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "

\n Details of the cancellation.

" } } }, "traits": { "smithy.api#documentation": "

Provides the details of the CancelWorkflowExecution decision.

\n

\n Access Control\n

\n

You can use IAM policies to control this decision's access to Amazon SWF resources as follows:

\n \n

If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated event attribute's\n cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see\n Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

" } }, "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": "

The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.

\n \n

If cause is set to OPERATION_NOT_PERMITTED, the decision failed\n because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows\n in the Amazon SWF Developer Guide.

\n
", "smithy.api#required": {} } }, "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the CancelWorkflowExecution decision for this cancellation request. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Provides the details of the CancelWorkflowExecutionFailed event.

" } }, "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": "

The child workflow execution that was canceled.

", "smithy.api#required": {} } }, "workflowType": { "target": "com.amazonaws.swf#WorkflowType", "traits": { "smithy.api#documentation": "

The type of the child workflow execution.

", "smithy.api#required": {} } }, "details": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "

Details of the cancellation (if provided).

" } }, "initiatedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "

The ID of the StartChildWorkflowExecutionInitiated event corresponding to the\n StartChildWorkflowExecution \n Decision to start this child workflow execution.\n This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } }, "startedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "

The ID of the ChildWorkflowExecutionStarted event recorded when this child workflow execution was\n started. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Provide details of the ChildWorkflowExecutionCanceled event.

" } }, "com.amazonaws.swf#ChildWorkflowExecutionCompletedEventAttributes": { "type": "structure", "members": { "workflowExecution": { "target": "com.amazonaws.swf#WorkflowExecution", "traits": { "smithy.api#documentation": "

The child workflow execution that was completed.

", "smithy.api#required": {} } }, "workflowType": { "target": "com.amazonaws.swf#WorkflowType", "traits": { "smithy.api#documentation": "

The type of the child workflow execution.

", "smithy.api#required": {} } }, "result": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "

The result of the child workflow execution.

" } }, "initiatedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "

The ID of the StartChildWorkflowExecutionInitiated event corresponding to the StartChildWorkflowExecution \n Decision to start this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

", "smithy.api#required": {} } }, "startedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "

The ID of the ChildWorkflowExecutionStarted event recorded when this child workflow execution was\n started. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Provides the details of the ChildWorkflowExecutionCompleted event.

" } }, "com.amazonaws.swf#ChildWorkflowExecutionFailedEventAttributes": { "type": "structure", "members": { "workflowExecution": { "target": "com.amazonaws.swf#WorkflowExecution", "traits": { "smithy.api#documentation": "

The child workflow execution that failed.

", "smithy.api#required": {} } }, "workflowType": { "target": "com.amazonaws.swf#WorkflowType", "traits": { "smithy.api#documentation": "

The type of the child workflow execution.

", "smithy.api#required": {} } }, "reason": { "target": "com.amazonaws.swf#FailureReason", "traits": { "smithy.api#documentation": "

The reason for the failure (if provided).

" } }, "details": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "

The details of the failure (if provided).

" } }, "initiatedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "

The ID of the StartChildWorkflowExecutionInitiated event corresponding to the\n StartChildWorkflowExecution \n Decision to start this child workflow execution.\n This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } }, "startedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "

The ID of the ChildWorkflowExecutionStarted event recorded when this child workflow execution was\n started. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Provides the details of the ChildWorkflowExecutionFailed event.

" } }, "com.amazonaws.swf#ChildWorkflowExecutionStartedEventAttributes": { "type": "structure", "members": { "workflowExecution": { "target": "com.amazonaws.swf#WorkflowExecution", "traits": { "smithy.api#documentation": "

The child workflow execution that was started.

", "smithy.api#required": {} } }, "workflowType": { "target": "com.amazonaws.swf#WorkflowType", "traits": { "smithy.api#documentation": "

The type of the child workflow execution.

", "smithy.api#required": {} } }, "initiatedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "

The ID of the StartChildWorkflowExecutionInitiated event corresponding to the\n StartChildWorkflowExecution \n Decision to start this child workflow execution.\n This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Provides the details of the ChildWorkflowExecutionStarted event.

" } }, "com.amazonaws.swf#ChildWorkflowExecutionTerminatedEventAttributes": { "type": "structure", "members": { "workflowExecution": { "target": "com.amazonaws.swf#WorkflowExecution", "traits": { "smithy.api#documentation": "

The child workflow execution that was terminated.

", "smithy.api#required": {} } }, "workflowType": { "target": "com.amazonaws.swf#WorkflowType", "traits": { "smithy.api#documentation": "

The type of the child workflow execution.

", "smithy.api#required": {} } }, "initiatedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "

The ID of the StartChildWorkflowExecutionInitiated event corresponding to the\n StartChildWorkflowExecution \n Decision to start this child workflow execution.\n This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } }, "startedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "

The ID of the ChildWorkflowExecutionStarted event recorded when this child workflow execution was\n started. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Provides the details of the ChildWorkflowExecutionTerminated event.

" } }, "com.amazonaws.swf#ChildWorkflowExecutionTimedOutEventAttributes": { "type": "structure", "members": { "workflowExecution": { "target": "com.amazonaws.swf#WorkflowExecution", "traits": { "smithy.api#documentation": "

The child workflow execution that timed out.

", "smithy.api#required": {} } }, "workflowType": { "target": "com.amazonaws.swf#WorkflowType", "traits": { "smithy.api#documentation": "

The type of the child workflow execution.

", "smithy.api#required": {} } }, "timeoutType": { "target": "com.amazonaws.swf#WorkflowExecutionTimeoutType", "traits": { "smithy.api#documentation": "

The type of the timeout that caused the child workflow execution to time out.

", "smithy.api#required": {} } }, "initiatedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "

The ID of the StartChildWorkflowExecutionInitiated event corresponding to the\n StartChildWorkflowExecution \n Decision to start this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } }, "startedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "

The ID of the ChildWorkflowExecutionStarted event recorded when this child workflow execution was\n started. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Provides the details of the ChildWorkflowExecutionTimedOut event.

" } }, "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": "

\n The close status that must match the close status of an execution for it to meet the criteria of\n this filter.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Used to filter the closed workflow executions in visibility APIs by their close status.

" } }, "com.amazonaws.swf#CompleteWorkflowExecutionDecisionAttributes": { "type": "structure", "members": { "result": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "

The result of the workflow execution. The form of the result is implementation defined.

" } } }, "traits": { "smithy.api#documentation": "

Provides the details of the CompleteWorkflowExecution decision.

\n

\n Access Control\n

\n

You can use IAM policies to control this decision's access to Amazon SWF resources as follows:

\n \n

If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated event attribute's\n cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see\n Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

" } }, "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": "

The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.

\n \n

If cause is set to OPERATION_NOT_PERMITTED, the decision failed\n because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows\n in the Amazon SWF Developer Guide.

\n
", "smithy.api#required": {} } }, "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n CompleteWorkflowExecution decision to complete this execution. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Provides the details of the CompleteWorkflowExecutionFailed event.

" } }, "com.amazonaws.swf#ContinueAsNewWorkflowExecutionDecisionAttributes": { "type": "structure", "members": { "input": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "

The input provided to the new workflow execution.

" } }, "executionStartToCloseTimeout": { "target": "com.amazonaws.swf#DurationInSecondsOptional", "traits": { "smithy.api#documentation": "

If set, specifies the total duration for this workflow execution. This overrides the\n defaultExecutionStartToCloseTimeout specified when registering the workflow type.

\n

The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

\n \n

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.

\n
" } }, "taskList": { "target": "com.amazonaws.swf#TaskList", "traits": { "smithy.api#documentation": "

The task list to use for the decisions of the new (continued) workflow\n execution.

" } }, "taskPriority": { "target": "com.amazonaws.swf#TaskPriority", "traits": { "smithy.api#documentation": "

\n The task priority that, if set, specifies the priority for the decision tasks for this workflow\n execution. This overrides the defaultTaskPriority specified when registering the workflow type.\n Valid values are integers that range from Java's Integer.MIN_VALUE\n (-2147483648) to Integer.MAX_VALUE (2147483647). Higher numbers indicate higher priority.

\n

For more information about setting task priority, see Setting Task Priority in the Amazon SWF Developer Guide.

" } }, "taskStartToCloseTimeout": { "target": "com.amazonaws.swf#DurationInSecondsOptional", "traits": { "smithy.api#documentation": "

Specifies the maximum duration of decision tasks for the new workflow execution. This parameter overrides the\n defaultTaskStartToCloseTimout specified when registering the workflow type using\n RegisterWorkflowType.

\n

The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

\n \n

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.

\n
" } }, "childPolicy": { "target": "com.amazonaws.swf#ChildPolicy", "traits": { "smithy.api#documentation": "

If set, specifies the policy to use for the child workflow executions of the new execution if it is terminated\n by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout. This policy\n overrides the default child policy specified when registering the workflow type using\n RegisterWorkflowType.

\n

The supported child policies are:

\n \n \n

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.

\n
" } }, "tagList": { "target": "com.amazonaws.swf#TagList", "traits": { "smithy.api#documentation": "

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 ListOpenWorkflowExecutions or\n ListClosedWorkflowExecutions and specifying a TagFilter.

" } }, "workflowTypeVersion": { "target": "com.amazonaws.swf#Version", "traits": { "smithy.api#documentation": "

The version of the workflow to start.

" } }, "lambdaRole": { "target": "com.amazonaws.swf#Arn", "traits": { "smithy.api#documentation": "

The IAM role to attach to the new (continued) execution.

" } } }, "traits": { "smithy.api#documentation": "

Provides the details of the ContinueAsNewWorkflowExecution decision.

\n

\n Access Control\n

\n

You can use IAM policies to control this decision's access to Amazon SWF resources as follows:

\n \n

If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated event attribute's\n cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see\n Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

" } }, "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": "

The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.

\n \n

If cause is set to OPERATION_NOT_PERMITTED, the decision failed\n because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows\n in the Amazon SWF Developer Guide.

\n
", "smithy.api#required": {} } }, "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n ContinueAsNewWorkflowExecution decision that started this execution. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Provides the details of the ContinueAsNewWorkflowExecutionFailed event.

" } }, "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": "

Returns the number of closed workflow executions within the given domain that meet the\n specified filtering criteria.

\n \n

This operation is eventually consistent. The results are best effort and may not\n exactly reflect recent updates and changes.

\n
\n

\n Access Control\n

\n

You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:

\n \n

If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause parameter is set to OPERATION_NOT_PERMITTED.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.

" } }, "com.amazonaws.swf#CountClosedWorkflowExecutionsInput": { "type": "structure", "members": { "domain": { "target": "com.amazonaws.swf#DomainName", "traits": { "smithy.api#documentation": "

The name of the domain containing the workflow executions to count.

", "smithy.api#required": {} } }, "startTimeFilter": { "target": "com.amazonaws.swf#ExecutionTimeFilter", "traits": { "smithy.api#documentation": "

If specified, only workflow executions that meet the start time criteria of the filter\n are counted.

\n \n

\n startTimeFilter and closeTimeFilter are mutually exclusive. You\n must specify one of these in a request but not both.

\n
" } }, "closeTimeFilter": { "target": "com.amazonaws.swf#ExecutionTimeFilter", "traits": { "smithy.api#documentation": "

If specified, only workflow executions that meet the close time criteria of the filter\n are counted.

\n \n

\n startTimeFilter and closeTimeFilter are mutually exclusive. You\n must specify one of these in a request but not both.

\n
" } }, "executionFilter": { "target": "com.amazonaws.swf#WorkflowExecutionFilter", "traits": { "smithy.api#documentation": "

If specified, only workflow executions matching the WorkflowId in the\n filter are counted.

\n \n

\n closeStatusFilter, executionFilter, typeFilter and\n tagFilter are mutually exclusive. You can specify at most one of these in a\n request.

\n
" } }, "typeFilter": { "target": "com.amazonaws.swf#WorkflowTypeFilter", "traits": { "smithy.api#documentation": "

If specified, indicates the type of the workflow executions to be counted.

\n \n

\n closeStatusFilter, executionFilter, typeFilter and\n tagFilter are mutually exclusive. You can specify at most one of these in a\n request.

\n
" } }, "tagFilter": { "target": "com.amazonaws.swf#TagFilter", "traits": { "smithy.api#documentation": "

If specified, only executions that have a tag that matches the filter are\n counted.

\n \n

\n closeStatusFilter, executionFilter, typeFilter and\n tagFilter are mutually exclusive. You can specify at most one of these in a\n request.

\n
" } }, "closeStatusFilter": { "target": "com.amazonaws.swf#CloseStatusFilter", "traits": { "smithy.api#documentation": "

If specified, only workflow executions that match this close status are counted. This\n filter has an affect only if executionStatus is specified as\n CLOSED.

\n \n

\n closeStatusFilter, executionFilter, typeFilter and\n tagFilter are mutually exclusive. You can specify at most one of these in a\n request.

\n
" } } } }, "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": "

Returns the number of open workflow executions within the given domain that meet the\n specified filtering criteria.

\n \n

This operation is eventually consistent. The results are best effort and may not\n exactly reflect recent updates and changes.

\n
\n

\n Access Control\n

\n

You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:

\n \n

If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause parameter is set to OPERATION_NOT_PERMITTED.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.

" } }, "com.amazonaws.swf#CountOpenWorkflowExecutionsInput": { "type": "structure", "members": { "domain": { "target": "com.amazonaws.swf#DomainName", "traits": { "smithy.api#documentation": "

The name of the domain containing the workflow executions to count.

", "smithy.api#required": {} } }, "startTimeFilter": { "target": "com.amazonaws.swf#ExecutionTimeFilter", "traits": { "smithy.api#documentation": "

Specifies the start time criteria that workflow executions must meet in order to be\n counted.

", "smithy.api#required": {} } }, "typeFilter": { "target": "com.amazonaws.swf#WorkflowTypeFilter", "traits": { "smithy.api#documentation": "

Specifies the type of the workflow executions to be counted.

\n \n

\n executionFilter, typeFilter and tagFilter are\n mutually exclusive. You can specify at most one of these in a request.

\n
" } }, "tagFilter": { "target": "com.amazonaws.swf#TagFilter", "traits": { "smithy.api#documentation": "

If specified, only executions that have a tag that matches the filter are\n counted.

\n \n

\n executionFilter, typeFilter and tagFilter are\n mutually exclusive. You can specify at most one of these in a request.

\n
" } }, "executionFilter": { "target": "com.amazonaws.swf#WorkflowExecutionFilter", "traits": { "smithy.api#documentation": "

If specified, only workflow executions matching the WorkflowId in the\n filter are counted.

\n \n

\n executionFilter, typeFilter and tagFilter are\n mutually exclusive. You can specify at most one of these in a request.

\n
" } } } }, "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": "

Returns the estimated number of activity tasks in the specified task list. The count\n returned is an approximation and isn't guaranteed to be exact. If you specify a task list that\n no activity task was ever scheduled in then 0 is returned.

\n

\n Access Control\n

\n

You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:

\n \n

If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause parameter is set to OPERATION_NOT_PERMITTED.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.

" } }, "com.amazonaws.swf#CountPendingActivityTasksInput": { "type": "structure", "members": { "domain": { "target": "com.amazonaws.swf#DomainName", "traits": { "smithy.api#documentation": "

The name of the domain that contains the task list.

", "smithy.api#required": {} } }, "taskList": { "target": "com.amazonaws.swf#TaskList", "traits": { "smithy.api#documentation": "

The name of the task list.

", "smithy.api#required": {} } } } }, "com.amazonaws.swf#CountPendingDecisionTasks": { "type": "operation", "input": { "target": "com.amazonaws.swf#CountPendingDecisionTasksInput" }, "output": { "target": "com.amazonaws.swf#PendingTaskCount" }, "errors": [ { "target": "com.amazonaws.swf#OperationNotPermittedFault" }, { "target": "com.amazonaws.swf#UnknownResourceFault" } ], "traits": { "smithy.api#documentation": "

Returns the estimated number of decision tasks in the specified task list. The count\n returned is an approximation and isn't guaranteed to be exact. If you specify a task list that\n no decision task was ever scheduled in then 0 is returned.

\n

\n Access Control\n

\n

You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:

\n \n

If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause parameter is set to OPERATION_NOT_PERMITTED.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.

" } }, "com.amazonaws.swf#CountPendingDecisionTasksInput": { "type": "structure", "members": { "domain": { "target": "com.amazonaws.swf#DomainName", "traits": { "smithy.api#documentation": "

The name of the domain that contains the task list.

", "smithy.api#required": {} } }, "taskList": { "target": "com.amazonaws.swf#TaskList", "traits": { "smithy.api#documentation": "

The name of the task list.

", "smithy.api#required": {} } } } }, "com.amazonaws.swf#Data": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 32768 } } }, "com.amazonaws.swf#Decision": { "type": "structure", "members": { "decisionType": { "target": "com.amazonaws.swf#DecisionType", "traits": { "smithy.api#documentation": "

Specifies the type of the decision.

", "smithy.api#required": {} } }, "scheduleActivityTaskDecisionAttributes": { "target": "com.amazonaws.swf#ScheduleActivityTaskDecisionAttributes", "traits": { "smithy.api#documentation": "

Provides the details of the ScheduleActivityTask decision. It isn't set for other decision types.

" } }, "requestCancelActivityTaskDecisionAttributes": { "target": "com.amazonaws.swf#RequestCancelActivityTaskDecisionAttributes", "traits": { "smithy.api#documentation": "

Provides the details of the RequestCancelActivityTask decision. It isn't set for other decision types.

" } }, "completeWorkflowExecutionDecisionAttributes": { "target": "com.amazonaws.swf#CompleteWorkflowExecutionDecisionAttributes", "traits": { "smithy.api#documentation": "

Provides the details of the CompleteWorkflowExecution decision. It isn't set for other decision types.

" } }, "failWorkflowExecutionDecisionAttributes": { "target": "com.amazonaws.swf#FailWorkflowExecutionDecisionAttributes", "traits": { "smithy.api#documentation": "

Provides the details of the FailWorkflowExecution decision. It isn't set for other decision types.

" } }, "cancelWorkflowExecutionDecisionAttributes": { "target": "com.amazonaws.swf#CancelWorkflowExecutionDecisionAttributes", "traits": { "smithy.api#documentation": "

Provides the details of the CancelWorkflowExecution decision. It isn't set for other decision types.

" } }, "continueAsNewWorkflowExecutionDecisionAttributes": { "target": "com.amazonaws.swf#ContinueAsNewWorkflowExecutionDecisionAttributes", "traits": { "smithy.api#documentation": "

Provides the details of the ContinueAsNewWorkflowExecution decision. It isn't set for other decision types.

" } }, "recordMarkerDecisionAttributes": { "target": "com.amazonaws.swf#RecordMarkerDecisionAttributes", "traits": { "smithy.api#documentation": "

Provides the details of the RecordMarker decision. It isn't set for other decision types.

" } }, "startTimerDecisionAttributes": { "target": "com.amazonaws.swf#StartTimerDecisionAttributes", "traits": { "smithy.api#documentation": "

Provides the details of the StartTimer decision. It isn't set for other decision types.

" } }, "cancelTimerDecisionAttributes": { "target": "com.amazonaws.swf#CancelTimerDecisionAttributes", "traits": { "smithy.api#documentation": "

Provides the details of the CancelTimer decision. It isn't set for other decision types.

" } }, "signalExternalWorkflowExecutionDecisionAttributes": { "target": "com.amazonaws.swf#SignalExternalWorkflowExecutionDecisionAttributes", "traits": { "smithy.api#documentation": "

Provides the details of the SignalExternalWorkflowExecution decision. It isn't set for other decision types.

" } }, "requestCancelExternalWorkflowExecutionDecisionAttributes": { "target": "com.amazonaws.swf#RequestCancelExternalWorkflowExecutionDecisionAttributes", "traits": { "smithy.api#documentation": "

Provides the details of the RequestCancelExternalWorkflowExecution decision.\n It isn't set for other decision types.

" } }, "startChildWorkflowExecutionDecisionAttributes": { "target": "com.amazonaws.swf#StartChildWorkflowExecutionDecisionAttributes", "traits": { "smithy.api#documentation": "

Provides the details of the StartChildWorkflowExecution decision. It isn't set for other decision types.

" } }, "scheduleLambdaFunctionDecisionAttributes": { "target": "com.amazonaws.swf#ScheduleLambdaFunctionDecisionAttributes", "traits": { "smithy.api#documentation": "

Provides the details of the ScheduleLambdaFunction decision. It isn't set\n for other decision types.

" } } }, "traits": { "smithy.api#documentation": "

Specifies a decision made by the decider. A decision can be one of these types:

\n \n

\n Access Control\n

\n

If you grant permission to use RespondDecisionTaskCompleted, you can use IAM policies to express\n permissions for the list of decisions returned by this action as if they were members of the API. Treating\n decisions as a pseudo API maintains a uniform conceptual model and helps keep policies readable. For details and\n example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.

\n\n

\n Decision Failure\n

\n\n

Decisions can fail for several reasons

\n\n \n\n

One of the following events might be added to the history to indicate an error. The event attribute's\n cause parameter indicates the cause. If cause is set to OPERATION_NOT_PERMITTED, the decision failed\n because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows\n in the Amazon SWF Developer Guide.

\n\n \n

The preceding error events might occur due to an error in the decider logic, which might put the workflow execution in an unstable state The cause field in the event structure for the error event indicates the cause of the error.

\n \n

A workflow execution may be closed by the decider by returning one of the following decisions when completing\n a decision task: CompleteWorkflowExecution, FailWorkflowExecution,\n CancelWorkflowExecution and ContinueAsNewWorkflowExecution. An UnhandledDecision fault\n is returned if a workflow closing decision is specified and a signal or activity event had been added to the\n history while the decision task was being performed by the decider. Unlike the above situations which are logic\n issues, this fault is always possible because of race conditions in a distributed system. The right action here is\n to call RespondDecisionTaskCompleted without any decisions. This would result in another decision task\n with these new events included in the history. The decider should handle the new events and may decide to close\n the workflow execution.

\n
\n

\n How to Code a Decision\n

\n

You code a decision by first setting the decision type field to one of the above decision values, and then set the corresponding attributes field shown below:

\n " } }, "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": "

The opaque string used as a handle on the task. This token is used by workers to communicate progress and response information back to the system about the task.

", "smithy.api#required": {} } }, "startedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "

The ID of the DecisionTaskStarted event recorded in the history.

", "smithy.api#required": {} } }, "workflowExecution": { "target": "com.amazonaws.swf#WorkflowExecution", "traits": { "smithy.api#documentation": "

The workflow execution for which this decision task was created.

", "smithy.api#required": {} } }, "workflowType": { "target": "com.amazonaws.swf#WorkflowType", "traits": { "smithy.api#documentation": "

The type of the workflow execution for which this decision task was created.

", "smithy.api#required": {} } }, "events": { "target": "com.amazonaws.swf#HistoryEventList", "traits": { "smithy.api#documentation": "

A paginated list of history events of the workflow execution. The decider uses this during the processing of the decision task.

", "smithy.api#required": {} } }, "nextPageToken": { "target": "com.amazonaws.swf#PageToken", "traits": { "smithy.api#documentation": "

If a NextPageToken was returned by a previous call, there are more\n results available. To retrieve the next page of results, make the call again using the returned token in\n nextPageToken. Keep all other arguments unchanged.

\n

The configured maximumPageSize determines how many results can be returned in a single call.

" } }, "previousStartedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "

The ID of the DecisionTaskStarted event of the previous decision task of this workflow execution that was processed by the decider. This can be used to determine the events in the history new since the last decision task received by the decider.

" } } }, "traits": { "smithy.api#documentation": "

A structure that represents a decision task. Decision tasks are sent to deciders in order for them to make decisions.

" } }, "com.amazonaws.swf#DecisionTaskCompletedEventAttributes": { "type": "structure", "members": { "executionContext": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "

User defined context for the workflow execution.

" } }, "scheduledEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "

The ID of the DecisionTaskScheduled event that was recorded when this decision task was scheduled.\n This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } }, "startedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "

The ID of the DecisionTaskStarted event recorded when this decision task was started.\n This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Provides the details of the DecisionTaskCompleted event.

" } }, "com.amazonaws.swf#DecisionTaskScheduledEventAttributes": { "type": "structure", "members": { "taskList": { "target": "com.amazonaws.swf#TaskList", "traits": { "smithy.api#documentation": "

The name of the task list in which the decision task was scheduled.

", "smithy.api#required": {} } }, "taskPriority": { "target": "com.amazonaws.swf#TaskPriority", "traits": { "smithy.api#documentation": "

\n A task priority that, if set, specifies the priority for this decision task.\n Valid values are integers that range from Java's Integer.MIN_VALUE\n (-2147483648) to Integer.MAX_VALUE (2147483647). Higher numbers indicate higher priority.

\n

For more information about setting task priority, see Setting Task Priority in the Amazon SWF Developer Guide.

" } }, "startToCloseTimeout": { "target": "com.amazonaws.swf#DurationInSecondsOptional", "traits": { "smithy.api#documentation": "

The maximum duration for this decision task. The task is considered timed out if it doesn't completed within this duration.

\n

The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

" } } }, "traits": { "smithy.api#documentation": "

Provides details about the DecisionTaskScheduled event.

" } }, "com.amazonaws.swf#DecisionTaskStartedEventAttributes": { "type": "structure", "members": { "identity": { "target": "com.amazonaws.swf#Identity", "traits": { "smithy.api#documentation": "

Identity of the decider making the request. This enables diagnostic tracing when problems arise. The form of this identity is user defined.

" } }, "scheduledEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "

The ID of the DecisionTaskScheduled event that was recorded when this decision task was scheduled.\n This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Provides the details of the DecisionTaskStarted event.

" } }, "com.amazonaws.swf#DecisionTaskTimedOutEventAttributes": { "type": "structure", "members": { "timeoutType": { "target": "com.amazonaws.swf#DecisionTaskTimeoutType", "traits": { "smithy.api#documentation": "

The type of timeout that expired before the decision task could be completed.

", "smithy.api#required": {} } }, "scheduledEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "

The ID of the DecisionTaskScheduled event that was recorded when this decision task was scheduled.\n This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } }, "startedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "

The ID of the DecisionTaskStarted event recorded when this decision task was started. This\n information can be useful for diagnosing problems by tracing back the chain of events leading up to this\n event.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Provides the details of the DecisionTaskTimedOut event.

" } }, "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": "

The StartWorkflowExecution API action was called without the required\n parameters set.

\n

Some workflow execution parameters, such as the decision taskList, must be\n set to start the execution. However, these parameters might have been set as defaults when the\n workflow type was registered. In this case, you can omit these parameters from the\n StartWorkflowExecution call and Amazon SWF uses the values defined in the workflow\n type.

\n \n

If these parameters aren't set and no default parameters were defined in the workflow\n type, this error is displayed.

\n
", "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": "

Deprecates the specified activity type. After an activity type has\n been deprecated, you cannot create new tasks of that activity type. Tasks of this type that\n were scheduled before the type was deprecated continue to run.

\n \n

This operation is eventually consistent. The results are best effort and may not\n exactly reflect recent updates and changes.

\n
\n

\n Access Control\n

\n

You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:

\n \n

If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause parameter is set to OPERATION_NOT_PERMITTED.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.

" } }, "com.amazonaws.swf#DeprecateActivityTypeInput": { "type": "structure", "members": { "domain": { "target": "com.amazonaws.swf#DomainName", "traits": { "smithy.api#documentation": "

The name of the domain in which the activity type is registered.

", "smithy.api#required": {} } }, "activityType": { "target": "com.amazonaws.swf#ActivityType", "traits": { "smithy.api#documentation": "

The activity type to deprecate.

", "smithy.api#required": {} } } } }, "com.amazonaws.swf#DeprecateDomain": { "type": "operation", "input": { "target": "com.amazonaws.swf#DeprecateDomainInput" }, "errors": [ { "target": "com.amazonaws.swf#DomainDeprecatedFault" }, { "target": "com.amazonaws.swf#OperationNotPermittedFault" }, { "target": "com.amazonaws.swf#UnknownResourceFault" } ], "traits": { "smithy.api#documentation": "

Deprecates the specified domain. After a domain has been deprecated it cannot be used\n to create new workflow executions or register new types. However, you can still use visibility\n actions on this domain. Deprecating a domain also deprecates all activity and workflow types\n registered in the domain. Executions that were started before the domain was deprecated\n continues to run.

\n \n

This operation is eventually consistent. The results are best effort and may not\n exactly reflect recent updates and changes.

\n
\n

\n Access Control\n

\n

You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:

\n \n

If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause parameter is set to OPERATION_NOT_PERMITTED.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.

" } }, "com.amazonaws.swf#DeprecateDomainInput": { "type": "structure", "members": { "name": { "target": "com.amazonaws.swf#DomainName", "traits": { "smithy.api#documentation": "

The name of the domain to deprecate.

", "smithy.api#required": {} } } } }, "com.amazonaws.swf#DeprecateWorkflowType": { "type": "operation", "input": { "target": "com.amazonaws.swf#DeprecateWorkflowTypeInput" }, "errors": [ { "target": "com.amazonaws.swf#OperationNotPermittedFault" }, { "target": "com.amazonaws.swf#TypeDeprecatedFault" }, { "target": "com.amazonaws.swf#UnknownResourceFault" } ], "traits": { "smithy.api#documentation": "

Deprecates the specified workflow type. After a workflow type has\n been deprecated, you cannot create new executions of that type. Executions that were started\n before the type was deprecated continues to run. A deprecated workflow type may still be used\n when calling visibility actions.

\n \n

This operation is eventually consistent. The results are best effort and may not\n exactly reflect recent updates and changes.

\n
\n

\n Access Control\n

\n

You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:

\n \n

If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause parameter is set to OPERATION_NOT_PERMITTED.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.

" } }, "com.amazonaws.swf#DeprecateWorkflowTypeInput": { "type": "structure", "members": { "domain": { "target": "com.amazonaws.swf#DomainName", "traits": { "smithy.api#documentation": "

The name of the domain in which the workflow type is registered.

", "smithy.api#required": {} } }, "workflowType": { "target": "com.amazonaws.swf#WorkflowType", "traits": { "smithy.api#documentation": "

The workflow type to deprecate.

", "smithy.api#required": {} } } } }, "com.amazonaws.swf#DescribeActivityType": { "type": "operation", "input": { "target": "com.amazonaws.swf#DescribeActivityTypeInput" }, "output": { "target": "com.amazonaws.swf#ActivityTypeDetail" }, "errors": [ { "target": "com.amazonaws.swf#OperationNotPermittedFault" }, { "target": "com.amazonaws.swf#UnknownResourceFault" } ], "traits": { "smithy.api#documentation": "

Returns information about the specified activity type. This includes configuration\n settings provided when the type was registered and other general information about the\n type.

\n

\n Access Control\n

\n

You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:

\n \n

If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause parameter is set to OPERATION_NOT_PERMITTED.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.

" } }, "com.amazonaws.swf#DescribeActivityTypeInput": { "type": "structure", "members": { "domain": { "target": "com.amazonaws.swf#DomainName", "traits": { "smithy.api#documentation": "

The name of the domain in which the activity type is registered.

", "smithy.api#required": {} } }, "activityType": { "target": "com.amazonaws.swf#ActivityType", "traits": { "smithy.api#documentation": "

The activity type to get information about. Activity types are identified by the\n name and version that were supplied when the activity was\n registered.

", "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": "

Returns information about the specified domain, including description and\n status.

\n

\n Access Control\n

\n

You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:

\n \n

If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause parameter is set to OPERATION_NOT_PERMITTED.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.

" } }, "com.amazonaws.swf#DescribeDomainInput": { "type": "structure", "members": { "name": { "target": "com.amazonaws.swf#DomainName", "traits": { "smithy.api#documentation": "

The name of the domain to describe.

", "smithy.api#required": {} } } } }, "com.amazonaws.swf#DescribeWorkflowExecution": { "type": "operation", "input": { "target": "com.amazonaws.swf#DescribeWorkflowExecutionInput" }, "output": { "target": "com.amazonaws.swf#WorkflowExecutionDetail" }, "errors": [ { "target": "com.amazonaws.swf#OperationNotPermittedFault" }, { "target": "com.amazonaws.swf#UnknownResourceFault" } ], "traits": { "smithy.api#documentation": "

Returns information about the specified workflow execution including its type and some\n statistics.

\n \n

This operation is eventually consistent. The results are best effort and may not\n exactly reflect recent updates and changes.

\n
\n

\n Access Control\n

\n

You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:

\n \n

If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause parameter is set to OPERATION_NOT_PERMITTED.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.

" } }, "com.amazonaws.swf#DescribeWorkflowExecutionInput": { "type": "structure", "members": { "domain": { "target": "com.amazonaws.swf#DomainName", "traits": { "smithy.api#documentation": "

The name of the domain containing the workflow execution.

", "smithy.api#required": {} } }, "execution": { "target": "com.amazonaws.swf#WorkflowExecution", "traits": { "smithy.api#documentation": "

The workflow execution to describe.

", "smithy.api#required": {} } } } }, "com.amazonaws.swf#DescribeWorkflowType": { "type": "operation", "input": { "target": "com.amazonaws.swf#DescribeWorkflowTypeInput" }, "output": { "target": "com.amazonaws.swf#WorkflowTypeDetail" }, "errors": [ { "target": "com.amazonaws.swf#OperationNotPermittedFault" }, { "target": "com.amazonaws.swf#UnknownResourceFault" } ], "traits": { "smithy.api#documentation": "

Returns information about the specified workflow type. This\n includes configuration settings specified when the type was registered and other information\n such as creation date, current status, etc.

\n

\n Access Control\n

\n

You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:

\n \n

If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause parameter is set to OPERATION_NOT_PERMITTED.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.

" } }, "com.amazonaws.swf#DescribeWorkflowTypeInput": { "type": "structure", "members": { "domain": { "target": "com.amazonaws.swf#DomainName", "traits": { "smithy.api#documentation": "

The name of the domain in which this workflow type is registered.

", "smithy.api#required": {} } }, "workflowType": { "target": "com.amazonaws.swf#WorkflowType", "traits": { "smithy.api#documentation": "

The workflow type to describe.

", "smithy.api#required": {} } } } }, "com.amazonaws.swf#Description": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 1024 } } }, "com.amazonaws.swf#DomainAlreadyExistsFault": { "type": "structure", "members": { "message": { "target": "com.amazonaws.swf#ErrorMessage", "traits": { "smithy.api#documentation": "

A description that may help with diagnosing the cause of the fault.

" } } }, "traits": { "smithy.api#documentation": "

Returned if the domain already exists. You may get this fault if you are registering a domain that is either already registered or deprecated, or if you undeprecate a domain that is currently registered.

", "smithy.api#error": "client" } }, "com.amazonaws.swf#DomainConfiguration": { "type": "structure", "members": { "workflowExecutionRetentionPeriodInDays": { "target": "com.amazonaws.swf#DurationInDays", "traits": { "smithy.api#documentation": "

The retention period for workflow executions in this domain.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Contains the configuration settings of a domain.

" } }, "com.amazonaws.swf#DomainDeprecatedFault": { "type": "structure", "members": { "message": { "target": "com.amazonaws.swf#ErrorMessage", "traits": { "smithy.api#documentation": "

A description that may help with diagnosing the cause of the fault.

" } } }, "traits": { "smithy.api#documentation": "

Returned when the specified domain has been deprecated.

", "smithy.api#error": "client" } }, "com.amazonaws.swf#DomainDetail": { "type": "structure", "members": { "domainInfo": { "target": "com.amazonaws.swf#DomainInfo", "traits": { "smithy.api#documentation": "

The basic information about a domain, such as its name, status, and\n description.

", "smithy.api#required": {} } }, "configuration": { "target": "com.amazonaws.swf#DomainConfiguration", "traits": { "smithy.api#documentation": "

The domain configuration. Currently, this includes only the domain's retention\n period.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Contains details of a domain.

" } }, "com.amazonaws.swf#DomainInfo": { "type": "structure", "members": { "name": { "target": "com.amazonaws.swf#DomainName", "traits": { "smithy.api#documentation": "

The name of the domain. This name is unique within the account.

", "smithy.api#required": {} } }, "status": { "target": "com.amazonaws.swf#RegistrationStatus", "traits": { "smithy.api#documentation": "

The status of the domain:

\n ", "smithy.api#required": {} } }, "description": { "target": "com.amazonaws.swf#Description", "traits": { "smithy.api#documentation": "

The description of the domain provided through RegisterDomain.

" } }, "arn": { "target": "com.amazonaws.swf#Arn", "traits": { "smithy.api#documentation": "

The ARN of the domain.

" } } }, "traits": { "smithy.api#documentation": "

Contains general information about a domain.

" } }, "com.amazonaws.swf#DomainInfoList": { "type": "list", "member": { "target": "com.amazonaws.swf#DomainInfo" } }, "com.amazonaws.swf#DomainInfos": { "type": "structure", "members": { "domainInfos": { "target": "com.amazonaws.swf#DomainInfoList", "traits": { "smithy.api#documentation": "

A list of DomainInfo structures.

", "smithy.api#required": {} } }, "nextPageToken": { "target": "com.amazonaws.swf#PageToken", "traits": { "smithy.api#documentation": "

If a NextPageToken was returned by a previous call, there are more\n results available. To retrieve the next page of results, make the call again using the returned token in\n nextPageToken. Keep all other arguments unchanged.

\n

The configured maximumPageSize determines how many results can be returned in a single call.

" } } }, "traits": { "smithy.api#documentation": "

Contains a paginated collection of DomainInfo structures.

" } }, "com.amazonaws.swf#DomainName": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 256 } } }, "com.amazonaws.swf#DurationInDays": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 8 } } }, "com.amazonaws.swf#DurationInSeconds": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 8 } } }, "com.amazonaws.swf#DurationInSecondsOptional": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 8 } } }, "com.amazonaws.swf#ErrorMessage": { "type": "string" }, "com.amazonaws.swf#EventId": { "type": "long" }, "com.amazonaws.swf#EventType": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "WorkflowExecutionStarted", "name": "WorkflowExecutionStarted" }, { "value": "WorkflowExecutionCancelRequested", "name": "WorkflowExecutionCancelRequested" }, { "value": "WorkflowExecutionCompleted", "name": "WorkflowExecutionCompleted" }, { "value": "CompleteWorkflowExecutionFailed", "name": "CompleteWorkflowExecutionFailed" }, { "value": "WorkflowExecutionFailed", "name": "WorkflowExecutionFailed" }, { "value": "FailWorkflowExecutionFailed", "name": "FailWorkflowExecutionFailed" }, { "value": "WorkflowExecutionTimedOut", "name": "WorkflowExecutionTimedOut" }, { "value": "WorkflowExecutionCanceled", "name": "WorkflowExecutionCanceled" }, { "value": "CancelWorkflowExecutionFailed", "name": "CancelWorkflowExecutionFailed" }, { "value": "WorkflowExecutionContinuedAsNew", "name": "WorkflowExecutionContinuedAsNew" }, { "value": "ContinueAsNewWorkflowExecutionFailed", "name": "ContinueAsNewWorkflowExecutionFailed" }, { "value": "WorkflowExecutionTerminated", "name": "WorkflowExecutionTerminated" }, { "value": "DecisionTaskScheduled", "name": "DecisionTaskScheduled" }, { "value": "DecisionTaskStarted", "name": "DecisionTaskStarted" }, { "value": "DecisionTaskCompleted", "name": "DecisionTaskCompleted" }, { "value": "DecisionTaskTimedOut", "name": "DecisionTaskTimedOut" }, { "value": "ActivityTaskScheduled", "name": "ActivityTaskScheduled" }, { "value": "ScheduleActivityTaskFailed", "name": "ScheduleActivityTaskFailed" }, { "value": "ActivityTaskStarted", "name": "ActivityTaskStarted" }, { "value": "ActivityTaskCompleted", "name": "ActivityTaskCompleted" }, { "value": "ActivityTaskFailed", "name": "ActivityTaskFailed" }, { "value": "ActivityTaskTimedOut", "name": "ActivityTaskTimedOut" }, { "value": "ActivityTaskCanceled", "name": "ActivityTaskCanceled" }, { "value": "ActivityTaskCancelRequested", "name": "ActivityTaskCancelRequested" }, { "value": "RequestCancelActivityTaskFailed", "name": "RequestCancelActivityTaskFailed" }, { "value": "WorkflowExecutionSignaled", "name": "WorkflowExecutionSignaled" }, { "value": "MarkerRecorded", "name": "MarkerRecorded" }, { "value": "RecordMarkerFailed", "name": "RecordMarkerFailed" }, { "value": "TimerStarted", "name": "TimerStarted" }, { "value": "StartTimerFailed", "name": "StartTimerFailed" }, { "value": "TimerFired", "name": "TimerFired" }, { "value": "TimerCanceled", "name": "TimerCanceled" }, { "value": "CancelTimerFailed", "name": "CancelTimerFailed" }, { "value": "StartChildWorkflowExecutionInitiated", "name": "StartChildWorkflowExecutionInitiated" }, { "value": "StartChildWorkflowExecutionFailed", "name": "StartChildWorkflowExecutionFailed" }, { "value": "ChildWorkflowExecutionStarted", "name": "ChildWorkflowExecutionStarted" }, { "value": "ChildWorkflowExecutionCompleted", "name": "ChildWorkflowExecutionCompleted" }, { "value": "ChildWorkflowExecutionFailed", "name": "ChildWorkflowExecutionFailed" }, { "value": "ChildWorkflowExecutionTimedOut", "name": "ChildWorkflowExecutionTimedOut" }, { "value": "ChildWorkflowExecutionCanceled", "name": "ChildWorkflowExecutionCanceled" }, { "value": "ChildWorkflowExecutionTerminated", "name": "ChildWorkflowExecutionTerminated" }, { "value": "SignalExternalWorkflowExecutionInitiated", "name": "SignalExternalWorkflowExecutionInitiated" }, { "value": "SignalExternalWorkflowExecutionFailed", "name": "SignalExternalWorkflowExecutionFailed" }, { "value": "ExternalWorkflowExecutionSignaled", "name": "ExternalWorkflowExecutionSignaled" }, { "value": "RequestCancelExternalWorkflowExecutionInitiated", "name": "RequestCancelExternalWorkflowExecutionInitiated" }, { "value": "RequestCancelExternalWorkflowExecutionFailed", "name": "RequestCancelExternalWorkflowExecutionFailed" }, { "value": "ExternalWorkflowExecutionCancelRequested", "name": "ExternalWorkflowExecutionCancelRequested" }, { "value": "LambdaFunctionScheduled", "name": "LambdaFunctionScheduled" }, { "value": "LambdaFunctionStarted", "name": "LambdaFunctionStarted" }, { "value": "LambdaFunctionCompleted", "name": "LambdaFunctionCompleted" }, { "value": "LambdaFunctionFailed", "name": "LambdaFunctionFailed" }, { "value": "LambdaFunctionTimedOut", "name": "LambdaFunctionTimedOut" }, { "value": "ScheduleLambdaFunctionFailed", "name": "ScheduleLambdaFunctionFailed" }, { "value": "StartLambdaFunctionFailed", "name": "StartLambdaFunctionFailed" } ] } }, "com.amazonaws.swf#ExecutionStatus": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "OPEN", "name": "OPEN" }, { "value": "CLOSED", "name": "CLOSED" } ] } }, "com.amazonaws.swf#ExecutionTimeFilter": { "type": "structure", "members": { "oldestDate": { "target": "com.amazonaws.swf#Timestamp", "traits": { "smithy.api#documentation": "

Specifies the oldest start or close date and time to return.

", "smithy.api#required": {} } }, "latestDate": { "target": "com.amazonaws.swf#Timestamp", "traits": { "smithy.api#documentation": "

Specifies the latest start or close date and time to return.

" } } }, "traits": { "smithy.api#documentation": "

Used to filter the workflow executions in visibility APIs by various time-based rules. Each parameter, if\n specified, defines a rule that must be satisfied by each returned query result. The parameter values are in the Unix Time format. For example:\n \"oldestDate\": 1325376070.\n

" } }, "com.amazonaws.swf#ExternalWorkflowExecutionCancelRequestedEventAttributes": { "type": "structure", "members": { "workflowExecution": { "target": "com.amazonaws.swf#WorkflowExecution", "traits": { "smithy.api#documentation": "

The external workflow execution to which the cancellation request was delivered.

", "smithy.api#required": {} } }, "initiatedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "

The ID of the RequestCancelExternalWorkflowExecutionInitiated event corresponding to the\n RequestCancelExternalWorkflowExecution decision to cancel this external workflow execution. This\n information can be useful for diagnosing problems by tracing back the chain of events leading up to this\n event.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Provides the details of the ExternalWorkflowExecutionCancelRequested event.

" } }, "com.amazonaws.swf#ExternalWorkflowExecutionSignaledEventAttributes": { "type": "structure", "members": { "workflowExecution": { "target": "com.amazonaws.swf#WorkflowExecution", "traits": { "smithy.api#documentation": "

The external workflow execution that the signal was delivered to.

", "smithy.api#required": {} } }, "initiatedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "

The ID of the SignalExternalWorkflowExecutionInitiated event corresponding to the\n SignalExternalWorkflowExecution decision to request this signal. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Provides the details of the ExternalWorkflowExecutionSignaled event.

" } }, "com.amazonaws.swf#FailWorkflowExecutionDecisionAttributes": { "type": "structure", "members": { "reason": { "target": "com.amazonaws.swf#FailureReason", "traits": { "smithy.api#documentation": "

A descriptive reason for the failure that may help in diagnostics.

" } }, "details": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "

\n Details of the failure.

" } } }, "traits": { "smithy.api#documentation": "

Provides the details of the FailWorkflowExecution decision.

\n

\n Access Control\n

\n

You can use IAM policies to control this decision's access to Amazon SWF resources as follows:

\n \n

If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated event attribute's\n cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see\n Using IAM to Manage Access to Amazon SWF Workflows\n in the Amazon SWF Developer Guide.

" } }, "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": "

The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.

\n \n

If cause is set to OPERATION_NOT_PERMITTED, the decision failed\n because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows\n in the Amazon SWF Developer Guide.

\n
", "smithy.api#required": {} } }, "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n FailWorkflowExecution decision to fail this execution. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Provides the details of the FailWorkflowExecutionFailed event.

" } }, "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": "

Returns the history of the specified workflow execution. The results may be split into\n multiple pages. To retrieve subsequent pages, make the call again using the\n nextPageToken returned by the initial call.

\n \n

This operation is eventually consistent. The results are best effort and may not\n exactly reflect recent updates and changes.

\n
\n

\n Access Control\n

\n

You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:

\n \n

If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause parameter is set to OPERATION_NOT_PERMITTED.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.

", "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": "

The name of the domain containing the workflow execution.

", "smithy.api#required": {} } }, "execution": { "target": "com.amazonaws.swf#WorkflowExecution", "traits": { "smithy.api#documentation": "

Specifies the workflow execution for which to return the history.

", "smithy.api#required": {} } }, "nextPageToken": { "target": "com.amazonaws.swf#PageToken", "traits": { "smithy.api#documentation": "

If NextPageToken is returned there are more results\n available. The value of NextPageToken is a unique pagination token for each page. Make the call again using \n the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires \n after 60 seconds. Using an expired pagination token will return a 400 error: \"Specified token has \n exceeded its maximum lifetime\".

\n \n

The configured maximumPageSize determines how many results can be returned\n in a single call.

" } }, "maximumPageSize": { "target": "com.amazonaws.swf#PageSize", "traits": { "smithy.api#documentation": "

The maximum number of results that are returned per call.\n Use nextPageToken to obtain further pages of results.

" } }, "reverseOrder": { "target": "com.amazonaws.swf#ReverseOrder", "traits": { "smithy.api#documentation": "

When set to true, returns the events in reverse order. By default the\n results are returned in ascending order of the eventTimeStamp of the\n events.

" } } } }, "com.amazonaws.swf#History": { "type": "structure", "members": { "events": { "target": "com.amazonaws.swf#HistoryEventList", "traits": { "smithy.api#documentation": "

The list of history events.

", "smithy.api#required": {} } }, "nextPageToken": { "target": "com.amazonaws.swf#PageToken", "traits": { "smithy.api#documentation": "

If a NextPageToken was returned by a previous call, there are more\n results available. To retrieve the next page of results, make the call again using the returned token in\n nextPageToken. Keep all other arguments unchanged.

\n

The configured maximumPageSize determines how many results can be returned in a single call.

" } } }, "traits": { "smithy.api#documentation": "

Paginated representation of a workflow history for a workflow execution. This is the up to date, complete and authoritative record of the events related to all tasks and events in the life of the workflow execution.

" } }, "com.amazonaws.swf#HistoryEvent": { "type": "structure", "members": { "eventTimestamp": { "target": "com.amazonaws.swf#Timestamp", "traits": { "smithy.api#documentation": "

The date and time when the event occurred.

", "smithy.api#required": {} } }, "eventType": { "target": "com.amazonaws.swf#EventType", "traits": { "smithy.api#documentation": "

The type of the history event.

", "smithy.api#required": {} } }, "eventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "

The system generated ID of the event. This ID uniquely identifies the event with in the workflow execution history.

", "smithy.api#required": {} } }, "workflowExecutionStartedEventAttributes": { "target": "com.amazonaws.swf#WorkflowExecutionStartedEventAttributes", "traits": { "smithy.api#documentation": "

If the event is of type WorkflowExecutionStarted then this member is set and provides detailed\n information about the event. It isn't set for other event types.

" } }, "workflowExecutionCompletedEventAttributes": { "target": "com.amazonaws.swf#WorkflowExecutionCompletedEventAttributes", "traits": { "smithy.api#documentation": "

If the event is of type WorkflowExecutionCompleted then this member is set and provides detailed\n information about the event. It isn't set for other event types.

" } }, "completeWorkflowExecutionFailedEventAttributes": { "target": "com.amazonaws.swf#CompleteWorkflowExecutionFailedEventAttributes", "traits": { "smithy.api#documentation": "

If the event is of type CompleteWorkflowExecutionFailed then this member is set and provides\n detailed information about the event. It isn't set for other event types.

" } }, "workflowExecutionFailedEventAttributes": { "target": "com.amazonaws.swf#WorkflowExecutionFailedEventAttributes", "traits": { "smithy.api#documentation": "

If the event is of type WorkflowExecutionFailed then this member is set and provides detailed\n information about the event. It isn't set for other event types.

" } }, "failWorkflowExecutionFailedEventAttributes": { "target": "com.amazonaws.swf#FailWorkflowExecutionFailedEventAttributes", "traits": { "smithy.api#documentation": "

If the event is of type FailWorkflowExecutionFailed then this member is set and provides detailed\n information about the event. It isn't set for other event types.

" } }, "workflowExecutionTimedOutEventAttributes": { "target": "com.amazonaws.swf#WorkflowExecutionTimedOutEventAttributes", "traits": { "smithy.api#documentation": "

If the event is of type WorkflowExecutionTimedOut then this member is set and provides detailed\n information about the event. It isn't set for other event types.

" } }, "workflowExecutionCanceledEventAttributes": { "target": "com.amazonaws.swf#WorkflowExecutionCanceledEventAttributes", "traits": { "smithy.api#documentation": "

If the event is of type WorkflowExecutionCanceled then this member is set and provides detailed\n information about the event. It isn't set for other event types.

" } }, "cancelWorkflowExecutionFailedEventAttributes": { "target": "com.amazonaws.swf#CancelWorkflowExecutionFailedEventAttributes", "traits": { "smithy.api#documentation": "

If the event is of type CancelWorkflowExecutionFailed then this member is set and provides detailed\n information about the event. It isn't set for other event types.

" } }, "workflowExecutionContinuedAsNewEventAttributes": { "target": "com.amazonaws.swf#WorkflowExecutionContinuedAsNewEventAttributes", "traits": { "smithy.api#documentation": "

If the event is of type WorkflowExecutionContinuedAsNew then this member is set and provides\n detailed information about the event. It isn't set for other event types.

" } }, "continueAsNewWorkflowExecutionFailedEventAttributes": { "target": "com.amazonaws.swf#ContinueAsNewWorkflowExecutionFailedEventAttributes", "traits": { "smithy.api#documentation": "

If the event is of type ContinueAsNewWorkflowExecutionFailed then this member is set and provides\n detailed information about the event. It isn't set for other event types.

" } }, "workflowExecutionTerminatedEventAttributes": { "target": "com.amazonaws.swf#WorkflowExecutionTerminatedEventAttributes", "traits": { "smithy.api#documentation": "

If the event is of type WorkflowExecutionTerminated then this member is set and provides detailed\n information about the event. It isn't set for other event types.

" } }, "workflowExecutionCancelRequestedEventAttributes": { "target": "com.amazonaws.swf#WorkflowExecutionCancelRequestedEventAttributes", "traits": { "smithy.api#documentation": "

If the event is of type WorkflowExecutionCancelRequested then this member is set and provides\n detailed information about the event. It isn't set for other event types.

" } }, "decisionTaskScheduledEventAttributes": { "target": "com.amazonaws.swf#DecisionTaskScheduledEventAttributes", "traits": { "smithy.api#documentation": "

If the event is of type DecisionTaskScheduled then this member is set and provides detailed\n information about the event. It isn't set for other event types.

" } }, "decisionTaskStartedEventAttributes": { "target": "com.amazonaws.swf#DecisionTaskStartedEventAttributes", "traits": { "smithy.api#documentation": "

If the event is of type DecisionTaskStarted then this member is set and provides detailed\n information about the event. It isn't set for other event types.

" } }, "decisionTaskCompletedEventAttributes": { "target": "com.amazonaws.swf#DecisionTaskCompletedEventAttributes", "traits": { "smithy.api#documentation": "

If the event is of type DecisionTaskCompleted then this member is set and provides detailed\n information about the event. It isn't set for other event types.

" } }, "decisionTaskTimedOutEventAttributes": { "target": "com.amazonaws.swf#DecisionTaskTimedOutEventAttributes", "traits": { "smithy.api#documentation": "

If the event is of type DecisionTaskTimedOut then this member is set and provides detailed\n information about the event. It isn't set for other event types.

" } }, "activityTaskScheduledEventAttributes": { "target": "com.amazonaws.swf#ActivityTaskScheduledEventAttributes", "traits": { "smithy.api#documentation": "

If the event is of type ActivityTaskScheduled then this member is set and provides detailed\n information about the event. It isn't set for other event types.

" } }, "activityTaskStartedEventAttributes": { "target": "com.amazonaws.swf#ActivityTaskStartedEventAttributes", "traits": { "smithy.api#documentation": "

If the event is of type ActivityTaskStarted then this member is set and provides detailed\n information about the event. It isn't set for other event types.

" } }, "activityTaskCompletedEventAttributes": { "target": "com.amazonaws.swf#ActivityTaskCompletedEventAttributes", "traits": { "smithy.api#documentation": "

If the event is of type ActivityTaskCompleted then this member is set and provides detailed\n information about the event. It isn't set for other event types.

" } }, "activityTaskFailedEventAttributes": { "target": "com.amazonaws.swf#ActivityTaskFailedEventAttributes", "traits": { "smithy.api#documentation": "

If the event is of type ActivityTaskFailed then this member is set and provides detailed\n information about the event. It isn't set for other event types.

" } }, "activityTaskTimedOutEventAttributes": { "target": "com.amazonaws.swf#ActivityTaskTimedOutEventAttributes", "traits": { "smithy.api#documentation": "

If the event is of type ActivityTaskTimedOut then this member is set and provides detailed\n information about the event. It isn't set for other event types.

" } }, "activityTaskCanceledEventAttributes": { "target": "com.amazonaws.swf#ActivityTaskCanceledEventAttributes", "traits": { "smithy.api#documentation": "

If the event is of type ActivityTaskCanceled then this member is set and provides detailed\n information about the event. It isn't set for other event types.

" } }, "activityTaskCancelRequestedEventAttributes": { "target": "com.amazonaws.swf#ActivityTaskCancelRequestedEventAttributes", "traits": { "smithy.api#documentation": "

If the event is of type ActivityTaskcancelRequested then this member is set and provides detailed\n information about the event. It isn't set for other event types.

" } }, "workflowExecutionSignaledEventAttributes": { "target": "com.amazonaws.swf#WorkflowExecutionSignaledEventAttributes", "traits": { "smithy.api#documentation": "

If the event is of type WorkflowExecutionSignaled then this member is set and provides detailed\n information about the event. It isn't set for other event types.

" } }, "markerRecordedEventAttributes": { "target": "com.amazonaws.swf#MarkerRecordedEventAttributes", "traits": { "smithy.api#documentation": "

If the event is of type MarkerRecorded then this member is set and provides detailed information\n about the event. It isn't set for other event types.

" } }, "recordMarkerFailedEventAttributes": { "target": "com.amazonaws.swf#RecordMarkerFailedEventAttributes", "traits": { "smithy.api#documentation": "

If the event is of type DecisionTaskFailed then this member is set and provides detailed\n information about the event. It isn't set for other event types.

" } }, "timerStartedEventAttributes": { "target": "com.amazonaws.swf#TimerStartedEventAttributes", "traits": { "smithy.api#documentation": "

If the event is of type TimerStarted then this member is set and provides detailed information\n about the event. It isn't set for other event types.

" } }, "timerFiredEventAttributes": { "target": "com.amazonaws.swf#TimerFiredEventAttributes", "traits": { "smithy.api#documentation": "

If the event is of type TimerFired then this member is set and provides detailed information about\n the event. It isn't set for other event types.

" } }, "timerCanceledEventAttributes": { "target": "com.amazonaws.swf#TimerCanceledEventAttributes", "traits": { "smithy.api#documentation": "

If the event is of type TimerCanceled then this member is set and provides detailed information\n about the event. It isn't set for other event types.

" } }, "startChildWorkflowExecutionInitiatedEventAttributes": { "target": "com.amazonaws.swf#StartChildWorkflowExecutionInitiatedEventAttributes", "traits": { "smithy.api#documentation": "

If the event is of type StartChildWorkflowExecutionInitiated then this member is set and provides\n detailed information about the event. It isn't set for other event types.

" } }, "childWorkflowExecutionStartedEventAttributes": { "target": "com.amazonaws.swf#ChildWorkflowExecutionStartedEventAttributes", "traits": { "smithy.api#documentation": "

If the event is of type ChildWorkflowExecutionStarted then this member is set and provides detailed\n information about the event. It isn't set for other event types.

" } }, "childWorkflowExecutionCompletedEventAttributes": { "target": "com.amazonaws.swf#ChildWorkflowExecutionCompletedEventAttributes", "traits": { "smithy.api#documentation": "

If the event is of type ChildWorkflowExecutionCompleted then this member is set and provides\n detailed information about the event. It isn't set for other event types.

" } }, "childWorkflowExecutionFailedEventAttributes": { "target": "com.amazonaws.swf#ChildWorkflowExecutionFailedEventAttributes", "traits": { "smithy.api#documentation": "

If the event is of type ChildWorkflowExecutionFailed then this member is set and provides detailed\n information about the event. It isn't set for other event types.

" } }, "childWorkflowExecutionTimedOutEventAttributes": { "target": "com.amazonaws.swf#ChildWorkflowExecutionTimedOutEventAttributes", "traits": { "smithy.api#documentation": "

If the event is of type ChildWorkflowExecutionTimedOut then this member is set and provides\n detailed information about the event. It isn't set for other event types.

" } }, "childWorkflowExecutionCanceledEventAttributes": { "target": "com.amazonaws.swf#ChildWorkflowExecutionCanceledEventAttributes", "traits": { "smithy.api#documentation": "

If the event is of type ChildWorkflowExecutionCanceled then this member is set and provides\n detailed information about the event. It isn't set for other event types.

" } }, "childWorkflowExecutionTerminatedEventAttributes": { "target": "com.amazonaws.swf#ChildWorkflowExecutionTerminatedEventAttributes", "traits": { "smithy.api#documentation": "

If the event is of type ChildWorkflowExecutionTerminated then this member is set and provides\n detailed information about the event. It isn't set for other event types.

" } }, "signalExternalWorkflowExecutionInitiatedEventAttributes": { "target": "com.amazonaws.swf#SignalExternalWorkflowExecutionInitiatedEventAttributes", "traits": { "smithy.api#documentation": "

If the event is of type SignalExternalWorkflowExecutionInitiated then this member is set and\n provides detailed information about the event. It isn't set for other event types.

" } }, "externalWorkflowExecutionSignaledEventAttributes": { "target": "com.amazonaws.swf#ExternalWorkflowExecutionSignaledEventAttributes", "traits": { "smithy.api#documentation": "

If the event is of type ExternalWorkflowExecutionSignaled then this member is set and provides\n detailed information about the event. It isn't set for other event types.

" } }, "signalExternalWorkflowExecutionFailedEventAttributes": { "target": "com.amazonaws.swf#SignalExternalWorkflowExecutionFailedEventAttributes", "traits": { "smithy.api#documentation": "

If the event is of type SignalExternalWorkflowExecutionFailed then this member is set and provides\n detailed information about the event. It isn't set for other event types.

" } }, "externalWorkflowExecutionCancelRequestedEventAttributes": { "target": "com.amazonaws.swf#ExternalWorkflowExecutionCancelRequestedEventAttributes", "traits": { "smithy.api#documentation": "

If the event is of type ExternalWorkflowExecutionCancelRequested then this member is set and\n provides detailed information about the event. It isn't set for other event types.

" } }, "requestCancelExternalWorkflowExecutionInitiatedEventAttributes": { "target": "com.amazonaws.swf#RequestCancelExternalWorkflowExecutionInitiatedEventAttributes", "traits": { "smithy.api#documentation": "

If the event is of type RequestCancelExternalWorkflowExecutionInitiated then this member is set and\n provides detailed information about the event. It isn't set for other event types.

" } }, "requestCancelExternalWorkflowExecutionFailedEventAttributes": { "target": "com.amazonaws.swf#RequestCancelExternalWorkflowExecutionFailedEventAttributes", "traits": { "smithy.api#documentation": "

If the event is of type RequestCancelExternalWorkflowExecutionFailed then this member is set and\n provides detailed information about the event. It isn't set for other event types.

" } }, "scheduleActivityTaskFailedEventAttributes": { "target": "com.amazonaws.swf#ScheduleActivityTaskFailedEventAttributes", "traits": { "smithy.api#documentation": "

If the event is of type ScheduleActivityTaskFailed then this member is set and provides detailed\n information about the event. It isn't set for other event types.

" } }, "requestCancelActivityTaskFailedEventAttributes": { "target": "com.amazonaws.swf#RequestCancelActivityTaskFailedEventAttributes", "traits": { "smithy.api#documentation": "

If the event is of type RequestCancelActivityTaskFailed then this member is set and provides\n detailed information about the event. It isn't set for other event types.

" } }, "startTimerFailedEventAttributes": { "target": "com.amazonaws.swf#StartTimerFailedEventAttributes", "traits": { "smithy.api#documentation": "

If the event is of type StartTimerFailed then this member is set and provides detailed information\n about the event. It isn't set for other event types.

" } }, "cancelTimerFailedEventAttributes": { "target": "com.amazonaws.swf#CancelTimerFailedEventAttributes", "traits": { "smithy.api#documentation": "

If the event is of type CancelTimerFailed then this member is set and provides detailed information\n about the event. It isn't set for other event types.

" } }, "startChildWorkflowExecutionFailedEventAttributes": { "target": "com.amazonaws.swf#StartChildWorkflowExecutionFailedEventAttributes", "traits": { "smithy.api#documentation": "

If the event is of type StartChildWorkflowExecutionFailed then this member is set and provides\n detailed information about the event. It isn't set for other event types.

" } }, "lambdaFunctionScheduledEventAttributes": { "target": "com.amazonaws.swf#LambdaFunctionScheduledEventAttributes", "traits": { "smithy.api#documentation": "

Provides the details of the LambdaFunctionScheduled event. It isn't set\n for other event types.

" } }, "lambdaFunctionStartedEventAttributes": { "target": "com.amazonaws.swf#LambdaFunctionStartedEventAttributes", "traits": { "smithy.api#documentation": "

Provides the details of the LambdaFunctionStarted event. It isn't set for\n other event types.

" } }, "lambdaFunctionCompletedEventAttributes": { "target": "com.amazonaws.swf#LambdaFunctionCompletedEventAttributes", "traits": { "smithy.api#documentation": "

Provides the details of the LambdaFunctionCompleted event. It isn't set\n for other event types.

" } }, "lambdaFunctionFailedEventAttributes": { "target": "com.amazonaws.swf#LambdaFunctionFailedEventAttributes", "traits": { "smithy.api#documentation": "

Provides the details of the LambdaFunctionFailed event. It isn't set for\n other event types.

" } }, "lambdaFunctionTimedOutEventAttributes": { "target": "com.amazonaws.swf#LambdaFunctionTimedOutEventAttributes", "traits": { "smithy.api#documentation": "

Provides the details of the LambdaFunctionTimedOut event. It isn't set for\n other event types.

" } }, "scheduleLambdaFunctionFailedEventAttributes": { "target": "com.amazonaws.swf#ScheduleLambdaFunctionFailedEventAttributes", "traits": { "smithy.api#documentation": "

Provides the details of the ScheduleLambdaFunctionFailed event. It isn't\n set for other event types.

" } }, "startLambdaFunctionFailedEventAttributes": { "target": "com.amazonaws.swf#StartLambdaFunctionFailedEventAttributes", "traits": { "smithy.api#documentation": "

Provides the details of the StartLambdaFunctionFailed event. It isn't set\n for other event types.

" } } }, "traits": { "smithy.api#documentation": "

Event within a workflow execution. A history event can be one of these types:

\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": "

The ID of the LambdaFunctionScheduled event that was recorded when this\n Lambda task was scheduled. To help diagnose issues, use this information to trace back the chain of events leading up to this event.

", "smithy.api#required": {} } }, "startedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "

The ID of the LambdaFunctionStarted event recorded when this activity task\n started. To help diagnose issues, use this information to trace back the chain of events leading up to this event.

", "smithy.api#required": {} } }, "result": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "

The results of the Lambda task.

" } } }, "traits": { "smithy.api#documentation": "

Provides the details of the LambdaFunctionCompleted event. It isn't set\n for other event types.

" } }, "com.amazonaws.swf#LambdaFunctionFailedEventAttributes": { "type": "structure", "members": { "scheduledEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "

The ID of the LambdaFunctionScheduled event that was recorded when this\n activity task was scheduled. To help diagnose issues, use this information to trace back the chain of events leading up to this event.

", "smithy.api#required": {} } }, "startedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "

The ID of the LambdaFunctionStarted event recorded when this activity task\n started. To help diagnose issues, use this information to trace back the chain of events leading up to this event.

", "smithy.api#required": {} } }, "reason": { "target": "com.amazonaws.swf#FailureReason", "traits": { "smithy.api#documentation": "

The reason provided for the failure.

" } }, "details": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "

The details of the failure.

" } } }, "traits": { "smithy.api#documentation": "

Provides the details of the LambdaFunctionFailed event. It isn't set for\n other event types.

" } }, "com.amazonaws.swf#LambdaFunctionScheduledEventAttributes": { "type": "structure", "members": { "id": { "target": "com.amazonaws.swf#FunctionId", "traits": { "smithy.api#documentation": "

The unique ID of the Lambda task.

", "smithy.api#required": {} } }, "name": { "target": "com.amazonaws.swf#FunctionName", "traits": { "smithy.api#documentation": "

The name of the Lambda function.

", "smithy.api#required": {} } }, "control": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "

Data attached to the event that the decider can use in subsequent workflow tasks. This\n data isn't sent to the Lambda task.

" } }, "input": { "target": "com.amazonaws.swf#FunctionInput", "traits": { "smithy.api#documentation": "

The input provided to the Lambda task.

" } }, "startToCloseTimeout": { "target": "com.amazonaws.swf#DurationInSecondsOptional", "traits": { "smithy.api#documentation": "

The maximum amount of time a worker can take to process the Lambda task.

" } }, "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "

The ID of the LambdaFunctionCompleted event corresponding to the decision\n that resulted in scheduling this activity task. To help diagnose issues, use this information to trace back the chain of events leading up to this event.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Provides the details of the LambdaFunctionScheduled event. It isn't set\n for other event types.

" } }, "com.amazonaws.swf#LambdaFunctionStartedEventAttributes": { "type": "structure", "members": { "scheduledEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "

The ID of the LambdaFunctionScheduled event that was recorded when this\n activity task was scheduled. To help diagnose issues, use this information to trace back the chain of events leading up to this event.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Provides the details of the LambdaFunctionStarted event. It isn't set for\n other event types.

" } }, "com.amazonaws.swf#LambdaFunctionTimedOutEventAttributes": { "type": "structure", "members": { "scheduledEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "

The ID of the LambdaFunctionScheduled event that was recorded when this\n activity task was scheduled. To help diagnose issues, use this information to trace back the chain of events leading up to this event.

", "smithy.api#required": {} } }, "startedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "

The ID of the ActivityTaskStarted event that was recorded when this\n activity task started. To help diagnose issues, use this information to trace back the chain of events leading up to this event.

", "smithy.api#required": {} } }, "timeoutType": { "target": "com.amazonaws.swf#LambdaFunctionTimeoutType", "traits": { "smithy.api#documentation": "

The type of the timeout that caused this event.

" } } }, "traits": { "smithy.api#documentation": "

Provides details of the LambdaFunctionTimedOut event.

" } }, "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": "

A description that may help with diagnosing the cause of the fault.

" } } }, "traits": { "smithy.api#documentation": "

Returned by any operation if a system imposed limitation has been reached. To address this fault you should either clean up unused resources or increase the limit by contacting AWS.

", "smithy.api#error": "client" } }, "com.amazonaws.swf#LimitedData": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 2048 } } }, "com.amazonaws.swf#ListActivityTypes": { "type": "operation", "input": { "target": "com.amazonaws.swf#ListActivityTypesInput" }, "output": { "target": "com.amazonaws.swf#ActivityTypeInfos" }, "errors": [ { "target": "com.amazonaws.swf#OperationNotPermittedFault" }, { "target": "com.amazonaws.swf#UnknownResourceFault" } ], "traits": { "smithy.api#documentation": "

Returns information about all activities registered in the specified domain that match\n the specified name and registration status. The result includes information like creation\n date, current status of the activity, etc. The results may be split into multiple pages. To\n retrieve subsequent pages, make the call again using the nextPageToken returned\n by the initial call.

\n

\n Access Control\n

\n

You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:

\n \n

If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause parameter is set to OPERATION_NOT_PERMITTED.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.

", "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": "

The name of the domain in which the activity types have been registered.

", "smithy.api#required": {} } }, "name": { "target": "com.amazonaws.swf#Name", "traits": { "smithy.api#documentation": "

If specified, only lists the activity types that have this name.

" } }, "registrationStatus": { "target": "com.amazonaws.swf#RegistrationStatus", "traits": { "smithy.api#documentation": "

Specifies the registration status of the activity types to list.

", "smithy.api#required": {} } }, "nextPageToken": { "target": "com.amazonaws.swf#PageToken", "traits": { "smithy.api#documentation": "

If NextPageToken is returned there are more results\n available. The value of NextPageToken is a unique pagination token for each page. Make the call again using \n the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires \n after 60 seconds. Using an expired pagination token will return a 400 error: \"Specified token has \n exceeded its maximum lifetime\".

\n \n

The configured maximumPageSize determines how many results can be returned\n in a single call.

" } }, "maximumPageSize": { "target": "com.amazonaws.swf#PageSize", "traits": { "smithy.api#documentation": "

The maximum number of results that are returned per call.\n Use nextPageToken to obtain further pages of results.

" } }, "reverseOrder": { "target": "com.amazonaws.swf#ReverseOrder", "traits": { "smithy.api#documentation": "

When set to true, returns the results in reverse order. By default, the\n results are returned in ascending alphabetical order by name of the activity\n types.

" } } } }, "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": "

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.

\n \n

This operation is eventually consistent. The results are best effort and may not\n exactly reflect recent updates and changes.

\n
\n

\n Access Control\n

\n

You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:

\n \n

If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause parameter is set to OPERATION_NOT_PERMITTED.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.

", "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": "

The name of the domain that contains the workflow executions to list.

", "smithy.api#required": {} } }, "startTimeFilter": { "target": "com.amazonaws.swf#ExecutionTimeFilter", "traits": { "smithy.api#documentation": "

If specified, the workflow executions are included in the returned results based on\n whether their start times are within the range specified by this filter. Also, if this\n parameter is specified, the returned results are ordered by their start times.

\n \n

\n startTimeFilter and closeTimeFilter are mutually exclusive. You\n must specify one of these in a request but not both.

\n
" } }, "closeTimeFilter": { "target": "com.amazonaws.swf#ExecutionTimeFilter", "traits": { "smithy.api#documentation": "

If specified, the workflow executions are included in the returned results based on\n whether their close times are within the range specified by this filter. Also, if this\n parameter is specified, the returned results are ordered by their close times.

\n \n

\n startTimeFilter and closeTimeFilter are mutually exclusive. You\n must specify one of these in a request but not both.

\n
" } }, "executionFilter": { "target": "com.amazonaws.swf#WorkflowExecutionFilter", "traits": { "smithy.api#documentation": "

If specified, only workflow executions matching the workflow ID specified in the filter\n are returned.

\n \n

\n closeStatusFilter, executionFilter, typeFilter and\n tagFilter are mutually exclusive. You can specify at most one of these in a\n request.

\n
" } }, "closeStatusFilter": { "target": "com.amazonaws.swf#CloseStatusFilter", "traits": { "smithy.api#documentation": "

If specified, only workflow executions that match this close\n status are listed. For example, if TERMINATED is specified, then only TERMINATED\n workflow executions are listed.

\n \n

\n closeStatusFilter, executionFilter, typeFilter and\n tagFilter are mutually exclusive. You can specify at most one of these in a\n request.

\n
" } }, "typeFilter": { "target": "com.amazonaws.swf#WorkflowTypeFilter", "traits": { "smithy.api#documentation": "

If specified, only executions of the type specified in the filter are\n returned.

\n \n

\n closeStatusFilter, executionFilter, typeFilter and\n tagFilter are mutually exclusive. You can specify at most one of these in a\n request.

\n
" } }, "tagFilter": { "target": "com.amazonaws.swf#TagFilter", "traits": { "smithy.api#documentation": "

If specified, only executions that have the matching tag are listed.

\n \n

\n closeStatusFilter, executionFilter, typeFilter and\n tagFilter are mutually exclusive. You can specify at most one of these in a\n request.

\n
" } }, "nextPageToken": { "target": "com.amazonaws.swf#PageToken", "traits": { "smithy.api#documentation": "

If NextPageToken is returned there are more results\n available. The value of NextPageToken is a unique pagination token for each page. Make the call again using \n the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires \n after 60 seconds. Using an expired pagination token will return a 400 error: \"Specified token has \n exceeded its maximum lifetime\".

\n \n

The configured maximumPageSize determines how many results can be returned\n in a single call.

" } }, "maximumPageSize": { "target": "com.amazonaws.swf#PageSize", "traits": { "smithy.api#documentation": "

The maximum number of results that are returned per call.\n Use nextPageToken to obtain further pages of results.

" } }, "reverseOrder": { "target": "com.amazonaws.swf#ReverseOrder", "traits": { "smithy.api#documentation": "

When set to true, returns the results in reverse order. By default the\n results are returned in descending order of the start or the close time of the\n executions.

" } } } }, "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": "

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.

\n \n

This operation is eventually consistent. The results are best effort and may not\n exactly reflect recent updates and changes.

\n
\n

\n Access Control\n

\n

You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:

\n \n

If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause parameter is set to OPERATION_NOT_PERMITTED.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.

", "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": "

If NextPageToken is returned there are more results\n available. The value of NextPageToken is a unique pagination token for each page. Make the call again using \n the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires \n after 60 seconds. Using an expired pagination token will return a 400 error: \"Specified token has \n exceeded its maximum lifetime\".

\n \n

The configured maximumPageSize determines how many results can be returned\n in a single call.

" } }, "registrationStatus": { "target": "com.amazonaws.swf#RegistrationStatus", "traits": { "smithy.api#documentation": "

Specifies the registration status of the domains to list.

", "smithy.api#required": {} } }, "maximumPageSize": { "target": "com.amazonaws.swf#PageSize", "traits": { "smithy.api#documentation": "

The maximum number of results that are returned per call.\n Use nextPageToken to obtain further pages of results.

" } }, "reverseOrder": { "target": "com.amazonaws.swf#ReverseOrder", "traits": { "smithy.api#documentation": "

When set to true, returns the results in reverse order. By default, the\n results are returned in ascending alphabetical order by name of the\n domains.

" } } } }, "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": "

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.

\n \n

This operation is eventually consistent. The results are best effort and may not\n exactly reflect recent updates and changes.

\n
\n

\n Access Control\n

\n

You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:

\n \n

If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause parameter is set to OPERATION_NOT_PERMITTED.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.

", "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": "

The name of the domain that contains the workflow executions to list.

", "smithy.api#required": {} } }, "startTimeFilter": { "target": "com.amazonaws.swf#ExecutionTimeFilter", "traits": { "smithy.api#documentation": "

Workflow executions are included in the returned results based on whether their start\n times are within the range specified by this filter.

", "smithy.api#required": {} } }, "typeFilter": { "target": "com.amazonaws.swf#WorkflowTypeFilter", "traits": { "smithy.api#documentation": "

If specified, only executions of the type specified in the filter are\n returned.

\n \n

\n executionFilter, typeFilter and tagFilter are\n mutually exclusive. You can specify at most one of these in a request.

\n
" } }, "tagFilter": { "target": "com.amazonaws.swf#TagFilter", "traits": { "smithy.api#documentation": "

If specified, only executions that have the matching tag are listed.

\n \n

\n executionFilter, typeFilter and tagFilter are\n mutually exclusive. You can specify at most one of these in a request.

\n
" } }, "nextPageToken": { "target": "com.amazonaws.swf#PageToken", "traits": { "smithy.api#documentation": "

If NextPageToken is returned there are more results\n available. The value of NextPageToken is a unique pagination token for each page. Make the call again using \n the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires \n after 60 seconds. Using an expired pagination token will return a 400 error: \"Specified token has \n exceeded its maximum lifetime\".

\n \n

The configured maximumPageSize determines how many results can be returned\n in a single call.

" } }, "maximumPageSize": { "target": "com.amazonaws.swf#PageSize", "traits": { "smithy.api#documentation": "

The maximum number of results that are returned per call.\n Use nextPageToken to obtain further pages of results.

" } }, "reverseOrder": { "target": "com.amazonaws.swf#ReverseOrder", "traits": { "smithy.api#documentation": "

When set to true, returns the results in reverse order. By default the\n results are returned in descending order of the start time of the executions.

" } }, "executionFilter": { "target": "com.amazonaws.swf#WorkflowExecutionFilter", "traits": { "smithy.api#documentation": "

If specified, only workflow executions matching the workflow ID specified in the filter\n are returned.

\n \n

\n executionFilter, typeFilter and tagFilter are\n mutually exclusive. You can specify at most one of these in a request.

\n
" } } } }, "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": "

List tags for a given domain.

" } }, "com.amazonaws.swf#ListTagsForResourceInput": { "type": "structure", "members": { "resourceArn": { "target": "com.amazonaws.swf#Arn", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the Amazon SWF domain.

", "smithy.api#required": {} } } } }, "com.amazonaws.swf#ListTagsForResourceOutput": { "type": "structure", "members": { "tags": { "target": "com.amazonaws.swf#ResourceTagList", "traits": { "smithy.api#documentation": "

An array of tags associated with the domain.

" } } } }, "com.amazonaws.swf#ListWorkflowTypes": { "type": "operation", "input": { "target": "com.amazonaws.swf#ListWorkflowTypesInput" }, "output": { "target": "com.amazonaws.swf#WorkflowTypeInfos" }, "errors": [ { "target": "com.amazonaws.swf#OperationNotPermittedFault" }, { "target": "com.amazonaws.swf#UnknownResourceFault" } ], "traits": { "smithy.api#documentation": "

Returns information about workflow types in the specified domain. The results may be\n split into multiple pages that can be retrieved by making the call repeatedly.

\n

\n Access Control\n

\n

You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:

\n \n

If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause parameter is set to OPERATION_NOT_PERMITTED.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.

", "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": "

The name of the domain in which the workflow types have been registered.

", "smithy.api#required": {} } }, "name": { "target": "com.amazonaws.swf#Name", "traits": { "smithy.api#documentation": "

If specified, lists the workflow type with this name.

" } }, "registrationStatus": { "target": "com.amazonaws.swf#RegistrationStatus", "traits": { "smithy.api#documentation": "

Specifies the registration status of the workflow types to list.

", "smithy.api#required": {} } }, "nextPageToken": { "target": "com.amazonaws.swf#PageToken", "traits": { "smithy.api#documentation": "

If NextPageToken is returned there are more results\n available. The value of NextPageToken is a unique pagination token for each page. Make the call again using \n the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires \n after 60 seconds. Using an expired pagination token will return a 400 error: \"Specified token has \n exceeded its maximum lifetime\".

\n \n

The configured maximumPageSize determines how many results can be returned\n in a single call.

" } }, "maximumPageSize": { "target": "com.amazonaws.swf#PageSize", "traits": { "smithy.api#documentation": "

The maximum number of results that are returned per call.\n Use nextPageToken to obtain further pages of results.

" } }, "reverseOrder": { "target": "com.amazonaws.swf#ReverseOrder", "traits": { "smithy.api#documentation": "

When set to true, returns the results in reverse order. By default the\n results are returned in ascending alphabetical order of the name of the workflow\n types.

" } } } }, "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": "

The name of the marker.

", "smithy.api#required": {} } }, "details": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "

The details of the marker.

" } }, "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n RecordMarker decision that requested this marker. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Provides the details of the MarkerRecorded event.

" } }, "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": "

A description that may help with diagnosing the cause of the fault.

" } } }, "traits": { "smithy.api#documentation": "

Returned when the caller doesn't have sufficient permissions to invoke the action.

", "smithy.api#error": "client" } }, "com.amazonaws.swf#PageSize": { "type": "integer", "traits": { "smithy.api#range": { "min": 0, "max": 1000 } } }, "com.amazonaws.swf#PageToken": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 2048 } } }, "com.amazonaws.swf#PendingTaskCount": { "type": "structure", "members": { "count": { "target": "com.amazonaws.swf#Count", "traits": { "smithy.api#documentation": "

The number of tasks in the task list.

", "smithy.api#required": {} } }, "truncated": { "target": "com.amazonaws.swf#Truncated", "traits": { "smithy.api#documentation": "

If set to true, indicates that the actual count was more than the maximum supported by this API and the count returned is the truncated value.

" } } }, "traits": { "smithy.api#documentation": "

Contains the count of tasks in a task list.

" } }, "com.amazonaws.swf#PollForActivityTask": { "type": "operation", "input": { "target": "com.amazonaws.swf#PollForActivityTaskInput" }, "output": { "target": "com.amazonaws.swf#ActivityTask" }, "errors": [ { "target": "com.amazonaws.swf#LimitExceededFault" }, { "target": "com.amazonaws.swf#OperationNotPermittedFault" }, { "target": "com.amazonaws.swf#UnknownResourceFault" } ], "traits": { "smithy.api#documentation": "

Used by workers to get an ActivityTask from the specified activity\n taskList. This initiates a long poll, where the service holds the HTTP\n connection open and responds as soon as a task becomes available. The maximum time the service\n holds on to the request before responding is 60 seconds. If no task is available within 60\n seconds, the poll returns an empty result. An empty result, in this context, means that an\n ActivityTask is returned, but that the value of taskToken is an empty string. If a task is\n returned, the worker should use its type to identify and process it correctly.

\n \n

Workers should set their client side socket timeout to at least 70 seconds (10\n seconds higher than the maximum time service may hold the poll request).

\n
\n

\n Access Control\n

\n

You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:

\n \n

If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause parameter is set to OPERATION_NOT_PERMITTED.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.

" } }, "com.amazonaws.swf#PollForActivityTaskInput": { "type": "structure", "members": { "domain": { "target": "com.amazonaws.swf#DomainName", "traits": { "smithy.api#documentation": "

The name of the domain that contains the task lists being polled.

", "smithy.api#required": {} } }, "taskList": { "target": "com.amazonaws.swf#TaskList", "traits": { "smithy.api#documentation": "

Specifies the task list to poll for activity tasks.

\n \n

The specified string must not start or end with whitespace. It must not contain a\n : (colon), / (slash), | (vertical bar), or any\n control characters (\\u0000-\\u001f | \\u007f-\\u009f). Also, it must\n not be the literal string arn.

", "smithy.api#required": {} } }, "identity": { "target": "com.amazonaws.swf#Identity", "traits": { "smithy.api#documentation": "

Identity of the worker making the request, recorded in the\n ActivityTaskStarted event in the workflow history. This enables diagnostic\n tracing when problems arise. The form of this identity is user defined.

" } } } }, "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": "

Used by deciders to get a DecisionTask from the specified decision\n taskList. A decision task may be returned for any open workflow execution that\n is using the specified task list. The task includes a paginated view of the history of the\n workflow execution. The decider should use the workflow type and the history to determine how\n to properly handle the task.

\n

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.

\n \n

Deciders should set their client side socket timeout to at least 70 seconds (10\n seconds higher than the timeout).

\n
\n \n

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 PollForDecisionTask using the\n nextPageToken returned by the initial call. Note that you do\n not call GetWorkflowExecutionHistory with this\n nextPageToken. Instead, call PollForDecisionTask\n again.

\n
\n

\n Access Control\n

\n

You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:

\n \n

If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause parameter is set to OPERATION_NOT_PERMITTED.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.

", "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": "

The name of the domain containing the task lists to poll.

", "smithy.api#required": {} } }, "taskList": { "target": "com.amazonaws.swf#TaskList", "traits": { "smithy.api#documentation": "

Specifies the task list to poll for decision tasks.

\n \n

The specified string must not start or end with whitespace. It must not contain a\n : (colon), / (slash), | (vertical bar), or any\n control characters (\\u0000-\\u001f | \\u007f-\\u009f). Also, it must\n not be the literal string arn.

", "smithy.api#required": {} } }, "identity": { "target": "com.amazonaws.swf#Identity", "traits": { "smithy.api#documentation": "

Identity of the decider making the request, which is recorded in the\n DecisionTaskStarted event in the workflow history. This enables diagnostic tracing when\n problems arise. The form of this identity is user defined.

" } }, "nextPageToken": { "target": "com.amazonaws.swf#PageToken", "traits": { "smithy.api#documentation": "

If NextPageToken is returned there are more results\n available. The value of NextPageToken is a unique pagination token for each page. Make the call again using \n the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires \n after 60 seconds. Using an expired pagination token will return a 400 error: \"Specified token has \n exceeded its maximum lifetime\".

\n \n

The configured maximumPageSize determines how many results can be returned\n in a single call.

\n \n

The nextPageToken returned by this action cannot be used with GetWorkflowExecutionHistory to get the next page. You must call PollForDecisionTask again (with the nextPageToken) to retrieve\n the next page of history records. Calling PollForDecisionTask with a\n nextPageToken doesn't return a new decision task.

\n
" } }, "maximumPageSize": { "target": "com.amazonaws.swf#PageSize", "traits": { "smithy.api#documentation": "

The maximum number of results that are returned per call.\n Use nextPageToken to obtain further pages of results.

\n

This\n is an upper limit only; the actual number of results returned per call may be fewer than the\n specified maximum.

" } }, "reverseOrder": { "target": "com.amazonaws.swf#ReverseOrder", "traits": { "smithy.api#documentation": "

When set to true, returns the events in reverse order. By default the\n results are returned in ascending order of the eventTimestamp of the\n events.

" } } } }, "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": "

Used by activity workers to report to the service that the ActivityTask represented by the specified taskToken is still making progress. The worker\n can also specify details of the progress, for example percent complete, using the\n details parameter. This action can also be used by the worker as a mechanism to\n check if cancellation is being requested for the activity task. If a cancellation is being\n attempted for the specified task, then the boolean cancelRequested flag returned\n by the service is set to true.

\n

This action resets the taskHeartbeatTimeout clock. The\n taskHeartbeatTimeout is specified in RegisterActivityType.

\n

This action doesn't in itself create an event in the workflow execution history.\n However, if the task times out, the workflow execution history contains a\n ActivityTaskTimedOut event that contains the information from the last\n heartbeat generated by the activity worker.

\n \n

The taskStartToCloseTimeout of an activity type is the maximum duration\n of an activity task, regardless of the number of RecordActivityTaskHeartbeat requests received. The taskStartToCloseTimeout is also specified in RegisterActivityType.

\n
\n \n

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.

\n
\n \n

If the cancelRequested flag returns true, a cancellation is\n being attempted. If the worker can cancel the activity, it should respond with RespondActivityTaskCanceled. Otherwise, it should ignore the cancellation\n request.

\n
\n

\n Access Control\n

\n

You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:

\n \n

If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause parameter is set to OPERATION_NOT_PERMITTED.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.

" } }, "com.amazonaws.swf#RecordActivityTaskHeartbeatInput": { "type": "structure", "members": { "taskToken": { "target": "com.amazonaws.swf#TaskToken", "traits": { "smithy.api#documentation": "

The taskToken of the ActivityTask.

\n \n

\n taskToken is generated by the service and should be treated as an opaque value.\n If the task is passed to another process, its taskToken must also be passed.\n This enables it to provide its progress and respond with results.

\n
", "smithy.api#required": {} } }, "details": { "target": "com.amazonaws.swf#LimitedData", "traits": { "smithy.api#documentation": "

If specified, contains details about the progress of the task.

" } } } }, "com.amazonaws.swf#RecordMarkerDecisionAttributes": { "type": "structure", "members": { "markerName": { "target": "com.amazonaws.swf#MarkerName", "traits": { "smithy.api#documentation": "

\n The name of the marker.

", "smithy.api#required": {} } }, "details": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "

\n The details of the marker.

" } } }, "traits": { "smithy.api#documentation": "

Provides the details of the RecordMarker decision.

\n

\n Access Control\n

\n

You can use IAM policies to control this decision's access to Amazon SWF resources as follows:

\n \n

If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated event attribute's\n cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see\n Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

" } }, "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": "

The marker's name.

", "smithy.api#required": {} } }, "cause": { "target": "com.amazonaws.swf#RecordMarkerFailedCause", "traits": { "smithy.api#documentation": "

The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.

\n \n

If cause is set to OPERATION_NOT_PERMITTED, the decision failed\n because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows\n in the Amazon SWF Developer Guide.

\n
", "smithy.api#required": {} } }, "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n RecordMarkerFailed decision for this cancellation request. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Provides the details of the RecordMarkerFailed event.

" } }, "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": "

Registers a new activity type along with its configuration\n settings in the specified domain.

\n \n

A TypeAlreadyExists fault is returned if the type already exists in the\n domain. You cannot change any configuration settings of the type after its registration, and\n it must be registered as a new version.

\n
\n

\n Access Control\n

\n

You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:

\n \n

If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause parameter is set to OPERATION_NOT_PERMITTED.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.

" } }, "com.amazonaws.swf#RegisterActivityTypeInput": { "type": "structure", "members": { "domain": { "target": "com.amazonaws.swf#DomainName", "traits": { "smithy.api#documentation": "

The name of the domain in which this activity is to be registered.

", "smithy.api#required": {} } }, "name": { "target": "com.amazonaws.swf#Name", "traits": { "smithy.api#documentation": "

The name of the activity type within the domain.

\n \n

The specified string must not start or end with whitespace. It must not contain a\n : (colon), / (slash), | (vertical bar), or any\n control characters (\\u0000-\\u001f | \\u007f-\\u009f). Also, it must\n not be the literal string arn.

", "smithy.api#required": {} } }, "version": { "target": "com.amazonaws.swf#Version", "traits": { "smithy.api#documentation": "

The version of the activity type.

\n \n

The activity type consists of the name and version, the combination of which must be\n unique within the domain.

\n
\n \n

The specified string must not start or end with whitespace. It must not contain a\n : (colon), / (slash), | (vertical bar), or any\n control characters (\\u0000-\\u001f | \\u007f-\\u009f). Also, it must\n not be the literal string arn.

", "smithy.api#required": {} } }, "description": { "target": "com.amazonaws.swf#Description", "traits": { "smithy.api#documentation": "

A textual description of the activity type.

" } }, "defaultTaskStartToCloseTimeout": { "target": "com.amazonaws.swf#DurationInSecondsOptional", "traits": { "smithy.api#documentation": "

If set, specifies the default maximum duration that a worker can take to process tasks\n of this activity type. This default can be overridden when scheduling an activity task using\n the ScheduleActivityTask\n Decision.

\n

The duration is specified in seconds, an integer greater than or equal to\n 0. You can use NONE to specify unlimited duration.

" } }, "defaultTaskHeartbeatTimeout": { "target": "com.amazonaws.swf#DurationInSecondsOptional", "traits": { "smithy.api#documentation": "

If set, specifies the default maximum time before which a worker processing a task of\n this type must report progress by calling RecordActivityTaskHeartbeat. If\n the timeout is exceeded, the activity task is automatically timed out. This default can be\n overridden when scheduling an activity task using the ScheduleActivityTask\n Decision. If the activity worker subsequently attempts to record a heartbeat\n or returns a result, the activity worker receives an UnknownResource fault. In\n this case, Amazon SWF no longer considers the activity task to be valid; the activity worker should\n clean up the activity task.

\n

The duration is specified in seconds, an integer greater than or equal to\n 0. You can use NONE to specify unlimited duration.

" } }, "defaultTaskList": { "target": "com.amazonaws.swf#TaskList", "traits": { "smithy.api#documentation": "

If set, specifies the default task list to use for scheduling tasks of this activity\n type. This default task list is used if a task list isn't provided when a task is scheduled\n through the ScheduleActivityTask\n Decision.

" } }, "defaultTaskPriority": { "target": "com.amazonaws.swf#TaskPriority", "traits": { "smithy.api#documentation": "

The default task priority to assign to the activity type. If not assigned, then\n 0 is used. Valid values are integers that range from Java's\n Integer.MIN_VALUE (-2147483648) to Integer.MAX_VALUE (2147483647).\n Higher numbers indicate higher priority.

\n

For more information about setting task priority, see Setting Task\n Priority in the in the\n Amazon SWF Developer Guide..

" } }, "defaultTaskScheduleToStartTimeout": { "target": "com.amazonaws.swf#DurationInSecondsOptional", "traits": { "smithy.api#documentation": "

If set, specifies the default maximum duration that a task of this activity type can\n wait before being assigned to a worker. This default can be overridden when scheduling an\n activity task using the ScheduleActivityTask\n Decision.

\n

The duration is specified in seconds, an integer greater than or equal to\n 0. You can use NONE to specify unlimited duration.

" } }, "defaultTaskScheduleToCloseTimeout": { "target": "com.amazonaws.swf#DurationInSecondsOptional", "traits": { "smithy.api#documentation": "

If set, specifies the default maximum duration for a task of this activity type. This\n default can be overridden when scheduling an activity task using the\n ScheduleActivityTask\n Decision.

\n

The duration is specified in seconds, an integer greater than or equal to\n 0. You can use NONE to specify unlimited duration.

" } } } }, "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": "

Registers a new domain.

\n

\n Access Control\n

\n

You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:

\n \n

If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause parameter is set to OPERATION_NOT_PERMITTED.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.

" } }, "com.amazonaws.swf#RegisterDomainInput": { "type": "structure", "members": { "name": { "target": "com.amazonaws.swf#DomainName", "traits": { "smithy.api#documentation": "

Name of the domain to register. The name must be unique in the region that the domain\n is registered in.

\n \n

The specified string must not start or end with whitespace. It must not contain a\n : (colon), / (slash), | (vertical bar), or any\n control characters (\\u0000-\\u001f | \\u007f-\\u009f). Also, it must\n not be the literal string arn.

", "smithy.api#required": {} } }, "description": { "target": "com.amazonaws.swf#Description", "traits": { "smithy.api#documentation": "

A text description of the domain.

" } }, "workflowExecutionRetentionPeriodInDays": { "target": "com.amazonaws.swf#DurationInDays", "traits": { "smithy.api#documentation": "

The duration (in days) that records and histories of workflow executions on the domain\n should be kept by the service. After the retention period, the workflow execution isn't\n available in the results of visibility calls.

\n

If you pass the value NONE or 0 (zero), then the workflow\n execution history isn't retained. As soon as the workflow execution completes, the execution\n record and its history are deleted.

\n

The maximum workflow execution retention period is 90 days. For more information about\n Amazon SWF service limits, see: Amazon SWF Service Limits in the\n Amazon SWF Developer Guide.

", "smithy.api#required": {} } }, "tags": { "target": "com.amazonaws.swf#ResourceTagList", "traits": { "smithy.api#documentation": "

Tags to be added when registering a domain.

\n

Tags may only contain unicode letters, digits, whitespace, or these symbols: _ . : / = + - @.

" } } } }, "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": "

Registers a new workflow type and its configuration settings in\n the specified domain.

\n

The retention period for the workflow history is set by the RegisterDomain action.

\n \n

If the type already exists, then a TypeAlreadyExists fault is returned.\n You cannot change the configuration settings of a workflow type once it is registered and it\n must be registered as a new version.

\n
\n

\n Access Control\n

\n

You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:

\n \n

If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause parameter is set to OPERATION_NOT_PERMITTED.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.

" } }, "com.amazonaws.swf#RegisterWorkflowTypeInput": { "type": "structure", "members": { "domain": { "target": "com.amazonaws.swf#DomainName", "traits": { "smithy.api#documentation": "

The name of the domain in which to register the workflow type.

", "smithy.api#required": {} } }, "name": { "target": "com.amazonaws.swf#Name", "traits": { "smithy.api#documentation": "

The name of the workflow type.

\n \n

The specified string must not start or end with whitespace. It must not contain a\n : (colon), / (slash), | (vertical bar), or any\n control characters (\\u0000-\\u001f | \\u007f-\\u009f). Also, it must\n not be the literal string arn.

", "smithy.api#required": {} } }, "version": { "target": "com.amazonaws.swf#Version", "traits": { "smithy.api#documentation": "

The version of the workflow type.

\n \n

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 ListWorkflowTypes action.

\n
\n \n

The specified string must not start or end with whitespace. It must not contain a\n : (colon), / (slash), | (vertical bar), or any\n control characters (\\u0000-\\u001f | \\u007f-\\u009f). Also, it must\n not be the literal string arn.

", "smithy.api#required": {} } }, "description": { "target": "com.amazonaws.swf#Description", "traits": { "smithy.api#documentation": "

Textual description of the workflow type.

" } }, "defaultTaskStartToCloseTimeout": { "target": "com.amazonaws.swf#DurationInSecondsOptional", "traits": { "smithy.api#documentation": "

If set, specifies the default maximum duration of decision tasks for this workflow\n type. This default can be overridden when starting a workflow execution using the StartWorkflowExecution action or the StartChildWorkflowExecution\n Decision.

\n

The duration is specified in seconds, an integer greater than or equal to\n 0. You can use NONE to specify unlimited duration.

" } }, "defaultExecutionStartToCloseTimeout": { "target": "com.amazonaws.swf#DurationInSecondsOptional", "traits": { "smithy.api#documentation": "

If set, specifies the default maximum duration for executions of this workflow type.\n You can override this default when starting an execution through the StartWorkflowExecution Action or StartChildWorkflowExecution\n Decision.

\n\n

The duration is specified in seconds; an integer greater than or equal to 0. Unlike\n some of the other timeout parameters in Amazon SWF, you cannot specify a value of \"NONE\" for\n defaultExecutionStartToCloseTimeout; there is a one-year max limit on the time\n that a workflow execution can run. Exceeding this limit always causes the workflow execution\n to time out.

" } }, "defaultTaskList": { "target": "com.amazonaws.swf#TaskList", "traits": { "smithy.api#documentation": "

If set, specifies the default task list to use for scheduling decision tasks for\n executions of this workflow type. This default is used only if a task list isn't provided when\n starting the execution through the StartWorkflowExecution Action or\n StartChildWorkflowExecution\n Decision.

" } }, "defaultTaskPriority": { "target": "com.amazonaws.swf#TaskPriority", "traits": { "smithy.api#documentation": "

The default task priority to assign to the workflow type. If not assigned, then\n 0 is used. Valid values are integers that range from Java's\n Integer.MIN_VALUE (-2147483648) to Integer.MAX_VALUE (2147483647).\n Higher numbers indicate higher priority.

\n

For more information about setting task priority, see Setting Task\n Priority in the Amazon SWF Developer Guide.

" } }, "defaultChildPolicy": { "target": "com.amazonaws.swf#ChildPolicy", "traits": { "smithy.api#documentation": "

If set, specifies the default policy to use for the child workflow executions when a\n workflow execution of this type is terminated, by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout. This\n default can be overridden when starting a workflow execution using the StartWorkflowExecution action or the StartChildWorkflowExecution\n Decision.

\n

The supported child policies are:

\n " } }, "defaultLambdaRole": { "target": "com.amazonaws.swf#Arn", "traits": { "smithy.api#documentation": "

The default IAM role attached to this workflow type.

\n \n

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 https://docs.aws.amazon.com/amazonswf/latest/developerguide/lambda-task.html in the\n Amazon SWF Developer Guide.

\n
" } } } }, "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": "

The activityId of the activity task to be canceled.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Provides the details of the RequestCancelActivityTask decision.

\n

\n Access Control\n

\n

You can use IAM policies to control this decision's access to Amazon SWF resources as follows:

\n \n

If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated event attribute's\n cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see\n Using IAM to Manage Access to Amazon SWF Workflows\n in the Amazon SWF Developer Guide.

" } }, "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": "

The activityId provided in the RequestCancelActivityTask decision that failed.

", "smithy.api#required": {} } }, "cause": { "target": "com.amazonaws.swf#RequestCancelActivityTaskFailedCause", "traits": { "smithy.api#documentation": "

The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.

\n \n

If cause is set to OPERATION_NOT_PERMITTED, the decision failed\n because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows\n in the Amazon SWF Developer Guide.

\n
", "smithy.api#required": {} } }, "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n RequestCancelActivityTask decision for this cancellation request. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Provides the details of the RequestCancelActivityTaskFailed event.

" } }, "com.amazonaws.swf#RequestCancelExternalWorkflowExecutionDecisionAttributes": { "type": "structure", "members": { "workflowId": { "target": "com.amazonaws.swf#WorkflowId", "traits": { "smithy.api#documentation": "

\n The workflowId of the external workflow execution to cancel.

", "smithy.api#required": {} } }, "runId": { "target": "com.amazonaws.swf#WorkflowRunIdOptional", "traits": { "smithy.api#documentation": "

The runId of the external workflow execution to cancel.

" } }, "control": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "

The data attached to the event that can be used by the decider in subsequent workflow tasks.

" } } }, "traits": { "smithy.api#documentation": "

Provides the details of the RequestCancelExternalWorkflowExecution decision.

\n

\n Access Control\n

\n

You can use IAM policies to control this decision's access to Amazon SWF resources as follows:

\n \n

If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated event attribute's\n cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see\n Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

" } }, "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": "

The workflowId of the external workflow to which the cancel request was to be delivered.

", "smithy.api#required": {} } }, "runId": { "target": "com.amazonaws.swf#WorkflowRunIdOptional", "traits": { "smithy.api#documentation": "

The runId of the external workflow execution.

" } }, "cause": { "target": "com.amazonaws.swf#RequestCancelExternalWorkflowExecutionFailedCause", "traits": { "smithy.api#documentation": "

The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.

\n \n

If cause is set to OPERATION_NOT_PERMITTED, the decision failed\n because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows\n in the Amazon SWF Developer Guide.

\n
", "smithy.api#required": {} } }, "initiatedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "

The ID of the RequestCancelExternalWorkflowExecutionInitiated event corresponding to the\n RequestCancelExternalWorkflowExecution decision to cancel this external workflow execution. This\n information can be useful for diagnosing problems by tracing back the chain of events leading up to this\n event.

", "smithy.api#required": {} } }, "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n RequestCancelExternalWorkflowExecution decision for this cancellation request. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } }, "control": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "

The data attached to the event that the decider can use in subsequent workflow tasks.\n This data isn't sent to the workflow execution.

" } } }, "traits": { "smithy.api#documentation": "

Provides the details of the RequestCancelExternalWorkflowExecutionFailed event.

" } }, "com.amazonaws.swf#RequestCancelExternalWorkflowExecutionInitiatedEventAttributes": { "type": "structure", "members": { "workflowId": { "target": "com.amazonaws.swf#WorkflowId", "traits": { "smithy.api#documentation": "

The workflowId of the external workflow execution to be canceled.

", "smithy.api#required": {} } }, "runId": { "target": "com.amazonaws.swf#WorkflowRunIdOptional", "traits": { "smithy.api#documentation": "

The runId of the external workflow execution to be canceled.

" } }, "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n RequestCancelExternalWorkflowExecution decision for this cancellation request.\n This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } }, "control": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "

Data attached to the event that can be used by the decider in subsequent workflow tasks.

" } } }, "traits": { "smithy.api#documentation": "

Provides the details of the RequestCancelExternalWorkflowExecutionInitiated event.

" } }, "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": "

Records a WorkflowExecutionCancelRequested event in the currently running\n workflow execution identified by the given domain, workflowId, and runId. This logically\n requests the cancellation of the workflow execution as a whole. It is up to the decider to\n take appropriate actions when it receives an execution history with this event.

\n\n \n

If the runId isn't specified, the WorkflowExecutionCancelRequested event\n is recorded in the history of the current open workflow execution with the specified\n workflowId in the domain.

\n
\n\n \n

Because this action allows the workflow to properly clean up and gracefully close, it\n should be used instead of TerminateWorkflowExecution when\n possible.

\n
\n

\n Access Control\n

\n

You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:

\n \n

If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause parameter is set to OPERATION_NOT_PERMITTED.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.

" } }, "com.amazonaws.swf#RequestCancelWorkflowExecutionInput": { "type": "structure", "members": { "domain": { "target": "com.amazonaws.swf#DomainName", "traits": { "smithy.api#documentation": "

The name of the domain containing the workflow execution to cancel.

", "smithy.api#required": {} } }, "workflowId": { "target": "com.amazonaws.swf#WorkflowId", "traits": { "smithy.api#documentation": "

The workflowId of the workflow execution to cancel.

", "smithy.api#required": {} } }, "runId": { "target": "com.amazonaws.swf#WorkflowRunIdOptional", "traits": { "smithy.api#documentation": "

The runId of the workflow execution to cancel.

" } } } }, "com.amazonaws.swf#ResourceTag": { "type": "structure", "members": { "key": { "target": "com.amazonaws.swf#ResourceTagKey", "traits": { "smithy.api#documentation": "

The key of a tag.

", "smithy.api#required": {} } }, "value": { "target": "com.amazonaws.swf#ResourceTagValue", "traits": { "smithy.api#documentation": "

The value of a tag.

" } } }, "traits": { "smithy.api#documentation": "

Tags are key-value pairs that can be associated with Amazon SWF state machines and\n activities.

\n

Tags may only contain unicode letters, digits, whitespace, or these symbols: _ . : / = + - @.

" } }, "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": "

Used by workers to tell the service that the ActivityTask identified\n by the taskToken was successfully canceled. Additional details can\n be provided using the details argument.

\n\n

These details (if provided) appear in the\n ActivityTaskCanceled event added to the workflow history.

\n\n \n

Only use this operation if the canceled flag of a RecordActivityTaskHeartbeat request returns true and if the\n activity can be safely undone or abandoned.

\n
\n\n

A task is considered open from the time that it is scheduled until it is closed.\n Therefore a task is reported as open while a worker is processing it. A task is closed after\n it has been specified in a call to RespondActivityTaskCompleted,\n RespondActivityTaskCanceled, RespondActivityTaskFailed, or the task has\n timed\n out.

\n\n

\n Access Control\n

\n

You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:

\n \n

If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause parameter is set to OPERATION_NOT_PERMITTED.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.

" } }, "com.amazonaws.swf#RespondActivityTaskCanceledInput": { "type": "structure", "members": { "taskToken": { "target": "com.amazonaws.swf#TaskToken", "traits": { "smithy.api#documentation": "

The taskToken of the ActivityTask.

\n \n

\n taskToken is generated by the service and should be treated as an opaque value.\n If the task is passed to another process, its taskToken must also be passed.\n This enables it to provide its progress and respond with results.

\n
", "smithy.api#required": {} } }, "details": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "

Information about the cancellation.

" } } } }, "com.amazonaws.swf#RespondActivityTaskCompleted": { "type": "operation", "input": { "target": "com.amazonaws.swf#RespondActivityTaskCompletedInput" }, "errors": [ { "target": "com.amazonaws.swf#OperationNotPermittedFault" }, { "target": "com.amazonaws.swf#UnknownResourceFault" } ], "traits": { "smithy.api#documentation": "

Used by workers to tell the service that the ActivityTask identified\n by the taskToken completed successfully with a result (if provided).\n The result appears in the ActivityTaskCompleted event in the\n workflow history.

\n\n \n

If the requested task doesn't complete successfully, use RespondActivityTaskFailed instead. If the worker finds that the task is\n canceled through the canceled flag returned by RecordActivityTaskHeartbeat, it should cancel the task, clean up and then call\n RespondActivityTaskCanceled.

\n
\n\n

A task is considered open from the time that it is scheduled until it is closed.\n Therefore a task is reported as open while a worker is processing it. A task is closed after\n it has been specified in a call to RespondActivityTaskCompleted, RespondActivityTaskCanceled, RespondActivityTaskFailed, or the\n task has timed\n out.

\n\n

\n Access Control\n

\n

You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:

\n \n

If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause parameter is set to OPERATION_NOT_PERMITTED.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.

" } }, "com.amazonaws.swf#RespondActivityTaskCompletedInput": { "type": "structure", "members": { "taskToken": { "target": "com.amazonaws.swf#TaskToken", "traits": { "smithy.api#documentation": "

The taskToken of the ActivityTask.

\n \n

\n taskToken is generated by the service and should be treated as an opaque value.\n If the task is passed to another process, its taskToken must also be passed.\n This enables it to provide its progress and respond with results.

\n
", "smithy.api#required": {} } }, "result": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "

The result of the activity task. It is a free form string that is implementation\n specific.

" } } } }, "com.amazonaws.swf#RespondActivityTaskFailed": { "type": "operation", "input": { "target": "com.amazonaws.swf#RespondActivityTaskFailedInput" }, "errors": [ { "target": "com.amazonaws.swf#OperationNotPermittedFault" }, { "target": "com.amazonaws.swf#UnknownResourceFault" } ], "traits": { "smithy.api#documentation": "

Used by workers to tell the service that the ActivityTask identified\n by the taskToken has failed with reason (if specified). The\n reason and details appear in the ActivityTaskFailed\n event added to the workflow history.

\n\n

A task is considered open from the time that it is scheduled until it is closed.\n Therefore a task is reported as open while a worker is processing it. A task is closed after\n it has been specified in a call to RespondActivityTaskCompleted, RespondActivityTaskCanceled, RespondActivityTaskFailed, or the task has timed\n out.

\n\n

\n Access Control\n

\n

You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:

\n \n

If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause parameter is set to OPERATION_NOT_PERMITTED.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.

" } }, "com.amazonaws.swf#RespondActivityTaskFailedInput": { "type": "structure", "members": { "taskToken": { "target": "com.amazonaws.swf#TaskToken", "traits": { "smithy.api#documentation": "

The taskToken of the ActivityTask.

\n\n \n

\n taskToken is generated by the service and should be treated as an opaque value.\n If the task is passed to another process, its taskToken must also be passed.\n This enables it to provide its progress and respond with results.

\n
", "smithy.api#required": {} } }, "reason": { "target": "com.amazonaws.swf#FailureReason", "traits": { "smithy.api#documentation": "

Description of the error that may assist in diagnostics.

" } }, "details": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "

Detailed information about the failure.

" } } } }, "com.amazonaws.swf#RespondDecisionTaskCompleted": { "type": "operation", "input": { "target": "com.amazonaws.swf#RespondDecisionTaskCompletedInput" }, "errors": [ { "target": "com.amazonaws.swf#OperationNotPermittedFault" }, { "target": "com.amazonaws.swf#UnknownResourceFault" } ], "traits": { "smithy.api#documentation": "

Used by deciders to tell the service that the DecisionTask identified\n by the taskToken has successfully completed. The decisions argument\n specifies the list of decisions made while processing the task.

\n\n

A DecisionTaskCompleted event is added to the workflow history. The\n executionContext specified is attached to the event in the workflow execution\n history.

\n\n

\n Access Control\n

\n\n

If an IAM policy grants permission to use RespondDecisionTaskCompleted, it\n can express permissions for the list of decisions in the decisions parameter.\n Each of the decisions has one or more parameters, much like a regular API call. To allow for\n policies to be as readable as possible, you can express permissions on decisions as if they\n were actual API calls, including applying conditions to some parameters. For more information,\n see Using\n IAM to Manage Access to Amazon SWF Workflows in the\n Amazon SWF Developer Guide.

" } }, "com.amazonaws.swf#RespondDecisionTaskCompletedInput": { "type": "structure", "members": { "taskToken": { "target": "com.amazonaws.swf#TaskToken", "traits": { "smithy.api#documentation": "

The taskToken from the DecisionTask.

\n \n

\n taskToken is generated by the service and should be treated as an opaque value.\n If the task is passed to another process, its taskToken must also be passed.\n This enables it to provide its progress and respond with results.

\n
", "smithy.api#required": {} } }, "decisions": { "target": "com.amazonaws.swf#DecisionList", "traits": { "smithy.api#documentation": "

The list of decisions (possibly empty) made by the decider while processing this\n decision task. See the docs for the Decision structure for\n details.

" } }, "executionContext": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "

User defined context to add to workflow execution.

" } } }, "traits": { "smithy.api#documentation": "

Input data for a TaskCompleted response to a decision task.

" } }, "com.amazonaws.swf#ReverseOrder": { "type": "boolean" }, "com.amazonaws.swf#Run": { "type": "structure", "members": { "runId": { "target": "com.amazonaws.swf#WorkflowRunId", "traits": { "smithy.api#documentation": "

The runId of a workflow execution. This ID is generated by the service and\n can be used to uniquely identify the workflow execution within a domain.

" } } }, "traits": { "smithy.api#documentation": "

Specifies the runId of a workflow execution.

" } }, "com.amazonaws.swf#ScheduleActivityTaskDecisionAttributes": { "type": "structure", "members": { "activityType": { "target": "com.amazonaws.swf#ActivityType", "traits": { "smithy.api#documentation": "

\n The type of the activity task to schedule.

", "smithy.api#required": {} } }, "activityId": { "target": "com.amazonaws.swf#ActivityId", "traits": { "smithy.api#documentation": "

\n The activityId of the activity task.

\n

The specified string must not start or end with whitespace. It must not contain a :\n (colon), / (slash), | (vertical bar), or any control characters (\\u0000-\\u001f | \\u007f-\\u009f). Also, it must not contain the literal string arn.

", "smithy.api#required": {} } }, "control": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "

Data attached to the event that can be used by the decider in subsequent workflow tasks. This data isn't sent to the activity.

" } }, "input": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "

The input provided to the activity task.

" } }, "scheduleToCloseTimeout": { "target": "com.amazonaws.swf#DurationInSecondsOptional", "traits": { "smithy.api#documentation": "

The maximum duration for this activity task.

\n

The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

\n \n

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.

\n
" } }, "taskList": { "target": "com.amazonaws.swf#TaskList", "traits": { "smithy.api#documentation": "

If set, specifies the name of the task list in which to schedule the activity task. If not specified, the\n defaultTaskList registered with the activity type is used.

\n \n

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.

\n
\n

The specified string must not start or end with whitespace. It must not contain a :\n (colon), / (slash), | (vertical bar), or any control characters (\\u0000-\\u001f | \\u007f-\\u009f). Also, it must not contain the literal string arn.

" } }, "taskPriority": { "target": "com.amazonaws.swf#TaskPriority", "traits": { "smithy.api#documentation": "

\n If set, specifies the priority with which the activity task is to be assigned to a worker. This\n overrides the defaultTaskPriority specified when registering the activity type using RegisterActivityType.\n Valid values are integers that range from Java's Integer.MIN_VALUE\n (-2147483648) to Integer.MAX_VALUE (2147483647). Higher numbers indicate higher priority.

\n

For more information about setting task priority, see Setting Task Priority in the Amazon SWF Developer Guide.

" } }, "scheduleToStartTimeout": { "target": "com.amazonaws.swf#DurationInSecondsOptional", "traits": { "smithy.api#documentation": "

\n If set, specifies the maximum duration the activity task can wait to be assigned to a worker.\n This overrides the default schedule-to-start timeout specified when registering the activity type using\n RegisterActivityType.

\n

The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

\n \n

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.

\n
" } }, "startToCloseTimeout": { "target": "com.amazonaws.swf#DurationInSecondsOptional", "traits": { "smithy.api#documentation": "

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 RegisterActivityType.

\n

The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

\n \n

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.

\n
" } }, "heartbeatTimeout": { "target": "com.amazonaws.swf#DurationInSecondsOptional", "traits": { "smithy.api#documentation": "

If set, specifies the maximum time before which a worker processing a task of this type must report progress by\n calling RecordActivityTaskHeartbeat. If the timeout is exceeded, the activity task is automatically timed\n out. If the worker subsequently attempts to record a heartbeat or returns a result, it is ignored. This\n overrides the default heartbeat timeout specified when registering the activity type using\n RegisterActivityType.

\n

The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

" } } }, "traits": { "smithy.api#documentation": "

Provides the details of the ScheduleActivityTask decision.

\n

\n Access Control\n

\n

You can use IAM policies to control this decision's access to Amazon SWF resources as follows:

\n \n

If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated event attribute's\n cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see\n Using IAM to Manage Access to Amazon SWF Workflows\n in the Amazon SWF Developer Guide.

" } }, "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": "

The activity type provided in the ScheduleActivityTask decision that failed.

", "smithy.api#required": {} } }, "activityId": { "target": "com.amazonaws.swf#ActivityId", "traits": { "smithy.api#documentation": "

The activityId provided in the ScheduleActivityTask decision that failed.

", "smithy.api#required": {} } }, "cause": { "target": "com.amazonaws.swf#ScheduleActivityTaskFailedCause", "traits": { "smithy.api#documentation": "

The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.

\n \n

If cause is set to OPERATION_NOT_PERMITTED, the decision failed\n because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows\n in the Amazon SWF Developer Guide.

\n
", "smithy.api#required": {} } }, "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "

The ID of the DecisionTaskCompleted event corresponding to the decision that resulted in the\n scheduling of this activity task. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Provides the details of the ScheduleActivityTaskFailed event.

" } }, "com.amazonaws.swf#ScheduleLambdaFunctionDecisionAttributes": { "type": "structure", "members": { "id": { "target": "com.amazonaws.swf#FunctionId", "traits": { "smithy.api#documentation": "

A string that identifies the Lambda function execution in the event history.

", "smithy.api#required": {} } }, "name": { "target": "com.amazonaws.swf#FunctionName", "traits": { "smithy.api#documentation": "

The name, or ARN, of the Lambda function to schedule.

", "smithy.api#required": {} } }, "control": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "

The data attached to the event that the decider can use in subsequent workflow tasks.\n This data isn't sent to the Lambda task.

" } }, "input": { "target": "com.amazonaws.swf#FunctionInput", "traits": { "smithy.api#documentation": "

The optional input data to be supplied to the Lambda function.

" } }, "startToCloseTimeout": { "target": "com.amazonaws.swf#DurationInSecondsOptional", "traits": { "smithy.api#documentation": "

The timeout value, in seconds, after which the Lambda function is considered to be failed once it has started. This can be any integer from 1-300 (1s-5m). If no value is supplied, than a default value of 300s is assumed.

" } } }, "traits": { "smithy.api#documentation": "

Decision attributes specified in scheduleLambdaFunctionDecisionAttributes within the list of\n decisions decisions passed to RespondDecisionTaskCompleted.

" } }, "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": "

The ID provided in the ScheduleLambdaFunction decision that failed.\n

", "smithy.api#required": {} } }, "name": { "target": "com.amazonaws.swf#FunctionName", "traits": { "smithy.api#documentation": "

The name of the Lambda function.

", "smithy.api#required": {} } }, "cause": { "target": "com.amazonaws.swf#ScheduleLambdaFunctionFailedCause", "traits": { "smithy.api#documentation": "

The cause of the failure. To help diagnose issues, use this information to trace back the chain of events leading up to this event.

\n \n

If cause is set to OPERATION_NOT_PERMITTED, the decision\n failed because it lacked sufficient permissions. For details and example IAM policies, see\n Using\n IAM to Manage Access to Amazon SWF Workflows in the\n Amazon SWF Developer Guide.

\n
", "smithy.api#required": {} } }, "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "

The ID of the LambdaFunctionCompleted event corresponding to the decision\n that resulted in scheduling this Lambda task. To help diagnose issues, use this information to trace back the chain of events leading up to this event.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Provides the details of the ScheduleLambdaFunctionFailed event. It isn't\n set for other event types.

" } }, "com.amazonaws.swf#SignalExternalWorkflowExecutionDecisionAttributes": { "type": "structure", "members": { "workflowId": { "target": "com.amazonaws.swf#WorkflowId", "traits": { "smithy.api#documentation": "

\n The workflowId of the workflow execution to be signaled.

", "smithy.api#required": {} } }, "runId": { "target": "com.amazonaws.swf#WorkflowRunIdOptional", "traits": { "smithy.api#documentation": "

The runId of the workflow execution to be signaled.

" } }, "signalName": { "target": "com.amazonaws.swf#SignalName", "traits": { "smithy.api#documentation": "

\n The name of the signal.The target workflow execution uses the signal name and input to\n process the signal.

", "smithy.api#required": {} } }, "input": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "

\n The input data to be provided with the signal. The target workflow execution uses the signal\n name and input data to process the signal.

" } }, "control": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "

The data attached to the event that can be used by the decider in subsequent decision tasks.

" } } }, "traits": { "smithy.api#documentation": "

Provides the details of the SignalExternalWorkflowExecution decision.

\n

\n Access Control\n

\n

You can use IAM policies to control this decision's access to Amazon SWF resources as follows:

\n \n

If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated event attribute's\n cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see\n Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

" } }, "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": "

The workflowId of the external workflow execution that the signal was being delivered to.

", "smithy.api#required": {} } }, "runId": { "target": "com.amazonaws.swf#WorkflowRunIdOptional", "traits": { "smithy.api#documentation": "

The runId of the external workflow execution that the signal was being delivered to.

" } }, "cause": { "target": "com.amazonaws.swf#SignalExternalWorkflowExecutionFailedCause", "traits": { "smithy.api#documentation": "

The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.

\n \n

If cause is set to OPERATION_NOT_PERMITTED, the decision failed\n because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows\n in the Amazon SWF Developer Guide.

\n
", "smithy.api#required": {} } }, "initiatedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "

The ID of the SignalExternalWorkflowExecutionInitiated event corresponding to the\n SignalExternalWorkflowExecution decision to request this signal. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } }, "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n SignalExternalWorkflowExecution decision for this signal. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } }, "control": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "

The data attached to the event that the decider can use in subsequent workflow tasks.\n This data isn't sent to the workflow execution.

" } } }, "traits": { "smithy.api#documentation": "

Provides the details of the SignalExternalWorkflowExecutionFailed event.

" } }, "com.amazonaws.swf#SignalExternalWorkflowExecutionInitiatedEventAttributes": { "type": "structure", "members": { "workflowId": { "target": "com.amazonaws.swf#WorkflowId", "traits": { "smithy.api#documentation": "

The workflowId of the external workflow execution.

", "smithy.api#required": {} } }, "runId": { "target": "com.amazonaws.swf#WorkflowRunIdOptional", "traits": { "smithy.api#documentation": "

The runId of the external workflow execution to send the signal to.

" } }, "signalName": { "target": "com.amazonaws.swf#SignalName", "traits": { "smithy.api#documentation": "

The name of the signal.

", "smithy.api#required": {} } }, "input": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "

The input provided to the signal.

" } }, "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n SignalExternalWorkflowExecution decision for this signal. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } }, "control": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "

Data attached to the event that can be used by the decider in subsequent decision tasks.

" } } }, "traits": { "smithy.api#documentation": "

Provides the details of the SignalExternalWorkflowExecutionInitiated event.

" } }, "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": "

Records a WorkflowExecutionSignaled event in the workflow execution\n history and creates a decision task for the workflow execution identified by the given domain,\n workflowId and runId. The event is recorded with the specified user defined signalName and\n input (if provided).

\n\n \n

If a runId isn't specified, then the WorkflowExecutionSignaled event is\n recorded in the history of the current open workflow with the matching workflowId in the\n domain.

\n
\n\n \n

If the specified workflow execution isn't open, this method fails with\n UnknownResource.

\n
\n\n

\n Access Control\n

\n

You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:

\n \n

If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause parameter is set to OPERATION_NOT_PERMITTED.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.

" } }, "com.amazonaws.swf#SignalWorkflowExecutionInput": { "type": "structure", "members": { "domain": { "target": "com.amazonaws.swf#DomainName", "traits": { "smithy.api#documentation": "

The name of the domain containing the workflow execution to signal.

", "smithy.api#required": {} } }, "workflowId": { "target": "com.amazonaws.swf#WorkflowId", "traits": { "smithy.api#documentation": "

The workflowId of the workflow execution to signal.

", "smithy.api#required": {} } }, "runId": { "target": "com.amazonaws.swf#WorkflowRunIdOptional", "traits": { "smithy.api#documentation": "

The runId of the workflow execution to signal.

" } }, "signalName": { "target": "com.amazonaws.swf#SignalName", "traits": { "smithy.api#documentation": "

The name of the signal. This name must be meaningful to the target workflow.

", "smithy.api#required": {} } }, "input": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "

Data to attach to the WorkflowExecutionSignaled event in the target\n workflow execution's history.

" } } } }, "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": "Amazon Simple Workflow Service\n\n

The Amazon Simple Workflow Service (Amazon SWF) makes it easy to build applications that use Amazon's cloud to\n coordinate work across distributed components. In Amazon SWF, a task\n represents a logical unit of work that is performed by a component of your workflow.\n Coordinating tasks in a workflow involves managing intertask dependencies, scheduling, and \n concurrency in accordance with the logical flow of the application.

\n\n

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.

\n\n

This documentation serves as reference only. For a broader overview of the Amazon SWF\n programming model, see the \n Amazon SWF Developer Guide\n .

", "smithy.api#title": "Amazon Simple Workflow Service", "smithy.api#xmlNamespace": { "uri": "http://swf.amazonaws.com/doc/2012-01-25" } } }, "com.amazonaws.swf#StartChildWorkflowExecutionDecisionAttributes": { "type": "structure", "members": { "workflowType": { "target": "com.amazonaws.swf#WorkflowType", "traits": { "smithy.api#documentation": "

\n The type of the workflow execution to be started.

", "smithy.api#required": {} } }, "workflowId": { "target": "com.amazonaws.swf#WorkflowId", "traits": { "smithy.api#documentation": "

\n The workflowId of the workflow execution.

\n

The specified string must not start or end with whitespace. It must not contain a :\n (colon), / (slash), | (vertical bar), or any control characters (\\u0000-\\u001f | \\u007f-\\u009f). Also, it must not contain the literal string arn.

", "smithy.api#required": {} } }, "control": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "

The data attached to the event that can be used by the decider in subsequent workflow tasks. This data isn't sent to the child workflow execution.

" } }, "input": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "

The input to be provided to the workflow execution.

" } }, "executionStartToCloseTimeout": { "target": "com.amazonaws.swf#DurationInSecondsOptional", "traits": { "smithy.api#documentation": "

The total duration for this workflow execution. This overrides the defaultExecutionStartToCloseTimeout specified when registering the workflow type.

\n

The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

\n \n

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.

\n
" } }, "taskList": { "target": "com.amazonaws.swf#TaskList", "traits": { "smithy.api#documentation": "

The name of the task list to be used for decision tasks of the child workflow execution.

\n \n

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.

\n
\n

The specified string must not start or end with whitespace. It must not contain a :\n (colon), / (slash), | (vertical bar), or any control characters (\\u0000-\\u001f | \\u007f-\\u009f). Also, it must not contain the literal string arn.

" } }, "taskPriority": { "target": "com.amazonaws.swf#TaskPriority", "traits": { "smithy.api#documentation": "

\n A task priority that, if set, specifies the priority for a decision task of this workflow\n execution. This overrides the defaultTaskPriority specified when registering the workflow type.\n Valid values are integers that range from Java's Integer.MIN_VALUE\n (-2147483648) to Integer.MAX_VALUE (2147483647). Higher numbers indicate higher priority.

\n

For more information about setting task priority, see Setting Task Priority in the Amazon SWF Developer Guide.

" } }, "taskStartToCloseTimeout": { "target": "com.amazonaws.swf#DurationInSecondsOptional", "traits": { "smithy.api#documentation": "

Specifies the maximum duration of decision tasks for this workflow execution. This parameter overrides the\n defaultTaskStartToCloseTimout specified when registering the workflow type using\n RegisterWorkflowType.

\n

The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

\n \n

A task start-to-close timeout for this workflow execution must be specified either as a default for the workflow type or through this parameter. If neither this parameter is set nor a default task start-to-close timeout was specified at registration time then a fault is returned.

\n
" } }, "childPolicy": { "target": "com.amazonaws.swf#ChildPolicy", "traits": { "smithy.api#documentation": "

\n If set, specifies the policy to use for the child workflow executions if the workflow execution\n being started is terminated by calling the TerminateWorkflowExecution action explicitly or due to an\n expired timeout. This policy overrides the default child policy specified when registering the workflow type using\n RegisterWorkflowType.

\n

The supported child policies are:

\n \n \n

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.

\n
" } }, "tagList": { "target": "com.amazonaws.swf#TagList", "traits": { "smithy.api#documentation": "

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 ListOpenWorkflowExecutions or\n ListClosedWorkflowExecutions and specifying a TagFilter.

" } }, "lambdaRole": { "target": "com.amazonaws.swf#Arn", "traits": { "smithy.api#documentation": "

The IAM role attached to the child workflow execution.

" } } }, "traits": { "smithy.api#documentation": "

Provides the details of the StartChildWorkflowExecution decision.

\n

\n Access Control\n

\n

You can use IAM policies to control this decision's access to Amazon SWF resources as follows:

\n \n

If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated event attribute's\n cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see\n Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

" } }, "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": "

The workflow type provided in the StartChildWorkflowExecution \n Decision that failed.

", "smithy.api#required": {} } }, "cause": { "target": "com.amazonaws.swf#StartChildWorkflowExecutionFailedCause", "traits": { "smithy.api#documentation": "

The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.

\n \n

When cause is set to OPERATION_NOT_PERMITTED, the decision fails because it lacks sufficient permissions. \n For details and example IAM policies, see \n Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

\n
", "smithy.api#required": {} } }, "workflowId": { "target": "com.amazonaws.swf#WorkflowId", "traits": { "smithy.api#documentation": "

The workflowId of the child workflow execution.

", "smithy.api#required": {} } }, "initiatedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "

When the cause is WORKFLOW_ALREADY_RUNNING, initiatedEventId is the ID of the StartChildWorkflowExecutionInitiated\n event that corresponds to the StartChildWorkflowExecution \n Decision to start the workflow execution. You can use this information to diagnose\n problems by tracing back the chain of events leading up to this event.

\n

When the cause isn't WORKFLOW_ALREADY_RUNNING, initiatedEventId is set to 0 because the \n StartChildWorkflowExecutionInitiated event doesn't exist.

", "smithy.api#required": {} } }, "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the StartChildWorkflowExecution \n Decision to request this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events.

", "smithy.api#required": {} } }, "control": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "

The data attached to the event that the decider can use in subsequent workflow tasks.\n This data isn't sent to the child workflow execution.

" } } }, "traits": { "smithy.api#documentation": "

Provides the details of the StartChildWorkflowExecutionFailed event.

" } }, "com.amazonaws.swf#StartChildWorkflowExecutionInitiatedEventAttributes": { "type": "structure", "members": { "workflowId": { "target": "com.amazonaws.swf#WorkflowId", "traits": { "smithy.api#documentation": "

The workflowId of the child workflow execution.

", "smithy.api#required": {} } }, "workflowType": { "target": "com.amazonaws.swf#WorkflowType", "traits": { "smithy.api#documentation": "

The type of the child workflow execution.

", "smithy.api#required": {} } }, "control": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "

Data attached to the event that can be used by the decider in subsequent decision tasks. This data isn't sent to the activity.

" } }, "input": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "

The inputs provided to the child workflow execution.

" } }, "executionStartToCloseTimeout": { "target": "com.amazonaws.swf#DurationInSecondsOptional", "traits": { "smithy.api#documentation": "

The maximum duration for the child workflow execution. If the workflow execution isn't closed within this duration, it is timed out and force-terminated.

\n

The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

" } }, "taskList": { "target": "com.amazonaws.swf#TaskList", "traits": { "smithy.api#documentation": "

The name of the task list used for the decision tasks of the child workflow execution.

", "smithy.api#required": {} } }, "taskPriority": { "target": "com.amazonaws.swf#TaskPriority", "traits": { "smithy.api#documentation": "

\n The priority assigned for the decision tasks for this workflow execution.\n Valid values are integers that range from Java's Integer.MIN_VALUE\n (-2147483648) to Integer.MAX_VALUE (2147483647). Higher numbers indicate higher priority.

\n

For more information about setting task priority, see Setting Task Priority in the Amazon SWF Developer Guide.

" } }, "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n StartChildWorkflowExecution \n Decision to request this child workflow execution. This\n information can be useful for diagnosing problems by tracing back the cause of events.

", "smithy.api#required": {} } }, "childPolicy": { "target": "com.amazonaws.swf#ChildPolicy", "traits": { "smithy.api#documentation": "

The policy to use for the child workflow executions if this execution gets terminated by explicitly calling the\n TerminateWorkflowExecution action or due to an expired timeout.

\n

The supported child policies are:

\n ", "smithy.api#required": {} } }, "taskStartToCloseTimeout": { "target": "com.amazonaws.swf#DurationInSecondsOptional", "traits": { "smithy.api#documentation": "

The maximum duration allowed for the decision tasks for this workflow execution.

\n

The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

" } }, "tagList": { "target": "com.amazonaws.swf#TagList", "traits": { "smithy.api#documentation": "

The list of tags to associated with the child workflow execution.

" } }, "lambdaRole": { "target": "com.amazonaws.swf#Arn", "traits": { "smithy.api#documentation": "

The IAM role to attach to the child workflow execution.

" } } }, "traits": { "smithy.api#documentation": "

Provides the details of the StartChildWorkflowExecutionInitiated event.

" } }, "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": "

The ID of the ActivityTaskScheduled event that was recorded when this\n activity task was scheduled. To help diagnose issues, use this information to trace back the chain of events leading up to this event.

" } }, "cause": { "target": "com.amazonaws.swf#StartLambdaFunctionFailedCause", "traits": { "smithy.api#documentation": "

The cause of the failure. To help diagnose issues, use this information to trace back the chain of events leading up to this event.

\n \n

If cause is set to OPERATION_NOT_PERMITTED, the decision\n failed because the IAM role attached to the execution lacked sufficient permissions. For\n details and example IAM policies, see Lambda Tasks in the\n Amazon SWF Developer Guide.

\n
" } }, "message": { "target": "com.amazonaws.swf#CauseMessage", "traits": { "smithy.api#documentation": "

A description that can help diagnose the cause of the fault.

" } } }, "traits": { "smithy.api#documentation": "

Provides the details of the StartLambdaFunctionFailed event. It isn't set\n for other event types.

" } }, "com.amazonaws.swf#StartTimerDecisionAttributes": { "type": "structure", "members": { "timerId": { "target": "com.amazonaws.swf#TimerId", "traits": { "smithy.api#documentation": "

\n The unique ID of the timer.

\n

The specified string must not start or end with whitespace. It must not contain a :\n (colon), / (slash), | (vertical bar), or any control characters (\\u0000-\\u001f | \\u007f-\\u009f). Also, it must not contain the literal string arn.

", "smithy.api#required": {} } }, "control": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "

The data attached to the event that can be used by the decider in subsequent workflow tasks.

" } }, "startToFireTimeout": { "target": "com.amazonaws.swf#DurationInSeconds", "traits": { "smithy.api#documentation": "

\n The duration to wait before firing the timer.

\n

The duration is specified in seconds, an integer greater than or equal to 0.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Provides the details of the StartTimer decision.

\n

\n Access Control\n

\n

You can use IAM policies to control this decision's access to Amazon SWF resources as follows:

\n \n

If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated event attribute's\n cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see\n Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

" } }, "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": "

The timerId provided in the StartTimer decision that failed.

", "smithy.api#required": {} } }, "cause": { "target": "com.amazonaws.swf#StartTimerFailedCause", "traits": { "smithy.api#documentation": "

The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.

\n \n

If cause is set to OPERATION_NOT_PERMITTED, the decision failed\n because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows\n in the Amazon SWF Developer Guide.

\n
", "smithy.api#required": {} } }, "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n StartTimer decision for this activity task. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Provides the details of the StartTimerFailed event.

" } }, "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": "

Starts an execution of the workflow type in the specified domain using the provided\n workflowId and input data.

\n\n

This action returns the newly started workflow execution.

\n\n

\n Access Control\n

\n

You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:

\n \n

If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause parameter is set to OPERATION_NOT_PERMITTED.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.

" } }, "com.amazonaws.swf#StartWorkflowExecutionInput": { "type": "structure", "members": { "domain": { "target": "com.amazonaws.swf#DomainName", "traits": { "smithy.api#documentation": "

The name of the domain in which the workflow execution is created.

", "smithy.api#required": {} } }, "workflowId": { "target": "com.amazonaws.swf#WorkflowId", "traits": { "smithy.api#documentation": "

The user defined identifier associated with the workflow execution. You can use this to\n associate a custom identifier with the workflow execution. You may specify the same identifier\n if a workflow execution is logically a restart of a previous execution.\n You cannot have two open workflow executions with the same workflowId at the same\n time within the same domain.

\n \n

The specified string must not start or end with whitespace. It must not contain a\n : (colon), / (slash), | (vertical bar), or any\n control characters (\\u0000-\\u001f | \\u007f-\\u009f). Also, it must\n not be the literal string arn.

", "smithy.api#required": {} } }, "workflowType": { "target": "com.amazonaws.swf#WorkflowType", "traits": { "smithy.api#documentation": "

The type of the workflow to start.

", "smithy.api#required": {} } }, "taskList": { "target": "com.amazonaws.swf#TaskList", "traits": { "smithy.api#documentation": "

The task list to use for the decision tasks generated for this workflow execution. This\n overrides the defaultTaskList specified when registering the workflow\n type.

\n \n

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.

\n
\n \n

The specified string must not start or end with whitespace. It must not contain a\n : (colon), / (slash), | (vertical bar), or any\n control characters (\\u0000-\\u001f | \\u007f-\\u009f). Also, it must\n not be the literal string arn.

" } }, "taskPriority": { "target": "com.amazonaws.swf#TaskPriority", "traits": { "smithy.api#documentation": "

The task priority to use for this workflow execution. This overrides any default\n priority that was assigned when the workflow type was registered. If not set, then the default\n task priority for the workflow type is used. Valid values are integers that range from Java's\n Integer.MIN_VALUE (-2147483648) to Integer.MAX_VALUE (2147483647).\n Higher numbers indicate higher priority.

\n

For more information about setting task priority, see Setting Task\n Priority in the Amazon SWF Developer Guide.

" } }, "input": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "

The input for the workflow execution. This is a free form string which should be\n meaningful to the workflow you are starting. This input is made available to the\n new workflow execution in the WorkflowExecutionStarted history event.

" } }, "executionStartToCloseTimeout": { "target": "com.amazonaws.swf#DurationInSecondsOptional", "traits": { "smithy.api#documentation": "

The total duration for this workflow execution. This overrides the\n defaultExecutionStartToCloseTimeout specified when registering the workflow type.

\n\n

The duration is specified in seconds; an integer greater than or equal to\n 0. Exceeding this limit causes the workflow execution to time out. Unlike some\n of the other timeout parameters in Amazon SWF, you cannot specify a value of \"NONE\" for this\n timeout; there is a one-year max limit on the time that a workflow execution can\n run.

\n\n \n

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.

\n
" } }, "tagList": { "target": "com.amazonaws.swf#TagList", "traits": { "smithy.api#documentation": "

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 ListOpenWorkflowExecutions or ListClosedWorkflowExecutions and\n specifying a TagFilter.

" } }, "taskStartToCloseTimeout": { "target": "com.amazonaws.swf#DurationInSecondsOptional", "traits": { "smithy.api#documentation": "

Specifies the maximum duration of decision tasks for this workflow execution. This\n parameter overrides the defaultTaskStartToCloseTimout specified when registering\n the workflow type using RegisterWorkflowType.

\n

The duration is specified in seconds, an integer greater than or equal to\n 0. You can use NONE to specify unlimited duration.

\n \n

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.

\n
" } }, "childPolicy": { "target": "com.amazonaws.swf#ChildPolicy", "traits": { "smithy.api#documentation": "

If set, specifies the policy to use for the child workflow executions of this workflow\n execution if it is terminated, by calling the TerminateWorkflowExecution\n action explicitly or due to an expired timeout. This policy overrides the default child policy\n specified when registering the workflow type using RegisterWorkflowType.

\n

The supported child policies are:

\n \n \n

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.

\n
" } }, "lambdaRole": { "target": "com.amazonaws.swf#Arn", "traits": { "smithy.api#documentation": "

The IAM role to attach to this workflow execution.

\n \n

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 ScheduleLambdaFunctionFailed history event. For more information, see https://docs.aws.amazon.com/amazonswf/latest/developerguide/lambda-task.html in the\n Amazon SWF Developer Guide.

\n
" } } } }, "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": "

\n Specifies the tag that must be associated with the execution for it to meet the filter\n criteria.

\n

Tags may only contain unicode letters, digits, whitespace, or these symbols: _ . : / = + - @.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Used to filter the workflow executions in visibility APIs based on a tag.

" } }, "com.amazonaws.swf#TagList": { "type": "list", "member": { "target": "com.amazonaws.swf#Tag" }, "traits": { "smithy.api#length": { "min": 0, "max": 5 } } }, "com.amazonaws.swf#TagResource": { "type": "operation", "input": { "target": "com.amazonaws.swf#TagResourceInput" }, "errors": [ { "target": "com.amazonaws.swf#LimitExceededFault" }, { "target": "com.amazonaws.swf#OperationNotPermittedFault" }, { "target": "com.amazonaws.swf#TooManyTagsFault" }, { "target": "com.amazonaws.swf#UnknownResourceFault" } ], "traits": { "smithy.api#documentation": "

Add a tag to a Amazon SWF domain.

\n \n

Amazon SWF supports a maximum of 50 tags per resource.

\n
" } }, "com.amazonaws.swf#TagResourceInput": { "type": "structure", "members": { "resourceArn": { "target": "com.amazonaws.swf#Arn", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the Amazon SWF domain.

", "smithy.api#required": {} } }, "tags": { "target": "com.amazonaws.swf#ResourceTagList", "traits": { "smithy.api#documentation": "

The list of tags to add to a domain.

\n

Tags may only contain unicode letters, digits, whitespace, or these symbols: _ . : / = + - @.

", "smithy.api#required": {} } } } }, "com.amazonaws.swf#TaskList": { "type": "structure", "members": { "name": { "target": "com.amazonaws.swf#Name", "traits": { "smithy.api#documentation": "

The name of the task list.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Represents a task list.

" } }, "com.amazonaws.swf#TaskPriority": { "type": "string" }, "com.amazonaws.swf#TaskToken": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 1024 } } }, "com.amazonaws.swf#TerminateReason": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 256 } } }, "com.amazonaws.swf#TerminateWorkflowExecution": { "type": "operation", "input": { "target": "com.amazonaws.swf#TerminateWorkflowExecutionInput" }, "errors": [ { "target": "com.amazonaws.swf#OperationNotPermittedFault" }, { "target": "com.amazonaws.swf#UnknownResourceFault" } ], "traits": { "smithy.api#documentation": "

Records a WorkflowExecutionTerminated event and forces closure of the\n workflow execution identified by the given domain, runId, and workflowId. The child policy,\n registered with the workflow type or specified when starting this execution, is applied to any\n open child workflow executions of this workflow execution.

\n\n \n

If the identified workflow execution was in progress, it is terminated\n immediately.

\n
\n\n \n

If a runId isn't specified, then the WorkflowExecutionTerminated event\n is recorded in the history of the current open workflow with the matching workflowId in the\n domain.

\n
\n\n \n

You should consider using RequestCancelWorkflowExecution action\n instead because it allows the workflow to gracefully close while TerminateWorkflowExecution doesn't.

\n
\n\n

\n Access Control\n

\n

You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:

\n \n

If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause parameter is set to OPERATION_NOT_PERMITTED.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.

" } }, "com.amazonaws.swf#TerminateWorkflowExecutionInput": { "type": "structure", "members": { "domain": { "target": "com.amazonaws.swf#DomainName", "traits": { "smithy.api#documentation": "

The domain of the workflow execution to terminate.

", "smithy.api#required": {} } }, "workflowId": { "target": "com.amazonaws.swf#WorkflowId", "traits": { "smithy.api#documentation": "

The workflowId of the workflow execution to terminate.

", "smithy.api#required": {} } }, "runId": { "target": "com.amazonaws.swf#WorkflowRunIdOptional", "traits": { "smithy.api#documentation": "

The runId of the workflow execution to terminate.

" } }, "reason": { "target": "com.amazonaws.swf#TerminateReason", "traits": { "smithy.api#documentation": "

A descriptive reason for terminating the workflow execution.

" } }, "details": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "

Details for terminating the workflow execution.

" } }, "childPolicy": { "target": "com.amazonaws.swf#ChildPolicy", "traits": { "smithy.api#documentation": "

If set, specifies the policy to use for the child workflow executions of the workflow\n execution being terminated. This policy overrides the child policy specified for the workflow\n execution at registration time or when starting the execution.

\n

The supported child policies are:

\n \n \n

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.

\n
" } } } }, "com.amazonaws.swf#TimerCanceledEventAttributes": { "type": "structure", "members": { "timerId": { "target": "com.amazonaws.swf#TimerId", "traits": { "smithy.api#documentation": "

The unique ID of the timer that was canceled.

", "smithy.api#required": {} } }, "startedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "

The ID of the TimerStarted event that was recorded when this timer was started.\n This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } }, "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n CancelTimer decision to cancel this timer. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

\n Provides the details of the TimerCanceled event.\n

" } }, "com.amazonaws.swf#TimerFiredEventAttributes": { "type": "structure", "members": { "timerId": { "target": "com.amazonaws.swf#TimerId", "traits": { "smithy.api#documentation": "

The unique ID of the timer that fired.

", "smithy.api#required": {} } }, "startedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "

The ID of the TimerStarted event that was recorded when this timer was started.\n This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Provides the details of the TimerFired event.

" } }, "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": "

The unique ID of the timer that was started.

", "smithy.api#required": {} } }, "control": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "

Data attached to the event that can be used by the decider in subsequent workflow tasks.

" } }, "startToFireTimeout": { "target": "com.amazonaws.swf#DurationInSeconds", "traits": { "smithy.api#documentation": "

The duration of time after which the timer fires.

\n

The duration is specified in seconds, an integer greater than or equal to 0.

", "smithy.api#required": {} } }, "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n StartTimer decision for this activity task. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Provides the details of the TimerStarted event.

" } }, "com.amazonaws.swf#Timestamp": { "type": "timestamp" }, "com.amazonaws.swf#TooManyTagsFault": { "type": "structure", "members": { "message": { "target": "com.amazonaws.swf#ErrorMessage" } }, "traits": { "smithy.api#documentation": "

You've exceeded the number of tags allowed for a domain.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.swf#Truncated": { "type": "boolean" }, "com.amazonaws.swf#TypeAlreadyExistsFault": { "type": "structure", "members": { "message": { "target": "com.amazonaws.swf#ErrorMessage", "traits": { "smithy.api#documentation": "

A description that may help with diagnosing the cause of the fault.

" } } }, "traits": { "smithy.api#documentation": "

Returned if the type already exists in the specified domain. You may get this fault if you are registering a type that is either already registered or deprecated, or if you undeprecate a type that is currently registered.

", "smithy.api#error": "client" } }, "com.amazonaws.swf#TypeDeprecatedFault": { "type": "structure", "members": { "message": { "target": "com.amazonaws.swf#ErrorMessage", "traits": { "smithy.api#documentation": "

A description that may help with diagnosing the cause of the fault.

" } } }, "traits": { "smithy.api#documentation": "

Returned when the specified activity or workflow type was already deprecated.

", "smithy.api#error": "client" } }, "com.amazonaws.swf#UndeprecateActivityType": { "type": "operation", "input": { "target": "com.amazonaws.swf#UndeprecateActivityTypeInput" }, "errors": [ { "target": "com.amazonaws.swf#OperationNotPermittedFault" }, { "target": "com.amazonaws.swf#TypeAlreadyExistsFault" }, { "target": "com.amazonaws.swf#UnknownResourceFault" } ], "traits": { "smithy.api#documentation": "

Undeprecates a previously deprecated activity type. After an activity type has\n been undeprecated, you can create new tasks of that activity type.

\n \n

This operation is eventually consistent. The results are best effort and may not\n exactly reflect recent updates and changes.

\n
\n

\n Access Control\n

\n

You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:

\n \n

If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause parameter is set to OPERATION_NOT_PERMITTED.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.

" } }, "com.amazonaws.swf#UndeprecateActivityTypeInput": { "type": "structure", "members": { "domain": { "target": "com.amazonaws.swf#DomainName", "traits": { "smithy.api#documentation": "

The name of the domain of the deprecated activity type.

", "smithy.api#required": {} } }, "activityType": { "target": "com.amazonaws.swf#ActivityType", "traits": { "smithy.api#documentation": "

The activity type to undeprecate.

", "smithy.api#required": {} } } } }, "com.amazonaws.swf#UndeprecateDomain": { "type": "operation", "input": { "target": "com.amazonaws.swf#UndeprecateDomainInput" }, "errors": [ { "target": "com.amazonaws.swf#DomainAlreadyExistsFault" }, { "target": "com.amazonaws.swf#OperationNotPermittedFault" }, { "target": "com.amazonaws.swf#UnknownResourceFault" } ], "traits": { "smithy.api#documentation": "

Undeprecates a previously deprecated domain. After a domain has been undeprecated it can be used\n to create new workflow executions or register new types.

\n \n

This operation is eventually consistent. The results are best effort and may not\n exactly reflect recent updates and changes.

\n
\n

\n Access Control\n

\n

You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:

\n \n

If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause parameter is set to OPERATION_NOT_PERMITTED.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.

" } }, "com.amazonaws.swf#UndeprecateDomainInput": { "type": "structure", "members": { "name": { "target": "com.amazonaws.swf#DomainName", "traits": { "smithy.api#documentation": "

The name of the domain of the deprecated workflow type.

", "smithy.api#required": {} } } } }, "com.amazonaws.swf#UndeprecateWorkflowType": { "type": "operation", "input": { "target": "com.amazonaws.swf#UndeprecateWorkflowTypeInput" }, "errors": [ { "target": "com.amazonaws.swf#OperationNotPermittedFault" }, { "target": "com.amazonaws.swf#TypeAlreadyExistsFault" }, { "target": "com.amazonaws.swf#UnknownResourceFault" } ], "traits": { "smithy.api#documentation": "

Undeprecates a previously deprecated workflow type. After a workflow type has\n been undeprecated, you can create new executions of that type.

\n \n

This operation is eventually consistent. The results are best effort and may not\n exactly reflect recent updates and changes.

\n
\n

\n Access Control\n

\n

You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:

\n \n

If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause parameter is set to OPERATION_NOT_PERMITTED.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.

" } }, "com.amazonaws.swf#UndeprecateWorkflowTypeInput": { "type": "structure", "members": { "domain": { "target": "com.amazonaws.swf#DomainName", "traits": { "smithy.api#documentation": "

The name of the domain of the deprecated workflow type.

", "smithy.api#required": {} } }, "workflowType": { "target": "com.amazonaws.swf#WorkflowType", "traits": { "smithy.api#documentation": "

The name of the domain of the deprecated workflow type.

", "smithy.api#required": {} } } } }, "com.amazonaws.swf#UnknownResourceFault": { "type": "structure", "members": { "message": { "target": "com.amazonaws.swf#ErrorMessage", "traits": { "smithy.api#documentation": "

A description that may help with diagnosing the cause of the fault.

" } } }, "traits": { "smithy.api#documentation": "

Returned when the named resource cannot be found with in the scope of this operation (region or domain). This could happen if the named resource was never created or is no longer available for this operation.

", "smithy.api#error": "client" } }, "com.amazonaws.swf#UntagResource": { "type": "operation", "input": { "target": "com.amazonaws.swf#UntagResourceInput" }, "errors": [ { "target": "com.amazonaws.swf#LimitExceededFault" }, { "target": "com.amazonaws.swf#OperationNotPermittedFault" }, { "target": "com.amazonaws.swf#UnknownResourceFault" } ], "traits": { "smithy.api#documentation": "

Remove a tag from a Amazon SWF domain.

" } }, "com.amazonaws.swf#UntagResourceInput": { "type": "structure", "members": { "resourceArn": { "target": "com.amazonaws.swf#Arn", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the Amazon SWF domain.

", "smithy.api#required": {} } }, "tagKeys": { "target": "com.amazonaws.swf#ResourceTagKeyList", "traits": { "smithy.api#documentation": "

The list of tags to remove from the Amazon SWF domain.

", "smithy.api#required": {} } } } }, "com.amazonaws.swf#Version": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 64 } } }, "com.amazonaws.swf#VersionOptional": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 64 } } }, "com.amazonaws.swf#WorkflowExecution": { "type": "structure", "members": { "workflowId": { "target": "com.amazonaws.swf#WorkflowId", "traits": { "smithy.api#documentation": "

The user defined identifier associated with the workflow execution.

", "smithy.api#required": {} } }, "runId": { "target": "com.amazonaws.swf#WorkflowRunId", "traits": { "smithy.api#documentation": "

A system-generated unique identifier for the workflow execution.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Represents a workflow execution.

" } }, "com.amazonaws.swf#WorkflowExecutionAlreadyStartedFault": { "type": "structure", "members": { "message": { "target": "com.amazonaws.swf#ErrorMessage", "traits": { "smithy.api#documentation": "

A description that may help with diagnosing the cause of the fault.

" } } }, "traits": { "smithy.api#documentation": "

Returned by StartWorkflowExecution when an open execution with the same workflowId is already running in\n the specified domain.

", "smithy.api#error": "client" } }, "com.amazonaws.swf#WorkflowExecutionCancelRequestedCause": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "CHILD_POLICY_APPLIED", "name": "CHILD_POLICY_APPLIED" } ] } }, "com.amazonaws.swf#WorkflowExecutionCancelRequestedEventAttributes": { "type": "structure", "members": { "externalWorkflowExecution": { "target": "com.amazonaws.swf#WorkflowExecution", "traits": { "smithy.api#documentation": "

The external workflow execution for which the cancellation was requested.

" } }, "externalInitiatedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "

The ID of the RequestCancelExternalWorkflowExecutionInitiated event corresponding to the\n RequestCancelExternalWorkflowExecution decision to cancel this workflow execution.The source event\n with this ID can be found in the history of the source workflow execution. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

" } }, "cause": { "target": "com.amazonaws.swf#WorkflowExecutionCancelRequestedCause", "traits": { "smithy.api#documentation": "

If set, indicates that the request to cancel the workflow execution was automatically generated, and specifies the cause. This happens if the parent workflow execution times out or is terminated, and the child policy is set to cancel child executions.

" } } }, "traits": { "smithy.api#documentation": "

Provides the details of the WorkflowExecutionCancelRequested event.

" } }, "com.amazonaws.swf#WorkflowExecutionCanceledEventAttributes": { "type": "structure", "members": { "details": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "

The details of the cancellation.

" } }, "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n CancelWorkflowExecution decision for this cancellation request. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Provides the details of the WorkflowExecutionCanceled event.

" } }, "com.amazonaws.swf#WorkflowExecutionCompletedEventAttributes": { "type": "structure", "members": { "result": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "

The result produced by the workflow execution upon successful completion.

" } }, "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n CompleteWorkflowExecution decision to complete this execution. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Provides the details of the WorkflowExecutionCompleted event.

" } }, "com.amazonaws.swf#WorkflowExecutionConfiguration": { "type": "structure", "members": { "taskStartToCloseTimeout": { "target": "com.amazonaws.swf#DurationInSeconds", "traits": { "smithy.api#documentation": "

The maximum duration allowed for decision tasks for this workflow execution.

\n

The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

", "smithy.api#required": {} } }, "executionStartToCloseTimeout": { "target": "com.amazonaws.swf#DurationInSeconds", "traits": { "smithy.api#documentation": "

The total duration for this workflow execution.

\n

The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

", "smithy.api#required": {} } }, "taskList": { "target": "com.amazonaws.swf#TaskList", "traits": { "smithy.api#documentation": "

The task list used for the decision tasks generated for this workflow execution.

", "smithy.api#required": {} } }, "taskPriority": { "target": "com.amazonaws.swf#TaskPriority", "traits": { "smithy.api#documentation": "

The priority assigned to decision tasks for this workflow execution. Valid values are integers that range from Java's Integer.MIN_VALUE\n (-2147483648) to Integer.MAX_VALUE (2147483647). Higher numbers indicate higher priority.

\n

For more information about setting task priority, see Setting Task Priority in the Amazon SWF Developer Guide.

" } }, "childPolicy": { "target": "com.amazonaws.swf#ChildPolicy", "traits": { "smithy.api#documentation": "

The policy to use for the child workflow executions if this workflow execution is terminated, by calling the\n TerminateWorkflowExecution action explicitly or due to an expired timeout.

\n

The supported child policies are:

\n ", "smithy.api#required": {} } }, "lambdaRole": { "target": "com.amazonaws.swf#Arn", "traits": { "smithy.api#documentation": "

The IAM role attached to the child workflow execution.

" } } }, "traits": { "smithy.api#documentation": "

The configuration settings for a workflow execution including timeout values, tasklist etc. These configuration settings are determined from the defaults specified when registering the workflow type and those specified when starting the workflow execution.

" } }, "com.amazonaws.swf#WorkflowExecutionContinuedAsNewEventAttributes": { "type": "structure", "members": { "input": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "

The input provided to the new workflow execution.

" } }, "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n ContinueAsNewWorkflowExecution decision that started this execution. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } }, "newExecutionRunId": { "target": "com.amazonaws.swf#WorkflowRunId", "traits": { "smithy.api#documentation": "

The runId of the new workflow execution.

", "smithy.api#required": {} } }, "executionStartToCloseTimeout": { "target": "com.amazonaws.swf#DurationInSecondsOptional", "traits": { "smithy.api#documentation": "

The total duration allowed for the new workflow execution.

\n

The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

" } }, "taskList": { "target": "com.amazonaws.swf#TaskList", "traits": { "smithy.api#documentation": "

The task list to use for the decisions of the new (continued) workflow\n execution.

", "smithy.api#required": {} } }, "taskPriority": { "target": "com.amazonaws.swf#TaskPriority", "traits": { "smithy.api#documentation": "

The priority of the task to use for the decisions of the new (continued) workflow\n execution.

" } }, "taskStartToCloseTimeout": { "target": "com.amazonaws.swf#DurationInSecondsOptional", "traits": { "smithy.api#documentation": "

The maximum duration of decision tasks for the new workflow execution.

\n

The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

" } }, "childPolicy": { "target": "com.amazonaws.swf#ChildPolicy", "traits": { "smithy.api#documentation": "

The policy to use for the child workflow executions of the new execution if it is terminated by calling the\n TerminateWorkflowExecution action explicitly or due to an expired timeout.

\n

The supported child policies are:

\n ", "smithy.api#required": {} } }, "tagList": { "target": "com.amazonaws.swf#TagList", "traits": { "smithy.api#documentation": "

The list of tags associated with the new workflow execution.

" } }, "workflowType": { "target": "com.amazonaws.swf#WorkflowType", "traits": { "smithy.api#documentation": "

The workflow type of this execution.

", "smithy.api#required": {} } }, "lambdaRole": { "target": "com.amazonaws.swf#Arn", "traits": { "smithy.api#documentation": "

The IAM role to attach to the new (continued) workflow execution.

" } } }, "traits": { "smithy.api#documentation": "

Provides the details of the WorkflowExecutionContinuedAsNew event.

" } }, "com.amazonaws.swf#WorkflowExecutionCount": { "type": "structure", "members": { "count": { "target": "com.amazonaws.swf#Count", "traits": { "smithy.api#documentation": "

The number of workflow executions.

", "smithy.api#required": {} } }, "truncated": { "target": "com.amazonaws.swf#Truncated", "traits": { "smithy.api#documentation": "

If set to true, indicates that the actual count was more than the maximum supported by this API and the count returned is the truncated value.

" } } }, "traits": { "smithy.api#documentation": "

Contains the count of workflow executions returned from CountOpenWorkflowExecutions or\n CountClosedWorkflowExecutions\n

" } }, "com.amazonaws.swf#WorkflowExecutionDetail": { "type": "structure", "members": { "executionInfo": { "target": "com.amazonaws.swf#WorkflowExecutionInfo", "traits": { "smithy.api#documentation": "

Information about the workflow execution.

", "smithy.api#required": {} } }, "executionConfiguration": { "target": "com.amazonaws.swf#WorkflowExecutionConfiguration", "traits": { "smithy.api#documentation": "

The configuration settings for this workflow execution including timeout values, tasklist etc.

", "smithy.api#required": {} } }, "openCounts": { "target": "com.amazonaws.swf#WorkflowExecutionOpenCounts", "traits": { "smithy.api#documentation": "

The number of tasks for this workflow execution. This includes open and closed tasks of all types.

", "smithy.api#required": {} } }, "latestActivityTaskTimestamp": { "target": "com.amazonaws.swf#Timestamp", "traits": { "smithy.api#documentation": "

The time when the last activity task was scheduled for this workflow execution. You can use this information to determine if the workflow has not made progress for an unusually long period of time and might require a corrective action.

" } }, "latestExecutionContext": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "

The latest executionContext provided by the decider for this workflow execution. A decider can provide an\n executionContext (a free-form string) when closing a decision task using RespondDecisionTaskCompleted.

" } } }, "traits": { "smithy.api#documentation": "

Contains details about a workflow execution.

" } }, "com.amazonaws.swf#WorkflowExecutionFailedEventAttributes": { "type": "structure", "members": { "reason": { "target": "com.amazonaws.swf#FailureReason", "traits": { "smithy.api#documentation": "

The descriptive reason provided for the failure.

" } }, "details": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "

The details of the failure.

" } }, "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n FailWorkflowExecution decision to fail this execution. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Provides the details of the WorkflowExecutionFailed event.

" } }, "com.amazonaws.swf#WorkflowExecutionFilter": { "type": "structure", "members": { "workflowId": { "target": "com.amazonaws.swf#WorkflowId", "traits": { "smithy.api#documentation": "

The workflowId to pass of match the criteria of this filter.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Used to filter the workflow executions in visibility APIs by their workflowId.

" } }, "com.amazonaws.swf#WorkflowExecutionInfo": { "type": "structure", "members": { "execution": { "target": "com.amazonaws.swf#WorkflowExecution", "traits": { "smithy.api#documentation": "

The workflow execution this information is about.

", "smithy.api#required": {} } }, "workflowType": { "target": "com.amazonaws.swf#WorkflowType", "traits": { "smithy.api#documentation": "

The type of the workflow execution.

", "smithy.api#required": {} } }, "startTimestamp": { "target": "com.amazonaws.swf#Timestamp", "traits": { "smithy.api#documentation": "

The time when the execution was started.

", "smithy.api#required": {} } }, "closeTimestamp": { "target": "com.amazonaws.swf#Timestamp", "traits": { "smithy.api#documentation": "

The time when the workflow execution was closed. Set only if the execution status is CLOSED.

" } }, "executionStatus": { "target": "com.amazonaws.swf#ExecutionStatus", "traits": { "smithy.api#documentation": "

The current status of the execution.

", "smithy.api#required": {} } }, "closeStatus": { "target": "com.amazonaws.swf#CloseStatus", "traits": { "smithy.api#documentation": "

If the execution status is closed then this specifies how the execution was closed:

\n " } }, "parent": { "target": "com.amazonaws.swf#WorkflowExecution", "traits": { "smithy.api#documentation": "

If this workflow execution is a child of another execution then contains the workflow execution that started this execution.

" } }, "tagList": { "target": "com.amazonaws.swf#TagList", "traits": { "smithy.api#documentation": "

The list of tags associated with the workflow execution. Tags can be used to identify and list workflow executions of interest through the visibility APIs. A workflow execution can have a maximum of 5 tags.

" } }, "cancelRequested": { "target": "com.amazonaws.swf#Canceled", "traits": { "smithy.api#documentation": "

Set to true if a cancellation is requested for this workflow execution.

" } } }, "traits": { "smithy.api#documentation": "

Contains information about a workflow execution.

" } }, "com.amazonaws.swf#WorkflowExecutionInfoList": { "type": "list", "member": { "target": "com.amazonaws.swf#WorkflowExecutionInfo" } }, "com.amazonaws.swf#WorkflowExecutionInfos": { "type": "structure", "members": { "executionInfos": { "target": "com.amazonaws.swf#WorkflowExecutionInfoList", "traits": { "smithy.api#documentation": "

The list of workflow information structures.

", "smithy.api#required": {} } }, "nextPageToken": { "target": "com.amazonaws.swf#PageToken", "traits": { "smithy.api#documentation": "

If a NextPageToken was returned by a previous call, there are more\n results available. To retrieve the next page of results, make the call again using the returned token in\n nextPageToken. Keep all other arguments unchanged.

\n

The configured maximumPageSize determines how many results can be returned in a single call.

" } } }, "traits": { "smithy.api#documentation": "

Contains a paginated list of information about workflow executions.

" } }, "com.amazonaws.swf#WorkflowExecutionOpenCounts": { "type": "structure", "members": { "openActivityTasks": { "target": "com.amazonaws.swf#Count", "traits": { "smithy.api#documentation": "

The count of activity tasks whose status is OPEN.

", "smithy.api#required": {} } }, "openDecisionTasks": { "target": "com.amazonaws.swf#OpenDecisionTasksCount", "traits": { "smithy.api#documentation": "

The count of decision tasks whose status is OPEN. A workflow execution can have at most one open decision task.

", "smithy.api#required": {} } }, "openTimers": { "target": "com.amazonaws.swf#Count", "traits": { "smithy.api#documentation": "

The count of timers started by this workflow execution that have not fired yet.

", "smithy.api#required": {} } }, "openChildWorkflowExecutions": { "target": "com.amazonaws.swf#Count", "traits": { "smithy.api#documentation": "

The count of child workflow executions whose status is OPEN.

", "smithy.api#required": {} } }, "openLambdaFunctions": { "target": "com.amazonaws.swf#Count", "traits": { "smithy.api#documentation": "

The count of Lambda tasks whose status is OPEN.

" } } }, "traits": { "smithy.api#documentation": "

Contains the counts of open tasks, child workflow executions and timers for a workflow execution.

" } }, "com.amazonaws.swf#WorkflowExecutionSignaledEventAttributes": { "type": "structure", "members": { "signalName": { "target": "com.amazonaws.swf#SignalName", "traits": { "smithy.api#documentation": "

The name of the signal received. The decider can use the signal name and inputs to determine how to the process the signal.

", "smithy.api#required": {} } }, "input": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "

The inputs provided with the signal. The decider can use the signal name and inputs to determine how to process the signal.

" } }, "externalWorkflowExecution": { "target": "com.amazonaws.swf#WorkflowExecution", "traits": { "smithy.api#documentation": "

The workflow execution that sent the signal. This is set only of the signal was sent by another workflow execution.

" } }, "externalInitiatedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "

The ID of the SignalExternalWorkflowExecutionInitiated event corresponding to the\n SignalExternalWorkflow decision to signal this workflow execution.The source event with this ID can\n be found in the history of the source workflow execution. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event. This field is set only if\n the signal was initiated by another workflow execution.

" } } }, "traits": { "smithy.api#documentation": "

Provides the details of the WorkflowExecutionSignaled event.

" } }, "com.amazonaws.swf#WorkflowExecutionStartedEventAttributes": { "type": "structure", "members": { "input": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "

The input provided to the workflow execution.

" } }, "executionStartToCloseTimeout": { "target": "com.amazonaws.swf#DurationInSecondsOptional", "traits": { "smithy.api#documentation": "

The maximum duration for this workflow execution.

\n

The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

" } }, "taskStartToCloseTimeout": { "target": "com.amazonaws.swf#DurationInSecondsOptional", "traits": { "smithy.api#documentation": "

The maximum duration of decision tasks for this workflow type.

\n

The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

" } }, "childPolicy": { "target": "com.amazonaws.swf#ChildPolicy", "traits": { "smithy.api#documentation": "

The policy to use for the child workflow executions if this workflow execution is terminated, by calling the\n TerminateWorkflowExecution action explicitly or due to an expired timeout.

\n

The supported child policies are:

\n ", "smithy.api#required": {} } }, "taskList": { "target": "com.amazonaws.swf#TaskList", "traits": { "smithy.api#documentation": "

The name of the task list for scheduling the decision tasks for this workflow execution.

", "smithy.api#required": {} } }, "taskPriority": { "target": "com.amazonaws.swf#TaskPriority", "traits": { "smithy.api#documentation": "

The priority of the decision tasks in the workflow execution.

" } }, "workflowType": { "target": "com.amazonaws.swf#WorkflowType", "traits": { "smithy.api#documentation": "

The workflow type of this execution.

", "smithy.api#required": {} } }, "tagList": { "target": "com.amazonaws.swf#TagList", "traits": { "smithy.api#documentation": "

The list of tags associated with this workflow execution. An execution can have up to 5 tags.

" } }, "continuedExecutionRunId": { "target": "com.amazonaws.swf#WorkflowRunIdOptional", "traits": { "smithy.api#documentation": "

If this workflow execution was started due to a ContinueAsNewWorkflowExecution decision, then it\n contains the runId of the previous workflow execution that was closed and continued as this\n execution.

" } }, "parentWorkflowExecution": { "target": "com.amazonaws.swf#WorkflowExecution", "traits": { "smithy.api#documentation": "

The source workflow execution that started this workflow execution. The member isn't set if the workflow execution was not started by a workflow.

" } }, "parentInitiatedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#documentation": "

The ID of the StartChildWorkflowExecutionInitiated event corresponding to the\n StartChildWorkflowExecution \n Decision to start this workflow execution. The source event with\n this ID can be found in the history of the source workflow execution. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

" } }, "lambdaRole": { "target": "com.amazonaws.swf#Arn", "traits": { "smithy.api#documentation": "

The IAM role attached to the workflow execution.

" } } }, "traits": { "smithy.api#documentation": "

Provides details of WorkflowExecutionStarted event.

" } }, "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": "

The reason provided for the termination.

" } }, "details": { "target": "com.amazonaws.swf#Data", "traits": { "smithy.api#documentation": "

The details provided for the termination.

" } }, "childPolicy": { "target": "com.amazonaws.swf#ChildPolicy", "traits": { "smithy.api#documentation": "

The policy used for the child workflow executions of this workflow execution.

\n

The supported child policies are:

\n ", "smithy.api#required": {} } }, "cause": { "target": "com.amazonaws.swf#WorkflowExecutionTerminatedCause", "traits": { "smithy.api#documentation": "

If set, indicates that the workflow execution was automatically terminated, and specifies the cause. This happens if the parent workflow execution times out or is terminated and the child policy is set to terminate child executions.

" } } }, "traits": { "smithy.api#documentation": "

Provides the details of the WorkflowExecutionTerminated event.

" } }, "com.amazonaws.swf#WorkflowExecutionTimedOutEventAttributes": { "type": "structure", "members": { "timeoutType": { "target": "com.amazonaws.swf#WorkflowExecutionTimeoutType", "traits": { "smithy.api#documentation": "

The type of timeout that caused this event.

", "smithy.api#required": {} } }, "childPolicy": { "target": "com.amazonaws.swf#ChildPolicy", "traits": { "smithy.api#documentation": "

The policy used for the child workflow executions of this workflow execution.

\n

The supported child policies are:

\n ", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Provides the details of the WorkflowExecutionTimedOut event.

" } }, "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": "

\n The name of the workflow type.

\n \n

The combination of workflow type name and version must be unique with in a domain.

\n
", "smithy.api#required": {} } }, "version": { "target": "com.amazonaws.swf#Version", "traits": { "smithy.api#documentation": "

\n The version of the workflow type.

\n \n

The combination of workflow type name and version must be unique with in a domain.

\n
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Represents a workflow type.

" } }, "com.amazonaws.swf#WorkflowTypeConfiguration": { "type": "structure", "members": { "defaultTaskStartToCloseTimeout": { "target": "com.amazonaws.swf#DurationInSecondsOptional", "traits": { "smithy.api#documentation": "

\n The default maximum duration, specified when registering the workflow type, that a decision task\n for executions of this workflow type might take before returning completion or failure. If the task doesn'tdo close\n in the specified time then the task is automatically timed out and rescheduled. If the decider eventually reports\n a completion or failure, it is ignored. This default can be overridden when starting a workflow execution using\n the StartWorkflowExecution action or the StartChildWorkflowExecution \n Decision.

\n

The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

" } }, "defaultExecutionStartToCloseTimeout": { "target": "com.amazonaws.swf#DurationInSecondsOptional", "traits": { "smithy.api#documentation": "

\n The default maximum duration, specified when registering the workflow type, for executions of\n this workflow type. This default can be overridden when starting a workflow execution using the\n StartWorkflowExecution action or the StartChildWorkflowExecution \n Decision.

\n

The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

" } }, "defaultTaskList": { "target": "com.amazonaws.swf#TaskList", "traits": { "smithy.api#documentation": "

\n The default task list, specified when registering the workflow type, for decisions tasks\n scheduled for workflow executions of this type. This default can be overridden when starting a workflow execution\n using the StartWorkflowExecution action or the StartChildWorkflowExecution\n Decision.

" } }, "defaultTaskPriority": { "target": "com.amazonaws.swf#TaskPriority", "traits": { "smithy.api#documentation": "

\n The default task priority, specified when registering the workflow type, for all decision tasks\n of this workflow type. This default can be overridden when starting a workflow execution using the\n StartWorkflowExecution action or the StartChildWorkflowExecution decision.

\n

Valid values are integers that range from Java's Integer.MIN_VALUE\n (-2147483648) to Integer.MAX_VALUE (2147483647). Higher numbers indicate higher priority.

\n

For more information about setting task priority, see Setting Task Priority in the Amazon SWF Developer Guide.

" } }, "defaultChildPolicy": { "target": "com.amazonaws.swf#ChildPolicy", "traits": { "smithy.api#documentation": "

\n The default policy to use for the child workflow executions when a workflow execution of this\n type is terminated, by calling the TerminateWorkflowExecution action explicitly or due to an expired\n timeout. This default can be overridden when starting a workflow execution using the StartWorkflowExecution\n action or the StartChildWorkflowExecution \n Decision.

\n

The supported child policies are:

\n " } }, "defaultLambdaRole": { "target": "com.amazonaws.swf#Arn", "traits": { "smithy.api#documentation": "

The default IAM role attached to this workflow type.

\n \n

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 https://docs.aws.amazon.com/amazonswf/latest/developerguide/lambda-task.html in the\n Amazon SWF Developer Guide.

\n
" } } }, "traits": { "smithy.api#documentation": "

The configuration settings of a workflow type.

" } }, "com.amazonaws.swf#WorkflowTypeDetail": { "type": "structure", "members": { "typeInfo": { "target": "com.amazonaws.swf#WorkflowTypeInfo", "traits": { "smithy.api#documentation": "

General information about the workflow type.

\n

The status of the workflow type (returned in the WorkflowTypeInfo structure) can be one of the following.

\n ", "smithy.api#required": {} } }, "configuration": { "target": "com.amazonaws.swf#WorkflowTypeConfiguration", "traits": { "smithy.api#documentation": "

Configuration settings of the workflow type registered through RegisterWorkflowType\n

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Contains details about a workflow type.

" } }, "com.amazonaws.swf#WorkflowTypeFilter": { "type": "structure", "members": { "name": { "target": "com.amazonaws.swf#Name", "traits": { "smithy.api#documentation": "

\n Name of the workflow type.

", "smithy.api#required": {} } }, "version": { "target": "com.amazonaws.swf#VersionOptional", "traits": { "smithy.api#documentation": "

Version of the workflow type.

" } } }, "traits": { "smithy.api#documentation": "

Used to filter workflow execution query results by type. Each parameter, if specified, defines a rule that must be satisfied by each returned result.

" } }, "com.amazonaws.swf#WorkflowTypeInfo": { "type": "structure", "members": { "workflowType": { "target": "com.amazonaws.swf#WorkflowType", "traits": { "smithy.api#documentation": "

The workflow type this information is about.

", "smithy.api#required": {} } }, "status": { "target": "com.amazonaws.swf#RegistrationStatus", "traits": { "smithy.api#documentation": "

The current status of the workflow type.

", "smithy.api#required": {} } }, "description": { "target": "com.amazonaws.swf#Description", "traits": { "smithy.api#documentation": "

The description of the type registered through RegisterWorkflowType.

" } }, "creationDate": { "target": "com.amazonaws.swf#Timestamp", "traits": { "smithy.api#documentation": "

The date when this type was registered.

", "smithy.api#required": {} } }, "deprecationDate": { "target": "com.amazonaws.swf#Timestamp", "traits": { "smithy.api#documentation": "

If the type is in deprecated state, then it is set to the date when the type was deprecated.

" } } }, "traits": { "smithy.api#documentation": "

Contains information about a workflow type.

" } }, "com.amazonaws.swf#WorkflowTypeInfoList": { "type": "list", "member": { "target": "com.amazonaws.swf#WorkflowTypeInfo" } }, "com.amazonaws.swf#WorkflowTypeInfos": { "type": "structure", "members": { "typeInfos": { "target": "com.amazonaws.swf#WorkflowTypeInfoList", "traits": { "smithy.api#documentation": "

The list of workflow type information.

", "smithy.api#required": {} } }, "nextPageToken": { "target": "com.amazonaws.swf#PageToken", "traits": { "smithy.api#documentation": "

If a NextPageToken was returned by a previous call, there are more\n results available. To retrieve the next page of results, make the call again using the returned token in\n nextPageToken. Keep all other arguments unchanged.

\n

The configured maximumPageSize determines how many results can be returned in a single call.

" } } }, "traits": { "smithy.api#documentation": "

Contains a paginated list of information structures about workflow types.

" } } } }