@aws-sdk/client-sesv2 3.427.0 → 3.429.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.
@@ -1,4 +1,71 @@
1
- import { BulkEmailContent, BulkEmailEntry, BulkEmailEntryResult, Destination, EmailContent, EmailTemplateContent, EventDestinationDefinition, ListManagementOptions, MessageTag, Tag, Topic, TopicPreference } from "./models_0";
1
+ import { BehaviorOnMxFailure, BulkEmailContent, BulkEmailEntry, BulkEmailEntryResult, Destination, EmailContent, EmailTemplateContent, EventDestinationDefinition, ListManagementOptions, MessageTag, SuppressionListReason, Tag, Topic, TopicPreference } from "./models_0";
2
+ /**
3
+ * @public
4
+ * <p>A request to configure the custom MAIL FROM domain for a verified identity.</p>
5
+ */
6
+ export interface PutEmailIdentityMailFromAttributesRequest {
7
+ /**
8
+ * @public
9
+ * <p>The verified email identity.</p>
10
+ */
11
+ EmailIdentity: string | undefined;
12
+ /**
13
+ * @public
14
+ * <p> The custom MAIL FROM domain that you want the verified identity to use. The MAIL FROM
15
+ * domain must meet the following criteria:</p>
16
+ * <ul>
17
+ * <li>
18
+ * <p>It has to be a subdomain of the verified identity.</p>
19
+ * </li>
20
+ * <li>
21
+ * <p>It can't be used to receive email.</p>
22
+ * </li>
23
+ * <li>
24
+ * <p>It can't be used in a "From" address if the MAIL FROM domain is a destination
25
+ * for feedback forwarding emails.</p>
26
+ * </li>
27
+ * </ul>
28
+ */
29
+ MailFromDomain?: string;
30
+ /**
31
+ * @public
32
+ * <p>The action to take if the required MX record isn't found when you send an email. When
33
+ * you set this value to <code>UseDefaultValue</code>, the mail is sent using
34
+ * <i>amazonses.com</i> as the MAIL FROM domain. When you set this value
35
+ * to <code>RejectMessage</code>, the Amazon SES API v2 returns a
36
+ * <code>MailFromDomainNotVerified</code> error, and doesn't attempt to deliver the
37
+ * email.</p>
38
+ * <p>These behaviors are taken when the custom MAIL FROM domain configuration is in the
39
+ * <code>Pending</code>, <code>Failed</code>, and <code>TemporaryFailure</code>
40
+ * states.</p>
41
+ */
42
+ BehaviorOnMxFailure?: BehaviorOnMxFailure;
43
+ }
44
+ /**
45
+ * @public
46
+ * <p>An HTTP 200 response if the request succeeds, or an error message if the request
47
+ * fails.</p>
48
+ */
49
+ export interface PutEmailIdentityMailFromAttributesResponse {
50
+ }
51
+ /**
52
+ * @public
53
+ * <p>A request to add an email destination to the suppression list for your account.</p>
54
+ */
55
+ export interface PutSuppressedDestinationRequest {
56
+ /**
57
+ * @public
58
+ * <p>The email address that should be added to the suppression list for your
59
+ * account.</p>
60
+ */
61
+ EmailAddress: string | undefined;
62
+ /**
63
+ * @public
64
+ * <p>The factors that should cause the email address to be added to the suppression list
65
+ * for your account.</p>
66
+ */
67
+ Reason: SuppressionListReason | undefined;
68
+ }
2
69
  /**
3
70
  * @public
4
71
  * <p>An HTTP 200 response if the request succeeds, or an error message if the request
@@ -9,7 +9,7 @@ import {
9
9
  import {
10
10
  PutEmailIdentityMailFromAttributesRequest,
11
11
  PutEmailIdentityMailFromAttributesResponse,
12
- } from "../models/models_0";
12
+ } from "../models/models_1";
13
13
  import {
14
14
  ServiceInputTypes,
15
15
  ServiceOutputTypes,
@@ -6,8 +6,10 @@ import {
6
6
  MetadataBearer as __MetadataBearer,
7
7
  MiddlewareStack,
8
8
  } from "@smithy/types";
9
- import { PutSuppressedDestinationRequest } from "../models/models_0";
10
- import { PutSuppressedDestinationResponse } from "../models/models_1";
9
+ import {
10
+ PutSuppressedDestinationRequest,
11
+ PutSuppressedDestinationResponse,
12
+ } from "../models/models_1";
11
13
  import {
12
14
  ServiceInputTypes,
13
15
  ServiceOutputTypes,
@@ -19,13 +19,13 @@ export declare const ReviewStatus: {
19
19
  };
20
20
  export type ReviewStatus = (typeof ReviewStatus)[keyof typeof ReviewStatus];
21
21
  export interface ReviewDetails {
22
- Status?: ReviewStatus | string;
22
+ Status?: ReviewStatus;
23
23
  CaseId?: string;
24
24
  }
25
25
  export interface AccountDetails {
26
- MailType?: MailType | string;
26
+ MailType?: MailType;
27
27
  WebsiteURL?: string;
28
- ContactLanguage?: ContactLanguage | string;
28
+ ContactLanguage?: ContactLanguage;
29
29
  UseCaseDescription?: string;
30
30
  AdditionalContactEmailAddresses?: string[];
31
31
  ReviewDetails?: ReviewDetails;
@@ -78,9 +78,9 @@ export type MetricNamespace =
78
78
  (typeof MetricNamespace)[keyof typeof MetricNamespace];
79
79
  export interface BatchGetMetricDataQuery {
80
80
  Id: string | undefined;
81
- Namespace: MetricNamespace | string | undefined;
82
- Metric: Metric | string | undefined;
83
- Dimensions?: Record<string, string>;
81
+ Namespace: MetricNamespace | undefined;
82
+ Metric: Metric | undefined;
83
+ Dimensions?: Record<MetricDimensionName, string>;
84
84
  StartDate: Date | undefined;
85
85
  EndDate: Date | undefined;
86
86
  }
@@ -95,7 +95,7 @@ export type QueryErrorCode =
95
95
  (typeof QueryErrorCode)[keyof typeof QueryErrorCode];
96
96
  export interface MetricDataError {
97
97
  Id?: string;
98
- Code?: QueryErrorCode | string;
98
+ Code?: QueryErrorCode;
99
99
  Message?: string;
100
100
  }
101
101
  export interface MetricDataResult {
@@ -152,7 +152,7 @@ export declare const BounceType: {
152
152
  };
153
153
  export type BounceType = (typeof BounceType)[keyof typeof BounceType];
154
154
  export interface Bounce {
155
- BounceType?: BounceType | string;
155
+ BounceType?: BounceType;
156
156
  BounceSubType?: string;
157
157
  DiagnosticCode?: string;
158
158
  }
@@ -203,7 +203,7 @@ export declare const BulkEmailStatus: {
203
203
  export type BulkEmailStatus =
204
204
  (typeof BulkEmailStatus)[keyof typeof BulkEmailStatus];
205
205
  export interface BulkEmailEntryResult {
206
- Status?: BulkEmailStatus | string;
206
+ Status?: BulkEmailStatus;
207
207
  Error?: string;
208
208
  MessageId?: string;
209
209
  }
@@ -220,7 +220,7 @@ export type DimensionValueSource =
220
220
  (typeof DimensionValueSource)[keyof typeof DimensionValueSource];
221
221
  export interface CloudWatchDimensionConfiguration {
222
222
  DimensionName: string | undefined;
223
- DimensionValueSource: DimensionValueSource | string | undefined;
223
+ DimensionValueSource: DimensionValueSource | undefined;
224
224
  DefaultDimensionValue: string | undefined;
225
225
  }
226
226
  export interface CloudWatchDestination {
@@ -253,7 +253,7 @@ export type SubscriptionStatus =
253
253
  (typeof SubscriptionStatus)[keyof typeof SubscriptionStatus];
254
254
  export interface TopicPreference {
255
255
  TopicName: string | undefined;
256
- SubscriptionStatus: SubscriptionStatus | string | undefined;
256
+ SubscriptionStatus: SubscriptionStatus | undefined;
257
257
  }
258
258
  export interface Contact {
259
259
  EmailAddress?: string;
@@ -274,7 +274,7 @@ export type ContactListImportAction =
274
274
  (typeof ContactListImportAction)[keyof typeof ContactListImportAction];
275
275
  export interface ContactListDestination {
276
276
  ContactListName: string | undefined;
277
- ContactListImportAction: ContactListImportAction | string | undefined;
277
+ ContactListImportAction: ContactListImportAction | undefined;
278
278
  }
279
279
  export declare const TlsPolicy: {
280
280
  readonly OPTIONAL: "OPTIONAL";
@@ -282,7 +282,7 @@ export declare const TlsPolicy: {
282
282
  };
283
283
  export type TlsPolicy = (typeof TlsPolicy)[keyof typeof TlsPolicy];
284
284
  export interface DeliveryOptions {
285
- TlsPolicy?: TlsPolicy | string;
285
+ TlsPolicy?: TlsPolicy;
286
286
  SendingPoolName?: string;
287
287
  }
288
288
  export interface ReputationOptions {
@@ -299,7 +299,7 @@ export declare const SuppressionListReason: {
299
299
  export type SuppressionListReason =
300
300
  (typeof SuppressionListReason)[keyof typeof SuppressionListReason];
301
301
  export interface SuppressionOptions {
302
- SuppressedReasons?: (SuppressionListReason | string)[];
302
+ SuppressedReasons?: SuppressionListReason[];
303
303
  }
304
304
  export interface Tag {
305
305
  Key: string | undefined;
@@ -314,10 +314,10 @@ export declare const FeatureStatus: {
314
314
  };
315
315
  export type FeatureStatus = (typeof FeatureStatus)[keyof typeof FeatureStatus];
316
316
  export interface DashboardOptions {
317
- EngagementMetrics?: FeatureStatus | string;
317
+ EngagementMetrics?: FeatureStatus;
318
318
  }
319
319
  export interface GuardianOptions {
320
- OptimizedSharedDelivery?: FeatureStatus | string;
320
+ OptimizedSharedDelivery?: FeatureStatus;
321
321
  }
322
322
  export interface VdmOptions {
323
323
  DashboardOptions?: DashboardOptions;
@@ -366,7 +366,7 @@ export interface SnsDestination {
366
366
  }
367
367
  export interface EventDestinationDefinition {
368
368
  Enabled?: boolean;
369
- MatchingEventTypes?: (EventType | string)[];
369
+ MatchingEventTypes?: EventType[];
370
370
  KinesisFirehoseDestination?: KinesisFirehoseDestination;
371
371
  CloudWatchDestination?: CloudWatchDestination;
372
372
  SnsDestination?: SnsDestination;
@@ -390,7 +390,7 @@ export interface Topic {
390
390
  TopicName: string | undefined;
391
391
  DisplayName: string | undefined;
392
392
  Description?: string;
393
- DefaultSubscriptionStatus: SubscriptionStatus | string | undefined;
393
+ DefaultSubscriptionStatus: SubscriptionStatus | undefined;
394
394
  }
395
395
  export interface CreateContactListRequest {
396
396
  ContactListName: string | undefined;
@@ -416,7 +416,7 @@ export type ScalingMode = (typeof ScalingMode)[keyof typeof ScalingMode];
416
416
  export interface CreateDedicatedIpPoolRequest {
417
417
  PoolName: string | undefined;
418
418
  Tags?: Tag[];
419
- ScalingMode?: ScalingMode | string;
419
+ ScalingMode?: ScalingMode;
420
420
  }
421
421
  export interface CreateDedicatedIpPoolResponse {}
422
422
  export interface RawMessage {
@@ -445,7 +445,7 @@ export type DeliverabilityTestStatus =
445
445
  (typeof DeliverabilityTestStatus)[keyof typeof DeliverabilityTestStatus];
446
446
  export interface CreateDeliverabilityTestReportResponse {
447
447
  ReportId: string | undefined;
448
- DeliverabilityTestStatus: DeliverabilityTestStatus | string | undefined;
448
+ DeliverabilityTestStatus: DeliverabilityTestStatus | undefined;
449
449
  }
450
450
  export declare class MailFromDomainNotVerifiedException extends __BaseException {
451
451
  readonly name: "MailFromDomainNotVerifiedException";
@@ -478,7 +478,7 @@ export type DkimSigningKeyLength =
478
478
  export interface DkimSigningAttributes {
479
479
  DomainSigningSelector?: string;
480
480
  DomainSigningPrivateKey?: string;
481
- NextSigningKeyLength?: DkimSigningKeyLength | string;
481
+ NextSigningKeyLength?: DkimSigningKeyLength;
482
482
  }
483
483
  export interface CreateEmailIdentityRequest {
484
484
  EmailIdentity: string | undefined;
@@ -502,11 +502,11 @@ export declare const DkimStatus: {
502
502
  export type DkimStatus = (typeof DkimStatus)[keyof typeof DkimStatus];
503
503
  export interface DkimAttributes {
504
504
  SigningEnabled?: boolean;
505
- Status?: DkimStatus | string;
505
+ Status?: DkimStatus;
506
506
  Tokens?: string[];
507
- SigningAttributesOrigin?: DkimSigningAttributesOrigin | string;
508
- NextSigningKeyLength?: DkimSigningKeyLength | string;
509
- CurrentSigningKeyLength?: DkimSigningKeyLength | string;
507
+ SigningAttributesOrigin?: DkimSigningAttributesOrigin;
508
+ NextSigningKeyLength?: DkimSigningKeyLength;
509
+ CurrentSigningKeyLength?: DkimSigningKeyLength;
510
510
  LastKeyGenerationTimestamp?: Date;
511
511
  }
512
512
  export declare const IdentityType: {
@@ -516,7 +516,7 @@ export declare const IdentityType: {
516
516
  };
517
517
  export type IdentityType = (typeof IdentityType)[keyof typeof IdentityType];
518
518
  export interface CreateEmailIdentityResponse {
519
- IdentityType?: IdentityType | string;
519
+ IdentityType?: IdentityType;
520
520
  VerifiedForSendingStatus?: boolean;
521
521
  DkimAttributes?: DkimAttributes;
522
522
  }
@@ -557,8 +557,8 @@ export interface MessageInsightsFilters {
557
557
  Destination?: string[];
558
558
  Subject?: string[];
559
559
  Isp?: string[];
560
- LastDeliveryEvent?: (DeliveryEventType | string)[];
561
- LastEngagementEvent?: (EngagementEventType | string)[];
560
+ LastDeliveryEvent?: DeliveryEventType[];
561
+ LastEngagementEvent?: EngagementEventType[];
562
562
  }
563
563
  export interface MessageInsightsDataSource {
564
564
  StartDate: Date | undefined;
@@ -574,12 +574,12 @@ export declare const MetricAggregation: {
574
574
  export type MetricAggregation =
575
575
  (typeof MetricAggregation)[keyof typeof MetricAggregation];
576
576
  export interface ExportMetric {
577
- Name?: Metric | string;
578
- Aggregation?: MetricAggregation | string;
577
+ Name?: Metric;
578
+ Aggregation?: MetricAggregation;
579
579
  }
580
580
  export interface MetricsDataSource {
581
- Dimensions: Record<string, string[]> | undefined;
582
- Namespace: MetricNamespace | string | undefined;
581
+ Dimensions: Record<MetricDimensionName, string[]> | undefined;
582
+ Namespace: MetricNamespace | undefined;
583
583
  Metrics: ExportMetric[] | undefined;
584
584
  StartDate: Date | undefined;
585
585
  EndDate: Date | undefined;
@@ -594,7 +594,7 @@ export declare const DataFormat: {
594
594
  };
595
595
  export type DataFormat = (typeof DataFormat)[keyof typeof DataFormat];
596
596
  export interface ExportDestination {
597
- DataFormat: DataFormat | string | undefined;
597
+ DataFormat: DataFormat | undefined;
598
598
  S3Url?: string;
599
599
  }
600
600
  export interface CreateExportJobRequest {
@@ -606,7 +606,7 @@ export interface CreateExportJobResponse {
606
606
  }
607
607
  export interface ImportDataSource {
608
608
  S3Url: string | undefined;
609
- DataFormat: DataFormat | string | undefined;
609
+ DataFormat: DataFormat | undefined;
610
610
  }
611
611
  export declare const SuppressionListImportAction: {
612
612
  readonly DELETE: "DELETE";
@@ -615,7 +615,7 @@ export declare const SuppressionListImportAction: {
615
615
  export type SuppressionListImportAction =
616
616
  (typeof SuppressionListImportAction)[keyof typeof SuppressionListImportAction];
617
617
  export interface SuppressionListDestination {
618
- SuppressionListImportAction: SuppressionListImportAction | string | undefined;
618
+ SuppressionListImportAction: SuppressionListImportAction | undefined;
619
619
  }
620
620
  export interface ImportDestination {
621
621
  SuppressionListDestination?: SuppressionListDestination;
@@ -654,7 +654,7 @@ export interface DailyVolume {
654
654
  DomainIspPlacements?: DomainIspPlacement[];
655
655
  }
656
656
  export interface DashboardAttributes {
657
- EngagementMetrics?: FeatureStatus | string;
657
+ EngagementMetrics?: FeatureStatus;
658
658
  }
659
659
  export declare const WarmupStatus: {
660
660
  readonly DONE: "DONE";
@@ -663,13 +663,13 @@ export declare const WarmupStatus: {
663
663
  export type WarmupStatus = (typeof WarmupStatus)[keyof typeof WarmupStatus];
664
664
  export interface DedicatedIp {
665
665
  Ip: string | undefined;
666
- WarmupStatus: WarmupStatus | string | undefined;
666
+ WarmupStatus: WarmupStatus | undefined;
667
667
  WarmupPercentage: number | undefined;
668
668
  PoolName?: string;
669
669
  }
670
670
  export interface DedicatedIpPool {
671
671
  PoolName: string | undefined;
672
- ScalingMode: ScalingMode | string | undefined;
672
+ ScalingMode: ScalingMode | undefined;
673
673
  }
674
674
  export interface DeleteConfigurationSetRequest {
675
675
  ConfigurationSetName: string | undefined;
@@ -727,7 +727,7 @@ export interface DeliverabilityTestReport {
727
727
  Subject?: string;
728
728
  FromEmailAddress?: string;
729
729
  CreateDate?: Date;
730
- DeliverabilityTestStatus?: DeliverabilityTestStatus | string;
730
+ DeliverabilityTestStatus?: DeliverabilityTestStatus;
731
731
  }
732
732
  export interface DomainDeliverabilityCampaign {
733
733
  CampaignId?: string;
@@ -760,7 +760,7 @@ export interface EventDetails {
760
760
  }
761
761
  export interface InsightsEvent {
762
762
  Timestamp?: Date;
763
- Type?: EventType | string;
763
+ Type?: EventType;
764
764
  Details?: EventDetails;
765
765
  }
766
766
  export interface EmailInsights {
@@ -775,7 +775,7 @@ export interface EmailTemplateMetadata {
775
775
  export interface EventDestination {
776
776
  Name: string | undefined;
777
777
  Enabled?: boolean;
778
- MatchingEventTypes: (EventType | string)[] | undefined;
778
+ MatchingEventTypes: EventType[] | undefined;
779
779
  KinesisFirehoseDestination?: KinesisFirehoseDestination;
780
780
  CloudWatchDestination?: CloudWatchDestination;
781
781
  SnsDestination?: SnsDestination;
@@ -797,8 +797,8 @@ export declare const JobStatus: {
797
797
  export type JobStatus = (typeof JobStatus)[keyof typeof JobStatus];
798
798
  export interface ExportJobSummary {
799
799
  JobId?: string;
800
- ExportSourceType?: ExportSourceType | string;
801
- JobStatus?: JobStatus | string;
800
+ ExportSourceType?: ExportSourceType;
801
+ JobStatus?: JobStatus;
802
802
  CreatedTimestamp?: Date;
803
803
  CompletedTimestamp?: Date;
804
804
  }
@@ -817,13 +817,13 @@ export interface SendQuota {
817
817
  SentLast24Hours?: number;
818
818
  }
819
819
  export interface SuppressionAttributes {
820
- SuppressedReasons?: (SuppressionListReason | string)[];
820
+ SuppressedReasons?: SuppressionListReason[];
821
821
  }
822
822
  export interface GuardianAttributes {
823
- OptimizedSharedDelivery?: FeatureStatus | string;
823
+ OptimizedSharedDelivery?: FeatureStatus;
824
824
  }
825
825
  export interface VdmAttributes {
826
- VdmEnabled: FeatureStatus | string | undefined;
826
+ VdmEnabled: FeatureStatus | undefined;
827
827
  DashboardAttributes?: DashboardAttributes;
828
828
  GuardianAttributes?: GuardianAttributes;
829
829
  }
@@ -923,7 +923,7 @@ export interface GetDeliverabilityDashboardOptionsRequest {}
923
923
  export interface GetDeliverabilityDashboardOptionsResponse {
924
924
  DashboardEnabled: boolean | undefined;
925
925
  SubscriptionExpiryDate?: Date;
926
- AccountStatus?: DeliverabilityDashboardAccountStatus | string;
926
+ AccountStatus?: DeliverabilityDashboardAccountStatus;
927
927
  ActiveSubscribedDomains?: DomainDeliverabilityTrackingOption[];
928
928
  PendingExpirationSubscribedDomains?: DomainDeliverabilityTrackingOption[];
929
929
  }
@@ -981,8 +981,28 @@ export type MailFromDomainStatus =
981
981
  (typeof MailFromDomainStatus)[keyof typeof MailFromDomainStatus];
982
982
  export interface MailFromAttributes {
983
983
  MailFromDomain: string | undefined;
984
- MailFromDomainStatus: MailFromDomainStatus | string | undefined;
985
- BehaviorOnMxFailure: BehaviorOnMxFailure | string | undefined;
984
+ MailFromDomainStatus: MailFromDomainStatus | undefined;
985
+ BehaviorOnMxFailure: BehaviorOnMxFailure | undefined;
986
+ }
987
+ export declare const VerificationError: {
988
+ readonly DNS_SERVER_ERROR: "DNS_SERVER_ERROR";
989
+ readonly HOST_NOT_FOUND: "HOST_NOT_FOUND";
990
+ readonly INVALID_VALUE: "INVALID_VALUE";
991
+ readonly SERVICE_ERROR: "SERVICE_ERROR";
992
+ readonly TYPE_NOT_FOUND: "TYPE_NOT_FOUND";
993
+ };
994
+ export type VerificationError =
995
+ (typeof VerificationError)[keyof typeof VerificationError];
996
+ export interface SOARecord {
997
+ PrimaryNameServer?: string;
998
+ AdminEmail?: string;
999
+ SerialNumber?: number;
1000
+ }
1001
+ export interface VerificationInfo {
1002
+ LastCheckedTimestamp?: Date;
1003
+ LastSuccessTimestamp?: Date;
1004
+ ErrorType?: VerificationError;
1005
+ SOARecord?: SOARecord;
986
1006
  }
987
1007
  export declare const VerificationStatus: {
988
1008
  readonly FAILED: "FAILED";
@@ -994,7 +1014,7 @@ export declare const VerificationStatus: {
994
1014
  export type VerificationStatus =
995
1015
  (typeof VerificationStatus)[keyof typeof VerificationStatus];
996
1016
  export interface GetEmailIdentityResponse {
997
- IdentityType?: IdentityType | string;
1017
+ IdentityType?: IdentityType;
998
1018
  FeedbackForwardingStatus?: boolean;
999
1019
  VerifiedForSendingStatus?: boolean;
1000
1020
  DkimAttributes?: DkimAttributes;
@@ -1002,7 +1022,8 @@ export interface GetEmailIdentityResponse {
1002
1022
  Policies?: Record<string, string>;
1003
1023
  Tags?: Tag[];
1004
1024
  ConfigurationSetName?: string;
1005
- VerificationStatus?: VerificationStatus | string;
1025
+ VerificationStatus?: VerificationStatus;
1026
+ VerificationInfo?: VerificationInfo;
1006
1027
  }
1007
1028
  export interface GetEmailIdentityPoliciesRequest {
1008
1029
  EmailIdentity: string | undefined;
@@ -1022,8 +1043,8 @@ export interface GetExportJobRequest {
1022
1043
  }
1023
1044
  export interface GetExportJobResponse {
1024
1045
  JobId?: string;
1025
- ExportSourceType?: ExportSourceType | string;
1026
- JobStatus?: JobStatus | string;
1046
+ ExportSourceType?: ExportSourceType;
1047
+ JobStatus?: JobStatus;
1027
1048
  ExportDestination?: ExportDestination;
1028
1049
  ExportDataSource?: ExportDataSource;
1029
1050
  CreatedTimestamp?: Date;
@@ -1039,7 +1060,7 @@ export interface GetImportJobResponse {
1039
1060
  ImportDestination?: ImportDestination;
1040
1061
  ImportDataSource?: ImportDataSource;
1041
1062
  FailureInfo?: FailureInfo;
1042
- JobStatus?: JobStatus | string;
1063
+ JobStatus?: JobStatus;
1043
1064
  CreatedTimestamp?: Date;
1044
1065
  CompletedTimestamp?: Date;
1045
1066
  ProcessedRecordsCount?: number;
@@ -1064,7 +1085,7 @@ export interface SuppressedDestinationAttributes {
1064
1085
  }
1065
1086
  export interface SuppressedDestination {
1066
1087
  EmailAddress: string | undefined;
1067
- Reason: SuppressionListReason | string | undefined;
1088
+ Reason: SuppressionListReason | undefined;
1068
1089
  LastUpdateTime: Date | undefined;
1069
1090
  Attributes?: SuppressedDestinationAttributes;
1070
1091
  }
@@ -1072,10 +1093,10 @@ export interface GetSuppressedDestinationResponse {
1072
1093
  SuppressedDestination: SuppressedDestination | undefined;
1073
1094
  }
1074
1095
  export interface IdentityInfo {
1075
- IdentityType?: IdentityType | string;
1096
+ IdentityType?: IdentityType;
1076
1097
  IdentityName?: string;
1077
1098
  SendingEnabled?: boolean;
1078
- VerificationStatus?: VerificationStatus | string;
1099
+ VerificationStatus?: VerificationStatus;
1079
1100
  }
1080
1101
  export declare const ImportDestinationType: {
1081
1102
  readonly CONTACT_LIST: "CONTACT_LIST";
@@ -1086,7 +1107,7 @@ export type ImportDestinationType =
1086
1107
  export interface ImportJobSummary {
1087
1108
  JobId?: string;
1088
1109
  ImportDestination?: ImportDestination;
1089
- JobStatus?: JobStatus | string;
1110
+ JobStatus?: JobStatus;
1090
1111
  CreatedTimestamp?: Date;
1091
1112
  ProcessedRecordsCount?: number;
1092
1113
  FailedRecordsCount?: number;
@@ -1119,7 +1140,7 @@ export interface TopicFilter {
1119
1140
  UseDefaultIfPreferenceUnavailable?: boolean;
1120
1141
  }
1121
1142
  export interface ListContactsFilter {
1122
- FilteredStatus?: SubscriptionStatus | string;
1143
+ FilteredStatus?: SubscriptionStatus;
1123
1144
  TopicFilter?: TopicFilter;
1124
1145
  }
1125
1146
  export interface ListContactsRequest {
@@ -1186,15 +1207,15 @@ export interface ListEmailTemplatesResponse {
1186
1207
  export interface ListExportJobsRequest {
1187
1208
  NextToken?: string;
1188
1209
  PageSize?: number;
1189
- ExportSourceType?: ExportSourceType | string;
1190
- JobStatus?: JobStatus | string;
1210
+ ExportSourceType?: ExportSourceType;
1211
+ JobStatus?: JobStatus;
1191
1212
  }
1192
1213
  export interface ListExportJobsResponse {
1193
1214
  ExportJobs?: ExportJobSummary[];
1194
1215
  NextToken?: string;
1195
1216
  }
1196
1217
  export interface ListImportJobsRequest {
1197
- ImportDestinationType?: ImportDestinationType | string;
1218
+ ImportDestinationType?: ImportDestinationType;
1198
1219
  NextToken?: string;
1199
1220
  PageSize?: number;
1200
1221
  }
@@ -1215,7 +1236,7 @@ export declare const ListRecommendationsFilterKey: {
1215
1236
  export type ListRecommendationsFilterKey =
1216
1237
  (typeof ListRecommendationsFilterKey)[keyof typeof ListRecommendationsFilterKey];
1217
1238
  export interface ListRecommendationsRequest {
1218
- Filter?: Record<string, string>;
1239
+ Filter?: Record<ListRecommendationsFilterKey, string>;
1219
1240
  NextToken?: string;
1220
1241
  PageSize?: number;
1221
1242
  }
@@ -1241,19 +1262,19 @@ export type RecommendationType =
1241
1262
  (typeof RecommendationType)[keyof typeof RecommendationType];
1242
1263
  export interface Recommendation {
1243
1264
  ResourceArn?: string;
1244
- Type?: RecommendationType | string;
1265
+ Type?: RecommendationType;
1245
1266
  Description?: string;
1246
- Status?: RecommendationStatus | string;
1267
+ Status?: RecommendationStatus;
1247
1268
  CreatedTimestamp?: Date;
1248
1269
  LastUpdatedTimestamp?: Date;
1249
- Impact?: RecommendationImpact | string;
1270
+ Impact?: RecommendationImpact;
1250
1271
  }
1251
1272
  export interface ListRecommendationsResponse {
1252
1273
  Recommendations?: Recommendation[];
1253
1274
  NextToken?: string;
1254
1275
  }
1255
1276
  export interface ListSuppressedDestinationsRequest {
1256
- Reasons?: (SuppressionListReason | string)[];
1277
+ Reasons?: SuppressionListReason[];
1257
1278
  StartDate?: Date;
1258
1279
  EndDate?: Date;
1259
1280
  NextToken?: string;
@@ -1261,7 +1282,7 @@ export interface ListSuppressedDestinationsRequest {
1261
1282
  }
1262
1283
  export interface SuppressedDestinationSummary {
1263
1284
  EmailAddress: string | undefined;
1264
- Reason: SuppressionListReason | string | undefined;
1285
+ Reason: SuppressionListReason | undefined;
1265
1286
  LastUpdateTime: Date | undefined;
1266
1287
  }
1267
1288
  export interface ListSuppressedDestinationsResponse {
@@ -1279,9 +1300,9 @@ export interface PutAccountDedicatedIpWarmupAttributesRequest {
1279
1300
  }
1280
1301
  export interface PutAccountDedicatedIpWarmupAttributesResponse {}
1281
1302
  export interface PutAccountDetailsRequest {
1282
- MailType: MailType | string | undefined;
1303
+ MailType: MailType | undefined;
1283
1304
  WebsiteURL: string | undefined;
1284
- ContactLanguage?: ContactLanguage | string;
1305
+ ContactLanguage?: ContactLanguage;
1285
1306
  UseCaseDescription: string | undefined;
1286
1307
  AdditionalContactEmailAddresses?: string[];
1287
1308
  ProductionAccessEnabled?: boolean;
@@ -1292,7 +1313,7 @@ export interface PutAccountSendingAttributesRequest {
1292
1313
  }
1293
1314
  export interface PutAccountSendingAttributesResponse {}
1294
1315
  export interface PutAccountSuppressionAttributesRequest {
1295
- SuppressedReasons?: (SuppressionListReason | string)[];
1316
+ SuppressedReasons?: SuppressionListReason[];
1296
1317
  }
1297
1318
  export interface PutAccountSuppressionAttributesResponse {}
1298
1319
  export interface PutAccountVdmAttributesRequest {
@@ -1301,7 +1322,7 @@ export interface PutAccountVdmAttributesRequest {
1301
1322
  export interface PutAccountVdmAttributesResponse {}
1302
1323
  export interface PutConfigurationSetDeliveryOptionsRequest {
1303
1324
  ConfigurationSetName: string | undefined;
1304
- TlsPolicy?: TlsPolicy | string;
1325
+ TlsPolicy?: TlsPolicy;
1305
1326
  SendingPoolName?: string;
1306
1327
  }
1307
1328
  export interface PutConfigurationSetDeliveryOptionsResponse {}
@@ -1317,7 +1338,7 @@ export interface PutConfigurationSetSendingOptionsRequest {
1317
1338
  export interface PutConfigurationSetSendingOptionsResponse {}
1318
1339
  export interface PutConfigurationSetSuppressionOptionsRequest {
1319
1340
  ConfigurationSetName: string | undefined;
1320
- SuppressedReasons?: (SuppressionListReason | string)[];
1341
+ SuppressedReasons?: SuppressionListReason[];
1321
1342
  }
1322
1343
  export interface PutConfigurationSetSuppressionOptionsResponse {}
1323
1344
  export interface PutConfigurationSetTrackingOptionsRequest {
@@ -1337,7 +1358,7 @@ export interface PutDedicatedIpInPoolRequest {
1337
1358
  export interface PutDedicatedIpInPoolResponse {}
1338
1359
  export interface PutDedicatedIpPoolScalingAttributesRequest {
1339
1360
  PoolName: string | undefined;
1340
- ScalingMode: ScalingMode | string | undefined;
1361
+ ScalingMode: ScalingMode | undefined;
1341
1362
  }
1342
1363
  export interface PutDedicatedIpPoolScalingAttributesResponse {}
1343
1364
  export interface PutDedicatedIpWarmupAttributesRequest {
@@ -1362,11 +1383,11 @@ export interface PutEmailIdentityDkimAttributesRequest {
1362
1383
  export interface PutEmailIdentityDkimAttributesResponse {}
1363
1384
  export interface PutEmailIdentityDkimSigningAttributesRequest {
1364
1385
  EmailIdentity: string | undefined;
1365
- SigningAttributesOrigin: DkimSigningAttributesOrigin | string | undefined;
1386
+ SigningAttributesOrigin: DkimSigningAttributesOrigin | undefined;
1366
1387
  SigningAttributes?: DkimSigningAttributes;
1367
1388
  }
1368
1389
  export interface PutEmailIdentityDkimSigningAttributesResponse {
1369
- DkimStatus?: DkimStatus | string;
1390
+ DkimStatus?: DkimStatus;
1370
1391
  DkimTokens?: string[];
1371
1392
  }
1372
1393
  export interface PutEmailIdentityFeedbackAttributesRequest {
@@ -1374,16 +1395,6 @@ export interface PutEmailIdentityFeedbackAttributesRequest {
1374
1395
  EmailForwardingEnabled?: boolean;
1375
1396
  }
1376
1397
  export interface PutEmailIdentityFeedbackAttributesResponse {}
1377
- export interface PutEmailIdentityMailFromAttributesRequest {
1378
- EmailIdentity: string | undefined;
1379
- MailFromDomain?: string;
1380
- BehaviorOnMxFailure?: BehaviorOnMxFailure | string;
1381
- }
1382
- export interface PutEmailIdentityMailFromAttributesResponse {}
1383
- export interface PutSuppressedDestinationRequest {
1384
- EmailAddress: string | undefined;
1385
- Reason: SuppressionListReason | string | undefined;
1386
- }
1387
1398
  export declare const AccountDetailsFilterSensitiveLog: (
1388
1399
  obj: AccountDetails
1389
1400
  ) => any;
@@ -1,4 +1,5 @@
1
1
  import {
2
+ BehaviorOnMxFailure,
2
3
  BulkEmailContent,
3
4
  BulkEmailEntry,
4
5
  BulkEmailEntryResult,
@@ -8,10 +9,21 @@ import {
8
9
  EventDestinationDefinition,
9
10
  ListManagementOptions,
10
11
  MessageTag,
12
+ SuppressionListReason,
11
13
  Tag,
12
14
  Topic,
13
15
  TopicPreference,
14
16
  } from "./models_0";
17
+ export interface PutEmailIdentityMailFromAttributesRequest {
18
+ EmailIdentity: string | undefined;
19
+ MailFromDomain?: string;
20
+ BehaviorOnMxFailure?: BehaviorOnMxFailure;
21
+ }
22
+ export interface PutEmailIdentityMailFromAttributesResponse {}
23
+ export interface PutSuppressedDestinationRequest {
24
+ EmailAddress: string | undefined;
25
+ Reason: SuppressionListReason | undefined;
26
+ }
15
27
  export interface PutSuppressedDestinationResponse {}
16
28
  export interface SendBulkEmailRequest {
17
29
  FromEmailAddress?: string;