@aws-sdk/client-pinpoint-email 3.1148.0 → 3.1150.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 +12 -1
- package/dist-es/models/PinpointEmailServiceException.js +1 -0
- package/dist-es/models/errors.js +10 -0
- package/dist-types/models/PinpointEmailServiceException.d.ts +1 -0
- package/dist-types/models/errors.d.ts +10 -0
- package/dist-types/ts3.4/models/PinpointEmailServiceException.d.ts +1 -0
- package/dist-types/ts3.4/models/errors.d.ts +10 -0
- package/package.json +4 -4
package/dist-cjs/index.js
CHANGED
|
@@ -69,7 +69,7 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1149.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -132,6 +132,7 @@ const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
|
132
132
|
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
133
133
|
|
|
134
134
|
class PinpointEmailServiceException extends ServiceException {
|
|
135
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.pinpointemail#PinpointEmailServiceException";
|
|
135
136
|
constructor(options) {
|
|
136
137
|
super(options);
|
|
137
138
|
Object.setPrototypeOf(this, PinpointEmailServiceException.prototype);
|
|
@@ -139,6 +140,7 @@ class PinpointEmailServiceException extends ServiceException {
|
|
|
139
140
|
}
|
|
140
141
|
|
|
141
142
|
class AccountSuspendedException extends PinpointEmailServiceException {
|
|
143
|
+
static shapeId = "com.amazonaws.pinpointemail#AccountSuspendedException";
|
|
142
144
|
name = "AccountSuspendedException";
|
|
143
145
|
$fault = "client";
|
|
144
146
|
constructor(opts) {
|
|
@@ -151,6 +153,7 @@ class AccountSuspendedException extends PinpointEmailServiceException {
|
|
|
151
153
|
}
|
|
152
154
|
}
|
|
153
155
|
class AlreadyExistsException extends PinpointEmailServiceException {
|
|
156
|
+
static shapeId = "com.amazonaws.pinpointemail#AlreadyExistsException";
|
|
154
157
|
name = "AlreadyExistsException";
|
|
155
158
|
$fault = "client";
|
|
156
159
|
constructor(opts) {
|
|
@@ -163,6 +166,7 @@ class AlreadyExistsException extends PinpointEmailServiceException {
|
|
|
163
166
|
}
|
|
164
167
|
}
|
|
165
168
|
class BadRequestException extends PinpointEmailServiceException {
|
|
169
|
+
static shapeId = "com.amazonaws.pinpointemail#BadRequestException";
|
|
166
170
|
name = "BadRequestException";
|
|
167
171
|
$fault = "client";
|
|
168
172
|
constructor(opts) {
|
|
@@ -175,6 +179,7 @@ class BadRequestException extends PinpointEmailServiceException {
|
|
|
175
179
|
}
|
|
176
180
|
}
|
|
177
181
|
class ConcurrentModificationException extends PinpointEmailServiceException {
|
|
182
|
+
static shapeId = "com.amazonaws.pinpointemail#ConcurrentModificationException";
|
|
178
183
|
name = "ConcurrentModificationException";
|
|
179
184
|
$fault = "server";
|
|
180
185
|
constructor(opts) {
|
|
@@ -187,6 +192,7 @@ class ConcurrentModificationException extends PinpointEmailServiceException {
|
|
|
187
192
|
}
|
|
188
193
|
}
|
|
189
194
|
class LimitExceededException extends PinpointEmailServiceException {
|
|
195
|
+
static shapeId = "com.amazonaws.pinpointemail#LimitExceededException";
|
|
190
196
|
name = "LimitExceededException";
|
|
191
197
|
$fault = "client";
|
|
192
198
|
constructor(opts) {
|
|
@@ -199,6 +205,7 @@ class LimitExceededException extends PinpointEmailServiceException {
|
|
|
199
205
|
}
|
|
200
206
|
}
|
|
201
207
|
class NotFoundException extends PinpointEmailServiceException {
|
|
208
|
+
static shapeId = "com.amazonaws.pinpointemail#NotFoundException";
|
|
202
209
|
name = "NotFoundException";
|
|
203
210
|
$fault = "client";
|
|
204
211
|
constructor(opts) {
|
|
@@ -211,6 +218,7 @@ class NotFoundException extends PinpointEmailServiceException {
|
|
|
211
218
|
}
|
|
212
219
|
}
|
|
213
220
|
class TooManyRequestsException extends PinpointEmailServiceException {
|
|
221
|
+
static shapeId = "com.amazonaws.pinpointemail#TooManyRequestsException";
|
|
214
222
|
name = "TooManyRequestsException";
|
|
215
223
|
$fault = "client";
|
|
216
224
|
constructor(opts) {
|
|
@@ -223,6 +231,7 @@ class TooManyRequestsException extends PinpointEmailServiceException {
|
|
|
223
231
|
}
|
|
224
232
|
}
|
|
225
233
|
class MailFromDomainNotVerifiedException extends PinpointEmailServiceException {
|
|
234
|
+
static shapeId = "com.amazonaws.pinpointemail#MailFromDomainNotVerifiedException";
|
|
226
235
|
name = "MailFromDomainNotVerifiedException";
|
|
227
236
|
$fault = "client";
|
|
228
237
|
constructor(opts) {
|
|
@@ -235,6 +244,7 @@ class MailFromDomainNotVerifiedException extends PinpointEmailServiceException {
|
|
|
235
244
|
}
|
|
236
245
|
}
|
|
237
246
|
class MessageRejected extends PinpointEmailServiceException {
|
|
247
|
+
static shapeId = "com.amazonaws.pinpointemail#MessageRejected";
|
|
238
248
|
name = "MessageRejected";
|
|
239
249
|
$fault = "client";
|
|
240
250
|
constructor(opts) {
|
|
@@ -247,6 +257,7 @@ class MessageRejected extends PinpointEmailServiceException {
|
|
|
247
257
|
}
|
|
248
258
|
}
|
|
249
259
|
class SendingPausedException extends PinpointEmailServiceException {
|
|
260
|
+
static shapeId = "com.amazonaws.pinpointemail#SendingPausedException";
|
|
250
261
|
name = "SendingPausedException";
|
|
251
262
|
$fault = "client";
|
|
252
263
|
constructor(opts) {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, } from "@smithy/core/client";
|
|
2
2
|
export { __ServiceException };
|
|
3
3
|
export class PinpointEmailServiceException extends __ServiceException {
|
|
4
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.pinpointemail#PinpointEmailServiceException";
|
|
4
5
|
constructor(options) {
|
|
5
6
|
super(options);
|
|
6
7
|
Object.setPrototypeOf(this, PinpointEmailServiceException.prototype);
|
package/dist-es/models/errors.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { PinpointEmailServiceException as __BaseException } from "./PinpointEmailServiceException";
|
|
2
2
|
export class AccountSuspendedException extends __BaseException {
|
|
3
|
+
static shapeId = "com.amazonaws.pinpointemail#AccountSuspendedException";
|
|
3
4
|
name = "AccountSuspendedException";
|
|
4
5
|
$fault = "client";
|
|
5
6
|
constructor(opts) {
|
|
@@ -12,6 +13,7 @@ export class AccountSuspendedException extends __BaseException {
|
|
|
12
13
|
}
|
|
13
14
|
}
|
|
14
15
|
export class AlreadyExistsException extends __BaseException {
|
|
16
|
+
static shapeId = "com.amazonaws.pinpointemail#AlreadyExistsException";
|
|
15
17
|
name = "AlreadyExistsException";
|
|
16
18
|
$fault = "client";
|
|
17
19
|
constructor(opts) {
|
|
@@ -24,6 +26,7 @@ export class AlreadyExistsException extends __BaseException {
|
|
|
24
26
|
}
|
|
25
27
|
}
|
|
26
28
|
export class BadRequestException extends __BaseException {
|
|
29
|
+
static shapeId = "com.amazonaws.pinpointemail#BadRequestException";
|
|
27
30
|
name = "BadRequestException";
|
|
28
31
|
$fault = "client";
|
|
29
32
|
constructor(opts) {
|
|
@@ -36,6 +39,7 @@ export class BadRequestException extends __BaseException {
|
|
|
36
39
|
}
|
|
37
40
|
}
|
|
38
41
|
export class ConcurrentModificationException extends __BaseException {
|
|
42
|
+
static shapeId = "com.amazonaws.pinpointemail#ConcurrentModificationException";
|
|
39
43
|
name = "ConcurrentModificationException";
|
|
40
44
|
$fault = "server";
|
|
41
45
|
constructor(opts) {
|
|
@@ -48,6 +52,7 @@ export class ConcurrentModificationException extends __BaseException {
|
|
|
48
52
|
}
|
|
49
53
|
}
|
|
50
54
|
export class LimitExceededException extends __BaseException {
|
|
55
|
+
static shapeId = "com.amazonaws.pinpointemail#LimitExceededException";
|
|
51
56
|
name = "LimitExceededException";
|
|
52
57
|
$fault = "client";
|
|
53
58
|
constructor(opts) {
|
|
@@ -60,6 +65,7 @@ export class LimitExceededException extends __BaseException {
|
|
|
60
65
|
}
|
|
61
66
|
}
|
|
62
67
|
export class NotFoundException extends __BaseException {
|
|
68
|
+
static shapeId = "com.amazonaws.pinpointemail#NotFoundException";
|
|
63
69
|
name = "NotFoundException";
|
|
64
70
|
$fault = "client";
|
|
65
71
|
constructor(opts) {
|
|
@@ -72,6 +78,7 @@ export class NotFoundException extends __BaseException {
|
|
|
72
78
|
}
|
|
73
79
|
}
|
|
74
80
|
export class TooManyRequestsException extends __BaseException {
|
|
81
|
+
static shapeId = "com.amazonaws.pinpointemail#TooManyRequestsException";
|
|
75
82
|
name = "TooManyRequestsException";
|
|
76
83
|
$fault = "client";
|
|
77
84
|
constructor(opts) {
|
|
@@ -84,6 +91,7 @@ export class TooManyRequestsException extends __BaseException {
|
|
|
84
91
|
}
|
|
85
92
|
}
|
|
86
93
|
export class MailFromDomainNotVerifiedException extends __BaseException {
|
|
94
|
+
static shapeId = "com.amazonaws.pinpointemail#MailFromDomainNotVerifiedException";
|
|
87
95
|
name = "MailFromDomainNotVerifiedException";
|
|
88
96
|
$fault = "client";
|
|
89
97
|
constructor(opts) {
|
|
@@ -96,6 +104,7 @@ export class MailFromDomainNotVerifiedException extends __BaseException {
|
|
|
96
104
|
}
|
|
97
105
|
}
|
|
98
106
|
export class MessageRejected extends __BaseException {
|
|
107
|
+
static shapeId = "com.amazonaws.pinpointemail#MessageRejected";
|
|
99
108
|
name = "MessageRejected";
|
|
100
109
|
$fault = "client";
|
|
101
110
|
constructor(opts) {
|
|
@@ -108,6 +117,7 @@ export class MessageRejected extends __BaseException {
|
|
|
108
117
|
}
|
|
109
118
|
}
|
|
110
119
|
export class SendingPausedException extends __BaseException {
|
|
120
|
+
static shapeId = "com.amazonaws.pinpointemail#SendingPausedException";
|
|
111
121
|
name = "SendingPausedException";
|
|
112
122
|
$fault = "client";
|
|
113
123
|
constructor(opts) {
|
|
@@ -6,6 +6,7 @@ import { PinpointEmailServiceException as __BaseException } from "./PinpointEmai
|
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
8
8
|
export declare class AccountSuspendedException extends __BaseException {
|
|
9
|
+
static readonly shapeId: string;
|
|
9
10
|
readonly name: "AccountSuspendedException";
|
|
10
11
|
readonly $fault: "client";
|
|
11
12
|
/**
|
|
@@ -18,6 +19,7 @@ export declare class AccountSuspendedException extends __BaseException {
|
|
|
18
19
|
* @public
|
|
19
20
|
*/
|
|
20
21
|
export declare class AlreadyExistsException extends __BaseException {
|
|
22
|
+
static readonly shapeId: string;
|
|
21
23
|
readonly name: "AlreadyExistsException";
|
|
22
24
|
readonly $fault: "client";
|
|
23
25
|
/**
|
|
@@ -30,6 +32,7 @@ export declare class AlreadyExistsException extends __BaseException {
|
|
|
30
32
|
* @public
|
|
31
33
|
*/
|
|
32
34
|
export declare class BadRequestException extends __BaseException {
|
|
35
|
+
static readonly shapeId: string;
|
|
33
36
|
readonly name: "BadRequestException";
|
|
34
37
|
readonly $fault: "client";
|
|
35
38
|
/**
|
|
@@ -42,6 +45,7 @@ export declare class BadRequestException extends __BaseException {
|
|
|
42
45
|
* @public
|
|
43
46
|
*/
|
|
44
47
|
export declare class ConcurrentModificationException extends __BaseException {
|
|
48
|
+
static readonly shapeId: string;
|
|
45
49
|
readonly name: "ConcurrentModificationException";
|
|
46
50
|
readonly $fault: "server";
|
|
47
51
|
/**
|
|
@@ -54,6 +58,7 @@ export declare class ConcurrentModificationException extends __BaseException {
|
|
|
54
58
|
* @public
|
|
55
59
|
*/
|
|
56
60
|
export declare class LimitExceededException extends __BaseException {
|
|
61
|
+
static readonly shapeId: string;
|
|
57
62
|
readonly name: "LimitExceededException";
|
|
58
63
|
readonly $fault: "client";
|
|
59
64
|
/**
|
|
@@ -66,6 +71,7 @@ export declare class LimitExceededException extends __BaseException {
|
|
|
66
71
|
* @public
|
|
67
72
|
*/
|
|
68
73
|
export declare class NotFoundException extends __BaseException {
|
|
74
|
+
static readonly shapeId: string;
|
|
69
75
|
readonly name: "NotFoundException";
|
|
70
76
|
readonly $fault: "client";
|
|
71
77
|
/**
|
|
@@ -78,6 +84,7 @@ export declare class NotFoundException extends __BaseException {
|
|
|
78
84
|
* @public
|
|
79
85
|
*/
|
|
80
86
|
export declare class TooManyRequestsException extends __BaseException {
|
|
87
|
+
static readonly shapeId: string;
|
|
81
88
|
readonly name: "TooManyRequestsException";
|
|
82
89
|
readonly $fault: "client";
|
|
83
90
|
/**
|
|
@@ -90,6 +97,7 @@ export declare class TooManyRequestsException extends __BaseException {
|
|
|
90
97
|
* @public
|
|
91
98
|
*/
|
|
92
99
|
export declare class MailFromDomainNotVerifiedException extends __BaseException {
|
|
100
|
+
static readonly shapeId: string;
|
|
93
101
|
readonly name: "MailFromDomainNotVerifiedException";
|
|
94
102
|
readonly $fault: "client";
|
|
95
103
|
/**
|
|
@@ -102,6 +110,7 @@ export declare class MailFromDomainNotVerifiedException extends __BaseException
|
|
|
102
110
|
* @public
|
|
103
111
|
*/
|
|
104
112
|
export declare class MessageRejected extends __BaseException {
|
|
113
|
+
static readonly shapeId: string;
|
|
105
114
|
readonly name: "MessageRejected";
|
|
106
115
|
readonly $fault: "client";
|
|
107
116
|
/**
|
|
@@ -115,6 +124,7 @@ export declare class MessageRejected extends __BaseException {
|
|
|
115
124
|
* @public
|
|
116
125
|
*/
|
|
117
126
|
export declare class SendingPausedException extends __BaseException {
|
|
127
|
+
static readonly shapeId: string;
|
|
118
128
|
readonly name: "SendingPausedException";
|
|
119
129
|
readonly $fault: "client";
|
|
120
130
|
/**
|
|
@@ -1,51 +1,61 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
|
|
2
2
|
import { PinpointEmailServiceException as __BaseException } from "./PinpointEmailServiceException";
|
|
3
3
|
export declare class AccountSuspendedException extends __BaseException {
|
|
4
|
+
static readonly shapeId: string;
|
|
4
5
|
readonly name: "AccountSuspendedException";
|
|
5
6
|
readonly $fault: "client";
|
|
6
7
|
constructor(opts: __ExceptionOptionType<AccountSuspendedException, __BaseException>);
|
|
7
8
|
}
|
|
8
9
|
export declare class AlreadyExistsException extends __BaseException {
|
|
10
|
+
static readonly shapeId: string;
|
|
9
11
|
readonly name: "AlreadyExistsException";
|
|
10
12
|
readonly $fault: "client";
|
|
11
13
|
constructor(opts: __ExceptionOptionType<AlreadyExistsException, __BaseException>);
|
|
12
14
|
}
|
|
13
15
|
export declare class BadRequestException extends __BaseException {
|
|
16
|
+
static readonly shapeId: string;
|
|
14
17
|
readonly name: "BadRequestException";
|
|
15
18
|
readonly $fault: "client";
|
|
16
19
|
constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
|
|
17
20
|
}
|
|
18
21
|
export declare class ConcurrentModificationException extends __BaseException {
|
|
22
|
+
static readonly shapeId: string;
|
|
19
23
|
readonly name: "ConcurrentModificationException";
|
|
20
24
|
readonly $fault: "server";
|
|
21
25
|
constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
|
|
22
26
|
}
|
|
23
27
|
export declare class LimitExceededException extends __BaseException {
|
|
28
|
+
static readonly shapeId: string;
|
|
24
29
|
readonly name: "LimitExceededException";
|
|
25
30
|
readonly $fault: "client";
|
|
26
31
|
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
27
32
|
}
|
|
28
33
|
export declare class NotFoundException extends __BaseException {
|
|
34
|
+
static readonly shapeId: string;
|
|
29
35
|
readonly name: "NotFoundException";
|
|
30
36
|
readonly $fault: "client";
|
|
31
37
|
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
32
38
|
}
|
|
33
39
|
export declare class TooManyRequestsException extends __BaseException {
|
|
40
|
+
static readonly shapeId: string;
|
|
34
41
|
readonly name: "TooManyRequestsException";
|
|
35
42
|
readonly $fault: "client";
|
|
36
43
|
constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
|
|
37
44
|
}
|
|
38
45
|
export declare class MailFromDomainNotVerifiedException extends __BaseException {
|
|
46
|
+
static readonly shapeId: string;
|
|
39
47
|
readonly name: "MailFromDomainNotVerifiedException";
|
|
40
48
|
readonly $fault: "client";
|
|
41
49
|
constructor(opts: __ExceptionOptionType<MailFromDomainNotVerifiedException, __BaseException>);
|
|
42
50
|
}
|
|
43
51
|
export declare class MessageRejected extends __BaseException {
|
|
52
|
+
static readonly shapeId: string;
|
|
44
53
|
readonly name: "MessageRejected";
|
|
45
54
|
readonly $fault: "client";
|
|
46
55
|
constructor(opts: __ExceptionOptionType<MessageRejected, __BaseException>);
|
|
47
56
|
}
|
|
48
57
|
export declare class SendingPausedException extends __BaseException {
|
|
58
|
+
static readonly shapeId: string;
|
|
49
59
|
readonly name: "SendingPausedException";
|
|
50
60
|
readonly $fault: "client";
|
|
51
61
|
constructor(opts: __ExceptionOptionType<SendingPausedException, __BaseException>);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-pinpoint-email",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1150.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Pinpoint Email Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-pinpoint-email",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -46,10 +46,10 @@
|
|
|
46
46
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@aws-sdk/core": "^3.978.
|
|
50
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
49
|
+
"@aws-sdk/core": "^3.978.3",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.86",
|
|
51
51
|
"@aws-sdk/types": "^3.974.6",
|
|
52
|
-
"@smithy/core": "^3.35.
|
|
52
|
+
"@smithy/core": "^3.35.2",
|
|
53
53
|
"@smithy/fetch-http-handler": "^5.8.0",
|
|
54
54
|
"@smithy/node-http-handler": "^4.12.1",
|
|
55
55
|
"@smithy/types": "^4.19.0",
|