@aws-sdk/client-sesv2 3.52.0 → 3.53.0

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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** generate service exceptions as classes ([#3267](https://github.com/aws/aws-sdk-js-v3/issues/3267)) ([ca64fee](https://github.com/aws/aws-sdk-js-v3/commit/ca64feed3351c394c07dc26b782a5760a396a074))
12
+
13
+
14
+
15
+
16
+
6
17
  # [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
7
18
 
8
19
  **Note:** Version bump only for package @aws-sdk/client-sesv2
package/dist-cjs/index.js CHANGED
@@ -1,8 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SESv2ServiceException = void 0;
3
4
  const tslib_1 = require("tslib");
4
5
  tslib_1.__exportStar(require("./SESv2"), exports);
5
6
  tslib_1.__exportStar(require("./SESv2Client"), exports);
6
7
  tslib_1.__exportStar(require("./commands"), exports);
7
8
  tslib_1.__exportStar(require("./models"), exports);
8
9
  tslib_1.__exportStar(require("./pagination"), exports);
10
+ var SESv2ServiceException_1 = require("./models/SESv2ServiceException");
11
+ Object.defineProperty(exports, "SESv2ServiceException", { enumerable: true, get: function () { return SESv2ServiceException_1.SESv2ServiceException; } });
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SESv2ServiceException = void 0;
4
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
5
+ class SESv2ServiceException extends smithy_client_1.ServiceException {
6
+ constructor(options) {
7
+ super(options);
8
+ Object.setPrototypeOf(this, SESv2ServiceException.prototype);
9
+ }
10
+ }
11
+ exports.SESv2ServiceException = SESv2ServiceException;
@@ -1,11 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreateCustomVerificationEmailTemplateRequest = exports.CreateContactListResponse = exports.CreateContactListRequest = exports.Topic = exports.CreateContactResponse = exports.CreateContactRequest = exports.CreateConfigurationSetEventDestinationResponse = exports.CreateConfigurationSetEventDestinationRequest = exports.EventDestinationDefinition = exports.SnsDestination = exports.PinpointDestination = exports.EventType = exports.KinesisFirehoseDestination = exports.CreateConfigurationSetResponse = exports.CreateConfigurationSetRequest = exports.TrackingOptions = exports.Tag = exports.SuppressionOptions = exports.SuppressionListReason = exports.SendingOptions = exports.ReputationOptions = exports.DeliveryOptions = exports.TlsPolicy = exports.ContactListDestination = exports.ContactListImportAction = exports.ContactList = exports.Contact = exports.TopicPreference = exports.SubscriptionStatus = exports.CloudWatchDestination = exports.CloudWatchDimensionConfiguration = exports.DimensionValueSource = exports.BulkEmailEntryResult = exports.BulkEmailStatus = exports.BulkEmailEntry = exports.MessageTag = exports.ReplacementEmailContent = exports.ReplacementTemplate = exports.Destination = exports.BulkEmailContent = exports.Template = exports.Body = exports.Content = exports.BlacklistEntry = exports.BehaviorOnMxFailure = exports.AccountDetails = exports.ReviewDetails = exports.ReviewStatus = exports.MailType = exports.ContactLanguage = void 0;
4
- exports.DeleteEmailIdentityPolicyRequest = exports.DeleteEmailIdentityResponse = exports.DeleteEmailIdentityRequest = exports.DeleteDedicatedIpPoolResponse = exports.DeleteDedicatedIpPoolRequest = exports.DeleteCustomVerificationEmailTemplateResponse = exports.DeleteCustomVerificationEmailTemplateRequest = exports.DeleteContactListResponse = exports.DeleteContactListRequest = exports.DeleteContactResponse = exports.DeleteContactRequest = exports.DeleteConfigurationSetEventDestinationResponse = exports.DeleteConfigurationSetEventDestinationRequest = exports.DeleteConfigurationSetResponse = exports.DeleteConfigurationSetRequest = exports.DedicatedIp = exports.WarmupStatus = exports.DailyVolume = exports.VolumeStatistics = exports.DomainIspPlacement = exports.CustomVerificationEmailTemplateMetadata = exports.CreateImportJobResponse = exports.CreateImportJobRequest = exports.ImportDestination = exports.SuppressionListDestination = exports.SuppressionListImportAction = exports.ImportDataSource = exports.DataFormat = exports.CreateEmailTemplateResponse = exports.CreateEmailTemplateRequest = exports.EmailTemplateContent = exports.CreateEmailIdentityPolicyResponse = exports.CreateEmailIdentityPolicyRequest = exports.CreateEmailIdentityResponse = exports.IdentityType = exports.DkimAttributes = exports.DkimStatus = exports.DkimSigningAttributesOrigin = exports.CreateEmailIdentityRequest = exports.DkimSigningAttributes = exports.DkimSigningKeyLength = exports.CreateDeliverabilityTestReportResponse = exports.DeliverabilityTestStatus = exports.CreateDeliverabilityTestReportRequest = exports.EmailContent = exports.Message = exports.RawMessage = exports.CreateDedicatedIpPoolResponse = exports.CreateDedicatedIpPoolRequest = exports.CreateCustomVerificationEmailTemplateResponse = void 0;
5
- exports.GetEmailIdentityPoliciesResponse = exports.GetEmailIdentityPoliciesRequest = exports.GetEmailIdentityResponse = exports.MailFromAttributes = exports.MailFromDomainStatus = exports.GetEmailIdentityRequest = exports.GetDomainStatisticsReportResponse = exports.OverallVolume = exports.GetDomainStatisticsReportRequest = exports.GetDomainDeliverabilityCampaignResponse = exports.GetDomainDeliverabilityCampaignRequest = exports.GetDeliverabilityTestReportResponse = exports.IspPlacement = exports.PlacementStatistics = exports.GetDeliverabilityTestReportRequest = exports.GetDeliverabilityDashboardOptionsResponse = exports.GetDeliverabilityDashboardOptionsRequest = exports.GetDedicatedIpsResponse = exports.GetDedicatedIpsRequest = exports.GetDedicatedIpResponse = exports.GetDedicatedIpRequest = exports.GetCustomVerificationEmailTemplateResponse = exports.GetCustomVerificationEmailTemplateRequest = exports.GetContactListResponse = exports.GetContactListRequest = exports.GetContactResponse = exports.GetContactRequest = exports.GetConfigurationSetEventDestinationsResponse = exports.GetConfigurationSetEventDestinationsRequest = exports.GetConfigurationSetResponse = exports.GetConfigurationSetRequest = exports.GetBlacklistReportsResponse = exports.GetBlacklistReportsRequest = exports.GetAccountResponse = exports.SuppressionAttributes = exports.SendQuota = exports.GetAccountRequest = exports.FailureInfo = exports.EventDestination = exports.EmailTemplateMetadata = exports.DomainDeliverabilityTrackingOption = exports.InboxPlacementTrackingOption = exports.DomainDeliverabilityCampaign = exports.DeliverabilityTestReport = exports.DeliverabilityDashboardAccountStatus = exports.DeleteSuppressedDestinationResponse = exports.DeleteSuppressedDestinationRequest = exports.DeleteEmailTemplateResponse = exports.DeleteEmailTemplateRequest = exports.DeleteEmailIdentityPolicyResponse = void 0;
6
- exports.PutConfigurationSetDeliveryOptionsResponse = exports.PutConfigurationSetDeliveryOptionsRequest = exports.PutAccountSuppressionAttributesResponse = exports.PutAccountSuppressionAttributesRequest = exports.PutAccountSendingAttributesResponse = exports.PutAccountSendingAttributesRequest = exports.PutAccountDetailsResponse = exports.PutAccountDetailsRequest = exports.PutAccountDedicatedIpWarmupAttributesResponse = exports.PutAccountDedicatedIpWarmupAttributesRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListSuppressedDestinationsResponse = exports.SuppressedDestinationSummary = exports.ListSuppressedDestinationsRequest = exports.ListManagementOptions = exports.ListImportJobsResponse = exports.ListImportJobsRequest = exports.ListEmailTemplatesResponse = exports.ListEmailTemplatesRequest = exports.ListEmailIdentitiesResponse = exports.ListEmailIdentitiesRequest = exports.ListDomainDeliverabilityCampaignsResponse = exports.ListDomainDeliverabilityCampaignsRequest = exports.ListDeliverabilityTestReportsResponse = exports.ListDeliverabilityTestReportsRequest = exports.ListDedicatedIpPoolsResponse = exports.ListDedicatedIpPoolsRequest = exports.ListCustomVerificationEmailTemplatesResponse = exports.ListCustomVerificationEmailTemplatesRequest = exports.ListContactsResponse = exports.ListContactsRequest = exports.ListContactsFilter = exports.TopicFilter = exports.ListContactListsResponse = exports.ListContactListsRequest = exports.ListConfigurationSetsResponse = exports.ListConfigurationSetsRequest = exports.ImportJobSummary = exports.ImportDestinationType = exports.IdentityInfo = exports.GetSuppressedDestinationResponse = exports.SuppressedDestination = exports.SuppressedDestinationAttributes = exports.GetSuppressedDestinationRequest = exports.GetImportJobResponse = exports.JobStatus = exports.GetImportJobRequest = exports.GetEmailTemplateResponse = exports.GetEmailTemplateRequest = void 0;
7
- exports.UpdateEmailTemplateResponse = exports.UpdateEmailTemplateRequest = exports.UpdateEmailIdentityPolicyResponse = exports.UpdateEmailIdentityPolicyRequest = exports.UpdateCustomVerificationEmailTemplateResponse = exports.UpdateCustomVerificationEmailTemplateRequest = exports.UpdateContactListResponse = exports.UpdateContactListRequest = exports.UpdateContactResponse = exports.UpdateContactRequest = exports.UpdateConfigurationSetEventDestinationResponse = exports.UpdateConfigurationSetEventDestinationRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TestRenderEmailTemplateResponse = exports.TestRenderEmailTemplateRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.SendEmailResponse = exports.SendEmailRequest = exports.SendCustomVerificationEmailResponse = exports.SendCustomVerificationEmailRequest = exports.SendBulkEmailResponse = exports.SendBulkEmailRequest = exports.PutSuppressedDestinationResponse = exports.PutSuppressedDestinationRequest = exports.PutEmailIdentityMailFromAttributesResponse = exports.PutEmailIdentityMailFromAttributesRequest = exports.PutEmailIdentityFeedbackAttributesResponse = exports.PutEmailIdentityFeedbackAttributesRequest = exports.PutEmailIdentityDkimSigningAttributesResponse = exports.PutEmailIdentityDkimSigningAttributesRequest = exports.PutEmailIdentityDkimAttributesResponse = exports.PutEmailIdentityDkimAttributesRequest = exports.PutEmailIdentityConfigurationSetAttributesResponse = exports.PutEmailIdentityConfigurationSetAttributesRequest = exports.PutDeliverabilityDashboardOptionResponse = exports.PutDeliverabilityDashboardOptionRequest = exports.PutDedicatedIpWarmupAttributesResponse = exports.PutDedicatedIpWarmupAttributesRequest = exports.PutDedicatedIpInPoolResponse = exports.PutDedicatedIpInPoolRequest = exports.PutConfigurationSetTrackingOptionsResponse = exports.PutConfigurationSetTrackingOptionsRequest = exports.PutConfigurationSetSuppressionOptionsResponse = exports.PutConfigurationSetSuppressionOptionsRequest = exports.PutConfigurationSetSendingOptionsResponse = exports.PutConfigurationSetSendingOptionsRequest = exports.PutConfigurationSetReputationOptionsResponse = exports.PutConfigurationSetReputationOptionsRequest = void 0;
3
+ exports.EventDestinationDefinition = exports.SnsDestination = exports.PinpointDestination = exports.EventType = exports.KinesisFirehoseDestination = exports.TooManyRequestsException = exports.NotFoundException = exports.LimitExceededException = exports.CreateConfigurationSetResponse = exports.CreateConfigurationSetRequest = exports.TrackingOptions = exports.Tag = exports.SuppressionOptions = exports.SuppressionListReason = exports.SendingOptions = exports.ReputationOptions = exports.DeliveryOptions = exports.TlsPolicy = exports.ContactListDestination = exports.ContactListImportAction = exports.ContactList = exports.Contact = exports.TopicPreference = exports.SubscriptionStatus = exports.ConflictException = exports.ConcurrentModificationException = exports.CloudWatchDestination = exports.CloudWatchDimensionConfiguration = exports.DimensionValueSource = exports.BulkEmailEntryResult = exports.BulkEmailStatus = exports.BulkEmailEntry = exports.MessageTag = exports.ReplacementEmailContent = exports.ReplacementTemplate = exports.Destination = exports.BulkEmailContent = exports.Template = exports.Body = exports.Content = exports.BlacklistEntry = exports.BehaviorOnMxFailure = exports.BadRequestException = exports.AlreadyExistsException = exports.AccountSuspendedException = exports.AccountDetails = exports.ReviewDetails = exports.ReviewStatus = exports.MailType = exports.ContactLanguage = void 0;
4
+ exports.DeleteConfigurationSetEventDestinationResponse = exports.DeleteConfigurationSetEventDestinationRequest = exports.DeleteConfigurationSetResponse = exports.DeleteConfigurationSetRequest = exports.DedicatedIp = exports.WarmupStatus = exports.DailyVolume = exports.VolumeStatistics = exports.DomainIspPlacement = exports.CustomVerificationEmailTemplateMetadata = exports.CreateImportJobResponse = exports.CreateImportJobRequest = exports.ImportDestination = exports.SuppressionListDestination = exports.SuppressionListImportAction = exports.ImportDataSource = exports.DataFormat = exports.CreateEmailTemplateResponse = exports.CreateEmailTemplateRequest = exports.EmailTemplateContent = exports.CreateEmailIdentityPolicyResponse = exports.CreateEmailIdentityPolicyRequest = exports.CreateEmailIdentityResponse = exports.IdentityType = exports.DkimAttributes = exports.DkimStatus = exports.DkimSigningAttributesOrigin = exports.CreateEmailIdentityRequest = exports.DkimSigningAttributes = exports.DkimSigningKeyLength = exports.SendingPausedException = exports.MessageRejected = exports.MailFromDomainNotVerifiedException = exports.CreateDeliverabilityTestReportResponse = exports.DeliverabilityTestStatus = exports.CreateDeliverabilityTestReportRequest = exports.EmailContent = exports.Message = exports.RawMessage = exports.CreateDedicatedIpPoolResponse = exports.CreateDedicatedIpPoolRequest = exports.CreateCustomVerificationEmailTemplateResponse = exports.CreateCustomVerificationEmailTemplateRequest = exports.CreateContactListResponse = exports.CreateContactListRequest = exports.Topic = exports.CreateContactResponse = exports.CreateContactRequest = exports.CreateConfigurationSetEventDestinationResponse = exports.CreateConfigurationSetEventDestinationRequest = void 0;
5
+ exports.GetDeliverabilityTestReportResponse = exports.IspPlacement = exports.PlacementStatistics = exports.GetDeliverabilityTestReportRequest = exports.GetDeliverabilityDashboardOptionsResponse = exports.GetDeliverabilityDashboardOptionsRequest = exports.GetDedicatedIpsResponse = exports.GetDedicatedIpsRequest = exports.GetDedicatedIpResponse = exports.GetDedicatedIpRequest = exports.GetCustomVerificationEmailTemplateResponse = exports.GetCustomVerificationEmailTemplateRequest = exports.GetContactListResponse = exports.GetContactListRequest = exports.GetContactResponse = exports.GetContactRequest = exports.GetConfigurationSetEventDestinationsResponse = exports.GetConfigurationSetEventDestinationsRequest = exports.GetConfigurationSetResponse = exports.GetConfigurationSetRequest = exports.GetBlacklistReportsResponse = exports.GetBlacklistReportsRequest = exports.GetAccountResponse = exports.SuppressionAttributes = exports.SendQuota = exports.GetAccountRequest = exports.FailureInfo = exports.EventDestination = exports.EmailTemplateMetadata = exports.DomainDeliverabilityTrackingOption = exports.InboxPlacementTrackingOption = exports.DomainDeliverabilityCampaign = exports.DeliverabilityTestReport = exports.DeliverabilityDashboardAccountStatus = exports.DeleteSuppressedDestinationResponse = exports.DeleteSuppressedDestinationRequest = exports.DeleteEmailTemplateResponse = exports.DeleteEmailTemplateRequest = exports.DeleteEmailIdentityPolicyResponse = exports.DeleteEmailIdentityPolicyRequest = exports.DeleteEmailIdentityResponse = exports.DeleteEmailIdentityRequest = exports.DeleteDedicatedIpPoolResponse = exports.DeleteDedicatedIpPoolRequest = exports.DeleteCustomVerificationEmailTemplateResponse = exports.DeleteCustomVerificationEmailTemplateRequest = exports.DeleteContactListResponse = exports.DeleteContactListRequest = exports.DeleteContactResponse = exports.DeleteContactRequest = void 0;
6
+ exports.ListSuppressedDestinationsResponse = exports.SuppressedDestinationSummary = exports.ListSuppressedDestinationsRequest = exports.ListManagementOptions = exports.ListImportJobsResponse = exports.ListImportJobsRequest = exports.ListEmailTemplatesResponse = exports.ListEmailTemplatesRequest = exports.ListEmailIdentitiesResponse = exports.ListEmailIdentitiesRequest = exports.ListDomainDeliverabilityCampaignsResponse = exports.ListDomainDeliverabilityCampaignsRequest = exports.ListDeliverabilityTestReportsResponse = exports.ListDeliverabilityTestReportsRequest = exports.ListDedicatedIpPoolsResponse = exports.ListDedicatedIpPoolsRequest = exports.ListCustomVerificationEmailTemplatesResponse = exports.ListCustomVerificationEmailTemplatesRequest = exports.ListContactsResponse = exports.ListContactsRequest = exports.ListContactsFilter = exports.TopicFilter = exports.ListContactListsResponse = exports.ListContactListsRequest = exports.ListConfigurationSetsResponse = exports.ListConfigurationSetsRequest = exports.InvalidNextTokenException = exports.ImportJobSummary = exports.ImportDestinationType = exports.IdentityInfo = exports.GetSuppressedDestinationResponse = exports.SuppressedDestination = exports.SuppressedDestinationAttributes = exports.GetSuppressedDestinationRequest = exports.GetImportJobResponse = exports.JobStatus = exports.GetImportJobRequest = exports.GetEmailTemplateResponse = exports.GetEmailTemplateRequest = exports.GetEmailIdentityPoliciesResponse = exports.GetEmailIdentityPoliciesRequest = exports.GetEmailIdentityResponse = exports.MailFromAttributes = exports.MailFromDomainStatus = exports.GetEmailIdentityRequest = exports.GetDomainStatisticsReportResponse = exports.OverallVolume = exports.GetDomainStatisticsReportRequest = exports.GetDomainDeliverabilityCampaignResponse = exports.GetDomainDeliverabilityCampaignRequest = void 0;
7
+ exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TestRenderEmailTemplateResponse = exports.TestRenderEmailTemplateRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.SendEmailResponse = exports.SendEmailRequest = exports.SendCustomVerificationEmailResponse = exports.SendCustomVerificationEmailRequest = exports.SendBulkEmailResponse = exports.SendBulkEmailRequest = exports.PutSuppressedDestinationResponse = exports.PutSuppressedDestinationRequest = exports.PutEmailIdentityMailFromAttributesResponse = exports.PutEmailIdentityMailFromAttributesRequest = exports.PutEmailIdentityFeedbackAttributesResponse = exports.PutEmailIdentityFeedbackAttributesRequest = exports.PutEmailIdentityDkimSigningAttributesResponse = exports.PutEmailIdentityDkimSigningAttributesRequest = exports.PutEmailIdentityDkimAttributesResponse = exports.PutEmailIdentityDkimAttributesRequest = exports.PutEmailIdentityConfigurationSetAttributesResponse = exports.PutEmailIdentityConfigurationSetAttributesRequest = exports.PutDeliverabilityDashboardOptionResponse = exports.PutDeliverabilityDashboardOptionRequest = exports.PutDedicatedIpWarmupAttributesResponse = exports.PutDedicatedIpWarmupAttributesRequest = exports.PutDedicatedIpInPoolResponse = exports.PutDedicatedIpInPoolRequest = exports.PutConfigurationSetTrackingOptionsResponse = exports.PutConfigurationSetTrackingOptionsRequest = exports.PutConfigurationSetSuppressionOptionsResponse = exports.PutConfigurationSetSuppressionOptionsRequest = exports.PutConfigurationSetSendingOptionsResponse = exports.PutConfigurationSetSendingOptionsRequest = exports.PutConfigurationSetReputationOptionsResponse = exports.PutConfigurationSetReputationOptionsRequest = exports.PutConfigurationSetDeliveryOptionsResponse = exports.PutConfigurationSetDeliveryOptionsRequest = exports.PutAccountSuppressionAttributesResponse = exports.PutAccountSuppressionAttributesRequest = exports.PutAccountSendingAttributesResponse = exports.PutAccountSendingAttributesRequest = exports.PutAccountDetailsResponse = exports.PutAccountDetailsRequest = exports.PutAccountDedicatedIpWarmupAttributesResponse = exports.PutAccountDedicatedIpWarmupAttributesRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = void 0;
8
+ exports.UpdateEmailTemplateResponse = exports.UpdateEmailTemplateRequest = exports.UpdateEmailIdentityPolicyResponse = exports.UpdateEmailIdentityPolicyRequest = exports.UpdateCustomVerificationEmailTemplateResponse = exports.UpdateCustomVerificationEmailTemplateRequest = exports.UpdateContactListResponse = exports.UpdateContactListRequest = exports.UpdateContactResponse = exports.UpdateContactRequest = exports.UpdateConfigurationSetEventDestinationResponse = exports.UpdateConfigurationSetEventDestinationRequest = void 0;
8
9
  const smithy_client_1 = require("@aws-sdk/smithy-client");
10
+ const SESv2ServiceException_1 = require("./SESv2ServiceException");
9
11
  var ContactLanguage;
10
12
  (function (ContactLanguage) {
11
13
  ContactLanguage["EN"] = "EN";
@@ -38,6 +40,45 @@ var AccountDetails;
38
40
  ...(obj.AdditionalContactEmailAddresses && { AdditionalContactEmailAddresses: smithy_client_1.SENSITIVE_STRING }),
39
41
  });
40
42
  })(AccountDetails = exports.AccountDetails || (exports.AccountDetails = {}));
