/
errors.go
53 lines (44 loc) · 2.01 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
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package cloudwatchevents
const (
// ErrCodeConcurrentModificationException for service response error code
// "ConcurrentModificationException".
//
// There is concurrent modification on a rule or target.
ErrCodeConcurrentModificationException = "ConcurrentModificationException"
// ErrCodeInternalException for service response error code
// "InternalException".
//
// This exception occurs due to unexpected causes.
ErrCodeInternalException = "InternalException"
// ErrCodeInvalidEventPatternException for service response error code
// "InvalidEventPatternException".
//
// The event pattern is not valid.
ErrCodeInvalidEventPatternException = "InvalidEventPatternException"
// ErrCodeLimitExceededException for service response error code
// "LimitExceededException".
//
// You tried to create more rules or add more targets to a rule than is allowed.
ErrCodeLimitExceededException = "LimitExceededException"
// ErrCodeManagedRuleException for service response error code
// "ManagedRuleException".
//
// This rule was created by an AWS service on behalf of your account. It is
// managed by that service. If you see this error in response to DeleteRule
// or RemoveTargets, you can use the Force parameter in those calls to delete
// the rule or remove targets from the rule. You cannot modify these managed
// rules by using DisableRule, EnableRule, PutTargets, PutRule, TagResource,
// or UntagResource.
ErrCodeManagedRuleException = "ManagedRuleException"
// ErrCodePolicyLengthExceededException for service response error code
// "PolicyLengthExceededException".
//
// The event bus policy is too long. For more information, see the limits.
ErrCodePolicyLengthExceededException = "PolicyLengthExceededException"
// ErrCodeResourceNotFoundException for service response error code
// "ResourceNotFoundException".
//
// An entity that you specified does not exist.
ErrCodeResourceNotFoundException = "ResourceNotFoundException"
)