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 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679
|
// Code generated by smithy-go-codegen DO NOT EDIT.
package types
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"
)
// Values returns all known values for ActivityTaskTimeoutType. Note that this can
// be expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (ActivityTaskTimeoutType) Values() []ActivityTaskTimeoutType {
return []ActivityTaskTimeoutType{
"START_TO_CLOSE",
"SCHEDULE_TO_START",
"SCHEDULE_TO_CLOSE",
"HEARTBEAT",
}
}
type CancelTimerFailedCause string
// Enum values for CancelTimerFailedCause
const (
CancelTimerFailedCauseTimerIdUnknown CancelTimerFailedCause = "TIMER_ID_UNKNOWN"
CancelTimerFailedCauseOperationNotPermitted CancelTimerFailedCause = "OPERATION_NOT_PERMITTED"
)
// Values returns all known values for CancelTimerFailedCause. Note that this can
// be expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (CancelTimerFailedCause) Values() []CancelTimerFailedCause {
return []CancelTimerFailedCause{
"TIMER_ID_UNKNOWN",
"OPERATION_NOT_PERMITTED",
}
}
type CancelWorkflowExecutionFailedCause string
// Enum values for CancelWorkflowExecutionFailedCause
const (
CancelWorkflowExecutionFailedCauseUnhandledDecision CancelWorkflowExecutionFailedCause = "UNHANDLED_DECISION"
CancelWorkflowExecutionFailedCauseOperationNotPermitted CancelWorkflowExecutionFailedCause = "OPERATION_NOT_PERMITTED"
)
// Values returns all known values for CancelWorkflowExecutionFailedCause. Note
// that this can be expanded in the future, and so it is only as up to date as the
// client. The ordering of this slice is not guaranteed to be stable across
// updates.
func (CancelWorkflowExecutionFailedCause) Values() []CancelWorkflowExecutionFailedCause {
return []CancelWorkflowExecutionFailedCause{
"UNHANDLED_DECISION",
"OPERATION_NOT_PERMITTED",
}
}
type ChildPolicy string
// Enum values for ChildPolicy
const (
ChildPolicyTerminate ChildPolicy = "TERMINATE"
ChildPolicyRequestCancel ChildPolicy = "REQUEST_CANCEL"
ChildPolicyAbandon ChildPolicy = "ABANDON"
)
// Values returns all known values for ChildPolicy. Note that this can be expanded
// in the future, and so it is only as up to date as the client. The ordering of
// this slice is not guaranteed to be stable across updates.
func (ChildPolicy) Values() []ChildPolicy {
return []ChildPolicy{
"TERMINATE",
"REQUEST_CANCEL",
"ABANDON",
}
}
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"
)
// Values returns all known values for CloseStatus. Note that this can be expanded
// in the future, and so it is only as up to date as the client. The ordering of
// this slice is not guaranteed to be stable across updates.
func (CloseStatus) Values() []CloseStatus {
return []CloseStatus{
"COMPLETED",
"FAILED",
"CANCELED",
"TERMINATED",
"CONTINUED_AS_NEW",
"TIMED_OUT",
}
}
type CompleteWorkflowExecutionFailedCause string
// Enum values for CompleteWorkflowExecutionFailedCause
const (
CompleteWorkflowExecutionFailedCauseUnhandledDecision CompleteWorkflowExecutionFailedCause = "UNHANDLED_DECISION"
CompleteWorkflowExecutionFailedCauseOperationNotPermitted CompleteWorkflowExecutionFailedCause = "OPERATION_NOT_PERMITTED"
)
// Values returns all known values for CompleteWorkflowExecutionFailedCause. Note
// that this can be expanded in the future, and so it is only as up to date as the
// client. The ordering of this slice is not guaranteed to be stable across
// updates.
func (CompleteWorkflowExecutionFailedCause) Values() []CompleteWorkflowExecutionFailedCause {
return []CompleteWorkflowExecutionFailedCause{
"UNHANDLED_DECISION",
"OPERATION_NOT_PERMITTED",
}
}
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"
)
// Values returns all known values for ContinueAsNewWorkflowExecutionFailedCause.
// Note that this can be expanded in the future, and so it is only as up to date as
// the client. The ordering of this slice is not guaranteed to be stable across
// updates.
func (ContinueAsNewWorkflowExecutionFailedCause) Values() []ContinueAsNewWorkflowExecutionFailedCause {
return []ContinueAsNewWorkflowExecutionFailedCause{
"UNHANDLED_DECISION",
"WORKFLOW_TYPE_DEPRECATED",
"WORKFLOW_TYPE_DOES_NOT_EXIST",
"DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED",
"DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED",
"DEFAULT_TASK_LIST_UNDEFINED",
"DEFAULT_CHILD_POLICY_UNDEFINED",
"CONTINUE_AS_NEW_WORKFLOW_EXECUTION_RATE_EXCEEDED",
"OPERATION_NOT_PERMITTED",
}
}
type DecisionTaskTimeoutType string
// Enum values for DecisionTaskTimeoutType
const (
DecisionTaskTimeoutTypeStartToClose DecisionTaskTimeoutType = "START_TO_CLOSE"
DecisionTaskTimeoutTypeScheduleToStart DecisionTaskTimeoutType = "SCHEDULE_TO_START"
)
// Values returns all known values for DecisionTaskTimeoutType. Note that this can
// be expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (DecisionTaskTimeoutType) Values() []DecisionTaskTimeoutType {
return []DecisionTaskTimeoutType{
"START_TO_CLOSE",
"SCHEDULE_TO_START",
}
}
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"
)
// Values returns all known values for DecisionType. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (DecisionType) Values() []DecisionType {
return []DecisionType{
"ScheduleActivityTask",
"RequestCancelActivityTask",
"CompleteWorkflowExecution",
"FailWorkflowExecution",
"CancelWorkflowExecution",
"ContinueAsNewWorkflowExecution",
"RecordMarker",
"StartTimer",
"CancelTimer",
"SignalExternalWorkflowExecution",
"RequestCancelExternalWorkflowExecution",
"StartChildWorkflowExecution",
"ScheduleLambdaFunction",
}
}
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"
)
// Values returns all known values for EventType. Note that this can be expanded
// in the future, and so it is only as up to date as the client. The ordering of
// this slice is not guaranteed to be stable across updates.
func (EventType) Values() []EventType {
return []EventType{
"WorkflowExecutionStarted",
"WorkflowExecutionCancelRequested",
"WorkflowExecutionCompleted",
"CompleteWorkflowExecutionFailed",
"WorkflowExecutionFailed",
"FailWorkflowExecutionFailed",
"WorkflowExecutionTimedOut",
"WorkflowExecutionCanceled",
"CancelWorkflowExecutionFailed",
"WorkflowExecutionContinuedAsNew",
"ContinueAsNewWorkflowExecutionFailed",
"WorkflowExecutionTerminated",
"DecisionTaskScheduled",
"DecisionTaskStarted",
"DecisionTaskCompleted",
"DecisionTaskTimedOut",
"ActivityTaskScheduled",
"ScheduleActivityTaskFailed",
"ActivityTaskStarted",
"ActivityTaskCompleted",
"ActivityTaskFailed",
"ActivityTaskTimedOut",
"ActivityTaskCanceled",
"ActivityTaskCancelRequested",
"RequestCancelActivityTaskFailed",
"WorkflowExecutionSignaled",
"MarkerRecorded",
"RecordMarkerFailed",
"TimerStarted",
"StartTimerFailed",
"TimerFired",
"TimerCanceled",
"CancelTimerFailed",
"StartChildWorkflowExecutionInitiated",
"StartChildWorkflowExecutionFailed",
"ChildWorkflowExecutionStarted",
"ChildWorkflowExecutionCompleted",
"ChildWorkflowExecutionFailed",
"ChildWorkflowExecutionTimedOut",
"ChildWorkflowExecutionCanceled",
"ChildWorkflowExecutionTerminated",
"SignalExternalWorkflowExecutionInitiated",
"SignalExternalWorkflowExecutionFailed",
"ExternalWorkflowExecutionSignaled",
"RequestCancelExternalWorkflowExecutionInitiated",
"RequestCancelExternalWorkflowExecutionFailed",
"ExternalWorkflowExecutionCancelRequested",
"LambdaFunctionScheduled",
"LambdaFunctionStarted",
"LambdaFunctionCompleted",
"LambdaFunctionFailed",
"LambdaFunctionTimedOut",
"ScheduleLambdaFunctionFailed",
"StartLambdaFunctionFailed",
}
}
type ExecutionStatus string
// Enum values for ExecutionStatus
const (
ExecutionStatusOpen ExecutionStatus = "OPEN"
ExecutionStatusClosed ExecutionStatus = "CLOSED"
)
// Values returns all known values for ExecutionStatus. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (ExecutionStatus) Values() []ExecutionStatus {
return []ExecutionStatus{
"OPEN",
"CLOSED",
}
}
type FailWorkflowExecutionFailedCause string
// Enum values for FailWorkflowExecutionFailedCause
const (
FailWorkflowExecutionFailedCauseUnhandledDecision FailWorkflowExecutionFailedCause = "UNHANDLED_DECISION"
FailWorkflowExecutionFailedCauseOperationNotPermitted FailWorkflowExecutionFailedCause = "OPERATION_NOT_PERMITTED"
)
// Values returns all known values for FailWorkflowExecutionFailedCause. Note that
// this can be expanded in the future, and so it is only as up to date as the
// client. The ordering of this slice is not guaranteed to be stable across
// updates.
func (FailWorkflowExecutionFailedCause) Values() []FailWorkflowExecutionFailedCause {
return []FailWorkflowExecutionFailedCause{
"UNHANDLED_DECISION",
"OPERATION_NOT_PERMITTED",
}
}
type LambdaFunctionTimeoutType string
// Enum values for LambdaFunctionTimeoutType
const (
LambdaFunctionTimeoutTypeStartToClose LambdaFunctionTimeoutType = "START_TO_CLOSE"
)
// Values returns all known values for LambdaFunctionTimeoutType. Note that this
// can be expanded in the future, and so it is only as up to date as the client.
// The ordering of this slice is not guaranteed to be stable across updates.
func (LambdaFunctionTimeoutType) Values() []LambdaFunctionTimeoutType {
return []LambdaFunctionTimeoutType{
"START_TO_CLOSE",
}
}
type RecordMarkerFailedCause string
// Enum values for RecordMarkerFailedCause
const (
RecordMarkerFailedCauseOperationNotPermitted RecordMarkerFailedCause = "OPERATION_NOT_PERMITTED"
)
// Values returns all known values for RecordMarkerFailedCause. Note that this can
// be expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (RecordMarkerFailedCause) Values() []RecordMarkerFailedCause {
return []RecordMarkerFailedCause{
"OPERATION_NOT_PERMITTED",
}
}
type RegistrationStatus string
// Enum values for RegistrationStatus
const (
RegistrationStatusRegistered RegistrationStatus = "REGISTERED"
RegistrationStatusDeprecated RegistrationStatus = "DEPRECATED"
)
// Values returns all known values for RegistrationStatus. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (RegistrationStatus) Values() []RegistrationStatus {
return []RegistrationStatus{
"REGISTERED",
"DEPRECATED",
}
}
type RequestCancelActivityTaskFailedCause string
// Enum values for RequestCancelActivityTaskFailedCause
const (
RequestCancelActivityTaskFailedCauseActivityIdUnknown RequestCancelActivityTaskFailedCause = "ACTIVITY_ID_UNKNOWN"
RequestCancelActivityTaskFailedCauseOperationNotPermitted RequestCancelActivityTaskFailedCause = "OPERATION_NOT_PERMITTED"
)
// Values returns all known values for RequestCancelActivityTaskFailedCause. Note
// that this can be expanded in the future, and so it is only as up to date as the
// client. The ordering of this slice is not guaranteed to be stable across
// updates.
func (RequestCancelActivityTaskFailedCause) Values() []RequestCancelActivityTaskFailedCause {
return []RequestCancelActivityTaskFailedCause{
"ACTIVITY_ID_UNKNOWN",
"OPERATION_NOT_PERMITTED",
}
}
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"
)
// Values returns all known values for
// RequestCancelExternalWorkflowExecutionFailedCause. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (RequestCancelExternalWorkflowExecutionFailedCause) Values() []RequestCancelExternalWorkflowExecutionFailedCause {
return []RequestCancelExternalWorkflowExecutionFailedCause{
"UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION",
"REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED",
"OPERATION_NOT_PERMITTED",
}
}
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"
)
// Values returns all known values for ScheduleActivityTaskFailedCause. Note that
// this can be expanded in the future, and so it is only as up to date as the
// client. The ordering of this slice is not guaranteed to be stable across
// updates.
func (ScheduleActivityTaskFailedCause) Values() []ScheduleActivityTaskFailedCause {
return []ScheduleActivityTaskFailedCause{
"ACTIVITY_TYPE_DEPRECATED",
"ACTIVITY_TYPE_DOES_NOT_EXIST",
"ACTIVITY_ID_ALREADY_IN_USE",
"OPEN_ACTIVITIES_LIMIT_EXCEEDED",
"ACTIVITY_CREATION_RATE_EXCEEDED",
"DEFAULT_SCHEDULE_TO_CLOSE_TIMEOUT_UNDEFINED",
"DEFAULT_TASK_LIST_UNDEFINED",
"DEFAULT_SCHEDULE_TO_START_TIMEOUT_UNDEFINED",
"DEFAULT_START_TO_CLOSE_TIMEOUT_UNDEFINED",
"DEFAULT_HEARTBEAT_TIMEOUT_UNDEFINED",
"OPERATION_NOT_PERMITTED",
}
}
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"
)
// Values returns all known values for ScheduleLambdaFunctionFailedCause. Note
// that this can be expanded in the future, and so it is only as up to date as the
// client. The ordering of this slice is not guaranteed to be stable across
// updates.
func (ScheduleLambdaFunctionFailedCause) Values() []ScheduleLambdaFunctionFailedCause {
return []ScheduleLambdaFunctionFailedCause{
"ID_ALREADY_IN_USE",
"OPEN_LAMBDA_FUNCTIONS_LIMIT_EXCEEDED",
"LAMBDA_FUNCTION_CREATION_RATE_EXCEEDED",
"LAMBDA_SERVICE_NOT_AVAILABLE_IN_REGION",
}
}
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"
)
// Values returns all known values for SignalExternalWorkflowExecutionFailedCause.
// Note that this can be expanded in the future, and so it is only as up to date as
// the client. The ordering of this slice is not guaranteed to be stable across
// updates.
func (SignalExternalWorkflowExecutionFailedCause) Values() []SignalExternalWorkflowExecutionFailedCause {
return []SignalExternalWorkflowExecutionFailedCause{
"UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION",
"SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED",
"OPERATION_NOT_PERMITTED",
}
}
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"
)
// Values returns all known values for StartChildWorkflowExecutionFailedCause.
// Note that this can be expanded in the future, and so it is only as up to date as
// the client. The ordering of this slice is not guaranteed to be stable across
// updates.
func (StartChildWorkflowExecutionFailedCause) Values() []StartChildWorkflowExecutionFailedCause {
return []StartChildWorkflowExecutionFailedCause{
"WORKFLOW_TYPE_DOES_NOT_EXIST",
"WORKFLOW_TYPE_DEPRECATED",
"OPEN_CHILDREN_LIMIT_EXCEEDED",
"OPEN_WORKFLOWS_LIMIT_EXCEEDED",
"CHILD_CREATION_RATE_EXCEEDED",
"WORKFLOW_ALREADY_RUNNING",
"DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED",
"DEFAULT_TASK_LIST_UNDEFINED",
"DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED",
"DEFAULT_CHILD_POLICY_UNDEFINED",
"OPERATION_NOT_PERMITTED",
}
}
type StartLambdaFunctionFailedCause string
// Enum values for StartLambdaFunctionFailedCause
const (
StartLambdaFunctionFailedCauseAssumeRoleFailed StartLambdaFunctionFailedCause = "ASSUME_ROLE_FAILED"
)
// Values returns all known values for StartLambdaFunctionFailedCause. Note that
// this can be expanded in the future, and so it is only as up to date as the
// client. The ordering of this slice is not guaranteed to be stable across
// updates.
func (StartLambdaFunctionFailedCause) Values() []StartLambdaFunctionFailedCause {
return []StartLambdaFunctionFailedCause{
"ASSUME_ROLE_FAILED",
}
}
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"
)
// Values returns all known values for StartTimerFailedCause. Note that this can
// be expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (StartTimerFailedCause) Values() []StartTimerFailedCause {
return []StartTimerFailedCause{
"TIMER_ID_ALREADY_IN_USE",
"OPEN_TIMERS_LIMIT_EXCEEDED",
"TIMER_CREATION_RATE_EXCEEDED",
"OPERATION_NOT_PERMITTED",
}
}
type WorkflowExecutionCancelRequestedCause string
// Enum values for WorkflowExecutionCancelRequestedCause
const (
WorkflowExecutionCancelRequestedCauseChildPolicyApplied WorkflowExecutionCancelRequestedCause = "CHILD_POLICY_APPLIED"
)
// Values returns all known values for WorkflowExecutionCancelRequestedCause. Note
// that this can be expanded in the future, and so it is only as up to date as the
// client. The ordering of this slice is not guaranteed to be stable across
// updates.
func (WorkflowExecutionCancelRequestedCause) Values() []WorkflowExecutionCancelRequestedCause {
return []WorkflowExecutionCancelRequestedCause{
"CHILD_POLICY_APPLIED",
}
}
type WorkflowExecutionTerminatedCause string
// Enum values for WorkflowExecutionTerminatedCause
const (
WorkflowExecutionTerminatedCauseChildPolicyApplied WorkflowExecutionTerminatedCause = "CHILD_POLICY_APPLIED"
WorkflowExecutionTerminatedCauseEventLimitExceeded WorkflowExecutionTerminatedCause = "EVENT_LIMIT_EXCEEDED"
WorkflowExecutionTerminatedCauseOperatorInitiated WorkflowExecutionTerminatedCause = "OPERATOR_INITIATED"
)
// Values returns all known values for WorkflowExecutionTerminatedCause. Note that
// this can be expanded in the future, and so it is only as up to date as the
// client. The ordering of this slice is not guaranteed to be stable across
// updates.
func (WorkflowExecutionTerminatedCause) Values() []WorkflowExecutionTerminatedCause {
return []WorkflowExecutionTerminatedCause{
"CHILD_POLICY_APPLIED",
"EVENT_LIMIT_EXCEEDED",
"OPERATOR_INITIATED",
}
}
type WorkflowExecutionTimeoutType string
// Enum values for WorkflowExecutionTimeoutType
const (
WorkflowExecutionTimeoutTypeStartToClose WorkflowExecutionTimeoutType = "START_TO_CLOSE"
)
// Values returns all known values for WorkflowExecutionTimeoutType. Note that
// this can be expanded in the future, and so it is only as up to date as the
// client. The ordering of this slice is not guaranteed to be stable across
// updates.
func (WorkflowExecutionTimeoutType) Values() []WorkflowExecutionTimeoutType {
return []WorkflowExecutionTimeoutType{
"START_TO_CLOSE",
}
}
|