43
+ class AccountSuspendedException extends SESv2ServiceException_1.SESv2ServiceException {
44
+ constructor(opts) {
45
+ super({
46
+ name: "AccountSuspendedException",
47
+ $fault: "client",
48
+ ...opts,
49
+ });
50
+ this.name = "AccountSuspendedException";
51
+ this.$fault = "client";
52
+ Object.setPrototypeOf(this, AccountSuspendedException.prototype);
53
+ }
54
+ }
55
+ exports.AccountSuspendedException = AccountSuspendedException;
56
+ class AlreadyExistsException extends SESv2ServiceException_1.SESv2ServiceException {
57
+ constructor(opts) {
58
+ super({
59
+ name: "AlreadyExistsException",
60
+ $fault: "client",
61
+ ...opts,
62
+ });
63
+ this.name = "AlreadyExistsException";
64
+ this.$fault = "client";
65
+ Object.setPrototypeOf(this, AlreadyExistsException.prototype);
66
+ }
67
+ }
68
+ exports.AlreadyExistsException = AlreadyExistsException;
69
+ class BadRequestException extends SESv2ServiceException_1.SESv2ServiceException {
70
+ constructor(opts) {
71
+ super({
72
+ name: "BadRequestException",
73
+ $fault: "client",
74
+ ...opts,
75
+ });
76
+ this.name = "BadRequestException";
77
+ this.$fault = "client";
78
+ Object.setPrototypeOf(this, BadRequestException.prototype);
79
+ }
80
+ }
81
+ exports.BadRequestException = BadRequestException;
41
82
  var BehaviorOnMxFailure;
