@aws-sdk/client-sesv2 3.398.0 → 3.403.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 (86) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/SESv2.js +10 -0
  3. package/dist-cjs/commands/CancelExportJobCommand.js +46 -0
  4. package/dist-cjs/commands/CreateExportJobCommand.js +47 -0
  5. package/dist-cjs/commands/GetExportJobCommand.js +47 -0
  6. package/dist-cjs/commands/GetMessageInsightsCommand.js +47 -0
  7. package/dist-cjs/commands/ListExportJobsCommand.js +46 -0
  8. package/dist-cjs/commands/index.js +5 -0
  9. package/dist-cjs/endpoint/ruleset.js +1 -1
  10. package/dist-cjs/models/index.js +1 -0
  11. package/dist-cjs/models/models_0.js +76 -8
  12. package/dist-cjs/models/models_1.js +2 -0
  13. package/dist-cjs/pagination/ListExportJobsPaginator.js +29 -0
  14. package/dist-cjs/pagination/index.js +1 -0
  15. package/dist-cjs/protocols/Aws_restJson1.js +405 -4
  16. package/dist-es/SESv2.js +10 -0
  17. package/dist-es/commands/CancelExportJobCommand.js +42 -0
  18. package/dist-es/commands/CreateExportJobCommand.js +43 -0
  19. package/dist-es/commands/GetExportJobCommand.js +43 -0
  20. package/dist-es/commands/GetMessageInsightsCommand.js +43 -0
  21. package/dist-es/commands/ListExportJobsCommand.js +42 -0
  22. package/dist-es/commands/index.js +5 -0
  23. package/dist-es/endpoint/ruleset.js +1 -1
  24. package/dist-es/models/index.js +1 -0
  25. package/dist-es/models/models_0.js +67 -6
  26. package/dist-es/models/models_1.js +1 -0
  27. package/dist-es/pagination/ListExportJobsPaginator.js +25 -0
  28. package/dist-es/pagination/index.js +1 -0
  29. package/dist-es/protocols/Aws_restJson1.js +391 -0
  30. package/dist-types/SESv2.d.ts +35 -0
  31. package/dist-types/SESv2Client.d.ts +7 -2
  32. package/dist-types/commands/CancelExportJobCommand.d.ts +91 -0
  33. package/dist-types/commands/CreateExportJobCommand.d.ts +230 -0
  34. package/dist-types/commands/GetExportJobCommand.d.ts +213 -0
  35. package/dist-types/commands/GetImportJobCommand.d.ts +1 -1
  36. package/dist-types/commands/GetMessageInsightsCommand.d.ts +175 -0
  37. package/dist-types/commands/ListExportJobsCommand.d.ts +116 -0
  38. package/dist-types/commands/ListImportJobsCommand.d.ts +1 -1
  39. package/dist-types/commands/PutSuppressedDestinationCommand.d.ts +2 -1
  40. package/dist-types/commands/SendBulkEmailCommand.d.ts +1 -1
  41. package/dist-types/commands/SendCustomVerificationEmailCommand.d.ts +1 -1
  42. package/dist-types/commands/SendEmailCommand.d.ts +1 -1
  43. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  44. package/dist-types/commands/TestRenderEmailTemplateCommand.d.ts +1 -1
  45. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  46. package/dist-types/commands/UpdateConfigurationSetEventDestinationCommand.d.ts +1 -1
  47. package/dist-types/commands/UpdateContactCommand.d.ts +1 -1
  48. package/dist-types/commands/UpdateContactListCommand.d.ts +1 -1
  49. package/dist-types/commands/UpdateCustomVerificationEmailTemplateCommand.d.ts +1 -1
  50. package/dist-types/commands/UpdateEmailIdentityPolicyCommand.d.ts +1 -1
  51. package/dist-types/commands/UpdateEmailTemplateCommand.d.ts +1 -1
  52. package/dist-types/commands/index.d.ts +5 -0
  53. package/dist-types/models/index.d.ts +1 -0
  54. package/dist-types/models/models_0.d.ts +811 -558
  55. package/dist-types/models/models_1.d.ts +523 -0
  56. package/dist-types/pagination/ListExportJobsPaginator.d.ts +7 -0
  57. package/dist-types/pagination/index.d.ts +1 -0
  58. package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
  59. package/dist-types/ts3.4/SESv2.d.ts +85 -0
  60. package/dist-types/ts3.4/SESv2Client.d.ts +30 -0
  61. package/dist-types/ts3.4/commands/CancelExportJobCommand.d.ts +38 -0
  62. package/dist-types/ts3.4/commands/CreateExportJobCommand.d.ts +38 -0
  63. package/dist-types/ts3.4/commands/GetExportJobCommand.d.ts +35 -0
  64. package/dist-types/ts3.4/commands/GetMessageInsightsCommand.d.ts +39 -0
  65. package/dist-types/ts3.4/commands/ListExportJobsCommand.d.ts +38 -0
  66. package/dist-types/ts3.4/commands/PutSuppressedDestinationCommand.d.ts +2 -4
  67. package/dist-types/ts3.4/commands/SendBulkEmailCommand.d.ts +1 -1
  68. package/dist-types/ts3.4/commands/SendCustomVerificationEmailCommand.d.ts +1 -1
  69. package/dist-types/ts3.4/commands/SendEmailCommand.d.ts +1 -1
  70. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  71. package/dist-types/ts3.4/commands/TestRenderEmailTemplateCommand.d.ts +1 -1
  72. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
  73. package/dist-types/ts3.4/commands/UpdateConfigurationSetEventDestinationCommand.d.ts +1 -1
  74. package/dist-types/ts3.4/commands/UpdateContactCommand.d.ts +1 -1
  75. package/dist-types/ts3.4/commands/UpdateContactListCommand.d.ts +1 -1
  76. package/dist-types/ts3.4/commands/UpdateCustomVerificationEmailTemplateCommand.d.ts +1 -1
  77. package/dist-types/ts3.4/commands/UpdateEmailIdentityPolicyCommand.d.ts +1 -1
  78. package/dist-types/ts3.4/commands/UpdateEmailTemplateCommand.d.ts +1 -1
  79. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  80. package/dist-types/ts3.4/models/index.d.ts +1 -0
  81. package/dist-types/ts3.4/models/models_0.d.ts +176 -102
  82. package/dist-types/ts3.4/models/models_1.d.ts +109 -0
  83. package/dist-types/ts3.4/pagination/ListExportJobsPaginator.d.ts +11 -0
  84. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  85. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
  86. package/package.json +1 -1
