@aws-sdk/client-ses 3.52.0 → 3.54.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,15 +1,44 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreateReceiptRuleRequest = exports.ReceiptRule = exports.TlsPolicy = exports.ReceiptAction = exports.WorkmailAction = exports.StopAction = exports.StopScope = exports.SNSAction = exports.SNSActionEncoding = exports.S3Action = exports.LambdaAction = exports.CreateReceiptFilterResponse = exports.CreateReceiptFilterRequest = exports.ReceiptFilter = exports.ReceiptIpFilter = exports.ReceiptFilterPolicy = exports.CreateCustomVerificationEmailTemplateRequest = exports.CreateConfigurationSetTrackingOptionsResponse = exports.CreateConfigurationSetTrackingOptionsRequest = exports.TrackingOptions = exports.CreateConfigurationSetEventDestinationResponse = exports.CreateConfigurationSetEventDestinationRequest = exports.EventDestination = exports.SNSDestination = exports.EventType = exports.KinesisFirehoseDestination = exports.CreateConfigurationSetResponse = exports.CreateConfigurationSetRequest = exports.ConfigurationSetAttribute = exports.ConfigurationSet = exports.CloudWatchDestination = exports.CloudWatchDimensionConfiguration = exports.DimensionValueSource = exports.CloneReceiptRuleSetResponse = exports.CloneReceiptRuleSetRequest = exports.BulkEmailDestinationStatus = exports.BulkEmailStatus = exports.BulkEmailDestination = exports.MessageTag = exports.Destination = exports.BouncedRecipientInfo = exports.RecipientDsnFields = exports.ExtensionField = exports.DsnAction = exports.BounceType = exports.BounceAction = exports.Body = exports.Content = exports.BehaviorOnMXFailure = exports.AddHeaderAction = void 0;
4
- exports.IdentityNotificationAttributes = exports.GetIdentityNotificationAttributesRequest = exports.GetIdentityMailFromDomainAttributesResponse = exports.IdentityMailFromDomainAttributes = exports.GetIdentityMailFromDomainAttributesRequest = exports.GetIdentityDkimAttributesResponse = exports.GetIdentityDkimAttributesRequest = exports.GetCustomVerificationEmailTemplateResponse = exports.GetCustomVerificationEmailTemplateRequest = exports.GetAccountSendingEnabledResponse = exports.IdentityDkimAttributes = exports.DescribeReceiptRuleSetResponse = exports.DescribeReceiptRuleSetRequest = exports.DescribeReceiptRuleResponse = exports.DescribeReceiptRuleRequest = exports.DescribeConfigurationSetResponse = exports.ReputationOptions = exports.DescribeConfigurationSetRequest = exports.DescribeActiveReceiptRuleSetResponse = exports.ReceiptRuleSetMetadata = exports.DescribeActiveReceiptRuleSetRequest = exports.DeliveryOptions = exports.DeleteVerifiedEmailAddressRequest = exports.DeleteTemplateResponse = exports.DeleteTemplateRequest = exports.DeleteReceiptRuleSetResponse = exports.DeleteReceiptRuleSetRequest = exports.DeleteReceiptRuleResponse = exports.DeleteReceiptRuleRequest = exports.DeleteReceiptFilterResponse = exports.DeleteReceiptFilterRequest = exports.DeleteIdentityPolicyResponse = exports.DeleteIdentityPolicyRequest = exports.DeleteIdentityResponse = exports.DeleteIdentityRequest = exports.DeleteCustomVerificationEmailTemplateRequest = exports.DeleteConfigurationSetTrackingOptionsResponse = exports.DeleteConfigurationSetTrackingOptionsRequest = exports.DeleteConfigurationSetEventDestinationResponse = exports.DeleteConfigurationSetEventDestinationRequest = exports.DeleteConfigurationSetResponse = exports.DeleteConfigurationSetRequest = exports.CustomVerificationEmailTemplate = exports.CustomMailFromStatus = exports.CreateTemplateResponse = exports.CreateTemplateRequest = exports.Template = exports.CreateReceiptRuleSetResponse = exports.CreateReceiptRuleSetRequest = exports.CreateReceiptRuleResponse = void 0;
5
- exports.SetActiveReceiptRuleSetResponse = exports.SetActiveReceiptRuleSetRequest = exports.SendTemplatedEmailResponse = exports.SendTemplatedEmailRequest = exports.SendRawEmailResponse = exports.SendRawEmailRequest = exports.SendEmailResponse = exports.SendEmailRequest = exports.SendCustomVerificationEmailResponse = exports.SendCustomVerificationEmailRequest = exports.SendBulkTemplatedEmailResponse = exports.SendBulkTemplatedEmailRequest = exports.SendBounceResponse = exports.SendBounceRequest = exports.ReorderReceiptRuleSetResponse = exports.ReorderReceiptRuleSetRequest = exports.RawMessage = exports.PutIdentityPolicyResponse = exports.PutIdentityPolicyRequest = exports.PutConfigurationSetDeliveryOptionsResponse = exports.PutConfigurationSetDeliveryOptionsRequest = exports.MessageDsn = exports.Message = exports.ListVerifiedEmailAddressesResponse = exports.ListTemplatesResponse = exports.TemplateMetadata = exports.ListTemplatesRequest = exports.ListReceiptRuleSetsResponse = exports.ListReceiptRuleSetsRequest = exports.ListReceiptFiltersResponse = exports.ListReceiptFiltersRequest = exports.ListIdentityPoliciesResponse = exports.ListIdentityPoliciesRequest = exports.ListIdentitiesResponse = exports.ListIdentitiesRequest = exports.ListCustomVerificationEmailTemplatesResponse = exports.ListCustomVerificationEmailTemplatesRequest = exports.ListConfigurationSetsResponse = exports.ListConfigurationSetsRequest = exports.GetTemplateResponse = exports.GetTemplateRequest = exports.GetSendStatisticsResponse = exports.SendDataPoint = exports.GetSendQuotaResponse = exports.GetIdentityVerificationAttributesResponse = exports.IdentityVerificationAttributes = exports.GetIdentityVerificationAttributesRequest = exports.GetIdentityPoliciesResponse = exports.GetIdentityPoliciesRequest = exports.GetIdentityNotificationAttributesResponse = void 0;
6
- exports.VerifyEmailIdentityResponse = exports.VerifyEmailIdentityRequest = exports.VerifyEmailAddressRequest = exports.VerifyDomainIdentityResponse = exports.VerifyDomainIdentityRequest = exports.VerifyDomainDkimResponse = exports.VerifyDomainDkimRequest = exports.UpdateTemplateResponse = exports.UpdateTemplateRequest = exports.UpdateReceiptRuleResponse = exports.UpdateReceiptRuleRequest = exports.UpdateCustomVerificationEmailTemplateRequest = exports.UpdateConfigurationSetTrackingOptionsResponse = exports.UpdateConfigurationSetTrackingOptionsRequest = exports.UpdateConfigurationSetSendingEnabledRequest = exports.UpdateConfigurationSetReputationMetricsEnabledRequest = exports.UpdateConfigurationSetEventDestinationResponse = exports.UpdateConfigurationSetEventDestinationRequest = exports.UpdateAccountSendingEnabledRequest = exports.TestRenderTemplateResponse = exports.TestRenderTemplateRequest = exports.SetReceiptRulePositionResponse = exports.SetReceiptRulePositionRequest = exports.SetIdentityNotificationTopicResponse = exports.SetIdentityNotificationTopicRequest = exports.SetIdentityMailFromDomainResponse = exports.SetIdentityMailFromDomainRequest = exports.SetIdentityHeadersInNotificationsEnabledResponse = exports.SetIdentityHeadersInNotificationsEnabledRequest = exports.SetIdentityFeedbackForwardingEnabledResponse = exports.SetIdentityFeedbackForwardingEnabledRequest = exports.SetIdentityDkimEnabledResponse = exports.SetIdentityDkimEnabledRequest = void 0;
3
+ exports.CustomVerificationEmailInvalidContentException = exports.CreateCustomVerificationEmailTemplateRequest = exports.TrackingOptionsAlreadyExistsException = exports.InvalidTrackingOptionsException = exports.CreateConfigurationSetTrackingOptionsResponse = exports.CreateConfigurationSetTrackingOptionsRequest = exports.TrackingOptions = exports.InvalidSNSDestinationException = exports.InvalidFirehoseDestinationException = exports.InvalidCloudWatchDestinationException = exports.EventDestinationAlreadyExistsException = exports.CreateConfigurationSetEventDestinationResponse = exports.CreateConfigurationSetEventDestinationRequest = exports.EventDestination = exports.SNSDestination = exports.EventType = exports.KinesisFirehoseDestination = exports.InvalidConfigurationSetException = exports.CreateConfigurationSetResponse = exports.CreateConfigurationSetRequest = exports.ConfigurationSetSendingPausedException = exports.ConfigurationSetDoesNotExistException = exports.ConfigurationSetAttribute = exports.ConfigurationSetAlreadyExistsException = exports.ConfigurationSet = exports.CloudWatchDestination = exports.CloudWatchDimensionConfiguration = exports.DimensionValueSource = exports.RuleSetDoesNotExistException = exports.LimitExceededException = exports.CloneReceiptRuleSetResponse = exports.CloneReceiptRuleSetRequest = exports.CannotDeleteException = exports.BulkEmailDestinationStatus = exports.BulkEmailStatus = exports.BulkEmailDestination = exports.MessageTag = exports.Destination = exports.BouncedRecipientInfo = exports.RecipientDsnFields = exports.ExtensionField = exports.DsnAction = exports.BounceType = exports.BounceAction = exports.Body = exports.Content = exports.BehaviorOnMXFailure = exports.AlreadyExistsException = exports.AddHeaderAction = exports.AccountSendingPausedException = void 0;
4
+ exports.DeleteReceiptRuleSetRequest = exports.DeleteReceiptRuleResponse = exports.DeleteReceiptRuleRequest = exports.DeleteReceiptFilterResponse = exports.DeleteReceiptFilterRequest = exports.DeleteIdentityPolicyResponse = exports.DeleteIdentityPolicyRequest = exports.DeleteIdentityResponse = exports.DeleteIdentityRequest = exports.DeleteCustomVerificationEmailTemplateRequest = exports.TrackingOptionsDoesNotExistException = exports.DeleteConfigurationSetTrackingOptionsResponse = exports.DeleteConfigurationSetTrackingOptionsRequest = exports.EventDestinationDoesNotExistException = exports.DeleteConfigurationSetEventDestinationResponse = exports.DeleteConfigurationSetEventDestinationRequest = exports.DeleteConfigurationSetResponse = exports.DeleteConfigurationSetRequest = exports.CustomVerificationEmailTemplateDoesNotExistException = exports.CustomVerificationEmailTemplate = exports.CustomMailFromStatus = exports.InvalidTemplateException = exports.CreateTemplateResponse = exports.CreateTemplateRequest = exports.Template = exports.CreateReceiptRuleSetResponse = exports.CreateReceiptRuleSetRequest = exports.RuleDoesNotExistException = exports.InvalidSnsTopicException = exports.InvalidS3ConfigurationException = exports.InvalidLambdaFunctionException = exports.CreateReceiptRuleResponse = exports.CreateReceiptRuleRequest = exports.ReceiptRule = exports.TlsPolicy = exports.ReceiptAction = exports.WorkmailAction = exports.StopAction = exports.StopScope = exports.SNSAction = exports.SNSActionEncoding = exports.S3Action = exports.LambdaAction = exports.CreateReceiptFilterResponse = exports.CreateReceiptFilterRequest = exports.ReceiptFilter = exports.ReceiptIpFilter = exports.ReceiptFilterPolicy = exports.FromEmailAddressNotVerifiedException = exports.CustomVerificationEmailTemplateAlreadyExistsException = void 0;
5
+ exports.ListReceiptFiltersRequest = exports.ListIdentityPoliciesResponse = exports.ListIdentityPoliciesRequest = exports.ListIdentitiesResponse = exports.ListIdentitiesRequest = exports.ListCustomVerificationEmailTemplatesResponse = exports.ListCustomVerificationEmailTemplatesRequest = exports.ListConfigurationSetsResponse = exports.ListConfigurationSetsRequest = exports.InvalidRenderingParameterException = exports.InvalidPolicyException = exports.InvalidDeliveryOptionsException = exports.TemplateDoesNotExistException = exports.GetTemplateResponse = exports.GetTemplateRequest = exports.GetSendStatisticsResponse = exports.SendDataPoint = exports.GetSendQuotaResponse = exports.GetIdentityVerificationAttributesResponse = exports.IdentityVerificationAttributes = exports.GetIdentityVerificationAttributesRequest = exports.GetIdentityPoliciesResponse = exports.GetIdentityPoliciesRequest = exports.GetIdentityNotificationAttributesResponse = exports.IdentityNotificationAttributes = exports.GetIdentityNotificationAttributesRequest = exports.GetIdentityMailFromDomainAttributesResponse = exports.IdentityMailFromDomainAttributes = exports.GetIdentityMailFromDomainAttributesRequest = exports.GetIdentityDkimAttributesResponse = exports.GetIdentityDkimAttributesRequest = exports.GetCustomVerificationEmailTemplateResponse = exports.GetCustomVerificationEmailTemplateRequest = exports.GetAccountSendingEnabledResponse = exports.IdentityDkimAttributes = exports.DescribeReceiptRuleSetResponse = exports.DescribeReceiptRuleSetRequest = exports.DescribeReceiptRuleResponse = exports.DescribeReceiptRuleRequest = exports.DescribeConfigurationSetResponse = exports.ReputationOptions = exports.DescribeConfigurationSetRequest = exports.DescribeActiveReceiptRuleSetResponse = exports.ReceiptRuleSetMetadata = exports.DescribeActiveReceiptRuleSetRequest = exports.DeliveryOptions = exports.DeleteVerifiedEmailAddressRequest = exports.DeleteTemplateResponse = exports.DeleteTemplateRequest = exports.DeleteReceiptRuleSetResponse = void 0;
6
+ exports.UpdateConfigurationSetEventDestinationRequest = exports.UpdateAccountSendingEnabledRequest = exports.TestRenderTemplateResponse = exports.TestRenderTemplateRequest = exports.SetReceiptRulePositionResponse = exports.SetReceiptRulePositionRequest = exports.SetIdentityNotificationTopicResponse = exports.SetIdentityNotificationTopicRequest = exports.SetIdentityMailFromDomainResponse = exports.SetIdentityMailFromDomainRequest = exports.SetIdentityHeadersInNotificationsEnabledResponse = exports.SetIdentityHeadersInNotificationsEnabledRequest = exports.SetIdentityFeedbackForwardingEnabledResponse = exports.SetIdentityFeedbackForwardingEnabledRequest = exports.SetIdentityDkimEnabledResponse = exports.SetIdentityDkimEnabledRequest = exports.SetActiveReceiptRuleSetResponse = exports.SetActiveReceiptRuleSetRequest = exports.SendTemplatedEmailResponse = exports.SendTemplatedEmailRequest = exports.SendRawEmailResponse = exports.SendRawEmailRequest = exports.SendEmailResponse = exports.SendEmailRequest = exports.SendCustomVerificationEmailResponse = exports.SendCustomVerificationEmailRequest = exports.SendBulkTemplatedEmailResponse = exports.SendBulkTemplatedEmailRequest = exports.SendBounceResponse = exports.SendBounceRequest = exports.ReorderReceiptRuleSetResponse = exports.ReorderReceiptRuleSetRequest = exports.RawMessage = exports.PutIdentityPolicyResponse = exports.PutIdentityPolicyRequest = exports.PutConfigurationSetDeliveryOptionsResponse = exports.PutConfigurationSetDeliveryOptionsRequest = exports.ProductionAccessNotGrantedException = exports.MissingRenderingAttributeException = exports.MessageRejected = exports.MessageDsn = exports.Message = exports.MailFromDomainNotVerifiedException = exports.ListVerifiedEmailAddressesResponse = exports.ListTemplatesResponse = exports.TemplateMetadata = exports.ListTemplatesRequest = exports.ListReceiptRuleSetsResponse = exports.ListReceiptRuleSetsRequest = exports.ListReceiptFiltersResponse = void 0;
7
+ exports.VerifyEmailIdentityResponse = exports.VerifyEmailIdentityRequest = exports.VerifyEmailAddressRequest = exports.VerifyDomainIdentityResponse = exports.VerifyDomainIdentityRequest = exports.VerifyDomainDkimResponse = exports.VerifyDomainDkimRequest = exports.UpdateTemplateResponse = exports.UpdateTemplateRequest = exports.UpdateReceiptRuleResponse = exports.UpdateReceiptRuleRequest = exports.UpdateCustomVerificationEmailTemplateRequest = exports.UpdateConfigurationSetTrackingOptionsResponse = exports.UpdateConfigurationSetTrackingOptionsRequest = exports.UpdateConfigurationSetSendingEnabledRequest = exports.UpdateConfigurationSetReputationMetricsEnabledRequest = exports.UpdateConfigurationSetEventDestinationResponse = void 0;
8
+ const SESServiceException_1 = require("./SESServiceException");
9
+ class AccountSendingPausedException extends SESServiceException_1.SESServiceException {
10
+ constructor(opts) {
11
+ super({
12
+ name: "AccountSendingPausedException",
13
+ $fault: "client",
14
+ ...opts,
15
+ });
16
+ this.name = "AccountSendingPausedException";
17
+ this.$fault = "client";
18
+ Object.setPrototypeOf(this, AccountSendingPausedException.prototype);
19
+ }
20
+ }
21
+ exports.AccountSendingPausedException = AccountSendingPausedException;
7
22
  var AddHeaderAction;
