@aws-sdk/client-ses 3.934.0 → 3.936.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.
@@ -6,5 +6,7 @@ export { SESExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
8
  export * from "./waiters";
9
- export * from "./models";
9
+ export * from "./models/enums";
10
+ export * from "./models/errors";
11
+ export * from "./models/models_0";
10
12
  export { SESServiceException } from "./models/SESServiceException";
@@ -0,0 +1,123 @@
1
+ export declare const BehaviorOnMXFailure: {
2
+ readonly RejectMessage: "RejectMessage";
3
+ readonly UseDefaultValue: "UseDefaultValue";
4
+ };
5
+ export type BehaviorOnMXFailure =
6
+ (typeof BehaviorOnMXFailure)[keyof typeof BehaviorOnMXFailure];
7
+ export declare const BounceType: {
8
+ readonly ContentRejected: "ContentRejected";
9
+ readonly DoesNotExist: "DoesNotExist";
10
+ readonly ExceededQuota: "ExceededQuota";
11
+ readonly MessageTooLarge: "MessageTooLarge";
12
+ readonly TemporaryFailure: "TemporaryFailure";
13
+ readonly Undefined: "Undefined";
14
+ };
15
+ export type BounceType = (typeof BounceType)[keyof typeof BounceType];
16
+ export declare const DsnAction: {
17
+ readonly DELAYED: "delayed";
18
+ readonly DELIVERED: "delivered";
19
+ readonly EXPANDED: "expanded";
20
+ readonly FAILED: "failed";
21
+ readonly RELAYED: "relayed";
22
+ };
23
+ export type DsnAction = (typeof DsnAction)[keyof typeof DsnAction];
24
+ export declare const BulkEmailStatus: {
25
+ readonly AccountDailyQuotaExceeded: "AccountDailyQuotaExceeded";
26
+ readonly AccountSendingPaused: "AccountSendingPaused";
27
+ readonly AccountSuspended: "AccountSuspended";
28
+ readonly AccountThrottled: "AccountThrottled";
29
+ readonly ConfigurationSetDoesNotExist: "ConfigurationSetDoesNotExist";
30
+ readonly ConfigurationSetSendingPaused: "ConfigurationSetSendingPaused";
31
+ readonly Failed: "Failed";
32
+ readonly InvalidParameterValue: "InvalidParameterValue";
33
+ readonly InvalidSendingPoolName: "InvalidSendingPoolName";
34
+ readonly MailFromDomainNotVerified: "MailFromDomainNotVerified";
35
+ readonly MessageRejected: "MessageRejected";
36
+ readonly Success: "Success";
37
+ readonly TemplateDoesNotExist: "TemplateDoesNotExist";
38
+ readonly TransientFailure: "TransientFailure";
39
+ };
40
+ export type BulkEmailStatus =
41
+ (typeof BulkEmailStatus)[keyof typeof BulkEmailStatus];
42
+ export declare const DimensionValueSource: {
43
+ readonly EMAIL_HEADER: "emailHeader";
44
+ readonly LINK_TAG: "linkTag";
45
+ readonly MESSAGE_TAG: "messageTag";
46
+ };
47
+ export type DimensionValueSource =
48
+ (typeof DimensionValueSource)[keyof typeof DimensionValueSource];
49
+ export declare const ConfigurationSetAttribute: {
50
+ readonly DELIVERY_OPTIONS: "deliveryOptions";
51
+ readonly EVENT_DESTINATIONS: "eventDestinations";
52
+ readonly REPUTATION_OPTIONS: "reputationOptions";
53
+ readonly TRACKING_OPTIONS: "trackingOptions";
54
+ };
55
+ export type ConfigurationSetAttribute =
56
+ (typeof ConfigurationSetAttribute)[keyof typeof ConfigurationSetAttribute];
57
+ export declare const EventType: {
58
+ readonly BOUNCE: "bounce";
59
+ readonly CLICK: "click";
60
+ readonly COMPLAINT: "complaint";
61
+ readonly DELIVERY: "delivery";
62
+ readonly OPEN: "open";
63
+ readonly REJECT: "reject";
64
+ readonly RENDERING_FAILURE: "renderingFailure";
65
+ readonly SEND: "send";
66
+ };
67
+ export type EventType = (typeof EventType)[keyof typeof EventType];
68
+ export declare const ReceiptFilterPolicy: {
69
+ readonly Allow: "Allow";
70
+ readonly Block: "Block";
71
+ };
72
+ export type ReceiptFilterPolicy =
73
+ (typeof ReceiptFilterPolicy)[keyof typeof ReceiptFilterPolicy];
74
+ export declare const InvocationType: {
75
+ readonly Event: "Event";
76
+ readonly RequestResponse: "RequestResponse";
77
+ };
78
+ export type InvocationType =
79
+ (typeof InvocationType)[keyof typeof InvocationType];
80
+ export declare const SNSActionEncoding: {
81
+ readonly Base64: "Base64";
82
+ readonly UTF8: "UTF-8";
83
+ };
84
+ export type SNSActionEncoding =
85
+ (typeof SNSActionEncoding)[keyof typeof SNSActionEncoding];
86
+ export declare const StopScope: {
87
+ readonly RULE_SET: "RuleSet";
88
+ };
89
+ export type StopScope = (typeof StopScope)[keyof typeof StopScope];
90
+ export declare const TlsPolicy: {
91
+ readonly Optional: "Optional";
92
+ readonly Require: "Require";
93
+ };
94
+ export type TlsPolicy = (typeof TlsPolicy)[keyof typeof TlsPolicy];
95
+ export declare const CustomMailFromStatus: {
96
+ readonly Failed: "Failed";
97
+ readonly Pending: "Pending";
98
+ readonly Success: "Success";
99
+ readonly TemporaryFailure: "TemporaryFailure";
100
+ };
101
+ export type CustomMailFromStatus =
102
+ (typeof CustomMailFromStatus)[keyof typeof CustomMailFromStatus];
103
+ export declare const VerificationStatus: {
104
+ readonly Failed: "Failed";
105
+ readonly NotStarted: "NotStarted";
106
+ readonly Pending: "Pending";
107
+ readonly Success: "Success";
108
+ readonly TemporaryFailure: "TemporaryFailure";
109
+ };
110
+ export type VerificationStatus =
111
+ (typeof VerificationStatus)[keyof typeof VerificationStatus];
112
+ export declare const IdentityType: {
113
+ readonly Domain: "Domain";
114
+ readonly EmailAddress: "EmailAddress";
115
+ };
116
+ export type IdentityType = (typeof IdentityType)[keyof typeof IdentityType];
117
+ export declare const NotificationType: {
118
+ readonly Bounce: "Bounce";
119
+ readonly Complaint: "Complaint";
120
+ readonly Delivery: "Delivery";
121
+ };
122
+ export type NotificationType =
123
+ (typeof NotificationType)[keyof typeof NotificationType];
@@ -0,0 +1,330 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { SESServiceException as __BaseException } from "./SESServiceException";
3
+ export declare class AccountSendingPausedException extends __BaseException {
4
+ readonly name: "AccountSendingPausedException";
5
+ readonly $fault: "client";
6
+ constructor(
7
+ opts: __ExceptionOptionType<AccountSendingPausedException, __BaseException>
8
+ );
9
+ }
10
+ export declare class AlreadyExistsException extends __BaseException {
11
+ readonly name: "AlreadyExistsException";
12
+ readonly $fault: "client";
13
+ Name?: string | undefined;
14
+ constructor(
15
+ opts: __ExceptionOptionType<AlreadyExistsException, __BaseException>
16
+ );
17
+ }
18
+ export declare class CannotDeleteException extends __BaseException {
19
+ readonly name: "CannotDeleteException";
20
+ readonly $fault: "client";
21
+ Name?: string | undefined;
22
+ constructor(
23
+ opts: __ExceptionOptionType<CannotDeleteException, __BaseException>
24
+ );
25
+ }
26
+ export declare class LimitExceededException extends __BaseException {
27
+ readonly name: "LimitExceededException";
28
+ readonly $fault: "client";
29
+ constructor(
30
+ opts: __ExceptionOptionType<LimitExceededException, __BaseException>
31
+ );
32
+ }
33
+ export declare class RuleSetDoesNotExistException extends __BaseException {
34
+ readonly name: "RuleSetDoesNotExistException";
35
+ readonly $fault: "client";
36
+ Name?: string | undefined;
37
+ constructor(
38
+ opts: __ExceptionOptionType<RuleSetDoesNotExistException, __BaseException>
39
+ );
40
+ }
41
+ export declare class ConfigurationSetAlreadyExistsException extends __BaseException {
42
+ readonly name: "ConfigurationSetAlreadyExistsException";
43
+ readonly $fault: "client";
44
+ ConfigurationSetName?: string | undefined;
45
+ constructor(
46
+ opts: __ExceptionOptionType<
47
+ ConfigurationSetAlreadyExistsException,
48
+ __BaseException
49
+ >
50
+ );
51
+ }
52
+ export declare class ConfigurationSetDoesNotExistException extends __BaseException {
53
+ readonly name: "ConfigurationSetDoesNotExistException";
54
+ readonly $fault: "client";
55
+ ConfigurationSetName?: string | undefined;
56
+ constructor(
57
+ opts: __ExceptionOptionType<
58
+ ConfigurationSetDoesNotExistException,
59
+ __BaseException
60
+ >
61
+ );
62
+ }
63
+ export declare class ConfigurationSetSendingPausedException extends __BaseException {
64
+ readonly name: "ConfigurationSetSendingPausedException";
65
+ readonly $fault: "client";
66
+ ConfigurationSetName?: string | undefined;
67
+ constructor(
68
+ opts: __ExceptionOptionType<
69
+ ConfigurationSetSendingPausedException,
70
+ __BaseException
71
+ >
72
+ );
73
+ }
74
+ export declare class InvalidConfigurationSetException extends __BaseException {
75
+ readonly name: "InvalidConfigurationSetException";
76
+ readonly $fault: "client";
77
+ constructor(
78
+ opts: __ExceptionOptionType<
79
+ InvalidConfigurationSetException,
80
+ __BaseException
81
+ >
82
+ );
83
+ }
84
+ export declare class EventDestinationAlreadyExistsException extends __BaseException {
85
+ readonly name: "EventDestinationAlreadyExistsException";
86
+ readonly $fault: "client";
87
+ ConfigurationSetName?: string | undefined;
88
+ EventDestinationName?: string | undefined;
89
+ constructor(
90
+ opts: __ExceptionOptionType<
91
+ EventDestinationAlreadyExistsException,
92
+ __BaseException
93
+ >
94
+ );
95
+ }
96
+ export declare class InvalidCloudWatchDestinationException extends __BaseException {
97
+ readonly name: "InvalidCloudWatchDestinationException";
98
+ readonly $fault: "client";
99
+ ConfigurationSetName?: string | undefined;
100
+ EventDestinationName?: string | undefined;
101
+ constructor(
102
+ opts: __ExceptionOptionType<
103
+ InvalidCloudWatchDestinationException,
104
+ __BaseException
105
+ >
106
+ );
107
+ }
108
+ export declare class InvalidFirehoseDestinationException extends __BaseException {
109
+ readonly name: "InvalidFirehoseDestinationException";
110
+ readonly $fault: "client";
111
+ ConfigurationSetName?: string | undefined;
112
+ EventDestinationName?: string | undefined;
113
+ constructor(
114
+ opts: __ExceptionOptionType<
115
+ InvalidFirehoseDestinationException,
116
+ __BaseException
117
+ >
118
+ );
119
+ }
120
+ export declare class InvalidSNSDestinationException extends __BaseException {
121
+ readonly name: "InvalidSNSDestinationException";
122
+ readonly $fault: "client";
123
+ ConfigurationSetName?: string | undefined;
124
+ EventDestinationName?: string | undefined;
125
+ constructor(
126
+ opts: __ExceptionOptionType<InvalidSNSDestinationException, __BaseException>
127
+ );
128
+ }
129
+ export declare class InvalidTrackingOptionsException extends __BaseException {
130
+ readonly name: "InvalidTrackingOptionsException";
131
+ readonly $fault: "client";
132
+ constructor(
133
+ opts: __ExceptionOptionType<
134
+ InvalidTrackingOptionsException,
135
+ __BaseException
136
+ >
137
+ );
138
+ }
139
+ export declare class TrackingOptionsAlreadyExistsException extends __BaseException {
140
+ readonly name: "TrackingOptionsAlreadyExistsException";
141
+ readonly $fault: "client";
142
+ ConfigurationSetName?: string | undefined;
143
+ constructor(
144
+ opts: __ExceptionOptionType<
145
+ TrackingOptionsAlreadyExistsException,
146
+ __BaseException
147
+ >
148
+ );
149
+ }
150
+ export declare class CustomVerificationEmailInvalidContentException extends __BaseException {
151
+ readonly name: "CustomVerificationEmailInvalidContentException";
152
+ readonly $fault: "client";
153
+ constructor(
154
+ opts: __ExceptionOptionType<
155
+ CustomVerificationEmailInvalidContentException,
156
+ __BaseException
157
+ >
158
+ );
159
+ }
160
+ export declare class CustomVerificationEmailTemplateAlreadyExistsException extends __BaseException {
161
+ readonly name: "CustomVerificationEmailTemplateAlreadyExistsException";
162
+ readonly $fault: "client";
163
+ CustomVerificationEmailTemplateName?: string | undefined;
164
+ constructor(
165
+ opts: __ExceptionOptionType<
166
+ CustomVerificationEmailTemplateAlreadyExistsException,
167
+ __BaseException
168
+ >
169
+ );
170
+ }
171
+ export declare class FromEmailAddressNotVerifiedException extends __BaseException {
172
+ readonly name: "FromEmailAddressNotVerifiedException";
173
+ readonly $fault: "client";
174
+ FromEmailAddress?: string | undefined;
175
+ constructor(
176
+ opts: __ExceptionOptionType<
177
+ FromEmailAddressNotVerifiedException,
178
+ __BaseException
179
+ >
180
+ );
181
+ }
182
+ export declare class InvalidLambdaFunctionException extends __BaseException {
183
+ readonly name: "InvalidLambdaFunctionException";
184
+ readonly $fault: "client";
185
+ FunctionArn?: string | undefined;
186
+ constructor(
187
+ opts: __ExceptionOptionType<InvalidLambdaFunctionException, __BaseException>
188
+ );
189
+ }
190
+ export declare class InvalidS3ConfigurationException extends __BaseException {
191
+ readonly name: "InvalidS3ConfigurationException";
192
+ readonly $fault: "client";
193
+ Bucket?: string | undefined;
194
+ constructor(
195
+ opts: __ExceptionOptionType<
196
+ InvalidS3ConfigurationException,
197
+ __BaseException
198
+ >
199
+ );
200
+ }
201
+ export declare class InvalidSnsTopicException extends __BaseException {
202
+ readonly name: "InvalidSnsTopicException";
203
+ readonly $fault: "client";
204
+ Topic?: string | undefined;
205
+ constructor(
206
+ opts: __ExceptionOptionType<InvalidSnsTopicException, __BaseException>
207
+ );
208
+ }
209
+ export declare class RuleDoesNotExistException extends __BaseException {
210
+ readonly name: "RuleDoesNotExistException";
211
+ readonly $fault: "client";
212
+ Name?: string | undefined;
213
+ constructor(
214
+ opts: __ExceptionOptionType<RuleDoesNotExistException, __BaseException>
215
+ );
216
+ }
217
+ export declare class InvalidTemplateException extends __BaseException {
218
+ readonly name: "InvalidTemplateException";
219
+ readonly $fault: "client";
220
+ TemplateName?: string | undefined;
221
+ constructor(
222
+ opts: __ExceptionOptionType<InvalidTemplateException, __BaseException>
223
+ );
224
+ }
225
+ export declare class CustomVerificationEmailTemplateDoesNotExistException extends __BaseException {
226
+ readonly name: "CustomVerificationEmailTemplateDoesNotExistException";
227
+ readonly $fault: "client";
228
+ CustomVerificationEmailTemplateName?: string | undefined;
229
+ constructor(
230
+ opts: __ExceptionOptionType<
231
+ CustomVerificationEmailTemplateDoesNotExistException,
232
+ __BaseException
233
+ >
234
+ );
235
+ }
236
+ export declare class EventDestinationDoesNotExistException extends __BaseException {
237
+ readonly name: "EventDestinationDoesNotExistException";
238
+ readonly $fault: "client";
239
+ ConfigurationSetName?: string | undefined;
240
+ EventDestinationName?: string | undefined;
241
+ constructor(
242
+ opts: __ExceptionOptionType<
243
+ EventDestinationDoesNotExistException,
244
+ __BaseException
245
+ >
246
+ );
247
+ }
248
+ export declare class TrackingOptionsDoesNotExistException extends __BaseException {
249
+ readonly name: "TrackingOptionsDoesNotExistException";
250
+ readonly $fault: "client";
251
+ ConfigurationSetName?: string | undefined;
252
+ constructor(
253
+ opts: __ExceptionOptionType<
254
+ TrackingOptionsDoesNotExistException,
255
+ __BaseException
256
+ >
257
+ );
258
+ }
259
+ export declare class TemplateDoesNotExistException extends __BaseException {
260
+ readonly name: "TemplateDoesNotExistException";
261
+ readonly $fault: "client";
262
+ TemplateName?: string | undefined;
263
+ constructor(
264
+ opts: __ExceptionOptionType<TemplateDoesNotExistException, __BaseException>
265
+ );
266
+ }
267
+ export declare class InvalidDeliveryOptionsException extends __BaseException {
268
+ readonly name: "InvalidDeliveryOptionsException";
269
+ readonly $fault: "client";
270
+ constructor(
271
+ opts: __ExceptionOptionType<
272
+ InvalidDeliveryOptionsException,
273
+ __BaseException
274
+ >
275
+ );
276
+ }
277
+ export declare class InvalidPolicyException extends __BaseException {
278
+ readonly name: "InvalidPolicyException";
279
+ readonly $fault: "client";
280
+ constructor(
281
+ opts: __ExceptionOptionType<InvalidPolicyException, __BaseException>
282
+ );
283
+ }
284
+ export declare class InvalidRenderingParameterException extends __BaseException {
285
+ readonly name: "InvalidRenderingParameterException";
286
+ readonly $fault: "client";
287
+ TemplateName?: string | undefined;
288
+ constructor(
289
+ opts: __ExceptionOptionType<
290
+ InvalidRenderingParameterException,
291
+ __BaseException
292
+ >
293
+ );
294
+ }
295
+ export declare class MailFromDomainNotVerifiedException extends __BaseException {
296
+ readonly name: "MailFromDomainNotVerifiedException";
297
+ readonly $fault: "client";
298
+ constructor(
299
+ opts: __ExceptionOptionType<
300
+ MailFromDomainNotVerifiedException,
301
+ __BaseException
302
+ >
303
+ );
304
+ }
305
+ export declare class MessageRejected extends __BaseException {
306
+ readonly name: "MessageRejected";
307
+ readonly $fault: "client";
308
+ constructor(opts: __ExceptionOptionType<MessageRejected, __BaseException>);
309
+ }
310
+ export declare class MissingRenderingAttributeException extends __BaseException {
311
+ readonly name: "MissingRenderingAttributeException";
312
+ readonly $fault: "client";
313
+ TemplateName?: string | undefined;
314
+ constructor(
315
+ opts: __ExceptionOptionType<
316
+ MissingRenderingAttributeException,
317
+ __BaseException
318
+ >
319
+ );
320
+ }
321
+ export declare class ProductionAccessNotGrantedException extends __BaseException {
322
+ readonly name: "ProductionAccessNotGrantedException";
323
+ readonly $fault: "client";
324
+ constructor(
325
+ opts: __ExceptionOptionType<
326
+ ProductionAccessNotGrantedException,
327
+ __BaseException
328
+ >
329
+ );
330
+ }