@aws-sdk/client-ses 3.300.0 → 3.303.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.
Files changed (70) hide show
  1. package/dist-cjs/models/models_0.js +77 -89
  2. package/dist-es/models/models_0.js +77 -89
  3. package/dist-types/commands/CloneReceiptRuleSetCommand.d.ts +1 -1
  4. package/dist-types/commands/CreateConfigurationSetCommand.d.ts +2 -2
  5. package/dist-types/commands/CreateConfigurationSetEventDestinationCommand.d.ts +8 -8
  6. package/dist-types/commands/CreateConfigurationSetTrackingOptionsCommand.d.ts +2 -2
  7. package/dist-types/commands/CreateCustomVerificationEmailTemplateCommand.d.ts +1 -1
  8. package/dist-types/commands/CreateReceiptFilterCommand.d.ts +3 -3
  9. package/dist-types/commands/CreateReceiptRuleCommand.d.ts +12 -12
  10. package/dist-types/commands/CreateReceiptRuleSetCommand.d.ts +1 -1
  11. package/dist-types/commands/CreateTemplateCommand.d.ts +2 -2
  12. package/dist-types/commands/DeleteConfigurationSetCommand.d.ts +1 -1
  13. package/dist-types/commands/DeleteConfigurationSetEventDestinationCommand.d.ts +1 -1
  14. package/dist-types/commands/DeleteConfigurationSetTrackingOptionsCommand.d.ts +1 -1
  15. package/dist-types/commands/DeleteCustomVerificationEmailTemplateCommand.d.ts +1 -1
  16. package/dist-types/commands/DeleteIdentityCommand.d.ts +1 -1
  17. package/dist-types/commands/DeleteIdentityPolicyCommand.d.ts +1 -1
  18. package/dist-types/commands/DeleteReceiptFilterCommand.d.ts +1 -1
  19. package/dist-types/commands/DeleteReceiptRuleCommand.d.ts +1 -1
  20. package/dist-types/commands/DeleteReceiptRuleSetCommand.d.ts +1 -1
  21. package/dist-types/commands/DeleteTemplateCommand.d.ts +1 -1
  22. package/dist-types/commands/DeleteVerifiedEmailAddressCommand.d.ts +1 -1
  23. package/dist-types/commands/DescribeConfigurationSetCommand.d.ts +2 -2
  24. package/dist-types/commands/DescribeReceiptRuleCommand.d.ts +1 -1
  25. package/dist-types/commands/DescribeReceiptRuleSetCommand.d.ts +1 -1
  26. package/dist-types/commands/GetCustomVerificationEmailTemplateCommand.d.ts +1 -1
  27. package/dist-types/commands/GetIdentityDkimAttributesCommand.d.ts +2 -2
  28. package/dist-types/commands/GetIdentityMailFromDomainAttributesCommand.d.ts +2 -2
  29. package/dist-types/commands/GetIdentityNotificationAttributesCommand.d.ts +2 -2
  30. package/dist-types/commands/GetIdentityPoliciesCommand.d.ts +2 -2
  31. package/dist-types/commands/GetIdentityVerificationAttributesCommand.d.ts +2 -2
  32. package/dist-types/commands/GetTemplateCommand.d.ts +1 -1
  33. package/dist-types/commands/ListConfigurationSetsCommand.d.ts +1 -1
  34. package/dist-types/commands/ListCustomVerificationEmailTemplatesCommand.d.ts +1 -1
  35. package/dist-types/commands/ListIdentitiesCommand.d.ts +1 -1
  36. package/dist-types/commands/ListIdentityPoliciesCommand.d.ts +1 -1
  37. package/dist-types/commands/ListReceiptRuleSetsCommand.d.ts +1 -1
  38. package/dist-types/commands/ListTemplatesCommand.d.ts +1 -1
  39. package/dist-types/commands/PutConfigurationSetDeliveryOptionsCommand.d.ts +2 -2
  40. package/dist-types/commands/PutIdentityPolicyCommand.d.ts +1 -1
  41. package/dist-types/commands/ReorderReceiptRuleSetCommand.d.ts +2 -2
  42. package/dist-types/commands/SendBounceCommand.d.ts +7 -7
  43. package/dist-types/commands/SendBulkTemplatedEmailCommand.d.ts +7 -7
  44. package/dist-types/commands/SendCustomVerificationEmailCommand.d.ts +1 -1
  45. package/dist-types/commands/SendEmailCommand.d.ts +8 -8
  46. package/dist-types/commands/SendRawEmailCommand.d.ts +5 -5
  47. package/dist-types/commands/SendTemplatedEmailCommand.d.ts +5 -5
  48. package/dist-types/commands/SetActiveReceiptRuleSetCommand.d.ts +1 -1
  49. package/dist-types/commands/SetIdentityDkimEnabledCommand.d.ts +1 -1
  50. package/dist-types/commands/SetIdentityFeedbackForwardingEnabledCommand.d.ts +1 -1
  51. package/dist-types/commands/SetIdentityHeadersInNotificationsEnabledCommand.d.ts +1 -1
  52. package/dist-types/commands/SetIdentityMailFromDomainCommand.d.ts +1 -1
  53. package/dist-types/commands/SetIdentityNotificationTopicCommand.d.ts +1 -1
  54. package/dist-types/commands/SetReceiptRulePositionCommand.d.ts +1 -1
  55. package/dist-types/commands/TestRenderTemplateCommand.d.ts +1 -1
  56. package/dist-types/commands/UpdateAccountSendingEnabledCommand.d.ts +1 -1
  57. package/dist-types/commands/UpdateConfigurationSetEventDestinationCommand.d.ts +8 -8
  58. package/dist-types/commands/UpdateConfigurationSetReputationMetricsEnabledCommand.d.ts +1 -1
  59. package/dist-types/commands/UpdateConfigurationSetSendingEnabledCommand.d.ts +1 -1
  60. package/dist-types/commands/UpdateConfigurationSetTrackingOptionsCommand.d.ts +2 -2
  61. package/dist-types/commands/UpdateCustomVerificationEmailTemplateCommand.d.ts +1 -1
  62. package/dist-types/commands/UpdateReceiptRuleCommand.d.ts +12 -12
  63. package/dist-types/commands/UpdateTemplateCommand.d.ts +2 -2
  64. package/dist-types/commands/VerifyDomainDkimCommand.d.ts +1 -1
  65. package/dist-types/commands/VerifyDomainIdentityCommand.d.ts +1 -1
  66. package/dist-types/commands/VerifyEmailAddressCommand.d.ts +1 -1
  67. package/dist-types/commands/VerifyEmailIdentityCommand.d.ts +1 -1
  68. package/dist-types/models/models_0.d.ts +137 -77
  69. package/dist-types/ts3.4/models/models_0.d.ts +96 -77
  70. package/package.json +35 -35
