aws-sdk 2.1434.0 → 2.1435.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/clients/swf.d.ts CHANGED
@@ -971,6 +971,11 @@ declare namespace SWF {
971
971
  * The ID of the DecisionTaskStarted event recorded when this decision task was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
972
972
  */
973
973
  startedEventId: EventId;
974
+ taskList?: TaskList;
975
+ /**
976
+ * The maximum amount of time the decision task can wait to be assigned to a worker.
977
+ */
978
+ taskListScheduleToStartTimeout?: DurationInSecondsOptional;
974
979
  }
975
980
  export interface DecisionTaskScheduledEventAttributes {
976
981
  /**
@@ -985,6 +990,10 @@ declare namespace SWF {
985
990
  * The maximum duration for this decision task. The task is considered timed out if it doesn't completed within this duration. The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.
986
991
  */
987
992
  startToCloseTimeout?: DurationInSecondsOptional;
993
+ /**
994
+ * The maximum amount of time the decision task can wait to be assigned to a worker.
995
+ */
996
+ scheduleToStartTimeout?: DurationInSecondsOptional;
988
997
  }
989
998
  export interface DecisionTaskStartedEventAttributes {
990
999
  /**
@@ -1010,7 +1019,7 @@ declare namespace SWF {
1010
1019
  */
1011
1020
  startedEventId: EventId;
1012
1021
  }
1013
- export type DecisionTaskTimeoutType = "START_TO_CLOSE"|string;
1022
+ export type DecisionTaskTimeoutType = "START_TO_CLOSE"|"SCHEDULE_TO_START"|string;
1014
1023
  export type DecisionType = "ScheduleActivityTask"|"RequestCancelActivityTask"|"CompleteWorkflowExecution"|"FailWorkflowExecution"|"CancelWorkflowExecution"|"ContinueAsNewWorkflowExecution"|"RecordMarker"|"StartTimer"|"CancelTimer"|"SignalExternalWorkflowExecution"|"RequestCancelExternalWorkflowExecution"|"StartChildWorkflowExecution"|"ScheduleLambdaFunction"|string;
1015
1024
  export interface DeprecateActivityTypeInput {
1016
1025
  /**
@@ -2050,6 +2059,14 @@ declare namespace SWF {
2050
2059
  * User defined context to add to workflow execution.
2051
2060
  */
2052
2061
  executionContext?: Data;
2062
+ /**
2063
+ * The task list to use for the future decision tasks of this workflow execution. This list overrides the original task list you specified while starting the workflow execution.
2064
+ */
2065
+ taskList?: TaskList;
2066
+ /**
2067
+ * Specifies a timeout (in seconds) for the task list override. When this parameter is missing, the task list override is permanent. This parameter makes it possible to temporarily override the task list. If a decision task scheduled on the override task list is not started within the timeout, the decision task will time out. Amazon SWF will revert the override and schedule a new decision task to the original task list. If a decision task scheduled on the override task list is started within the timeout, but not completed within the start-to-close timeout, Amazon SWF will also revert the override and schedule a new decision task to the original task list.
2068
+ */
2069
+ taskListScheduleToStartTimeout?: DurationInSecondsOptional;
2053
2070
  }
2054
2071
  export type ReverseOrder = boolean;
2055
2072
  export interface Run {
@@ -83,7 +83,7 @@ return /******/ (function(modules) { // webpackBootstrap
83
83
  /**
84
84
  * @constant
85
85
  */
86
- VERSION: '2.1434.0',
86
+ VERSION: '2.1435.0',
87
87
 
88
88
  /**
89
89
  * @api private