@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.
@@ -70,7 +70,7 @@ export interface ReviewDetails {
70
70
  * </li>
71
71
  * </ul>
72
72
  */
73
- Status?: ReviewStatus | string;
73
+ Status?: ReviewStatus;
74
74
  /**
75
75
  * @public
76
76
  * <p>The associated support center case ID (if any).</p>
@@ -99,7 +99,7 @@ export interface AccountDetails {
99
99
  * </li>
100
100
  * </ul>
101
101
  */
102
- MailType?: MailType | string;
102
+ MailType?: MailType;
103
103
  /**
104
104
  * @public
105
105
  * <p>The URL of your website. This information helps us better understand the type of
@@ -111,7 +111,7 @@ export interface AccountDetails {
111
111
  * <p>The language you would prefer for the case. The contact language can be one of
112
112
  * <code>ENGLISH</code> or <code>JAPANESE</code>.</p>
113
113
  */
114
- ContactLanguage?: ContactLanguage | string;
114
+ ContactLanguage?: ContactLanguage;
115
115
  /**
116
116
  * @public
117
117
  * <p>A description of the types of email that you plan to send.</p>
@@ -225,7 +225,7 @@ export interface BatchGetMetricDataQuery {
225
225
  * <p>The query namespace - e.g. <code>VDM</code>
226
226
  * </p>
227
227
  */
228
- Namespace: MetricNamespace | string | undefined;
228
+ Namespace: MetricNamespace | undefined;
229
229
  /**
230
230
  * @public
231
231
  * <p>The queried metric. This can be one of the following:</p>
@@ -293,13 +293,13 @@ export interface BatchGetMetricDataQuery {
293
293
  * </li>
294
294
  * </ul>
295
295
  */
296
- Metric: Metric | string | undefined;
296
+ Metric: Metric | undefined;
297
297
  /**
298
298
  * @public
299
299
  * <p>An object that contains mapping between <code>MetricDimensionName</code>
300
300
  * and <code>MetricDimensionValue</code> to filter metrics by.</p>
301
301
  */
302
- Dimensions?: Record<string, string>;
302
+ Dimensions?: Record<MetricDimensionName, string>;
303
303
  /**
304
304
  * @public
305
305
  * <p>Represents the start date for the query interval.</p>
@@ -359,7 +359,7 @@ export interface MetricDataError {
359
359
  * </li>
360
360
  * </ul>
361
361
  */
362
- Code?: QueryErrorCode | string;
362
+ Code?: QueryErrorCode;
363
363
  /**
364
364
  * @public
365
365
  * <p>The error message associated with the current query error.</p>
@@ -538,7 +538,7 @@ export interface Bounce {
538
538
  * Can be one of <code>UNDETERMINED</code>, <code>TRANSIENT</code>, or <code>PERMANENT</code>
539
539
  * </p>
540
540
  */
541
- BounceType?: BounceType | string;
541
+ BounceType?: BounceType;
542
542
  /**
543
543
  * @public
544
544
  * <p>The subtype of the bounce, as determined by SES.</p>
@@ -818,7 +818,7 @@ export interface BulkEmailEntryResult {
818
818
  * </li>
819
819
  * </ul>
820
820
  */
821
- Status?: BulkEmailStatus | string;
821
+ Status?: BulkEmailStatus;
822
822
  /**
823
823
  * @public
824
824
  * <p>A description of an error that prevented a message being sent using the
@@ -892,7 +892,7 @@ export interface CloudWatchDimensionConfiguration {
892
892
  * <code>messageTag</code>. To use your own email headers, choose
893
893
  * <code>emailHeader</code>. To use link tags, choose <code>linkTags</code>.</p>
894
894
  */
895
- DimensionValueSource: DimensionValueSource | string | undefined;
895
+ DimensionValueSource: DimensionValueSource | undefined;
896
896
  /**
897
897
  * @public
898
898
  * <p>The default value of the dimension that is published to Amazon CloudWatch if you don't provide the
@@ -996,7 +996,7 @@ export interface TopicPreference {
996
996
  * <p>The contact's subscription status to a topic which is either <code>OPT_IN</code> or
997
997
  * <code>OPT_OUT</code>.</p>
998
998
  */
999
- SubscriptionStatus: SubscriptionStatus | string | undefined;
999
+ SubscriptionStatus: SubscriptionStatus | undefined;
1000
1000
  }
1001
1001
  /**
1002
1002
  * @public
@@ -1083,7 +1083,7 @@ export interface ContactListDestination {
1083
1083
  * </li>
1084
1084
  * </ul>
1085
1085
  */
1086
- ContactListImportAction: ContactListImportAction | string | undefined;
1086
+ ContactListImportAction: ContactListImportAction | undefined;
1087
1087
  }
1088
1088
  /**
1089
1089
  * @public
@@ -1109,7 +1109,7 @@ export interface DeliveryOptions {
1109
1109
  * delivered if a TLS connection can be established. If the value is <code>Optional</code>,
1110
1110
  * messages can be delivered in plain text if a TLS connection can't be established.</p>
1111
1111
  */
1112
- TlsPolicy?: TlsPolicy | string;
1112
+ TlsPolicy?: TlsPolicy;
1113
1113
  /**
1114
1114
  * @public
1115
1115
  * <p>The name of the dedicated IP pool to associate with the configuration set.</p>
@@ -1188,7 +1188,7 @@ export interface SuppressionOptions {
1188
1188
  * </li>
1189
1189
  * </ul>
1190
1190
  */
