@aws-sdk/client-pinpoint-email 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.
@@ -73,7 +73,7 @@ export interface DeliveryOptions {
73
73
  * delivered if a TLS connection can be established. If the value is <code>Optional</code>,
74
74
  * messages can be delivered in plain text if a TLS connection can't be established.</p>
75
75
  */
76
- TlsPolicy?: TlsPolicy | string;
76
+ TlsPolicy?: TlsPolicy;
77
77
  /**
78
78
  * @public
79
79
  * <p>The name of the dedicated IP pool that you want to associate with the configuration
@@ -310,7 +310,7 @@ export interface CloudWatchDimensionConfiguration {
310
310
  * want Amazon Pinpoint to use your own email headers, choose <code>emailHeader</code>. If you want
311
311
  * Amazon Pinpoint to use link tags, choose <code>linkTags</code>.</p>
312
312
  */
313
- DimensionValueSource: DimensionValueSource | string | undefined;
313
+ DimensionValueSource: DimensionValueSource | undefined;
314
314
  /**
315
315
  * @public
316
316
  * <p>The default value of the dimension that is published to Amazon CloudWatch if you don't provide the
@@ -428,7 +428,7 @@ export interface EventDestinationDefinition {
428
428
  * <p>An array that specifies which events Amazon Pinpoint should send to the destinations in this
429
429
  * <code>EventDestinationDefinition</code>.</p>
430
430
  */
431
- MatchingEventTypes?: (EventType | string)[];
431
+ MatchingEventTypes?: EventType[];
432
432
  /**
433
433
  * @public
434
434
  * <p>An object that defines an Amazon Kinesis Data Firehose destination for email events. You can use Amazon Kinesis Data Firehose to
@@ -737,7 +737,7 @@ export interface CreateDeliverabilityTestReportResponse {
737
737
  * test. If the status is <code>COMPLETE</code>, then the test is finished, and you can use
738
738
  * the <code>GetDeliverabilityTestReport</code> to view the results of the test.</p>
739
739
  */
740
- DeliverabilityTestStatus: DeliverabilityTestStatus | string | undefined;
740
+ DeliverabilityTestStatus: DeliverabilityTestStatus | undefined;
741
741
  }
742
742
  /**
743
743
  * @public
@@ -856,7 +856,7 @@ export interface DkimAttributes {
856
856
  * </li>
857
857
  * </ul>
858
858
  */
859
- Status?: DkimStatus | string;
859
+ Status?: DkimStatus;
860
860
  /**
861
861
  * @public
862
862
  * <p>A set of unique strings that you use to create a set of CNAME records that you add to
@@ -892,7 +892,7 @@ export interface CreateEmailIdentityResponse {
892
892
  * @public
893
893
  * <p>The email identity type.</p>
894
894
  */
895
- IdentityType?: IdentityType | string;
895
+ IdentityType?: IdentityType;
896
896
  /**
897
897
  * @public
898
898
  * <p>Specifies whether or not the identity is verified. In Amazon Pinpoint, you can only send email
@@ -1229,7 +1229,7 @@ export interface EventDestination {
1229
1229
  * @public
1230
1230
  * <p>The types of events that Amazon Pinpoint sends to the specified event destinations.</p>
1231
1231
  */
1232
- MatchingEventTypes: (EventType | string)[] | undefined;
1232
+ MatchingEventTypes: EventType[] | undefined;
1233
1233
  /**
1234
1234
  * @public
1235
1235
  * <p>An object that defines an Amazon Kinesis Data Firehose destination for email events. You can use Amazon Kinesis Data Firehose to
@@ -1321,7 +1321,7 @@ export interface DedicatedIp {
1321
1321
  * </li>
1322
1322
  * </ul>
1323
1323
  */
