@aws-sdk/client-sesv2 3.954.0 → 3.955.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 (45) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/index.js +167 -19
  3. package/dist-es/SESv2.js +2 -0
  4. package/dist-es/commands/GetEmailAddressInsightsCommand.js +16 -0
  5. package/dist-es/commands/index.js +1 -0
  6. package/dist-es/index.js +2 -0
  7. package/dist-es/models/enums.js +14 -4
  8. package/dist-es/schemas/schemas_0.js +127 -15
  9. package/dist-types/SESv2.d.ts +7 -0
  10. package/dist-types/SESv2Client.d.ts +3 -2
  11. package/dist-types/commands/CreateConfigurationSetCommand.d.ts +8 -0
  12. package/dist-types/commands/CreateCustomVerificationEmailTemplateCommand.d.ts +6 -0
  13. package/dist-types/commands/CreateEmailTemplateCommand.d.ts +6 -0
  14. package/dist-types/commands/GetAccountCommand.d.ts +8 -0
  15. package/dist-types/commands/GetConfigurationSetCommand.d.ts +8 -0
  16. package/dist-types/commands/GetCustomVerificationEmailTemplateCommand.d.ts +6 -0
  17. package/dist-types/commands/GetEmailAddressInsightsCommand.d.ts +100 -0
  18. package/dist-types/commands/GetEmailTemplateCommand.d.ts +6 -0
  19. package/dist-types/commands/PutAccountSuppressionAttributesCommand.d.ts +8 -0
  20. package/dist-types/commands/PutConfigurationSetSuppressionOptionsCommand.d.ts +8 -0
  21. package/dist-types/commands/PutEmailIdentityMailFromAttributesCommand.d.ts +1 -1
  22. package/dist-types/commands/PutSuppressedDestinationCommand.d.ts +1 -1
  23. package/dist-types/commands/SendBulkEmailCommand.d.ts +1 -1
  24. package/dist-types/commands/SendCustomVerificationEmailCommand.d.ts +1 -1
  25. package/dist-types/commands/SendEmailCommand.d.ts +1 -2
  26. package/dist-types/commands/index.d.ts +1 -0
  27. package/dist-types/index.d.ts +2 -2
  28. package/dist-types/models/enums.d.ts +35 -9
  29. package/dist-types/models/models_0.d.ts +182 -322
  30. package/dist-types/models/models_1.d.ts +322 -2
  31. package/dist-types/schemas/schemas_0.d.ts +10 -0
  32. package/dist-types/ts3.4/SESv2.d.ts +17 -0
  33. package/dist-types/ts3.4/SESv2Client.d.ts +6 -0
  34. package/dist-types/ts3.4/commands/GetEmailAddressInsightsCommand.d.ts +51 -0
  35. package/dist-types/ts3.4/commands/PutEmailIdentityMailFromAttributesCommand.d.ts +1 -1
  36. package/dist-types/ts3.4/commands/PutSuppressedDestinationCommand.d.ts +1 -1
  37. package/dist-types/ts3.4/commands/SendBulkEmailCommand.d.ts +1 -1
  38. package/dist-types/ts3.4/commands/SendCustomVerificationEmailCommand.d.ts +1 -1
  39. package/dist-types/ts3.4/commands/SendEmailCommand.d.ts +1 -2
  40. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  41. package/dist-types/ts3.4/models/enums.d.ts +19 -5
  42. package/dist-types/ts3.4/models/models_0.d.ts +44 -49
  43. package/dist-types/ts3.4/models/models_1.d.ts +62 -1
  44. package/dist-types/ts3.4/schemas/schemas_0.d.ts +10 -0
  45. package/package.json +2 -2