1191
- SuppressedReasons?: (SuppressionListReason | string)[];
1191
+ SuppressedReasons?: SuppressionListReason[];
1192
1192
  }
1193
1193
  /**
1194
1194
  * @public
@@ -1294,7 +1294,7 @@ export interface DashboardOptions {
1294
1294
  * </li>
1295
1295
  * </ul>
1296
1296
  */
1297
- EngagementMetrics?: FeatureStatus | string;
1297
+ EngagementMetrics?: FeatureStatus;
1298
1298
  }
1299
1299
  /**
1300
1300
  * @public
@@ -1319,7 +1319,7 @@ export interface GuardianOptions {
1319
1319
  * </li>
1320
1320
  * </ul>
1321
1321
  */
1322
- OptimizedSharedDelivery?: FeatureStatus | string;
1322
+ OptimizedSharedDelivery?: FeatureStatus;
1323
1323
  }
1324
1324
  /**
1325
1325
  * @public
@@ -1501,7 +1501,7 @@ export interface EventDestinationDefinition {
1501
1501
  * <p>An array that specifies which events the Amazon SES API v2 should send to the destinations in
1502
1502
  * this <code>EventDestinationDefinition</code>.</p>
1503
1503
  */
1504
- MatchingEventTypes?: (EventType | string)[];
1504
+ MatchingEventTypes?: EventType[];
1505
1505
  /**
1506
1506
  * @public
1507
1507
  * <p>An object that defines an Amazon Kinesis Data Firehose destination for email events. You can use Amazon Kinesis Data Firehose to
@@ -1619,7 +1619,7 @@ export interface Topic {
1619
1619
  * <p>The default subscription status to be applied to a contact if the contact has not
1620
1620
  * noted their preference for subscribing to a topic.</p>
1621
1621
  */
1622
- DefaultSubscriptionStatus: SubscriptionStatus | string | undefined;
1622
+ DefaultSubscriptionStatus: SubscriptionStatus | undefined;
1623
1623
  }
1624
1624
  /**
1625
1625
  * @public
@@ -1732,7 +1732,7 @@ export interface CreateDedicatedIpPoolRequest {
1732
1732
  * @public
1733
1733
  * <p>The type of scaling mode.</p>
1734
1734
  */
1735
- ScalingMode?: ScalingMode | string;
1735
+ ScalingMode?: ScalingMode;
1736
1736
  }
1737
1737
  /**
1738
1738
  * @public
@@ -1764,7 +1764,9 @@ export interface RawMessage {
1764
1764
  * <p>Attachments must be in a file format that the Amazon SES supports.</p>
1765
1765
  * </li>
1766
1766
  * <li>
1767
- * <p>The entire message must be Base64 encoded.</p>
1767
+ * <p>The raw data of the message needs to base64-encoded if you are accessing
1768
+ * Amazon SES directly through the HTTPS interface. If you are accessing Amazon SES using an Amazon Web Services
1769
+ * SDK, the SDK takes care of the base 64-encoding for you.</p>
1768
1770
  * </li>
1769
1771
  * <li>
1770
1772
  * <p>If any of the MIME parts in your message contain content that is outside of
@@ -1833,7 +1835,9 @@ export interface EmailContent {
1833
1835
  * </p>
1834
1836
  * </li>
1835
1837
  * <li>
1836
- * <p>The entire message must be Base64 encoded.</p>
1838
+ * <p>The raw data of the message needs to base64-encoded if you are accessing
1839
+ * Amazon SES directly through the HTTPS interface. If you are accessing Amazon SES using an Amazon Web Services
1840
+ * SDK, the SDK takes care of the base 64-encoding for you.</p>
1837
1841
  * </li>
1838
1842
  * <li>
1839
1843
  * <p>If any of the MIME parts in your message contain content that is outside of
@@ -1916,7 +1920,7 @@ export interface CreateDeliverabilityTestReportResponse {
1916
1920
  * test. If the status is <code>COMPLETE</code>, then the test is finished, and you can use
1917
1921
  * the <code>GetDeliverabilityTestReport</code> to view the results of the test.</p>
1918
1922
  */
1919
- DeliverabilityTestStatus: DeliverabilityTestStatus | string | undefined;
1923
+ DeliverabilityTestStatus: DeliverabilityTestStatus | undefined;
1920
1924
  }
1921
1925
  /**
1922
1926
  * @public
@@ -1969,13 +1973,14 @@ export declare const DkimSigningKeyLength: {
1969
1973
  export type DkimSigningKeyLength = (typeof DkimSigningKeyLength)[keyof typeof DkimSigningKeyLength];
1970
1974
  /**
1971
1975
  * @public
1972
- * <p>An object that contains configuration for Bring Your Own DKIM (BYODKIM), or, for Easy DKIM</p>
1976
+ * <p>An object that contains configuration for Bring Your Own DKIM (BYODKIM), or, for Easy
1977
+ * DKIM</p>
1973
1978
  */