8
23
  (function (AddHeaderAction) {
9
24
  AddHeaderAction.filterSensitiveLog = (obj) => ({
10
25
  ...obj,
11
26
  });
12
27
  })(AddHeaderAction = exports.AddHeaderAction || (exports.AddHeaderAction = {}));
28
+ class AlreadyExistsException extends SESServiceException_1.SESServiceException {
29
+ constructor(opts) {
30
+ super({
31
+ name: "AlreadyExistsException",
32
+ $fault: "client",
33
+ ...opts,
34
+ });
35
+ this.name = "AlreadyExistsException";
36
+ this.$fault = "client";
37
+ Object.setPrototypeOf(this, AlreadyExistsException.prototype);
38
+ this.Name = opts.Name;
39
+ }
40
+ }
41
+ exports.AlreadyExistsException = AlreadyExistsException;
13
42
  var BehaviorOnMXFailure;
14
43
  (function (BehaviorOnMXFailure) {
15
44
  BehaviorOnMXFailure["RejectMessage"] = "RejectMessage";
@@ -109,6 +138,20 @@ var BulkEmailDestinationStatus;
109
138
  ...obj,
110
139
  });
111
140
  })(BulkEmailDestinationStatus = exports.BulkEmailDestinationStatus || (exports.BulkEmailDestinationStatus = {}));
