@aws-sdk/client-pinpoint-email 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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,33 @@
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.54.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.0...v3.54.1) (2022-03-15)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-pinpoint-email
9
+
10
+
11
+
12
+
13
+
14
+ # [3.54.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.53.1...v3.54.0) (2022-03-11)
15
+
16
+ **Note:** Version bump only for package @aws-sdk/client-pinpoint-email
17
+
18
+
19
+
20
+
21
+
22
+ # [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
23
+
24
+
25
+ ### Features
26
+
27
+ * **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))
28
+
29
+
30
+
31
+
32
+
6
33
  # [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
7
34
 
8
35
  **Note:** Version bump only for package @aws-sdk/client-pinpoint-email
package/dist-cjs/index.js CHANGED
@@ -1,8 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PinpointEmailServiceException = void 0;
3
4
  const tslib_1 = require("tslib");
4
5
  tslib_1.__exportStar(require("./PinpointEmail"), exports);
5
6
  tslib_1.__exportStar(require("./PinpointEmailClient"), 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 PinpointEmailServiceException_1 = require("./models/PinpointEmailServiceException");
11
+ Object.defineProperty(exports, "PinpointEmailServiceException", { enumerable: true, get: function () { return PinpointEmailServiceException_1.PinpointEmailServiceException; } });
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PinpointEmailServiceException = void 0;
4
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
5
+ class PinpointEmailServiceException extends smithy_client_1.ServiceException {
6
+ constructor(options) {
7
+ super(options);
8
+ Object.setPrototypeOf(this, PinpointEmailServiceException.prototype);
9
+ }
10
+ }
11
+ exports.PinpointEmailServiceException = PinpointEmailServiceException;
@@ -1,8 +1,61 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetConfigurationSetResponse = exports.GetConfigurationSetRequest = exports.GetBlacklistReportsResponse = exports.BlacklistEntry = exports.GetBlacklistReportsRequest = exports.GetAccountResponse = exports.SendQuota = exports.GetAccountRequest = exports.DeleteEmailIdentityResponse = exports.DeleteEmailIdentityRequest = exports.DeleteDedicatedIpPoolResponse = exports.DeleteDedicatedIpPoolRequest = exports.DeleteConfigurationSetEventDestinationResponse = exports.DeleteConfigurationSetEventDestinationRequest = exports.DeleteConfigurationSetResponse = exports.DeleteConfigurationSetRequest = exports.CreateEmailIdentityResponse = exports.IdentityType = exports.DkimAttributes = exports.DkimStatus = exports.CreateEmailIdentityRequest = exports.CreateDeliverabilityTestReportResponse = exports.DeliverabilityTestStatus = exports.CreateDeliverabilityTestReportRequest = exports.EmailContent = exports.Template = exports.Message = exports.Body = exports.Content = exports.RawMessage = exports.CreateDedicatedIpPoolResponse = exports.CreateDedicatedIpPoolRequest = exports.CreateConfigurationSetEventDestinationResponse = exports.CreateConfigurationSetEventDestinationRequest = exports.EventDestinationDefinition = exports.SnsDestination = exports.PinpointDestination = exports.EventType = exports.KinesisFirehoseDestination = exports.CloudWatchDestination = exports.CloudWatchDimensionConfiguration = exports.DimensionValueSource = exports.CreateConfigurationSetResponse = exports.CreateConfigurationSetRequest = exports.TrackingOptions = exports.Tag = exports.SendingOptions = exports.ReputationOptions = exports.DeliveryOptions = exports.TlsPolicy = void 0;
4
- exports.PutAccountSendingAttributesResponse = exports.PutAccountSendingAttributesRequest = exports.PutAccountDedicatedIpWarmupAttributesResponse = exports.PutAccountDedicatedIpWarmupAttributesRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListEmailIdentitiesResponse = exports.IdentityInfo = exports.ListEmailIdentitiesRequest = exports.ListDomainDeliverabilityCampaignsResponse = exports.ListDomainDeliverabilityCampaignsRequest = exports.ListDeliverabilityTestReportsResponse = exports.ListDeliverabilityTestReportsRequest = exports.ListDedicatedIpPoolsResponse = exports.ListDedicatedIpPoolsRequest = exports.ListConfigurationSetsResponse = exports.ListConfigurationSetsRequest = exports.GetEmailIdentityResponse = exports.MailFromAttributes = exports.MailFromDomainStatus = exports.BehaviorOnMxFailure = exports.GetEmailIdentityRequest = exports.GetDomainStatisticsReportResponse = exports.OverallVolume = exports.DailyVolume = exports.VolumeStatistics = exports.DomainIspPlacement = exports.GetDomainStatisticsReportRequest = exports.GetDomainDeliverabilityCampaignResponse = exports.DomainDeliverabilityCampaign = exports.GetDomainDeliverabilityCampaignRequest = exports.GetDeliverabilityTestReportResponse = exports.IspPlacement = exports.PlacementStatistics = exports.DeliverabilityTestReport = exports.GetDeliverabilityTestReportRequest = exports.GetDeliverabilityDashboardOptionsResponse = exports.DomainDeliverabilityTrackingOption = exports.InboxPlacementTrackingOption = exports.DeliverabilityDashboardAccountStatus = exports.GetDeliverabilityDashboardOptionsRequest = exports.GetDedicatedIpsResponse = exports.GetDedicatedIpsRequest = exports.GetDedicatedIpResponse = exports.DedicatedIp = exports.WarmupStatus = exports.GetDedicatedIpRequest = exports.GetConfigurationSetEventDestinationsResponse = exports.EventDestination = exports.GetConfigurationSetEventDestinationsRequest = void 0;
5
- exports.UpdateConfigurationSetEventDestinationResponse = exports.UpdateConfigurationSetEventDestinationRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.SendEmailResponse = exports.SendEmailRequest = exports.MessageTag = exports.Destination = exports.PutEmailIdentityMailFromAttributesResponse = exports.PutEmailIdentityMailFromAttributesRequest = exports.PutEmailIdentityFeedbackAttributesResponse = exports.PutEmailIdentityFeedbackAttributesRequest = exports.PutEmailIdentityDkimAttributesResponse = exports.PutEmailIdentityDkimAttributesRequest = exports.PutDeliverabilityDashboardOptionResponse = exports.PutDeliverabilityDashboardOptionRequest = exports.PutDedicatedIpWarmupAttributesResponse = exports.PutDedicatedIpWarmupAttributesRequest = exports.PutDedicatedIpInPoolResponse = exports.PutDedicatedIpInPoolRequest = exports.PutConfigurationSetTrackingOptionsResponse = exports.PutConfigurationSetTrackingOptionsRequest = exports.PutConfigurationSetSendingOptionsResponse = exports.PutConfigurationSetSendingOptionsRequest = exports.PutConfigurationSetReputationOptionsResponse = exports.PutConfigurationSetReputationOptionsRequest = exports.PutConfigurationSetDeliveryOptionsResponse = exports.PutConfigurationSetDeliveryOptionsRequest = void 0;
3
+ exports.DeleteDedicatedIpPoolResponse = exports.DeleteDedicatedIpPoolRequest = exports.DeleteConfigurationSetEventDestinationResponse = exports.DeleteConfigurationSetEventDestinationRequest = exports.DeleteConfigurationSetResponse = exports.DeleteConfigurationSetRequest = exports.CreateEmailIdentityResponse = exports.IdentityType = exports.DkimAttributes = exports.DkimStatus = exports.CreateEmailIdentityRequest = exports.SendingPausedException = exports.MessageRejected = exports.MailFromDomainNotVerifiedException = exports.CreateDeliverabilityTestReportResponse = exports.DeliverabilityTestStatus = exports.CreateDeliverabilityTestReportRequest = exports.EmailContent = exports.Template = exports.Message = exports.Body = exports.Content = exports.RawMessage = exports.CreateDedicatedIpPoolResponse = exports.CreateDedicatedIpPoolRequest = exports.CreateConfigurationSetEventDestinationResponse = exports.CreateConfigurationSetEventDestinationRequest = exports.EventDestinationDefinition = exports.SnsDestination = exports.PinpointDestination = exports.EventType = exports.KinesisFirehoseDestination = exports.CloudWatchDestination = exports.CloudWatchDimensionConfiguration = exports.DimensionValueSource = exports.TooManyRequestsException = exports.NotFoundException = exports.LimitExceededException = exports.CreateConfigurationSetResponse = exports.CreateConfigurationSetRequest = exports.TrackingOptions = exports.Tag = exports.SendingOptions = exports.ReputationOptions = exports.DeliveryOptions = exports.TlsPolicy = exports.ConcurrentModificationException = exports.BadRequestException = exports.AlreadyExistsException = exports.AccountSuspendedException = void 0;
4
+ exports.ListDomainDeliverabilityCampaignsRequest = exports.ListDeliverabilityTestReportsResponse = exports.ListDeliverabilityTestReportsRequest = exports.ListDedicatedIpPoolsResponse = exports.ListDedicatedIpPoolsRequest = exports.ListConfigurationSetsResponse = exports.ListConfigurationSetsRequest = exports.GetEmailIdentityResponse = exports.MailFromAttributes = exports.MailFromDomainStatus = exports.BehaviorOnMxFailure = exports.GetEmailIdentityRequest = exports.GetDomainStatisticsReportResponse = exports.OverallVolume = exports.DailyVolume = exports.VolumeStatistics = exports.DomainIspPlacement = exports.GetDomainStatisticsReportRequest = exports.GetDomainDeliverabilityCampaignResponse = exports.DomainDeliverabilityCampaign = exports.GetDomainDeliverabilityCampaignRequest = exports.GetDeliverabilityTestReportResponse = exports.IspPlacement = exports.PlacementStatistics = exports.DeliverabilityTestReport = exports.GetDeliverabilityTestReportRequest = exports.GetDeliverabilityDashboardOptionsResponse = exports.DomainDeliverabilityTrackingOption = exports.InboxPlacementTrackingOption = exports.DeliverabilityDashboardAccountStatus = exports.GetDeliverabilityDashboardOptionsRequest = exports.GetDedicatedIpsResponse = exports.GetDedicatedIpsRequest = exports.GetDedicatedIpResponse = exports.DedicatedIp = exports.WarmupStatus = exports.GetDedicatedIpRequest = exports.GetConfigurationSetEventDestinationsResponse = exports.EventDestination = exports.GetConfigurationSetEventDestinationsRequest = exports.GetConfigurationSetResponse = exports.GetConfigurationSetRequest = exports.GetBlacklistReportsResponse = exports.BlacklistEntry = exports.GetBlacklistReportsRequest = exports.GetAccountResponse = exports.SendQuota = exports.GetAccountRequest = exports.DeleteEmailIdentityResponse = exports.DeleteEmailIdentityRequest = void 0;
5
+ exports.UpdateConfigurationSetEventDestinationResponse = exports.UpdateConfigurationSetEventDestinationRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.SendEmailResponse = exports.SendEmailRequest = exports.MessageTag = exports.Destination = exports.PutEmailIdentityMailFromAttributesResponse = exports.PutEmailIdentityMailFromAttributesRequest = exports.PutEmailIdentityFeedbackAttributesResponse = exports.PutEmailIdentityFeedbackAttributesRequest = exports.PutEmailIdentityDkimAttributesResponse = exports.PutEmailIdentityDkimAttributesRequest = exports.PutDeliverabilityDashboardOptionResponse = exports.PutDeliverabilityDashboardOptionRequest = exports.PutDedicatedIpWarmupAttributesResponse = exports.PutDedicatedIpWarmupAttributesRequest = exports.PutDedicatedIpInPoolResponse = exports.PutDedicatedIpInPoolRequest = exports.PutConfigurationSetTrackingOptionsResponse = exports.PutConfigurationSetTrackingOptionsRequest = exports.PutConfigurationSetSendingOptionsResponse = exports.PutConfigurationSetSendingOptionsRequest = exports.PutConfigurationSetReputationOptionsResponse = exports.PutConfigurationSetReputationOptionsRequest = exports.PutConfigurationSetDeliveryOptionsResponse = exports.PutConfigurationSetDeliveryOptionsRequest = exports.PutAccountSendingAttributesResponse = exports.PutAccountSendingAttributesRequest = exports.PutAccountDedicatedIpWarmupAttributesResponse = exports.PutAccountDedicatedIpWarmupAttributesRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListEmailIdentitiesResponse = exports.IdentityInfo = exports.ListEmailIdentitiesRequest = exports.ListDomainDeliverabilityCampaignsResponse = void 0;
6
+ const PinpointEmailServiceException_1 = require("./PinpointEmailServiceException");
7
+ class AccountSuspendedException extends PinpointEmailServiceException_1.PinpointEmailServiceException {
8
+ constructor(opts) {
9
+ super({
10
+ name: "AccountSuspendedException",
11
+ $fault: "client",
12
+ ...opts,
13
+ });
14
+ this.name = "AccountSuspendedException";
15
+ this.$fault = "client";
16
+ Object.setPrototypeOf(this, AccountSuspendedException.prototype);
17
+ }
18
+ }
19
+ exports.AccountSuspendedException = AccountSuspendedException;
20
+ class AlreadyExistsException extends PinpointEmailServiceException_1.PinpointEmailServiceException {
21
+ constructor(opts) {
22
+ super({
23
+ name: "AlreadyExistsException",
24
+ $fault: "client",
25
+ ...opts,
26
+ });
27
+ this.name = "AlreadyExistsException";
28
+ this.$fault = "client";
29
+ Object.setPrototypeOf(this, AlreadyExistsException.prototype);
30
+ }
31
+ }
32
+ exports.AlreadyExistsException = AlreadyExistsException;
33
+ class BadRequestException extends PinpointEmailServiceException_1.PinpointEmailServiceException {
34
+ constructor(opts) {
35
+ super({
36
+ name: "BadRequestException",
37
+ $fault: "client",
38
+ ...opts,
39
+ });
40
+ this.name = "BadRequestException";
41
+ this.$fault = "client";
42
+ Object.setPrototypeOf(this, BadRequestException.prototype);
43
+ }
44
+ }
45
+ exports.BadRequestException = BadRequestException;
46
+ class ConcurrentModificationException extends PinpointEmailServiceException_1.PinpointEmailServiceException {
47
+ constructor(opts) {
48
+ super({
49
+ name: "ConcurrentModificationException",
50
+ $fault: "server",
51
+ ...opts,
52
+ });
53
+ this.name = "ConcurrentModificationException";
54
+ this.$fault = "server";
55
+ Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
56
+ }
57
+ }
58
+ exports.ConcurrentModificationException = ConcurrentModificationException;
6
59
  var TlsPolicy;
7
60
  (function (TlsPolicy) {
8
61
  TlsPolicy["OPTIONAL"] = "OPTIONAL";
@@ -50,6 +103,45 @@ var CreateConfigurationSetResponse;
50
103
  ...obj,
51
104
  });
52
105
  })(CreateConfigurationSetResponse = exports.CreateConfigurationSetResponse || (exports.CreateConfigurationSetResponse = {}));