1974
1979
  export interface DkimSigningAttributes {
1975
1980
  /**
1976
1981
  * @public
1977
- * <p>[Bring Your Own DKIM] A string that's used to identify a public key in the DNS configuration for a
1978
- * domain.</p>
1982
+ * <p>[Bring Your Own DKIM] A string that's used to identify a public key in the DNS
1983
+ * configuration for a domain.</p>
1979
1984
  */
1980
1985
  DomainSigningSelector?: string;
1981
1986
  /**
@@ -1987,9 +1992,10 @@ export interface DkimSigningAttributes {
1987
1992
  DomainSigningPrivateKey?: string;
1988
1993
  /**
1989
1994
  * @public
1990
- * <p>[Easy DKIM] The key length of the future DKIM key pair to be generated. This can be changed at most once per day.</p>
1995
+ * <p>[Easy DKIM] The key length of the future DKIM key pair to be generated. This can be
1996
+ * changed at most once per day.</p>
1991
1997
  */
1992
- NextSigningKeyLength?: DkimSigningKeyLength | string;
1998
+ NextSigningKeyLength?: DkimSigningKeyLength;
1993
1999
  }
1994
2000
  /**
1995
2001
  * @public
@@ -2106,7 +2112,7 @@ export interface DkimAttributes {
2106
2112
  * </li>
2107
2113
  * </ul>
2108
2114
  */
2109
- Status?: DkimStatus | string;
2115
+ Status?: DkimStatus;
2110
2116
  /**
2111
2117
  * @public
2112
2118
  * <p>If you used <a href="https://docs.aws.amazon.com/ses/latest/DeveloperGuide/easy-dkim.html">Easy DKIM</a> to configure DKIM authentication for the domain, then this object
@@ -2137,17 +2143,18 @@ export interface DkimAttributes {
2137
2143
  * </li>
2138
2144
  * </ul>
2139
2145
  */
2140
- SigningAttributesOrigin?: DkimSigningAttributesOrigin | string;
2146
+ SigningAttributesOrigin?: DkimSigningAttributesOrigin;
2141
2147
  /**
2142
2148
  * @public
2143
- * <p>[Easy DKIM] The key length of the future DKIM key pair to be generated. This can be changed at most once per day.</p>
2149
+ * <p>[Easy DKIM] The key length of the future DKIM key pair to be generated. This can be
2150
+ * changed at most once per day.</p>
2144
2151
  */
2145
- NextSigningKeyLength?: DkimSigningKeyLength | string;
2152
+ NextSigningKeyLength?: DkimSigningKeyLength;
2146
2153
  /**
2147
2154
  * @public
2148
2155
  * <p>[Easy DKIM] The key length of the DKIM key pair in use.</p>
2149
2156
  */
2150
- CurrentSigningKeyLength?: DkimSigningKeyLength | string;
2157
+ CurrentSigningKeyLength?: DkimSigningKeyLength;
2151
2158
  /**
2152
2159
  * @public
2153
2160
  * <p>[Easy DKIM] The last time a key pair was generated for this identity.</p>
@@ -2179,7 +2186,7 @@ export interface CreateEmailIdentityResponse {
2179
2186
  * <p>The email identity type. Note: the <code>MANAGED_DOMAIN</code> identity type is not
2180
2187
  * supported.</p>
2181
2188
  */
2182
- IdentityType?: IdentityType | string;
2189
+ IdentityType?: IdentityType;
2183
2190
  /**
2184
2191
  * @public
2185
2192
  * <p>Specifies whether or not the identity is verified. You can only send email from
@@ -2345,7 +2352,7 @@ export interface MessageInsightsFilters {
2345
2352
  * <code>SEND</code> < <code>BOUNCE</code> < <code>DELIVERY</code> < <code>COMPLAINT</code>.
2346
2353
  * </p>
2347
2354
  */
2348
- LastDeliveryEvent?: (DeliveryEventType | string)[];
2355
+ LastDeliveryEvent?: DeliveryEventType[];
2349
2356
  /**
2350
2357
  * @public
2351
2358
  * <p>
@@ -2357,7 +2364,7 @@ export interface MessageInsightsFilters {
2357
2364
  * is enabled.
2358
2365
  * </p>
2359
2366
  */
2360
- LastEngagementEvent?: (EngagementEventType | string)[];
2367
+ LastEngagementEvent?: EngagementEventType[];
2361
2368
  }
2362
2369
  /**
2363
2370
  * @public
@@ -2476,7 +2483,7 @@ export interface ExportMetric {
2476
2483
  * </li>
2477
2484
  * </ul>
2478
2485
  */
2479
- Name?: Metric | string;
2486
+ Name?: Metric;
2480
2487
  /**
2481
2488
  * @public
2482
2489
  * <p>The aggregation to apply to a metric, can be one of the following:</p>
@@ -2492,7 +2499,7 @@ export interface ExportMetric {
2492
2499
  * </li>
2493
2500
  * </ul>
2494
2501
  */
2495
- Aggregation?: MetricAggregation | string;
2502
+ Aggregation?: MetricAggregation;
2496
2503
  }
2497
2504
  /**
2498
2505
  * @public
@@ -2505,12 +2512,12 @@ export interface MetricsDataSource {
2505
2512
  * <code>MetricDimensionValue</code> to filter metrics by. Must contain a least 1
2506
2513
  * dimension but no more than 3 unique ones.</p>
2507
2514
  */
2508
- Dimensions: Record<string, string[]> | undefined;
2515
+ Dimensions: Record<MetricDimensionName, string[]> | undefined;
2509
2516
  /**
2510
2517
  * @public
2511
2518
  * <p>The metrics namespace - e.g., <code>VDM</code>.</p>
2512
2519
  */
2513
- Namespace: MetricNamespace | string | undefined;
2520
+ Namespace: MetricNamespace | undefined;
2514
2521
  /**
2515
2522
  * @public
2516
2523
  * <p>A list of <code>ExportMetric</code> objects to export.</p>
@@ -2575,7 +2582,7 @@ export interface ExportDestination {
2575
2582
  * </li>
2576
2583
  * </ul>
2577
2584
  */