141
+ class CannotDeleteException extends SESServiceException_1.SESServiceException {
142
+ constructor(opts) {
143
+ super({
144
+ name: "CannotDeleteException",
145
+ $fault: "client",
146
+ ...opts,
147
+ });
148
+ this.name = "CannotDeleteException";
149
+ this.$fault = "client";
150
+ Object.setPrototypeOf(this, CannotDeleteException.prototype);
151
+ this.Name = opts.Name;
152
+ }
153
+ }
154
+ exports.CannotDeleteException = CannotDeleteException;
112
155
  var CloneReceiptRuleSetRequest;
113
156
  (function (CloneReceiptRuleSetRequest) {
114
157
  CloneReceiptRuleSetRequest.filterSensitiveLog = (obj) => ({
@@ -121,6 +164,33 @@ var CloneReceiptRuleSetResponse;
121
164
  ...obj,
122
165
  });
123
166
  })(CloneReceiptRuleSetResponse = exports.CloneReceiptRuleSetResponse || (exports.CloneReceiptRuleSetResponse = {}));
167
+ class LimitExceededException extends SESServiceException_1.SESServiceException {
168
+ constructor(opts) {
169
+ super({
170
+ name: "LimitExceededException",
171
+ $fault: "client",
172
+ ...opts,
173
+ });
174
+ this.name = "LimitExceededException";
175
+ this.$fault = "client";
176
+ Object.setPrototypeOf(this, LimitExceededException.prototype);
177
+ }
178
+ }
179
+ exports.LimitExceededException = LimitExceededException;
180
+ class RuleSetDoesNotExistException extends SESServiceException_1.SESServiceException {
181
+ constructor(opts) {
182
+ super({
183
+ name: "RuleSetDoesNotExistException",
184
+ $fault: "client",
185
+ ...opts,
186
+ });
187
+ this.name = "RuleSetDoesNotExistException";
188
+ this.$fault = "client";
189
+ Object.setPrototypeOf(this, RuleSetDoesNotExistException.prototype);
190
+ this.Name = opts.Name;
191
+ }
192
+ }
193
+ exports.RuleSetDoesNotExistException = RuleSetDoesNotExistException;
124
194
  var DimensionValueSource;