@@ -19,10 +19,12 @@ export declare class AlreadyExistsException extends __BaseException {
19
19
  opts: __ExceptionOptionType<AlreadyExistsException, __BaseException>
20
20
  );
21
21
  }
22
- export declare enum BehaviorOnMXFailure {
23
- RejectMessage = "RejectMessage",
24
- UseDefaultValue = "UseDefaultValue",
25
- }
22
+ export declare const BehaviorOnMXFailure: {
23
+ readonly RejectMessage: "RejectMessage";
24
+ readonly UseDefaultValue: "UseDefaultValue";
25
+ };
26
+ export type BehaviorOnMXFailure =
27
+ (typeof BehaviorOnMXFailure)[keyof typeof BehaviorOnMXFailure];
26
28
  export interface Content {
27
29
  Data: string | undefined;
28
30
  Charset?: string;
@@ -38,21 +40,23 @@ export interface BounceAction {
38
40
  Message: string | undefined;
39
41
  Sender: string | undefined;
40
42
  }
41
- export declare enum BounceType {
42
- ContentRejected = "ContentRejected",
43
- DoesNotExist = "DoesNotExist",
44
- ExceededQuota = "ExceededQuota",
45
- MessageTooLarge = "MessageTooLarge",
46
- TemporaryFailure = "TemporaryFailure",
47
- Undefined = "Undefined",
48
- }
49
- export declare enum DsnAction {
50
- DELAYED = "delayed",
51
- DELIVERED = "delivered",
52
- EXPANDED = "expanded",
53
- FAILED = "failed",
54
- RELAYED = "relayed",
55
- }
43
+ export declare const BounceType: {
44
+ readonly ContentRejected: "ContentRejected";
45
+ readonly DoesNotExist: "DoesNotExist";
46
+ readonly ExceededQuota: "ExceededQuota";
47
+ readonly MessageTooLarge: "MessageTooLarge";
48
+ readonly TemporaryFailure: "TemporaryFailure";
49
+ readonly Undefined: "Undefined";
50
+ };
51
+ export type BounceType = (typeof BounceType)[keyof typeof BounceType];
52
+ export declare const DsnAction: {
53
+ readonly DELAYED: "delayed";
54
+ readonly DELIVERED: "delivered";
55
+ readonly EXPANDED: "expanded";
56
+ readonly FAILED: "failed";
57
+ readonly RELAYED: "relayed";
58
+ };
59
+ export type DsnAction = (typeof DsnAction)[keyof typeof DsnAction];
56
60
  export interface ExtensionField {
57
61
  Name: string | undefined;
58
62
  Value: string | undefined;
@@ -86,22 +90,24 @@ export interface BulkEmailDestination {
86
90
  ReplacementTags?: MessageTag[];
87
91
  ReplacementTemplateData?: string;
88
92
  }
89
- export declare enum BulkEmailStatus {
90
- AccountDailyQuotaExceeded = "AccountDailyQuotaExceeded",
91
- AccountSendingPaused = "AccountSendingPaused",
92
- AccountSuspended = "AccountSuspended",
93
- AccountThrottled = "AccountThrottled",
94
- ConfigurationSetDoesNotExist = "ConfigurationSetDoesNotExist",
95
- ConfigurationSetSendingPaused = "ConfigurationSetSendingPaused",
96
- Failed = "Failed",
97
- InvalidParameterValue = "InvalidParameterValue",
98
- InvalidSendingPoolName = "InvalidSendingPoolName",
99
- MailFromDomainNotVerified = "MailFromDomainNotVerified",
100
- MessageRejected = "MessageRejected",
101
- Success = "Success",
102
- TemplateDoesNotExist = "TemplateDoesNotExist",
103
- TransientFailure = "TransientFailure",
104
- }
93
+ export declare const BulkEmailStatus: {
94
+ readonly AccountDailyQuotaExceeded: "AccountDailyQuotaExceeded";
95
+ readonly AccountSendingPaused: "AccountSendingPaused";
96
+ readonly AccountSuspended: "AccountSuspended";
97
+ readonly AccountThrottled: "AccountThrottled";
98
+ readonly ConfigurationSetDoesNotExist: "ConfigurationSetDoesNotExist";
99
+ readonly ConfigurationSetSendingPaused: "ConfigurationSetSendingPaused";
100
+ readonly Failed: "Failed";
101
+ readonly InvalidParameterValue: "InvalidParameterValue";
102
+ readonly InvalidSendingPoolName: "InvalidSendingPoolName";
103
+ readonly MailFromDomainNotVerified: "MailFromDomainNotVerified";
104
+ readonly MessageRejected: "MessageRejected";
105
+ readonly Success: "Success";
106
+ readonly TemplateDoesNotExist: "TemplateDoesNotExist";
107
+ readonly TransientFailure: "TransientFailure";
108
+ };
109
+ export type BulkEmailStatus =
110
+ (typeof BulkEmailStatus)[keyof typeof BulkEmailStatus];
105
111
  export interface BulkEmailDestinationStatus {
106
112
  Status?: BulkEmailStatus | string;
107
113
  Error?: string;
@@ -135,11 +141,13 @@ export declare class RuleSetDoesNotExistException extends __BaseException {
135
141
  opts: __ExceptionOptionType<RuleSetDoesNotExistException, __BaseException>
136
142
  );
137
143
  }
138
- export declare enum DimensionValueSource {
139
- EMAIL_HEADER = "emailHeader",
140
- LINK_TAG = "linkTag",
141
- MESSAGE_TAG = "messageTag",
142
- }
144
+ export declare const DimensionValueSource: {
145
+ readonly EMAIL_HEADER: "emailHeader";
146
+ readonly LINK_TAG: "linkTag";
147
+ readonly MESSAGE_TAG: "messageTag";
148
+ };
149
+ export type DimensionValueSource =
150
+ (typeof DimensionValueSource)[keyof typeof DimensionValueSource];
143
151
  export interface CloudWatchDimensionConfiguration {
144
152
  DimensionName: string | undefined;
145
153
  DimensionValueSource: DimensionValueSource | string | undefined;
@@ -162,12 +170,14 @@ export declare class ConfigurationSetAlreadyExistsException extends __BaseExcept
162
170
  >
163
171
  );
164
172
  }
165
- export declare enum ConfigurationSetAttribute {
166
- DELIVERY_OPTIONS = "deliveryOptions",
167
- EVENT_DESTINATIONS = "eventDestinations",
168
- REPUTATION_OPTIONS = "reputationOptions",
169
- TRACKING_OPTIONS = "trackingOptions",
170
- }
173
+ export declare const ConfigurationSetAttribute: {
174
+ readonly DELIVERY_OPTIONS: "deliveryOptions";
175
+ readonly EVENT_DESTINATIONS: "eventDestinations";
176
+ readonly REPUTATION_OPTIONS: "reputationOptions";
177
+ readonly TRACKING_OPTIONS: "trackingOptions";
178
+ };
179
+ export type ConfigurationSetAttribute =
180
+ (typeof ConfigurationSetAttribute)[keyof typeof ConfigurationSetAttribute];
171
181
  export declare class ConfigurationSetDoesNotExistException extends __BaseException {
172
182
  readonly name: "ConfigurationSetDoesNotExistException";
173
183
  readonly $fault: "client";
@@ -208,16 +218,17 @@ export interface KinesisFirehoseDestination {
208
218
  IAMRoleARN: string | undefined;
209
219
  DeliveryStreamARN: string | undefined;
210
220
  }
211
- export declare enum EventType {
212
- BOUNCE = "bounce",
213
- CLICK = "click",
214
- COMPLAINT = "complaint",
215
- DELIVERY = "delivery",
216
- OPEN = "open",
217
- REJECT = "reject",
218
- RENDERING_FAILURE = "renderingFailure",
219
- SEND = "send",
220
- }
221
+ export declare const EventType: {
222
+ readonly BOUNCE: "bounce";
223
+ readonly CLICK: "click";
224
+ readonly COMPLAINT: "complaint";
225
+ readonly DELIVERY: "delivery";
226
+ readonly OPEN: "open";
227
+ readonly REJECT: "reject";
228
+ readonly RENDERING_FAILURE: "renderingFailure";
229
+ readonly SEND: "send";
230
+ };
231
+ export type EventType = (typeof EventType)[keyof typeof EventType];
221
232
  export interface SNSDestination {
222
233
  TopicARN: string | undefined;
223
234
  }
@@ -348,10 +359,12 @@ export declare class FromEmailAddressNotVerifiedException extends __BaseExceptio
348
359
  >
349
360
  );
350
361
  }