2578
- DataFormat: DataFormat | string | undefined;
2585
+ DataFormat: DataFormat | undefined;
2579
2586
  /**
2580
2587
  * @public
2581
2588
  * <p>An Amazon S3 pre-signed URL that points to the generated export file.</p>
@@ -2626,7 +2633,7 @@ export interface ImportDataSource {
2626
2633
  * @public
2627
2634
  * <p>The data format of the import job's data source.</p>
2628
2635
  */
2629
- DataFormat: DataFormat | string | undefined;
2636
+ DataFormat: DataFormat | undefined;
2630
2637
  }
2631
2638
  /**
2632
2639
  * @public
@@ -2658,7 +2665,7 @@ export interface SuppressionListDestination {
2658
2665
  * </li>
2659
2666
  * </ul>
2660
2667
  */
2661
- SuppressionListImportAction: SuppressionListImportAction | string | undefined;
2668
+ SuppressionListImportAction: SuppressionListImportAction | undefined;
2662
2669
  }
2663
2670
  /**
2664
2671
  * @public
@@ -2848,7 +2855,7 @@ export interface DashboardAttributes {
2848
2855
  * </li>
2849
2856
  * </ul>
2850
2857
  */
2851
- EngagementMetrics?: FeatureStatus | string;
2858
+ EngagementMetrics?: FeatureStatus;
2852
2859
  }
2853
2860
  /**
2854
2861
  * @public
@@ -2893,7 +2900,7 @@ export interface DedicatedIp {
2893
2900
  * </li>
2894
2901
  * </ul>
2895
2902
  */
2896
- WarmupStatus: WarmupStatus | string | undefined;
2903
+ WarmupStatus: WarmupStatus | undefined;
2897
2904
  /**
2898
2905
  * @public
2899
2906
  * <p>Indicates how complete the dedicated IP warm-up process is. When this value equals 1,
@@ -2932,7 +2939,7 @@ export interface DedicatedIpPool {
2932
2939
  * </li>
2933
2940
  * </ul>
2934
2941
  */
2935
- ScalingMode: ScalingMode | string | undefined;
2942
+ ScalingMode: ScalingMode | undefined;
2936
2943
  }
2937
2944
  /**
2938
2945
  * @public
@@ -3182,7 +3189,7 @@ export interface DeliverabilityTestReport {
3182
3189
  * test. If the status is <code>COMPLETE</code>, then the test is finished, and you can use
3183
3190
  * the <code>GetDeliverabilityTestReport</code> to view the results of the test.</p>
3184
3191
  */
3185
- DeliverabilityTestStatus?: DeliverabilityTestStatus | string;
3192
+ DeliverabilityTestStatus?: DeliverabilityTestStatus;
3186
3193
  }
3187
3194
  /**
3188
3195
  * @public
@@ -3396,7 +3403,7 @@ export interface InsightsEvent {
3396
3403
  * </li>
3397
3404
  * </ul>
3398
3405
  */
3399
- Type?: EventType | string;
3406
+ Type?: EventType;
3400
3407
  /**
3401
3408
  * @public
3402
3409
  * <p>Details about bounce or complaint events.</p>
@@ -3535,7 +3542,7 @@ export interface EventDestination {
3535
3542
  * </li>
3536
3543
  * </ul>
3537
3544
  */
3538
- MatchingEventTypes: (EventType | string)[] | undefined;
3545
+ MatchingEventTypes: EventType[] | undefined;
3539
3546
  /**
3540
3547
  * @public
3541
3548
  * <p>An object that defines an Amazon Kinesis Data Firehose destination for email events. You can use Amazon Kinesis Data Firehose to
@@ -3604,12 +3611,12 @@ export interface ExportJobSummary {
3604
3611
  * @public
3605
3612
  * <p>The source type of the export job.</p>
3606
3613
  */
3607
- ExportSourceType?: ExportSourceType | string;
3614
+ ExportSourceType?: ExportSourceType;
3608
3615
  /**
3609
3616
  * @public
3610
3617
  * <p>The status of the export job.</p>
3611
3618
  */
3612
- JobStatus?: JobStatus | string;
3619
+ JobStatus?: JobStatus;
3613
3620
  /**
3614
3621
  * @public
3615
3622
  * <p>The timestamp of when the export job was created.</p>
@@ -3714,7 +3721,7 @@ export interface SuppressionAttributes {
3714
3721
  * </li>
3715
3722
  * </ul>
3716
3723
  */
3717
- SuppressedReasons?: (SuppressionListReason | string)[];
3724
+ SuppressedReasons?: SuppressionListReason[];
3718
3725
  }
3719
3726
  /**
3720
3727
  * @public
@@ -3735,7 +3742,7 @@ export interface GuardianAttributes {
3735
3742
  * </li>
3736
3743
  * </ul>
3737
3744
  */
3738
- OptimizedSharedDelivery?: FeatureStatus | string;
3745
+ OptimizedSharedDelivery?: FeatureStatus;
3739
3746
  }
3740
3747
  /**
3741
3748
  * @public
@@ -3756,7 +3763,7 @@ export interface VdmAttributes {
3756
3763
  * </li>
3757
3764
  * </ul>
3758
3765
  */