125
195
  (function (DimensionValueSource) {
126
196
  DimensionValueSource["EMAIL_HEADER"] = "emailHeader";
@@ -145,6 +215,20 @@ var ConfigurationSet;
145
215
  ...obj,
146
216
  });
147
217
  })(ConfigurationSet = exports.ConfigurationSet || (exports.ConfigurationSet = {}));
218
+ class ConfigurationSetAlreadyExistsException extends SESServiceException_1.SESServiceException {
219
+ constructor(opts) {
220
+ super({
221
+ name: "ConfigurationSetAlreadyExistsException",
222
+ $fault: "client",
223
+ ...opts,
224
+ });
225
+ this.name = "ConfigurationSetAlreadyExistsException";
226
+ this.$fault = "client";
227
+ Object.setPrototypeOf(this, ConfigurationSetAlreadyExistsException.prototype);
228
+ this.ConfigurationSetName = opts.ConfigurationSetName;
229
+ }
230
+ }
231
+ exports.ConfigurationSetAlreadyExistsException = ConfigurationSetAlreadyExistsException;
148
232
  var ConfigurationSetAttribute;
149
233
  (function (ConfigurationSetAttribute) {
150
234
  ConfigurationSetAttribute["DELIVERY_OPTIONS"] = "deliveryOptions";
@@ -152,6 +236,34 @@ var ConfigurationSetAttribute;
152
236
  ConfigurationSetAttribute["REPUTATION_OPTIONS"] = "reputationOptions";
153
237
  ConfigurationSetAttribute["TRACKING_OPTIONS"] = "trackingOptions";
154
238
  })(ConfigurationSetAttribute = exports.ConfigurationSetAttribute || (exports.ConfigurationSetAttribute = {}));
