@aws-sdk/client-pinpoint-email 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 +11 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/PinpointEmailServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +134 -3
- package/dist-cjs/protocols/Aws_restJson1.js +414 -1385
- package/dist-es/index.js +1 -0
- package/dist-es/models/PinpointEmailServiceException.js +12 -0
- package/dist-es/models/models_0.js +122 -1
- package/dist-es/protocols/Aws_restJson1.js +877 -1564
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/PinpointEmailServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +72 -41
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/PinpointEmailServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +52 -41
- package/package.json +25 -25
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-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.
|
|
4
|
-
exports.
|
|
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) => ({
|