3759
- VdmEnabled: FeatureStatus | string | undefined;
3766
+ VdmEnabled: FeatureStatus | undefined;
3760
3767
  /**
3761
3768
  * @public
3762
3769
  * <p>Specifies additional settings for your VDM configuration as applicable to the Dashboard.</p>
@@ -4245,7 +4252,7 @@ export interface GetDeliverabilityDashboardOptionsResponse {
4245
4252
  * <code>PENDING_EXPIRATION</code>, your subscription is scheduled to expire at the end
4246
4253
  * of the current calendar month.</p>
4247
4254
  */
4248
- AccountStatus?: DeliverabilityDashboardAccountStatus | string;
4255
+ AccountStatus?: DeliverabilityDashboardAccountStatus;
4249
4256
  /**
4250
4257
  * @public
4251
4258
  * <p>An array of objects, one for each verified domain that you use to send email and
@@ -4519,7 +4526,7 @@ export interface MailFromAttributes {
4519
4526
  * </li>
4520
4527
  * </ul>
4521
4528
  */
4522
- MailFromDomainStatus: MailFromDomainStatus | string | undefined;
4529
+ MailFromDomainStatus: MailFromDomainStatus | undefined;
4523
4530
  /**
4524
4531
  * @public
4525
4532
  * <p>The action to take if the required MX record can't be found when you send an email.
@@ -4532,7 +4539,103 @@ export interface MailFromAttributes {
4532
4539
  * <code>Pending</code>, <code>Failed</code>, and <code>TemporaryFailure</code>
4533
4540
  * states.</p>
4534
4541
  */
4535
- BehaviorOnMxFailure: BehaviorOnMxFailure | string | undefined;
4542
+ BehaviorOnMxFailure: BehaviorOnMxFailure | undefined;
4543
+ }
4544
+ /**
4545
+ * @public
4546
+ * @enum
4547
+ */
4548
+ export declare const VerificationError: {
4549
+ readonly DNS_SERVER_ERROR: "DNS_SERVER_ERROR";
4550
+ readonly HOST_NOT_FOUND: "HOST_NOT_FOUND";
4551
+ readonly INVALID_VALUE: "INVALID_VALUE";
4552
+ readonly SERVICE_ERROR: "SERVICE_ERROR";
4553
+ readonly TYPE_NOT_FOUND: "TYPE_NOT_FOUND";
4554
+ };
4555
+ /**
4556
+ * @public
4557
+ */
4558
+ export type VerificationError = (typeof VerificationError)[keyof typeof VerificationError];
4559
+ /**
4560
+ * @public
4561
+ * <p>An object that contains information about the start of authority (SOA) record
4562
+ * associated with the identity.</p>
4563
+ */
4564
+ export interface SOARecord {
4565
+ /**
4566
+ * @public
4567
+ * <p>Primary name server specified in the SOA record.</p>
4568
+ */
4569
+ PrimaryNameServer?: string;
4570
+ /**
4571
+ * @public
4572
+ * <p>Administrative contact email from the SOA record.</p>
4573
+ */
4574
+ AdminEmail?: string;
4575
+ /**
4576
+ * @public
4577
+ * <p>Serial number from the SOA record.</p>
4578
+ */
4579
+ SerialNumber?: number;
4580
+ }
4581
+ /**
4582
+ * @public
4583
+ * <p>An object that contains additional information about the verification status for the
4584
+ * identity.</p>
4585
+ */
4586
+ export interface VerificationInfo {
4587
+ /**
4588
+ * @public
4589
+ * <p>The last time a verification attempt was made for this identity.</p>
4590
+ */
4591
+ LastCheckedTimestamp?: Date;
4592
+ /**
4593
+ * @public
4594
+ * <p>The last time a successful verification was made for this identity.</p>
4595
+ */
4596
+ LastSuccessTimestamp?: Date;
4597
+ /**
4598
+ * @public
4599
+ * <p>Provides the reason for the failure describing why Amazon SES was not able to successfully
4600
+ * verify the identity. Below are the possible values: </p>
4601
+ * <ul>
4602
+ * <li>
4603
+ * <p>
4604
+ * <code>INVALID_VALUE</code> – Amazon SES was able to find the record, but the
4605
+ * value contained within the record was invalid. Ensure you have published the
4606
+ * correct values for the record.</p>
4607
+ * </li>
4608
+ * <li>
4609
+ * <p>
4610
+ * <code>TYPE_NOT_FOUND</code> – The queried hostname exists but does not
4611
+ * have the requested type of DNS record. Ensure that you have published the
4612
+ * correct type of DNS record.</p>
4613
+ * </li>
4614
+ * <li>
4615
+ * <p>
4616
+ * <code>HOST_NOT_FOUND</code> – The queried hostname does not exist or was
4617
+ * not reachable at the time of the request. Ensure that you have published the
4618
+ * required DNS record(s). </p>
4619
+ * </li>
4620
+ * <li>
4621
+ * <p>
4622
+ * <code>SERVICE_ERROR</code> – A temporary issue is preventing Amazon SES from
4623
+ * determining the verification status of the domain.</p>
4624
+ * </li>
4625
+ * <li>
4626
+ * <p>
4627
+ * <code>DNS_SERVER_ERROR</code> – The DNS server encountered an issue and
4628
+ * was unable to complete the request.</p>
4629
+ * </li>
4630
+ * </ul>
4631
+ */
4632
+ ErrorType?: VerificationError;
4633
+ /**
4634
+ * @public
4635
+ * <p>An object that contains information about the start of authority (SOA) record
4636
+ * associated with the identity.</p>
4637
+ */
4638
+ SOARecord?: SOARecord;
4536
4639
  }
