@aws-sdk/client-ses 3.428.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.
@@ -223,7 +223,7 @@ export interface RecipientDsnFields {
223
223
  * <p>The action performed by the reporting mail transfer agent (MTA) as a result of its
224
224
  * attempt to deliver the message to the recipient address. This is required by <a href="https://tools.ietf.org/html/rfc3464">RFC 3464</a>.</p>
225
225
  */
226
- Action: DsnAction | string | undefined;
226
+ Action: DsnAction | undefined;
227
227
  /**
228
228
  * @public
229
229
  * <p>The MTA to which the remote MTA attempted to deliver the message, formatted as
@@ -281,7 +281,7 @@ export interface BouncedRecipientInfo {
281
281
  * <p>The reason for the bounce. You must provide either this parameter or
282
282
  * <code>RecipientDsnFields</code>.</p>
283
283
  */
284
- BounceType?: BounceType | string;
284
+ BounceType?: BounceType;
285
285
  /**
286
286
  * @public
287
287
  * <p>Recipient-related DSN fields, most of which would normally be filled in automatically
@@ -508,7 +508,7 @@ export interface BulkEmailDestinationStatus {
508
508
  * </li>
509
509
  * </ul>
510
510
  */
511
- Status?: BulkEmailStatus | string;
511
+ Status?: BulkEmailStatus;
512
512
  /**
513
513
  * @public
514
514
  * <p>A description of an error that prevented a message being sent using the
@@ -653,7 +653,7 @@ export interface CloudWatchDimensionConfiguration {
653
653
  * <code>emailHeader</code>. To put a custom tag on any link included in your email,
654
654
  * specify <code>linkTag</code>.</p>
655
655
  */
656
- DimensionValueSource: DimensionValueSource | string | undefined;
656
+ DimensionValueSource: DimensionValueSource | undefined;
657
657
  /**
658
658
  * @public
659
659
  * <p>The default value of the dimension that is published to Amazon CloudWatch if you do not provide
@@ -950,7 +950,7 @@ export interface EventDestination {
950
950
  * </li>
951
951
  * </ul>
952
952
  */
953
- MatchingEventTypes: (EventType | string)[] | undefined;
953
+ MatchingEventTypes: EventType[] | undefined;
954
954
  /**
955
955
  * @public
956
956
  * <p>An object that contains the delivery stream ARN and the IAM role ARN associated with
@@ -1292,7 +1292,7 @@ export interface ReceiptIpFilter {
1292
1292
  * <p>Indicates whether to block or allow incoming mail from the specified IP
1293
1293
  * addresses.</p>
1294
1294
  */
1295
- Policy: ReceiptFilterPolicy | string | undefined;
1295
+ Policy: ReceiptFilterPolicy | undefined;
1296
1296
  /**
1297
1297
  * @public
1298
1298
  * <p>A single IP address or a range of IP addresses to block or allow, specified in
@@ -1409,7 +1409,7 @@ export interface LambdaAction {
1409
1409
  * to stop the receipt rule or the receipt rule set.</p>
1410
1410
  * </important>
1411
1411
  */
1412
- InvocationType?: InvocationType | string;
1412
+ InvocationType?: InvocationType;
1413
1413
  }
1414
1414
  /**
1415
1415
  * @public
@@ -1531,7 +1531,7 @@ export interface SNSAction {
1531
1531
  * different encoding format. Base64 preserves all special characters. The default value is
1532
1532
  * UTF-8.</p>
1533
1533
  */
1534
- Encoding?: SNSActionEncoding | string;
1534
+ Encoding?: SNSActionEncoding;
1535
1535
  }
1536
1536
  /**
1537
1537
  * @public
@@ -1556,7 +1556,7 @@ export interface StopAction {
1556
1556
  * @public
1557
1557
  * <p>The scope of the StopAction. The only acceptable value is <code>RuleSet</code>.</p>
1558
1558
  */
