forked from aws/aws-sdk-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
errors.go
164 lines (140 loc) · 7.19 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
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
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package ses
const (
// ErrCodeAlreadyExistsException for service response error code
// "AlreadyExists".
//
// Indicates that a resource could not be created because of a naming conflict.
ErrCodeAlreadyExistsException = "AlreadyExists"
// ErrCodeCannotDeleteException for service response error code
// "CannotDelete".
//
// Indicates that the delete operation could not be completed.
ErrCodeCannotDeleteException = "CannotDelete"
// ErrCodeConfigurationSetAlreadyExistsException for service response error code
// "ConfigurationSetAlreadyExists".
//
// Indicates that the configuration set could not be created because of a naming
// conflict.
ErrCodeConfigurationSetAlreadyExistsException = "ConfigurationSetAlreadyExists"
// ErrCodeConfigurationSetDoesNotExistException for service response error code
// "ConfigurationSetDoesNotExist".
//
// Indicates that the configuration set does not exist.
ErrCodeConfigurationSetDoesNotExistException = "ConfigurationSetDoesNotExist"
// ErrCodeEventDestinationAlreadyExistsException for service response error code
// "EventDestinationAlreadyExists".
//
// Indicates that the event destination could not be created because of a naming
// conflict.
ErrCodeEventDestinationAlreadyExistsException = "EventDestinationAlreadyExists"
// ErrCodeEventDestinationDoesNotExistException for service response error code
// "EventDestinationDoesNotExist".
//
// Indicates that the event destination does not exist.
ErrCodeEventDestinationDoesNotExistException = "EventDestinationDoesNotExist"
// ErrCodeInvalidCloudWatchDestinationException for service response error code
// "InvalidCloudWatchDestination".
//
// Indicates that the Amazon CloudWatch destination is invalid. See the error
// message for details.
ErrCodeInvalidCloudWatchDestinationException = "InvalidCloudWatchDestination"
// ErrCodeInvalidConfigurationSetException for service response error code
// "InvalidConfigurationSet".
//
// Indicates that the configuration set is invalid. See the error message for
// details.
ErrCodeInvalidConfigurationSetException = "InvalidConfigurationSet"
// ErrCodeInvalidFirehoseDestinationException for service response error code
// "InvalidFirehoseDestination".
//
// Indicates that the Amazon Kinesis Firehose destination is invalid. See the
// error message for details.
ErrCodeInvalidFirehoseDestinationException = "InvalidFirehoseDestination"
// ErrCodeInvalidLambdaFunctionException for service response error code
// "InvalidLambdaFunction".
//
// Indicates that the provided AWS Lambda function is invalid, or that Amazon
// SES could not execute the provided function, possibly due to permissions
// issues. For information about giving permissions, see the Amazon SES Developer
// Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-permissions.html).
ErrCodeInvalidLambdaFunctionException = "InvalidLambdaFunction"
// ErrCodeInvalidPolicyException for service response error code
// "InvalidPolicy".
//
// Indicates that the provided policy is invalid. Check the error stack for
// more information about what caused the error.
ErrCodeInvalidPolicyException = "InvalidPolicy"
// ErrCodeInvalidS3ConfigurationException for service response error code
// "InvalidS3Configuration".
//
// Indicates that the provided Amazon S3 bucket or AWS KMS encryption key is
// invalid, or that Amazon SES could not publish to the bucket, possibly due
// to permissions issues. For information about giving permissions, see the
// Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-permissions.html).
ErrCodeInvalidS3ConfigurationException = "InvalidS3Configuration"
// ErrCodeInvalidSNSDestinationException for service response error code
// "InvalidSNSDestination".
//
// Indicates that the Amazon Simple Notification Service (Amazon SNS) destination
// is invalid. See the error message for details.
ErrCodeInvalidSNSDestinationException = "InvalidSNSDestination"
// ErrCodeInvalidSnsTopicException for service response error code
// "InvalidSnsTopic".
//
// Indicates that the provided Amazon SNS topic is invalid, or that Amazon SES
// could not publish to the topic, possibly due to permissions issues. For information
// about giving permissions, see the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-permissions.html).
ErrCodeInvalidSnsTopicException = "InvalidSnsTopic"
// ErrCodeInvalidTrackingOptionsException for service response error code
// "InvalidTrackingOptions".
//
// Indicates that the custom domain to be used for open and click tracking redirects
// is invalid. This error appears most often in the following situations:
//
// * When the tracking domain you specified is not verified in Amazon SES.
//
// * When the tracking domain you specified is not a valid domain or subdomain.
ErrCodeInvalidTrackingOptionsException = "InvalidTrackingOptions"
// ErrCodeLimitExceededException for service response error code
// "LimitExceeded".
//
// Indicates that a resource could not be created because of service limits.
// For a list of Amazon SES limits, see the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/limits.html).
ErrCodeLimitExceededException = "LimitExceeded"
// ErrCodeMailFromDomainNotVerifiedException for service response error code
// "MailFromDomainNotVerifiedException".
//
// Indicates that the message could not be sent because Amazon SES could not
// read the MX record required to use the specified MAIL FROM domain. For information
// about editing the custom MAIL FROM domain settings for an identity, see the
// Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/mail-from-edit.html).
ErrCodeMailFromDomainNotVerifiedException = "MailFromDomainNotVerifiedException"
// ErrCodeMessageRejected for service response error code
// "MessageRejected".
//
// Indicates that the action failed, and the message could not be sent. Check
// the error stack for more information about what caused the error.
ErrCodeMessageRejected = "MessageRejected"
// ErrCodeRuleDoesNotExistException for service response error code
// "RuleDoesNotExist".
//
// Indicates that the provided receipt rule does not exist.
ErrCodeRuleDoesNotExistException = "RuleDoesNotExist"
// ErrCodeRuleSetDoesNotExistException for service response error code
// "RuleSetDoesNotExist".
//
// Indicates that the provided receipt rule set does not exist.
ErrCodeRuleSetDoesNotExistException = "RuleSetDoesNotExist"
// ErrCodeTrackingOptionsAlreadyExistsException for service response error code
// "TrackingOptionsAlreadyExistsException".
//
// Indicates that the configuration set you specified already contains a TrackingOptions
// object.
ErrCodeTrackingOptionsAlreadyExistsException = "TrackingOptionsAlreadyExistsException"
// ErrCodeTrackingOptionsDoesNotExistException for service response error code
// "TrackingOptionsDoesNotExistException".
//
// Indicates that the TrackingOptions object you specified does not exist.
ErrCodeTrackingOptionsDoesNotExistException = "TrackingOptionsDoesNotExistException"
)