4537
4640
  /**
4538
4641
  * @public
@@ -4559,7 +4662,7 @@ export interface GetEmailIdentityResponse {
4559
4662
  * <p>The email identity type. Note: the <code>MANAGED_DOMAIN</code> identity type is not
4560
4663
  * supported.</p>
4561
4664
  */
4562
- IdentityType?: IdentityType | string;
4665
+ IdentityType?: IdentityType;
4563
4666
  /**
4564
4667
  * @public
4565
4668
  * <p>The feedback forwarding configuration for the identity.</p>
@@ -4636,7 +4739,13 @@ export interface GetEmailIdentityResponse {
4636
4739
  * </li>
4637
4740
  * </ul>
4638
4741
  */
4639
- VerificationStatus?: VerificationStatus | string;
4742
+ VerificationStatus?: VerificationStatus;
4743
+ /**
4744
+ * @public
4745
+ * <p>An object that contains additional information about the verification status for the
4746
+ * identity.</p>
4747
+ */
4748
+ VerificationInfo?: VerificationInfo;
4640
4749
  }
4641
4750
  /**
4642
4751
  * @public
@@ -4716,12 +4825,12 @@ export interface GetExportJobResponse {
4716
4825
  * @public
4717
4826
  * <p>The type of source of the export job.</p>
4718
4827
  */
4719
- ExportSourceType?: ExportSourceType | string;
4828
+ ExportSourceType?: ExportSourceType;
4720
4829
  /**
4721
4830
  * @public
4722
4831
  * <p>The status of the export job.</p>
4723
4832
  */
4724
- JobStatus?: JobStatus | string;
4833
+ JobStatus?: JobStatus;
4725
4834
  /**
4726
4835
  * @public
4727
4836
  * <p>The destination of the export job.</p>
@@ -4795,7 +4904,7 @@ export interface GetImportJobResponse {
4795
4904
  * @public
4796
4905
  * <p>The status of the import job.</p>
4797
4906
  */
4798
- JobStatus?: JobStatus | string;
4907
+ JobStatus?: JobStatus;
4799
4908
  /**
4800
4909
  * @public
4801
4910
  * <p>The time stamp of when the import job was created.</p>
@@ -4912,7 +5021,7 @@ export interface SuppressedDestination {
4912
5021
  * @public
4913
5022
  * <p>The reason that the address was added to the suppression list for your account.</p>
4914
5023
  */
4915
- Reason: SuppressionListReason | string | undefined;
5024
+ Reason: SuppressionListReason | undefined;
4916
5025
  /**
4917
5026
  * @public
4918
5027
  * <p>The date and time when the suppressed destination was last updated, shown in Unix time
@@ -4947,7 +5056,7 @@ export interface IdentityInfo {
4947
5056
  * <p>The email identity type. Note: the <code>MANAGED_DOMAIN</code> type is not supported
4948
5057
  * for email identity types.</p>
4949
5058
  */
4950
- IdentityType?: IdentityType | string;
5059
+ IdentityType?: IdentityType;
4951
5060
  /**
4952
5061
  * @public
4953
5062
  * <p>The address or domain of the identity.</p>
@@ -4963,7 +5072,8 @@ export interface IdentityInfo {
4963
5072
  SendingEnabled?: boolean;
4964
5073
  /**
4965
5074
  * @public
4966
- * <p>The verification status of the identity. The status can be one of the following:</p>
5075
+ * <p>The verification status of the identity. The status can be one of the
5076
+ * following:</p>
4967
5077
  * <ul>
4968
5078
  * <li>
4969
5079
  * <p>
@@ -4991,7 +5101,7 @@ export interface IdentityInfo {
4991
5101
  * </li>
4992
5102
  * </ul>
4993
5103
  */
4994
- VerificationStatus?: VerificationStatus | string;
5104
+ VerificationStatus?: VerificationStatus;
4995
5105
  }
4996
5106
  /**
4997
5107
  * @public
@@ -5043,7 +5153,7 @@ export interface ImportJobSummary {
5043
5153
  * </li>
5044
5154
  * </ul>
5045
5155
  */
5046
- JobStatus?: JobStatus | string;
5156
+ JobStatus?: JobStatus;
5047
5157
  /**
5048
5158
  * @public
5049
5159
  * <p>The date and time when the import job was created.</p>
@@ -5180,7 +5290,7 @@ export interface ListContactsFilter {
5180
5290
  * <p>The status by which you are filtering: <code>OPT_IN</code> or
5181
5291
  * <code>OPT_OUT</code>.</p>
5182
5292
  */
5183
- FilteredStatus?: SubscriptionStatus | string;
5293
+ FilteredStatus?: SubscriptionStatus;
5184
5294
  /**
5185
5295
  * @public
5186
5296
  * <p>Used for filtering by a specific topic preference.</p>
@@ -5484,7 +5594,7 @@ export interface ListEmailTemplatesRequest {
5484
5594
  * <p>The number of results to show in a single call to <code>ListEmailTemplates</code>. If the number of
5485
5595
  * results is larger than the number you specified in this parameter, then the response
5486
5596
  * includes a <code>NextToken</code> element, which you can use to obtain additional results.</p>
5487
- * <p>The value you specify has to be at least 1, and can be no more than 10.</p>
5597
+ * <p>The value you specify has to be at least 1, and can be no more than 100.</p>
5488
5598
  */
5489
5599
  PageSize?: number;
5490
5600
  }