1559
- Scope: StopScope | string | undefined;
1559
+ Scope: StopScope | undefined;
1560
1560
  /**
1561
1561
  * @public
1562
1562
  * <p>The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the stop action is
@@ -1699,7 +1699,7 @@ export interface ReceiptRule {
1699
1699
  * <code>Require</code>, Amazon SES bounces emails that are not received over TLS. The
1700
1700
  * default is <code>Optional</code>.</p>
1701
1701
  */
1702
- TlsPolicy?: TlsPolicy | string;
1702
+ TlsPolicy?: TlsPolicy;
1703
1703
  /**
1704
1704
  * @public
1705
1705
  * <p>The recipient domains and email addresses that the receipt rule applies to. If this
@@ -2251,7 +2251,7 @@ export interface DeliveryOptions {
2251
2251
  * delivered if a TLS connection can be established. If the value is <code>Optional</code>,
2252
2252
  * messages can be delivered in plain text if a TLS connection can't be established.</p>
2253
2253
  */
2254
- TlsPolicy?: TlsPolicy | string;
2254
+ TlsPolicy?: TlsPolicy;
2255
2255
  }
2256
2256
  /**
2257
2257
  * @public
@@ -2329,7 +2329,7 @@ export interface DescribeConfigurationSetRequest {
2329
2329
  * @public
2330
2330
  * <p>A list of configuration set attributes to return.</p>
2331
2331
  */
2332
- ConfigurationSetAttributeNames?: (ConfigurationSetAttribute | string)[];
2332
+ ConfigurationSetAttributeNames?: ConfigurationSetAttribute[];
2333
2333
  }
2334
2334
  /**
2335
2335
  * @public
@@ -2494,7 +2494,7 @@ export interface IdentityDkimAttributes {
2494
2494
  * published in the domain name's DNS. (This only applies to domain identities, not email
2495
2495
  * address identities.)</p>
2496
2496
  */
2497
- DkimVerificationStatus: VerificationStatus | string | undefined;
2497
+ DkimVerificationStatus: VerificationStatus | undefined;
2498
2498
  /**
2499
2499
  * @public
2500
2500
  * <p>A set of character strings that represent the domain's identity. Using these tokens,
@@ -2631,7 +2631,7 @@ export interface IdentityMailFromDomainAttributes {
2631
2631
  * states indicate that Amazon SES takes the action described by
2632
2632
  * <code>BehaviorOnMXFailure</code>.</p>
2633
2633
  */
2634
- MailFromDomainStatus: CustomMailFromStatus | string | undefined;
2634
+ MailFromDomainStatus: CustomMailFromStatus | undefined;
2635
2635
  /**
2636
2636
  * @public
2637
2637
  * <p>The action that Amazon SES takes if it cannot successfully read the required MX record when
@@ -2643,7 +2643,7 @@ export interface IdentityMailFromDomainAttributes {
2643
2643
  * <p>The custom MAIL FROM setup states that result in this behavior are
2644
2644
  * <code>Pending</code>, <code>Failed</code>, and <code>TemporaryFailure</code>.</p>
2645
2645
  */
2646
- BehaviorOnMXFailure: BehaviorOnMXFailure | string | undefined;
2646
+ BehaviorOnMXFailure: BehaviorOnMXFailure | undefined;
2647
2647
  }
2648
2648
  /**
2649
2649
  * @public
@@ -2800,7 +2800,7 @@ export interface IdentityVerificationAttributes {
2800
2800
  * <p>The verification status of the identity: "Pending", "Success", "Failed", or
2801
2801
  * "TemporaryFailure".</p>
2802
2802
  */
2803
- VerificationStatus: VerificationStatus | string | undefined;
2803
+ VerificationStatus: VerificationStatus | undefined;
2804
2804
  /**
2805
2805
  * @public
2806
2806
  * <p>The verification token for a domain identity. Null for email address
@@ -3074,7 +3074,7 @@ export interface ListIdentitiesRequest {
3074
3074
  * <p>The type of the identities to list. Possible values are "EmailAddress" and "Domain".
3075
3075
  * If this parameter is omitted, then all identities are listed.</p>
3076
3076
  */