1324
- WarmupStatus: WarmupStatus | string | undefined;
1324
+ WarmupStatus: WarmupStatus | undefined;
1325
1325
  /**
1326
1326
  * @public
1327
1327
  * <p>Indicates how complete the dedicated IP warm-up process is. When this value equals 1,
@@ -1487,7 +1487,7 @@ export interface GetDeliverabilityDashboardOptionsResponse {
1487
1487
  * <code>PENDING_EXPIRATION</code>, your subscription is scheduled to expire at the end
1488
1488
  * of the current calendar month.</p>
1489
1489
  */
1490
- AccountStatus?: DeliverabilityDashboardAccountStatus | string;
1490
+ AccountStatus?: DeliverabilityDashboardAccountStatus;
1491
1491
  /**
1492
1492
  * @public
1493
1493
  * <p>An array of objects, one for each verified domain that you use to send email and
@@ -1551,7 +1551,7 @@ export interface DeliverabilityTestReport {
1551
1551
  * test. If the status is <code>COMPLETE</code>, then the test is finished, and you can use
1552
1552
  * the <code>GetDeliverabilityTestReport</code> to view the results of the test.</p>
1553
1553
  */
1554
- DeliverabilityTestStatus?: DeliverabilityTestStatus | string;
1554
+ DeliverabilityTestStatus?: DeliverabilityTestStatus;
1555
1555
  }
1556
1556
  /**
1557
1557
  * @public
@@ -1999,7 +1999,7 @@ export interface MailFromAttributes {
1999
1999
  * </li>
2000
2000
  * </ul>
2001
2001
  */
2002
- MailFromDomainStatus: MailFromDomainStatus | string | undefined;
2002
+ MailFromDomainStatus: MailFromDomainStatus | undefined;
2003
2003
  /**
2004
2004
  * @public
2005
2005
  * <p>The action that Amazon Pinpoint to takes if it can't read the required MX record for a custom
@@ -2011,7 +2011,7 @@ export interface MailFromAttributes {
2011
2011
  * <code>Pending</code>, <code>Failed</code>, and <code>TemporaryFailure</code>
2012
2012
  * states.</p>
2013
2013
  */
2014
- BehaviorOnMxFailure: BehaviorOnMxFailure | string | undefined;
2014
+ BehaviorOnMxFailure: BehaviorOnMxFailure | undefined;
2015
2015
  }
2016
2016
  /**
2017
2017
  * @public
@@ -2022,7 +2022,7 @@ export interface GetEmailIdentityResponse {
2022
2022
  * @public
2023
2023
  * <p>The email identity type.</p>
2024
2024
  */
2025
- IdentityType?: IdentityType | string;
2025
+ IdentityType?: IdentityType;
2026
2026
  /**
2027
2027
  * @public
2028
2028
  * <p>The feedback forwarding configuration for the identity.</p>
@@ -2296,7 +2296,7 @@ export interface IdentityInfo {
2296
2296
  * </li>
2297
2297
  * </ul>
2298
2298
  */
2299
- IdentityType?: IdentityType | string;
2299
+ IdentityType?: IdentityType;
2300
2300
  /**
2301
2301
  * @public
2302
2302
  * <p>The address or domain of the identity.</p>
@@ -2417,7 +2417,7 @@ export interface PutConfigurationSetDeliveryOptionsRequest {
2417
2417
  * delivered if a TLS connection can be established. If the value is <code>Optional</code>,
2418
2418
  * messages can be delivered in plain text if a TLS connection can't be established.</p>
2419
2419
  */
2420
- TlsPolicy?: TlsPolicy | string;
2420
+ TlsPolicy?: TlsPolicy;
2421
2421
  /**
2422
2422
  * @public
2423
2423
  * <p>The name of the dedicated IP pool that you want to associate with the configuration
@@ -2691,7 +2691,7 @@ export interface PutEmailIdentityMailFromAttributesRequest {
2691
2691
  * <code>Pending</code>, <code>Failed</code>, and <code>TemporaryFailure</code>
2692
2692
  * states.</p>
2693
2693
  */
2694
- BehaviorOnMxFailure?: BehaviorOnMxFailure | string;
2694
+ BehaviorOnMxFailure?: BehaviorOnMxFailure;
2695
2695
  }