@@ -5532,12 +5642,12 @@ export interface ListExportJobsRequest {
5532
5642
  * <p>A value used to list export jobs that have a certain
5533
5643
  * <code>ExportSourceType</code>.</p>
5534
5644
  */
5535
- ExportSourceType?: ExportSourceType | string;
5645
+ ExportSourceType?: ExportSourceType;
5536
5646
  /**
5537
5647
  * @public
5538
5648
  * <p>A value used to list export jobs that have a certain <code>JobStatus</code>.</p>
5539
5649
  */
5540
- JobStatus?: JobStatus | string;
5650
+ JobStatus?: JobStatus;
5541
5651
  }
5542
5652
  /**
5543
5653
  * @public
@@ -5569,7 +5679,7 @@ export interface ListImportJobsRequest {
5569
5679
  * <p>The destination of the import job, which can be used to list import jobs that have a
5570
5680
  * certain <code>ImportDestinationType</code>.</p>
5571
5681
  */
5572
- ImportDestinationType?: ImportDestinationType | string;
5682
+ ImportDestinationType?: ImportDestinationType;
5573
5683
  /**
5574
5684
  * @public
5575
5685
  * <p>A string token indicating that there might be additional import jobs available to be
@@ -5649,7 +5759,7 @@ export interface ListRecommendationsRequest {
5649
5759
  * <code>STATUS</code> and <code>TYPE</code>
5650
5760
  * </p>
5651
5761
  */
5652
- Filter?: Record<string, string>;
5762
+ Filter?: Record<ListRecommendationsFilterKey, string>;
5653
5763
  /**
5654
5764
  * @public
5655
5765
  * <p>A token returned from a previous call to <code>ListRecommendations</code> to
@@ -5721,7 +5831,7 @@ export interface Recommendation {
5721
5831
  * <p>The recommendation type, with values like <code>DKIM</code>,
5722
5832
  * <code>SPF</code>, <code>DMARC</code> or <code>BIMI</code>.</p>
5723
5833
  */
5724
- Type?: RecommendationType | string;
5834
+ Type?: RecommendationType;
5725
5835
  /**
5726
5836
  * @public
5727
5837
  * <p>The recommendation description / disambiguator - e.g. <code>DKIM1</code> and <code>DKIM2</code>
@@ -5733,7 +5843,7 @@ export interface Recommendation {
5733
5843
  * <p>The recommendation status, with values like
5734
5844
  * <code>OPEN</code> or <code>FIXED</code>.</p>
5735
5845
  */
5736
- Status?: RecommendationStatus | string;
5846
+ Status?: RecommendationStatus;
5737
5847
  /**
5738
5848
  * @public
5739
5849
  * <p>The first time this issue was encountered and the recommendation was generated.</p>
@@ -5749,7 +5859,7 @@ export interface Recommendation {
5749
5859
  * <p>The recommendation impact, with values like
5750
5860
  * <code>HIGH</code> or <code>LOW</code>.</p>
5751
5861
  */
5752
- Impact?: RecommendationImpact | string;
5862
+ Impact?: RecommendationImpact;
5753
5863
  }
5754
5864
  /**
5755
5865
  * @public
@@ -5780,7 +5890,7 @@ export interface ListSuppressedDestinationsRequest {
5780
5890
  * @public
5781
5891
  * <p>The factors that caused the email address to be added to .</p>
5782
5892
  */
5783
- Reasons?: (SuppressionListReason | string)[];
5893
+ Reasons?: SuppressionListReason[];
5784
5894
  /**
5785
5895
  * @public
5786
5896
  * <p>Used to filter the list of suppressed email destinations so that it only includes
@@ -5823,7 +5933,7 @@ export interface SuppressedDestinationSummary {
5823
5933
  * @public
5824
5934
  * <p>The reason that the address was added to the suppression list for your account.</p>
5825
5935
  */
5826
- Reason: SuppressionListReason | string | undefined;
5936
+ Reason: SuppressionListReason | undefined;
5827
5937
  /**
5828
5938
  * @public
5829
5939
  * <p>The date and time when the suppressed destination was last updated, shown in Unix time
@@ -5904,7 +6014,7 @@ export interface PutAccountDetailsRequest {
5904
6014
  * @public
5905
6015
  * <p>The type of email your account will send.</p>
5906
6016
  */
5907
- MailType: MailType | string | undefined;
6017
+ MailType: MailType | undefined;
5908
6018
  /**
5909
6019
  * @public
5910
6020
  * <p>The URL of your website. This information helps us better understand the type of
@@ -5915,7 +6025,7 @@ export interface PutAccountDetailsRequest {
5915
6025
  * @public
5916
6026
  * <p>The language you would prefer to be contacted with.</p>
5917
6027
  */
5918
- ContactLanguage?: ContactLanguage | string;
6028
+ ContactLanguage?: ContactLanguage;
5919
6029
  /**
5920
6030
  * @public
5921
6031
  * <p>A description of the types of email that you plan to send.</p>
@@ -5997,7 +6107,7 @@ export interface PutAccountSuppressionAttributesRequest {
5997
6107
  * </li>
5998
6108
  * </ul>
5999
6109
  */
6000
- SuppressedReasons?: (SuppressionListReason | string)[];
6110
+ SuppressedReasons?: SuppressionListReason[];
6001
6111
  }
6002
6112
  /**
6003
6113
  * @public
@@ -6039,7 +6149,7 @@ export interface PutConfigurationSetDeliveryOptionsRequest {
6039
6149
  * delivered if a TLS connection can be established. If the value is <code>Optional</code>,
6040
6150
  * messages can be delivered in plain text if a TLS connection can't be established.</p>
6041
6151
  */