42
83
  (function (BehaviorOnMxFailure) {
43
84
  BehaviorOnMxFailure["REJECT_MESSAGE"] = "REJECT_MESSAGE";
@@ -144,6 +185,32 @@ var CloudWatchDestination;
144
185
  ...obj,
145
186
  });
146
187
  })(CloudWatchDestination = exports.CloudWatchDestination || (exports.CloudWatchDestination = {}));
188
+ class ConcurrentModificationException extends SESv2ServiceException_1.SESv2ServiceException {
189
+ constructor(opts) {
190
+ super({
191
+ name: "ConcurrentModificationException",
192
+ $fault: "server",
193
+ ...opts,
194
+ });
195
+ this.name = "ConcurrentModificationException";
196
+ this.$fault = "server";
197
+ Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
198
+ }
199
+ }
200
+ exports.ConcurrentModificationException = ConcurrentModificationException;
201
+ class ConflictException extends SESv2ServiceException_1.SESv2ServiceException {
202
+ constructor(opts) {
203
+ super({
204
+ name: "ConflictException",
205
+ $fault: "client",
206
+ ...opts,
207
+ });
208
+ this.name = "ConflictException";
209
+ this.$fault = "client";
210
+ Object.setPrototypeOf(this, ConflictException.prototype);
211
+ }
212
+ }
213
+ exports.ConflictException = ConflictException;
147
214
  var SubscriptionStatus;