239
+ class ConfigurationSetDoesNotExistException extends SESServiceException_1.SESServiceException {
240
+ constructor(opts) {
241
+ super({
242
+ name: "ConfigurationSetDoesNotExistException",
243
+ $fault: "client",
244
+ ...opts,
245
+ });
246
+ this.name = "ConfigurationSetDoesNotExistException";
247
+ this.$fault = "client";
248
+ Object.setPrototypeOf(this, ConfigurationSetDoesNotExistException.prototype);
249
+ this.ConfigurationSetName = opts.ConfigurationSetName;
250
+ }
251
+ }
252
+ exports.ConfigurationSetDoesNotExistException = ConfigurationSetDoesNotExistException;
253
+ class ConfigurationSetSendingPausedException extends SESServiceException_1.SESServiceException {
254
+ constructor(opts) {
255
+ super({
256
+ name: "ConfigurationSetSendingPausedException",
257
+ $fault: "client",
258
+ ...opts,
259
+ });
260
+ this.name = "ConfigurationSetSendingPausedException";
261
+ this.$fault = "client";
262
+ Object.setPrototypeOf(this, ConfigurationSetSendingPausedException.prototype);
263
+ this.ConfigurationSetName = opts.ConfigurationSetName;
264
+ }
265
+ }
266
+ exports.ConfigurationSetSendingPausedException = ConfigurationSetSendingPausedException;
155
267
  var CreateConfigurationSetRequest;
156
268
  (function (CreateConfigurationSetRequest) {
157
269
  CreateConfigurationSetRequest.filterSensitiveLog = (obj) => ({
@@ -164,6 +276,19 @@ var CreateConfigurationSetResponse;
164
276
  ...obj,
165
277
  });
166
278
  })(CreateConfigurationSetResponse = exports.CreateConfigurationSetResponse || (exports.CreateConfigurationSetResponse = {}));
279
+ class InvalidConfigurationSetException extends SESServiceException_1.SESServiceException {
280
+ constructor(opts) {
281
+ super({
282
+ name: "InvalidConfigurationSetException",
283
+ $fault: "client",
284
+ ...opts,
285
+ });
286
+ this.name = "InvalidConfigurationSetException";
287
+ this.$fault = "client";
288
+ Object.setPrototypeOf(this, InvalidConfigurationSetException.prototype);
289
+ }
290
+ }
291
+ exports.InvalidConfigurationSetException = InvalidConfigurationSetException;
167
292
  var KinesisFirehoseDestination;
168
293
  (function (KinesisFirehoseDestination) {
169
294
  KinesisFirehoseDestination.filterSensitiveLog = (obj) => ({
@@ -205,6 +330,66 @@ var CreateConfigurationSetEventDestinationResponse;
205
330
  ...obj,
206
331
  });
207
332
  })(CreateConfigurationSetEventDestinationResponse = exports.CreateConfigurationSetEventDestinationResponse || (exports.CreateConfigurationSetEventDestinationResponse = {}));
333
+ class EventDestinationAlreadyExistsException extends SESServiceException_1.SESServiceException {
334
+ constructor(opts) {
335
+ super({
336
+ name: "EventDestinationAlreadyExistsException",
337
+ $fault: "client",
338
+ ...opts,
339
+ });
340
+ this.name = "EventDestinationAlreadyExistsException";
341
+ this.$fault = "client";
342
+ Object.setPrototypeOf(this, EventDestinationAlreadyExistsException.prototype);
343
+ this.ConfigurationSetName = opts.ConfigurationSetName;
344
+ this.EventDestinationName = opts.EventDestinationName;
345
+ }
346
+ }
347
+ exports.EventDestinationAlreadyExistsException = EventDestinationAlreadyExistsException;
348
+ class InvalidCloudWatchDestinationException extends SESServiceException_1.SESServiceException {
349
+ constructor(opts) {
350
+ super({
351
+ name: "InvalidCloudWatchDestinationException",
352
+ $fault: "client",
353
+ ...opts,
354
+ });
355
+ this.name = "InvalidCloudWatchDestinationException";
356
+ this.$fault = "client";
357
+ Object.setPrototypeOf(this, InvalidCloudWatchDestinationException.prototype);
358
+ this.ConfigurationSetName = opts.ConfigurationSetName;
359
+ this.EventDestinationName = opts.EventDestinationName;
360
+ }
361
+ }
362
+ exports.InvalidCloudWatchDestinationException = InvalidCloudWatchDestinationException;
363
+ class InvalidFirehoseDestinationException extends SESServiceException_1.SESServiceException {
364
+ constructor(opts) {
365
+ super({
366
+ name: "InvalidFirehoseDestinationException",
367
+ $fault: "client",
368
+ ...opts,
369
+ });
370
+ this.name = "InvalidFirehoseDestinationException";
371
+ this.$fault = "client";
372
+ Object.setPrototypeOf(this, InvalidFirehoseDestinationException.prototype);
373
+ this.ConfigurationSetName = opts.ConfigurationSetName;
374
+ this.EventDestinationName = opts.EventDestinationName;
375
+ }
376
+ }
377
+ exports.InvalidFirehoseDestinationException = InvalidFirehoseDestinationException;
378
+ class InvalidSNSDestinationException extends SESServiceException_1.SESServiceException {
379
+ constructor(opts) {
380
+ super({
381
+ name: "InvalidSNSDestinationException",
382
+ $fault: "client",
383
+ ...opts,
384
+ });
385
+ this.name = "InvalidSNSDestinationException";
386
+ this.$fault = "client";
387
+ Object.setPrototypeOf(this, InvalidSNSDestinationException.prototype);
388
+ this.ConfigurationSetName = opts.ConfigurationSetName;
389
+ this.EventDestinationName = opts.EventDestinationName;
390
+ }
391
+ }
392
+ exports.InvalidSNSDestinationException = InvalidSNSDestinationException;
208
393
  var TrackingOptions;
209
394
  (function (TrackingOptions) {
210
395
  TrackingOptions.filterSensitiveLog = (obj) => ({
@@ -223,12 +408,80 @@ var CreateConfigurationSetTrackingOptionsResponse;
223
408
  ...obj,
224
409
  });
225
410
  })(CreateConfigurationSetTrackingOptionsResponse = exports.CreateConfigurationSetTrackingOptionsResponse || (exports.CreateConfigurationSetTrackingOptionsResponse = {}));
