@aws-sdk/client-pinpoint-email 3.987.0 → 3.988.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/dist-cjs/index.js +61 -1498
- package/dist-cjs/models/PinpointEmailServiceException.js +12 -0
- package/dist-cjs/models/errors.js +134 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +1168 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +55 -49
- package/dist-types/schemas/schemas_0.d.ts +15 -8
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +10 -8
- package/package.json +13 -13
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PinpointEmailServiceException = exports.__ServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
+
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
6
|
+
class PinpointEmailServiceException extends smithy_client_1.ServiceException {
|
|
7
|
+
constructor(options) {
|
|
8
|
+
super(options);
|
|
9
|
+
Object.setPrototypeOf(this, PinpointEmailServiceException.prototype);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.PinpointEmailServiceException = PinpointEmailServiceException;
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SendingPausedException = exports.MessageRejected = exports.MailFromDomainNotVerifiedException = exports.TooManyRequestsException = exports.NotFoundException = exports.LimitExceededException = exports.ConcurrentModificationException = exports.BadRequestException = exports.AlreadyExistsException = exports.AccountSuspendedException = void 0;
|
|
4
|
+
const PinpointEmailServiceException_1 = require("./PinpointEmailServiceException");
|
|
5
|
+
class AccountSuspendedException extends PinpointEmailServiceException_1.PinpointEmailServiceException {
|
|
6
|
+
name = "AccountSuspendedException";
|
|
7
|
+
$fault = "client";
|
|
8
|
+
constructor(opts) {
|
|
9
|
+
super({
|
|
10
|
+
name: "AccountSuspendedException",
|
|
11
|
+
$fault: "client",
|
|
12
|
+
...opts,
|
|
13
|
+
});
|
|
14
|
+
Object.setPrototypeOf(this, AccountSuspendedException.prototype);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.AccountSuspendedException = AccountSuspendedException;
|
|
18
|
+
class AlreadyExistsException extends PinpointEmailServiceException_1.PinpointEmailServiceException {
|
|
19
|
+
name = "AlreadyExistsException";
|
|
20
|
+
$fault = "client";
|
|
21
|
+
constructor(opts) {
|
|
22
|
+
super({
|
|
23
|
+
name: "AlreadyExistsException",
|
|
24
|
+
$fault: "client",
|
|
25
|
+
...opts,
|
|
26
|
+
});
|
|
27
|
+
Object.setPrototypeOf(this, AlreadyExistsException.prototype);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
exports.AlreadyExistsException = AlreadyExistsException;
|
|
31
|
+
class BadRequestException extends PinpointEmailServiceException_1.PinpointEmailServiceException {
|
|
32
|
+
name = "BadRequestException";
|
|
33
|
+
$fault = "client";
|
|
34
|
+
constructor(opts) {
|
|
35
|
+
super({
|
|
36
|
+
name: "BadRequestException",
|
|
37
|
+
$fault: "client",
|
|
38
|
+
...opts,
|
|
39
|
+
});
|
|
40
|
+
Object.setPrototypeOf(this, BadRequestException.prototype);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
exports.BadRequestException = BadRequestException;
|
|
44
|
+
class ConcurrentModificationException extends PinpointEmailServiceException_1.PinpointEmailServiceException {
|
|
45
|
+
name = "ConcurrentModificationException";
|
|
46
|
+
$fault = "server";
|
|
47
|
+
constructor(opts) {
|
|
48
|
+
super({
|
|
49
|
+
name: "ConcurrentModificationException",
|
|
50
|
+
$fault: "server",
|
|
51
|
+
...opts,
|
|
52
|
+
});
|
|
53
|
+
Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
exports.ConcurrentModificationException = ConcurrentModificationException;
|
|
57
|
+
class LimitExceededException extends PinpointEmailServiceException_1.PinpointEmailServiceException {
|
|
58
|
+
name = "LimitExceededException";
|
|
59
|
+
$fault = "client";
|
|
60
|
+
constructor(opts) {
|
|
61
|
+
super({
|
|
62
|
+
name: "LimitExceededException",
|
|
63
|
+
$fault: "client",
|
|
64
|
+
...opts,
|
|
65
|
+
});
|
|
66
|
+
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
exports.LimitExceededException = LimitExceededException;
|
|
70
|
+
class NotFoundException extends PinpointEmailServiceException_1.PinpointEmailServiceException {
|
|
71
|
+
name = "NotFoundException";
|
|
72
|
+
$fault = "client";
|
|
73
|
+
constructor(opts) {
|
|
74
|
+
super({
|
|
75
|
+
name: "NotFoundException",
|
|
76
|
+
$fault: "client",
|
|
77
|
+
...opts,
|
|
78
|
+
});
|
|
79
|
+
Object.setPrototypeOf(this, NotFoundException.prototype);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
exports.NotFoundException = NotFoundException;
|
|
83
|
+
class TooManyRequestsException extends PinpointEmailServiceException_1.PinpointEmailServiceException {
|
|
84
|
+
name = "TooManyRequestsException";
|
|
85
|
+
$fault = "client";
|
|
86
|
+
constructor(opts) {
|
|
87
|
+
super({
|
|
88
|
+
name: "TooManyRequestsException",
|
|
89
|
+
$fault: "client",
|
|
90
|
+
...opts,
|
|
91
|
+
});
|
|
92
|
+
Object.setPrototypeOf(this, TooManyRequestsException.prototype);
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
exports.TooManyRequestsException = TooManyRequestsException;
|
|
96
|
+
class MailFromDomainNotVerifiedException extends PinpointEmailServiceException_1.PinpointEmailServiceException {
|
|
97
|
+
name = "MailFromDomainNotVerifiedException";
|
|
98
|
+
$fault = "client";
|
|
99
|
+
constructor(opts) {
|
|
100
|
+
super({
|
|
101
|
+
name: "MailFromDomainNotVerifiedException",
|
|
102
|
+
$fault: "client",
|
|
103
|
+
...opts,
|
|
104
|
+
});
|
|
105
|
+
Object.setPrototypeOf(this, MailFromDomainNotVerifiedException.prototype);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
exports.MailFromDomainNotVerifiedException = MailFromDomainNotVerifiedException;
|
|
109
|
+
class MessageRejected extends PinpointEmailServiceException_1.PinpointEmailServiceException {
|
|
110
|
+
name = "MessageRejected";
|
|
111
|
+
$fault = "client";
|
|
112
|
+
constructor(opts) {
|
|
113
|
+
super({
|
|
114
|
+
name: "MessageRejected",
|
|
115
|
+
$fault: "client",
|
|
116
|
+
...opts,
|
|
117
|
+
});
|
|
118
|
+
Object.setPrototypeOf(this, MessageRejected.prototype);
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
exports.MessageRejected = MessageRejected;
|
|
122
|
+
class SendingPausedException extends PinpointEmailServiceException_1.PinpointEmailServiceException {
|
|
123
|
+
name = "SendingPausedException";
|
|
124
|
+
$fault = "client";
|
|
125
|
+
constructor(opts) {
|
|
126
|
+
super({
|
|
127
|
+
name: "SendingPausedException",
|
|
128
|
+
$fault: "client",
|
|
129
|
+
...opts,
|
|
130
|
+
});
|
|
131
|
+
Object.setPrototypeOf(this, SendingPausedException.prototype);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
exports.SendingPausedException = SendingPausedException;
|
|
@@ -9,6 +9,7 @@ const util_base64_1 = require("@smithy/util-base64");
|
|
|
9
9
|
const util_utf8_1 = require("@smithy/util-utf8");
|
|
10
10
|
const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
|
|
11
11
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
12
|
+
const schemas_0_1 = require("./schemas/schemas_0");
|
|
12
13
|
const getRuntimeConfig = (config) => {
|
|
13
14
|
return {
|
|
14
15
|
apiVersion: "2018-07-26",
|
|
@@ -29,6 +30,7 @@ const getRuntimeConfig = (config) => {
|
|
|
29
30
|
protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
|
|
30
31
|
protocolSettings: config?.protocolSettings ?? {
|
|
31
32
|
defaultNamespace: "com.amazonaws.pinpointemail",
|
|
33
|
+
errorTypeRegistries: schemas_0_1.errorTypeRegistries,
|
|
32
34
|
version: "2018-07-26",
|
|
33
35
|
serviceTarget: "AmazonPinpointEmailService",
|
|
34
36
|
},
|