@aws-sdk/client-sesv2 3.658.1 → 3.660.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.
- package/dist-cjs/index.js +9 -1
- package/dist-es/models/models_0.js +5 -0
- package/dist-es/protocols/Aws_restJson1.js +1 -0
- package/dist-types/commands/CreateConfigurationSetCommand.d.ts +1 -0
- package/dist-types/commands/GetConfigurationSetCommand.d.ts +1 -0
- package/dist-types/commands/PutConfigurationSetTrackingOptionsCommand.d.ts +1 -0
- package/dist-types/commands/PutEmailIdentityDkimSigningAttributesCommand.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +27 -63
- package/dist-types/models/models_1.d.ts +64 -1
- package/dist-types/ts3.4/commands/PutEmailIdentityDkimSigningAttributesCommand.d.ts +2 -4
- package/dist-types/ts3.4/models/models_0.d.ts +8 -4
- package/dist-types/ts3.4/models/models_1.d.ts +5 -0
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -97,6 +97,7 @@ __export(src_exports, {
|
|
|
97
97
|
GetMessageInsightsCommand: () => GetMessageInsightsCommand,
|
|
98
98
|
GetMessageInsightsResponseFilterSensitiveLog: () => GetMessageInsightsResponseFilterSensitiveLog,
|
|
99
99
|
GetSuppressedDestinationCommand: () => GetSuppressedDestinationCommand,
|
|
100
|
+
HttpsPolicy: () => HttpsPolicy,
|
|
100
101
|
IdentityType: () => IdentityType,
|
|
101
102
|
ImportDestinationType: () => ImportDestinationType,
|
|
102
103
|
InternalServiceErrorException: () => InternalServiceErrorException,
|
|
@@ -588,6 +589,11 @@ var SuppressionListReason = {
|
|
|
588
589
|
BOUNCE: "BOUNCE",
|
|
589
590
|
COMPLAINT: "COMPLAINT"
|
|
590
591
|
};
|
|
592
|
+
var HttpsPolicy = {
|
|
593
|
+
OPTIONAL: "OPTIONAL",
|
|
594
|
+
REQUIRE: "REQUIRE",
|
|
595
|
+
REQUIRE_OPEN_ONLY: "REQUIRE_OPEN_ONLY"
|
|
596
|
+
};
|
|
591
597
|
var FeatureStatus = {
|
|
592
598
|
DISABLED: "DISABLED",
|
|
593
599
|
ENABLED: "ENABLED"
|
|
@@ -1751,7 +1757,8 @@ var se_PutConfigurationSetTrackingOptionsCommand = /* @__PURE__ */ __name(async
|
|
|
1751
1757
|
let body;
|
|
1752
1758
|
body = JSON.stringify(
|
|
1753
1759
|
(0, import_smithy_client.take)(input, {
|
|
1754
|
-
CustomRedirectDomain: []
|
|
1760
|
+
CustomRedirectDomain: [],
|
|
1761
|
+
HttpsPolicy: []
|
|
1755
1762
|
})
|
|
1756
1763
|
);
|
|
1757
1764
|
b.m("PUT").h(headers).b(body);
|
|
@@ -5567,6 +5574,7 @@ var paginateListSuppressedDestinations = (0, import_core.createPaginator)(SESv2C
|
|
|
5567
5574
|
ContactListImportAction,
|
|
5568
5575
|
TlsPolicy,
|
|
5569
5576
|
SuppressionListReason,
|
|
5577
|
+
HttpsPolicy,
|
|
5570
5578
|
FeatureStatus,
|
|
5571
5579
|
LimitExceededException,
|
|
5572
5580
|
EventType,
|
|
@@ -180,6 +180,11 @@ export const SuppressionListReason = {
|
|
|
180
180
|
BOUNCE: "BOUNCE",
|
|
181
181
|
COMPLAINT: "COMPLAINT",
|
|
182
182
|
};
|
|
183
|
+
export const HttpsPolicy = {
|
|
184
|
+
OPTIONAL: "OPTIONAL",
|
|
185
|
+
REQUIRE: "REQUIRE",
|
|
186
|
+
REQUIRE_OPEN_ONLY: "REQUIRE_OPEN_ONLY",
|
|
187
|
+
};
|
|
183
188
|
export const FeatureStatus = {
|
|
184
189
|
DISABLED: "DISABLED",
|
|
185
190
|
ENABLED: "ENABLED",
|
|
@@ -42,6 +42,7 @@ declare const CreateConfigurationSetCommand_base: {
|
|
|
42
42
|
* ConfigurationSetName: "STRING_VALUE", // required
|
|
43
43
|
* TrackingOptions: { // TrackingOptions
|
|
44
44
|
* CustomRedirectDomain: "STRING_VALUE", // required
|
|
45
|
+
* HttpsPolicy: "REQUIRE" || "REQUIRE_OPEN_ONLY" || "OPTIONAL",
|
|
45
46
|
* },
|
|
46
47
|
* DeliveryOptions: { // DeliveryOptions
|
|
47
48
|
* TlsPolicy: "REQUIRE" || "OPTIONAL",
|
|
@@ -50,6 +50,7 @@ declare const GetConfigurationSetCommand_base: {
|
|
|
50
50
|
* // ConfigurationSetName: "STRING_VALUE",
|
|
51
51
|
* // TrackingOptions: { // TrackingOptions
|
|
52
52
|
* // CustomRedirectDomain: "STRING_VALUE", // required
|
|
53
|
+
* // HttpsPolicy: "REQUIRE" || "REQUIRE_OPEN_ONLY" || "OPTIONAL",
|
|
53
54
|
* // },
|
|
54
55
|
* // DeliveryOptions: { // DeliveryOptions
|
|
55
56
|
* // TlsPolicy: "REQUIRE" || "OPTIONAL",
|
|
@@ -38,6 +38,7 @@ declare const PutConfigurationSetTrackingOptionsCommand_base: {
|
|
|
38
38
|
* const input = { // PutConfigurationSetTrackingOptionsRequest
|
|
39
39
|
* ConfigurationSetName: "STRING_VALUE", // required
|
|
40
40
|
* CustomRedirectDomain: "STRING_VALUE",
|
|
41
|
+
* HttpsPolicy: "REQUIRE" || "REQUIRE_OPEN_ONLY" || "OPTIONAL",
|
|
41
42
|
* };
|
|
42
43
|
* const command = new PutConfigurationSetTrackingOptionsCommand(input);
|
|
43
44
|
* const response = await client.send(command);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { PutEmailIdentityDkimSigningAttributesRequest
|
|
3
|
+
import { PutEmailIdentityDkimSigningAttributesRequest } from "../models/models_0";
|
|
4
|
+
import { PutEmailIdentityDkimSigningAttributesResponse } from "../models/models_1";
|
|
4
5
|
import { ServiceInputTypes, ServiceOutputTypes, SESv2ClientResolvedConfig } from "../SESv2Client";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
@@ -1316,6 +1316,19 @@ export interface Tag {
|
|
|
1316
1316
|
*/
|
|
1317
1317
|
Value: string | undefined;
|
|
1318
1318
|
}
|
|
1319
|
+
/**
|
|
1320
|
+
* @public
|
|
1321
|
+
* @enum
|
|
1322
|
+
*/
|
|
1323
|
+
export declare const HttpsPolicy: {
|
|
1324
|
+
readonly OPTIONAL: "OPTIONAL";
|
|
1325
|
+
readonly REQUIRE: "REQUIRE";
|
|
1326
|
+
readonly REQUIRE_OPEN_ONLY: "REQUIRE_OPEN_ONLY";
|
|
1327
|
+
};
|
|
1328
|
+
/**
|
|
1329
|
+
* @public
|
|
1330
|
+
*/
|
|
1331
|
+
export type HttpsPolicy = (typeof HttpsPolicy)[keyof typeof HttpsPolicy];
|
|
1319
1332
|
/**
|
|
1320
1333
|
* <p>An object that defines the tracking options for a configuration set. When you use the
|
|
1321
1334
|
* Amazon SES API v2 to send an email, it contains an invisible image that's used to track when
|
|
@@ -1332,6 +1345,11 @@ export interface TrackingOptions {
|
|
|
1332
1345
|
* @public
|
|
1333
1346
|
*/
|
|
1334
1347
|
CustomRedirectDomain: string | undefined;
|
|
1348
|
+
/**
|
|
1349
|
+
* <p>The https policy to use for tracking open and click events.</p>
|
|
1350
|
+
* @public
|
|
1351
|
+
*/
|
|
1352
|
+
HttpsPolicy?: HttpsPolicy;
|
|
1335
1353
|
}
|
|
1336
1354
|
/**
|
|
1337
1355
|
* @public
|
|
@@ -6384,6 +6402,15 @@ export interface PutConfigurationSetTrackingOptionsRequest {
|
|
|
6384
6402
|
* @public
|
|
6385
6403
|
*/
|
|
6386
6404
|
CustomRedirectDomain?: string;
|
|
6405
|
+
/**
|
|
6406
|
+
* <p>The https policy to use for tracking open and click events. If the value is OPTIONAL or HttpsPolicy is not
|
|
6407
|
+
* specified, the open trackers use HTTP and click tracker use the original protocol of the link.
|
|
6408
|
+
* If the value is REQUIRE, both open and click tracker uses HTTPS and if the value is REQUIRE_OPEN_ONLY
|
|
6409
|
+
* open tracker uses HTTPS and link tracker is same as original protocol of the link.
|
|
6410
|
+
* </p>
|
|
6411
|
+
* @public
|
|
6412
|
+
*/
|
|
6413
|
+
HttpsPolicy?: HttpsPolicy;
|
|
6387
6414
|
}
|
|
6388
6415
|
/**
|
|
6389
6416
|
* <p>An HTTP 200 response if the request succeeds, or an error message if the request
|
|
@@ -6606,69 +6633,6 @@ export interface PutEmailIdentityDkimSigningAttributesRequest {
|
|
|
6606
6633
|
*/
|
|
6607
6634
|
SigningAttributes?: DkimSigningAttributes;
|
|
6608
6635
|
}
|
|
6609
|
-
/**
|
|
6610
|
-
* <p>If the action is successful, the service sends back an HTTP 200 response.</p>
|
|
6611
|
-
* <p>The following data is returned in JSON format by the service.</p>
|
|
6612
|
-
* @public
|
|
6613
|
-
*/
|
|
6614
|
-
export interface PutEmailIdentityDkimSigningAttributesResponse {
|
|
6615
|
-
/**
|
|
6616
|
-
* <p>The DKIM authentication status of the identity. Amazon SES determines the authentication
|
|
6617
|
-
* status by searching for specific records in the DNS configuration for your domain. If
|
|
6618
|
-
* you used <a href="https://docs.aws.amazon.com/ses/latest/DeveloperGuide/easy-dkim.html">Easy
|
|
6619
|
-
* DKIM</a> to set up DKIM authentication, Amazon SES tries to find three unique CNAME
|
|
6620
|
-
* records in the DNS configuration for your domain.</p>
|
|
6621
|
-
* <p>If you provided a public key to perform DKIM authentication, Amazon SES tries to find a TXT
|
|
6622
|
-
* record that uses the selector that you specified. The value of the TXT record must be a
|
|
6623
|
-
* public key that's paired with the private key that you specified in the process of
|
|
6624
|
-
* creating the identity.</p>
|
|
6625
|
-
* <p>The status can be one of the following:</p>
|
|
6626
|
-
* <ul>
|
|
6627
|
-
* <li>
|
|
6628
|
-
* <p>
|
|
6629
|
-
* <code>PENDING</code> – The verification process was initiated, but Amazon SES
|
|
6630
|
-
* hasn't yet detected the DKIM records in the DNS configuration for the
|
|
6631
|
-
* domain.</p>
|
|
6632
|
-
* </li>
|
|
6633
|
-
* <li>
|
|
6634
|
-
* <p>
|
|
6635
|
-
* <code>SUCCESS</code> – The verification process completed
|
|
6636
|
-
* successfully.</p>
|
|
6637
|
-
* </li>
|
|
6638
|
-
* <li>
|
|
6639
|
-
* <p>
|
|
6640
|
-
* <code>FAILED</code> – The verification process failed. This typically
|
|
6641
|
-
* occurs when Amazon SES fails to find the DKIM records in the DNS configuration of the
|
|
6642
|
-
* domain.</p>
|
|
6643
|
-
* </li>
|
|
6644
|
-
* <li>
|
|
6645
|
-
* <p>
|
|
6646
|
-
* <code>TEMPORARY_FAILURE</code> – A temporary issue is preventing Amazon SES
|
|
6647
|
-
* from determining the DKIM authentication status of the domain.</p>
|
|
6648
|
-
* </li>
|
|
6649
|
-
* <li>
|
|
6650
|
-
* <p>
|
|
6651
|
-
* <code>NOT_STARTED</code> – The DKIM verification process hasn't been
|
|
6652
|
-
* initiated for the domain.</p>
|
|
6653
|
-
* </li>
|
|
6654
|
-
* </ul>
|
|
6655
|
-
* @public
|
|
6656
|
-
*/
|
|
6657
|
-
DkimStatus?: DkimStatus;
|
|
6658
|
-
/**
|
|
6659
|
-
* <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
|
|
6660
|
-
* contains a set of unique strings that you use to create a set of CNAME records that you
|
|
6661
|
-
* add to the DNS configuration for your domain. When Amazon SES detects these records in the
|
|
6662
|
-
* DNS configuration for your domain, the DKIM authentication process is complete.</p>
|
|
6663
|
-
* <p>If you configured DKIM authentication for the domain by providing your own
|
|
6664
|
-
* public-private key pair, then this object contains the selector that's associated with
|
|
6665
|
-
* your public key.</p>
|
|
6666
|
-
* <p>Regardless of the DKIM authentication method you use, Amazon SES searches for the
|
|
6667
|
-
* appropriate records in the DNS configuration of the domain for up to 72 hours.</p>
|
|
6668
|
-
* @public
|
|
6669
|
-
*/
|
|
6670
|
-
DkimTokens?: string[];
|
|
6671
|
-
}
|
|
6672
6636
|
/**
|
|
6673
6637
|
* @internal
|
|
6674
6638
|
*/
|
|
@@ -1,4 +1,67 @@
|
|
|
1
|
-
import { BehaviorOnMxFailure, BulkEmailContent, BulkEmailEntry, BulkEmailEntryResult, Destination, EmailContent, EmailTemplateContent, EventDestinationDefinition, ListManagementOptions, MessageTag, SuppressionListReason, Tag, Topic, TopicPreference } from "./models_0";
|
|
1
|
+
import { BehaviorOnMxFailure, BulkEmailContent, BulkEmailEntry, BulkEmailEntryResult, Destination, DkimStatus, EmailContent, EmailTemplateContent, EventDestinationDefinition, ListManagementOptions, MessageTag, SuppressionListReason, Tag, Topic, TopicPreference } from "./models_0";
|
|
2
|
+
/**
|
|
3
|
+
* <p>If the action is successful, the service sends back an HTTP 200 response.</p>
|
|
4
|
+
* <p>The following data is returned in JSON format by the service.</p>
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface PutEmailIdentityDkimSigningAttributesResponse {
|
|
8
|
+
/**
|
|
9
|
+
* <p>The DKIM authentication status of the identity. Amazon SES determines the authentication
|
|
10
|
+
* status by searching for specific records in the DNS configuration for your domain. If
|
|
11
|
+
* you used <a href="https://docs.aws.amazon.com/ses/latest/DeveloperGuide/easy-dkim.html">Easy
|
|
12
|
+
* DKIM</a> to set up DKIM authentication, Amazon SES tries to find three unique CNAME
|
|
13
|
+
* records in the DNS configuration for your domain.</p>
|
|
14
|
+
* <p>If you provided a public key to perform DKIM authentication, Amazon SES tries to find a TXT
|
|
15
|
+
* record that uses the selector that you specified. The value of the TXT record must be a
|
|
16
|
+
* public key that's paired with the private key that you specified in the process of
|
|
17
|
+
* creating the identity.</p>
|
|
18
|
+
* <p>The status can be one of the following:</p>
|
|
19
|
+
* <ul>
|
|
20
|
+
* <li>
|
|
21
|
+
* <p>
|
|
22
|
+
* <code>PENDING</code> – The verification process was initiated, but Amazon SES
|
|
23
|
+
* hasn't yet detected the DKIM records in the DNS configuration for the
|
|
24
|
+
* domain.</p>
|
|
25
|
+
* </li>
|
|
26
|
+
* <li>
|
|
27
|
+
* <p>
|
|
28
|
+
* <code>SUCCESS</code> – The verification process completed
|
|
29
|
+
* successfully.</p>
|
|
30
|
+
* </li>
|
|
31
|
+
* <li>
|
|
32
|
+
* <p>
|
|
33
|
+
* <code>FAILED</code> – The verification process failed. This typically
|
|
34
|
+
* occurs when Amazon SES fails to find the DKIM records in the DNS configuration of the
|
|
35
|
+
* domain.</p>
|
|
36
|
+
* </li>
|
|
37
|
+
* <li>
|
|
38
|
+
* <p>
|
|
39
|
+
* <code>TEMPORARY_FAILURE</code> – A temporary issue is preventing Amazon SES
|
|
40
|
+
* from determining the DKIM authentication status of the domain.</p>
|
|
41
|
+
* </li>
|
|
42
|
+
* <li>
|
|
43
|
+
* <p>
|
|
44
|
+
* <code>NOT_STARTED</code> – The DKIM verification process hasn't been
|
|
45
|
+
* initiated for the domain.</p>
|
|
46
|
+
* </li>
|
|
47
|
+
* </ul>
|
|
48
|
+
* @public
|
|
49
|
+
*/
|
|
50
|
+
DkimStatus?: DkimStatus;
|
|
51
|
+
/**
|
|
52
|
+
* <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
|
|
53
|
+
* contains a set of unique strings that you use to create a set of CNAME records that you
|
|
54
|
+
* add to the DNS configuration for your domain. When Amazon SES detects these records in the
|
|
55
|
+
* DNS configuration for your domain, the DKIM authentication process is complete.</p>
|
|
56
|
+
* <p>If you configured DKIM authentication for the domain by providing your own
|
|
57
|
+
* public-private key pair, then this object contains the selector that's associated with
|
|
58
|
+
* your public key.</p>
|
|
59
|
+
* <p>Regardless of the DKIM authentication method you use, Amazon SES searches for the
|
|
60
|
+
* appropriate records in the DNS configuration of the domain for up to 72 hours.</p>
|
|
61
|
+
* @public
|
|
62
|
+
*/
|
|
63
|
+
DkimTokens?: string[];
|
|
64
|
+
}
|
|
2
65
|
/**
|
|
3
66
|
* <p>A request to set the attributes that control how bounce and complaint events are
|
|
4
67
|
* processed.</p>
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
PutEmailIdentityDkimSigningAttributesResponse,
|
|
6
|
-
} from "../models/models_0";
|
|
3
|
+
import { PutEmailIdentityDkimSigningAttributesRequest } from "../models/models_0";
|
|
4
|
+
import { PutEmailIdentityDkimSigningAttributesResponse } from "../models/models_1";
|
|
7
5
|
import {
|
|
8
6
|
ServiceInputTypes,
|
|
9
7
|
ServiceOutputTypes,
|
|
@@ -311,8 +311,15 @@ export interface Tag {
|
|
|
311
311
|
Key: string | undefined;
|
|
312
312
|
Value: string | undefined;
|
|
313
313
|
}
|
|
314
|
+
export declare const HttpsPolicy: {
|
|
315
|
+
readonly OPTIONAL: "OPTIONAL";
|
|
316
|
+
readonly REQUIRE: "REQUIRE";
|
|
317
|
+
readonly REQUIRE_OPEN_ONLY: "REQUIRE_OPEN_ONLY";
|
|
318
|
+
};
|
|
319
|
+
export type HttpsPolicy = (typeof HttpsPolicy)[keyof typeof HttpsPolicy];
|
|
314
320
|
export interface TrackingOptions {
|
|
315
321
|
CustomRedirectDomain: string | undefined;
|
|
322
|
+
HttpsPolicy?: HttpsPolicy;
|
|
316
323
|
}
|
|
317
324
|
export declare const FeatureStatus: {
|
|
318
325
|
readonly DISABLED: "DISABLED";
|
|
@@ -1356,6 +1363,7 @@ export interface PutConfigurationSetSuppressionOptionsResponse {}
|
|
|
1356
1363
|
export interface PutConfigurationSetTrackingOptionsRequest {
|
|
1357
1364
|
ConfigurationSetName: string | undefined;
|
|
1358
1365
|
CustomRedirectDomain?: string;
|
|
1366
|
+
HttpsPolicy?: HttpsPolicy;
|
|
1359
1367
|
}
|
|
1360
1368
|
export interface PutConfigurationSetTrackingOptionsResponse {}
|
|
1361
1369
|
export interface PutConfigurationSetVdmOptionsRequest {
|
|
@@ -1398,10 +1406,6 @@ export interface PutEmailIdentityDkimSigningAttributesRequest {
|
|
|
1398
1406
|
SigningAttributesOrigin: DkimSigningAttributesOrigin | undefined;
|
|
1399
1407
|
SigningAttributes?: DkimSigningAttributes;
|
|
1400
1408
|
}
|
|
1401
|
-
export interface PutEmailIdentityDkimSigningAttributesResponse {
|
|
1402
|
-
DkimStatus?: DkimStatus;
|
|
1403
|
-
DkimTokens?: string[];
|
|
1404
|
-
}
|
|
1405
1409
|
export declare const AccountDetailsFilterSensitiveLog: (
|
|
1406
1410
|
obj: AccountDetails
|
|
1407
1411
|
) => any;
|
|
@@ -4,6 +4,7 @@ import {
|
|
|
4
4
|
BulkEmailEntry,
|
|
5
5
|
BulkEmailEntryResult,
|
|
6
6
|
Destination,
|
|
7
|
+
DkimStatus,
|
|
7
8
|
EmailContent,
|
|
8
9
|
EmailTemplateContent,
|
|
9
10
|
EventDestinationDefinition,
|
|
@@ -14,6 +15,10 @@ import {
|
|
|
14
15
|
Topic,
|
|
15
16
|
TopicPreference,
|
|
16
17
|
} from "./models_0";
|
|
18
|
+
export interface PutEmailIdentityDkimSigningAttributesResponse {
|
|
19
|
+
DkimStatus?: DkimStatus;
|
|
20
|
+
DkimTokens?: string[];
|
|
21
|
+
}
|
|
17
22
|
export interface PutEmailIdentityFeedbackAttributesRequest {
|
|
18
23
|
EmailIdentity: string | undefined;
|
|
19
24
|
EmailForwardingEnabled?: boolean;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sesv2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Sesv2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.660.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-sesv2",
|