411
+ class InvalidTrackingOptionsException extends SESServiceException_1.SESServiceException {
412
+ constructor(opts) {
413
+ super({
414
+ name: "InvalidTrackingOptionsException",
415
+ $fault: "client",
416
+ ...opts,
417
+ });
418
+ this.name = "InvalidTrackingOptionsException";
419
+ this.$fault = "client";
420
+ Object.setPrototypeOf(this, InvalidTrackingOptionsException.prototype);
421
+ }
422
+ }
423
+ exports.InvalidTrackingOptionsException = InvalidTrackingOptionsException;
424
+ class TrackingOptionsAlreadyExistsException extends SESServiceException_1.SESServiceException {
425
+ constructor(opts) {
426
+ super({
427
+ name: "TrackingOptionsAlreadyExistsException",
428
+ $fault: "client",
429
+ ...opts,
430
+ });
431
+ this.name = "TrackingOptionsAlreadyExistsException";
432
+ this.$fault = "client";
433
+ Object.setPrototypeOf(this, TrackingOptionsAlreadyExistsException.prototype);
434
+ this.ConfigurationSetName = opts.ConfigurationSetName;
435
+ }
436
+ }
437
+ exports.TrackingOptionsAlreadyExistsException = TrackingOptionsAlreadyExistsException;
226
438
  var CreateCustomVerificationEmailTemplateRequest;
227
439
  (function (CreateCustomVerificationEmailTemplateRequest) {
228
440
  CreateCustomVerificationEmailTemplateRequest.filterSensitiveLog = (obj) => ({
229
441
  ...obj,
230
442
  });
231
443
  })(CreateCustomVerificationEmailTemplateRequest = exports.CreateCustomVerificationEmailTemplateRequest || (exports.CreateCustomVerificationEmailTemplateRequest = {}));
444
+ class CustomVerificationEmailInvalidContentException extends SESServiceException_1.SESServiceException {
445
+ constructor(opts) {
446
+ super({
447
+ name: "CustomVerificationEmailInvalidContentException",
448
+ $fault: "client",
449
+ ...opts,
450
+ });
451
+ this.name = "CustomVerificationEmailInvalidContentException";
452
+ this.$fault = "client";
453
+ Object.setPrototypeOf(this, CustomVerificationEmailInvalidContentException.prototype);
454
+ }
455
+ }
456
+ exports.CustomVerificationEmailInvalidContentException = CustomVerificationEmailInvalidContentException;
457
+ class CustomVerificationEmailTemplateAlreadyExistsException extends SESServiceException_1.SESServiceException {
458
+ constructor(opts) {
459
+ super({
460
+ name: "CustomVerificationEmailTemplateAlreadyExistsException",
461
+ $fault: "client",
462
+ ...opts,
463
+ });
464
+ this.name = "CustomVerificationEmailTemplateAlreadyExistsException";
465
+ this.$fault = "client";
466
+ Object.setPrototypeOf(this, CustomVerificationEmailTemplateAlreadyExistsException.prototype);
467
+ this.CustomVerificationEmailTemplateName = opts.CustomVerificationEmailTemplateName;
468
+ }
469
+ }
470
+ exports.CustomVerificationEmailTemplateAlreadyExistsException = CustomVerificationEmailTemplateAlreadyExistsException;
471
+ class FromEmailAddressNotVerifiedException extends SESServiceException_1.SESServiceException {
472
+ constructor(opts) {
473
+ super({
474
+ name: "FromEmailAddressNotVerifiedException",
475
+ $fault: "client",
476
+ ...opts,
477
+ });
478
+ this.name = "FromEmailAddressNotVerifiedException";
479
+ this.$fault = "client";
480
+ Object.setPrototypeOf(this, FromEmailAddressNotVerifiedException.prototype);
481
+ this.FromEmailAddress = opts.FromEmailAddress;
482
+ }
483
+ }
484
+ exports.FromEmailAddressNotVerifiedException = FromEmailAddressNotVerifiedException;
232
485
  var ReceiptFilterPolicy;
233
486
  (function (ReceiptFilterPolicy) {
234
487
  ReceiptFilterPolicy["Allow"] = "Allow";
@@ -326,6 +579,62 @@ var CreateReceiptRuleResponse;
326
579
  ...obj,
327
580
  });
328
581
  })(CreateReceiptRuleResponse = exports.CreateReceiptRuleResponse || (exports.CreateReceiptRuleResponse = {}));
582
+ class InvalidLambdaFunctionException extends SESServiceException_1.SESServiceException {
583
+ constructor(opts) {
584
+ super({
585
+ name: "InvalidLambdaFunctionException",
586
+ $fault: "client",
587
+ ...opts,
588
+ });
589
+ this.name = "InvalidLambdaFunctionException";
590
+ this.$fault = "client";
591
+ Object.setPrototypeOf(this, InvalidLambdaFunctionException.prototype);
592
+ this.FunctionArn = opts.FunctionArn;
593
+ }
594
+ }
595
+ exports.InvalidLambdaFunctionException = InvalidLambdaFunctionException;
596
+ class InvalidS3ConfigurationException extends SESServiceException_1.SESServiceException {
597
+ constructor(opts) {
598
+ super({
599
+ name: "InvalidS3ConfigurationException",
600
+ $fault: "client",
601
+ ...opts,
602
+ });
603
+ this.name = "InvalidS3ConfigurationException";
604
+ this.$fault = "client";
605
+ Object.setPrototypeOf(this, InvalidS3ConfigurationException.prototype);
606
+ this.Bucket = opts.Bucket;
607
+ }
608
+ }
609
+ exports.InvalidS3ConfigurationException = InvalidS3ConfigurationException;
610
+ class InvalidSnsTopicException extends SESServiceException_1.SESServiceException {
611
+ constructor(opts) {
612
+ super({
613
+ name: "InvalidSnsTopicException",
614
+ $fault: "client",
615
+ ...opts,
616
+ });
617
+ this.name = "InvalidSnsTopicException";
618
+ this.$fault = "client";
619
+ Object.setPrototypeOf(this, InvalidSnsTopicException.prototype);
620
+ this.Topic = opts.Topic;
621
+ }
622
+ }
623
+ exports.InvalidSnsTopicException = InvalidSnsTopicException;
624
+ class RuleDoesNotExistException extends SESServiceException_1.SESServiceException {
625
+ constructor(opts) {
626
+ super({
627
+ name: "RuleDoesNotExistException",
628
+ $fault: "client",
629
+ ...opts,
630
+ });
631
+ this.name = "RuleDoesNotExistException";
632
+ this.$fault = "client";
633
+ Object.setPrototypeOf(this, RuleDoesNotExistException.prototype);
634
+ this.Name = opts.Name;
635
+ }
636
+ }
637
+ exports.RuleDoesNotExistException = RuleDoesNotExistException;
329
638
  var CreateReceiptRuleSetRequest;