3077
- IdentityType?: IdentityType | string;
3077
+ IdentityType?: IdentityType;
3078
3078
  /**
3079
3079
  * @public
3080
3080
  * <p>The token to use for pagination.</p>
@@ -4164,7 +4164,7 @@ export interface SetIdentityHeadersInNotificationsEnabledRequest {
4164
4164
  * @public
4165
4165
  * <p>The notification type for which to enable or disable headers in notifications. </p>
4166
4166
  */
4167
- NotificationType: NotificationType | string | undefined;
4167
+ NotificationType: NotificationType | undefined;
4168
4168
  /**
4169
4169
  * @public
4170
4170
  * <p>Sets whether Amazon SES includes the original email headers in Amazon SNS notifications of the
@@ -4215,7 +4215,7 @@ export interface SetIdentityMailFromDomainRequest {
4215
4215
  * FROM domain setup is in the <code>Pending</code>, <code>Failed</code>, and
4216
4216
  * <code>TemporaryFailure</code> states.</p>
4217
4217
  */
4218
- BehaviorOnMXFailure?: BehaviorOnMXFailure | string;
4218
+ BehaviorOnMXFailure?: BehaviorOnMXFailure;
4219
4219
  }
4220
4220
  /**
4221
4221
  * @public
@@ -4247,7 +4247,7 @@ export interface SetIdentityNotificationTopicRequest {
4247
4247
  * @public
4248
4248
  * <p>The type of notifications that are published to the specified Amazon SNS topic.</p>
4249
4249
  */
