forked from aws/aws-sdk-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
errors.go
80 lines (69 loc) · 3.23 KB
/
errors.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
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package swf
const (
// ErrCodeDefaultUndefinedFault for service response error code
// "DefaultUndefinedFault".
//
// The StartWorkflowExecution API action was called without the required parameters
// set.
//
// Some workflow execution parameters, such as the decision taskList, must be
// set to start the execution. However, these parameters might have been set
// as defaults when the workflow type was registered. In this case, you can
// omit these parameters from the StartWorkflowExecution call and Amazon SWF
// uses the values defined in the workflow type.
//
// If these parameters aren't set and no default parameters were defined in
// the workflow type, this error is displayed.
ErrCodeDefaultUndefinedFault = "DefaultUndefinedFault"
// ErrCodeDomainAlreadyExistsFault for service response error code
// "DomainAlreadyExistsFault".
//
// Returned if the specified domain already exists. You get this fault even
// if the existing domain is in deprecated status.
ErrCodeDomainAlreadyExistsFault = "DomainAlreadyExistsFault"
// ErrCodeDomainDeprecatedFault for service response error code
// "DomainDeprecatedFault".
//
// Returned when the specified domain has been deprecated.
ErrCodeDomainDeprecatedFault = "DomainDeprecatedFault"
// ErrCodeLimitExceededFault for service response error code
// "LimitExceededFault".
//
// Returned by any operation if a system imposed limitation has been reached.
// To address this fault you should either clean up unused resources or increase
// the limit by contacting AWS.
ErrCodeLimitExceededFault = "LimitExceededFault"
// ErrCodeOperationNotPermittedFault for service response error code
// "OperationNotPermittedFault".
//
// Returned when the caller doesn't have sufficient permissions to invoke the
// action.
ErrCodeOperationNotPermittedFault = "OperationNotPermittedFault"
// ErrCodeTypeAlreadyExistsFault for service response error code
// "TypeAlreadyExistsFault".
//
// Returned if the type already exists in the specified domain. You get this
// fault even if the existing type is in deprecated status. You can specify
// another version if the intent is to create a new distinct version of the
// type.
ErrCodeTypeAlreadyExistsFault = "TypeAlreadyExistsFault"
// ErrCodeTypeDeprecatedFault for service response error code
// "TypeDeprecatedFault".
//
// Returned when the specified activity or workflow type was already deprecated.
ErrCodeTypeDeprecatedFault = "TypeDeprecatedFault"
// ErrCodeUnknownResourceFault for service response error code
// "UnknownResourceFault".
//
// Returned when the named resource cannot be found with in the scope of this
// operation (region or domain). This could happen if the named resource was
// never created or is no longer available for this operation.
ErrCodeUnknownResourceFault = "UnknownResourceFault"
// ErrCodeWorkflowExecutionAlreadyStartedFault for service response error code
// "WorkflowExecutionAlreadyStartedFault".
//
// Returned by StartWorkflowExecution when an open execution with the same workflowId
// is already running in the specified domain.
ErrCodeWorkflowExecutionAlreadyStartedFault = "WorkflowExecutionAlreadyStartedFault"
)