@@ -145,6 +145,17 @@ export interface Body {
145
145
  Text?: Content;
146
146
  Html?: Content;
147
147
  }
148
+ export declare const BounceType: {
149
+ readonly PERMANENT: "PERMANENT";
150
+ readonly TRANSIENT: "TRANSIENT";
151
+ readonly UNDETERMINED: "UNDETERMINED";
152
+ };
153
+ export type BounceType = (typeof BounceType)[keyof typeof BounceType];
154
+ export interface Bounce {
155
+ BounceType?: BounceType | string;
156
+ BounceSubType?: string;
157
+ DiagnosticCode?: string;
158
+ }
148
159
  export interface Template {
149
160
  TemplateName?: string;
150
161
  TemplateArn?: string;
@@ -196,6 +207,10 @@ export interface BulkEmailEntryResult {
196
207
  Error?: string;
197
208
  MessageId?: string;
198
209
  }
210
+ export interface CancelExportJobRequest {
211
+ JobId: string | undefined;
212
+ }
213
+ export interface CancelExportJobResponse {}
199
214
  export declare const DimensionValueSource: {
200
215
  readonly EMAIL_HEADER: "EMAIL_HEADER";
201
216
  readonly LINK_TAG: "LINK_TAG";
@@ -211,6 +226,10 @@ export interface CloudWatchDimensionConfiguration {
211
226
  export interface CloudWatchDestination {
212
227
  DimensionConfigurations: CloudWatchDimensionConfiguration[] | undefined;
213
228
  }
229
+ export interface Complaint {
230
+ ComplaintSubType?: string;
231
+ ComplaintFeedbackType?: string;
232
+ }
214
233
  export declare class ConcurrentModificationException extends __BaseException {
215
234
  readonly name: "ConcurrentModificationException";
216
235
  readonly $fault: "server";
@@ -517,11 +536,74 @@ export interface CreateEmailTemplateRequest {
517
536
  TemplateContent: EmailTemplateContent | undefined;
518
537
  }
519
538
  export interface CreateEmailTemplateResponse {}
539
+ export declare const DeliveryEventType: {
540
+ readonly COMPLAINT: "COMPLAINT";
541
+ readonly DELIVERY: "DELIVERY";
542
+ readonly PERMANENT_BOUNCE: "PERMANENT_BOUNCE";
543
+ readonly SEND: "SEND";
544
+ readonly TRANSIENT_BOUNCE: "TRANSIENT_BOUNCE";
545
+ readonly UNDETERMINED_BOUNCE: "UNDETERMINED_BOUNCE";
546
+ };
547
+ export type DeliveryEventType =
548
+ (typeof DeliveryEventType)[keyof typeof DeliveryEventType];
549
+ export declare const EngagementEventType: {
550
+ readonly CLICK: "CLICK";
551
+ readonly OPEN: "OPEN";
552
+ };
553
+ export type EngagementEventType =
554
+ (typeof EngagementEventType)[keyof typeof EngagementEventType];
555
+ export interface MessageInsightsFilters {
556
+ FromEmailAddress?: string[];
557
+ Destination?: string[];
558
+ Subject?: string[];
559
+ Isp?: string[];
560
+ LastDeliveryEvent?: (DeliveryEventType | string)[];
561
+ LastEngagementEvent?: (EngagementEventType | string)[];
562
+ }
563
+ export interface MessageInsightsDataSource {
564
+ StartDate: Date | undefined;
565
+ EndDate: Date | undefined;
566
+ Include?: MessageInsightsFilters;
567
+ Exclude?: MessageInsightsFilters;
568
+ MaxResults?: number;
569
+ }
570
+ export declare const MetricAggregation: {
571
+ readonly RATE: "RATE";
572
+ readonly VOLUME: "VOLUME";
573
+ };
574
+ export type MetricAggregation =
575
+ (typeof MetricAggregation)[keyof typeof MetricAggregation];
576
+ export interface ExportMetric {
577
+ Name?: Metric | string;
578
+ Aggregation?: MetricAggregation | string;
579
+ }
580
+ export interface MetricsDataSource {
581
+ Dimensions: Record<string, string[]> | undefined;
582
+ Namespace: MetricNamespace | string | undefined;
583
+ Metrics: ExportMetric[] | undefined;
584
+ StartDate: Date | undefined;
585
+ EndDate: Date | undefined;
586
+ }
587
+ export interface ExportDataSource {
588
+ MetricsDataSource?: MetricsDataSource;
589
+ MessageInsightsDataSource?: MessageInsightsDataSource;
590
+ }
520
591
  export declare const DataFormat: {
521
592
  readonly CSV: "CSV";
522
593
  readonly JSON: "JSON";
523
594
  };
524
595
  export type DataFormat = (typeof DataFormat)[keyof typeof DataFormat];
596
+ export interface ExportDestination {
597
+ DataFormat: DataFormat | string | undefined;
598
+ S3Url?: string;
599
+ }
600
+ export interface CreateExportJobRequest {
601
+ ExportDataSource: ExportDataSource | undefined;
602
+ ExportDestination: ExportDestination | undefined;
603
+ }
604
+ export interface CreateExportJobResponse {
605
+ JobId?: string;
606
+ }
525
607
  export interface ImportDataSource {
526
608
  S3Url: string | undefined;
527
609
  DataFormat: DataFormat | string | undefined;
@@ -672,6 +754,20 @@ export interface DomainDeliverabilityTrackingOption {
672
754
  SubscriptionStartDate?: Date;
673
755
  InboxPlacementTrackingOption?: InboxPlacementTrackingOption;
674
756
  }
757
+ export interface EventDetails {
758
+ Bounce?: Bounce;
759
+ Complaint?: Complaint;
760
+ }
761
+ export interface InsightsEvent {
762
+ Timestamp?: Date;
763
+ Type?: EventType | string;
764
+ Details?: EventDetails;
765
+ }
766
+ export interface EmailInsights {
767
+ Destination?: string;
768
+ Isp?: string;
769
+ Events?: InsightsEvent[];
770
+ }
675
771
  export interface EmailTemplateMetadata {
676
772
  TemplateName?: string;
677
773
  CreatedTimestamp?: Date;
@@ -685,6 +781,31 @@ export interface EventDestination {
685
781
  SnsDestination?: SnsDestination;
686
782
  PinpointDestination?: PinpointDestination;
687
783
  }
784
+ export declare const ExportSourceType: {
785
+ readonly MESSAGE_INSIGHTS: "MESSAGE_INSIGHTS";
786
+ readonly METRICS_DATA: "METRICS_DATA";
787
+ };
788
+ export type ExportSourceType =
789
+ (typeof ExportSourceType)[keyof typeof ExportSourceType];
790
+ export declare const JobStatus: {
791
+ readonly CANCELLED: "CANCELLED";
792
+ readonly COMPLETED: "COMPLETED";
793
+ readonly CREATED: "CREATED";
794
+ readonly FAILED: "FAILED";
795
+ readonly PROCESSING: "PROCESSING";
796
+ };
797
+ export type JobStatus = (typeof JobStatus)[keyof typeof JobStatus];
798
+ export interface ExportJobSummary {
799
+ JobId?: string;
800
+ ExportSourceType?: ExportSourceType | string;
801
+ JobStatus?: JobStatus | string;
802
+ CreatedTimestamp?: Date;
803
+ CompletedTimestamp?: Date;
804
+ }
805
+ export interface ExportStatistics {
806
+ ProcessedRecordsCount?: number;
807
+ ExportedRecordsCount?: number;
808
+ }
688
809
  export interface FailureInfo {
689
810
  FailedRecordsS3Url?: string;
690
811
  ErrorMessage?: string;
@@ -896,16 +1017,23 @@ export interface GetEmailTemplateResponse {
896
1017
  TemplateName: string | undefined;
897
1018
  TemplateContent: EmailTemplateContent | undefined;
898
1019
  }
1020
+ export interface GetExportJobRequest {
1021
+ JobId: string | undefined;
1022
+ }
1023
+ export interface GetExportJobResponse {
1024
+ JobId?: string;
1025
+ ExportSourceType?: ExportSourceType | string;
1026
+ JobStatus?: JobStatus | string;
1027
+ ExportDestination?: ExportDestination;
1028
+ ExportDataSource?: ExportDataSource;
1029
+ CreatedTimestamp?: Date;
1030
+ CompletedTimestamp?: Date;
1031
+ FailureInfo?: FailureInfo;
1032
+ Statistics?: ExportStatistics;
1033
+ }
899
1034
  export interface GetImportJobRequest {
900
1035
  JobId: string | undefined;
901
1036
  }
902
- export declare const JobStatus: {
903
- readonly COMPLETED: "COMPLETED";
904
- readonly CREATED: "CREATED";
905
- readonly FAILED: "FAILED";
906
- readonly PROCESSING: "PROCESSING";
907
- };
908
- export type JobStatus = (typeof JobStatus)[keyof typeof JobStatus];
909
1037
  export interface GetImportJobResponse {
910
1038
  JobId?: string;
911
1039
  ImportDestination?: ImportDestination;
@@ -917,6 +1045,16 @@ export interface GetImportJobResponse {
917
1045
  ProcessedRecordsCount?: number;
918
1046
  FailedRecordsCount?: number;
919
1047
  }
1048
+ export interface GetMessageInsightsRequest {
1049
+ MessageId: string | undefined;
1050
+ }
1051
+ export interface GetMessageInsightsResponse {
1052
+ MessageId?: string;
1053
+ FromEmailAddress?: string;
1054
+ Subject?: string;
1055
+ EmailTags?: MessageTag[];
1056
+ Insights?: EmailInsights[];
1057
+ }
920
1058
  export interface GetSuppressedDestinationRequest {
921
1059
  EmailAddress: string | undefined;
922
1060
  }
@@ -1045,6 +1183,16 @@ export interface ListEmailTemplatesResponse {
1045
1183
  TemplatesMetadata?: EmailTemplateMetadata[];
1046
1184
  NextToken?: string;
1047
1185
  }
1186
+ export interface ListExportJobsRequest {
1187
+ NextToken?: string;
1188
+ PageSize?: number;
1189
+ ExportSourceType?: ExportSourceType | string;
1190
+ JobStatus?: JobStatus | string;
1191
+ }
1192
+ export interface ListExportJobsResponse {
1193
+ ExportJobs?: ExportJobSummary[];
1194
+ NextToken?: string;
1195
+ }
1048
1196
  export interface ListImportJobsRequest {
1049
1197
  ImportDestinationType?: ImportDestinationType | string;
1050
1198
  NextToken?: string;
@@ -1236,101 +1384,6 @@ export interface PutSuppressedDestinationRequest {
1236
1384
  EmailAddress: string | undefined;
1237
1385
  Reason: SuppressionListReason | string | undefined;
1238
1386
  }
1239
- export interface PutSuppressedDestinationResponse {}
1240
- export interface SendBulkEmailRequest {
1241
- FromEmailAddress?: string;
1242
- FromEmailAddressIdentityArn?: string;
1243
- ReplyToAddresses?: string[];
1244
- FeedbackForwardingEmailAddress?: string;
1245
- FeedbackForwardingEmailAddressIdentityArn?: string;
1246
- DefaultEmailTags?: MessageTag[];
1247
- DefaultContent: BulkEmailContent | undefined;
1248
- BulkEmailEntries: BulkEmailEntry[] | undefined;
1249
- ConfigurationSetName?: string;
1250
- }
1251
- export interface SendBulkEmailResponse {
1252
- BulkEmailEntryResults: BulkEmailEntryResult[] | undefined;
1253
- }
1254
- export interface SendCustomVerificationEmailRequest {
1255
- EmailAddress: string | undefined;
1256
- TemplateName: string | undefined;
1257
- ConfigurationSetName?: string;
1258
- }
1259
- export interface SendCustomVerificationEmailResponse {
1260
- MessageId?: string;
1261
- }
1262
- export interface SendEmailRequest {
1263
- FromEmailAddress?: string;
1264
- FromEmailAddressIdentityArn?: string;
1265
- Destination?: Destination;
1266
- ReplyToAddresses?: string[];
1267
- FeedbackForwardingEmailAddress?: string;
1268
- FeedbackForwardingEmailAddressIdentityArn?: string;
1269
- Content: EmailContent | undefined;
1270
- EmailTags?: MessageTag[];
1271
- ConfigurationSetName?: string;
1272
- ListManagementOptions?: ListManagementOptions;
1273
- }
1274
- export interface SendEmailResponse {
1275
- MessageId?: string;
1276
- }
1277
- export interface TagResourceRequest {
1278
- ResourceArn: string | undefined;
1279
- Tags: Tag[] | undefined;
1280
- }
1281
- export interface TagResourceResponse {}
1282
- export interface TestRenderEmailTemplateRequest {
1283
- TemplateName: string | undefined;
1284
- TemplateData: string | undefined;
1285
- }
1286
- export interface TestRenderEmailTemplateResponse {
1287
- RenderedTemplate: string | undefined;
1288
- }
1289
- export interface UntagResourceRequest {
1290
- ResourceArn: string | undefined;
1291
- TagKeys: string[] | undefined;
1292
- }
1293
- export interface UntagResourceResponse {}
1294
- export interface UpdateConfigurationSetEventDestinationRequest {
1295
- ConfigurationSetName: string | undefined;
1296
- EventDestinationName: string | undefined;
1297
- EventDestination: EventDestinationDefinition | undefined;
1298
- }
1299
- export interface UpdateConfigurationSetEventDestinationResponse {}
1300
- export interface UpdateContactRequest {
1301
- ContactListName: string | undefined;
1302
- EmailAddress: string | undefined;
1303
- TopicPreferences?: TopicPreference[];
1304
- UnsubscribeAll?: boolean;
1305
- AttributesData?: string;
1306
- }
1307
- export interface UpdateContactResponse {}
1308
- export interface UpdateContactListRequest {
1309
- ContactListName: string | undefined;
1310
- Topics?: Topic[];
1311
- Description?: string;
1312
- }
1313
- export interface UpdateContactListResponse {}
1314
- export interface UpdateCustomVerificationEmailTemplateRequest {
1315
- TemplateName: string | undefined;
1316
- FromEmailAddress: string | undefined;
1317
- TemplateSubject: string | undefined;
1318
- TemplateContent: string | undefined;
1319
- SuccessRedirectionURL: string | undefined;
1320
- FailureRedirectionURL: string | undefined;
1321
- }
1322
- export interface UpdateCustomVerificationEmailTemplateResponse {}
1323
- export interface UpdateEmailIdentityPolicyRequest {
1324
- EmailIdentity: string | undefined;
1325
- PolicyName: string | undefined;
1326
- Policy: string | undefined;
1327
- }
1328
- export interface UpdateEmailIdentityPolicyResponse {}
1329
- export interface UpdateEmailTemplateRequest {
1330
- TemplateName: string | undefined;
1331
- TemplateContent: EmailTemplateContent | undefined;
1332
- }
1333
- export interface UpdateEmailTemplateResponse {}
1334
1387
  export declare const AccountDetailsFilterSensitiveLog: (
1335
1388
  obj: AccountDetails
1336
1389
  ) => any;
@@ -1340,9 +1393,30 @@ export declare const DkimSigningAttributesFilterSensitiveLog: (
1340
1393
  export declare const CreateEmailIdentityRequestFilterSensitiveLog: (
1341
1394
  obj: CreateEmailIdentityRequest
1342
1395
  ) => any;
1396
+ export declare const MessageInsightsFiltersFilterSensitiveLog: (
1397
+ obj: MessageInsightsFilters
1398
+ ) => any;
1399
+ export declare const MessageInsightsDataSourceFilterSensitiveLog: (
1400
+ obj: MessageInsightsDataSource
1401
+ ) => any;
1402
+ export declare const ExportDataSourceFilterSensitiveLog: (
1403
+ obj: ExportDataSource
1404
+ ) => any;
1405
+ export declare const CreateExportJobRequestFilterSensitiveLog: (
1406
+ obj: CreateExportJobRequest
1407
+ ) => any;
1408
+ export declare const EmailInsightsFilterSensitiveLog: (
1409
+ obj: EmailInsights
1410
+ ) => any;
1343
1411
  export declare const GetAccountResponseFilterSensitiveLog: (
1344
1412
  obj: GetAccountResponse
1345
1413
  ) => any;
1414
+ export declare const GetExportJobResponseFilterSensitiveLog: (
1415
+ obj: GetExportJobResponse
1416
+ ) => any;
1417
+ export declare const GetMessageInsightsResponseFilterSensitiveLog: (
1418
+ obj: GetMessageInsightsResponse
1419
+ ) => any;
1346
1420
  export declare const PutAccountDetailsRequestFilterSensitiveLog: (
1347
1421
  obj: PutAccountDetailsRequest
1348
1422
  ) => any;
@@ -0,0 +1,109 @@
1
+ import {
2
+ BulkEmailContent,
3
+ BulkEmailEntry,
4
+ BulkEmailEntryResult,
5
+ Destination,
6
+ EmailContent,
7
+ EmailTemplateContent,
8
+ EventDestinationDefinition,
9
+ ListManagementOptions,
10
+ MessageTag,
11
+ Tag,
12
+ Topic,
13
+ TopicPreference,
14
+ } from "./models_0";
15
+ export interface PutSuppressedDestinationResponse {}
16
+ export interface SendBulkEmailRequest {
17
+ FromEmailAddress?: string;
18
+ FromEmailAddressIdentityArn?: string;
19
+ ReplyToAddresses?: string[];
20
+ FeedbackForwardingEmailAddress?: string;
21
+ FeedbackForwardingEmailAddressIdentityArn?: string;
22
+ DefaultEmailTags?: MessageTag[];
23
+ DefaultContent: BulkEmailContent | undefined;
24
+ BulkEmailEntries: BulkEmailEntry[] | undefined;
25
+ ConfigurationSetName?: string;
26
+ }
27
+ export interface SendBulkEmailResponse {
28
+ BulkEmailEntryResults: BulkEmailEntryResult[] | undefined;
29
+ }
30
+ export interface SendCustomVerificationEmailRequest {
31
+ EmailAddress: string | undefined;
32
+ TemplateName: string | undefined;
33
+ ConfigurationSetName?: string;
34
+ }
35
+ export interface SendCustomVerificationEmailResponse {
36
+ MessageId?: string;
37
+ }
38
+ export interface SendEmailRequest {
39
+ FromEmailAddress?: string;
40
+ FromEmailAddressIdentityArn?: string;
41
+ Destination?: Destination;
42
+ ReplyToAddresses?: string[];
43
+ FeedbackForwardingEmailAddress?: string;
44
+ FeedbackForwardingEmailAddressIdentityArn?: string;
45
+ Content: EmailContent | undefined;
46
+ EmailTags?: MessageTag[];
47
+ ConfigurationSetName?: string;
48
+ ListManagementOptions?: ListManagementOptions;
49
+ }
50
+ export interface SendEmailResponse {
51
+ MessageId?: string;
52
+ }
53
+ export interface TagResourceRequest {
54
+ ResourceArn: string | undefined;
55
+ Tags: Tag[] | undefined;
56
+ }
57
+ export interface TagResourceResponse {}
58
+ export interface TestRenderEmailTemplateRequest {
59
+ TemplateName: string | undefined;
60
+ TemplateData: string | undefined;
61
+ }
62
+ export interface TestRenderEmailTemplateResponse {
63
+ RenderedTemplate: string | undefined;
64
+ }
65
+ export interface UntagResourceRequest {
66
+ ResourceArn: string | undefined;
67
+ TagKeys: string[] | undefined;
68
+ }
69
+ export interface UntagResourceResponse {}
70
+ export interface UpdateConfigurationSetEventDestinationRequest {
71
+ ConfigurationSetName: string | undefined;
72
+ EventDestinationName: string | undefined;
73
+ EventDestination: EventDestinationDefinition | undefined;
74
+ }
75
+ export interface UpdateConfigurationSetEventDestinationResponse {}
76
+ export interface UpdateContactRequest {
77
+ ContactListName: string | undefined;
78
+ EmailAddress: string | undefined;
79
+ TopicPreferences?: TopicPreference[];
80
+ UnsubscribeAll?: boolean;
81
+ AttributesData?: string;
82
+ }
83
+ export interface UpdateContactResponse {}
84
+ export interface UpdateContactListRequest {
85
+ ContactListName: string | undefined;
86
+ Topics?: Topic[];
87
+ Description?: string;
88
+ }
89
+ export interface UpdateContactListResponse {}
90
+ export interface UpdateCustomVerificationEmailTemplateRequest {
91
+ TemplateName: string | undefined;
92
+ FromEmailAddress: string | undefined;
93
+ TemplateSubject: string | undefined;
94
+ TemplateContent: string | undefined;
95
+ SuccessRedirectionURL: string | undefined;
96
+ FailureRedirectionURL: string | undefined;
97
+ }
98
+ export interface UpdateCustomVerificationEmailTemplateResponse {}
99
+ export interface UpdateEmailIdentityPolicyRequest {
100
+ EmailIdentity: string | undefined;
101
+ PolicyName: string | undefined;
102
+ Policy: string | undefined;
103
+ }
104
+ export interface UpdateEmailIdentityPolicyResponse {}
105
+ export interface UpdateEmailTemplateRequest {
106
+ TemplateName: string | undefined;
107
+ TemplateContent: EmailTemplateContent | undefined;
108
+ }
109
+ export interface UpdateEmailTemplateResponse {}
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListExportJobsCommandInput,
4
+ ListExportJobsCommandOutput,
5
+ } from "../commands/ListExportJobsCommand";
6
+ import { SESv2PaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateListExportJobs(
8
+ config: SESv2PaginationConfiguration,
9
+ input: ListExportJobsCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<ListExportJobsCommandOutput>;
@@ -9,6 +9,7 @@ export * from "./ListDeliverabilityTestReportsPaginator";
9
9
  export * from "./ListDomainDeliverabilityCampaignsPaginator";
10
10
  export * from "./ListEmailIdentitiesPaginator";
11
11
  export * from "./ListEmailTemplatesPaginator";
12
+ export * from "./ListExportJobsPaginator";
12
13
  export * from "./ListImportJobsPaginator";
13
14
  export * from "./ListRecommendationsPaginator";
14
15
  export * from "./ListSuppressedDestinationsPaginator";
@@ -7,6 +7,10 @@ import {
7
7
  BatchGetMetricDataCommandInput,
8
8
  BatchGetMetricDataCommandOutput,
9
9
  } from "../commands/BatchGetMetricDataCommand";
10
+ import {
11
+ CancelExportJobCommandInput,
12
+ CancelExportJobCommandOutput,
13
+ } from "../commands/CancelExportJobCommand";
10
14
  import {
11
15
  CreateConfigurationSetCommandInput,
12
16
  CreateConfigurationSetCommandOutput,
@@ -47,6 +51,10 @@ import {
47
51
  CreateEmailTemplateCommandInput,
48
52
  CreateEmailTemplateCommandOutput,
49
53
  } from "../commands/CreateEmailTemplateCommand";
54
+ import {
55
+ CreateExportJobCommandInput,
56
+ CreateExportJobCommandOutput,
57
+ } from "../commands/CreateExportJobCommand";
50
58
  import {
51
59
  CreateImportJobCommandInput,
52
60
  CreateImportJobCommandOutput,
@@ -159,10 +167,18 @@ import {
159
167
  GetEmailTemplateCommandInput,
160
168
  GetEmailTemplateCommandOutput,
161
169
  } from "../commands/GetEmailTemplateCommand";
170
+ import {
171
+ GetExportJobCommandInput,
172
+ GetExportJobCommandOutput,
173
+ } from "../commands/GetExportJobCommand";
162
174
  import {
163
175
  GetImportJobCommandInput,
164
176
  GetImportJobCommandOutput,
165
177
  } from "../commands/GetImportJobCommand";
178
+ import {
179
+ GetMessageInsightsCommandInput,
180
+ GetMessageInsightsCommandOutput,
181
+ } from "../commands/GetMessageInsightsCommand";
166
182
  import {
167
183
  GetSuppressedDestinationCommandInput,
168
184
  GetSuppressedDestinationCommandOutput,
@@ -203,6 +219,10 @@ import {
203
219
  ListEmailTemplatesCommandInput,
204
220
  ListEmailTemplatesCommandOutput,
205
221
  } from "../commands/ListEmailTemplatesCommand";
222
+ import {
223
+ ListExportJobsCommandInput,
224
+ ListExportJobsCommandOutput,
225
+ } from "../commands/ListExportJobsCommand";
206
226
  import {
207
227
  ListImportJobsCommandInput,
208
228
  ListImportJobsCommandOutput,
@@ -355,6 +375,10 @@ export declare const se_BatchGetMetricDataCommand: (
355
375
  input: BatchGetMetricDataCommandInput,
356
376
  context: __SerdeContext
357
377
  ) => Promise<__HttpRequest>;
378
+ export declare const se_CancelExportJobCommand: (
379
+ input: CancelExportJobCommandInput,
380
+ context: __SerdeContext
381
+ ) => Promise<__HttpRequest>;
358
382
  export declare const se_CreateConfigurationSetCommand: (
359
383
  input: CreateConfigurationSetCommandInput,
360
384
  context: __SerdeContext
@@ -395,6 +419,10 @@ export declare const se_CreateEmailTemplateCommand: (
395
419
  input: CreateEmailTemplateCommandInput,
396
420
  context: __SerdeContext
397
421
  ) => Promise<__HttpRequest>;
422
+ export declare const se_CreateExportJobCommand: (
423
+ input: CreateExportJobCommandInput,
424
+ context: __SerdeContext
425
+ ) => Promise<__HttpRequest>;
398
426
  export declare const se_CreateImportJobCommand: (
399
427
  input: CreateImportJobCommandInput,
400
428
  context: __SerdeContext
@@ -507,10 +535,18 @@ export declare const se_GetEmailTemplateCommand: (
507
535
  input: GetEmailTemplateCommandInput,
508
536
  context: __SerdeContext
509
537
  ) => Promise<__HttpRequest>;
538
+ export declare const se_GetExportJobCommand: (
539
+ input: GetExportJobCommandInput,
540
+ context: __SerdeContext
541
+ ) => Promise<__HttpRequest>;
510
542
  export declare const se_GetImportJobCommand: (
511
543
  input: GetImportJobCommandInput,
512
544
  context: __SerdeContext
513
545
  ) => Promise<__HttpRequest>;
546
+ export declare const se_GetMessageInsightsCommand: (
547
+ input: GetMessageInsightsCommandInput,
548
+ context: __SerdeContext
549
+ ) => Promise<__HttpRequest>;
514
550
  export declare const se_GetSuppressedDestinationCommand: (
515
551
  input: GetSuppressedDestinationCommandInput,
516
552
  context: __SerdeContext
@@ -551,6 +587,10 @@ export declare const se_ListEmailTemplatesCommand: (
551
587
  input: ListEmailTemplatesCommandInput,
552
588
  context: __SerdeContext
553
589
  ) => Promise<__HttpRequest>;
590
+ export declare const se_ListExportJobsCommand: (
591
+ input: ListExportJobsCommandInput,
592
+ context: __SerdeContext
593
+ ) => Promise<__HttpRequest>;
554
594
  export declare const se_ListImportJobsCommand: (
555
595
  input: ListImportJobsCommandInput,
556
596
  context: __SerdeContext
@@ -703,6 +743,10 @@ export declare const de_BatchGetMetricDataCommand: (
703
743
  output: __HttpResponse,
704
744
  context: __SerdeContext
705
745
  ) => Promise<BatchGetMetricDataCommandOutput>;
746
+ export declare const de_CancelExportJobCommand: (
747
+ output: __HttpResponse,
748
+ context: __SerdeContext
749
+ ) => Promise<CancelExportJobCommandOutput>;
706
750
  export declare const de_CreateConfigurationSetCommand: (
707
751
  output: __HttpResponse,
708
752
  context: __SerdeContext
@@ -743,6 +787,10 @@ export declare const de_CreateEmailTemplateCommand: (
743
787
  output: __HttpResponse,
744
788
  context: __SerdeContext
745
789
  ) => Promise<CreateEmailTemplateCommandOutput>;
790
+ export declare const de_CreateExportJobCommand: (
791
+ output: __HttpResponse,
792
+ context: __SerdeContext
793
+ ) => Promise<CreateExportJobCommandOutput>;
746
794
  export declare const de_CreateImportJobCommand: (
747
795
  output: __HttpResponse,
748
796
  context: __SerdeContext
@@ -855,10 +903,18 @@ export declare const de_GetEmailTemplateCommand: (
855
903
  output: __HttpResponse,
856
904
  context: __SerdeContext
857
905
  ) => Promise<GetEmailTemplateCommandOutput>;
906
+ export declare const de_GetExportJobCommand: (
907
+ output: __HttpResponse,
908
+ context: __SerdeContext
909
+ ) => Promise<GetExportJobCommandOutput>;
858
910
  export declare const de_GetImportJobCommand: (
859
911
  output: __HttpResponse,
860
912
  context: __SerdeContext
861
913
  ) => Promise<GetImportJobCommandOutput>;
914
+ export declare const de_GetMessageInsightsCommand: (
915
+ output: __HttpResponse,
916
+ context: __SerdeContext
917
+ ) => Promise<GetMessageInsightsCommandOutput>;
862
918
  export declare const de_GetSuppressedDestinationCommand: (
863
919
  output: __HttpResponse,
864
920
  context: __SerdeContext
@@ -899,6 +955,10 @@ export declare const de_ListEmailTemplatesCommand: (
899
955
  output: __HttpResponse,
900
956
  context: __SerdeContext
901
957
  ) => Promise<ListEmailTemplatesCommandOutput>;
958
+ export declare const de_ListExportJobsCommand: (
959
+ output: __HttpResponse,
960
+ context: __SerdeContext
961
+ ) => Promise<ListExportJobsCommandOutput>;
902
962
  export declare const de_ListImportJobsCommand: (
903
963
  output: __HttpResponse,
904
964
  context: __SerdeContext
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.398.0",
4
+ "version": "3.403.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",