148
215
  (function (SubscriptionStatus) {
149
216
  SubscriptionStatus["OPT_IN"] = "OPT_IN";
@@ -236,6 +303,45 @@ var CreateConfigurationSetResponse;
236
303
  ...obj,
237
304
  });
238
305
  })(CreateConfigurationSetResponse = exports.CreateConfigurationSetResponse || (exports.CreateConfigurationSetResponse = {}));
306
+ class LimitExceededException extends SESv2ServiceException_1.SESv2ServiceException {
307
+ constructor(opts) {
308
+ super({
309
+ name: "LimitExceededException",
310
+ $fault: "client",
311
+ ...opts,
312
+ });
313
+ this.name = "LimitExceededException";
314
+ this.$fault = "client";
315
+ Object.setPrototypeOf(this, LimitExceededException.prototype);
316
+ }
317
+ }
318
+ exports.LimitExceededException = LimitExceededException;
319
+ class NotFoundException extends SESv2ServiceException_1.SESv2ServiceException {
320
+ constructor(opts) {
321
+ super({
322
+ name: "NotFoundException",
323
+ $fault: "client",
324
+ ...opts,
325
+ });
326
+ this.name = "NotFoundException";
327
+ this.$fault = "client";
328
+ Object.setPrototypeOf(this, NotFoundException.prototype);
329
+ }
330
+ }
331
+ exports.NotFoundException = NotFoundException;
332
+ class TooManyRequestsException extends SESv2ServiceException_1.SESv2ServiceException {
333
+ constructor(opts) {
334
+ super({
335
+ name: "TooManyRequestsException",
336
+ $fault: "client",
337
+ ...opts,
338
+ });
339
+ this.name = "TooManyRequestsException";
340
+ this.$fault = "client";
341
+ Object.setPrototypeOf(this, TooManyRequestsException.prototype);
342
+ }
343
+ }
344
+ exports.TooManyRequestsException = TooManyRequestsException;
239
345
  var KinesisFirehoseDestination;
