@aws-sdk/client-sesv2 3.299.0 → 3.301.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-types/commands/BatchGetMetricDataCommand.d.ts +14 -0
- package/dist-types/commands/CreateConfigurationSetCommand.d.ts +36 -0
- package/dist-types/commands/CreateConfigurationSetEventDestinationCommand.d.ts +29 -0
- package/dist-types/commands/CreateContactCommand.d.ts +12 -0
- package/dist-types/commands/CreateContactListCommand.d.ts +18 -0
- package/dist-types/commands/CreateCustomVerificationEmailTemplateCommand.d.ts +8 -0
- package/dist-types/commands/CreateDedicatedIpPoolCommand.d.ts +10 -0
- package/dist-types/commands/CreateDeliverabilityTestReportCommand.d.ts +36 -0
- package/dist-types/commands/CreateEmailIdentityCommand.d.ts +15 -0
- package/dist-types/commands/CreateEmailIdentityPolicyCommand.d.ts +5 -0
- package/dist-types/commands/CreateEmailTemplateCommand.d.ts +8 -0
- package/dist-types/commands/CreateImportJobCommand.d.ts +15 -0
- package/dist-types/commands/DeleteConfigurationSetCommand.d.ts +3 -0
- package/dist-types/commands/DeleteConfigurationSetEventDestinationCommand.d.ts +4 -0
- package/dist-types/commands/DeleteContactCommand.d.ts +4 -0
- package/dist-types/commands/DeleteContactListCommand.d.ts +3 -0
- package/dist-types/commands/DeleteCustomVerificationEmailTemplateCommand.d.ts +3 -0
- package/dist-types/commands/DeleteDedicatedIpPoolCommand.d.ts +3 -0
- package/dist-types/commands/DeleteEmailIdentityCommand.d.ts +3 -0
- package/dist-types/commands/DeleteEmailIdentityPolicyCommand.d.ts +4 -0
- package/dist-types/commands/DeleteEmailTemplateCommand.d.ts +3 -0
- package/dist-types/commands/DeleteSuppressedDestinationCommand.d.ts +3 -0
- package/dist-types/commands/GetAccountCommand.d.ts +1 -0
- package/dist-types/commands/GetBlacklistReportsCommand.d.ts +5 -0
- package/dist-types/commands/GetConfigurationSetCommand.d.ts +3 -0
- package/dist-types/commands/GetConfigurationSetEventDestinationsCommand.d.ts +3 -0
- package/dist-types/commands/GetContactCommand.d.ts +4 -0
- package/dist-types/commands/GetContactListCommand.d.ts +3 -0
- package/dist-types/commands/GetCustomVerificationEmailTemplateCommand.d.ts +3 -0
- package/dist-types/commands/GetDedicatedIpCommand.d.ts +3 -0
- package/dist-types/commands/GetDedicatedIpPoolCommand.d.ts +3 -0
- package/dist-types/commands/GetDedicatedIpsCommand.d.ts +5 -0
- package/dist-types/commands/GetDeliverabilityDashboardOptionsCommand.d.ts +1 -0
- package/dist-types/commands/GetDeliverabilityTestReportCommand.d.ts +3 -0
- package/dist-types/commands/GetDomainDeliverabilityCampaignCommand.d.ts +3 -0
- package/dist-types/commands/GetDomainStatisticsReportCommand.d.ts +5 -0
- package/dist-types/commands/GetEmailIdentityCommand.d.ts +3 -0
- package/dist-types/commands/GetEmailIdentityPoliciesCommand.d.ts +3 -0
- package/dist-types/commands/GetEmailTemplateCommand.d.ts +3 -0
- package/dist-types/commands/GetImportJobCommand.d.ts +3 -0
- package/dist-types/commands/GetSuppressedDestinationCommand.d.ts +3 -0
- package/dist-types/commands/ListConfigurationSetsCommand.d.ts +4 -0
- package/dist-types/commands/ListContactListsCommand.d.ts +4 -0
- package/dist-types/commands/ListContactsCommand.d.ts +12 -0
- package/dist-types/commands/ListCustomVerificationEmailTemplatesCommand.d.ts +4 -0
- package/dist-types/commands/ListDedicatedIpPoolsCommand.d.ts +4 -0
- package/dist-types/commands/ListDeliverabilityTestReportsCommand.d.ts +4 -0
- package/dist-types/commands/ListDomainDeliverabilityCampaignsCommand.d.ts +7 -0
- package/dist-types/commands/ListEmailIdentitiesCommand.d.ts +4 -0
- package/dist-types/commands/ListEmailTemplatesCommand.d.ts +4 -0
- package/dist-types/commands/ListImportJobsCommand.d.ts +5 -0
- package/dist-types/commands/ListRecommendationsCommand.d.ts +7 -0
- package/dist-types/commands/ListSuppressedDestinationsCommand.d.ts +9 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
- package/dist-types/commands/PutAccountDedicatedIpWarmupAttributesCommand.d.ts +3 -0
- package/dist-types/commands/PutAccountDetailsCommand.d.ts +10 -0
- package/dist-types/commands/PutAccountSendingAttributesCommand.d.ts +3 -0
- package/dist-types/commands/PutAccountSuppressionAttributesCommand.d.ts +5 -0
- package/dist-types/commands/PutAccountVdmAttributesCommand.d.ts +11 -0
- package/dist-types/commands/PutConfigurationSetDeliveryOptionsCommand.d.ts +5 -0
- package/dist-types/commands/PutConfigurationSetReputationOptionsCommand.d.ts +4 -0
- package/dist-types/commands/PutConfigurationSetSendingOptionsCommand.d.ts +4 -0
- package/dist-types/commands/PutConfigurationSetSuppressionOptionsCommand.d.ts +6 -0
- package/dist-types/commands/PutConfigurationSetTrackingOptionsCommand.d.ts +4 -0
- package/dist-types/commands/PutConfigurationSetVdmOptionsCommand.d.ts +11 -0
- package/dist-types/commands/PutDedicatedIpInPoolCommand.d.ts +4 -0
- package/dist-types/commands/PutDedicatedIpWarmupAttributesCommand.d.ts +4 -0
- package/dist-types/commands/PutDeliverabilityDashboardOptionCommand.d.ts +15 -0
- package/dist-types/commands/PutEmailIdentityConfigurationSetAttributesCommand.d.ts +4 -0
- package/dist-types/commands/PutEmailIdentityDkimAttributesCommand.d.ts +4 -0
- package/dist-types/commands/PutEmailIdentityDkimSigningAttributesCommand.d.ts +9 -0
- package/dist-types/commands/PutEmailIdentityFeedbackAttributesCommand.d.ts +4 -0
- package/dist-types/commands/PutEmailIdentityMailFromAttributesCommand.d.ts +5 -0
- package/dist-types/commands/PutSuppressedDestinationCommand.d.ts +4 -0
- package/dist-types/commands/SendBulkEmailCommand.d.ts +49 -0
- package/dist-types/commands/SendCustomVerificationEmailCommand.d.ts +5 -0
- package/dist-types/commands/SendEmailCommand.d.ts +57 -0
- package/dist-types/commands/TagResourceCommand.d.ts +9 -0
- package/dist-types/commands/TestRenderEmailTemplateCommand.d.ts +4 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UpdateConfigurationSetEventDestinationCommand.d.ts +29 -0
- package/dist-types/commands/UpdateContactCommand.d.ts +12 -0
- package/dist-types/commands/UpdateContactListCommand.d.ts +12 -0
- package/dist-types/commands/UpdateCustomVerificationEmailTemplateCommand.d.ts +8 -0
- package/dist-types/commands/UpdateEmailIdentityPolicyCommand.d.ts +5 -0
- package/dist-types/commands/UpdateEmailTemplateCommand.d.ts +8 -0
- package/package.json +8 -8
|
@@ -28,6 +28,10 @@ export interface TestRenderEmailTemplateCommandOutput extends TestRenderEmailTem
|
|
|
28
28
|
* import { SESv2Client, TestRenderEmailTemplateCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
|
|
29
29
|
* // const { SESv2Client, TestRenderEmailTemplateCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
|
|
30
30
|
* const client = new SESv2Client(config);
|
|
31
|
+
* const input = { // TestRenderEmailTemplateRequest
|
|
32
|
+
* TemplateName: "STRING_VALUE", // required
|
|
33
|
+
* TemplateData: "STRING_VALUE", // required
|
|
34
|
+
* };
|
|
31
35
|
* const command = new TestRenderEmailTemplateCommand(input);
|
|
32
36
|
* const response = await client.send(command);
|
|
33
37
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
26
26
|
* import { SESv2Client, UntagResourceCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
|
|
27
27
|
* // const { SESv2Client, UntagResourceCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
|
|
28
28
|
* const client = new SESv2Client(config);
|
|
29
|
+
* const input = { // UntagResourceRequest
|
|
30
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
31
|
+
* TagKeys: [ // TagKeyList // required
|
|
32
|
+
* "STRING_VALUE",
|
|
33
|
+
* ],
|
|
34
|
+
* };
|
|
29
35
|
* const command = new UntagResourceCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -32,6 +32,35 @@ export interface UpdateConfigurationSetEventDestinationCommandOutput extends Upd
|
|
|
32
32
|
* import { SESv2Client, UpdateConfigurationSetEventDestinationCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
|
|
33
33
|
* // const { SESv2Client, UpdateConfigurationSetEventDestinationCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
|
|
34
34
|
* const client = new SESv2Client(config);
|
|
35
|
+
* const input = { // UpdateConfigurationSetEventDestinationRequest
|
|
36
|
+
* ConfigurationSetName: "STRING_VALUE", // required
|
|
37
|
+
* EventDestinationName: "STRING_VALUE", // required
|
|
38
|
+
* EventDestination: { // EventDestinationDefinition
|
|
39
|
+
* Enabled: true || false,
|
|
40
|
+
* MatchingEventTypes: [ // EventTypes
|
|
41
|
+
* "SEND" || "REJECT" || "BOUNCE" || "COMPLAINT" || "DELIVERY" || "OPEN" || "CLICK" || "RENDERING_FAILURE" || "DELIVERY_DELAY" || "SUBSCRIPTION",
|
|
42
|
+
* ],
|
|
43
|
+
* KinesisFirehoseDestination: { // KinesisFirehoseDestination
|
|
44
|
+
* IamRoleArn: "STRING_VALUE", // required
|
|
45
|
+
* DeliveryStreamArn: "STRING_VALUE", // required
|
|
46
|
+
* },
|
|
47
|
+
* CloudWatchDestination: { // CloudWatchDestination
|
|
48
|
+
* DimensionConfigurations: [ // CloudWatchDimensionConfigurations // required
|
|
49
|
+
* { // CloudWatchDimensionConfiguration
|
|
50
|
+
* DimensionName: "STRING_VALUE", // required
|
|
51
|
+
* DimensionValueSource: "MESSAGE_TAG" || "EMAIL_HEADER" || "LINK_TAG", // required
|
|
52
|
+
* DefaultDimensionValue: "STRING_VALUE", // required
|
|
53
|
+
* },
|
|
54
|
+
* ],
|
|
55
|
+
* },
|
|
56
|
+
* SnsDestination: { // SnsDestination
|
|
57
|
+
* TopicArn: "STRING_VALUE", // required
|
|
58
|
+
* },
|
|
59
|
+
* PinpointDestination: { // PinpointDestination
|
|
60
|
+
* ApplicationArn: "STRING_VALUE",
|
|
61
|
+
* },
|
|
62
|
+
* },
|
|
63
|
+
* };
|
|
35
64
|
* const command = new UpdateConfigurationSetEventDestinationCommand(input);
|
|
36
65
|
* const response = await client.send(command);
|
|
37
66
|
* ```
|
|
@@ -28,6 +28,18 @@ export interface UpdateContactCommandOutput extends UpdateContactResponse, __Met
|
|
|
28
28
|
* import { SESv2Client, UpdateContactCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
|
|
29
29
|
* // const { SESv2Client, UpdateContactCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
|
|
30
30
|
* const client = new SESv2Client(config);
|
|
31
|
+
* const input = { // UpdateContactRequest
|
|
32
|
+
* ContactListName: "STRING_VALUE", // required
|
|
33
|
+
* EmailAddress: "STRING_VALUE", // required
|
|
34
|
+
* TopicPreferences: [ // TopicPreferenceList
|
|
35
|
+
* { // TopicPreference
|
|
36
|
+
* TopicName: "STRING_VALUE", // required
|
|
37
|
+
* SubscriptionStatus: "OPT_IN" || "OPT_OUT", // required
|
|
38
|
+
* },
|
|
39
|
+
* ],
|
|
40
|
+
* UnsubscribeAll: true || false,
|
|
41
|
+
* AttributesData: "STRING_VALUE",
|
|
42
|
+
* };
|
|
31
43
|
* const command = new UpdateContactCommand(input);
|
|
32
44
|
* const response = await client.send(command);
|
|
33
45
|
* ```
|
|
@@ -26,6 +26,18 @@ export interface UpdateContactListCommandOutput extends UpdateContactListRespons
|
|
|
26
26
|
* import { SESv2Client, UpdateContactListCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
|
|
27
27
|
* // const { SESv2Client, UpdateContactListCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
|
|
28
28
|
* const client = new SESv2Client(config);
|
|
29
|
+
* const input = { // UpdateContactListRequest
|
|
30
|
+
* ContactListName: "STRING_VALUE", // required
|
|
31
|
+
* Topics: [ // Topics
|
|
32
|
+
* { // Topic
|
|
33
|
+
* TopicName: "STRING_VALUE", // required
|
|
34
|
+
* DisplayName: "STRING_VALUE", // required
|
|
35
|
+
* Description: "STRING_VALUE",
|
|
36
|
+
* DefaultSubscriptionStatus: "OPT_IN" || "OPT_OUT", // required
|
|
37
|
+
* },
|
|
38
|
+
* ],
|
|
39
|
+
* Description: "STRING_VALUE",
|
|
40
|
+
* };
|
|
29
41
|
* const command = new UpdateContactListCommand(input);
|
|
30
42
|
* const response = await client.send(command);
|
|
31
43
|
* ```
|
|
@@ -30,6 +30,14 @@ export interface UpdateCustomVerificationEmailTemplateCommandOutput extends Upda
|
|
|
30
30
|
* import { SESv2Client, UpdateCustomVerificationEmailTemplateCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
|
|
31
31
|
* // const { SESv2Client, UpdateCustomVerificationEmailTemplateCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
|
|
32
32
|
* const client = new SESv2Client(config);
|
|
33
|
+
* const input = { // UpdateCustomVerificationEmailTemplateRequest
|
|
34
|
+
* TemplateName: "STRING_VALUE", // required
|
|
35
|
+
* FromEmailAddress: "STRING_VALUE", // required
|
|
36
|
+
* TemplateSubject: "STRING_VALUE", // required
|
|
37
|
+
* TemplateContent: "STRING_VALUE", // required
|
|
38
|
+
* SuccessRedirectionURL: "STRING_VALUE", // required
|
|
39
|
+
* FailureRedirectionURL: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
33
41
|
* const command = new UpdateCustomVerificationEmailTemplateCommand(input);
|
|
34
42
|
* const response = await client.send(command);
|
|
35
43
|
* ```
|
|
@@ -37,6 +37,11 @@ export interface UpdateEmailIdentityPolicyCommandOutput extends UpdateEmailIdent
|
|
|
37
37
|
* import { SESv2Client, UpdateEmailIdentityPolicyCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
|
|
38
38
|
* // const { SESv2Client, UpdateEmailIdentityPolicyCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
|
|
39
39
|
* const client = new SESv2Client(config);
|
|
40
|
+
* const input = { // UpdateEmailIdentityPolicyRequest
|
|
41
|
+
* EmailIdentity: "STRING_VALUE", // required
|
|
42
|
+
* PolicyName: "STRING_VALUE", // required
|
|
43
|
+
* Policy: "STRING_VALUE", // required
|
|
44
|
+
* };
|
|
40
45
|
* const command = new UpdateEmailIdentityPolicyCommand(input);
|
|
41
46
|
* const response = await client.send(command);
|
|
42
47
|
* ```
|
|
@@ -29,6 +29,14 @@ export interface UpdateEmailTemplateCommandOutput extends UpdateEmailTemplateRes
|
|
|
29
29
|
* import { SESv2Client, UpdateEmailTemplateCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
|
|
30
30
|
* // const { SESv2Client, UpdateEmailTemplateCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
|
|
31
31
|
* const client = new SESv2Client(config);
|
|
32
|
+
* const input = { // UpdateEmailTemplateRequest
|
|
33
|
+
* TemplateName: "STRING_VALUE", // required
|
|
34
|
+
* TemplateContent: { // EmailTemplateContent
|
|
35
|
+
* Subject: "STRING_VALUE",
|
|
36
|
+
* Text: "STRING_VALUE",
|
|
37
|
+
* Html: "STRING_VALUE",
|
|
38
|
+
* },
|
|
39
|
+
* };
|
|
32
40
|
* const command = new UpdateEmailTemplateCommand(input);
|
|
33
41
|
* const response = await client.send(command);
|
|
34
42
|
* ```
|
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.301.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.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.301.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.301.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.300.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.299.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
39
39
|
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.300.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
43
43
|
"@aws-sdk/smithy-client": "3.296.0",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.300.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.296.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.300.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
56
56
|
"tslib": "^2.5.0"
|
|
57
57
|
},
|