/
api_enums.go
541 lines (436 loc) · 24.6 KB
/
api_enums.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package swf
type ActivityTaskTimeoutType string
// Enum values for ActivityTaskTimeoutType
const (
ActivityTaskTimeoutTypeStartToClose ActivityTaskTimeoutType = "START_TO_CLOSE"
ActivityTaskTimeoutTypeScheduleToStart ActivityTaskTimeoutType = "SCHEDULE_TO_START"
ActivityTaskTimeoutTypeScheduleToClose ActivityTaskTimeoutType = "SCHEDULE_TO_CLOSE"
ActivityTaskTimeoutTypeHeartbeat ActivityTaskTimeoutType = "HEARTBEAT"
)
func (enum ActivityTaskTimeoutType) MarshalValue() (string, error) {
return string(enum), nil
}
func (enum ActivityTaskTimeoutType) MarshalValueBuf(b []byte) ([]byte, error) {
b = b[0:0]
return append(b, enum...), nil
}
type CancelTimerFailedCause string
// Enum values for CancelTimerFailedCause
const (
CancelTimerFailedCauseTimerIdUnknown CancelTimerFailedCause = "TIMER_ID_UNKNOWN"
CancelTimerFailedCauseOperationNotPermitted CancelTimerFailedCause = "OPERATION_NOT_PERMITTED"
)
func (enum CancelTimerFailedCause) MarshalValue() (string, error) {
return string(enum), nil
}
func (enum CancelTimerFailedCause) MarshalValueBuf(b []byte) ([]byte, error) {
b = b[0:0]
return append(b, enum...), nil
}
type CancelWorkflowExecutionFailedCause string
// Enum values for CancelWorkflowExecutionFailedCause
const (
CancelWorkflowExecutionFailedCauseUnhandledDecision CancelWorkflowExecutionFailedCause = "UNHANDLED_DECISION"
CancelWorkflowExecutionFailedCauseOperationNotPermitted CancelWorkflowExecutionFailedCause = "OPERATION_NOT_PERMITTED"
)
func (enum CancelWorkflowExecutionFailedCause) MarshalValue() (string, error) {
return string(enum), nil
}
func (enum CancelWorkflowExecutionFailedCause) MarshalValueBuf(b []byte) ([]byte, error) {
b = b[0:0]
return append(b, enum...), nil
}
type ChildPolicy string
// Enum values for ChildPolicy
const (
ChildPolicyTerminate ChildPolicy = "TERMINATE"
ChildPolicyRequestCancel ChildPolicy = "REQUEST_CANCEL"
ChildPolicyAbandon ChildPolicy = "ABANDON"
)
func (enum ChildPolicy) MarshalValue() (string, error) {
return string(enum), nil
}
func (enum ChildPolicy) MarshalValueBuf(b []byte) ([]byte, error) {
b = b[0:0]
return append(b, enum...), nil
}
type CloseStatus string
// Enum values for CloseStatus
const (
CloseStatusCompleted CloseStatus = "COMPLETED"
CloseStatusFailed CloseStatus = "FAILED"
CloseStatusCanceled CloseStatus = "CANCELED"
CloseStatusTerminated CloseStatus = "TERMINATED"
CloseStatusContinuedAsNew CloseStatus = "CONTINUED_AS_NEW"
CloseStatusTimedOut CloseStatus = "TIMED_OUT"
)
func (enum CloseStatus) MarshalValue() (string, error) {
return string(enum), nil
}
func (enum CloseStatus) MarshalValueBuf(b []byte) ([]byte, error) {
b = b[0:0]
return append(b, enum...), nil
}
type CompleteWorkflowExecutionFailedCause string
// Enum values for CompleteWorkflowExecutionFailedCause
const (
CompleteWorkflowExecutionFailedCauseUnhandledDecision CompleteWorkflowExecutionFailedCause = "UNHANDLED_DECISION"
CompleteWorkflowExecutionFailedCauseOperationNotPermitted CompleteWorkflowExecutionFailedCause = "OPERATION_NOT_PERMITTED"
)
func (enum CompleteWorkflowExecutionFailedCause) MarshalValue() (string, error) {
return string(enum), nil
}
func (enum CompleteWorkflowExecutionFailedCause) MarshalValueBuf(b []byte) ([]byte, error) {
b = b[0:0]
return append(b, enum...), nil
}
type ContinueAsNewWorkflowExecutionFailedCause string
// Enum values for ContinueAsNewWorkflowExecutionFailedCause
const (
ContinueAsNewWorkflowExecutionFailedCauseUnhandledDecision ContinueAsNewWorkflowExecutionFailedCause = "UNHANDLED_DECISION"
ContinueAsNewWorkflowExecutionFailedCauseWorkflowTypeDeprecated ContinueAsNewWorkflowExecutionFailedCause = "WORKFLOW_TYPE_DEPRECATED"
ContinueAsNewWorkflowExecutionFailedCauseWorkflowTypeDoesNotExist ContinueAsNewWorkflowExecutionFailedCause = "WORKFLOW_TYPE_DOES_NOT_EXIST"
ContinueAsNewWorkflowExecutionFailedCauseDefaultExecutionStartToCloseTimeoutUndefined ContinueAsNewWorkflowExecutionFailedCause = "DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED"
ContinueAsNewWorkflowExecutionFailedCauseDefaultTaskStartToCloseTimeoutUndefined ContinueAsNewWorkflowExecutionFailedCause = "DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED"
ContinueAsNewWorkflowExecutionFailedCauseDefaultTaskListUndefined ContinueAsNewWorkflowExecutionFailedCause = "DEFAULT_TASK_LIST_UNDEFINED"
ContinueAsNewWorkflowExecutionFailedCauseDefaultChildPolicyUndefined ContinueAsNewWorkflowExecutionFailedCause = "DEFAULT_CHILD_POLICY_UNDEFINED"
ContinueAsNewWorkflowExecutionFailedCauseContinueAsNewWorkflowExecutionRateExceeded ContinueAsNewWorkflowExecutionFailedCause = "CONTINUE_AS_NEW_WORKFLOW_EXECUTION_RATE_EXCEEDED"
ContinueAsNewWorkflowExecutionFailedCauseOperationNotPermitted ContinueAsNewWorkflowExecutionFailedCause = "OPERATION_NOT_PERMITTED"
)
func (enum ContinueAsNewWorkflowExecutionFailedCause) MarshalValue() (string, error) {
return string(enum), nil
}
func (enum ContinueAsNewWorkflowExecutionFailedCause) MarshalValueBuf(b []byte) ([]byte, error) {
b = b[0:0]
return append(b, enum...), nil
}
type DecisionTaskTimeoutType string
// Enum values for DecisionTaskTimeoutType
const (
DecisionTaskTimeoutTypeStartToClose DecisionTaskTimeoutType = "START_TO_CLOSE"
)
func (enum DecisionTaskTimeoutType) MarshalValue() (string, error) {
return string(enum), nil
}
func (enum DecisionTaskTimeoutType) MarshalValueBuf(b []byte) ([]byte, error) {
b = b[0:0]
return append(b, enum...), nil
}
type DecisionType string
// Enum values for DecisionType
const (
DecisionTypeScheduleActivityTask DecisionType = "ScheduleActivityTask"
DecisionTypeRequestCancelActivityTask DecisionType = "RequestCancelActivityTask"
DecisionTypeCompleteWorkflowExecution DecisionType = "CompleteWorkflowExecution"
DecisionTypeFailWorkflowExecution DecisionType = "FailWorkflowExecution"
DecisionTypeCancelWorkflowExecution DecisionType = "CancelWorkflowExecution"
DecisionTypeContinueAsNewWorkflowExecution DecisionType = "ContinueAsNewWorkflowExecution"
DecisionTypeRecordMarker DecisionType = "RecordMarker"
DecisionTypeStartTimer DecisionType = "StartTimer"
DecisionTypeCancelTimer DecisionType = "CancelTimer"
DecisionTypeSignalExternalWorkflowExecution DecisionType = "SignalExternalWorkflowExecution"
DecisionTypeRequestCancelExternalWorkflowExecution DecisionType = "RequestCancelExternalWorkflowExecution"
DecisionTypeStartChildWorkflowExecution DecisionType = "StartChildWorkflowExecution"
DecisionTypeScheduleLambdaFunction DecisionType = "ScheduleLambdaFunction"
)
func (enum DecisionType) MarshalValue() (string, error) {
return string(enum), nil
}
func (enum DecisionType) MarshalValueBuf(b []byte) ([]byte, error) {
b = b[0:0]
return append(b, enum...), nil
}
type EventType string
// Enum values for EventType
const (
EventTypeWorkflowExecutionStarted EventType = "WorkflowExecutionStarted"
EventTypeWorkflowExecutionCancelRequested EventType = "WorkflowExecutionCancelRequested"
EventTypeWorkflowExecutionCompleted EventType = "WorkflowExecutionCompleted"
EventTypeCompleteWorkflowExecutionFailed EventType = "CompleteWorkflowExecutionFailed"
EventTypeWorkflowExecutionFailed EventType = "WorkflowExecutionFailed"
EventTypeFailWorkflowExecutionFailed EventType = "FailWorkflowExecutionFailed"
EventTypeWorkflowExecutionTimedOut EventType = "WorkflowExecutionTimedOut"
EventTypeWorkflowExecutionCanceled EventType = "WorkflowExecutionCanceled"
EventTypeCancelWorkflowExecutionFailed EventType = "CancelWorkflowExecutionFailed"
EventTypeWorkflowExecutionContinuedAsNew EventType = "WorkflowExecutionContinuedAsNew"
EventTypeContinueAsNewWorkflowExecutionFailed EventType = "ContinueAsNewWorkflowExecutionFailed"
EventTypeWorkflowExecutionTerminated EventType = "WorkflowExecutionTerminated"
EventTypeDecisionTaskScheduled EventType = "DecisionTaskScheduled"
EventTypeDecisionTaskStarted EventType = "DecisionTaskStarted"
EventTypeDecisionTaskCompleted EventType = "DecisionTaskCompleted"
EventTypeDecisionTaskTimedOut EventType = "DecisionTaskTimedOut"
EventTypeActivityTaskScheduled EventType = "ActivityTaskScheduled"
EventTypeScheduleActivityTaskFailed EventType = "ScheduleActivityTaskFailed"
EventTypeActivityTaskStarted EventType = "ActivityTaskStarted"
EventTypeActivityTaskCompleted EventType = "ActivityTaskCompleted"
EventTypeActivityTaskFailed EventType = "ActivityTaskFailed"
EventTypeActivityTaskTimedOut EventType = "ActivityTaskTimedOut"
EventTypeActivityTaskCanceled EventType = "ActivityTaskCanceled"
EventTypeActivityTaskCancelRequested EventType = "ActivityTaskCancelRequested"
EventTypeRequestCancelActivityTaskFailed EventType = "RequestCancelActivityTaskFailed"
EventTypeWorkflowExecutionSignaled EventType = "WorkflowExecutionSignaled"
EventTypeMarkerRecorded EventType = "MarkerRecorded"
EventTypeRecordMarkerFailed EventType = "RecordMarkerFailed"
EventTypeTimerStarted EventType = "TimerStarted"
EventTypeStartTimerFailed EventType = "StartTimerFailed"
EventTypeTimerFired EventType = "TimerFired"
EventTypeTimerCanceled EventType = "TimerCanceled"
EventTypeCancelTimerFailed EventType = "CancelTimerFailed"
EventTypeStartChildWorkflowExecutionInitiated EventType = "StartChildWorkflowExecutionInitiated"
EventTypeStartChildWorkflowExecutionFailed EventType = "StartChildWorkflowExecutionFailed"
EventTypeChildWorkflowExecutionStarted EventType = "ChildWorkflowExecutionStarted"
EventTypeChildWorkflowExecutionCompleted EventType = "ChildWorkflowExecutionCompleted"
EventTypeChildWorkflowExecutionFailed EventType = "ChildWorkflowExecutionFailed"
EventTypeChildWorkflowExecutionTimedOut EventType = "ChildWorkflowExecutionTimedOut"
EventTypeChildWorkflowExecutionCanceled EventType = "ChildWorkflowExecutionCanceled"
EventTypeChildWorkflowExecutionTerminated EventType = "ChildWorkflowExecutionTerminated"
EventTypeSignalExternalWorkflowExecutionInitiated EventType = "SignalExternalWorkflowExecutionInitiated"
EventTypeSignalExternalWorkflowExecutionFailed EventType = "SignalExternalWorkflowExecutionFailed"
EventTypeExternalWorkflowExecutionSignaled EventType = "ExternalWorkflowExecutionSignaled"
EventTypeRequestCancelExternalWorkflowExecutionInitiated EventType = "RequestCancelExternalWorkflowExecutionInitiated"
EventTypeRequestCancelExternalWorkflowExecutionFailed EventType = "RequestCancelExternalWorkflowExecutionFailed"
EventTypeExternalWorkflowExecutionCancelRequested EventType = "ExternalWorkflowExecutionCancelRequested"
EventTypeLambdaFunctionScheduled EventType = "LambdaFunctionScheduled"
EventTypeLambdaFunctionStarted EventType = "LambdaFunctionStarted"
EventTypeLambdaFunctionCompleted EventType = "LambdaFunctionCompleted"
EventTypeLambdaFunctionFailed EventType = "LambdaFunctionFailed"
EventTypeLambdaFunctionTimedOut EventType = "LambdaFunctionTimedOut"
EventTypeScheduleLambdaFunctionFailed EventType = "ScheduleLambdaFunctionFailed"
EventTypeStartLambdaFunctionFailed EventType = "StartLambdaFunctionFailed"
)
func (enum EventType) MarshalValue() (string, error) {
return string(enum), nil
}
func (enum EventType) MarshalValueBuf(b []byte) ([]byte, error) {
b = b[0:0]
return append(b, enum...), nil
}
type ExecutionStatus string
// Enum values for ExecutionStatus
const (
ExecutionStatusOpen ExecutionStatus = "OPEN"
ExecutionStatusClosed ExecutionStatus = "CLOSED"
)
func (enum ExecutionStatus) MarshalValue() (string, error) {
return string(enum), nil
}
func (enum ExecutionStatus) MarshalValueBuf(b []byte) ([]byte, error) {
b = b[0:0]
return append(b, enum...), nil
}
type FailWorkflowExecutionFailedCause string
// Enum values for FailWorkflowExecutionFailedCause
const (
FailWorkflowExecutionFailedCauseUnhandledDecision FailWorkflowExecutionFailedCause = "UNHANDLED_DECISION"
FailWorkflowExecutionFailedCauseOperationNotPermitted FailWorkflowExecutionFailedCause = "OPERATION_NOT_PERMITTED"
)
func (enum FailWorkflowExecutionFailedCause) MarshalValue() (string, error) {
return string(enum), nil
}
func (enum FailWorkflowExecutionFailedCause) MarshalValueBuf(b []byte) ([]byte, error) {
b = b[0:0]
return append(b, enum...), nil
}
type LambdaFunctionTimeoutType string
// Enum values for LambdaFunctionTimeoutType
const (
LambdaFunctionTimeoutTypeStartToClose LambdaFunctionTimeoutType = "START_TO_CLOSE"
)
func (enum LambdaFunctionTimeoutType) MarshalValue() (string, error) {
return string(enum), nil
}
func (enum LambdaFunctionTimeoutType) MarshalValueBuf(b []byte) ([]byte, error) {
b = b[0:0]
return append(b, enum...), nil
}
type RecordMarkerFailedCause string
// Enum values for RecordMarkerFailedCause
const (
RecordMarkerFailedCauseOperationNotPermitted RecordMarkerFailedCause = "OPERATION_NOT_PERMITTED"
)
func (enum RecordMarkerFailedCause) MarshalValue() (string, error) {
return string(enum), nil
}
func (enum RecordMarkerFailedCause) MarshalValueBuf(b []byte) ([]byte, error) {
b = b[0:0]
return append(b, enum...), nil
}
type RegistrationStatus string
// Enum values for RegistrationStatus
const (
RegistrationStatusRegistered RegistrationStatus = "REGISTERED"
RegistrationStatusDeprecated RegistrationStatus = "DEPRECATED"
)
func (enum RegistrationStatus) MarshalValue() (string, error) {
return string(enum), nil
}
func (enum RegistrationStatus) MarshalValueBuf(b []byte) ([]byte, error) {
b = b[0:0]
return append(b, enum...), nil
}
type RequestCancelActivityTaskFailedCause string
// Enum values for RequestCancelActivityTaskFailedCause
const (
RequestCancelActivityTaskFailedCauseActivityIdUnknown RequestCancelActivityTaskFailedCause = "ACTIVITY_ID_UNKNOWN"
RequestCancelActivityTaskFailedCauseOperationNotPermitted RequestCancelActivityTaskFailedCause = "OPERATION_NOT_PERMITTED"
)
func (enum RequestCancelActivityTaskFailedCause) MarshalValue() (string, error) {
return string(enum), nil
}
func (enum RequestCancelActivityTaskFailedCause) MarshalValueBuf(b []byte) ([]byte, error) {
b = b[0:0]
return append(b, enum...), nil
}
type RequestCancelExternalWorkflowExecutionFailedCause string
// Enum values for RequestCancelExternalWorkflowExecutionFailedCause
const (
RequestCancelExternalWorkflowExecutionFailedCauseUnknownExternalWorkflowExecution RequestCancelExternalWorkflowExecutionFailedCause = "UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION"
RequestCancelExternalWorkflowExecutionFailedCauseRequestCancelExternalWorkflowExecutionRateExceeded RequestCancelExternalWorkflowExecutionFailedCause = "REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED"
RequestCancelExternalWorkflowExecutionFailedCauseOperationNotPermitted RequestCancelExternalWorkflowExecutionFailedCause = "OPERATION_NOT_PERMITTED"
)
func (enum RequestCancelExternalWorkflowExecutionFailedCause) MarshalValue() (string, error) {
return string(enum), nil
}
func (enum RequestCancelExternalWorkflowExecutionFailedCause) MarshalValueBuf(b []byte) ([]byte, error) {
b = b[0:0]
return append(b, enum...), nil
}
type ScheduleActivityTaskFailedCause string
// Enum values for ScheduleActivityTaskFailedCause
const (
ScheduleActivityTaskFailedCauseActivityTypeDeprecated ScheduleActivityTaskFailedCause = "ACTIVITY_TYPE_DEPRECATED"
ScheduleActivityTaskFailedCauseActivityTypeDoesNotExist ScheduleActivityTaskFailedCause = "ACTIVITY_TYPE_DOES_NOT_EXIST"
ScheduleActivityTaskFailedCauseActivityIdAlreadyInUse ScheduleActivityTaskFailedCause = "ACTIVITY_ID_ALREADY_IN_USE"
ScheduleActivityTaskFailedCauseOpenActivitiesLimitExceeded ScheduleActivityTaskFailedCause = "OPEN_ACTIVITIES_LIMIT_EXCEEDED"
ScheduleActivityTaskFailedCauseActivityCreationRateExceeded ScheduleActivityTaskFailedCause = "ACTIVITY_CREATION_RATE_EXCEEDED"
ScheduleActivityTaskFailedCauseDefaultScheduleToCloseTimeoutUndefined ScheduleActivityTaskFailedCause = "DEFAULT_SCHEDULE_TO_CLOSE_TIMEOUT_UNDEFINED"
ScheduleActivityTaskFailedCauseDefaultTaskListUndefined ScheduleActivityTaskFailedCause = "DEFAULT_TASK_LIST_UNDEFINED"
ScheduleActivityTaskFailedCauseDefaultScheduleToStartTimeoutUndefined ScheduleActivityTaskFailedCause = "DEFAULT_SCHEDULE_TO_START_TIMEOUT_UNDEFINED"
ScheduleActivityTaskFailedCauseDefaultStartToCloseTimeoutUndefined ScheduleActivityTaskFailedCause = "DEFAULT_START_TO_CLOSE_TIMEOUT_UNDEFINED"
ScheduleActivityTaskFailedCauseDefaultHeartbeatTimeoutUndefined ScheduleActivityTaskFailedCause = "DEFAULT_HEARTBEAT_TIMEOUT_UNDEFINED"
ScheduleActivityTaskFailedCauseOperationNotPermitted ScheduleActivityTaskFailedCause = "OPERATION_NOT_PERMITTED"
)
func (enum ScheduleActivityTaskFailedCause) MarshalValue() (string, error) {
return string(enum), nil
}
func (enum ScheduleActivityTaskFailedCause) MarshalValueBuf(b []byte) ([]byte, error) {
b = b[0:0]
return append(b, enum...), nil
}
type ScheduleLambdaFunctionFailedCause string
// Enum values for ScheduleLambdaFunctionFailedCause
const (
ScheduleLambdaFunctionFailedCauseIdAlreadyInUse ScheduleLambdaFunctionFailedCause = "ID_ALREADY_IN_USE"
ScheduleLambdaFunctionFailedCauseOpenLambdaFunctionsLimitExceeded ScheduleLambdaFunctionFailedCause = "OPEN_LAMBDA_FUNCTIONS_LIMIT_EXCEEDED"
ScheduleLambdaFunctionFailedCauseLambdaFunctionCreationRateExceeded ScheduleLambdaFunctionFailedCause = "LAMBDA_FUNCTION_CREATION_RATE_EXCEEDED"
ScheduleLambdaFunctionFailedCauseLambdaServiceNotAvailableInRegion ScheduleLambdaFunctionFailedCause = "LAMBDA_SERVICE_NOT_AVAILABLE_IN_REGION"
)
func (enum ScheduleLambdaFunctionFailedCause) MarshalValue() (string, error) {
return string(enum), nil
}
func (enum ScheduleLambdaFunctionFailedCause) MarshalValueBuf(b []byte) ([]byte, error) {
b = b[0:0]
return append(b, enum...), nil
}
type SignalExternalWorkflowExecutionFailedCause string
// Enum values for SignalExternalWorkflowExecutionFailedCause
const (
SignalExternalWorkflowExecutionFailedCauseUnknownExternalWorkflowExecution SignalExternalWorkflowExecutionFailedCause = "UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION"
SignalExternalWorkflowExecutionFailedCauseSignalExternalWorkflowExecutionRateExceeded SignalExternalWorkflowExecutionFailedCause = "SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED"
SignalExternalWorkflowExecutionFailedCauseOperationNotPermitted SignalExternalWorkflowExecutionFailedCause = "OPERATION_NOT_PERMITTED"
)
func (enum SignalExternalWorkflowExecutionFailedCause) MarshalValue() (string, error) {
return string(enum), nil
}
func (enum SignalExternalWorkflowExecutionFailedCause) MarshalValueBuf(b []byte) ([]byte, error) {
b = b[0:0]
return append(b, enum...), nil
}
type StartChildWorkflowExecutionFailedCause string
// Enum values for StartChildWorkflowExecutionFailedCause
const (
StartChildWorkflowExecutionFailedCauseWorkflowTypeDoesNotExist StartChildWorkflowExecutionFailedCause = "WORKFLOW_TYPE_DOES_NOT_EXIST"
StartChildWorkflowExecutionFailedCauseWorkflowTypeDeprecated StartChildWorkflowExecutionFailedCause = "WORKFLOW_TYPE_DEPRECATED"
StartChildWorkflowExecutionFailedCauseOpenChildrenLimitExceeded StartChildWorkflowExecutionFailedCause = "OPEN_CHILDREN_LIMIT_EXCEEDED"
StartChildWorkflowExecutionFailedCauseOpenWorkflowsLimitExceeded StartChildWorkflowExecutionFailedCause = "OPEN_WORKFLOWS_LIMIT_EXCEEDED"
StartChildWorkflowExecutionFailedCauseChildCreationRateExceeded StartChildWorkflowExecutionFailedCause = "CHILD_CREATION_RATE_EXCEEDED"
StartChildWorkflowExecutionFailedCauseWorkflowAlreadyRunning StartChildWorkflowExecutionFailedCause = "WORKFLOW_ALREADY_RUNNING"
StartChildWorkflowExecutionFailedCauseDefaultExecutionStartToCloseTimeoutUndefined StartChildWorkflowExecutionFailedCause = "DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED"
StartChildWorkflowExecutionFailedCauseDefaultTaskListUndefined StartChildWorkflowExecutionFailedCause = "DEFAULT_TASK_LIST_UNDEFINED"
StartChildWorkflowExecutionFailedCauseDefaultTaskStartToCloseTimeoutUndefined StartChildWorkflowExecutionFailedCause = "DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED"
StartChildWorkflowExecutionFailedCauseDefaultChildPolicyUndefined StartChildWorkflowExecutionFailedCause = "DEFAULT_CHILD_POLICY_UNDEFINED"
StartChildWorkflowExecutionFailedCauseOperationNotPermitted StartChildWorkflowExecutionFailedCause = "OPERATION_NOT_PERMITTED"
)
func (enum StartChildWorkflowExecutionFailedCause) MarshalValue() (string, error) {
return string(enum), nil
}
func (enum StartChildWorkflowExecutionFailedCause) MarshalValueBuf(b []byte) ([]byte, error) {
b = b[0:0]
return append(b, enum...), nil
}
type StartLambdaFunctionFailedCause string
// Enum values for StartLambdaFunctionFailedCause
const (
StartLambdaFunctionFailedCauseAssumeRoleFailed StartLambdaFunctionFailedCause = "ASSUME_ROLE_FAILED"
)
func (enum StartLambdaFunctionFailedCause) MarshalValue() (string, error) {
return string(enum), nil
}
func (enum StartLambdaFunctionFailedCause) MarshalValueBuf(b []byte) ([]byte, error) {
b = b[0:0]
return append(b, enum...), nil
}
type StartTimerFailedCause string
// Enum values for StartTimerFailedCause
const (
StartTimerFailedCauseTimerIdAlreadyInUse StartTimerFailedCause = "TIMER_ID_ALREADY_IN_USE"
StartTimerFailedCauseOpenTimersLimitExceeded StartTimerFailedCause = "OPEN_TIMERS_LIMIT_EXCEEDED"
StartTimerFailedCauseTimerCreationRateExceeded StartTimerFailedCause = "TIMER_CREATION_RATE_EXCEEDED"
StartTimerFailedCauseOperationNotPermitted StartTimerFailedCause = "OPERATION_NOT_PERMITTED"
)
func (enum StartTimerFailedCause) MarshalValue() (string, error) {
return string(enum), nil
}
func (enum StartTimerFailedCause) MarshalValueBuf(b []byte) ([]byte, error) {
b = b[0:0]
return append(b, enum...), nil
}
type WorkflowExecutionCancelRequestedCause string
// Enum values for WorkflowExecutionCancelRequestedCause
const (
WorkflowExecutionCancelRequestedCauseChildPolicyApplied WorkflowExecutionCancelRequestedCause = "CHILD_POLICY_APPLIED"
)
func (enum WorkflowExecutionCancelRequestedCause) MarshalValue() (string, error) {
return string(enum), nil
}
func (enum WorkflowExecutionCancelRequestedCause) MarshalValueBuf(b []byte) ([]byte, error) {
b = b[0:0]
return append(b, enum...), nil
}
type WorkflowExecutionTerminatedCause string
// Enum values for WorkflowExecutionTerminatedCause
const (
WorkflowExecutionTerminatedCauseChildPolicyApplied WorkflowExecutionTerminatedCause = "CHILD_POLICY_APPLIED"
WorkflowExecutionTerminatedCauseEventLimitExceeded WorkflowExecutionTerminatedCause = "EVENT_LIMIT_EXCEEDED"
WorkflowExecutionTerminatedCauseOperatorInitiated WorkflowExecutionTerminatedCause = "OPERATOR_INITIATED"
)
func (enum WorkflowExecutionTerminatedCause) MarshalValue() (string, error) {
return string(enum), nil
}
func (enum WorkflowExecutionTerminatedCause) MarshalValueBuf(b []byte) ([]byte, error) {
b = b[0:0]
return append(b, enum...), nil
}
type WorkflowExecutionTimeoutType string
// Enum values for WorkflowExecutionTimeoutType
const (
WorkflowExecutionTimeoutTypeStartToClose WorkflowExecutionTimeoutType = "START_TO_CLOSE"
)
func (enum WorkflowExecutionTimeoutType) MarshalValue() (string, error) {
return string(enum), nil
}
func (enum WorkflowExecutionTimeoutType) MarshalValueBuf(b []byte) ([]byte, error) {
b = b[0:0]
return append(b, enum...), nil
}