forked from aws/aws-sdk-go
-
Notifications
You must be signed in to change notification settings - Fork 3
/
errors.go
244 lines (209 loc) · 10.9 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
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
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package ses
const (
// ErrCodeAccountSendingPausedException for service response error code
// "AccountSendingPausedException".
//
// Indicates that email sending is disabled for your entire Amazon SES account.
//
// You can enable or disable email sending for your Amazon SES account using
// UpdateAccountSendingEnabled.
ErrCodeAccountSendingPausedException = "AccountSendingPausedException"
// 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"
// ErrCodeConfigurationSetSendingPausedException for service response error code
// "ConfigurationSetSendingPausedException".
//
// Indicates that email sending is disabled for the configuration set.
//
// You can enable or disable email sending for a configuration set using UpdateConfigurationSetSendingEnabled.
ErrCodeConfigurationSetSendingPausedException = "ConfigurationSetSendingPausedException"
// ErrCodeCustomVerificationEmailInvalidContentException for service response error code
// "CustomVerificationEmailInvalidContent".
//
// Indicates that custom verification email template provided content is invalid.
ErrCodeCustomVerificationEmailInvalidContentException = "CustomVerificationEmailInvalidContent"
// ErrCodeCustomVerificationEmailTemplateAlreadyExistsException for service response error code
// "CustomVerificationEmailTemplateAlreadyExists".
//
// Indicates that a custom verification email template with the name you specified
// already exists.
ErrCodeCustomVerificationEmailTemplateAlreadyExistsException = "CustomVerificationEmailTemplateAlreadyExists"
// ErrCodeCustomVerificationEmailTemplateDoesNotExistException for service response error code
// "CustomVerificationEmailTemplateDoesNotExist".
//
// Indicates that a custom verification email template with the name you specified
// does not exist.
ErrCodeCustomVerificationEmailTemplateDoesNotExistException = "CustomVerificationEmailTemplateDoesNotExist"
// 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"
// ErrCodeFromEmailAddressNotVerifiedException for service response error code
// "FromEmailAddressNotVerified".
//
// Indicates that the sender address specified for a custom verification email
// is not verified, and is therefore not eligible to send the custom verification
// email.
ErrCodeFromEmailAddressNotVerifiedException = "FromEmailAddressNotVerified"
// 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"
// ErrCodeInvalidRenderingParameterException for service response error code
// "InvalidRenderingParameter".
//
// Indicates that one or more of the replacement values you provided is invalid.
// This error may occur when the TemplateData object contains invalid JSON.
ErrCodeInvalidRenderingParameterException = "InvalidRenderingParameter"
// 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"
// ErrCodeInvalidTemplateException for service response error code
// "InvalidTemplate".
//
// Indicates that a template could not be created because it contained invalid
// JSON.
ErrCodeInvalidTemplateException = "InvalidTemplate"
// 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"
// ErrCodeMissingRenderingAttributeException for service response error code
// "MissingRenderingAttribute".
//
// Indicates that one or more of the replacement values for the specified template
// was not specified. Ensure that the TemplateData object contains references
// to all of the replacement tags in the specified template.
ErrCodeMissingRenderingAttributeException = "MissingRenderingAttribute"
// ErrCodeProductionAccessNotGrantedException for service response error code
// "ProductionAccessNotGranted".
//
// Indicates that the account has not been granted production access.
ErrCodeProductionAccessNotGrantedException = "ProductionAccessNotGranted"
// 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"
// ErrCodeTemplateDoesNotExistException for service response error code
// "TemplateDoesNotExist".
//
// Indicates that the Template object you specified does not exist in your Amazon
// SES account.
ErrCodeTemplateDoesNotExistException = "TemplateDoesNotExist"
// 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"
)