@@ -14,6 +14,7 @@ import {
14
14
  DkimSigningAttributesOrigin,
15
15
  DkimSigningKeyLength,
16
16
  DkimStatus,
17
+ EmailAddressInsightsConfidenceVerdict,
17
18
  EngagementEventType,
18
19
  EventType,
19
20
  ExportSourceType,
@@ -42,6 +43,7 @@ import {
42
43
  SendingStatus,
43
44
  Status,
44
45
  SubscriptionStatus,
46
+ SuppressionConfidenceVerdictThreshold,
45
47
  SuppressionListImportAction,
46
48
  SuppressionListReason,
47
49
  TlsPolicy,
@@ -209,8 +211,19 @@ export interface ReputationOptions {
209
211
  export interface SendingOptions {
210
212
  SendingEnabled?: boolean | undefined;
211
213
  }
214
+ export interface SuppressionConfidenceThreshold {
215
+ ConfidenceVerdictThreshold: SuppressionConfidenceVerdictThreshold | undefined;
216
+ }
217
+ export interface SuppressionConditionThreshold {
218
+ ConditionThresholdEnabled: FeatureStatus | undefined;
219
+ OverallConfidenceThreshold?: SuppressionConfidenceThreshold | undefined;
220
+ }
221
+ export interface SuppressionValidationOptions {
222
+ ConditionThreshold: SuppressionConditionThreshold | undefined;
223
+ }
212
224
  export interface SuppressionOptions {
213
225
  SuppressedReasons?: SuppressionListReason[] | undefined;
226
+ ValidationOptions?: SuppressionValidationOptions | undefined;
214
227
  }
215
228
  export interface Tag {
216
229
  Key: string | undefined;
@@ -296,6 +309,7 @@ export interface CreateCustomVerificationEmailTemplateRequest {
296
309
  FromEmailAddress: string | undefined;
297
310
  TemplateSubject: string | undefined;
298
311
  TemplateContent: string | undefined;
312
+ Tags?: Tag[] | undefined;
299
313
  SuccessRedirectionURL: string | undefined;
300
314
  FailureRedirectionURL: string | undefined;
301
315
  }
@@ -366,6 +380,7 @@ export interface CreateEmailIdentityPolicyResponse {}
366
380
  export interface CreateEmailTemplateRequest {
367
381
  TemplateName: string | undefined;
368
382
  TemplateContent: EmailTemplateContent | undefined;
383
+ Tags?: Tag[] | undefined;
369
384
  }
370
385
  export interface CreateEmailTemplateResponse {}
371
386
  export interface MessageInsightsFilters {
@@ -588,6 +603,17 @@ export interface DomainDeliverabilityTrackingOption {
588
603
  SubscriptionStartDate?: Date | undefined;
589
604
  InboxPlacementTrackingOption?: InboxPlacementTrackingOption | undefined;
590
605
  }
606
+ export interface EmailAddressInsightsVerdict {
607
+ ConfidenceVerdict?: EmailAddressInsightsConfidenceVerdict | undefined;
608
+ }
609
+ export interface EmailAddressInsightsMailboxEvaluations {
610
+ HasValidSyntax?: EmailAddressInsightsVerdict | undefined;
611
+ HasValidDnsRecords?: EmailAddressInsightsVerdict | undefined;
612
+ MailboxExists?: EmailAddressInsightsVerdict | undefined;
613
+ IsRoleAddress?: EmailAddressInsightsVerdict | undefined;
614
+ IsDisposable?: EmailAddressInsightsVerdict | undefined;
615
+ IsRandomInput?: EmailAddressInsightsVerdict | undefined;
616
+ }
591
617
  export interface EventDetails {
592
618
  Bounce?: Bounce | undefined;
593
619
  Complaint?: Complaint | undefined;
@@ -637,8 +663,12 @@ export interface SendQuota {
637
663
  MaxSendRate?: number | undefined;
638
664
  SentLast24Hours?: number | undefined;
639
665
  }
666
+ export interface SuppressionValidationAttributes {
667
+ ConditionThreshold: SuppressionConditionThreshold | undefined;
668
+ }
640
669
  export interface SuppressionAttributes {
641
670
  SuppressedReasons?: SuppressionListReason[] | undefined;
671
+ ValidationAttributes?: SuppressionValidationAttributes | undefined;
642
672
  }
643
673
  export interface GuardianAttributes {
644
674
  OptimizedSharedDelivery?: FeatureStatus | undefined;
@@ -717,6 +747,7 @@ export interface GetCustomVerificationEmailTemplateResponse {
717
747
  FromEmailAddress?: string | undefined;
718
748
  TemplateSubject?: string | undefined;
719
749
  TemplateContent?: string | undefined;
750
+ Tags?: Tag[] | undefined;
720
751
  SuccessRedirectionURL?: string | undefined;
721
752
  FailureRedirectionURL?: string | undefined;
722
753
  }
@@ -792,6 +823,16 @@ export interface GetDomainStatisticsReportResponse {
792
823
  OverallVolume: OverallVolume | undefined;
793
824
  DailyVolumes: DailyVolume[] | undefined;
794
825
  }
826
+ export interface GetEmailAddressInsightsRequest {
827
+ EmailAddress: string | undefined;
828
+ }
829
+ export interface MailboxValidation {
830
+ IsValid?: EmailAddressInsightsVerdict | undefined;
831
+ Evaluations?: EmailAddressInsightsMailboxEvaluations | undefined;
832
+ }
833
+ export interface GetEmailAddressInsightsResponse {
834
+ MailboxValidation?: MailboxValidation | undefined;
835
+ }
795
836
  export interface GetEmailIdentityRequest {
796
837
  EmailIdentity: string | undefined;
797
838
  }
@@ -835,6 +876,7 @@ export interface GetEmailTemplateRequest {
835
876
  export interface GetEmailTemplateResponse {
836
877
  TemplateName: string | undefined;
837
878
  TemplateContent: EmailTemplateContent | undefined;
879
+ Tags?: Tag[] | undefined;
838
880
  }
839
881
  export interface GetExportJobRequest {
840
882
  JobId: string | undefined;
@@ -1190,6 +1232,7 @@ export interface PutAccountSendingAttributesRequest {
1190
1232
  export interface PutAccountSendingAttributesResponse {}
1191
1233
  export interface PutAccountSuppressionAttributesRequest {
1192
1234
  SuppressedReasons?: SuppressionListReason[] | undefined;
1235
+ ValidationAttributes?: SuppressionValidationAttributes | undefined;
1193
1236
  }
1194
1237
  export interface PutAccountSuppressionAttributesResponse {}
1195
1238
  export interface PutAccountVdmAttributesRequest {
@@ -1221,6 +1264,7 @@ export interface PutConfigurationSetSendingOptionsResponse {}
1221
1264
  export interface PutConfigurationSetSuppressionOptionsRequest {
1222
1265
  ConfigurationSetName: string | undefined;
1223
1266
  SuppressedReasons?: SuppressionListReason[] | undefined;
1267
+ ValidationOptions?: SuppressionValidationOptions | undefined;
1224
1268
  }
1225
1269
  export interface PutConfigurationSetSuppressionOptionsResponse {}
1226
1270
  export interface PutConfigurationSetTrackingOptionsRequest {
@@ -1279,52 +1323,3 @@ export interface PutEmailIdentityFeedbackAttributesRequest {
1279
1323
  EmailForwardingEnabled?: boolean | undefined;
1280
1324
  }
1281
1325
  export interface PutEmailIdentityFeedbackAttributesResponse {}
1282
- export interface PutEmailIdentityMailFromAttributesRequest {
1283
- EmailIdentity: string | undefined;
1284
- MailFromDomain?: string | undefined;
1285
- BehaviorOnMxFailure?: BehaviorOnMxFailure | undefined;
1286
- }
1287
- export interface PutEmailIdentityMailFromAttributesResponse {}
1288
- export interface PutSuppressedDestinationRequest {
1289
- EmailAddress: string | undefined;
1290
- Reason: SuppressionListReason | undefined;
1291
- }
1292
- export interface PutSuppressedDestinationResponse {}
1293
- export interface SendBulkEmailRequest {
1294
- FromEmailAddress?: string | undefined;
1295
- FromEmailAddressIdentityArn?: string | undefined;
1296
- ReplyToAddresses?: string[] | undefined;
1297
- FeedbackForwardingEmailAddress?: string | undefined;
1298
- FeedbackForwardingEmailAddressIdentityArn?: string | undefined;
1299
- DefaultEmailTags?: MessageTag[] | undefined;
1300
- DefaultContent: BulkEmailContent | undefined;
1301
- BulkEmailEntries: BulkEmailEntry[] | undefined;
1302
- ConfigurationSetName?: string | undefined;
1303
- EndpointId?: string | undefined;
1304
- TenantName?: string | undefined;
1305
- }
1306
- export interface SendBulkEmailResponse {
1307
- BulkEmailEntryResults: BulkEmailEntryResult[] | undefined;
1308
- }
1309
- export interface SendCustomVerificationEmailRequest {
1310
- EmailAddress: string | undefined;
1311
- TemplateName: string | undefined;
1312
- ConfigurationSetName?: string | undefined;
1313
- }
1314
- export interface SendCustomVerificationEmailResponse {
1315
- MessageId?: string | undefined;
1316
- }
1317
- export interface SendEmailRequest {
1318
- FromEmailAddress?: string | undefined;
1319
- FromEmailAddressIdentityArn?: string | undefined;
1320
- Destination?: Destination | undefined;
1321
- ReplyToAddresses?: string[] | undefined;
1322
- FeedbackForwardingEmailAddress?: string | undefined;
1323
- FeedbackForwardingEmailAddressIdentityArn?: string | undefined;
1324
- Content: EmailContent | undefined;
1325
- EmailTags?: MessageTag[] | undefined;
1326
- ConfigurationSetName?: string | undefined;
1327
- EndpointId?: string | undefined;
1328
- TenantName?: string | undefined;
1329
- ListManagementOptions?: ListManagementOptions | undefined;
1330
- }
@@ -1,11 +1,72 @@
1
- import { ReputationEntityType, SendingStatus } from "./enums";
2
1
  import {
2
+ BehaviorOnMxFailure,
3
+ ReputationEntityType,
4
+ SendingStatus,
5
+ SuppressionListReason,
6
+ } from "./enums";
7
+ import {
8
+ BulkEmailContent,
9
+ Destination,
10
+ EmailContent,
3
11
  EmailTemplateContent,
4
12
  EventDestinationDefinition,
13
+ ListManagementOptions,
14
+ BulkEmailEntry,
15
+ BulkEmailEntryResult,
16
+ MessageTag,
5
17
  Tag,
6
18
  Topic,
7
19
  TopicPreference,
8
20
  } from "./models_0";
21
+ export interface PutEmailIdentityMailFromAttributesRequest {
22
+ EmailIdentity: string | undefined;
23
+ MailFromDomain?: string | undefined;
24
+ BehaviorOnMxFailure?: BehaviorOnMxFailure | undefined;
25
+ }
26
+ export interface PutEmailIdentityMailFromAttributesResponse {}
27
+ export interface PutSuppressedDestinationRequest {
28
+ EmailAddress: string | undefined;
29
+ Reason: SuppressionListReason | undefined;
30
+ }
31
+ export interface PutSuppressedDestinationResponse {}
32
+ export interface SendBulkEmailRequest {
33
+ FromEmailAddress?: string | undefined;
34
+ FromEmailAddressIdentityArn?: string | undefined;
35
+ ReplyToAddresses?: string[] | undefined;
36
+ FeedbackForwardingEmailAddress?: string | undefined;
37
+ FeedbackForwardingEmailAddressIdentityArn?: string | undefined;
38
+ DefaultEmailTags?: MessageTag[] | undefined;
39
+ DefaultContent: BulkEmailContent | undefined;
40
+ BulkEmailEntries: BulkEmailEntry[] | undefined;
41
+ ConfigurationSetName?: string | undefined;
42
+ EndpointId?: string | undefined;
43
+ TenantName?: string | undefined;
44
+ }
45
+ export interface SendBulkEmailResponse {
46
+ BulkEmailEntryResults: BulkEmailEntryResult[] | undefined;
47
+ }
48
+ export interface SendCustomVerificationEmailRequest {
49
+ EmailAddress: string | undefined;
50
+ TemplateName: string | undefined;
51
+ ConfigurationSetName?: string | undefined;
52
+ }
53
+ export interface SendCustomVerificationEmailResponse {
54
+ MessageId?: string | undefined;
55
+ }
56
+ export interface SendEmailRequest {
57
+ FromEmailAddress?: string | undefined;
58
+ FromEmailAddressIdentityArn?: string | undefined;
59
+ Destination?: Destination | undefined;
60
+ ReplyToAddresses?: string[] | undefined;
61
+ FeedbackForwardingEmailAddress?: string | undefined;
62
+ FeedbackForwardingEmailAddressIdentityArn?: string | undefined;
63
+ Content: EmailContent | undefined;
64
+ EmailTags?: MessageTag[] | undefined;
65
+ ConfigurationSetName?: string | undefined;
66
+ EndpointId?: string | undefined;
67
+ TenantName?: string | undefined;
68
+ ListManagementOptions?: ListManagementOptions | undefined;
69
+ }
9
70
  export interface SendEmailResponse {
10
71
  MessageId?: string | undefined;
11
72
  }
@@ -100,6 +100,8 @@ export declare var DkimSigningAttributes$: StaticStructureSchema;
100
100
  export declare var DomainDeliverabilityCampaign$: StaticStructureSchema;
101
101
  export declare var DomainDeliverabilityTrackingOption$: StaticStructureSchema;
102
102
  export declare var DomainIspPlacement$: StaticStructureSchema;
103
+ export declare var EmailAddressInsightsMailboxEvaluations$: StaticStructureSchema;
104
+ export declare var EmailAddressInsightsVerdict$: StaticStructureSchema;
103
105
  export declare var EmailContent$: StaticStructureSchema;
104
106
  export declare var EmailInsights$: StaticStructureSchema;
105
107
  export declare var EmailTemplateContent$: StaticStructureSchema;
@@ -142,6 +144,8 @@ export declare var GetDomainDeliverabilityCampaignRequest$: StaticStructureSchem
142
144
  export declare var GetDomainDeliverabilityCampaignResponse$: StaticStructureSchema;
143
145
  export declare var GetDomainStatisticsReportRequest$: StaticStructureSchema;
144
146
  export declare var GetDomainStatisticsReportResponse$: StaticStructureSchema;
147
+ export declare var GetEmailAddressInsightsRequest$: StaticStructureSchema;
148
+ export declare var GetEmailAddressInsightsResponse$: StaticStructureSchema;
145
149
  export declare var GetEmailIdentityPoliciesRequest$: StaticStructureSchema;
146
150
  export declare var GetEmailIdentityPoliciesResponse$: StaticStructureSchema;
147
151
  export declare var GetEmailIdentityRequest$: StaticStructureSchema;
@@ -215,6 +219,7 @@ export declare var ListTenantResourcesRequest$: StaticStructureSchema;
215
219
  export declare var ListTenantResourcesResponse$: StaticStructureSchema;
216
220
  export declare var ListTenantsRequest$: StaticStructureSchema;
217
221
  export declare var ListTenantsResponse$: StaticStructureSchema;
222
+ export declare var MailboxValidation$: StaticStructureSchema;
218
223
  export declare var MailFromAttributes$: StaticStructureSchema;
219
224
  export declare var MailFromDomainNotVerifiedException$: StaticErrorSchema;
220
225
  export declare var Message$: StaticStructureSchema;
@@ -301,8 +306,12 @@ export declare var SuppressedDestination$: StaticStructureSchema;
301
306
  export declare var SuppressedDestinationAttributes$: StaticStructureSchema;
302
307
  export declare var SuppressedDestinationSummary$: StaticStructureSchema;
303
308
  export declare var SuppressionAttributes$: StaticStructureSchema;
309
+ export declare var SuppressionConditionThreshold$: StaticStructureSchema;
310
+ export declare var SuppressionConfidenceThreshold$: StaticStructureSchema;
304
311
  export declare var SuppressionListDestination$: StaticStructureSchema;
305
312
  export declare var SuppressionOptions$: StaticStructureSchema;
313
+ export declare var SuppressionValidationAttributes$: StaticStructureSchema;
314
+ export declare var SuppressionValidationOptions$: StaticStructureSchema;
306
315
  export declare var Tag$: StaticStructureSchema;
307
316
  export declare var TagResourceRequest$: StaticStructureSchema;
308
317
  export declare var TagResourceResponse$: StaticStructureSchema;
@@ -384,6 +393,7 @@ export declare var GetDeliverabilityDashboardOptions$: StaticOperationSchema;
384
393
  export declare var GetDeliverabilityTestReport$: StaticOperationSchema;
385
394
  export declare var GetDomainDeliverabilityCampaign$: StaticOperationSchema;
386
395
  export declare var GetDomainStatisticsReport$: StaticOperationSchema;
396
+ export declare var GetEmailAddressInsights$: StaticOperationSchema;
387
397
  export declare var GetEmailIdentity$: StaticOperationSchema;
388
398
  export declare var GetEmailIdentityPolicies$: StaticOperationSchema;
389
399
  export declare var GetEmailTemplate$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sesv2",
3
3
  "description": "AWS SDK for JavaScript Sesv2 Client for Node.js, Browser and React Native",
4
- "version": "3.954.0",
4
+ "version": "3.955.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-sesv2",
@@ -22,7 +22,7 @@
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
24
  "@aws-sdk/core": "3.954.0",
25
- "@aws-sdk/credential-provider-node": "3.954.0",
25
+ "@aws-sdk/credential-provider-node": "3.955.0",
26
26
  "@aws-sdk/middleware-host-header": "3.953.0",
27
27
  "@aws-sdk/middleware-logger": "3.953.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.953.0",