106
+ class LimitExceededException extends PinpointEmailServiceException_1.PinpointEmailServiceException {
107
+ constructor(opts) {
108
+ super({
109
+ name: "LimitExceededException",
110
+ $fault: "client",
111
+ ...opts,
112
+ });
113
+ this.name = "LimitExceededException";
114
+ this.$fault = "client";
115
+ Object.setPrototypeOf(this, LimitExceededException.prototype);
116
+ }
117
+ }
118
+ exports.LimitExceededException = LimitExceededException;
119
+ class NotFoundException extends PinpointEmailServiceException_1.PinpointEmailServiceException {
120
+ constructor(opts) {
121
+ super({
122
+ name: "NotFoundException",
123
+ $fault: "client",
124
+ ...opts,
125
+ });
126
+ this.name = "NotFoundException";
127
+ this.$fault = "client";
128
+ Object.setPrototypeOf(this, NotFoundException.prototype);
129
+ }
130
+ }
131
+ exports.NotFoundException = NotFoundException;
132
+ class TooManyRequestsException extends PinpointEmailServiceException_1.PinpointEmailServiceException {
133
+ constructor(opts) {
134
+ super({
135
+ name: "TooManyRequestsException",
136
+ $fault: "client",
137
+ ...opts,
138
+ });
139
+ this.name = "TooManyRequestsException";
140
+ this.$fault = "client";
141
+ Object.setPrototypeOf(this, TooManyRequestsException.prototype);
142
+ }
143
+ }
144
+ exports.TooManyRequestsException = TooManyRequestsException;
53
145
  var DimensionValueSource;