240
346
  (function (KinesisFirehoseDestination) {
241
347
  KinesisFirehoseDestination.filterSensitiveLog = (obj) => ({
@@ -374,6 +480,45 @@ var CreateDeliverabilityTestReportResponse;
374
480
  ...obj,
375
481
  });
376
482
  })(CreateDeliverabilityTestReportResponse = exports.CreateDeliverabilityTestReportResponse || (exports.CreateDeliverabilityTestReportResponse = {}));
483
+ class MailFromDomainNotVerifiedException extends SESv2ServiceException_1.SESv2ServiceException {
484
+ constructor(opts) {
485
+ super({
486
+ name: "MailFromDomainNotVerifiedException",
487
+ $fault: "client",
488
+ ...opts,
489
+ });
490
+ this.name = "MailFromDomainNotVerifiedException";
491
+ this.$fault = "client";
492
+ Object.setPrototypeOf(this, MailFromDomainNotVerifiedException.prototype);
493
+ }
494
+ }
495
+ exports.MailFromDomainNotVerifiedException = MailFromDomainNotVerifiedException;
496
+ class MessageRejected extends SESv2ServiceException_1.SESv2ServiceException {
497
+ constructor(opts) {
498
+ super({
499
+ name: "MessageRejected",
500
+ $fault: "client",
501
+ ...opts,
502
+ });
503
+ this.name = "MessageRejected";
504
+ this.$fault = "client";
505
+ Object.setPrototypeOf(this, MessageRejected.prototype);
506
+ }
507
+ }
508
+ exports.MessageRejected = MessageRejected;
509
+ class SendingPausedException extends SESv2ServiceException_1.SESv2ServiceException {
510
+ constructor(opts) {
511
+ super({
512
+ name: "SendingPausedException",
513
+ $fault: "client",
514
+ ...opts,
515
+ });
516
+ this.name = "SendingPausedException";
517
+ this.$fault = "client";
518
+ Object.setPrototypeOf(this, SendingPausedException.prototype);
519
+ }
520
+ }
521
+ exports.SendingPausedException = SendingPausedException;
377
522
  var DkimSigningKeyLength;
378
523
  (function (DkimSigningKeyLength) {
379
524
  DkimSigningKeyLength["RSA_1024_BIT"] = "RSA_1024_BIT";
@@ -995,6 +1140,19 @@ var ImportJobSummary;
995
1140
  ...obj,
996
1141
  });
997
1142
  })(ImportJobSummary = exports.ImportJobSummary || (exports.ImportJobSummary = {}));
1143
+ class InvalidNextTokenException extends SESv2ServiceException_1.SESv2ServiceException {
1144
+ constructor(opts) {
1145
+ super({
1146
+ name: "InvalidNextTokenException",
1147
+ $fault: "client",
1148
+ ...opts,
1149
+ });
1150
+ this.name = "InvalidNextTokenException";
1151
+ this.$fault = "client";
1152
+ Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
1153
+ }
1154
+ }
1155
+ exports.InvalidNextTokenException = InvalidNextTokenException;
998
1156
  var ListConfigurationSetsRequest;
999
1157
  (function (ListConfigurationSetsRequest) {
1000
1158
  ListConfigurationSetsRequest.filterSensitiveLog = (obj) => ({