@aws-sdk/client-sesv2 3.299.0 → 3.300.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,20 @@ export interface BatchGetMetricDataCommandOutput extends BatchGetMetricDataRespo
|
|
|
28
28
|
* import { SESv2Client, BatchGetMetricDataCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
|
|
29
29
|
* // const { SESv2Client, BatchGetMetricDataCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
|
|
30
30
|
* const client = new SESv2Client(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* Queries: [ // required
|
|
33
|
+
* {
|
|
34
|
+
* Id: "STRING_VALUE", // required
|
|
35
|
+
* Namespace: "VDM", // required
|
|
36
|
+
* Metric: "SEND" || "COMPLAINT" || "PERMANENT_BOUNCE" || "TRANSIENT_BOUNCE" || "OPEN" || "CLICK" || "DELIVERY" || "DELIVERY_OPEN" || "DELIVERY_CLICK" || "DELIVERY_COMPLAINT", // required
|
|
37
|
+
* Dimensions: {
|
|
38
|
+
* "<keys>": "STRING_VALUE",
|
|
39
|
+
* },
|
|
40
|
+
* StartDate: new Date("TIMESTAMP"), // required
|
|
41
|
+
* EndDate: new Date("TIMESTAMP"), // required
|
|
42
|
+
* },
|
|
43
|
+
* ],
|
|
44
|
+
* };
|
|
31
45
|
* const command = new BatchGetMetricDataCommand(input);
|
|
32
46
|
* const response = await client.send(command);
|
|
33
47
|
* ```
|
|
@@ -30,6 +30,42 @@ export interface CreateConfigurationSetCommandOutput extends CreateConfiguration
|
|
|
30
30
|
* import { SESv2Client, CreateConfigurationSetCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
|
|
31
31
|
* // const { SESv2Client, CreateConfigurationSetCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
|
|
32
32
|
* const client = new SESv2Client(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* ConfigurationSetName: "STRING_VALUE", // required
|
|
35
|
+
* TrackingOptions: {
|
|
36
|
+
* CustomRedirectDomain: "STRING_VALUE", // required
|
|
37
|
+
* },
|
|
38
|
+
* DeliveryOptions: {
|
|
39
|
+
* TlsPolicy: "REQUIRE" || "OPTIONAL",
|
|
40
|
+
* SendingPoolName: "STRING_VALUE",
|
|
41
|
+
* },
|
|
42
|
+
* ReputationOptions: {
|
|
43
|
+
* ReputationMetricsEnabled: true || false,
|
|
44
|
+
* LastFreshStart: new Date("TIMESTAMP"),
|
|
45
|
+
* },
|
|
46
|
+
* SendingOptions: {
|
|
47
|
+
* SendingEnabled: true || false,
|
|
48
|
+
* },
|
|
49
|
+
* Tags: [
|
|
50
|
+
* {
|
|
51
|
+
* Key: "STRING_VALUE", // required
|
|
52
|
+
* Value: "STRING_VALUE", // required
|
|
53
|
+
* },
|
|
54
|
+
* ],
|
|
55
|
+
* SuppressionOptions: {
|
|
56
|
+
* SuppressedReasons: [
|
|
57
|
+
* "BOUNCE" || "COMPLAINT",
|
|
58
|
+
* ],
|
|
59
|
+
* },
|
|
60
|
+
* VdmOptions: {
|
|
61
|
+
* DashboardOptions: {
|
|
62
|
+
* EngagementMetrics: "ENABLED" || "DISABLED",
|
|
63
|
+
* },
|
|
64
|
+
* GuardianOptions: {
|
|
65
|
+
* OptimizedSharedDelivery: "ENABLED" || "DISABLED",
|
|
66
|
+
* },
|
|
67
|
+
* },
|
|
68
|
+
* };
|
|
33
69
|
* const command = new CreateConfigurationSetCommand(input);
|
|
34
70
|
* const response = await client.send(command);
|
|
35
71
|
* ```
|
|
@@ -32,6 +32,35 @@ export interface CreateConfigurationSetEventDestinationCommandOutput extends Cre
|
|
|
32
32
|
* import { SESv2Client, CreateConfigurationSetEventDestinationCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
|
|
33
33
|
* // const { SESv2Client, CreateConfigurationSetEventDestinationCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
|
|
34
34
|
* const client = new SESv2Client(config);
|
|
35
|
+
* const input = {
|
|
36
|
+
* ConfigurationSetName: "STRING_VALUE", // required
|
|
37
|
+
* EventDestinationName: "STRING_VALUE", // required
|
|
38
|
+
* EventDestination: {
|
|
39
|
+
* Enabled: true || false,
|
|
40
|
+
* MatchingEventTypes: [
|
|
41
|
+
* "SEND" || "REJECT" || "BOUNCE" || "COMPLAINT" || "DELIVERY" || "OPEN" || "CLICK" || "RENDERING_FAILURE" || "DELIVERY_DELAY" || "SUBSCRIPTION",
|
|
42
|
+
* ],
|
|
43
|
+
* KinesisFirehoseDestination: {
|
|
44
|
+
* IamRoleArn: "STRING_VALUE", // required
|
|
45
|
+
* DeliveryStreamArn: "STRING_VALUE", // required
|
|
46
|
+
* },
|
|
47
|
+
* CloudWatchDestination: {
|
|
48
|
+
* DimensionConfigurations: [ // required
|
|
49
|
+
* {
|
|
50
|
+
* DimensionName: "STRING_VALUE", // required
|
|
51
|
+
* DimensionValueSource: "MESSAGE_TAG" || "EMAIL_HEADER" || "LINK_TAG", // required
|
|
52
|
+
* DefaultDimensionValue: "STRING_VALUE", // required
|
|
53
|
+
* },
|
|
54
|
+
* ],
|
|
55
|
+
* },
|
|
56
|
+
* SnsDestination: {
|
|
57
|
+
* TopicArn: "STRING_VALUE", // required
|
|
58
|
+
* },
|
|
59
|
+
* PinpointDestination: {
|
|
60
|
+
* ApplicationArn: "STRING_VALUE",
|
|
61
|
+
* },
|
|
62
|
+
* },
|
|
63
|
+
* };
|
|
35
64
|
* const command = new CreateConfigurationSetEventDestinationCommand(input);
|
|
36
65
|
* const response = await client.send(command);
|
|
37
66
|
* ```
|
|
@@ -27,6 +27,18 @@ export interface CreateContactCommandOutput extends CreateContactResponse, __Met
|
|
|
27
27
|
* import { SESv2Client, CreateContactCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
|
|
28
28
|
* // const { SESv2Client, CreateContactCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
|
|
29
29
|
* const client = new SESv2Client(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* ContactListName: "STRING_VALUE", // required
|
|
32
|
+
* EmailAddress: "STRING_VALUE", // required
|
|
33
|
+
* TopicPreferences: [
|
|
34
|
+
* {
|
|
35
|
+
* TopicName: "STRING_VALUE", // required
|
|
36
|
+
* SubscriptionStatus: "OPT_IN" || "OPT_OUT", // required
|
|
37
|
+
* },
|
|
38
|
+
* ],
|
|
39
|
+
* UnsubscribeAll: true || false,
|
|
40
|
+
* AttributesData: "STRING_VALUE",
|
|
41
|
+
* };
|
|
30
42
|
* const command = new CreateContactCommand(input);
|
|
31
43
|
* const response = await client.send(command);
|
|
32
44
|
* ```
|
|
@@ -26,6 +26,24 @@ export interface CreateContactListCommandOutput extends CreateContactListRespons
|
|
|
26
26
|
* import { SESv2Client, CreateContactListCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
|
|
27
27
|
* // const { SESv2Client, CreateContactListCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
|
|
28
28
|
* const client = new SESv2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* ContactListName: "STRING_VALUE", // required
|
|
31
|
+
* Topics: [
|
|
32
|
+
* {
|
|
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
|
+
* Tags: [
|
|
41
|
+
* {
|
|
42
|
+
* Key: "STRING_VALUE", // required
|
|
43
|
+
* Value: "STRING_VALUE", // required
|
|
44
|
+
* },
|
|
45
|
+
* ],
|
|
46
|
+
* };
|
|
29
47
|
* const command = new CreateContactListCommand(input);
|
|
30
48
|
* const response = await client.send(command);
|
|
31
49
|
* ```
|
|
@@ -30,6 +30,14 @@ export interface CreateCustomVerificationEmailTemplateCommandOutput extends Crea
|
|
|
30
30
|
* import { SESv2Client, CreateCustomVerificationEmailTemplateCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
|
|
31
31
|
* // const { SESv2Client, CreateCustomVerificationEmailTemplateCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
|
|
32
32
|
* const client = new SESv2Client(config);
|
|
33
|
+
* const input = {
|
|
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 CreateCustomVerificationEmailTemplateCommand(input);
|
|
34
42
|
* const response = await client.send(command);
|
|
35
43
|
* ```
|
|
@@ -29,6 +29,16 @@ export interface CreateDedicatedIpPoolCommandOutput extends CreateDedicatedIpPoo
|
|
|
29
29
|
* import { SESv2Client, CreateDedicatedIpPoolCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
|
|
30
30
|
* // const { SESv2Client, CreateDedicatedIpPoolCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
|
|
31
31
|
* const client = new SESv2Client(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* PoolName: "STRING_VALUE", // required
|
|
34
|
+
* Tags: [
|
|
35
|
+
* {
|
|
36
|
+
* Key: "STRING_VALUE", // required
|
|
37
|
+
* Value: "STRING_VALUE", // required
|
|
38
|
+
* },
|
|
39
|
+
* ],
|
|
40
|
+
* ScalingMode: "STANDARD" || "MANAGED",
|
|
41
|
+
* };
|
|
32
42
|
* const command = new CreateDedicatedIpPoolCommand(input);
|
|
33
43
|
* const response = await client.send(command);
|
|
34
44
|
* ```
|
|
@@ -32,6 +32,42 @@ export interface CreateDeliverabilityTestReportCommandOutput extends CreateDeliv
|
|
|
32
32
|
* import { SESv2Client, CreateDeliverabilityTestReportCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
|
|
33
33
|
* // const { SESv2Client, CreateDeliverabilityTestReportCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
|
|
34
34
|
* const client = new SESv2Client(config);
|
|
35
|
+
* const input = {
|
|
36
|
+
* ReportName: "STRING_VALUE",
|
|
37
|
+
* FromEmailAddress: "STRING_VALUE", // required
|
|
38
|
+
* Content: {
|
|
39
|
+
* Simple: {
|
|
40
|
+
* Subject: {
|
|
41
|
+
* Data: "STRING_VALUE", // required
|
|
42
|
+
* Charset: "STRING_VALUE",
|
|
43
|
+
* },
|
|
44
|
+
* Body: {
|
|
45
|
+
* Text: {
|
|
46
|
+
* Data: "STRING_VALUE", // required
|
|
47
|
+
* Charset: "STRING_VALUE",
|
|
48
|
+
* },
|
|
49
|
+
* Html: {
|
|
50
|
+
* Data: "STRING_VALUE", // required
|
|
51
|
+
* Charset: "STRING_VALUE",
|
|
52
|
+
* },
|
|
53
|
+
* },
|
|
54
|
+
* },
|
|
55
|
+
* Raw: {
|
|
56
|
+
* Data: "BLOB_VALUE", // required
|
|
57
|
+
* },
|
|
58
|
+
* Template: {
|
|
59
|
+
* TemplateName: "STRING_VALUE",
|
|
60
|
+
* TemplateArn: "STRING_VALUE",
|
|
61
|
+
* TemplateData: "STRING_VALUE",
|
|
62
|
+
* },
|
|
63
|
+
* },
|
|
64
|
+
* Tags: [
|
|
65
|
+
* {
|
|
66
|
+
* Key: "STRING_VALUE", // required
|
|
67
|
+
* Value: "STRING_VALUE", // required
|
|
68
|
+
* },
|
|
69
|
+
* ],
|
|
70
|
+
* };
|
|
35
71
|
* const command = new CreateDeliverabilityTestReportCommand(input);
|
|
36
72
|
* const response = await client.send(command);
|
|
37
73
|
* ```
|
|
@@ -51,6 +51,21 @@ export interface CreateEmailIdentityCommandOutput extends CreateEmailIdentityRes
|
|
|
51
51
|
* import { SESv2Client, CreateEmailIdentityCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
|
|
52
52
|
* // const { SESv2Client, CreateEmailIdentityCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
|
|
53
53
|
* const client = new SESv2Client(config);
|
|
54
|
+
* const input = {
|
|
55
|
+
* EmailIdentity: "STRING_VALUE", // required
|
|
56
|
+
* Tags: [
|
|
57
|
+
* {
|
|
58
|
+
* Key: "STRING_VALUE", // required
|
|
59
|
+
* Value: "STRING_VALUE", // required
|
|
60
|
+
* },
|
|
61
|
+
* ],
|
|
62
|
+
* DkimSigningAttributes: {
|
|
63
|
+
* DomainSigningSelector: "STRING_VALUE",
|
|
64
|
+
* DomainSigningPrivateKey: "STRING_VALUE",
|
|
65
|
+
* NextSigningKeyLength: "RSA_1024_BIT" || "RSA_2048_BIT",
|
|
66
|
+
* },
|
|
67
|
+
* ConfigurationSetName: "STRING_VALUE",
|
|
68
|
+
* };
|
|
54
69
|
* const command = new CreateEmailIdentityCommand(input);
|
|
55
70
|
* const response = await client.send(command);
|
|
56
71
|
* ```
|
|
@@ -36,6 +36,11 @@ export interface CreateEmailIdentityPolicyCommandOutput extends CreateEmailIdent
|
|
|
36
36
|
* import { SESv2Client, CreateEmailIdentityPolicyCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
|
|
37
37
|
* // const { SESv2Client, CreateEmailIdentityPolicyCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
|
|
38
38
|
* const client = new SESv2Client(config);
|
|
39
|
+
* const input = {
|
|
40
|
+
* EmailIdentity: "STRING_VALUE", // required
|
|
41
|
+
* PolicyName: "STRING_VALUE", // required
|
|
42
|
+
* Policy: "STRING_VALUE", // required
|
|
43
|
+
* };
|
|
39
44
|
* const command = new CreateEmailIdentityPolicyCommand(input);
|
|
40
45
|
* const response = await client.send(command);
|
|
41
46
|
* ```
|
|
@@ -29,6 +29,14 @@ export interface CreateEmailTemplateCommandOutput extends CreateEmailTemplateRes
|
|
|
29
29
|
* import { SESv2Client, CreateEmailTemplateCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
|
|
30
30
|
* // const { SESv2Client, CreateEmailTemplateCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
|
|
31
31
|
* const client = new SESv2Client(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* TemplateName: "STRING_VALUE", // required
|
|
34
|
+
* TemplateContent: {
|
|
35
|
+
* Subject: "STRING_VALUE",
|
|
36
|
+
* Text: "STRING_VALUE",
|
|
37
|
+
* Html: "STRING_VALUE",
|
|
38
|
+
* },
|
|
39
|
+
* };
|
|
32
40
|
* const command = new CreateEmailTemplateCommand(input);
|
|
33
41
|
* const response = await client.send(command);
|
|
34
42
|
* ```
|
|
@@ -26,6 +26,21 @@ export interface CreateImportJobCommandOutput extends CreateImportJobResponse, _
|
|
|
26
26
|
* import { SESv2Client, CreateImportJobCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
|
|
27
27
|
* // const { SESv2Client, CreateImportJobCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
|
|
28
28
|
* const client = new SESv2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* ImportDestination: {
|
|
31
|
+
* SuppressionListDestination: {
|
|
32
|
+
* SuppressionListImportAction: "DELETE" || "PUT", // required
|
|
33
|
+
* },
|
|
34
|
+
* ContactListDestination: {
|
|
35
|
+
* ContactListName: "STRING_VALUE", // required
|
|
36
|
+
* ContactListImportAction: "DELETE" || "PUT", // required
|
|
37
|
+
* },
|
|
38
|
+
* },
|
|
39
|
+
* ImportDataSource: {
|
|
40
|
+
* S3Url: "STRING_VALUE", // required
|
|
41
|
+
* DataFormat: "CSV" || "JSON", // required
|
|
42
|
+
* },
|
|
43
|
+
* };
|
|
29
44
|
* const command = new CreateImportJobCommand(input);
|
|
30
45
|
* const response = await client.send(command);
|
|
31
46
|
* ```
|
|
@@ -31,6 +31,9 @@ export interface DeleteConfigurationSetCommandOutput extends DeleteConfiguration
|
|
|
31
31
|
* import { SESv2Client, DeleteConfigurationSetCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
|
|
32
32
|
* // const { SESv2Client, DeleteConfigurationSetCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
|
|
33
33
|
* const client = new SESv2Client(config);
|
|
34
|
+
* const input = {
|
|
35
|
+
* ConfigurationSetName: "STRING_VALUE", // required
|
|
36
|
+
* };
|
|
34
37
|
* const command = new DeleteConfigurationSetCommand(input);
|
|
35
38
|
* const response = await client.send(command);
|
|
36
39
|
* ```
|
|
@@ -32,6 +32,10 @@ export interface DeleteConfigurationSetEventDestinationCommandOutput extends Del
|
|
|
32
32
|
* import { SESv2Client, DeleteConfigurationSetEventDestinationCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
|
|
33
33
|
* // const { SESv2Client, DeleteConfigurationSetEventDestinationCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
|
|
34
34
|
* const client = new SESv2Client(config);
|
|
35
|
+
* const input = {
|
|
36
|
+
* ConfigurationSetName: "STRING_VALUE", // required
|
|
37
|
+
* EventDestinationName: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
35
39
|
* const command = new DeleteConfigurationSetEventDestinationCommand(input);
|
|
36
40
|
* const response = await client.send(command);
|
|
37
41
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface DeleteContactCommandOutput extends DeleteContactResponse, __Met
|
|
|
26
26
|
* import { SESv2Client, DeleteContactCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
|
|
27
27
|
* // const { SESv2Client, DeleteContactCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
|
|
28
28
|
* const client = new SESv2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* ContactListName: "STRING_VALUE", // required
|
|
31
|
+
* EmailAddress: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new DeleteContactCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DeleteContactListCommandOutput extends DeleteContactListRespons
|
|
|
26
26
|
* import { SESv2Client, DeleteContactListCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
|
|
27
27
|
* // const { SESv2Client, DeleteContactListCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
|
|
28
28
|
* const client = new SESv2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* ContactListName: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DeleteContactListCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -30,6 +30,9 @@ export interface DeleteCustomVerificationEmailTemplateCommandOutput extends Dele
|
|
|
30
30
|
* import { SESv2Client, DeleteCustomVerificationEmailTemplateCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
|
|
31
31
|
* // const { SESv2Client, DeleteCustomVerificationEmailTemplateCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
|
|
32
32
|
* const client = new SESv2Client(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* TemplateName: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
33
36
|
* const command = new DeleteCustomVerificationEmailTemplateCommand(input);
|
|
34
37
|
* const response = await client.send(command);
|
|
35
38
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DeleteDedicatedIpPoolCommandOutput extends DeleteDedicatedIpPoo
|
|
|
26
26
|
* import { SESv2Client, DeleteDedicatedIpPoolCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
|
|
27
27
|
* // const { SESv2Client, DeleteDedicatedIpPoolCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
|
|
28
28
|
* const client = new SESv2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* PoolName: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DeleteDedicatedIpPoolCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface DeleteEmailIdentityCommandOutput extends DeleteEmailIdentityRes
|
|
|
27
27
|
* import { SESv2Client, DeleteEmailIdentityCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
|
|
28
28
|
* // const { SESv2Client, DeleteEmailIdentityCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
|
|
29
29
|
* const client = new SESv2Client(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* EmailIdentity: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new DeleteEmailIdentityCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -37,6 +37,10 @@ export interface DeleteEmailIdentityPolicyCommandOutput extends DeleteEmailIdent
|
|
|
37
37
|
* import { SESv2Client, DeleteEmailIdentityPolicyCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
|
|
38
38
|
* // const { SESv2Client, DeleteEmailIdentityPolicyCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
|
|
39
39
|
* const client = new SESv2Client(config);
|
|
40
|
+
* const input = {
|
|
41
|
+
* EmailIdentity: "STRING_VALUE", // required
|
|
42
|
+
* PolicyName: "STRING_VALUE", // required
|
|
43
|
+
* };
|
|
40
44
|
* const command = new DeleteEmailIdentityPolicyCommand(input);
|
|
41
45
|
* const response = await client.send(command);
|
|
42
46
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface DeleteEmailTemplateCommandOutput extends DeleteEmailTemplateRes
|
|
|
27
27
|
* import { SESv2Client, DeleteEmailTemplateCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
|
|
28
28
|
* // const { SESv2Client, DeleteEmailTemplateCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
|
|
29
29
|
* const client = new SESv2Client(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* TemplateName: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new DeleteEmailTemplateCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DeleteSuppressedDestinationCommandOutput extends DeleteSuppress
|
|
|
26
26
|
* import { SESv2Client, DeleteSuppressedDestinationCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
|
|
27
27
|
* // const { SESv2Client, DeleteSuppressedDestinationCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
|
|
28
28
|
* const client = new SESv2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* EmailAddress: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DeleteSuppressedDestinationCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -27,6 +27,7 @@ export interface GetAccountCommandOutput extends GetAccountResponse, __MetadataB
|
|
|
27
27
|
* import { SESv2Client, GetAccountCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
|
|
28
28
|
* // const { SESv2Client, GetAccountCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
|
|
29
29
|
* const client = new SESv2Client(config);
|
|
30
|
+
* const input = {};
|
|
30
31
|
* const command = new GetAccountCommand(input);
|
|
31
32
|
* const response = await client.send(command);
|
|
32
33
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface GetBlacklistReportsCommandOutput extends GetBlacklistReportsRes
|
|
|
26
26
|
* import { SESv2Client, GetBlacklistReportsCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
|
|
27
27
|
* // const { SESv2Client, GetBlacklistReportsCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
|
|
28
28
|
* const client = new SESv2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* BlacklistItemNames: [ // required
|
|
31
|
+
* "STRING_VALUE",
|
|
32
|
+
* ],
|
|
33
|
+
* };
|
|
29
34
|
* const command = new GetBlacklistReportsCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -33,6 +33,9 @@ export interface GetConfigurationSetCommandOutput extends GetConfigurationSetRes
|
|
|
33
33
|
* import { SESv2Client, GetConfigurationSetCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
|
|
34
34
|
* // const { SESv2Client, GetConfigurationSetCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
|
|
35
35
|
* const client = new SESv2Client(config);
|
|
36
|
+
* const input = {
|
|
37
|
+
* ConfigurationSetName: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
36
39
|
* const command = new GetConfigurationSetCommand(input);
|
|
37
40
|
* const response = await client.send(command);
|
|
38
41
|
* ```
|
|
@@ -33,6 +33,9 @@ export interface GetConfigurationSetEventDestinationsCommandOutput extends GetCo
|
|
|
33
33
|
* import { SESv2Client, GetConfigurationSetEventDestinationsCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
|
|
34
34
|
* // const { SESv2Client, GetConfigurationSetEventDestinationsCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
|
|
35
35
|
* const client = new SESv2Client(config);
|
|
36
|
+
* const input = {
|
|
37
|
+
* ConfigurationSetName: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
36
39
|
* const command = new GetConfigurationSetEventDestinationsCommand(input);
|
|
37
40
|
* const response = await client.send(command);
|
|
38
41
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface GetContactCommandOutput extends GetContactResponse, __MetadataB
|
|
|
26
26
|
* import { SESv2Client, GetContactCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
|
|
27
27
|
* // const { SESv2Client, GetContactCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
|
|
28
28
|
* const client = new SESv2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* ContactListName: "STRING_VALUE", // required
|
|
31
|
+
* EmailAddress: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new GetContactCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface GetContactListCommandOutput extends GetContactListResponse, __M
|
|
|
27
27
|
* import { SESv2Client, GetContactListCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
|
|
28
28
|
* // const { SESv2Client, GetContactListCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
|
|
29
29
|
* const client = new SESv2Client(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* ContactListName: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new GetContactListCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -31,6 +31,9 @@ export interface GetCustomVerificationEmailTemplateCommandOutput extends GetCust
|
|
|
31
31
|
* import { SESv2Client, GetCustomVerificationEmailTemplateCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
|
|
32
32
|
* // const { SESv2Client, GetCustomVerificationEmailTemplateCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
|
|
33
33
|
* const client = new SESv2Client(config);
|
|
34
|
+
* const input = {
|
|
35
|
+
* TemplateName: "STRING_VALUE", // required
|
|
36
|
+
* };
|
|
34
37
|
* const command = new GetCustomVerificationEmailTemplateCommand(input);
|
|
35
38
|
* const response = await client.send(command);
|
|
36
39
|
* ```
|
|
@@ -28,6 +28,9 @@ export interface GetDedicatedIpCommandOutput extends GetDedicatedIpResponse, __M
|
|
|
28
28
|
* import { SESv2Client, GetDedicatedIpCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
|
|
29
29
|
* // const { SESv2Client, GetDedicatedIpCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
|
|
30
30
|
* const client = new SESv2Client(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* Ip: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
31
34
|
* const command = new GetDedicatedIpCommand(input);
|
|
32
35
|
* const response = await client.send(command);
|
|
33
36
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface GetDedicatedIpPoolCommandOutput extends GetDedicatedIpPoolRespo
|
|
|
26
26
|
* import { SESv2Client, GetDedicatedIpPoolCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
|
|
27
27
|
* // const { SESv2Client, GetDedicatedIpPoolCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
|
|
28
28
|
* const client = new SESv2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* PoolName: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetDedicatedIpPoolCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -27,6 +27,11 @@ export interface GetDedicatedIpsCommandOutput extends GetDedicatedIpsResponse, _
|
|
|
27
27
|
* import { SESv2Client, GetDedicatedIpsCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
|
|
28
28
|
* // const { SESv2Client, GetDedicatedIpsCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
|
|
29
29
|
* const client = new SESv2Client(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* PoolName: "STRING_VALUE",
|
|
32
|
+
* NextToken: "STRING_VALUE",
|
|
33
|
+
* PageSize: Number("int"),
|
|
34
|
+
* };
|
|
30
35
|
* const command = new GetDedicatedIpsCommand(input);
|
|
31
36
|
* const response = await client.send(command);
|
|
32
37
|
* ```
|
|
@@ -32,6 +32,7 @@ export interface GetDeliverabilityDashboardOptionsCommandOutput extends GetDeliv
|
|
|
32
32
|
* import { SESv2Client, GetDeliverabilityDashboardOptionsCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
|
|
33
33
|
* // const { SESv2Client, GetDeliverabilityDashboardOptionsCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
|
|
34
34
|
* const client = new SESv2Client(config);
|
|
35
|
+
* const input = {};
|
|
35
36
|
* const command = new GetDeliverabilityDashboardOptionsCommand(input);
|
|
36
37
|
* const response = await client.send(command);
|
|
37
38
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface GetDeliverabilityTestReportCommandOutput extends GetDeliverabil
|
|
|
26
26
|
* import { SESv2Client, GetDeliverabilityTestReportCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
|
|
27
27
|
* // const { SESv2Client, GetDeliverabilityTestReportCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
|
|
28
28
|
* const client = new SESv2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* ReportId: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetDeliverabilityTestReportCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -28,6 +28,9 @@ export interface GetDomainDeliverabilityCampaignCommandOutput extends GetDomainD
|
|
|
28
28
|
* import { SESv2Client, GetDomainDeliverabilityCampaignCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
|
|
29
29
|
* // const { SESv2Client, GetDomainDeliverabilityCampaignCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
|
|
30
30
|
* const client = new SESv2Client(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* CampaignId: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
31
34
|
* const command = new GetDomainDeliverabilityCampaignCommand(input);
|
|
32
35
|
* const response = await client.send(command);
|
|
33
36
|
* ```
|
|
@@ -27,6 +27,11 @@ export interface GetDomainStatisticsReportCommandOutput extends GetDomainStatist
|
|
|
27
27
|
* import { SESv2Client, GetDomainStatisticsReportCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
|
|
28
28
|
* // const { SESv2Client, GetDomainStatisticsReportCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
|
|
29
29
|
* const client = new SESv2Client(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* Domain: "STRING_VALUE", // required
|
|
32
|
+
* StartDate: new Date("TIMESTAMP"), // required
|
|
33
|
+
* EndDate: new Date("TIMESTAMP"), // required
|
|
34
|
+
* };
|
|
30
35
|
* const command = new GetDomainStatisticsReportCommand(input);
|
|
31
36
|
* const response = await client.send(command);
|
|
32
37
|
* ```
|
|
@@ -28,6 +28,9 @@ export interface GetEmailIdentityCommandOutput extends GetEmailIdentityResponse,
|
|
|
28
28
|
* import { SESv2Client, GetEmailIdentityCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
|
|
29
29
|
* // const { SESv2Client, GetEmailIdentityCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
|
|
30
30
|
* const client = new SESv2Client(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* EmailIdentity: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
31
34
|
* const command = new GetEmailIdentityCommand(input);
|
|
32
35
|
* const response = await client.send(command);
|
|
33
36
|
* ```
|
|
@@ -37,6 +37,9 @@ export interface GetEmailIdentityPoliciesCommandOutput extends GetEmailIdentityP
|
|
|
37
37
|
* import { SESv2Client, GetEmailIdentityPoliciesCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
|
|
38
38
|
* // const { SESv2Client, GetEmailIdentityPoliciesCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
|
|
39
39
|
* const client = new SESv2Client(config);
|
|
40
|
+
* const input = {
|
|
41
|
+
* EmailIdentity: "STRING_VALUE", // required
|
|
42
|
+
* };
|
|
40
43
|
* const command = new GetEmailIdentityPoliciesCommand(input);
|
|
41
44
|
* const response = await client.send(command);
|
|
42
45
|
* ```
|
|
@@ -28,6 +28,9 @@ export interface GetEmailTemplateCommandOutput extends GetEmailTemplateResponse,
|
|
|
28
28
|
* import { SESv2Client, GetEmailTemplateCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
|
|
29
29
|
* // const { SESv2Client, GetEmailTemplateCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
|
|
30
30
|
* const client = new SESv2Client(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* TemplateName: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
31
34
|
* const command = new GetEmailTemplateCommand(input);
|
|
32
35
|
* const response = await client.send(command);
|
|
33
36
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface GetImportJobCommandOutput extends GetImportJobResponse, __Metad
|
|
|
26
26
|
* import { SESv2Client, GetImportJobCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
|
|
27
27
|
* // const { SESv2Client, GetImportJobCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
|
|
28
28
|
* const client = new SESv2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* JobId: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetImportJobCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface GetSuppressedDestinationCommandOutput extends GetSuppressedDest
|
|
|
27
27
|
* import { SESv2Client, GetSuppressedDestinationCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
|
|
28
28
|
* // const { SESv2Client, GetSuppressedDestinationCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
|
|
29
29
|
* const client = new SESv2Client(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* EmailAddress: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new GetSuppressedDestinationCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|