2696
2696
  /**
2697
2697
  * @public
@@ -37,7 +37,7 @@ export declare const TlsPolicy: {
37
37
  };
38
38
  export type TlsPolicy = (typeof TlsPolicy)[keyof typeof TlsPolicy];
39
39
  export interface DeliveryOptions {
40
- TlsPolicy?: TlsPolicy | string;
40
+ TlsPolicy?: TlsPolicy;
41
41
  SendingPoolName?: string;
42
42
  }
43
43
  export interface ReputationOptions {
@@ -91,7 +91,7 @@ export type DimensionValueSource =
91
91
  (typeof DimensionValueSource)[keyof typeof DimensionValueSource];
92
92
  export interface CloudWatchDimensionConfiguration {
93
93
  DimensionName: string | undefined;
94
- DimensionValueSource: DimensionValueSource | string | undefined;
94
+ DimensionValueSource: DimensionValueSource | undefined;
95
95
  DefaultDimensionValue: string | undefined;
96
96
  }
97
97
  export interface CloudWatchDestination {
@@ -120,7 +120,7 @@ export interface SnsDestination {
120
120
  }
121
121
  export interface EventDestinationDefinition {
122
122
  Enabled?: boolean;
123
- MatchingEventTypes?: (EventType | string)[];
123
+ MatchingEventTypes?: EventType[];
124
124
  KinesisFirehoseDestination?: KinesisFirehoseDestination;
125
125
  CloudWatchDestination?: CloudWatchDestination;
126
126
  SnsDestination?: SnsDestination;
@@ -175,7 +175,7 @@ export type DeliverabilityTestStatus =
175
175
  (typeof DeliverabilityTestStatus)[keyof typeof DeliverabilityTestStatus];
176
176
  export interface CreateDeliverabilityTestReportResponse {
177
177
  ReportId: string | undefined;
178
- DeliverabilityTestStatus: DeliverabilityTestStatus | string | undefined;
178
+ DeliverabilityTestStatus: DeliverabilityTestStatus | undefined;
179
179
  }
180
180
  export declare class MailFromDomainNotVerifiedException extends __BaseException {
181
181
  readonly name: "MailFromDomainNotVerifiedException";
@@ -213,7 +213,7 @@ export declare const DkimStatus: {
213
213
  export type DkimStatus = (typeof DkimStatus)[keyof typeof DkimStatus];
214
214
  export interface DkimAttributes {
215
215
  SigningEnabled?: boolean;
216
- Status?: DkimStatus | string;
216
+ Status?: DkimStatus;
217
217
  Tokens?: string[];
218
218
  }
219
219
  export declare const IdentityType: {
@@ -223,7 +223,7 @@ export declare const IdentityType: {
223
223
  };
224
224
  export type IdentityType = (typeof IdentityType)[keyof typeof IdentityType];
225
225
  export interface CreateEmailIdentityResponse {
226
- IdentityType?: IdentityType | string;
226
+ IdentityType?: IdentityType;
227
227
  VerifiedForSendingStatus?: boolean;
228
228
  DkimAttributes?: DkimAttributes;
229
229
  }
@@ -285,7 +285,7 @@ export interface GetConfigurationSetEventDestinationsRequest {
285
285
  export interface EventDestination {
286
286
  Name: string | undefined;
287
287
  Enabled?: boolean;
288
- MatchingEventTypes: (EventType | string)[] | undefined;
288
+ MatchingEventTypes: EventType[] | undefined;
289
289
  KinesisFirehoseDestination?: KinesisFirehoseDestination;
290
290
  CloudWatchDestination?: CloudWatchDestination;
291
291
  SnsDestination?: SnsDestination;
@@ -304,7 +304,7 @@ export declare const WarmupStatus: {
304
304
  export type WarmupStatus = (typeof WarmupStatus)[keyof typeof WarmupStatus];
305
305
  export interface DedicatedIp {
306
306
  Ip: string | undefined;
307
- WarmupStatus: WarmupStatus | string | undefined;
307
+ WarmupStatus: WarmupStatus | undefined;
308
308
  WarmupPercentage: number | undefined;
309
309
  PoolName?: string;
310
310
  }
@@ -340,7 +340,7 @@ export interface DomainDeliverabilityTrackingOption {
340
340
  export interface GetDeliverabilityDashboardOptionsResponse {
341
341
  DashboardEnabled: boolean | undefined;
342
342
  SubscriptionExpiryDate?: Date;
343
- AccountStatus?: DeliverabilityDashboardAccountStatus | string;
343
+ AccountStatus?: DeliverabilityDashboardAccountStatus;
344
344
  ActiveSubscribedDomains?: DomainDeliverabilityTrackingOption[];
345
345
  PendingExpirationSubscribedDomains?: DomainDeliverabilityTrackingOption[];
346
346
  }
@@ -353,7 +353,7 @@ export interface DeliverabilityTestReport {
353
353
  Subject?: string;
354
354
  FromEmailAddress?: string;
355
355
  CreateDate?: Date;
356
- DeliverabilityTestStatus?: DeliverabilityTestStatus | string;
356
+ DeliverabilityTestStatus?: DeliverabilityTestStatus;
357
357
  }
358
358
  export interface PlacementStatistics {
359
359
  InboxPercentage?: number;
@@ -446,11 +446,11 @@ export type MailFromDomainStatus =
446
446
  (typeof MailFromDomainStatus)[keyof typeof MailFromDomainStatus];
447
447
  export interface MailFromAttributes {
448
448
  MailFromDomain: string | undefined;
449
- MailFromDomainStatus: MailFromDomainStatus | string | undefined;
450
- BehaviorOnMxFailure: BehaviorOnMxFailure | string | undefined;
449
+ MailFromDomainStatus: MailFromDomainStatus | undefined;
450
+ BehaviorOnMxFailure: BehaviorOnMxFailure | undefined;
451
451
  }
452
452
  export interface GetEmailIdentityResponse {
453
- IdentityType?: IdentityType | string;
453
+ IdentityType?: IdentityType;
454
454
  FeedbackForwardingStatus?: boolean;
455
455
  VerifiedForSendingStatus?: boolean;
456
456
  DkimAttributes?: DkimAttributes;
@@ -497,7 +497,7 @@ export interface ListEmailIdentitiesRequest {
497
497
  PageSize?: number;
498
498
  }
499
499
  export interface IdentityInfo {
500
- IdentityType?: IdentityType | string;
500
+ IdentityType?: IdentityType;
501
501
  IdentityName?: string;
502
502
  SendingEnabled?: boolean;
503
503
  }
@@ -521,7 +521,7 @@ export interface PutAccountSendingAttributesRequest {
521
521
  export interface PutAccountSendingAttributesResponse {}
522
522
  export interface PutConfigurationSetDeliveryOptionsRequest {
523
523
  ConfigurationSetName: string | undefined;
524
- TlsPolicy?: TlsPolicy | string;
524
+ TlsPolicy?: TlsPolicy;
525
525
  SendingPoolName?: string;
526
526
  }
527
527
  export interface PutConfigurationSetDeliveryOptionsResponse {}
@@ -568,7 +568,7 @@ export interface PutEmailIdentityFeedbackAttributesResponse {}
568
568
  export interface PutEmailIdentityMailFromAttributesRequest {
569
569
  EmailIdentity: string | undefined;
570
570
  MailFromDomain?: string;
571
- BehaviorOnMxFailure?: BehaviorOnMxFailure | string;
571
+ BehaviorOnMxFailure?: BehaviorOnMxFailure;
572
572
  }
573
573
  export interface PutEmailIdentityMailFromAttributesResponse {}
574
574
  export interface Destination {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-pinpoint-email",
3
3
  "description": "AWS SDK for JavaScript Pinpoint Email 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",