330
639
  (function (CreateReceiptRuleSetRequest) {
331
640
  CreateReceiptRuleSetRequest.filterSensitiveLog = (obj) => ({
@@ -356,6 +665,20 @@ var CreateTemplateResponse;
356
665
  ...obj,
357
666
  });
358
667
  })(CreateTemplateResponse = exports.CreateTemplateResponse || (exports.CreateTemplateResponse = {}));
668
+ class InvalidTemplateException extends SESServiceException_1.SESServiceException {
669
+ constructor(opts) {
670
+ super({
671
+ name: "InvalidTemplateException",
672
+ $fault: "client",
673
+ ...opts,
674
+ });
675
+ this.name = "InvalidTemplateException";
676
+ this.$fault = "client";
677
+ Object.setPrototypeOf(this, InvalidTemplateException.prototype);
678
+ this.TemplateName = opts.TemplateName;
679
+ }
680
+ }
681
+ exports.InvalidTemplateException = InvalidTemplateException;
359
682
  var CustomMailFromStatus;
360
683
  (function (CustomMailFromStatus) {
361
684
  CustomMailFromStatus["Failed"] = "Failed";
@@ -369,6 +692,20 @@ var CustomVerificationEmailTemplate;
369
692
  ...obj,
370
693
  });
371
694
  })(CustomVerificationEmailTemplate = exports.CustomVerificationEmailTemplate || (exports.CustomVerificationEmailTemplate = {}));
695
+ class CustomVerificationEmailTemplateDoesNotExistException extends SESServiceException_1.SESServiceException {
696
+ constructor(opts) {
697
+ super({
698
+ name: "CustomVerificationEmailTemplateDoesNotExistException",
699
+ $fault: "client",
700
+ ...opts,
701
+ });
702
+ this.name = "CustomVerificationEmailTemplateDoesNotExistException";
703
+ this.$fault = "client";
704
+ Object.setPrototypeOf(this, CustomVerificationEmailTemplateDoesNotExistException.prototype);
705
+ this.CustomVerificationEmailTemplateName = opts.CustomVerificationEmailTemplateName;
706
+ }
707
+ }
708
+ exports.CustomVerificationEmailTemplateDoesNotExistException = CustomVerificationEmailTemplateDoesNotExistException;
372
709
  var DeleteConfigurationSetRequest;
373
710
  (function (DeleteConfigurationSetRequest) {
374
711
  DeleteConfigurationSetRequest.filterSensitiveLog = (obj) => ({
@@ -393,6 +730,21 @@ var DeleteConfigurationSetEventDestinationResponse;
393
730
  ...obj,
394
731
  });
395
732
  })(DeleteConfigurationSetEventDestinationResponse = exports.DeleteConfigurationSetEventDestinationResponse || (exports.DeleteConfigurationSetEventDestinationResponse = {}));
733
+ class EventDestinationDoesNotExistException extends SESServiceException_1.SESServiceException {
734
+ constructor(opts) {
735
+ super({
736
+ name: "EventDestinationDoesNotExistException",
737
+ $fault: "client",
738
+ ...opts,
739
+ });
740
+ this.name = "EventDestinationDoesNotExistException";
741
+ this.$fault = "client";
742
+ Object.setPrototypeOf(this, EventDestinationDoesNotExistException.prototype);
743
+ this.ConfigurationSetName = opts.ConfigurationSetName;
744
+ this.EventDestinationName = opts.EventDestinationName;
745
+ }
746
+ }
747
+ exports.EventDestinationDoesNotExistException = EventDestinationDoesNotExistException;
396
748
  var DeleteConfigurationSetTrackingOptionsRequest;
397
749
  (function (DeleteConfigurationSetTrackingOptionsRequest) {
398
750
  DeleteConfigurationSetTrackingOptionsRequest.filterSensitiveLog = (obj) => ({
@@ -405,6 +757,20 @@ var DeleteConfigurationSetTrackingOptionsResponse;
405
757
  ...obj,
406
758
  });
407
759
  })(DeleteConfigurationSetTrackingOptionsResponse = exports.DeleteConfigurationSetTrackingOptionsResponse || (exports.DeleteConfigurationSetTrackingOptionsResponse = {}));
760
+ class TrackingOptionsDoesNotExistException extends SESServiceException_1.SESServiceException {
761
+ constructor(opts) {
762
+ super({
763
+ name: "TrackingOptionsDoesNotExistException",
764
+ $fault: "client",
765
+ ...opts,
766
+ });
767
+ this.name = "TrackingOptionsDoesNotExistException";
768
+ this.$fault = "client";
769
+ Object.setPrototypeOf(this, TrackingOptionsDoesNotExistException.prototype);
770
+ this.ConfigurationSetName = opts.ConfigurationSetName;
771
+ }
772
+ }
773
+ exports.TrackingOptionsDoesNotExistException = TrackingOptionsDoesNotExistException;
408
774
  var DeleteCustomVerificationEmailTemplateRequest;
409
775
  (function (DeleteCustomVerificationEmailTemplateRequest) {
410
776
  DeleteCustomVerificationEmailTemplateRequest.filterSensitiveLog = (obj) => ({
@@ -687,6 +1053,60 @@ var GetTemplateResponse;
687
1053
  ...obj,
688
1054
  });
689
1055
  })(GetTemplateResponse = exports.GetTemplateResponse || (exports.GetTemplateResponse = {}));