6042
- TlsPolicy?: TlsPolicy | string;
6152
+ TlsPolicy?: TlsPolicy;
6043
6153
  /**
6044
6154
  * @public
6045
6155
  * <p>The name of the dedicated IP pool to associate with the configuration set.</p>
@@ -6136,7 +6246,7 @@ export interface PutConfigurationSetSuppressionOptionsRequest {
6136
6246
  * </li>
6137
6247
  * </ul>
6138
6248
  */
6139
- SuppressedReasons?: (SuppressionListReason | string)[];
6249
+ SuppressedReasons?: SuppressionListReason[];
6140
6250
  }
6141
6251
  /**
6142
6252
  * @public
@@ -6234,7 +6344,7 @@ export interface PutDedicatedIpPoolScalingAttributesRequest {
6234
6344
  * <p>Changing the scaling mode from <code>MANAGED</code> to <code>STANDARD</code> is not supported.</p>
6235
6345
  * </note>
6236
6346
  */
6237
- ScalingMode: ScalingMode | string | undefined;
6347
+ ScalingMode: ScalingMode | undefined;
6238
6348
  }
6239
6349
  /**
6240
6350
  * @public
@@ -6374,7 +6484,7 @@ export interface PutEmailIdentityDkimSigningAttributesRequest {
6374
6484
  * </li>
6375
6485
  * </ul>
6376
6486
  */
6377
- SigningAttributesOrigin: DkimSigningAttributesOrigin | string | undefined;
6487
+ SigningAttributesOrigin: DkimSigningAttributesOrigin | undefined;
6378
6488
  /**
6379
6489
  * @public
6380
6490
  * <p>An object that contains information about the private key and selector that you want
@@ -6431,7 +6541,7 @@ export interface PutEmailIdentityDkimSigningAttributesResponse {
6431
6541
  * </li>
6432
6542
  * </ul>
6433
6543
  */
6434
- DkimStatus?: DkimStatus | string;
6544
+ DkimStatus?: DkimStatus;
6435
6545
  /**
6436
6546
  * @public
6437
6547
  * <p>If you used <a href="https://docs.aws.amazon.com/ses/latest/DeveloperGuide/easy-dkim.html">Easy DKIM</a> to configure DKIM authentication for the domain, then this object
@@ -6477,73 +6587,6 @@ export interface PutEmailIdentityFeedbackAttributesRequest {
6477
6587
  */
6478
6588
  export interface PutEmailIdentityFeedbackAttributesResponse {
6479
6589
  }
6480
- /**
6481
- * @public
6482
- * <p>A request to configure the custom MAIL FROM domain for a verified identity.</p>
6483
- */
6484
- export interface PutEmailIdentityMailFromAttributesRequest {
6485
- /**
6486
- * @public
6487
- * <p>The verified email identity.</p>
6488
- */
6489
- EmailIdentity: string | undefined;
6490
- /**
6491
- * @public
6492
- * <p> The custom MAIL FROM domain that you want the verified identity to use. The MAIL FROM
6493
- * domain must meet the following criteria:</p>
6494
- * <ul>
6495
- * <li>
6496
- * <p>It has to be a subdomain of the verified identity.</p>
6497
- * </li>
6498
- * <li>
6499
- * <p>It can't be used to receive email.</p>
6500
- * </li>
6501
- * <li>
6502
- * <p>It can't be used in a "From" address if the MAIL FROM domain is a destination
6503
- * for feedback forwarding emails.</p>
6504
- * </li>
6505
- * </ul>
6506
- */
6507
- MailFromDomain?: string;
6508
- /**
6509
- * @public
6510
- * <p>The action to take if the required MX record isn't found when you send an email. When
6511
- * you set this value to <code>UseDefaultValue</code>, the mail is sent using
6512
- * <i>amazonses.com</i> as the MAIL FROM domain. When you set this value
6513
- * to <code>RejectMessage</code>, the Amazon SES API v2 returns a
6514
- * <code>MailFromDomainNotVerified</code> error, and doesn't attempt to deliver the
6515
- * email.</p>
6516
- * <p>These behaviors are taken when the custom MAIL FROM domain configuration is in the
6517
- * <code>Pending</code>, <code>Failed</code>, and <code>TemporaryFailure</code>
6518
- * states.</p>
6519
- */
6520
- BehaviorOnMxFailure?: BehaviorOnMxFailure | string;
6521
- }
6522
- /**
6523
- * @public
6524
- * <p>An HTTP 200 response if the request succeeds, or an error message if the request
6525
- * fails.</p>
6526
- */
6527
- export interface PutEmailIdentityMailFromAttributesResponse {
6528
- }
6529
- /**
6530
- * @public
6531
- * <p>A request to add an email destination to the suppression list for your account.</p>
6532
- */
6533
- export interface PutSuppressedDestinationRequest {
6534
- /**
6535
- * @public
6536
- * <p>The email address that should be added to the suppression list for your
6537
- * account.</p>
6538
- */
6539
- EmailAddress: string | undefined;
6540
- /**
6541
- * @public
6542
- * <p>The factors that should cause the email address to be added to the suppression list
6543
- * for your account.</p>
6544
- */
6545
- Reason: SuppressionListReason | string | undefined;
6546
- }
6547
6590
  /**
6548
6591
  * @internal
6549
6592
  */