54
146
  (function (DimensionValueSource) {
55
147
  DimensionValueSource["EMAIL_HEADER"] = "EMAIL_HEADER";
@@ -180,6 +272,45 @@ var CreateDeliverabilityTestReportResponse;
180
272
  ...obj,
181
273
  });
182
274
  })(CreateDeliverabilityTestReportResponse = exports.CreateDeliverabilityTestReportResponse || (exports.CreateDeliverabilityTestReportResponse = {}));
275
+ class MailFromDomainNotVerifiedException extends PinpointEmailServiceException_1.PinpointEmailServiceException {
276
+ constructor(opts) {
277
+ super({
278
+ name: "MailFromDomainNotVerifiedException",
279
+ $fault: "client",
280
+ ...opts,
281
+ });
282
+ this.name = "MailFromDomainNotVerifiedException";
283
+ this.$fault = "client";
284
+ Object.setPrototypeOf(this, MailFromDomainNotVerifiedException.prototype);
285
+ }
286
+ }
287
+ exports.MailFromDomainNotVerifiedException = MailFromDomainNotVerifiedException;
288
+ class MessageRejected extends PinpointEmailServiceException_1.PinpointEmailServiceException {
289
+ constructor(opts) {
290
+ super({
291
+ name: "MessageRejected",
292
+ $fault: "client",
293
+ ...opts,
294
+ });
295
+ this.name = "MessageRejected";
296
+ this.$fault = "client";
297
+ Object.setPrototypeOf(this, MessageRejected.prototype);
298
+ }
299
+ }
300
+ exports.MessageRejected = MessageRejected;
301
+ class SendingPausedException extends PinpointEmailServiceException_1.PinpointEmailServiceException {
302
+ constructor(opts) {
303
+ super({
304
+ name: "SendingPausedException",
305
+ $fault: "client",
306
+ ...opts,
307
+ });
308
+ this.name = "SendingPausedException";
309
+ this.$fault = "client";
310
+ Object.setPrototypeOf(this, SendingPausedException.prototype);
311
+ }
312
+ }
313
+ exports.SendingPausedException = SendingPausedException;
183
314
  var CreateEmailIdentityRequest;
184
315
  (function (CreateEmailIdentityRequest) {
185
316
  CreateEmailIdentityRequest.filterSensitiveLog = (obj) => ({