351
- export declare enum ReceiptFilterPolicy {
352
- Allow = "Allow",
353
- Block = "Block",
354
- }
362
+ export declare const ReceiptFilterPolicy: {
363
+ readonly Allow: "Allow";
364
+ readonly Block: "Block";
365
+ };
366
+ export type ReceiptFilterPolicy =
367
+ (typeof ReceiptFilterPolicy)[keyof typeof ReceiptFilterPolicy];
355
368
  export interface ReceiptIpFilter {
356
369
  Policy: ReceiptFilterPolicy | string | undefined;
357
370
  Cidr: string | undefined;
@@ -376,17 +389,20 @@ export interface S3Action {
376
389
  ObjectKeyPrefix?: string;
377
390
  KmsKeyArn?: string;
378
391
  }
379
- export declare enum SNSActionEncoding {
380
- Base64 = "Base64",
381
- UTF8 = "UTF-8",
382
- }
392
+ export declare const SNSActionEncoding: {
393
+ readonly Base64: "Base64";
394
+ readonly UTF8: "UTF-8";
395
+ };
396
+ export type SNSActionEncoding =
397
+ (typeof SNSActionEncoding)[keyof typeof SNSActionEncoding];
383
398
  export interface SNSAction {
384
399
  TopicArn: string | undefined;
385
400
  Encoding?: SNSActionEncoding | string;
386
401
  }
387
- export declare enum StopScope {
388
- RULE_SET = "RuleSet",
389
- }
402
+ export declare const StopScope: {
403
+ readonly RULE_SET: "RuleSet";
404
+ };
405
+ export type StopScope = (typeof StopScope)[keyof typeof StopScope];
390
406
  export interface StopAction {
391
407
  Scope: StopScope | string | undefined;
392
408
  TopicArn?: string;
@@ -404,10 +420,11 @@ export interface ReceiptAction {
404
420
  AddHeaderAction?: AddHeaderAction;
405
421
  SNSAction?: SNSAction;
406
422
  }
407
- export declare enum TlsPolicy {
408
- Optional = "Optional",
409
- Require = "Require",
410
- }
423
+ export declare const TlsPolicy: {
424
+ readonly Optional: "Optional";
425
+ readonly Require: "Require";
426
+ };
427
+ export type TlsPolicy = (typeof TlsPolicy)[keyof typeof TlsPolicy];
411
428
  export interface ReceiptRule {
412
429
  Name: string | undefined;
413
430
  Enabled?: boolean;
@@ -479,12 +496,14 @@ export declare class InvalidTemplateException extends __BaseException {
479
496
  opts: __ExceptionOptionType<InvalidTemplateException, __BaseException>
480
497
  );
481
498
  }
482
- export declare enum CustomMailFromStatus {
483
- Failed = "Failed",
484
- Pending = "Pending",
485
- Success = "Success",
486
- TemporaryFailure = "TemporaryFailure",
487
- }
499
+ export declare const CustomMailFromStatus: {
500
+ readonly Failed: "Failed";
501
+ readonly Pending: "Pending";
502
+ readonly Success: "Success";
503
+ readonly TemporaryFailure: "TemporaryFailure";
504
+ };
505
+ export type CustomMailFromStatus =
506
+ (typeof CustomMailFromStatus)[keyof typeof CustomMailFromStatus];
488
507
  export interface CustomVerificationEmailTemplate {
489
508
  TemplateName?: string;
490
509
  FromEmailAddress?: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ses",
3
3
  "description": "AWS SDK for JavaScript Ses Client for Node.js, Browser and React Native",
4
- "version": "3.300.0",
4
+ "version": "3.303.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,44 +21,44 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.300.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.300.0",
27
- "@aws-sdk/fetch-http-handler": "3.296.0",
28
- "@aws-sdk/hash-node": "3.296.0",
29
- "@aws-sdk/invalid-dependency": "3.296.0",
30
- "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.299.0",
32
- "@aws-sdk/middleware-host-header": "3.296.0",
33
- "@aws-sdk/middleware-logger": "3.296.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.300.0",
36
- "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.299.0",
38
- "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.300.0",
41
- "@aws-sdk/node-http-handler": "3.296.0",
42
- "@aws-sdk/protocol-http": "3.296.0",
43
- "@aws-sdk/smithy-client": "3.296.0",
44
- "@aws-sdk/types": "3.296.0",
45
- "@aws-sdk/url-parser": "3.296.0",
46
- "@aws-sdk/util-base64": "3.295.0",
47
- "@aws-sdk/util-body-length-browser": "3.295.0",
48
- "@aws-sdk/util-body-length-node": "3.295.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
- "@aws-sdk/util-endpoints": "3.296.0",
52
- "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.300.0",
55
- "@aws-sdk/util-utf8": "3.295.0",
56
- "@aws-sdk/util-waiter": "3.296.0",
24
+ "@aws-sdk/client-sts": "3.303.0",
25
+ "@aws-sdk/config-resolver": "3.303.0",
26
+ "@aws-sdk/credential-provider-node": "3.303.0",
27
+ "@aws-sdk/fetch-http-handler": "3.303.0",
28
+ "@aws-sdk/hash-node": "3.303.0",
29
+ "@aws-sdk/invalid-dependency": "3.303.0",
30
+ "@aws-sdk/middleware-content-length": "3.303.0",
31
+ "@aws-sdk/middleware-endpoint": "3.303.0",
32
+ "@aws-sdk/middleware-host-header": "3.303.0",
33
+ "@aws-sdk/middleware-logger": "3.303.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.303.0",
35
+ "@aws-sdk/middleware-retry": "3.303.0",
36
+ "@aws-sdk/middleware-serde": "3.303.0",
37
+ "@aws-sdk/middleware-signing": "3.303.0",
38
+ "@aws-sdk/middleware-stack": "3.303.0",
39
+ "@aws-sdk/middleware-user-agent": "3.303.0",
40
+ "@aws-sdk/node-config-provider": "3.303.0",
41
+ "@aws-sdk/node-http-handler": "3.303.0",
42
+ "@aws-sdk/protocol-http": "3.303.0",
43
+ "@aws-sdk/smithy-client": "3.303.0",
44
+ "@aws-sdk/types": "3.303.0",
45
+ "@aws-sdk/url-parser": "3.303.0",
46
+ "@aws-sdk/util-base64": "3.303.0",
47
+ "@aws-sdk/util-body-length-browser": "3.303.0",
48
+ "@aws-sdk/util-body-length-node": "3.303.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.303.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.303.0",
51
+ "@aws-sdk/util-endpoints": "3.303.0",
52
+ "@aws-sdk/util-retry": "3.303.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.303.0",
54
+ "@aws-sdk/util-user-agent-node": "3.303.0",
55
+ "@aws-sdk/util-utf8": "3.303.0",
56
+ "@aws-sdk/util-waiter": "3.303.0",
57
57
  "fast-xml-parser": "4.1.2",
58
58
  "tslib": "^2.5.0"
59
59
  },
60
60
  "devDependencies": {
61
- "@aws-sdk/service-client-documentation-generator": "3.295.0",
61
+ "@aws-sdk/service-client-documentation-generator": "3.303.0",
62
62
  "@tsconfig/node14": "1.0.3",
63
63
  "@types/node": "^14.14.31",
64
64
  "concurrently": "7.0.0",