1056
+ class TemplateDoesNotExistException extends SESServiceException_1.SESServiceException {
1057
+ constructor(opts) {
1058
+ super({
1059
+ name: "TemplateDoesNotExistException",
1060
+ $fault: "client",
1061
+ ...opts,
1062
+ });
1063
+ this.name = "TemplateDoesNotExistException";
1064
+ this.$fault = "client";
1065
+ Object.setPrototypeOf(this, TemplateDoesNotExistException.prototype);
1066
+ this.TemplateName = opts.TemplateName;
1067
+ }
1068
+ }
1069
+ exports.TemplateDoesNotExistException = TemplateDoesNotExistException;
1070
+ class InvalidDeliveryOptionsException extends SESServiceException_1.SESServiceException {
1071
+ constructor(opts) {
1072
+ super({
1073
+ name: "InvalidDeliveryOptionsException",
1074
+ $fault: "client",
1075
+ ...opts,
1076
+ });
1077
+ this.name = "InvalidDeliveryOptionsException";
1078
+ this.$fault = "client";
1079
+ Object.setPrototypeOf(this, InvalidDeliveryOptionsException.prototype);
1080
+ }
1081
+ }
1082
+ exports.InvalidDeliveryOptionsException = InvalidDeliveryOptionsException;
1083
+ class InvalidPolicyException extends SESServiceException_1.SESServiceException {
1084
+ constructor(opts) {
1085
+ super({
1086
+ name: "InvalidPolicyException",
1087
+ $fault: "client",
1088
+ ...opts,
1089
+ });
1090
+ this.name = "InvalidPolicyException";
1091
+ this.$fault = "client";
1092
+ Object.setPrototypeOf(this, InvalidPolicyException.prototype);
1093
+ }
1094
+ }
1095
+ exports.InvalidPolicyException = InvalidPolicyException;
1096
+ class InvalidRenderingParameterException extends SESServiceException_1.SESServiceException {
1097
+ constructor(opts) {
1098
+ super({
1099
+ name: "InvalidRenderingParameterException",
1100
+ $fault: "client",
1101
+ ...opts,
1102
+ });
1103
+ this.name = "InvalidRenderingParameterException";
1104
+ this.$fault = "client";
1105
+ Object.setPrototypeOf(this, InvalidRenderingParameterException.prototype);
1106
+ this.TemplateName = opts.TemplateName;
1107
+ }
1108
+ }
1109
+ exports.InvalidRenderingParameterException = InvalidRenderingParameterException;
690
1110
  var ListConfigurationSetsRequest;
691
1111
  (function (ListConfigurationSetsRequest) {
692
1112
  ListConfigurationSetsRequest.filterSensitiveLog = (obj) => ({
@@ -783,6 +1203,19 @@ var ListVerifiedEmailAddressesResponse;
783
1203
  ...obj,
784
1204
  });
785
1205
  })(ListVerifiedEmailAddressesResponse = exports.ListVerifiedEmailAddressesResponse || (exports.ListVerifiedEmailAddressesResponse = {}));
1206
+ class MailFromDomainNotVerifiedException extends SESServiceException_1.SESServiceException {
1207
+ constructor(opts) {
1208
+ super({
1209
+ name: "MailFromDomainNotVerifiedException",
1210
+ $fault: "client",
1211
+ ...opts,
1212
+ });
1213
+ this.name = "MailFromDomainNotVerifiedException";
1214
+ this.$fault = "client";
1215
+ Object.setPrototypeOf(this, MailFromDomainNotVerifiedException.prototype);
1216
+ }
1217
+ }
1218
+ exports.MailFromDomainNotVerifiedException = MailFromDomainNotVerifiedException;
786
1219
  var Message;
787
1220
  (function (Message) {
788
1221
  Message.filterSensitiveLog = (obj) => ({
@@ -795,6 +1228,46 @@ var MessageDsn;
795
1228
  ...obj,
796
1229
  });
797
1230
  })(MessageDsn = exports.MessageDsn || (exports.MessageDsn = {}));
1231
+ class MessageRejected extends SESServiceException_1.SESServiceException {
1232
+ constructor(opts) {
1233
+ super({
1234
+ name: "MessageRejected",
1235
+ $fault: "client",
1236
+ ...opts,
1237
+ });
1238
+ this.name = "MessageRejected";
1239
+ this.$fault = "client";
1240
+ Object.setPrototypeOf(this, MessageRejected.prototype);
1241
+ }
1242
+ }
1243
+ exports.MessageRejected = MessageRejected;
1244
+ class MissingRenderingAttributeException extends SESServiceException_1.SESServiceException {
1245
+ constructor(opts) {
1246
+ super({
1247
+ name: "MissingRenderingAttributeException",
1248
+ $fault: "client",
1249
+ ...opts,
1250
+ });
1251
+ this.name = "MissingRenderingAttributeException";
1252
+ this.$fault = "client";
1253
+ Object.setPrototypeOf(this, MissingRenderingAttributeException.prototype);
1254
+ this.TemplateName = opts.TemplateName;
1255
+ }
1256
+ }
1257
+ exports.MissingRenderingAttributeException = MissingRenderingAttributeException;
1258
+ class ProductionAccessNotGrantedException extends SESServiceException_1.SESServiceException {
1259
+ constructor(opts) {
1260
+ super({
1261
+ name: "ProductionAccessNotGrantedException",
1262
+ $fault: "client",
1263
+ ...opts,
1264
+ });
1265
+ this.name = "ProductionAccessNotGrantedException";
1266
+ this.$fault = "client";
1267
+ Object.setPrototypeOf(this, ProductionAccessNotGrantedException.prototype);
1268
+ }
1269
+ }
1270
+ exports.ProductionAccessNotGrantedException = ProductionAccessNotGrantedException;
798
1271
  var PutConfigurationSetDeliveryOptionsRequest;
799
1272
  (function (PutConfigurationSetDeliveryOptionsRequest) {
800
1273
  PutConfigurationSetDeliveryOptionsRequest.filterSensitiveLog = (obj) => ({