@aws-sdk/client-swf 3.300.0 → 3.303.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.
Files changed (42) hide show
  1. package/dist-cjs/models/models_0.js +200 -226
  2. package/dist-es/models/models_0.js +200 -226
  3. package/dist-types/commands/CountClosedWorkflowExecutionsCommand.d.ts +6 -6
  4. package/dist-types/commands/CountOpenWorkflowExecutionsCommand.d.ts +5 -5
  5. package/dist-types/commands/CountPendingActivityTasksCommand.d.ts +2 -2
  6. package/dist-types/commands/CountPendingDecisionTasksCommand.d.ts +2 -2
  7. package/dist-types/commands/DeprecateActivityTypeCommand.d.ts +2 -2
  8. package/dist-types/commands/DeprecateDomainCommand.d.ts +1 -1
  9. package/dist-types/commands/DeprecateWorkflowTypeCommand.d.ts +2 -2
  10. package/dist-types/commands/DescribeActivityTypeCommand.d.ts +2 -2
  11. package/dist-types/commands/DescribeDomainCommand.d.ts +1 -1
  12. package/dist-types/commands/DescribeWorkflowExecutionCommand.d.ts +2 -2
  13. package/dist-types/commands/DescribeWorkflowTypeCommand.d.ts +2 -2
  14. package/dist-types/commands/GetWorkflowExecutionHistoryCommand.d.ts +2 -2
  15. package/dist-types/commands/ListActivityTypesCommand.d.ts +1 -1
  16. package/dist-types/commands/ListClosedWorkflowExecutionsCommand.d.ts +6 -6
  17. package/dist-types/commands/ListDomainsCommand.d.ts +1 -1
  18. package/dist-types/commands/ListOpenWorkflowExecutionsCommand.d.ts +5 -5
  19. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  20. package/dist-types/commands/ListWorkflowTypesCommand.d.ts +1 -1
  21. package/dist-types/commands/PollForActivityTaskCommand.d.ts +2 -2
  22. package/dist-types/commands/PollForDecisionTaskCommand.d.ts +2 -2
  23. package/dist-types/commands/RecordActivityTaskHeartbeatCommand.d.ts +1 -1
  24. package/dist-types/commands/RegisterActivityTypeCommand.d.ts +2 -2
  25. package/dist-types/commands/RegisterDomainCommand.d.ts +3 -3
  26. package/dist-types/commands/RegisterWorkflowTypeCommand.d.ts +2 -2
  27. package/dist-types/commands/RequestCancelWorkflowExecutionCommand.d.ts +1 -1
  28. package/dist-types/commands/RespondActivityTaskCanceledCommand.d.ts +1 -1
  29. package/dist-types/commands/RespondActivityTaskCompletedCommand.d.ts +1 -1
  30. package/dist-types/commands/RespondActivityTaskFailedCommand.d.ts +1 -1
  31. package/dist-types/commands/RespondDecisionTaskCompletedCommand.d.ts +20 -20
  32. package/dist-types/commands/SignalWorkflowExecutionCommand.d.ts +1 -1
  33. package/dist-types/commands/StartWorkflowExecutionCommand.d.ts +4 -4
  34. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  35. package/dist-types/commands/TerminateWorkflowExecutionCommand.d.ts +1 -1
  36. package/dist-types/commands/UndeprecateActivityTypeCommand.d.ts +2 -2
  37. package/dist-types/commands/UndeprecateDomainCommand.d.ts +1 -1
  38. package/dist-types/commands/UndeprecateWorkflowTypeCommand.d.ts +2 -2
  39. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  40. package/dist-types/models/models_0.d.ts +331 -201
  41. package/dist-types/ts3.4/models/models_0.d.ts +248 -200
  42. package/package.json +34 -34
@@ -1,62 +1,53 @@
1
1
  import { SWFServiceException as __BaseException } from "./SWFServiceException";