4250
- NotificationType: NotificationType | string | undefined;
4250
+ NotificationType: NotificationType | undefined;
4251
4251
  /**
4252
4252
  * @public
4253
4253
  * <p>The Amazon Resource Name (ARN) of the Amazon SNS topic. If the parameter is omitted from
@@ -63,7 +63,7 @@ export interface ExtensionField {
63
63
  }
64
64
  export interface RecipientDsnFields {
65
65
  FinalRecipient?: string;
66
- Action: DsnAction | string | undefined;
66
+ Action: DsnAction | undefined;
67
67
  RemoteMta?: string;
68
68
  Status: string | undefined;
69
69
  DiagnosticCode?: string;
@@ -73,7 +73,7 @@ export interface RecipientDsnFields {
73
73
  export interface BouncedRecipientInfo {
74
74
  Recipient: string | undefined;
75
75
  RecipientArn?: string;
76
- BounceType?: BounceType | string;
76
+ BounceType?: BounceType;
77
77
  RecipientDsnFields?: RecipientDsnFields;
78
78
  }
79
79
  export interface Destination {
@@ -109,7 +109,7 @@ export declare const BulkEmailStatus: {
109
109
  export type BulkEmailStatus =
110
110
  (typeof BulkEmailStatus)[keyof typeof BulkEmailStatus];
111
111
  export interface BulkEmailDestinationStatus {
112
- Status?: BulkEmailStatus | string;
112
+ Status?: BulkEmailStatus;
113
113
  Error?: string;
114
114
  MessageId?: string;
115
115
  }
@@ -150,7 +150,7 @@ export type DimensionValueSource =
150
150
  (typeof DimensionValueSource)[keyof typeof DimensionValueSource];
151
151
  export interface CloudWatchDimensionConfiguration {
152
152
  DimensionName: string | undefined;
153
- DimensionValueSource: DimensionValueSource | string | undefined;
153
+ DimensionValueSource: DimensionValueSource | undefined;
154
154
  DefaultDimensionValue: string | undefined;
155
155
  }
156
156
  export interface CloudWatchDestination {
@@ -235,7 +235,7 @@ export interface SNSDestination {
235
235
  export interface EventDestination {
236
236
  Name: string | undefined;
237
237
  Enabled?: boolean;
238
- MatchingEventTypes: (EventType | string)[] | undefined;
238
+ MatchingEventTypes: EventType[] | undefined;
239
239
  KinesisFirehoseDestination?: KinesisFirehoseDestination;
240
240
  CloudWatchDestination?: CloudWatchDestination;
241
241
  SNSDestination?: SNSDestination;
@@ -366,7 +366,7 @@ export declare const ReceiptFilterPolicy: {
366
366
  export type ReceiptFilterPolicy =
367
367
  (typeof ReceiptFilterPolicy)[keyof typeof ReceiptFilterPolicy];
368
368
  export interface ReceiptIpFilter {
369
- Policy: ReceiptFilterPolicy | string | undefined;
369
+ Policy: ReceiptFilterPolicy | undefined;
370
370
  Cidr: string | undefined;
371
371
  }
372
372
  export interface ReceiptFilter {
@@ -386,7 +386,7 @@ export type InvocationType =
386
386
  export interface LambdaAction {
387
387
  TopicArn?: string;
388
388
  FunctionArn: string | undefined;
389
- InvocationType?: InvocationType | string;
389
+ InvocationType?: InvocationType;
390
390
  }
391
391
  export interface S3Action {
392
392
  TopicArn?: string;
@@ -402,14 +402,14 @@ export type SNSActionEncoding =
402
402
  (typeof SNSActionEncoding)[keyof typeof SNSActionEncoding];
403
403
  export interface SNSAction {
404
404
  TopicArn: string | undefined;
405
- Encoding?: SNSActionEncoding | string;
405
+ Encoding?: SNSActionEncoding;
406
406
  }
407
407
  export declare const StopScope: {
408
408
  readonly RULE_SET: "RuleSet";
409
409
  };
410
410
  export type StopScope = (typeof StopScope)[keyof typeof StopScope];
411
411
  export interface StopAction {
412
- Scope: StopScope | string | undefined;
412
+ Scope: StopScope | undefined;
413
413
  TopicArn?: string;
414
414
  }
415
415
  export interface WorkmailAction {
@@ -433,7 +433,7 @@ export type TlsPolicy = (typeof TlsPolicy)[keyof typeof TlsPolicy];
433
433
  export interface ReceiptRule {
434
434
  Name: string | undefined;
435
435
  Enabled?: boolean;
436
- TlsPolicy?: TlsPolicy | string;
436
+ TlsPolicy?: TlsPolicy;
437
437
  Recipients?: string[];
438
438
  Actions?: ReceiptAction[];
439
439
  ScanEnabled?: boolean;
@@ -596,7 +596,7 @@ export interface DeleteVerifiedEmailAddressRequest {
596
596
  EmailAddress: string | undefined;
597
597
  }
598
598
  export interface DeliveryOptions {
599
- TlsPolicy?: TlsPolicy | string;
599
+ TlsPolicy?: TlsPolicy;
600
600
  }
601
601
  export interface DescribeActiveReceiptRuleSetRequest {}
602
602
  export interface ReceiptRuleSetMetadata {
@@ -609,7 +609,7 @@ export interface DescribeActiveReceiptRuleSetResponse {
609
609
  }
610
610
  export interface DescribeConfigurationSetRequest {
611
611
  ConfigurationSetName: string | undefined;
612
- ConfigurationSetAttributeNames?: (ConfigurationSetAttribute | string)[];
612
+ ConfigurationSetAttributeNames?: ConfigurationSetAttribute[];
613
613
  }
614
614
  export interface ReputationOptions {
615
615
  SendingEnabled?: boolean;
@@ -648,7 +648,7 @@ export type VerificationStatus =
648
648
  (typeof VerificationStatus)[keyof typeof VerificationStatus];
649
649
  export interface IdentityDkimAttributes {
650
650
  DkimEnabled: boolean | undefined;
651
- DkimVerificationStatus: VerificationStatus | string | undefined;
651
+ DkimVerificationStatus: VerificationStatus | undefined;
652
652
  DkimTokens?: string[];
653
653
  }
654
654
  export interface GetAccountSendingEnabledResponse {
@@ -676,8 +676,8 @@ export interface GetIdentityMailFromDomainAttributesRequest {
676
676
  }
677
677
  export interface IdentityMailFromDomainAttributes {
678
678
  MailFromDomain: string | undefined;
679
- MailFromDomainStatus: CustomMailFromStatus | string | undefined;
680
- BehaviorOnMXFailure: BehaviorOnMXFailure | string | undefined;
679
+ MailFromDomainStatus: CustomMailFromStatus | undefined;
680
+ BehaviorOnMXFailure: BehaviorOnMXFailure | undefined;
681
681
  }
682
682
  export interface GetIdentityMailFromDomainAttributesResponse {
683
683
  MailFromDomainAttributes:
@@ -712,7 +712,7 @@ export interface GetIdentityVerificationAttributesRequest {
712
712
  Identities: string[] | undefined;
713
713
  }
714
714
  export interface IdentityVerificationAttributes {
715
- VerificationStatus: VerificationStatus | string | undefined;
715
+ VerificationStatus: VerificationStatus | undefined;
716
716
  VerificationToken?: string;
717
717
  }
718
718
  export interface GetIdentityVerificationAttributesResponse {
@@ -799,7 +799,7 @@ export interface ListCustomVerificationEmailTemplatesResponse {
799
799
  NextToken?: string;
800
800
  }
801
801
  export interface ListIdentitiesRequest {
802
- IdentityType?: IdentityType | string;
802
+ IdentityType?: IdentityType;
803
803
  NextToken?: string;
804
804
  MaxItems?: number;
805
805
  }
@@ -1004,19 +1004,19 @@ export interface SetIdentityFeedbackForwardingEnabledRequest {
1004
1004
  export interface SetIdentityFeedbackForwardingEnabledResponse {}
1005
1005
  export interface SetIdentityHeadersInNotificationsEnabledRequest {
1006
1006
  Identity: string | undefined;
1007
- NotificationType: NotificationType | string | undefined;
1007
+ NotificationType: NotificationType | undefined;
1008
1008
  Enabled: boolean | undefined;
1009
1009
  }
1010
1010
  export interface SetIdentityHeadersInNotificationsEnabledResponse {}
1011
1011
  export interface SetIdentityMailFromDomainRequest {
1012
1012
  Identity: string | undefined;
1013
1013
  MailFromDomain?: string;
1014
- BehaviorOnMXFailure?: BehaviorOnMXFailure | string;
1014
+ BehaviorOnMXFailure?: BehaviorOnMXFailure;
1015
1015
  }
1016
1016
  export interface SetIdentityMailFromDomainResponse {}
1017
1017
  export interface SetIdentityNotificationTopicRequest {
1018
1018
  Identity: string | undefined;
1019
- NotificationType: NotificationType | string | undefined;
1019
+ NotificationType: NotificationType | undefined;
1020
1020
  SnsTopic?: string;
1021
1021
  }
1022
1022
  export interface SetIdentityNotificationTopicResponse {}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ses",
3
3
  "description": "AWS SDK for JavaScript Ses Client for Node.js, Browser and React Native",
4
- "version": "3.428.0",
4
+ "version": "3.429.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.428.0",
25
- "@aws-sdk/credential-provider-node": "3.428.0",
26
- "@aws-sdk/middleware-host-header": "3.428.0",
24
+ "@aws-sdk/client-sts": "3.429.0",
25
+ "@aws-sdk/credential-provider-node": "3.429.0",
26
+ "@aws-sdk/middleware-host-header": "3.429.0",
27
27
  "@aws-sdk/middleware-logger": "3.428.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.428.0",
29
29
  "@aws-sdk/middleware-signing": "3.428.0",
@@ -38,7 +38,7 @@
38
38
  "@smithy/hash-node": "^2.0.11",
39
39
  "@smithy/invalid-dependency": "^2.0.11",
40
40
  "@smithy/middleware-content-length": "^2.0.13",
41
- "@smithy/middleware-endpoint": "^2.1.0",
41
+ "@smithy/middleware-endpoint": "^2.1.1",
42
42
  "@smithy/middleware-retry": "^2.0.16",
43
43
  "@smithy/middleware-serde": "^2.0.11",
44
44
  "@smithy/middleware-stack": "^2.0.5",