2
- export var ActivityTaskTimeoutType;
3
- (function (ActivityTaskTimeoutType) {
4
- ActivityTaskTimeoutType["HEARTBEAT"] = "HEARTBEAT";
5
- ActivityTaskTimeoutType["SCHEDULE_TO_CLOSE"] = "SCHEDULE_TO_CLOSE";
6
- ActivityTaskTimeoutType["SCHEDULE_TO_START"] = "SCHEDULE_TO_START";
7
- ActivityTaskTimeoutType["START_TO_CLOSE"] = "START_TO_CLOSE";
8
- })(ActivityTaskTimeoutType || (ActivityTaskTimeoutType = {}));
9
- export var RegistrationStatus;
10
- (function (RegistrationStatus) {
11
- RegistrationStatus["DEPRECATED"] = "DEPRECATED";
12
- RegistrationStatus["REGISTERED"] = "REGISTERED";
13
- })(RegistrationStatus || (RegistrationStatus = {}));
14
- export var CancelTimerFailedCause;
15
- (function (CancelTimerFailedCause) {
16
- CancelTimerFailedCause["OPERATION_NOT_PERMITTED"] = "OPERATION_NOT_PERMITTED";
17
- CancelTimerFailedCause["TIMER_ID_UNKNOWN"] = "TIMER_ID_UNKNOWN";
18
- })(CancelTimerFailedCause || (CancelTimerFailedCause = {}));
19
- export var CancelWorkflowExecutionFailedCause;
20
- (function (CancelWorkflowExecutionFailedCause) {
21
- CancelWorkflowExecutionFailedCause["OPERATION_NOT_PERMITTED"] = "OPERATION_NOT_PERMITTED";
22
- CancelWorkflowExecutionFailedCause["UNHANDLED_DECISION"] = "UNHANDLED_DECISION";
23
- })(CancelWorkflowExecutionFailedCause || (CancelWorkflowExecutionFailedCause = {}));
24
- export var ChildPolicy;
25
- (function (ChildPolicy) {
26
- ChildPolicy["ABANDON"] = "ABANDON";
27
- ChildPolicy["REQUEST_CANCEL"] = "REQUEST_CANCEL";
28
- ChildPolicy["TERMINATE"] = "TERMINATE";
29
- })(ChildPolicy || (ChildPolicy = {}));
30
- export var WorkflowExecutionTimeoutType;
31
- (function (WorkflowExecutionTimeoutType) {
32
- WorkflowExecutionTimeoutType["START_TO_CLOSE"] = "START_TO_CLOSE";
33
- })(WorkflowExecutionTimeoutType || (WorkflowExecutionTimeoutType = {}));
34
- export var CloseStatus;
35
- (function (CloseStatus) {
36
- CloseStatus["CANCELED"] = "CANCELED";
37
- CloseStatus["COMPLETED"] = "COMPLETED";
38
- CloseStatus["CONTINUED_AS_NEW"] = "CONTINUED_AS_NEW";
39
- CloseStatus["FAILED"] = "FAILED";
40
- CloseStatus["TERMINATED"] = "TERMINATED";
41
- CloseStatus["TIMED_OUT"] = "TIMED_OUT";
42
- })(CloseStatus || (CloseStatus = {}));
43
- export var CompleteWorkflowExecutionFailedCause;
44
- (function (CompleteWorkflowExecutionFailedCause) {
45
- CompleteWorkflowExecutionFailedCause["OPERATION_NOT_PERMITTED"] = "OPERATION_NOT_PERMITTED";
46
- CompleteWorkflowExecutionFailedCause["UNHANDLED_DECISION"] = "UNHANDLED_DECISION";
47
- })(CompleteWorkflowExecutionFailedCause || (CompleteWorkflowExecutionFailedCause = {}));
48
- export var ContinueAsNewWorkflowExecutionFailedCause;
49
- (function (ContinueAsNewWorkflowExecutionFailedCause) {
50
- ContinueAsNewWorkflowExecutionFailedCause["CONTINUE_AS_NEW_WORKFLOW_EXECUTION_RATE_EXCEEDED"] = "CONTINUE_AS_NEW_WORKFLOW_EXECUTION_RATE_EXCEEDED";
51
- ContinueAsNewWorkflowExecutionFailedCause["DEFAULT_CHILD_POLICY_UNDEFINED"] = "DEFAULT_CHILD_POLICY_UNDEFINED";
52
- ContinueAsNewWorkflowExecutionFailedCause["DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED"] = "DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED";
53
- ContinueAsNewWorkflowExecutionFailedCause["DEFAULT_TASK_LIST_UNDEFINED"] = "DEFAULT_TASK_LIST_UNDEFINED";
54
- ContinueAsNewWorkflowExecutionFailedCause["DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED"] = "DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED";
55
- ContinueAsNewWorkflowExecutionFailedCause["OPERATION_NOT_PERMITTED"] = "OPERATION_NOT_PERMITTED";
56
- ContinueAsNewWorkflowExecutionFailedCause["UNHANDLED_DECISION"] = "UNHANDLED_DECISION";
57
- ContinueAsNewWorkflowExecutionFailedCause["WORKFLOW_TYPE_DEPRECATED"] = "WORKFLOW_TYPE_DEPRECATED";
58
- ContinueAsNewWorkflowExecutionFailedCause["WORKFLOW_TYPE_DOES_NOT_EXIST"] = "WORKFLOW_TYPE_DOES_NOT_EXIST";
59
- })(ContinueAsNewWorkflowExecutionFailedCause || (ContinueAsNewWorkflowExecutionFailedCause = {}));
2
+ export const ActivityTaskTimeoutType = {
3
+ HEARTBEAT: "HEARTBEAT",
4
+ SCHEDULE_TO_CLOSE: "SCHEDULE_TO_CLOSE",
5
+ SCHEDULE_TO_START: "SCHEDULE_TO_START",
6
+ START_TO_CLOSE: "START_TO_CLOSE",
7
+ };
8
+ export const RegistrationStatus = {
9
+ DEPRECATED: "DEPRECATED",
10
+ REGISTERED: "REGISTERED",
11
+ };
12
+ export const CancelTimerFailedCause = {
13
+ OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
14
+ TIMER_ID_UNKNOWN: "TIMER_ID_UNKNOWN",
15
+ };
16
+ export const CancelWorkflowExecutionFailedCause = {
17
+ OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
18
+ UNHANDLED_DECISION: "UNHANDLED_DECISION",
19
+ };
20
+ export const ChildPolicy = {
21
+ ABANDON: "ABANDON",
22
+ REQUEST_CANCEL: "REQUEST_CANCEL",
23
+ TERMINATE: "TERMINATE",
24
+ };
25
+ export const WorkflowExecutionTimeoutType = {
26
+ START_TO_CLOSE: "START_TO_CLOSE",
27
+ };
28
+ export const CloseStatus = {
29
+ CANCELED: "CANCELED",
30
+ COMPLETED: "COMPLETED",
31
+ CONTINUED_AS_NEW: "CONTINUED_AS_NEW",
32
+ FAILED: "FAILED",
33
+ TERMINATED: "TERMINATED",
34
+ TIMED_OUT: "TIMED_OUT",
35
+ };
36
+ export const CompleteWorkflowExecutionFailedCause = {
37
+ OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
38
+ UNHANDLED_DECISION: "UNHANDLED_DECISION",
39
+ };
40
+ export const ContinueAsNewWorkflowExecutionFailedCause = {
41
+ CONTINUE_AS_NEW_WORKFLOW_EXECUTION_RATE_EXCEEDED: "CONTINUE_AS_NEW_WORKFLOW_EXECUTION_RATE_EXCEEDED",
42
+ DEFAULT_CHILD_POLICY_UNDEFINED: "DEFAULT_CHILD_POLICY_UNDEFINED",
43
+ DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED: "DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED",
44
+ DEFAULT_TASK_LIST_UNDEFINED: "DEFAULT_TASK_LIST_UNDEFINED",
45
+ DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED: "DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED",
46
+ OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
47
+ UNHANDLED_DECISION: "UNHANDLED_DECISION",
48
+ WORKFLOW_TYPE_DEPRECATED: "WORKFLOW_TYPE_DEPRECATED",
49
+ WORKFLOW_TYPE_DOES_NOT_EXIST: "WORKFLOW_TYPE_DOES_NOT_EXIST",
50
+ };
60
51
  export class OperationNotPermittedFault extends __BaseException {
61
52
  constructor(opts) {
62
53
  super({
@@ -81,169 +72,153 @@ export class UnknownResourceFault extends __BaseException {
81
72
  Object.setPrototypeOf(this, UnknownResourceFault.prototype);
82
73
  }
83
74
  }
84
- export var DecisionType;
85
- (function (DecisionType) {
86
- DecisionType["CancelTimer"] = "CancelTimer";
87
- DecisionType["CancelWorkflowExecution"] = "CancelWorkflowExecution";
88
- DecisionType["CompleteWorkflowExecution"] = "CompleteWorkflowExecution";
89
- DecisionType["ContinueAsNewWorkflowExecution"] = "ContinueAsNewWorkflowExecution";
90
- DecisionType["FailWorkflowExecution"] = "FailWorkflowExecution";
91
- DecisionType["RecordMarker"] = "RecordMarker";
92
- DecisionType["RequestCancelActivityTask"] = "RequestCancelActivityTask";
93
- DecisionType["RequestCancelExternalWorkflowExecution"] = "RequestCancelExternalWorkflowExecution";
94
- DecisionType["ScheduleActivityTask"] = "ScheduleActivityTask";
95
- DecisionType["ScheduleLambdaFunction"] = "ScheduleLambdaFunction";
96
- DecisionType["SignalExternalWorkflowExecution"] = "SignalExternalWorkflowExecution";
97
- DecisionType["StartChildWorkflowExecution"] = "StartChildWorkflowExecution";
98
- DecisionType["StartTimer"] = "StartTimer";
99
- })(DecisionType || (DecisionType = {}));
100
- export var DecisionTaskTimeoutType;
101
- (function (DecisionTaskTimeoutType) {
102
- DecisionTaskTimeoutType["START_TO_CLOSE"] = "START_TO_CLOSE";
103
- })(DecisionTaskTimeoutType || (DecisionTaskTimeoutType = {}));
104
- export var EventType;
105
- (function (EventType) {
106
- EventType["ActivityTaskCancelRequested"] = "ActivityTaskCancelRequested";
107
- EventType["ActivityTaskCanceled"] = "ActivityTaskCanceled";
108
- EventType["ActivityTaskCompleted"] = "ActivityTaskCompleted";
109
- EventType["ActivityTaskFailed"] = "ActivityTaskFailed";
110
- EventType["ActivityTaskScheduled"] = "ActivityTaskScheduled";
111
- EventType["ActivityTaskStarted"] = "ActivityTaskStarted";
112
- EventType["ActivityTaskTimedOut"] = "ActivityTaskTimedOut";
113
- EventType["CancelTimerFailed"] = "CancelTimerFailed";
114
- EventType["CancelWorkflowExecutionFailed"] = "CancelWorkflowExecutionFailed";
115
- EventType["ChildWorkflowExecutionCanceled"] = "ChildWorkflowExecutionCanceled";
116
- EventType["ChildWorkflowExecutionCompleted"] = "ChildWorkflowExecutionCompleted";
117
- EventType["ChildWorkflowExecutionFailed"] = "ChildWorkflowExecutionFailed";
118
- EventType["ChildWorkflowExecutionStarted"] = "ChildWorkflowExecutionStarted";
119
- EventType["ChildWorkflowExecutionTerminated"] = "ChildWorkflowExecutionTerminated";
120
- EventType["ChildWorkflowExecutionTimedOut"] = "ChildWorkflowExecutionTimedOut";
121
- EventType["CompleteWorkflowExecutionFailed"] = "CompleteWorkflowExecutionFailed";
122
- EventType["ContinueAsNewWorkflowExecutionFailed"] = "ContinueAsNewWorkflowExecutionFailed";
123
- EventType["DecisionTaskCompleted"] = "DecisionTaskCompleted";
124
- EventType["DecisionTaskScheduled"] = "DecisionTaskScheduled";
125
- EventType["DecisionTaskStarted"] = "DecisionTaskStarted";
126
- EventType["DecisionTaskTimedOut"] = "DecisionTaskTimedOut";
127
- EventType["ExternalWorkflowExecutionCancelRequested"] = "ExternalWorkflowExecutionCancelRequested";
128
- EventType["ExternalWorkflowExecutionSignaled"] = "ExternalWorkflowExecutionSignaled";
129
- EventType["FailWorkflowExecutionFailed"] = "FailWorkflowExecutionFailed";
130
- EventType["LambdaFunctionCompleted"] = "LambdaFunctionCompleted";
131
- EventType["LambdaFunctionFailed"] = "LambdaFunctionFailed";
132
- EventType["LambdaFunctionScheduled"] = "LambdaFunctionScheduled";
133
- EventType["LambdaFunctionStarted"] = "LambdaFunctionStarted";
134
- EventType["LambdaFunctionTimedOut"] = "LambdaFunctionTimedOut";
135
- EventType["MarkerRecorded"] = "MarkerRecorded";
136
- EventType["RecordMarkerFailed"] = "RecordMarkerFailed";
137
- EventType["RequestCancelActivityTaskFailed"] = "RequestCancelActivityTaskFailed";
138
- EventType["RequestCancelExternalWorkflowExecutionFailed"] = "RequestCancelExternalWorkflowExecutionFailed";
139
- EventType["RequestCancelExternalWorkflowExecutionInitiated"] = "RequestCancelExternalWorkflowExecutionInitiated";
140
- EventType["ScheduleActivityTaskFailed"] = "ScheduleActivityTaskFailed";
141
- EventType["ScheduleLambdaFunctionFailed"] = "ScheduleLambdaFunctionFailed";
142
- EventType["SignalExternalWorkflowExecutionFailed"] = "SignalExternalWorkflowExecutionFailed";
143
- EventType["SignalExternalWorkflowExecutionInitiated"] = "SignalExternalWorkflowExecutionInitiated";
144
- EventType["StartChildWorkflowExecutionFailed"] = "StartChildWorkflowExecutionFailed";
145
- EventType["StartChildWorkflowExecutionInitiated"] = "StartChildWorkflowExecutionInitiated";
146
- EventType["StartLambdaFunctionFailed"] = "StartLambdaFunctionFailed";
147
- EventType["StartTimerFailed"] = "StartTimerFailed";
148
- EventType["TimerCanceled"] = "TimerCanceled";
149
- EventType["TimerFired"] = "TimerFired";
150
- EventType["TimerStarted"] = "TimerStarted";
151
- EventType["WorkflowExecutionCancelRequested"] = "WorkflowExecutionCancelRequested";
152
- EventType["WorkflowExecutionCanceled"] = "WorkflowExecutionCanceled";
153
- EventType["WorkflowExecutionCompleted"] = "WorkflowExecutionCompleted";
154
- EventType["WorkflowExecutionContinuedAsNew"] = "WorkflowExecutionContinuedAsNew";
155
- EventType["WorkflowExecutionFailed"] = "WorkflowExecutionFailed";
156
- EventType["WorkflowExecutionSignaled"] = "WorkflowExecutionSignaled";
157
- EventType["WorkflowExecutionStarted"] = "WorkflowExecutionStarted";
158
- EventType["WorkflowExecutionTerminated"] = "WorkflowExecutionTerminated";
159
- EventType["WorkflowExecutionTimedOut"] = "WorkflowExecutionTimedOut";
160
- })(EventType || (EventType = {}));
161
- export var FailWorkflowExecutionFailedCause;
162
- (function (FailWorkflowExecutionFailedCause) {
163
- FailWorkflowExecutionFailedCause["OPERATION_NOT_PERMITTED"] = "OPERATION_NOT_PERMITTED";
164
- FailWorkflowExecutionFailedCause["UNHANDLED_DECISION"] = "UNHANDLED_DECISION";
165
- })(FailWorkflowExecutionFailedCause || (FailWorkflowExecutionFailedCause = {}));
166
- export var LambdaFunctionTimeoutType;
167
- (function (LambdaFunctionTimeoutType) {
168
- LambdaFunctionTimeoutType["START_TO_CLOSE"] = "START_TO_CLOSE";
169
- })(LambdaFunctionTimeoutType || (LambdaFunctionTimeoutType = {}));
170
- export var RecordMarkerFailedCause;
171
- (function (RecordMarkerFailedCause) {
172
- RecordMarkerFailedCause["OPERATION_NOT_PERMITTED"] = "OPERATION_NOT_PERMITTED";
173
- })(RecordMarkerFailedCause || (RecordMarkerFailedCause = {}));
174
- export var RequestCancelActivityTaskFailedCause;
175
- (function (RequestCancelActivityTaskFailedCause) {
176
- RequestCancelActivityTaskFailedCause["ACTIVITY_ID_UNKNOWN"] = "ACTIVITY_ID_UNKNOWN";
177
- RequestCancelActivityTaskFailedCause["OPERATION_NOT_PERMITTED"] = "OPERATION_NOT_PERMITTED";
178
- })(RequestCancelActivityTaskFailedCause || (RequestCancelActivityTaskFailedCause = {}));
179
- export var RequestCancelExternalWorkflowExecutionFailedCause;
180
- (function (RequestCancelExternalWorkflowExecutionFailedCause) {
181
- RequestCancelExternalWorkflowExecutionFailedCause["OPERATION_NOT_PERMITTED"] = "OPERATION_NOT_PERMITTED";
182
- RequestCancelExternalWorkflowExecutionFailedCause["REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED"] = "REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED";
183
- RequestCancelExternalWorkflowExecutionFailedCause["UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION"] = "UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION";
184
- })(RequestCancelExternalWorkflowExecutionFailedCause || (RequestCancelExternalWorkflowExecutionFailedCause = {}));
185
- export var ScheduleActivityTaskFailedCause;
186
- (function (ScheduleActivityTaskFailedCause) {
187
- ScheduleActivityTaskFailedCause["ACTIVITY_CREATION_RATE_EXCEEDED"] = "ACTIVITY_CREATION_RATE_EXCEEDED";
188
- ScheduleActivityTaskFailedCause["ACTIVITY_ID_ALREADY_IN_USE"] = "ACTIVITY_ID_ALREADY_IN_USE";
189
- ScheduleActivityTaskFailedCause["ACTIVITY_TYPE_DEPRECATED"] = "ACTIVITY_TYPE_DEPRECATED";
190
- ScheduleActivityTaskFailedCause["ACTIVITY_TYPE_DOES_NOT_EXIST"] = "ACTIVITY_TYPE_DOES_NOT_EXIST";
191
- ScheduleActivityTaskFailedCause["DEFAULT_HEARTBEAT_TIMEOUT_UNDEFINED"] = "DEFAULT_HEARTBEAT_TIMEOUT_UNDEFINED";
192
- ScheduleActivityTaskFailedCause["DEFAULT_SCHEDULE_TO_CLOSE_TIMEOUT_UNDEFINED"] = "DEFAULT_SCHEDULE_TO_CLOSE_TIMEOUT_UNDEFINED";
193
- ScheduleActivityTaskFailedCause["DEFAULT_SCHEDULE_TO_START_TIMEOUT_UNDEFINED"] = "DEFAULT_SCHEDULE_TO_START_TIMEOUT_UNDEFINED";
194
- ScheduleActivityTaskFailedCause["DEFAULT_START_TO_CLOSE_TIMEOUT_UNDEFINED"] = "DEFAULT_START_TO_CLOSE_TIMEOUT_UNDEFINED";
195
- ScheduleActivityTaskFailedCause["DEFAULT_TASK_LIST_UNDEFINED"] = "DEFAULT_TASK_LIST_UNDEFINED";
196
- ScheduleActivityTaskFailedCause["OPEN_ACTIVITIES_LIMIT_EXCEEDED"] = "OPEN_ACTIVITIES_LIMIT_EXCEEDED";
197
- ScheduleActivityTaskFailedCause["OPERATION_NOT_PERMITTED"] = "OPERATION_NOT_PERMITTED";
198
- })(ScheduleActivityTaskFailedCause || (ScheduleActivityTaskFailedCause = {}));
199
- export var ScheduleLambdaFunctionFailedCause;
200
- (function (ScheduleLambdaFunctionFailedCause) {
201
- ScheduleLambdaFunctionFailedCause["ID_ALREADY_IN_USE"] = "ID_ALREADY_IN_USE";
202
- ScheduleLambdaFunctionFailedCause["LAMBDA_FUNCTION_CREATION_RATE_EXCEEDED"] = "LAMBDA_FUNCTION_CREATION_RATE_EXCEEDED";
203
- ScheduleLambdaFunctionFailedCause["LAMBDA_SERVICE_NOT_AVAILABLE_IN_REGION"] = "LAMBDA_SERVICE_NOT_AVAILABLE_IN_REGION";
204
- ScheduleLambdaFunctionFailedCause["OPEN_LAMBDA_FUNCTIONS_LIMIT_EXCEEDED"] = "OPEN_LAMBDA_FUNCTIONS_LIMIT_EXCEEDED";
205
- })(ScheduleLambdaFunctionFailedCause || (ScheduleLambdaFunctionFailedCause = {}));
206
- export var SignalExternalWorkflowExecutionFailedCause;
207
- (function (SignalExternalWorkflowExecutionFailedCause) {
208
- SignalExternalWorkflowExecutionFailedCause["OPERATION_NOT_PERMITTED"] = "OPERATION_NOT_PERMITTED";
209
- SignalExternalWorkflowExecutionFailedCause["SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED"] = "SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED";
210
- SignalExternalWorkflowExecutionFailedCause["UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION"] = "UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION";
211
- })(SignalExternalWorkflowExecutionFailedCause || (SignalExternalWorkflowExecutionFailedCause = {}));
212
- export var StartChildWorkflowExecutionFailedCause;
213
- (function (StartChildWorkflowExecutionFailedCause) {
214
- StartChildWorkflowExecutionFailedCause["CHILD_CREATION_RATE_EXCEEDED"] = "CHILD_CREATION_RATE_EXCEEDED";
215
- StartChildWorkflowExecutionFailedCause["DEFAULT_CHILD_POLICY_UNDEFINED"] = "DEFAULT_CHILD_POLICY_UNDEFINED";
216
- StartChildWorkflowExecutionFailedCause["DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED"] = "DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED";
217
- StartChildWorkflowExecutionFailedCause["DEFAULT_TASK_LIST_UNDEFINED"] = "DEFAULT_TASK_LIST_UNDEFINED";
218
- StartChildWorkflowExecutionFailedCause["DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED"] = "DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED";
219
- StartChildWorkflowExecutionFailedCause["OPEN_CHILDREN_LIMIT_EXCEEDED"] = "OPEN_CHILDREN_LIMIT_EXCEEDED";
220
- StartChildWorkflowExecutionFailedCause["OPEN_WORKFLOWS_LIMIT_EXCEEDED"] = "OPEN_WORKFLOWS_LIMIT_EXCEEDED";
221
- StartChildWorkflowExecutionFailedCause["OPERATION_NOT_PERMITTED"] = "OPERATION_NOT_PERMITTED";
222
- StartChildWorkflowExecutionFailedCause["WORKFLOW_ALREADY_RUNNING"] = "WORKFLOW_ALREADY_RUNNING";
223
- StartChildWorkflowExecutionFailedCause["WORKFLOW_TYPE_DEPRECATED"] = "WORKFLOW_TYPE_DEPRECATED";
224
- StartChildWorkflowExecutionFailedCause["WORKFLOW_TYPE_DOES_NOT_EXIST"] = "WORKFLOW_TYPE_DOES_NOT_EXIST";
225
- })(StartChildWorkflowExecutionFailedCause || (StartChildWorkflowExecutionFailedCause = {}));
226
- export var StartLambdaFunctionFailedCause;
227
- (function (StartLambdaFunctionFailedCause) {
228
- StartLambdaFunctionFailedCause["ASSUME_ROLE_FAILED"] = "ASSUME_ROLE_FAILED";
229
- })(StartLambdaFunctionFailedCause || (StartLambdaFunctionFailedCause = {}));
230
- export var StartTimerFailedCause;
231
- (function (StartTimerFailedCause) {
232
- StartTimerFailedCause["OPEN_TIMERS_LIMIT_EXCEEDED"] = "OPEN_TIMERS_LIMIT_EXCEEDED";
233
- StartTimerFailedCause["OPERATION_NOT_PERMITTED"] = "OPERATION_NOT_PERMITTED";
234
- StartTimerFailedCause["TIMER_CREATION_RATE_EXCEEDED"] = "TIMER_CREATION_RATE_EXCEEDED";
235
- StartTimerFailedCause["TIMER_ID_ALREADY_IN_USE"] = "TIMER_ID_ALREADY_IN_USE";
236
- })(StartTimerFailedCause || (StartTimerFailedCause = {}));
237
- export var WorkflowExecutionCancelRequestedCause;
238
- (function (WorkflowExecutionCancelRequestedCause) {
239
- WorkflowExecutionCancelRequestedCause["CHILD_POLICY_APPLIED"] = "CHILD_POLICY_APPLIED";
240
- })(WorkflowExecutionCancelRequestedCause || (WorkflowExecutionCancelRequestedCause = {}));
241
- export var WorkflowExecutionTerminatedCause;
242
- (function (WorkflowExecutionTerminatedCause) {
243
- WorkflowExecutionTerminatedCause["CHILD_POLICY_APPLIED"] = "CHILD_POLICY_APPLIED";
244
- WorkflowExecutionTerminatedCause["EVENT_LIMIT_EXCEEDED"] = "EVENT_LIMIT_EXCEEDED";
245
- WorkflowExecutionTerminatedCause["OPERATOR_INITIATED"] = "OPERATOR_INITIATED";
246
- })(WorkflowExecutionTerminatedCause || (WorkflowExecutionTerminatedCause = {}));
75
+ export const DecisionType = {
76
+ CancelTimer: "CancelTimer",
77
+ CancelWorkflowExecution: "CancelWorkflowExecution",
78
+ CompleteWorkflowExecution: "CompleteWorkflowExecution",
79
+ ContinueAsNewWorkflowExecution: "ContinueAsNewWorkflowExecution",
80
+ FailWorkflowExecution: "FailWorkflowExecution",
81
+ RecordMarker: "RecordMarker",
82
+ RequestCancelActivityTask: "RequestCancelActivityTask",
83
+ RequestCancelExternalWorkflowExecution: "RequestCancelExternalWorkflowExecution",
84
+ ScheduleActivityTask: "ScheduleActivityTask",
85
+ ScheduleLambdaFunction: "ScheduleLambdaFunction",
86
+ SignalExternalWorkflowExecution: "SignalExternalWorkflowExecution",
87
+ StartChildWorkflowExecution: "StartChildWorkflowExecution",
88
+ StartTimer: "StartTimer",
89
+ };
90
+ export const DecisionTaskTimeoutType = {
91
+ START_TO_CLOSE: "START_TO_CLOSE",
92
+ };
93
+ export const EventType = {
94
+ ActivityTaskCancelRequested: "ActivityTaskCancelRequested",
95
+ ActivityTaskCanceled: "ActivityTaskCanceled",
96
+ ActivityTaskCompleted: "ActivityTaskCompleted",
97
+ ActivityTaskFailed: "ActivityTaskFailed",
98
+ ActivityTaskScheduled: "ActivityTaskScheduled",
99
+ ActivityTaskStarted: "ActivityTaskStarted",
100
+ ActivityTaskTimedOut: "ActivityTaskTimedOut",
101
+ CancelTimerFailed: "CancelTimerFailed",
102
+ CancelWorkflowExecutionFailed: "CancelWorkflowExecutionFailed",
103
+ ChildWorkflowExecutionCanceled: "ChildWorkflowExecutionCanceled",
104
+ ChildWorkflowExecutionCompleted: "ChildWorkflowExecutionCompleted",
105
+ ChildWorkflowExecutionFailed: "ChildWorkflowExecutionFailed",
106
+ ChildWorkflowExecutionStarted: "ChildWorkflowExecutionStarted",
107
+ ChildWorkflowExecutionTerminated: "ChildWorkflowExecutionTerminated",
108
+ ChildWorkflowExecutionTimedOut: "ChildWorkflowExecutionTimedOut",
109
+ CompleteWorkflowExecutionFailed: "CompleteWorkflowExecutionFailed",
110
+ ContinueAsNewWorkflowExecutionFailed: "ContinueAsNewWorkflowExecutionFailed",
111
+ DecisionTaskCompleted: "DecisionTaskCompleted",
112
+ DecisionTaskScheduled: "DecisionTaskScheduled",
113
+ DecisionTaskStarted: "DecisionTaskStarted",
114
+ DecisionTaskTimedOut: "DecisionTaskTimedOut",
115
+ ExternalWorkflowExecutionCancelRequested: "ExternalWorkflowExecutionCancelRequested",
116
+ ExternalWorkflowExecutionSignaled: "ExternalWorkflowExecutionSignaled",
117
+ FailWorkflowExecutionFailed: "FailWorkflowExecutionFailed",
118
+ LambdaFunctionCompleted: "LambdaFunctionCompleted",
119
+ LambdaFunctionFailed: "LambdaFunctionFailed",
120
+ LambdaFunctionScheduled: "LambdaFunctionScheduled",
121
+ LambdaFunctionStarted: "LambdaFunctionStarted",
122
+ LambdaFunctionTimedOut: "LambdaFunctionTimedOut",
123
+ MarkerRecorded: "MarkerRecorded",
124
+ RecordMarkerFailed: "RecordMarkerFailed",
125
+ RequestCancelActivityTaskFailed: "RequestCancelActivityTaskFailed",
126
+ RequestCancelExternalWorkflowExecutionFailed: "RequestCancelExternalWorkflowExecutionFailed",
127
+ RequestCancelExternalWorkflowExecutionInitiated: "RequestCancelExternalWorkflowExecutionInitiated",
128
+ ScheduleActivityTaskFailed: "ScheduleActivityTaskFailed",
129
+ ScheduleLambdaFunctionFailed: "ScheduleLambdaFunctionFailed",
130
+ SignalExternalWorkflowExecutionFailed: "SignalExternalWorkflowExecutionFailed",
131
+ SignalExternalWorkflowExecutionInitiated: "SignalExternalWorkflowExecutionInitiated",
132
+ StartChildWorkflowExecutionFailed: "StartChildWorkflowExecutionFailed",
133
+ StartChildWorkflowExecutionInitiated: "StartChildWorkflowExecutionInitiated",
134
+ StartLambdaFunctionFailed: "StartLambdaFunctionFailed",
135
+ StartTimerFailed: "StartTimerFailed",
136
+ TimerCanceled: "TimerCanceled",
137
+ TimerFired: "TimerFired",
138
+ TimerStarted: "TimerStarted",
139
+ WorkflowExecutionCancelRequested: "WorkflowExecutionCancelRequested",
140
+ WorkflowExecutionCanceled: "WorkflowExecutionCanceled",
141
+ WorkflowExecutionCompleted: "WorkflowExecutionCompleted",
142
+ WorkflowExecutionContinuedAsNew: "WorkflowExecutionContinuedAsNew",
143
+ WorkflowExecutionFailed: "WorkflowExecutionFailed",
144
+ WorkflowExecutionSignaled: "WorkflowExecutionSignaled",
145
+ WorkflowExecutionStarted: "WorkflowExecutionStarted",
146
+ WorkflowExecutionTerminated: "WorkflowExecutionTerminated",
147
+ WorkflowExecutionTimedOut: "WorkflowExecutionTimedOut",
148
+ };
149
+ export const FailWorkflowExecutionFailedCause = {
150
+ OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
151
+ UNHANDLED_DECISION: "UNHANDLED_DECISION",
152
+ };
153
+ export const LambdaFunctionTimeoutType = {
154
+ START_TO_CLOSE: "START_TO_CLOSE",
155
+ };
156
+ export const RecordMarkerFailedCause = {
157
+ OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
158
+ };
159
+ export const RequestCancelActivityTaskFailedCause = {
160
+ ACTIVITY_ID_UNKNOWN: "ACTIVITY_ID_UNKNOWN",
161
+ OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
162
+ };
163
+ export const RequestCancelExternalWorkflowExecutionFailedCause = {
164
+ OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
165
+ REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED: "REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED",
166
+ UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION: "UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION",
167
+ };
168
+ export const ScheduleActivityTaskFailedCause = {
169
+ ACTIVITY_CREATION_RATE_EXCEEDED: "ACTIVITY_CREATION_RATE_EXCEEDED",
170
+ ACTIVITY_ID_ALREADY_IN_USE: "ACTIVITY_ID_ALREADY_IN_USE",
171
+ ACTIVITY_TYPE_DEPRECATED: "ACTIVITY_TYPE_DEPRECATED",
172
+ ACTIVITY_TYPE_DOES_NOT_EXIST: "ACTIVITY_TYPE_DOES_NOT_EXIST",
173
+ DEFAULT_HEARTBEAT_TIMEOUT_UNDEFINED: "DEFAULT_HEARTBEAT_TIMEOUT_UNDEFINED",
174
+ DEFAULT_SCHEDULE_TO_CLOSE_TIMEOUT_UNDEFINED: "DEFAULT_SCHEDULE_TO_CLOSE_TIMEOUT_UNDEFINED",
175
+ DEFAULT_SCHEDULE_TO_START_TIMEOUT_UNDEFINED: "DEFAULT_SCHEDULE_TO_START_TIMEOUT_UNDEFINED",
176
+ DEFAULT_START_TO_CLOSE_TIMEOUT_UNDEFINED: "DEFAULT_START_TO_CLOSE_TIMEOUT_UNDEFINED",
177
+ DEFAULT_TASK_LIST_UNDEFINED: "DEFAULT_TASK_LIST_UNDEFINED",
178
+ OPEN_ACTIVITIES_LIMIT_EXCEEDED: "OPEN_ACTIVITIES_LIMIT_EXCEEDED",
179
+ OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
180
+ };
181
+ export const ScheduleLambdaFunctionFailedCause = {
182
+ ID_ALREADY_IN_USE: "ID_ALREADY_IN_USE",
183
+ LAMBDA_FUNCTION_CREATION_RATE_EXCEEDED: "LAMBDA_FUNCTION_CREATION_RATE_EXCEEDED",
184
+ LAMBDA_SERVICE_NOT_AVAILABLE_IN_REGION: "LAMBDA_SERVICE_NOT_AVAILABLE_IN_REGION",
185
+ OPEN_LAMBDA_FUNCTIONS_LIMIT_EXCEEDED: "OPEN_LAMBDA_FUNCTIONS_LIMIT_EXCEEDED",
186
+ };
187
+ export const SignalExternalWorkflowExecutionFailedCause = {
188
+ OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
189
+ SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED: "SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED",
190
+ UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION: "UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION",
191
+ };
192
+ export const StartChildWorkflowExecutionFailedCause = {
193
+ CHILD_CREATION_RATE_EXCEEDED: "CHILD_CREATION_RATE_EXCEEDED",
194
+ DEFAULT_CHILD_POLICY_UNDEFINED: "DEFAULT_CHILD_POLICY_UNDEFINED",
195
+ DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED: "DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED",
196
+ DEFAULT_TASK_LIST_UNDEFINED: "DEFAULT_TASK_LIST_UNDEFINED",
197
+ DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED: "DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED",
198
+ OPEN_CHILDREN_LIMIT_EXCEEDED: "OPEN_CHILDREN_LIMIT_EXCEEDED",
199
+ OPEN_WORKFLOWS_LIMIT_EXCEEDED: "OPEN_WORKFLOWS_LIMIT_EXCEEDED",
200
+ OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
201
+ WORKFLOW_ALREADY_RUNNING: "WORKFLOW_ALREADY_RUNNING",
202
+ WORKFLOW_TYPE_DEPRECATED: "WORKFLOW_TYPE_DEPRECATED",
203
+ WORKFLOW_TYPE_DOES_NOT_EXIST: "WORKFLOW_TYPE_DOES_NOT_EXIST",
204
+ };
205
+ export const StartLambdaFunctionFailedCause = {
206
+ ASSUME_ROLE_FAILED: "ASSUME_ROLE_FAILED",
207
+ };
208
+ export const StartTimerFailedCause = {
209
+ OPEN_TIMERS_LIMIT_EXCEEDED: "OPEN_TIMERS_LIMIT_EXCEEDED",
210
+ OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
211
+ TIMER_CREATION_RATE_EXCEEDED: "TIMER_CREATION_RATE_EXCEEDED",
212
+ TIMER_ID_ALREADY_IN_USE: "TIMER_ID_ALREADY_IN_USE",
213
+ };
214
+ export const WorkflowExecutionCancelRequestedCause = {
215
+ CHILD_POLICY_APPLIED: "CHILD_POLICY_APPLIED",
216
+ };
217
+ export const WorkflowExecutionTerminatedCause = {
218
+ CHILD_POLICY_APPLIED: "CHILD_POLICY_APPLIED",
219
+ EVENT_LIMIT_EXCEEDED: "EVENT_LIMIT_EXCEEDED",
220
+ OPERATOR_INITIATED: "OPERATOR_INITIATED",
221
+ };
247
222
  export class DefaultUndefinedFault extends __BaseException {
248
223
  constructor(opts) {
249
224
  super({
@@ -280,11 +255,10 @@ export class DomainDeprecatedFault extends __BaseException {
280
255
  Object.setPrototypeOf(this, DomainDeprecatedFault.prototype);
281
256
  }
282
257
  }
283
- export var ExecutionStatus;
284
- (function (ExecutionStatus) {
285
- ExecutionStatus["CLOSED"] = "CLOSED";
286
- ExecutionStatus["OPEN"] = "OPEN";
287
- })(ExecutionStatus || (ExecutionStatus = {}));
258
+ export const ExecutionStatus = {
259
+ CLOSED: "CLOSED",
260
+ OPEN: "OPEN",
261
+ };
288
262
  export class DomainAlreadyExistsFault extends __BaseException {
289
263
  constructor(opts) {
290
264
  super({
@@ -72,9 +72,9 @@ export interface CountClosedWorkflowExecutionsCommandOutput extends WorkflowExec
72
72
  * import { SWFClient, CountClosedWorkflowExecutionsCommand } from "@aws-sdk/client-swf"; // ES Modules import
73
73
  * // const { SWFClient, CountClosedWorkflowExecutionsCommand } = require("@aws-sdk/client-swf"); // CommonJS import
74
74
  * const client = new SWFClient(config);
75
- * const input = {
75
+ * const input = { // CountClosedWorkflowExecutionsInput
76
76
  * domain: "STRING_VALUE", // required
77
- * startTimeFilter: {
77
+ * startTimeFilter: { // ExecutionTimeFilter
78
78
  * oldestDate: new Date("TIMESTAMP"), // required
79
79
  * latestDate: new Date("TIMESTAMP"),
80
80
  * },
@@ -82,17 +82,17 @@ export interface CountClosedWorkflowExecutionsCommandOutput extends WorkflowExec
82
82
  * oldestDate: new Date("TIMESTAMP"), // required
83
83
  * latestDate: new Date("TIMESTAMP"),
84
84
  * },
85
- * executionFilter: {
85
+ * executionFilter: { // WorkflowExecutionFilter
86
86
  * workflowId: "STRING_VALUE", // required
87
87
  * },
88
- * typeFilter: {
88
+ * typeFilter: { // WorkflowTypeFilter
89
89
  * name: "STRING_VALUE", // required
90
90
  * version: "STRING_VALUE",
91
91
  * },
92
- * tagFilter: {
92
+ * tagFilter: { // TagFilter
93
93
  * tag: "STRING_VALUE", // required
94
94
  * },
95
- * closeStatusFilter: {
95
+ * closeStatusFilter: { // CloseStatusFilter
96
96
  * status: "COMPLETED" || "FAILED" || "CANCELED" || "TERMINATED" || "CONTINUED_AS_NEW" || "TIMED_OUT", // required
97
97
  * },
98
98
  * };
@@ -72,20 +72,20 @@ export interface CountOpenWorkflowExecutionsCommandOutput extends WorkflowExecut
72
72
  * import { SWFClient, CountOpenWorkflowExecutionsCommand } from "@aws-sdk/client-swf"; // ES Modules import
73
73
  * // const { SWFClient, CountOpenWorkflowExecutionsCommand } = require("@aws-sdk/client-swf"); // CommonJS import
74
74
  * const client = new SWFClient(config);
75
- * const input = {
75
+ * const input = { // CountOpenWorkflowExecutionsInput
76
76
  * domain: "STRING_VALUE", // required
77
- * startTimeFilter: {
77
+ * startTimeFilter: { // ExecutionTimeFilter
78
78
  * oldestDate: new Date("TIMESTAMP"), // required
79
79
  * latestDate: new Date("TIMESTAMP"),
80
80
  * },
81
- * typeFilter: {
81
+ * typeFilter: { // WorkflowTypeFilter
82
82
  * name: "STRING_VALUE", // required
83
83
  * version: "STRING_VALUE",
84
84
  * },
85
- * tagFilter: {
85
+ * tagFilter: { // TagFilter
86
86
  * tag: "STRING_VALUE", // required
87
87
  * },
88
- * executionFilter: {
88
+ * executionFilter: { // WorkflowExecutionFilter
89
89
  * workflowId: "STRING_VALUE", // required
90
90
  * },
91
91
  * };
@@ -53,9 +53,9 @@ export interface CountPendingActivityTasksCommandOutput extends PendingTaskCount
53
53
  * import { SWFClient, CountPendingActivityTasksCommand } from "@aws-sdk/client-swf"; // ES Modules import
54
54
  * // const { SWFClient, CountPendingActivityTasksCommand } = require("@aws-sdk/client-swf"); // CommonJS import
55
55
  * const client = new SWFClient(config);
56
- * const input = {
56
+ * const input = { // CountPendingActivityTasksInput
57
57
  * domain: "STRING_VALUE", // required
58
- * taskList: {
58
+ * taskList: { // TaskList
59
59
  * name: "STRING_VALUE", // required
60
60
  * },
61
61
  * };
@@ -53,9 +53,9 @@ export interface CountPendingDecisionTasksCommandOutput extends PendingTaskCount
53
53
  * import { SWFClient, CountPendingDecisionTasksCommand } from "@aws-sdk/client-swf"; // ES Modules import
54
54
  * // const { SWFClient, CountPendingDecisionTasksCommand } = require("@aws-sdk/client-swf"); // CommonJS import
55
55
  * const client = new SWFClient(config);
56
- * const input = {
56
+ * const input = { // CountPendingDecisionTasksInput
57
57
  * domain: "STRING_VALUE", // required
58
- * taskList: {
58
+ * taskList: { // TaskList
59
59
  * name: "STRING_VALUE", // required
60
60
  * },
61
61
  * };
@@ -68,9 +68,9 @@ export interface DeprecateActivityTypeCommandOutput extends __MetadataBearer {
68
68
  * import { SWFClient, DeprecateActivityTypeCommand } from "@aws-sdk/client-swf"; // ES Modules import
69
69
  * // const { SWFClient, DeprecateActivityTypeCommand } = require("@aws-sdk/client-swf"); // CommonJS import
70
70
  * const client = new SWFClient(config);
71
- * const input = {
71
+ * const input = { // DeprecateActivityTypeInput
72
72
  * domain: "STRING_VALUE", // required
73
- * activityType: {
73
+ * activityType: { // ActivityType
74
74
  * name: "STRING_VALUE", // required
75
75
  * version: "STRING_VALUE", // required
76
76
  * },
@@ -57,7 +57,7 @@ export interface DeprecateDomainCommandOutput extends __MetadataBearer {
57
57
  * import { SWFClient, DeprecateDomainCommand } from "@aws-sdk/client-swf"; // ES Modules import
58
58
  * // const { SWFClient, DeprecateDomainCommand } = require("@aws-sdk/client-swf"); // CommonJS import
59
59
  * const client = new SWFClient(config);
60
- * const input = {
60
+ * const input = { // DeprecateDomainInput
61
61
  * name: "STRING_VALUE", // required
62
62
  * };
63
63
  * const command = new DeprecateDomainCommand(input);
@@ -69,9 +69,9 @@ export interface DeprecateWorkflowTypeCommandOutput extends __MetadataBearer {
69
69
  * import { SWFClient, DeprecateWorkflowTypeCommand } from "@aws-sdk/client-swf"; // ES Modules import
70
70
  * // const { SWFClient, DeprecateWorkflowTypeCommand } = require("@aws-sdk/client-swf"); // CommonJS import
71
71
  * const client = new SWFClient(config);
72
- * const input = {
72
+ * const input = { // DeprecateWorkflowTypeInput
73
73
  * domain: "STRING_VALUE", // required
74
- * workflowType: {
74
+ * workflowType: { // WorkflowType
75
75
  * name: "STRING_VALUE", // required
76
76
  * version: "STRING_VALUE", // required
77
77
  * },
@@ -64,9 +64,9 @@ export interface DescribeActivityTypeCommandOutput extends ActivityTypeDetail, _
64
64
  * import { SWFClient, DescribeActivityTypeCommand } from "@aws-sdk/client-swf"; // ES Modules import
65
65
  * // const { SWFClient, DescribeActivityTypeCommand } = require("@aws-sdk/client-swf"); // CommonJS import
66
66
  * const client = new SWFClient(config);
67
- * const input = {
67
+ * const input = { // DescribeActivityTypeInput
68
68
  * domain: "STRING_VALUE", // required
69
- * activityType: {
69
+ * activityType: { // ActivityType
70
70
  * name: "STRING_VALUE", // required
71
71
  * version: "STRING_VALUE", // required
72
72
  * },
@@ -50,7 +50,7 @@ export interface DescribeDomainCommandOutput extends DomainDetail, __MetadataBea
50
50
  * import { SWFClient, DescribeDomainCommand } from "@aws-sdk/client-swf"; // ES Modules import
51
51
  * // const { SWFClient, DescribeDomainCommand } = require("@aws-sdk/client-swf"); // CommonJS import
52
52
  * const client = new SWFClient(config);
53
- * const input = {
53
+ * const input = { // DescribeDomainInput
54
54
  * name: "STRING_VALUE", // required
55
55
  * };
56
56
  * const command = new DescribeDomainCommand(input);