@aws-sdk/client-sesv2 3.476.0 → 3.478.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/pagination/GetDedicatedIpsPaginator.js +2 -24
- package/dist-cjs/pagination/ListConfigurationSetsPaginator.js +2 -24
- package/dist-cjs/pagination/ListContactListsPaginator.js +2 -24
- package/dist-cjs/pagination/ListContactsPaginator.js +2 -24
- package/dist-cjs/pagination/ListCustomVerificationEmailTemplatesPaginator.js +2 -24
- package/dist-cjs/pagination/ListDedicatedIpPoolsPaginator.js +2 -24
- package/dist-cjs/pagination/ListDeliverabilityTestReportsPaginator.js +2 -24
- package/dist-cjs/pagination/ListDomainDeliverabilityCampaignsPaginator.js +2 -24
- package/dist-cjs/pagination/ListEmailIdentitiesPaginator.js +2 -24
- package/dist-cjs/pagination/ListEmailTemplatesPaginator.js +2 -24
- package/dist-cjs/pagination/ListExportJobsPaginator.js +2 -24
- package/dist-cjs/pagination/ListImportJobsPaginator.js +2 -24
- package/dist-cjs/pagination/ListRecommendationsPaginator.js +2 -24
- package/dist-cjs/pagination/ListSuppressedDestinationsPaginator.js +2 -24
- package/dist-cjs/protocols/Aws_restJson1.js +483 -1176
- package/dist-es/pagination/GetDedicatedIpsPaginator.js +2 -23
- package/dist-es/pagination/ListConfigurationSetsPaginator.js +2 -23
- package/dist-es/pagination/ListContactListsPaginator.js +2 -23
- package/dist-es/pagination/ListContactsPaginator.js +2 -23
- package/dist-es/pagination/ListCustomVerificationEmailTemplatesPaginator.js +2 -23
- package/dist-es/pagination/ListDedicatedIpPoolsPaginator.js +2 -23
- package/dist-es/pagination/ListDeliverabilityTestReportsPaginator.js +2 -23
- package/dist-es/pagination/ListDomainDeliverabilityCampaignsPaginator.js +2 -23
- package/dist-es/pagination/ListEmailIdentitiesPaginator.js +2 -23
- package/dist-es/pagination/ListEmailTemplatesPaginator.js +2 -23
- package/dist-es/pagination/ListExportJobsPaginator.js +2 -23
- package/dist-es/pagination/ListImportJobsPaginator.js +2 -23
- package/dist-es/pagination/ListRecommendationsPaginator.js +2 -23
- package/dist-es/pagination/ListSuppressedDestinationsPaginator.js +2 -23
- package/dist-es/protocols/Aws_restJson1.js +484 -1177
- package/dist-types/pagination/GetDedicatedIpsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListConfigurationSetsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListContactListsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListContactsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListCustomVerificationEmailTemplatesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDedicatedIpPoolsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDeliverabilityTestReportsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDomainDeliverabilityCampaignsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListEmailIdentitiesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListEmailTemplatesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListExportJobsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListImportJobsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListRecommendationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSuppressedDestinationsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/GetDedicatedIpsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListConfigurationSetsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListContactListsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListContactsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListCustomVerificationEmailTemplatesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListDedicatedIpPoolsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListDeliverabilityTestReportsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListDomainDeliverabilityCampaignsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListEmailIdentitiesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListEmailTemplatesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListExportJobsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListImportJobsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListRecommendationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListSuppressedDestinationsPaginator.d.ts +3 -3
- package/package.json +7 -6
|
@@ -4,54 +4,40 @@ exports.se_ListDedicatedIpPoolsCommand = exports.se_ListCustomVerificationEmailT
|
|
|
4
4
|
exports.de_CreateDedicatedIpPoolCommand = exports.de_CreateCustomVerificationEmailTemplateCommand = exports.de_CreateContactListCommand = exports.de_CreateContactCommand = exports.de_CreateConfigurationSetEventDestinationCommand = exports.de_CreateConfigurationSetCommand = exports.de_CancelExportJobCommand = exports.de_BatchGetMetricDataCommand = exports.se_UpdateEmailTemplateCommand = exports.se_UpdateEmailIdentityPolicyCommand = exports.se_UpdateCustomVerificationEmailTemplateCommand = exports.se_UpdateContactListCommand = exports.se_UpdateContactCommand = exports.se_UpdateConfigurationSetEventDestinationCommand = exports.se_UntagResourceCommand = exports.se_TestRenderEmailTemplateCommand = exports.se_TagResourceCommand = exports.se_SendEmailCommand = exports.se_SendCustomVerificationEmailCommand = exports.se_SendBulkEmailCommand = exports.se_PutSuppressedDestinationCommand = exports.se_PutEmailIdentityMailFromAttributesCommand = exports.se_PutEmailIdentityFeedbackAttributesCommand = exports.se_PutEmailIdentityDkimSigningAttributesCommand = exports.se_PutEmailIdentityDkimAttributesCommand = exports.se_PutEmailIdentityConfigurationSetAttributesCommand = exports.se_PutDeliverabilityDashboardOptionCommand = exports.se_PutDedicatedIpWarmupAttributesCommand = exports.se_PutDedicatedIpPoolScalingAttributesCommand = exports.se_PutDedicatedIpInPoolCommand = exports.se_PutConfigurationSetVdmOptionsCommand = exports.se_PutConfigurationSetTrackingOptionsCommand = exports.se_PutConfigurationSetSuppressionOptionsCommand = exports.se_PutConfigurationSetSendingOptionsCommand = exports.se_PutConfigurationSetReputationOptionsCommand = exports.se_PutConfigurationSetDeliveryOptionsCommand = exports.se_PutAccountVdmAttributesCommand = exports.se_PutAccountSuppressionAttributesCommand = exports.se_PutAccountSendingAttributesCommand = exports.se_PutAccountDetailsCommand = exports.se_PutAccountDedicatedIpWarmupAttributesCommand = exports.se_ListTagsForResourceCommand = exports.se_ListSuppressedDestinationsCommand = exports.se_ListRecommendationsCommand = exports.se_ListImportJobsCommand = exports.se_ListExportJobsCommand = exports.se_ListEmailTemplatesCommand = exports.se_ListEmailIdentitiesCommand = exports.se_ListDomainDeliverabilityCampaignsCommand = exports.se_ListDeliverabilityTestReportsCommand = void 0;
|
|
5
5
|
exports.de_ListSuppressedDestinationsCommand = exports.de_ListRecommendationsCommand = exports.de_ListImportJobsCommand = exports.de_ListExportJobsCommand = exports.de_ListEmailTemplatesCommand = exports.de_ListEmailIdentitiesCommand = exports.de_ListDomainDeliverabilityCampaignsCommand = exports.de_ListDeliverabilityTestReportsCommand = exports.de_ListDedicatedIpPoolsCommand = exports.de_ListCustomVerificationEmailTemplatesCommand = exports.de_ListContactsCommand = exports.de_ListContactListsCommand = exports.de_ListConfigurationSetsCommand = exports.de_GetSuppressedDestinationCommand = exports.de_GetMessageInsightsCommand = exports.de_GetImportJobCommand = exports.de_GetExportJobCommand = exports.de_GetEmailTemplateCommand = exports.de_GetEmailIdentityPoliciesCommand = exports.de_GetEmailIdentityCommand = exports.de_GetDomainStatisticsReportCommand = exports.de_GetDomainDeliverabilityCampaignCommand = exports.de_GetDeliverabilityTestReportCommand = exports.de_GetDeliverabilityDashboardOptionsCommand = exports.de_GetDedicatedIpsCommand = exports.de_GetDedicatedIpPoolCommand = exports.de_GetDedicatedIpCommand = exports.de_GetCustomVerificationEmailTemplateCommand = exports.de_GetContactListCommand = exports.de_GetContactCommand = exports.de_GetConfigurationSetEventDestinationsCommand = exports.de_GetConfigurationSetCommand = exports.de_GetBlacklistReportsCommand = exports.de_GetAccountCommand = exports.de_DeleteSuppressedDestinationCommand = exports.de_DeleteEmailTemplateCommand = exports.de_DeleteEmailIdentityPolicyCommand = exports.de_DeleteEmailIdentityCommand = exports.de_DeleteDedicatedIpPoolCommand = exports.de_DeleteCustomVerificationEmailTemplateCommand = exports.de_DeleteContactListCommand = exports.de_DeleteContactCommand = exports.de_DeleteConfigurationSetEventDestinationCommand = exports.de_DeleteConfigurationSetCommand = exports.de_CreateImportJobCommand = exports.de_CreateExportJobCommand = exports.de_CreateEmailTemplateCommand = exports.de_CreateEmailIdentityPolicyCommand = exports.de_CreateEmailIdentityCommand = exports.de_CreateDeliverabilityTestReportCommand = void 0;
|
|
6
6
|
exports.de_UpdateEmailTemplateCommand = exports.de_UpdateEmailIdentityPolicyCommand = exports.de_UpdateCustomVerificationEmailTemplateCommand = exports.de_UpdateContactListCommand = exports.de_UpdateContactCommand = exports.de_UpdateConfigurationSetEventDestinationCommand = exports.de_UntagResourceCommand = exports.de_TestRenderEmailTemplateCommand = exports.de_TagResourceCommand = exports.de_SendEmailCommand = exports.de_SendCustomVerificationEmailCommand = exports.de_SendBulkEmailCommand = exports.de_PutSuppressedDestinationCommand = exports.de_PutEmailIdentityMailFromAttributesCommand = exports.de_PutEmailIdentityFeedbackAttributesCommand = exports.de_PutEmailIdentityDkimSigningAttributesCommand = exports.de_PutEmailIdentityDkimAttributesCommand = exports.de_PutEmailIdentityConfigurationSetAttributesCommand = exports.de_PutDeliverabilityDashboardOptionCommand = exports.de_PutDedicatedIpWarmupAttributesCommand = exports.de_PutDedicatedIpPoolScalingAttributesCommand = exports.de_PutDedicatedIpInPoolCommand = exports.de_PutConfigurationSetVdmOptionsCommand = exports.de_PutConfigurationSetTrackingOptionsCommand = exports.de_PutConfigurationSetSuppressionOptionsCommand = exports.de_PutConfigurationSetSendingOptionsCommand = exports.de_PutConfigurationSetReputationOptionsCommand = exports.de_PutConfigurationSetDeliveryOptionsCommand = exports.de_PutAccountVdmAttributesCommand = exports.de_PutAccountSuppressionAttributesCommand = exports.de_PutAccountSendingAttributesCommand = exports.de_PutAccountDetailsCommand = exports.de_PutAccountDedicatedIpWarmupAttributesCommand = exports.de_ListTagsForResourceCommand = void 0;
|
|
7
|
-
const
|
|
7
|
+
const core_1 = require("@smithy/core");
|
|
8
8
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
9
9
|
const models_0_1 = require("../models/models_0");
|
|
10
10
|
const SESv2ServiceException_1 = require("../models/SESv2ServiceException");
|
|
11
11
|
const se_BatchGetMetricDataCommand = async (input, context) => {
|
|
12
|
-
const
|
|
12
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
13
13
|
const headers = {
|
|
14
14
|
"content-type": "application/json",
|
|
15
15
|
};
|
|
16
|
-
|
|
16
|
+
b.bp("/v2/email/metrics/batch");
|
|
17
17
|
let body;
|
|
18
18
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
19
19
|
Queries: (_) => se_BatchGetMetricDataQueries(_, context),
|
|
20
20
|
}));
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
hostname,
|
|
24
|
-
port,
|
|
25
|
-
method: "POST",
|
|
26
|
-
headers,
|
|
27
|
-
path: resolvedPath,
|
|
28
|
-
body,
|
|
29
|
-
});
|
|
21
|
+
b.m("POST").h(headers).b(body);
|
|
22
|
+
return b.build();
|
|
30
23
|
};
|
|
31
24
|
exports.se_BatchGetMetricDataCommand = se_BatchGetMetricDataCommand;
|
|
32
25
|
const se_CancelExportJobCommand = async (input, context) => {
|
|
33
|
-
const
|
|
26
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
34
27
|
const headers = {};
|
|
35
|
-
|
|
36
|
-
|
|
28
|
+
b.bp("/v2/email/export-jobs/{JobId}/cancel");
|
|
29
|
+
b.p("JobId", () => input.JobId, "{JobId}", false);
|
|
37
30
|
let body;
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
hostname,
|
|
41
|
-
port,
|
|
42
|
-
method: "PUT",
|
|
43
|
-
headers,
|
|
44
|
-
path: resolvedPath,
|
|
45
|
-
body,
|
|
46
|
-
});
|
|
31
|
+
b.m("PUT").h(headers).b(body);
|
|
32
|
+
return b.build();
|
|
47
33
|
};
|
|
48
34
|
exports.se_CancelExportJobCommand = se_CancelExportJobCommand;
|
|
49
35
|
const se_CreateConfigurationSetCommand = async (input, context) => {
|
|
50
|
-
const
|
|
36
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
51
37
|
const headers = {
|
|
52
38
|
"content-type": "application/json",
|
|
53
39
|
};
|
|
54
|
-
|
|
40
|
+
b.bp("/v2/email/configuration-sets");
|
|
55
41
|
let body;
|
|
56
42
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
57
43
|
ConfigurationSetName: [],
|
|
@@ -63,49 +49,33 @@ const se_CreateConfigurationSetCommand = async (input, context) => {
|
|
|
63
49
|
TrackingOptions: (_) => (0, smithy_client_1._json)(_),
|
|
64
50
|
VdmOptions: (_) => (0, smithy_client_1._json)(_),
|
|
65
51
|
}));
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
hostname,
|
|
69
|
-
port,
|
|
70
|
-
method: "POST",
|
|
71
|
-
headers,
|
|
72
|
-
path: resolvedPath,
|
|
73
|
-
body,
|
|
74
|
-
});
|
|
52
|
+
b.m("POST").h(headers).b(body);
|
|
53
|
+
return b.build();
|
|
75
54
|
};
|
|
76
55
|
exports.se_CreateConfigurationSetCommand = se_CreateConfigurationSetCommand;
|
|
77
56
|
const se_CreateConfigurationSetEventDestinationCommand = async (input, context) => {
|
|
78
|
-
const
|
|
57
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
79
58
|
const headers = {
|
|
80
59
|
"content-type": "application/json",
|
|
81
60
|
};
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ConfigurationSetName", () => input.ConfigurationSetName, "{ConfigurationSetName}", false);
|
|
61
|
+
b.bp("/v2/email/configuration-sets/{ConfigurationSetName}/event-destinations");
|
|
62
|
+
b.p("ConfigurationSetName", () => input.ConfigurationSetName, "{ConfigurationSetName}", false);
|
|
85
63
|
let body;
|
|
86
64
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
87
65
|
EventDestination: (_) => (0, smithy_client_1._json)(_),
|
|
88
66
|
EventDestinationName: [],
|
|
89
67
|
}));
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
hostname,
|
|
93
|
-
port,
|
|
94
|
-
method: "POST",
|
|
95
|
-
headers,
|
|
96
|
-
path: resolvedPath,
|
|
97
|
-
body,
|
|
98
|
-
});
|
|
68
|
+
b.m("POST").h(headers).b(body);
|
|
69
|
+
return b.build();
|
|
99
70
|
};
|
|
100
71
|
exports.se_CreateConfigurationSetEventDestinationCommand = se_CreateConfigurationSetEventDestinationCommand;
|
|
101
72
|
const se_CreateContactCommand = async (input, context) => {
|
|
102
|
-
const
|
|
73
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
103
74
|
const headers = {
|
|
104
75
|
"content-type": "application/json",
|
|
105
76
|
};
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ContactListName", () => input.ContactListName, "{ContactListName}", false);
|
|
77
|
+
b.bp("/v2/email/contact-lists/{ContactListName}/contacts");
|
|
78
|
+
b.p("ContactListName", () => input.ContactListName, "{ContactListName}", false);
|
|
109
79
|
let body;
|
|
110
80
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
111
81
|
AttributesData: [],
|
|
@@ -113,23 +83,16 @@ const se_CreateContactCommand = async (input, context) => {
|
|
|
113
83
|
TopicPreferences: (_) => (0, smithy_client_1._json)(_),
|
|
114
84
|
UnsubscribeAll: [],
|
|
115
85
|
}));
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
hostname,
|
|
119
|
-
port,
|
|
120
|
-
method: "POST",
|
|
121
|
-
headers,
|
|
122
|
-
path: resolvedPath,
|
|
123
|
-
body,
|
|
124
|
-
});
|
|
86
|
+
b.m("POST").h(headers).b(body);
|
|
87
|
+
return b.build();
|
|
125
88
|
};
|
|
126
89
|
exports.se_CreateContactCommand = se_CreateContactCommand;
|
|
127
90
|
const se_CreateContactListCommand = async (input, context) => {
|
|
128
|
-
const
|
|
91
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
129
92
|
const headers = {
|
|
130
93
|
"content-type": "application/json",
|
|
131
94
|
};
|
|
132
|
-
|
|
95
|
+
b.bp("/v2/email/contact-lists");
|
|
133
96
|
let body;
|
|
134
97
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
135
98
|
ContactListName: [],
|
|
@@ -137,24 +100,16 @@ const se_CreateContactListCommand = async (input, context) => {
|
|
|
137
100
|
Tags: (_) => (0, smithy_client_1._json)(_),
|
|
138
101
|
Topics: (_) => (0, smithy_client_1._json)(_),
|
|
139
102
|
}));
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
hostname,
|
|
143
|
-
port,
|
|
144
|
-
method: "POST",
|
|
145
|
-
headers,
|
|
146
|
-
path: resolvedPath,
|
|
147
|
-
body,
|
|
148
|
-
});
|
|
103
|
+
b.m("POST").h(headers).b(body);
|
|
104
|
+
return b.build();
|
|
149
105
|
};
|
|
150
106
|
exports.se_CreateContactListCommand = se_CreateContactListCommand;
|
|
151
107
|
const se_CreateCustomVerificationEmailTemplateCommand = async (input, context) => {
|
|
152
|
-
const
|
|
108
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
153
109
|
const headers = {
|
|
154
110
|
"content-type": "application/json",
|
|
155
111
|
};
|
|
156
|
-
|
|
157
|
-
"/v2/email/custom-verification-email-templates";
|
|
112
|
+
b.bp("/v2/email/custom-verification-email-templates");
|
|
158
113
|
let body;
|
|
159
114
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
160
115
|
FailureRedirectionURL: [],
|
|
@@ -164,46 +119,32 @@ const se_CreateCustomVerificationEmailTemplateCommand = async (input, context) =
|
|
|
164
119
|
TemplateName: [],
|
|
165
120
|
TemplateSubject: [],
|
|
166
121
|
}));
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
hostname,
|
|
170
|
-
port,
|
|
171
|
-
method: "POST",
|
|
172
|
-
headers,
|
|
173
|
-
path: resolvedPath,
|
|
174
|
-
body,
|
|
175
|
-
});
|
|
122
|
+
b.m("POST").h(headers).b(body);
|
|
123
|
+
return b.build();
|
|
176
124
|
};
|
|
177
125
|
exports.se_CreateCustomVerificationEmailTemplateCommand = se_CreateCustomVerificationEmailTemplateCommand;
|
|
178
126
|
const se_CreateDedicatedIpPoolCommand = async (input, context) => {
|
|
179
|
-
const
|
|
127
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
180
128
|
const headers = {
|
|
181
129
|
"content-type": "application/json",
|
|
182
130
|
};
|
|
183
|
-
|
|
131
|
+
b.bp("/v2/email/dedicated-ip-pools");
|
|
184
132
|
let body;
|
|
185
133
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
186
134
|
PoolName: [],
|
|
187
135
|
ScalingMode: [],
|
|
188
136
|
Tags: (_) => (0, smithy_client_1._json)(_),
|
|
189
137
|
}));
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
hostname,
|
|
193
|
-
port,
|
|
194
|
-
method: "POST",
|
|
195
|
-
headers,
|
|
196
|
-
path: resolvedPath,
|
|
197
|
-
body,
|
|
198
|
-
});
|
|
138
|
+
b.m("POST").h(headers).b(body);
|
|
139
|
+
return b.build();
|
|
199
140
|
};
|
|
200
141
|
exports.se_CreateDedicatedIpPoolCommand = se_CreateDedicatedIpPoolCommand;
|
|
201
142
|
const se_CreateDeliverabilityTestReportCommand = async (input, context) => {
|
|
202
|
-
const
|
|
143
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
203
144
|
const headers = {
|
|
204
145
|
"content-type": "application/json",
|
|
205
146
|
};
|
|
206
|
-
|
|
147
|
+
b.bp("/v2/email/deliverability-dashboard/test");
|
|
207
148
|
let body;
|
|
208
149
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
209
150
|
Content: (_) => se_EmailContent(_, context),
|
|
@@ -211,23 +152,16 @@ const se_CreateDeliverabilityTestReportCommand = async (input, context) => {
|
|
|
211
152
|
ReportName: [],
|
|
212
153
|
Tags: (_) => (0, smithy_client_1._json)(_),
|
|
213
154
|
}));
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
hostname,
|
|
217
|
-
port,
|
|
218
|
-
method: "POST",
|
|
219
|
-
headers,
|
|
220
|
-
path: resolvedPath,
|
|
221
|
-
body,
|
|
222
|
-
});
|
|
155
|
+
b.m("POST").h(headers).b(body);
|
|
156
|
+
return b.build();
|
|
223
157
|
};
|
|
224
158
|
exports.se_CreateDeliverabilityTestReportCommand = se_CreateDeliverabilityTestReportCommand;
|
|
225
159
|
const se_CreateEmailIdentityCommand = async (input, context) => {
|
|
226
|
-
const
|
|
160
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
227
161
|
const headers = {
|
|
228
162
|
"content-type": "application/json",
|
|
229
163
|
};
|
|
230
|
-
|
|
164
|
+
b.bp("/v2/email/identities");
|
|
231
165
|
let body;
|
|
232
166
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
233
167
|
ConfigurationSetName: [],
|
|
@@ -235,894 +169,546 @@ const se_CreateEmailIdentityCommand = async (input, context) => {
|
|
|
235
169
|
EmailIdentity: [],
|
|
236
170
|
Tags: (_) => (0, smithy_client_1._json)(_),
|
|
237
171
|
}));
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
hostname,
|
|
241
|
-
port,
|
|
242
|
-
method: "POST",
|
|
243
|
-
headers,
|
|
244
|
-
path: resolvedPath,
|
|
245
|
-
body,
|
|
246
|
-
});
|
|
172
|
+
b.m("POST").h(headers).b(body);
|
|
173
|
+
return b.build();
|
|
247
174
|
};
|
|
248
175
|
exports.se_CreateEmailIdentityCommand = se_CreateEmailIdentityCommand;
|
|
249
176
|
const se_CreateEmailIdentityPolicyCommand = async (input, context) => {
|
|
250
|
-
const
|
|
177
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
251
178
|
const headers = {
|
|
252
179
|
"content-type": "application/json",
|
|
253
180
|
};
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "PolicyName", () => input.PolicyName, "{PolicyName}", false);
|
|
181
|
+
b.bp("/v2/email/identities/{EmailIdentity}/policies/{PolicyName}");
|
|
182
|
+
b.p("EmailIdentity", () => input.EmailIdentity, "{EmailIdentity}", false);
|
|
183
|
+
b.p("PolicyName", () => input.PolicyName, "{PolicyName}", false);
|
|
258
184
|
let body;
|
|
259
185
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
260
186
|
Policy: [],
|
|
261
187
|
}));
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
hostname,
|
|
265
|
-
port,
|
|
266
|
-
method: "POST",
|
|
267
|
-
headers,
|
|
268
|
-
path: resolvedPath,
|
|
269
|
-
body,
|
|
270
|
-
});
|
|
188
|
+
b.m("POST").h(headers).b(body);
|
|
189
|
+
return b.build();
|
|
271
190
|
};
|
|
272
191
|
exports.se_CreateEmailIdentityPolicyCommand = se_CreateEmailIdentityPolicyCommand;
|
|
273
192
|
const se_CreateEmailTemplateCommand = async (input, context) => {
|
|
274
|
-
const
|
|
193
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
275
194
|
const headers = {
|
|
276
195
|
"content-type": "application/json",
|
|
277
196
|
};
|
|
278
|
-
|
|
197
|
+
b.bp("/v2/email/templates");
|
|
279
198
|
let body;
|
|
280
199
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
281
200
|
TemplateContent: (_) => (0, smithy_client_1._json)(_),
|
|
282
201
|
TemplateName: [],
|
|
283
202
|
}));
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
hostname,
|
|
287
|
-
port,
|
|
288
|
-
method: "POST",
|
|
289
|
-
headers,
|
|
290
|
-
path: resolvedPath,
|
|
291
|
-
body,
|
|
292
|
-
});
|
|
203
|
+
b.m("POST").h(headers).b(body);
|
|
204
|
+
return b.build();
|
|
293
205
|
};
|
|
294
206
|
exports.se_CreateEmailTemplateCommand = se_CreateEmailTemplateCommand;
|
|
295
207
|
const se_CreateExportJobCommand = async (input, context) => {
|
|
296
|
-
const
|
|
208
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
297
209
|
const headers = {
|
|
298
210
|
"content-type": "application/json",
|
|
299
211
|
};
|
|
300
|
-
|
|
212
|
+
b.bp("/v2/email/export-jobs");
|
|
301
213
|
let body;
|
|
302
214
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
303
215
|
ExportDataSource: (_) => se_ExportDataSource(_, context),
|
|
304
216
|
ExportDestination: (_) => (0, smithy_client_1._json)(_),
|
|
305
217
|
}));
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
hostname,
|
|
309
|
-
port,
|
|
310
|
-
method: "POST",
|
|
311
|
-
headers,
|
|
312
|
-
path: resolvedPath,
|
|
313
|
-
body,
|
|
314
|
-
});
|
|
218
|
+
b.m("POST").h(headers).b(body);
|
|
219
|
+
return b.build();
|
|
315
220
|
};
|
|
316
221
|
exports.se_CreateExportJobCommand = se_CreateExportJobCommand;
|
|
317
222
|
const se_CreateImportJobCommand = async (input, context) => {
|
|
318
|
-
const
|
|
223
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
319
224
|
const headers = {
|
|
320
225
|
"content-type": "application/json",
|
|
321
226
|
};
|
|
322
|
-
|
|
227
|
+
b.bp("/v2/email/import-jobs");
|
|
323
228
|
let body;
|
|
324
229
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
325
230
|
ImportDataSource: (_) => (0, smithy_client_1._json)(_),
|
|
326
231
|
ImportDestination: (_) => (0, smithy_client_1._json)(_),
|
|
327
232
|
}));
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
hostname,
|
|
331
|
-
port,
|
|
332
|
-
method: "POST",
|
|
333
|
-
headers,
|
|
334
|
-
path: resolvedPath,
|
|
335
|
-
body,
|
|
336
|
-
});
|
|
233
|
+
b.m("POST").h(headers).b(body);
|
|
234
|
+
return b.build();
|
|
337
235
|
};
|
|
338
236
|
exports.se_CreateImportJobCommand = se_CreateImportJobCommand;
|
|
339
237
|
const se_DeleteConfigurationSetCommand = async (input, context) => {
|
|
340
|
-
const
|
|
238
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
341
239
|
const headers = {};
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ConfigurationSetName", () => input.ConfigurationSetName, "{ConfigurationSetName}", false);
|
|
240
|
+
b.bp("/v2/email/configuration-sets/{ConfigurationSetName}");
|
|
241
|
+
b.p("ConfigurationSetName", () => input.ConfigurationSetName, "{ConfigurationSetName}", false);
|
|
345
242
|
let body;
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
hostname,
|
|
349
|
-
port,
|
|
350
|
-
method: "DELETE",
|
|
351
|
-
headers,
|
|
352
|
-
path: resolvedPath,
|
|
353
|
-
body,
|
|
354
|
-
});
|
|
243
|
+
b.m("DELETE").h(headers).b(body);
|
|
244
|
+
return b.build();
|
|
355
245
|
};
|
|
356
246
|
exports.se_DeleteConfigurationSetCommand = se_DeleteConfigurationSetCommand;
|
|
357
247
|
const se_DeleteConfigurationSetEventDestinationCommand = async (input, context) => {
|
|
358
|
-
const
|
|
248
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
359
249
|
const headers = {};
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "EventDestinationName", () => input.EventDestinationName, "{EventDestinationName}", false);
|
|
250
|
+
b.bp("/v2/email/configuration-sets/{ConfigurationSetName}/event-destinations/{EventDestinationName}");
|
|
251
|
+
b.p("ConfigurationSetName", () => input.ConfigurationSetName, "{ConfigurationSetName}", false);
|
|
252
|
+
b.p("EventDestinationName", () => input.EventDestinationName, "{EventDestinationName}", false);
|
|
364
253
|
let body;
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
hostname,
|
|
368
|
-
port,
|
|
369
|
-
method: "DELETE",
|
|
370
|
-
headers,
|
|
371
|
-
path: resolvedPath,
|
|
372
|
-
body,
|
|
373
|
-
});
|
|
254
|
+
b.m("DELETE").h(headers).b(body);
|
|
255
|
+
return b.build();
|
|
374
256
|
};
|
|
375
257
|
exports.se_DeleteConfigurationSetEventDestinationCommand = se_DeleteConfigurationSetEventDestinationCommand;
|
|
376
258
|
const se_DeleteContactCommand = async (input, context) => {
|
|
377
|
-
const
|
|
259
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
378
260
|
const headers = {};
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "EmailAddress", () => input.EmailAddress, "{EmailAddress}", false);
|
|
261
|
+
b.bp("/v2/email/contact-lists/{ContactListName}/contacts/{EmailAddress}");
|
|
262
|
+
b.p("ContactListName", () => input.ContactListName, "{ContactListName}", false);
|
|
263
|
+
b.p("EmailAddress", () => input.EmailAddress, "{EmailAddress}", false);
|
|
383
264
|
let body;
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
hostname,
|
|
387
|
-
port,
|
|
388
|
-
method: "DELETE",
|
|
389
|
-
headers,
|
|
390
|
-
path: resolvedPath,
|
|
391
|
-
body,
|
|
392
|
-
});
|
|
265
|
+
b.m("DELETE").h(headers).b(body);
|
|
266
|
+
return b.build();
|
|
393
267
|
};
|
|
394
268
|
exports.se_DeleteContactCommand = se_DeleteContactCommand;
|
|
395
269
|
const se_DeleteContactListCommand = async (input, context) => {
|
|
396
|
-
const
|
|
270
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
397
271
|
const headers = {};
|
|
398
|
-
|
|
399
|
-
|
|
272
|
+
b.bp("/v2/email/contact-lists/{ContactListName}");
|
|
273
|
+
b.p("ContactListName", () => input.ContactListName, "{ContactListName}", false);
|
|
400
274
|
let body;
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
hostname,
|
|
404
|
-
port,
|
|
405
|
-
method: "DELETE",
|
|
406
|
-
headers,
|
|
407
|
-
path: resolvedPath,
|
|
408
|
-
body,
|
|
409
|
-
});
|
|
275
|
+
b.m("DELETE").h(headers).b(body);
|
|
276
|
+
return b.build();
|
|
410
277
|
};
|
|
411
278
|
exports.se_DeleteContactListCommand = se_DeleteContactListCommand;
|
|
412
279
|
const se_DeleteCustomVerificationEmailTemplateCommand = async (input, context) => {
|
|
413
|
-
const
|
|
280
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
414
281
|
const headers = {};
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "TemplateName", () => input.TemplateName, "{TemplateName}", false);
|
|
282
|
+
b.bp("/v2/email/custom-verification-email-templates/{TemplateName}");
|
|
283
|
+
b.p("TemplateName", () => input.TemplateName, "{TemplateName}", false);
|
|
418
284
|
let body;
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
hostname,
|
|
422
|
-
port,
|
|
423
|
-
method: "DELETE",
|
|
424
|
-
headers,
|
|
425
|
-
path: resolvedPath,
|
|
426
|
-
body,
|
|
427
|
-
});
|
|
285
|
+
b.m("DELETE").h(headers).b(body);
|
|
286
|
+
return b.build();
|
|
428
287
|
};
|
|
429
288
|
exports.se_DeleteCustomVerificationEmailTemplateCommand = se_DeleteCustomVerificationEmailTemplateCommand;
|
|
430
289
|
const se_DeleteDedicatedIpPoolCommand = async (input, context) => {
|
|
431
|
-
const
|
|
290
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
432
291
|
const headers = {};
|
|
433
|
-
|
|
434
|
-
|
|
292
|
+
b.bp("/v2/email/dedicated-ip-pools/{PoolName}");
|
|
293
|
+
b.p("PoolName", () => input.PoolName, "{PoolName}", false);
|
|
435
294
|
let body;
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
hostname,
|
|
439
|
-
port,
|
|
440
|
-
method: "DELETE",
|
|
441
|
-
headers,
|
|
442
|
-
path: resolvedPath,
|
|
443
|
-
body,
|
|
444
|
-
});
|
|
295
|
+
b.m("DELETE").h(headers).b(body);
|
|
296
|
+
return b.build();
|
|
445
297
|
};
|
|
446
298
|
exports.se_DeleteDedicatedIpPoolCommand = se_DeleteDedicatedIpPoolCommand;
|
|
447
299
|
const se_DeleteEmailIdentityCommand = async (input, context) => {
|
|
448
|
-
const
|
|
300
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
449
301
|
const headers = {};
|
|
450
|
-
|
|
451
|
-
|
|
302
|
+
b.bp("/v2/email/identities/{EmailIdentity}");
|
|
303
|
+
b.p("EmailIdentity", () => input.EmailIdentity, "{EmailIdentity}", false);
|
|
452
304
|
let body;
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
hostname,
|
|
456
|
-
port,
|
|
457
|
-
method: "DELETE",
|
|
458
|
-
headers,
|
|
459
|
-
path: resolvedPath,
|
|
460
|
-
body,
|
|
461
|
-
});
|
|
305
|
+
b.m("DELETE").h(headers).b(body);
|
|
306
|
+
return b.build();
|
|
462
307
|
};
|
|
463
308
|
exports.se_DeleteEmailIdentityCommand = se_DeleteEmailIdentityCommand;
|
|
464
309
|
const se_DeleteEmailIdentityPolicyCommand = async (input, context) => {
|
|
465
|
-
const
|
|
310
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
466
311
|
const headers = {};
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "PolicyName", () => input.PolicyName, "{PolicyName}", false);
|
|
312
|
+
b.bp("/v2/email/identities/{EmailIdentity}/policies/{PolicyName}");
|
|
313
|
+
b.p("EmailIdentity", () => input.EmailIdentity, "{EmailIdentity}", false);
|
|
314
|
+
b.p("PolicyName", () => input.PolicyName, "{PolicyName}", false);
|
|
471
315
|
let body;
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
hostname,
|
|
475
|
-
port,
|
|
476
|
-
method: "DELETE",
|
|
477
|
-
headers,
|
|
478
|
-
path: resolvedPath,
|
|
479
|
-
body,
|
|
480
|
-
});
|
|
316
|
+
b.m("DELETE").h(headers).b(body);
|
|
317
|
+
return b.build();
|
|
481
318
|
};
|
|
482
319
|
exports.se_DeleteEmailIdentityPolicyCommand = se_DeleteEmailIdentityPolicyCommand;
|
|
483
320
|
const se_DeleteEmailTemplateCommand = async (input, context) => {
|
|
484
|
-
const
|
|
321
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
485
322
|
const headers = {};
|
|
486
|
-
|
|
487
|
-
|
|
323
|
+
b.bp("/v2/email/templates/{TemplateName}");
|
|
324
|
+
b.p("TemplateName", () => input.TemplateName, "{TemplateName}", false);
|
|
488
325
|
let body;
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
hostname,
|
|
492
|
-
port,
|
|
493
|
-
method: "DELETE",
|
|
494
|
-
headers,
|
|
495
|
-
path: resolvedPath,
|
|
496
|
-
body,
|
|
497
|
-
});
|
|
326
|
+
b.m("DELETE").h(headers).b(body);
|
|
327
|
+
return b.build();
|
|
498
328
|
};
|
|
499
329
|
exports.se_DeleteEmailTemplateCommand = se_DeleteEmailTemplateCommand;
|
|
500
330
|
const se_DeleteSuppressedDestinationCommand = async (input, context) => {
|
|
501
|
-
const
|
|
331
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
502
332
|
const headers = {};
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "EmailAddress", () => input.EmailAddress, "{EmailAddress}", false);
|
|
333
|
+
b.bp("/v2/email/suppression/addresses/{EmailAddress}");
|
|
334
|
+
b.p("EmailAddress", () => input.EmailAddress, "{EmailAddress}", false);
|
|
506
335
|
let body;
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
hostname,
|
|
510
|
-
port,
|
|
511
|
-
method: "DELETE",
|
|
512
|
-
headers,
|
|
513
|
-
path: resolvedPath,
|
|
514
|
-
body,
|
|
515
|
-
});
|
|
336
|
+
b.m("DELETE").h(headers).b(body);
|
|
337
|
+
return b.build();
|
|
516
338
|
};
|
|
517
339
|
exports.se_DeleteSuppressedDestinationCommand = se_DeleteSuppressedDestinationCommand;
|
|
518
340
|
const se_GetAccountCommand = async (input, context) => {
|
|
519
|
-
const
|
|
341
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
520
342
|
const headers = {
|
|
521
343
|
"content-type": "application/json",
|
|
522
344
|
};
|
|
523
|
-
|
|
345
|
+
b.bp("/v2/email/account");
|
|
524
346
|
let body;
|
|
525
347
|
body = "";
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
hostname,
|
|
529
|
-
port,
|
|
530
|
-
method: "GET",
|
|
531
|
-
headers,
|
|
532
|
-
path: resolvedPath,
|
|
533
|
-
body,
|
|
534
|
-
});
|
|
348
|
+
b.m("GET").h(headers).b(body);
|
|
349
|
+
return b.build();
|
|
535
350
|
};
|
|
536
351
|
exports.se_GetAccountCommand = se_GetAccountCommand;
|
|
537
352
|
const se_GetBlacklistReportsCommand = async (input, context) => {
|
|
538
|
-
const
|
|
353
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
539
354
|
const headers = {};
|
|
540
|
-
|
|
541
|
-
"/v2/email/deliverability-dashboard/blacklist-report";
|
|
355
|
+
b.bp("/v2/email/deliverability-dashboard/blacklist-report");
|
|
542
356
|
const query = (0, smithy_client_1.map)({
|
|
543
|
-
|
|
357
|
+
[_BIN]: [
|
|
544
358
|
(0, smithy_client_1.expectNonNull)(input.BlacklistItemNames, `BlacklistItemNames`) != null,
|
|
545
|
-
() => (input
|
|
359
|
+
() => (input[_BIN] || []).map((_entry) => _entry),
|
|
546
360
|
],
|
|
547
361
|
});
|
|
548
362
|
let body;
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
hostname,
|
|
552
|
-
port,
|
|
553
|
-
method: "GET",
|
|
554
|
-
headers,
|
|
555
|
-
path: resolvedPath,
|
|
556
|
-
query,
|
|
557
|
-
body,
|
|
558
|
-
});
|
|
363
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
364
|
+
return b.build();
|
|
559
365
|
};
|
|
560
366
|
exports.se_GetBlacklistReportsCommand = se_GetBlacklistReportsCommand;
|
|
561
367
|
const se_GetConfigurationSetCommand = async (input, context) => {
|
|
562
|
-
const
|
|
368
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
563
369
|
const headers = {};
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ConfigurationSetName", () => input.ConfigurationSetName, "{ConfigurationSetName}", false);
|
|
370
|
+
b.bp("/v2/email/configuration-sets/{ConfigurationSetName}");
|
|
371
|
+
b.p("ConfigurationSetName", () => input.ConfigurationSetName, "{ConfigurationSetName}", false);
|
|
567
372
|
let body;
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
hostname,
|
|
571
|
-
port,
|
|
572
|
-
method: "GET",
|
|
573
|
-
headers,
|
|
574
|
-
path: resolvedPath,
|
|
575
|
-
body,
|
|
576
|
-
});
|
|
373
|
+
b.m("GET").h(headers).b(body);
|
|
374
|
+
return b.build();
|
|
577
375
|
};
|
|
578
376
|
exports.se_GetConfigurationSetCommand = se_GetConfigurationSetCommand;
|
|
579
377
|
const se_GetConfigurationSetEventDestinationsCommand = async (input, context) => {
|
|
580
|
-
const
|
|
378
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
581
379
|
const headers = {};
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ConfigurationSetName", () => input.ConfigurationSetName, "{ConfigurationSetName}", false);
|
|
380
|
+
b.bp("/v2/email/configuration-sets/{ConfigurationSetName}/event-destinations");
|
|
381
|
+
b.p("ConfigurationSetName", () => input.ConfigurationSetName, "{ConfigurationSetName}", false);
|
|
585
382
|
let body;
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
hostname,
|
|
589
|
-
port,
|
|
590
|
-
method: "GET",
|
|
591
|
-
headers,
|
|
592
|
-
path: resolvedPath,
|
|
593
|
-
body,
|
|
594
|
-
});
|
|
383
|
+
b.m("GET").h(headers).b(body);
|
|
384
|
+
return b.build();
|
|
595
385
|
};
|
|
596
386
|
exports.se_GetConfigurationSetEventDestinationsCommand = se_GetConfigurationSetEventDestinationsCommand;
|
|
597
387
|
const se_GetContactCommand = async (input, context) => {
|
|
598
|
-
const
|
|
388
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
599
389
|
const headers = {};
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "EmailAddress", () => input.EmailAddress, "{EmailAddress}", false);
|
|
390
|
+
b.bp("/v2/email/contact-lists/{ContactListName}/contacts/{EmailAddress}");
|
|
391
|
+
b.p("ContactListName", () => input.ContactListName, "{ContactListName}", false);
|
|
392
|
+
b.p("EmailAddress", () => input.EmailAddress, "{EmailAddress}", false);
|
|
604
393
|
let body;
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
hostname,
|
|
608
|
-
port,
|
|
609
|
-
method: "GET",
|
|
610
|
-
headers,
|
|
611
|
-
path: resolvedPath,
|
|
612
|
-
body,
|
|
613
|
-
});
|
|
394
|
+
b.m("GET").h(headers).b(body);
|
|
395
|
+
return b.build();
|
|
614
396
|
};
|
|
615
397
|
exports.se_GetContactCommand = se_GetContactCommand;
|
|
616
398
|
const se_GetContactListCommand = async (input, context) => {
|
|
617
|
-
const
|
|
399
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
618
400
|
const headers = {};
|
|
619
|
-
|
|
620
|
-
|
|
401
|
+
b.bp("/v2/email/contact-lists/{ContactListName}");
|
|
402
|
+
b.p("ContactListName", () => input.ContactListName, "{ContactListName}", false);
|
|
621
403
|
let body;
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
hostname,
|
|
625
|
-
port,
|
|
626
|
-
method: "GET",
|
|
627
|
-
headers,
|
|
628
|
-
path: resolvedPath,
|
|
629
|
-
body,
|
|
630
|
-
});
|
|
404
|
+
b.m("GET").h(headers).b(body);
|
|
405
|
+
return b.build();
|
|
631
406
|
};
|
|
632
407
|
exports.se_GetContactListCommand = se_GetContactListCommand;
|
|
633
408
|
const se_GetCustomVerificationEmailTemplateCommand = async (input, context) => {
|
|
634
|
-
const
|
|
409
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
635
410
|
const headers = {};
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "TemplateName", () => input.TemplateName, "{TemplateName}", false);
|
|
411
|
+
b.bp("/v2/email/custom-verification-email-templates/{TemplateName}");
|
|
412
|
+
b.p("TemplateName", () => input.TemplateName, "{TemplateName}", false);
|
|
639
413
|
let body;
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
hostname,
|
|
643
|
-
port,
|
|
644
|
-
method: "GET",
|
|
645
|
-
headers,
|
|
646
|
-
path: resolvedPath,
|
|
647
|
-
body,
|
|
648
|
-
});
|
|
414
|
+
b.m("GET").h(headers).b(body);
|
|
415
|
+
return b.build();
|
|
649
416
|
};
|
|
650
417
|
exports.se_GetCustomVerificationEmailTemplateCommand = se_GetCustomVerificationEmailTemplateCommand;
|
|
651
418
|
const se_GetDedicatedIpCommand = async (input, context) => {
|
|
652
|
-
const
|
|
419
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
653
420
|
const headers = {};
|
|
654
|
-
|
|
655
|
-
|
|
421
|
+
b.bp("/v2/email/dedicated-ips/{Ip}");
|
|
422
|
+
b.p("Ip", () => input.Ip, "{Ip}", false);
|
|
656
423
|
let body;
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
hostname,
|
|
660
|
-
port,
|
|
661
|
-
method: "GET",
|
|
662
|
-
headers,
|
|
663
|
-
path: resolvedPath,
|
|
664
|
-
body,
|
|
665
|
-
});
|
|
424
|
+
b.m("GET").h(headers).b(body);
|
|
425
|
+
return b.build();
|
|
666
426
|
};
|
|
667
427
|
exports.se_GetDedicatedIpCommand = se_GetDedicatedIpCommand;
|
|
668
428
|
const se_GetDedicatedIpPoolCommand = async (input, context) => {
|
|
669
|
-
const
|
|
429
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
670
430
|
const headers = {};
|
|
671
|
-
|
|
672
|
-
|
|
431
|
+
b.bp("/v2/email/dedicated-ip-pools/{PoolName}");
|
|
432
|
+
b.p("PoolName", () => input.PoolName, "{PoolName}", false);
|
|
673
433
|
let body;
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
hostname,
|
|
677
|
-
port,
|
|
678
|
-
method: "GET",
|
|
679
|
-
headers,
|
|
680
|
-
path: resolvedPath,
|
|
681
|
-
body,
|
|
682
|
-
});
|
|
434
|
+
b.m("GET").h(headers).b(body);
|
|
435
|
+
return b.build();
|
|
683
436
|
};
|
|
684
437
|
exports.se_GetDedicatedIpPoolCommand = se_GetDedicatedIpPoolCommand;
|
|
685
438
|
const se_GetDedicatedIpsCommand = async (input, context) => {
|
|
686
|
-
const
|
|
439
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
687
440
|
const headers = {};
|
|
688
|
-
|
|
441
|
+
b.bp("/v2/email/dedicated-ips");
|
|
689
442
|
const query = (0, smithy_client_1.map)({
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
443
|
+
[_PN]: [, input[_PN]],
|
|
444
|
+
[_NT]: [, input[_NT]],
|
|
445
|
+
[_PS]: [() => input.PageSize !== void 0, () => input[_PS].toString()],
|
|
693
446
|
});
|
|
694
447
|
let body;
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
hostname,
|
|
698
|
-
port,
|
|
699
|
-
method: "GET",
|
|
700
|
-
headers,
|
|
701
|
-
path: resolvedPath,
|
|
702
|
-
query,
|
|
703
|
-
body,
|
|
704
|
-
});
|
|
448
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
449
|
+
return b.build();
|
|
705
450
|
};
|
|
706
451
|
exports.se_GetDedicatedIpsCommand = se_GetDedicatedIpsCommand;
|
|
707
452
|
const se_GetDeliverabilityDashboardOptionsCommand = async (input, context) => {
|
|
708
|
-
const
|
|
453
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
709
454
|
const headers = {
|
|
710
455
|
"content-type": "application/json",
|
|
711
456
|
};
|
|
712
|
-
|
|
457
|
+
b.bp("/v2/email/deliverability-dashboard");
|
|
713
458
|
let body;
|
|
714
459
|
body = "";
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
hostname,
|
|
718
|
-
port,
|
|
719
|
-
method: "GET",
|
|
720
|
-
headers,
|
|
721
|
-
path: resolvedPath,
|
|
722
|
-
body,
|
|
723
|
-
});
|
|
460
|
+
b.m("GET").h(headers).b(body);
|
|
461
|
+
return b.build();
|
|
724
462
|
};
|
|
725
463
|
exports.se_GetDeliverabilityDashboardOptionsCommand = se_GetDeliverabilityDashboardOptionsCommand;
|
|
726
464
|
const se_GetDeliverabilityTestReportCommand = async (input, context) => {
|
|
727
|
-
const
|
|
465
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
728
466
|
const headers = {};
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ReportId", () => input.ReportId, "{ReportId}", false);
|
|
467
|
+
b.bp("/v2/email/deliverability-dashboard/test-reports/{ReportId}");
|
|
468
|
+
b.p("ReportId", () => input.ReportId, "{ReportId}", false);
|
|
732
469
|
let body;
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
hostname,
|
|
736
|
-
port,
|
|
737
|
-
method: "GET",
|
|
738
|
-
headers,
|
|
739
|
-
path: resolvedPath,
|
|
740
|
-
body,
|
|
741
|
-
});
|
|
470
|
+
b.m("GET").h(headers).b(body);
|
|
471
|
+
return b.build();
|
|
742
472
|
};
|
|
743
473
|
exports.se_GetDeliverabilityTestReportCommand = se_GetDeliverabilityTestReportCommand;
|
|
744
474
|
const se_GetDomainDeliverabilityCampaignCommand = async (input, context) => {
|
|
745
|
-
const
|
|
475
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
746
476
|
const headers = {};
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "CampaignId", () => input.CampaignId, "{CampaignId}", false);
|
|
477
|
+
b.bp("/v2/email/deliverability-dashboard/campaigns/{CampaignId}");
|
|
478
|
+
b.p("CampaignId", () => input.CampaignId, "{CampaignId}", false);
|
|
750
479
|
let body;
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
hostname,
|
|
754
|
-
port,
|
|
755
|
-
method: "GET",
|
|
756
|
-
headers,
|
|
757
|
-
path: resolvedPath,
|
|
758
|
-
body,
|
|
759
|
-
});
|
|
480
|
+
b.m("GET").h(headers).b(body);
|
|
481
|
+
return b.build();
|
|
760
482
|
};
|
|
761
483
|
exports.se_GetDomainDeliverabilityCampaignCommand = se_GetDomainDeliverabilityCampaignCommand;
|
|
762
484
|
const se_GetDomainStatisticsReportCommand = async (input, context) => {
|
|
763
|
-
const
|
|
485
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
764
486
|
const headers = {};
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Domain", () => input.Domain, "{Domain}", false);
|
|
487
|
+
b.bp("/v2/email/deliverability-dashboard/statistics-report/{Domain}");
|
|
488
|
+
b.p("Domain", () => input.Domain, "{Domain}", false);
|
|
768
489
|
const query = (0, smithy_client_1.map)({
|
|
769
|
-
|
|
490
|
+
[_SD]: [
|
|
770
491
|
(0, smithy_client_1.expectNonNull)(input.StartDate, `StartDate`) != null,
|
|
771
|
-
() => (input.
|
|
492
|
+
() => (input[_SD].toISOString().split(".")[0] + "Z").toString(),
|
|
772
493
|
],
|
|
773
|
-
|
|
494
|
+
[_ED]: [
|
|
774
495
|
(0, smithy_client_1.expectNonNull)(input.EndDate, `EndDate`) != null,
|
|
775
|
-
() => (input.
|
|
496
|
+
() => (input[_ED].toISOString().split(".")[0] + "Z").toString(),
|
|
776
497
|
],
|
|
777
498
|
});
|
|
778
499
|
let body;
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
hostname,
|
|
782
|
-
port,
|
|
783
|
-
method: "GET",
|
|
784
|
-
headers,
|
|
785
|
-
path: resolvedPath,
|
|
786
|
-
query,
|
|
787
|
-
body,
|
|
788
|
-
});
|
|
500
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
501
|
+
return b.build();
|
|
789
502
|
};
|
|
790
503
|
exports.se_GetDomainStatisticsReportCommand = se_GetDomainStatisticsReportCommand;
|
|
791
504
|
const se_GetEmailIdentityCommand = async (input, context) => {
|
|
792
|
-
const
|
|
505
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
793
506
|
const headers = {};
|
|
794
|
-
|
|
795
|
-
|
|
507
|
+
b.bp("/v2/email/identities/{EmailIdentity}");
|
|
508
|
+
b.p("EmailIdentity", () => input.EmailIdentity, "{EmailIdentity}", false);
|
|
796
509
|
let body;
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
hostname,
|
|
800
|
-
port,
|
|
801
|
-
method: "GET",
|
|
802
|
-
headers,
|
|
803
|
-
path: resolvedPath,
|
|
804
|
-
body,
|
|
805
|
-
});
|
|
510
|
+
b.m("GET").h(headers).b(body);
|
|
511
|
+
return b.build();
|
|
806
512
|
};
|
|
807
513
|
exports.se_GetEmailIdentityCommand = se_GetEmailIdentityCommand;
|
|
808
514
|
const se_GetEmailIdentityPoliciesCommand = async (input, context) => {
|
|
809
|
-
const
|
|
515
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
810
516
|
const headers = {};
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "EmailIdentity", () => input.EmailIdentity, "{EmailIdentity}", false);
|
|
517
|
+
b.bp("/v2/email/identities/{EmailIdentity}/policies");
|
|
518
|
+
b.p("EmailIdentity", () => input.EmailIdentity, "{EmailIdentity}", false);
|
|
814
519
|
let body;
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
hostname,
|
|
818
|
-
port,
|
|
819
|
-
method: "GET",
|
|
820
|
-
headers,
|
|
821
|
-
path: resolvedPath,
|
|
822
|
-
body,
|
|
823
|
-
});
|
|
520
|
+
b.m("GET").h(headers).b(body);
|
|
521
|
+
return b.build();
|
|
824
522
|
};
|
|
825
523
|
exports.se_GetEmailIdentityPoliciesCommand = se_GetEmailIdentityPoliciesCommand;
|
|
826
524
|
const se_GetEmailTemplateCommand = async (input, context) => {
|
|
827
|
-
const
|
|
525
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
828
526
|
const headers = {};
|
|
829
|
-
|
|
830
|
-
|
|
527
|
+
b.bp("/v2/email/templates/{TemplateName}");
|
|
528
|
+
b.p("TemplateName", () => input.TemplateName, "{TemplateName}", false);
|
|
831
529
|
let body;
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
hostname,
|
|
835
|
-
port,
|
|
836
|
-
method: "GET",
|
|
837
|
-
headers,
|
|
838
|
-
path: resolvedPath,
|
|
839
|
-
body,
|
|
840
|
-
});
|
|
530
|
+
b.m("GET").h(headers).b(body);
|
|
531
|
+
return b.build();
|
|
841
532
|
};
|
|
842
533
|
exports.se_GetEmailTemplateCommand = se_GetEmailTemplateCommand;
|
|
843
534
|
const se_GetExportJobCommand = async (input, context) => {
|
|
844
|
-
const
|
|
535
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
845
536
|
const headers = {};
|
|
846
|
-
|
|
847
|
-
|
|
537
|
+
b.bp("/v2/email/export-jobs/{JobId}");
|
|
538
|
+
b.p("JobId", () => input.JobId, "{JobId}", false);
|
|
848
539
|
let body;
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
hostname,
|
|
852
|
-
port,
|
|
853
|
-
method: "GET",
|
|
854
|
-
headers,
|
|
855
|
-
path: resolvedPath,
|
|
856
|
-
body,
|
|
857
|
-
});
|
|
540
|
+
b.m("GET").h(headers).b(body);
|
|
541
|
+
return b.build();
|
|
858
542
|
};
|
|
859
543
|
exports.se_GetExportJobCommand = se_GetExportJobCommand;
|
|
860
544
|
const se_GetImportJobCommand = async (input, context) => {
|
|
861
|
-
const
|
|
545
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
862
546
|
const headers = {};
|
|
863
|
-
|
|
864
|
-
|
|
547
|
+
b.bp("/v2/email/import-jobs/{JobId}");
|
|
548
|
+
b.p("JobId", () => input.JobId, "{JobId}", false);
|
|
865
549
|
let body;
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
hostname,
|
|
869
|
-
port,
|
|
870
|
-
method: "GET",
|
|
871
|
-
headers,
|
|
872
|
-
path: resolvedPath,
|
|
873
|
-
body,
|
|
874
|
-
});
|
|
550
|
+
b.m("GET").h(headers).b(body);
|
|
551
|
+
return b.build();
|
|
875
552
|
};
|
|
876
553
|
exports.se_GetImportJobCommand = se_GetImportJobCommand;
|
|
877
554
|
const se_GetMessageInsightsCommand = async (input, context) => {
|
|
878
|
-
const
|
|
555
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
879
556
|
const headers = {};
|
|
880
|
-
|
|
881
|
-
|
|
557
|
+
b.bp("/v2/email/insights/{MessageId}");
|
|
558
|
+
b.p("MessageId", () => input.MessageId, "{MessageId}", false);
|
|
882
559
|
let body;
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
hostname,
|
|
886
|
-
port,
|
|
887
|
-
method: "GET",
|
|
888
|
-
headers,
|
|
889
|
-
path: resolvedPath,
|
|
890
|
-
body,
|
|
891
|
-
});
|
|
560
|
+
b.m("GET").h(headers).b(body);
|
|
561
|
+
return b.build();
|
|
892
562
|
};
|
|
893
563
|
exports.se_GetMessageInsightsCommand = se_GetMessageInsightsCommand;
|
|
894
564
|
const se_GetSuppressedDestinationCommand = async (input, context) => {
|
|
895
|
-
const
|
|
565
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
896
566
|
const headers = {};
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "EmailAddress", () => input.EmailAddress, "{EmailAddress}", false);
|
|
567
|
+
b.bp("/v2/email/suppression/addresses/{EmailAddress}");
|
|
568
|
+
b.p("EmailAddress", () => input.EmailAddress, "{EmailAddress}", false);
|
|
900
569
|
let body;
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
hostname,
|
|
904
|
-
port,
|
|
905
|
-
method: "GET",
|
|
906
|
-
headers,
|
|
907
|
-
path: resolvedPath,
|
|
908
|
-
body,
|
|
909
|
-
});
|
|
570
|
+
b.m("GET").h(headers).b(body);
|
|
571
|
+
return b.build();
|
|
910
572
|
};
|
|
911
573
|
exports.se_GetSuppressedDestinationCommand = se_GetSuppressedDestinationCommand;
|
|
912
574
|
const se_ListConfigurationSetsCommand = async (input, context) => {
|
|
913
|
-
const
|
|
575
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
914
576
|
const headers = {};
|
|
915
|
-
|
|
577
|
+
b.bp("/v2/email/configuration-sets");
|
|
916
578
|
const query = (0, smithy_client_1.map)({
|
|
917
|
-
|
|
918
|
-
|
|
579
|
+
[_NT]: [, input[_NT]],
|
|
580
|
+
[_PS]: [() => input.PageSize !== void 0, () => input[_PS].toString()],
|
|
919
581
|
});
|
|
920
582
|
let body;
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
hostname,
|
|
924
|
-
port,
|
|
925
|
-
method: "GET",
|
|
926
|
-
headers,
|
|
927
|
-
path: resolvedPath,
|
|
928
|
-
query,
|
|
929
|
-
body,
|
|
930
|
-
});
|
|
583
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
584
|
+
return b.build();
|
|
931
585
|
};
|
|
932
586
|
exports.se_ListConfigurationSetsCommand = se_ListConfigurationSetsCommand;
|
|
933
587
|
const se_ListContactListsCommand = async (input, context) => {
|
|
934
|
-
const
|
|
588
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
935
589
|
const headers = {};
|
|
936
|
-
|
|
590
|
+
b.bp("/v2/email/contact-lists");
|
|
937
591
|
const query = (0, smithy_client_1.map)({
|
|
938
|
-
|
|
939
|
-
|
|
592
|
+
[_PS]: [() => input.PageSize !== void 0, () => input[_PS].toString()],
|
|
593
|
+
[_NT]: [, input[_NT]],
|
|
940
594
|
});
|
|
941
595
|
let body;
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
hostname,
|
|
945
|
-
port,
|
|
946
|
-
method: "GET",
|
|
947
|
-
headers,
|
|
948
|
-
path: resolvedPath,
|
|
949
|
-
query,
|
|
950
|
-
body,
|
|
951
|
-
});
|
|
596
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
597
|
+
return b.build();
|
|
952
598
|
};
|
|
953
599
|
exports.se_ListContactListsCommand = se_ListContactListsCommand;
|
|
954
600
|
const se_ListContactsCommand = async (input, context) => {
|
|
955
|
-
const
|
|
601
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
956
602
|
const headers = {
|
|
957
603
|
"content-type": "application/json",
|
|
958
604
|
};
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ContactListName", () => input.ContactListName, "{ContactListName}", false);
|
|
605
|
+
b.bp("/v2/email/contact-lists/{ContactListName}/contacts");
|
|
606
|
+
b.p("ContactListName", () => input.ContactListName, "{ContactListName}", false);
|
|
962
607
|
const query = (0, smithy_client_1.map)({
|
|
963
|
-
|
|
964
|
-
|
|
608
|
+
[_PS]: [() => input.PageSize !== void 0, () => input[_PS].toString()],
|
|
609
|
+
[_NT]: [, input[_NT]],
|
|
965
610
|
});
|
|
966
611
|
let body;
|
|
967
612
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
968
613
|
Filter: (_) => (0, smithy_client_1._json)(_),
|
|
969
614
|
}));
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
hostname,
|
|
973
|
-
port,
|
|
974
|
-
method: "GET",
|
|
975
|
-
headers,
|
|
976
|
-
path: resolvedPath,
|
|
977
|
-
query,
|
|
978
|
-
body,
|
|
979
|
-
});
|
|
615
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
616
|
+
return b.build();
|
|
980
617
|
};
|
|
981
618
|
exports.se_ListContactsCommand = se_ListContactsCommand;
|
|
982
619
|
const se_ListCustomVerificationEmailTemplatesCommand = async (input, context) => {
|
|
983
|
-
const
|
|
620
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
984
621
|
const headers = {};
|
|
985
|
-
|
|
986
|
-
"/v2/email/custom-verification-email-templates";
|
|
622
|
+
b.bp("/v2/email/custom-verification-email-templates");
|
|
987
623
|
const query = (0, smithy_client_1.map)({
|
|
988
|
-
|
|
989
|
-
|
|
624
|
+
[_NT]: [, input[_NT]],
|
|
625
|
+
[_PS]: [() => input.PageSize !== void 0, () => input[_PS].toString()],
|
|
990
626
|
});
|
|
991
627
|
let body;
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
hostname,
|
|
995
|
-
port,
|
|
996
|
-
method: "GET",
|
|
997
|
-
headers,
|
|
998
|
-
path: resolvedPath,
|
|
999
|
-
query,
|
|
1000
|
-
body,
|
|
1001
|
-
});
|
|
628
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
629
|
+
return b.build();
|
|
1002
630
|
};
|
|
1003
631
|
exports.se_ListCustomVerificationEmailTemplatesCommand = se_ListCustomVerificationEmailTemplatesCommand;
|
|
1004
632
|
const se_ListDedicatedIpPoolsCommand = async (input, context) => {
|
|
1005
|
-
const
|
|
633
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1006
634
|
const headers = {};
|
|
1007
|
-
|
|
635
|
+
b.bp("/v2/email/dedicated-ip-pools");
|
|
1008
636
|
const query = (0, smithy_client_1.map)({
|
|
1009
|
-
|
|
1010
|
-
|
|
637
|
+
[_NT]: [, input[_NT]],
|
|
638
|
+
[_PS]: [() => input.PageSize !== void 0, () => input[_PS].toString()],
|
|
1011
639
|
});
|
|
1012
640
|
let body;
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
hostname,
|
|
1016
|
-
port,
|
|
1017
|
-
method: "GET",
|
|
1018
|
-
headers,
|
|
1019
|
-
path: resolvedPath,
|
|
1020
|
-
query,
|
|
1021
|
-
body,
|
|
1022
|
-
});
|
|
641
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
642
|
+
return b.build();
|
|
1023
643
|
};
|
|
1024
644
|
exports.se_ListDedicatedIpPoolsCommand = se_ListDedicatedIpPoolsCommand;
|
|
1025
645
|
const se_ListDeliverabilityTestReportsCommand = async (input, context) => {
|
|
1026
|
-
const
|
|
646
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1027
647
|
const headers = {};
|
|
1028
|
-
|
|
1029
|
-
"/v2/email/deliverability-dashboard/test-reports";
|
|
648
|
+
b.bp("/v2/email/deliverability-dashboard/test-reports");
|
|
1030
649
|
const query = (0, smithy_client_1.map)({
|
|
1031
|
-
|
|
1032
|
-
|
|
650
|
+
[_NT]: [, input[_NT]],
|
|
651
|
+
[_PS]: [() => input.PageSize !== void 0, () => input[_PS].toString()],
|
|
1033
652
|
});
|
|
1034
653
|
let body;
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
hostname,
|
|
1038
|
-
port,
|
|
1039
|
-
method: "GET",
|
|
1040
|
-
headers,
|
|
1041
|
-
path: resolvedPath,
|
|
1042
|
-
query,
|
|
1043
|
-
body,
|
|
1044
|
-
});
|
|
654
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
655
|
+
return b.build();
|
|
1045
656
|
};
|
|
1046
657
|
exports.se_ListDeliverabilityTestReportsCommand = se_ListDeliverabilityTestReportsCommand;
|
|
1047
658
|
const se_ListDomainDeliverabilityCampaignsCommand = async (input, context) => {
|
|
1048
|
-
const
|
|
659
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1049
660
|
const headers = {};
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "SubscribedDomain", () => input.SubscribedDomain, "{SubscribedDomain}", false);
|
|
661
|
+
b.bp("/v2/email/deliverability-dashboard/domains/{SubscribedDomain}/campaigns");
|
|
662
|
+
b.p("SubscribedDomain", () => input.SubscribedDomain, "{SubscribedDomain}", false);
|
|
1053
663
|
const query = (0, smithy_client_1.map)({
|
|
1054
|
-
|
|
664
|
+
[_SD]: [
|
|
1055
665
|
(0, smithy_client_1.expectNonNull)(input.StartDate, `StartDate`) != null,
|
|
1056
|
-
() => (input.
|
|
666
|
+
() => (input[_SD].toISOString().split(".")[0] + "Z").toString(),
|
|
1057
667
|
],
|
|
1058
|
-
|
|
668
|
+
[_ED]: [
|
|
1059
669
|
(0, smithy_client_1.expectNonNull)(input.EndDate, `EndDate`) != null,
|
|
1060
|
-
() => (input.
|
|
670
|
+
() => (input[_ED].toISOString().split(".")[0] + "Z").toString(),
|
|
1061
671
|
],
|
|
1062
|
-
|
|
1063
|
-
|
|
672
|
+
[_NT]: [, input[_NT]],
|
|
673
|
+
[_PS]: [() => input.PageSize !== void 0, () => input[_PS].toString()],
|
|
1064
674
|
});
|
|
1065
675
|
let body;
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
hostname,
|
|
1069
|
-
port,
|
|
1070
|
-
method: "GET",
|
|
1071
|
-
headers,
|
|
1072
|
-
path: resolvedPath,
|
|
1073
|
-
query,
|
|
1074
|
-
body,
|
|
1075
|
-
});
|
|
676
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
677
|
+
return b.build();
|
|
1076
678
|
};
|
|
1077
679
|
exports.se_ListDomainDeliverabilityCampaignsCommand = se_ListDomainDeliverabilityCampaignsCommand;
|
|
1078
680
|
const se_ListEmailIdentitiesCommand = async (input, context) => {
|
|
1079
|
-
const
|
|
681
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1080
682
|
const headers = {};
|
|
1081
|
-
|
|
683
|
+
b.bp("/v2/email/identities");
|
|
1082
684
|
const query = (0, smithy_client_1.map)({
|
|
1083
|
-
|
|
1084
|
-
|
|
685
|
+
[_NT]: [, input[_NT]],
|
|
686
|
+
[_PS]: [() => input.PageSize !== void 0, () => input[_PS].toString()],
|
|
1085
687
|
});
|
|
1086
688
|
let body;
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
hostname,
|
|
1090
|
-
port,
|
|
1091
|
-
method: "GET",
|
|
1092
|
-
headers,
|
|
1093
|
-
path: resolvedPath,
|
|
1094
|
-
query,
|
|
1095
|
-
body,
|
|
1096
|
-
});
|
|
689
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
690
|
+
return b.build();
|
|
1097
691
|
};
|
|
1098
692
|
exports.se_ListEmailIdentitiesCommand = se_ListEmailIdentitiesCommand;
|
|
1099
693
|
const se_ListEmailTemplatesCommand = async (input, context) => {
|
|
1100
|
-
const
|
|
694
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1101
695
|
const headers = {};
|
|
1102
|
-
|
|
696
|
+
b.bp("/v2/email/templates");
|
|
1103
697
|
const query = (0, smithy_client_1.map)({
|
|
1104
|
-
|
|
1105
|
-
|
|
698
|
+
[_NT]: [, input[_NT]],
|
|
699
|
+
[_PS]: [() => input.PageSize !== void 0, () => input[_PS].toString()],
|
|
1106
700
|
});
|
|
1107
701
|
let body;
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
hostname,
|
|
1111
|
-
port,
|
|
1112
|
-
method: "GET",
|
|
1113
|
-
headers,
|
|
1114
|
-
path: resolvedPath,
|
|
1115
|
-
query,
|
|
1116
|
-
body,
|
|
1117
|
-
});
|
|
702
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
703
|
+
return b.build();
|
|
1118
704
|
};
|
|
1119
705
|
exports.se_ListEmailTemplatesCommand = se_ListEmailTemplatesCommand;
|
|
1120
706
|
const se_ListExportJobsCommand = async (input, context) => {
|
|
1121
|
-
const
|
|
707
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1122
708
|
const headers = {
|
|
1123
709
|
"content-type": "application/json",
|
|
1124
710
|
};
|
|
1125
|
-
|
|
711
|
+
b.bp("/v2/email/list-export-jobs");
|
|
1126
712
|
let body;
|
|
1127
713
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1128
714
|
ExportSourceType: [],
|
|
@@ -1130,140 +716,92 @@ const se_ListExportJobsCommand = async (input, context) => {
|
|
|
1130
716
|
NextToken: [],
|
|
1131
717
|
PageSize: [],
|
|
1132
718
|
}));
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
hostname,
|
|
1136
|
-
port,
|
|
1137
|
-
method: "POST",
|
|
1138
|
-
headers,
|
|
1139
|
-
path: resolvedPath,
|
|
1140
|
-
body,
|
|
1141
|
-
});
|
|
719
|
+
b.m("POST").h(headers).b(body);
|
|
720
|
+
return b.build();
|
|
1142
721
|
};
|
|
1143
722
|
exports.se_ListExportJobsCommand = se_ListExportJobsCommand;
|
|
1144
723
|
const se_ListImportJobsCommand = async (input, context) => {
|
|
1145
|
-
const
|
|
724
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1146
725
|
const headers = {
|
|
1147
726
|
"content-type": "application/json",
|
|
1148
727
|
};
|
|
1149
|
-
|
|
728
|
+
b.bp("/v2/email/import-jobs");
|
|
1150
729
|
const query = (0, smithy_client_1.map)({
|
|
1151
|
-
|
|
1152
|
-
|
|
730
|
+
[_NT]: [, input[_NT]],
|
|
731
|
+
[_PS]: [() => input.PageSize !== void 0, () => input[_PS].toString()],
|
|
1153
732
|
});
|
|
1154
733
|
let body;
|
|
1155
734
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1156
735
|
ImportDestinationType: [],
|
|
1157
736
|
}));
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
hostname,
|
|
1161
|
-
port,
|
|
1162
|
-
method: "GET",
|
|
1163
|
-
headers,
|
|
1164
|
-
path: resolvedPath,
|
|
1165
|
-
query,
|
|
1166
|
-
body,
|
|
1167
|
-
});
|
|
737
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
738
|
+
return b.build();
|
|
1168
739
|
};
|
|
1169
740
|
exports.se_ListImportJobsCommand = se_ListImportJobsCommand;
|
|
1170
741
|
const se_ListRecommendationsCommand = async (input, context) => {
|
|
1171
|
-
const
|
|
742
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1172
743
|
const headers = {
|
|
1173
744
|
"content-type": "application/json",
|
|
1174
745
|
};
|
|
1175
|
-
|
|
746
|
+
b.bp("/v2/email/vdm/recommendations");
|
|
1176
747
|
let body;
|
|
1177
748
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1178
749
|
Filter: (_) => (0, smithy_client_1._json)(_),
|
|
1179
750
|
NextToken: [],
|
|
1180
751
|
PageSize: [],
|
|
1181
752
|
}));
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
hostname,
|
|
1185
|
-
port,
|
|
1186
|
-
method: "POST",
|
|
1187
|
-
headers,
|
|
1188
|
-
path: resolvedPath,
|
|
1189
|
-
body,
|
|
1190
|
-
});
|
|
753
|
+
b.m("POST").h(headers).b(body);
|
|
754
|
+
return b.build();
|
|
1191
755
|
};
|
|
1192
756
|
exports.se_ListRecommendationsCommand = se_ListRecommendationsCommand;
|
|
1193
757
|
const se_ListSuppressedDestinationsCommand = async (input, context) => {
|
|
1194
|
-
const
|
|
758
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1195
759
|
const headers = {};
|
|
1196
|
-
|
|
760
|
+
b.bp("/v2/email/suppression/addresses");
|
|
1197
761
|
const query = (0, smithy_client_1.map)({
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
],
|
|
1203
|
-
EndDate: [() => input.EndDate !== void 0, () => (input.EndDate.toISOString().split(".")[0] + "Z").toString()],
|
|
1204
|
-
NextToken: [, input.NextToken],
|
|
1205
|
-
PageSize: [() => input.PageSize !== void 0, () => input.PageSize.toString()],
|
|
762
|
+
[_Re]: [() => input.Reasons !== void 0, () => (input[_R] || []).map((_entry) => _entry)],
|
|
763
|
+
[_SD]: [() => input.StartDate !== void 0, () => (input[_SD].toISOString().split(".")[0] + "Z").toString()],
|
|
764
|
+
[_ED]: [() => input.EndDate !== void 0, () => (input[_ED].toISOString().split(".")[0] + "Z").toString()],
|
|
765
|
+
[_NT]: [, input[_NT]],
|
|
766
|
+
[_PS]: [() => input.PageSize !== void 0, () => input[_PS].toString()],
|
|
1206
767
|
});
|
|
1207
768
|
let body;
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
hostname,
|
|
1211
|
-
port,
|
|
1212
|
-
method: "GET",
|
|
1213
|
-
headers,
|
|
1214
|
-
path: resolvedPath,
|
|
1215
|
-
query,
|
|
1216
|
-
body,
|
|
1217
|
-
});
|
|
769
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
770
|
+
return b.build();
|
|
1218
771
|
};
|
|
1219
772
|
exports.se_ListSuppressedDestinationsCommand = se_ListSuppressedDestinationsCommand;
|
|
1220
773
|
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
1221
|
-
const
|
|
774
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1222
775
|
const headers = {};
|
|
1223
|
-
|
|
776
|
+
b.bp("/v2/email/tags");
|
|
1224
777
|
const query = (0, smithy_client_1.map)({
|
|
1225
|
-
|
|
778
|
+
[_RA]: [, (0, smithy_client_1.expectNonNull)(input[_RA], `ResourceArn`)],
|
|
1226
779
|
});
|
|
1227
780
|
let body;
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
hostname,
|
|
1231
|
-
port,
|
|
1232
|
-
method: "GET",
|
|
1233
|
-
headers,
|
|
1234
|
-
path: resolvedPath,
|
|
1235
|
-
query,
|
|
1236
|
-
body,
|
|
1237
|
-
});
|
|
781
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
782
|
+
return b.build();
|
|
1238
783
|
};
|
|
1239
784
|
exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
|
|
1240
785
|
const se_PutAccountDedicatedIpWarmupAttributesCommand = async (input, context) => {
|
|
1241
|
-
const
|
|
786
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1242
787
|
const headers = {
|
|
1243
788
|
"content-type": "application/json",
|
|
1244
789
|
};
|
|
1245
|
-
|
|
790
|
+
b.bp("/v2/email/account/dedicated-ips/warmup");
|
|
1246
791
|
let body;
|
|
1247
792
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1248
793
|
AutoWarmupEnabled: [],
|
|
1249
794
|
}));
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
hostname,
|
|
1253
|
-
port,
|
|
1254
|
-
method: "PUT",
|
|
1255
|
-
headers,
|
|
1256
|
-
path: resolvedPath,
|
|
1257
|
-
body,
|
|
1258
|
-
});
|
|
795
|
+
b.m("PUT").h(headers).b(body);
|
|
796
|
+
return b.build();
|
|
1259
797
|
};
|
|
1260
798
|
exports.se_PutAccountDedicatedIpWarmupAttributesCommand = se_PutAccountDedicatedIpWarmupAttributesCommand;
|
|
1261
799
|
const se_PutAccountDetailsCommand = async (input, context) => {
|
|
1262
|
-
const
|
|
800
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1263
801
|
const headers = {
|
|
1264
802
|
"content-type": "application/json",
|
|
1265
803
|
};
|
|
1266
|
-
|
|
804
|
+
b.bp("/v2/email/account/details");
|
|
1267
805
|
let body;
|
|
1268
806
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1269
807
|
AdditionalContactEmailAddresses: (_) => (0, smithy_client_1._json)(_),
|
|
@@ -1273,452 +811,301 @@ const se_PutAccountDetailsCommand = async (input, context) => {
|
|
|
1273
811
|
UseCaseDescription: [],
|
|
1274
812
|
WebsiteURL: [],
|
|
1275
813
|
}));
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
hostname,
|
|
1279
|
-
port,
|
|
1280
|
-
method: "POST",
|
|
1281
|
-
headers,
|
|
1282
|
-
path: resolvedPath,
|
|
1283
|
-
body,
|
|
1284
|
-
});
|
|
814
|
+
b.m("POST").h(headers).b(body);
|
|
815
|
+
return b.build();
|
|
1285
816
|
};
|
|
1286
817
|
exports.se_PutAccountDetailsCommand = se_PutAccountDetailsCommand;
|
|
1287
818
|
const se_PutAccountSendingAttributesCommand = async (input, context) => {
|
|
1288
|
-
const
|
|
819
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1289
820
|
const headers = {
|
|
1290
821
|
"content-type": "application/json",
|
|
1291
822
|
};
|
|
1292
|
-
|
|
823
|
+
b.bp("/v2/email/account/sending");
|
|
1293
824
|
let body;
|
|
1294
825
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1295
826
|
SendingEnabled: [],
|
|
1296
827
|
}));
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
hostname,
|
|
1300
|
-
port,
|
|
1301
|
-
method: "PUT",
|
|
1302
|
-
headers,
|
|
1303
|
-
path: resolvedPath,
|
|
1304
|
-
body,
|
|
1305
|
-
});
|
|
828
|
+
b.m("PUT").h(headers).b(body);
|
|
829
|
+
return b.build();
|
|
1306
830
|
};
|
|
1307
831
|
exports.se_PutAccountSendingAttributesCommand = se_PutAccountSendingAttributesCommand;
|
|
1308
832
|
const se_PutAccountSuppressionAttributesCommand = async (input, context) => {
|
|
1309
|
-
const
|
|
833
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1310
834
|
const headers = {
|
|
1311
835
|
"content-type": "application/json",
|
|
1312
836
|
};
|
|
1313
|
-
|
|
837
|
+
b.bp("/v2/email/account/suppression");
|
|
1314
838
|
let body;
|
|
1315
839
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1316
840
|
SuppressedReasons: (_) => (0, smithy_client_1._json)(_),
|
|
1317
841
|
}));
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
hostname,
|
|
1321
|
-
port,
|
|
1322
|
-
method: "PUT",
|
|
1323
|
-
headers,
|
|
1324
|
-
path: resolvedPath,
|
|
1325
|
-
body,
|
|
1326
|
-
});
|
|
842
|
+
b.m("PUT").h(headers).b(body);
|
|
843
|
+
return b.build();
|
|
1327
844
|
};
|
|
1328
845
|
exports.se_PutAccountSuppressionAttributesCommand = se_PutAccountSuppressionAttributesCommand;
|
|
1329
846
|
const se_PutAccountVdmAttributesCommand = async (input, context) => {
|
|
1330
|
-
const
|
|
847
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1331
848
|
const headers = {
|
|
1332
849
|
"content-type": "application/json",
|
|
1333
850
|
};
|
|
1334
|
-
|
|
851
|
+
b.bp("/v2/email/account/vdm");
|
|
1335
852
|
let body;
|
|
1336
853
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1337
854
|
VdmAttributes: (_) => (0, smithy_client_1._json)(_),
|
|
1338
855
|
}));
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
hostname,
|
|
1342
|
-
port,
|
|
1343
|
-
method: "PUT",
|
|
1344
|
-
headers,
|
|
1345
|
-
path: resolvedPath,
|
|
1346
|
-
body,
|
|
1347
|
-
});
|
|
856
|
+
b.m("PUT").h(headers).b(body);
|
|
857
|
+
return b.build();
|
|
1348
858
|
};
|
|
1349
859
|
exports.se_PutAccountVdmAttributesCommand = se_PutAccountVdmAttributesCommand;
|
|
1350
860
|
const se_PutConfigurationSetDeliveryOptionsCommand = async (input, context) => {
|
|
1351
|
-
const
|
|
861
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1352
862
|
const headers = {
|
|
1353
863
|
"content-type": "application/json",
|
|
1354
864
|
};
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ConfigurationSetName", () => input.ConfigurationSetName, "{ConfigurationSetName}", false);
|
|
865
|
+
b.bp("/v2/email/configuration-sets/{ConfigurationSetName}/delivery-options");
|
|
866
|
+
b.p("ConfigurationSetName", () => input.ConfigurationSetName, "{ConfigurationSetName}", false);
|
|
1358
867
|
let body;
|
|
1359
868
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1360
869
|
SendingPoolName: [],
|
|
1361
870
|
TlsPolicy: [],
|
|
1362
871
|
}));
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
hostname,
|
|
1366
|
-
port,
|
|
1367
|
-
method: "PUT",
|
|
1368
|
-
headers,
|
|
1369
|
-
path: resolvedPath,
|
|
1370
|
-
body,
|
|
1371
|
-
});
|
|
872
|
+
b.m("PUT").h(headers).b(body);
|
|
873
|
+
return b.build();
|
|
1372
874
|
};
|
|
1373
875
|
exports.se_PutConfigurationSetDeliveryOptionsCommand = se_PutConfigurationSetDeliveryOptionsCommand;
|
|
1374
876
|
const se_PutConfigurationSetReputationOptionsCommand = async (input, context) => {
|
|
1375
|
-
const
|
|
877
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1376
878
|
const headers = {
|
|
1377
879
|
"content-type": "application/json",
|
|
1378
880
|
};
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ConfigurationSetName", () => input.ConfigurationSetName, "{ConfigurationSetName}", false);
|
|
881
|
+
b.bp("/v2/email/configuration-sets/{ConfigurationSetName}/reputation-options");
|
|
882
|
+
b.p("ConfigurationSetName", () => input.ConfigurationSetName, "{ConfigurationSetName}", false);
|
|
1382
883
|
let body;
|
|
1383
884
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1384
885
|
ReputationMetricsEnabled: [],
|
|
1385
886
|
}));
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
hostname,
|
|
1389
|
-
port,
|
|
1390
|
-
method: "PUT",
|
|
1391
|
-
headers,
|
|
1392
|
-
path: resolvedPath,
|
|
1393
|
-
body,
|
|
1394
|
-
});
|
|
887
|
+
b.m("PUT").h(headers).b(body);
|
|
888
|
+
return b.build();
|
|
1395
889
|
};
|
|
1396
890
|
exports.se_PutConfigurationSetReputationOptionsCommand = se_PutConfigurationSetReputationOptionsCommand;
|
|
1397
891
|
const se_PutConfigurationSetSendingOptionsCommand = async (input, context) => {
|
|
1398
|
-
const
|
|
892
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1399
893
|
const headers = {
|
|
1400
894
|
"content-type": "application/json",
|
|
1401
895
|
};
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ConfigurationSetName", () => input.ConfigurationSetName, "{ConfigurationSetName}", false);
|
|
896
|
+
b.bp("/v2/email/configuration-sets/{ConfigurationSetName}/sending");
|
|
897
|
+
b.p("ConfigurationSetName", () => input.ConfigurationSetName, "{ConfigurationSetName}", false);
|
|
1405
898
|
let body;
|
|
1406
899
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1407
900
|
SendingEnabled: [],
|
|
1408
901
|
}));
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
hostname,
|
|
1412
|
-
port,
|
|
1413
|
-
method: "PUT",
|
|
1414
|
-
headers,
|
|
1415
|
-
path: resolvedPath,
|
|
1416
|
-
body,
|
|
1417
|
-
});
|
|
902
|
+
b.m("PUT").h(headers).b(body);
|
|
903
|
+
return b.build();
|
|
1418
904
|
};
|
|
1419
905
|
exports.se_PutConfigurationSetSendingOptionsCommand = se_PutConfigurationSetSendingOptionsCommand;
|
|
1420
906
|
const se_PutConfigurationSetSuppressionOptionsCommand = async (input, context) => {
|
|
1421
|
-
const
|
|
907
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1422
908
|
const headers = {
|
|
1423
909
|
"content-type": "application/json",
|
|
1424
910
|
};
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ConfigurationSetName", () => input.ConfigurationSetName, "{ConfigurationSetName}", false);
|
|
911
|
+
b.bp("/v2/email/configuration-sets/{ConfigurationSetName}/suppression-options");
|
|
912
|
+
b.p("ConfigurationSetName", () => input.ConfigurationSetName, "{ConfigurationSetName}", false);
|
|
1428
913
|
let body;
|
|
1429
914
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1430
915
|
SuppressedReasons: (_) => (0, smithy_client_1._json)(_),
|
|
1431
916
|
}));
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
hostname,
|
|
1435
|
-
port,
|
|
1436
|
-
method: "PUT",
|
|
1437
|
-
headers,
|
|
1438
|
-
path: resolvedPath,
|
|
1439
|
-
body,
|
|
1440
|
-
});
|
|
917
|
+
b.m("PUT").h(headers).b(body);
|
|
918
|
+
return b.build();
|
|
1441
919
|
};
|
|
1442
920
|
exports.se_PutConfigurationSetSuppressionOptionsCommand = se_PutConfigurationSetSuppressionOptionsCommand;
|
|
1443
921
|
const se_PutConfigurationSetTrackingOptionsCommand = async (input, context) => {
|
|
1444
|
-
const
|
|
922
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1445
923
|
const headers = {
|
|
1446
924
|
"content-type": "application/json",
|
|
1447
925
|
};
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ConfigurationSetName", () => input.ConfigurationSetName, "{ConfigurationSetName}", false);
|
|
926
|
+
b.bp("/v2/email/configuration-sets/{ConfigurationSetName}/tracking-options");
|
|
927
|
+
b.p("ConfigurationSetName", () => input.ConfigurationSetName, "{ConfigurationSetName}", false);
|
|
1451
928
|
let body;
|
|
1452
929
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1453
930
|
CustomRedirectDomain: [],
|
|
1454
931
|
}));
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
hostname,
|
|
1458
|
-
port,
|
|
1459
|
-
method: "PUT",
|
|
1460
|
-
headers,
|
|
1461
|
-
path: resolvedPath,
|
|
1462
|
-
body,
|
|
1463
|
-
});
|
|
932
|
+
b.m("PUT").h(headers).b(body);
|
|
933
|
+
return b.build();
|
|
1464
934
|
};
|
|
1465
935
|
exports.se_PutConfigurationSetTrackingOptionsCommand = se_PutConfigurationSetTrackingOptionsCommand;
|
|
1466
936
|
const se_PutConfigurationSetVdmOptionsCommand = async (input, context) => {
|
|
1467
|
-
const
|
|
937
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1468
938
|
const headers = {
|
|
1469
939
|
"content-type": "application/json",
|
|
1470
940
|
};
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ConfigurationSetName", () => input.ConfigurationSetName, "{ConfigurationSetName}", false);
|
|
941
|
+
b.bp("/v2/email/configuration-sets/{ConfigurationSetName}/vdm-options");
|
|
942
|
+
b.p("ConfigurationSetName", () => input.ConfigurationSetName, "{ConfigurationSetName}", false);
|
|
1474
943
|
let body;
|
|
1475
944
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1476
945
|
VdmOptions: (_) => (0, smithy_client_1._json)(_),
|
|
1477
946
|
}));
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
hostname,
|
|
1481
|
-
port,
|
|
1482
|
-
method: "PUT",
|
|
1483
|
-
headers,
|
|
1484
|
-
path: resolvedPath,
|
|
1485
|
-
body,
|
|
1486
|
-
});
|
|
947
|
+
b.m("PUT").h(headers).b(body);
|
|
948
|
+
return b.build();
|
|
1487
949
|
};
|
|
1488
950
|
exports.se_PutConfigurationSetVdmOptionsCommand = se_PutConfigurationSetVdmOptionsCommand;
|
|
1489
951
|
const se_PutDedicatedIpInPoolCommand = async (input, context) => {
|
|
1490
|
-
const
|
|
952
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1491
953
|
const headers = {
|
|
1492
954
|
"content-type": "application/json",
|
|
1493
955
|
};
|
|
1494
|
-
|
|
1495
|
-
|
|
956
|
+
b.bp("/v2/email/dedicated-ips/{Ip}/pool");
|
|
957
|
+
b.p("Ip", () => input.Ip, "{Ip}", false);
|
|
1496
958
|
let body;
|
|
1497
959
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1498
960
|
DestinationPoolName: [],
|
|
1499
961
|
}));
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
hostname,
|
|
1503
|
-
port,
|
|
1504
|
-
method: "PUT",
|
|
1505
|
-
headers,
|
|
1506
|
-
path: resolvedPath,
|
|
1507
|
-
body,
|
|
1508
|
-
});
|
|
962
|
+
b.m("PUT").h(headers).b(body);
|
|
963
|
+
return b.build();
|
|
1509
964
|
};
|
|
1510
965
|
exports.se_PutDedicatedIpInPoolCommand = se_PutDedicatedIpInPoolCommand;
|
|
1511
966
|
const se_PutDedicatedIpPoolScalingAttributesCommand = async (input, context) => {
|
|
1512
|
-
const
|
|
967
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1513
968
|
const headers = {
|
|
1514
969
|
"content-type": "application/json",
|
|
1515
970
|
};
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "PoolName", () => input.PoolName, "{PoolName}", false);
|
|
971
|
+
b.bp("/v2/email/dedicated-ip-pools/{PoolName}/scaling");
|
|
972
|
+
b.p("PoolName", () => input.PoolName, "{PoolName}", false);
|
|
1519
973
|
let body;
|
|
1520
974
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1521
975
|
ScalingMode: [],
|
|
1522
976
|
}));
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
hostname,
|
|
1526
|
-
port,
|
|
1527
|
-
method: "PUT",
|
|
1528
|
-
headers,
|
|
1529
|
-
path: resolvedPath,
|
|
1530
|
-
body,
|
|
1531
|
-
});
|
|
977
|
+
b.m("PUT").h(headers).b(body);
|
|
978
|
+
return b.build();
|
|
1532
979
|
};
|
|
1533
980
|
exports.se_PutDedicatedIpPoolScalingAttributesCommand = se_PutDedicatedIpPoolScalingAttributesCommand;
|
|
1534
981
|
const se_PutDedicatedIpWarmupAttributesCommand = async (input, context) => {
|
|
1535
|
-
const
|
|
982
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1536
983
|
const headers = {
|
|
1537
984
|
"content-type": "application/json",
|
|
1538
985
|
};
|
|
1539
|
-
|
|
1540
|
-
|
|
986
|
+
b.bp("/v2/email/dedicated-ips/{Ip}/warmup");
|
|
987
|
+
b.p("Ip", () => input.Ip, "{Ip}", false);
|
|
1541
988
|
let body;
|
|
1542
989
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1543
990
|
WarmupPercentage: [],
|
|
1544
991
|
}));
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
hostname,
|
|
1548
|
-
port,
|
|
1549
|
-
method: "PUT",
|
|
1550
|
-
headers,
|
|
1551
|
-
path: resolvedPath,
|
|
1552
|
-
body,
|
|
1553
|
-
});
|
|
992
|
+
b.m("PUT").h(headers).b(body);
|
|
993
|
+
return b.build();
|
|
1554
994
|
};
|
|
1555
995
|
exports.se_PutDedicatedIpWarmupAttributesCommand = se_PutDedicatedIpWarmupAttributesCommand;
|
|
1556
996
|
const se_PutDeliverabilityDashboardOptionCommand = async (input, context) => {
|
|
1557
|
-
const
|
|
997
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1558
998
|
const headers = {
|
|
1559
999
|
"content-type": "application/json",
|
|
1560
1000
|
};
|
|
1561
|
-
|
|
1001
|
+
b.bp("/v2/email/deliverability-dashboard");
|
|
1562
1002
|
let body;
|
|
1563
1003
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1564
1004
|
DashboardEnabled: [],
|
|
1565
1005
|
SubscribedDomains: (_) => se_DomainDeliverabilityTrackingOptions(_, context),
|
|
1566
1006
|
}));
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
hostname,
|
|
1570
|
-
port,
|
|
1571
|
-
method: "PUT",
|
|
1572
|
-
headers,
|
|
1573
|
-
path: resolvedPath,
|
|
1574
|
-
body,
|
|
1575
|
-
});
|
|
1007
|
+
b.m("PUT").h(headers).b(body);
|
|
1008
|
+
return b.build();
|
|
1576
1009
|
};
|
|
1577
1010
|
exports.se_PutDeliverabilityDashboardOptionCommand = se_PutDeliverabilityDashboardOptionCommand;
|
|
1578
1011
|
const se_PutEmailIdentityConfigurationSetAttributesCommand = async (input, context) => {
|
|
1579
|
-
const
|
|
1012
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1580
1013
|
const headers = {
|
|
1581
1014
|
"content-type": "application/json",
|
|
1582
1015
|
};
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "EmailIdentity", () => input.EmailIdentity, "{EmailIdentity}", false);
|
|
1016
|
+
b.bp("/v2/email/identities/{EmailIdentity}/configuration-set");
|
|
1017
|
+
b.p("EmailIdentity", () => input.EmailIdentity, "{EmailIdentity}", false);
|
|
1586
1018
|
let body;
|
|
1587
1019
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1588
1020
|
ConfigurationSetName: [],
|
|
1589
1021
|
}));
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
hostname,
|
|
1593
|
-
port,
|
|
1594
|
-
method: "PUT",
|
|
1595
|
-
headers,
|
|
1596
|
-
path: resolvedPath,
|
|
1597
|
-
body,
|
|
1598
|
-
});
|
|
1022
|
+
b.m("PUT").h(headers).b(body);
|
|
1023
|
+
return b.build();
|
|
1599
1024
|
};
|
|
1600
1025
|
exports.se_PutEmailIdentityConfigurationSetAttributesCommand = se_PutEmailIdentityConfigurationSetAttributesCommand;
|
|
1601
1026
|
const se_PutEmailIdentityDkimAttributesCommand = async (input, context) => {
|
|
1602
|
-
const
|
|
1027
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1603
1028
|
const headers = {
|
|
1604
1029
|
"content-type": "application/json",
|
|
1605
1030
|
};
|
|
1606
|
-
|
|
1607
|
-
|
|
1031
|
+
b.bp("/v2/email/identities/{EmailIdentity}/dkim");
|
|
1032
|
+
b.p("EmailIdentity", () => input.EmailIdentity, "{EmailIdentity}", false);
|
|
1608
1033
|
let body;
|
|
1609
1034
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1610
1035
|
SigningEnabled: [],
|
|
1611
1036
|
}));
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
hostname,
|
|
1615
|
-
port,
|
|
1616
|
-
method: "PUT",
|
|
1617
|
-
headers,
|
|
1618
|
-
path: resolvedPath,
|
|
1619
|
-
body,
|
|
1620
|
-
});
|
|
1037
|
+
b.m("PUT").h(headers).b(body);
|
|
1038
|
+
return b.build();
|
|
1621
1039
|
};
|
|
1622
1040
|
exports.se_PutEmailIdentityDkimAttributesCommand = se_PutEmailIdentityDkimAttributesCommand;
|
|
1623
1041
|
const se_PutEmailIdentityDkimSigningAttributesCommand = async (input, context) => {
|
|
1624
|
-
const
|
|
1042
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1625
1043
|
const headers = {
|
|
1626
1044
|
"content-type": "application/json",
|
|
1627
1045
|
};
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "EmailIdentity", () => input.EmailIdentity, "{EmailIdentity}", false);
|
|
1046
|
+
b.bp("/v1/email/identities/{EmailIdentity}/dkim/signing");
|
|
1047
|
+
b.p("EmailIdentity", () => input.EmailIdentity, "{EmailIdentity}", false);
|
|
1631
1048
|
let body;
|
|
1632
1049
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1633
1050
|
SigningAttributes: (_) => (0, smithy_client_1._json)(_),
|
|
1634
1051
|
SigningAttributesOrigin: [],
|
|
1635
1052
|
}));
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
hostname,
|
|
1639
|
-
port,
|
|
1640
|
-
method: "PUT",
|
|
1641
|
-
headers,
|
|
1642
|
-
path: resolvedPath,
|
|
1643
|
-
body,
|
|
1644
|
-
});
|
|
1053
|
+
b.m("PUT").h(headers).b(body);
|
|
1054
|
+
return b.build();
|
|
1645
1055
|
};
|
|
1646
1056
|
exports.se_PutEmailIdentityDkimSigningAttributesCommand = se_PutEmailIdentityDkimSigningAttributesCommand;
|
|
1647
1057
|
const se_PutEmailIdentityFeedbackAttributesCommand = async (input, context) => {
|
|
1648
|
-
const
|
|
1058
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1649
1059
|
const headers = {
|
|
1650
1060
|
"content-type": "application/json",
|
|
1651
1061
|
};
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "EmailIdentity", () => input.EmailIdentity, "{EmailIdentity}", false);
|
|
1062
|
+
b.bp("/v2/email/identities/{EmailIdentity}/feedback");
|
|
1063
|
+
b.p("EmailIdentity", () => input.EmailIdentity, "{EmailIdentity}", false);
|
|
1655
1064
|
let body;
|
|
1656
1065
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1657
1066
|
EmailForwardingEnabled: [],
|
|
1658
1067
|
}));
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
hostname,
|
|
1662
|
-
port,
|
|
1663
|
-
method: "PUT",
|
|
1664
|
-
headers,
|
|
1665
|
-
path: resolvedPath,
|
|
1666
|
-
body,
|
|
1667
|
-
});
|
|
1068
|
+
b.m("PUT").h(headers).b(body);
|
|
1069
|
+
return b.build();
|
|
1668
1070
|
};
|
|
1669
1071
|
exports.se_PutEmailIdentityFeedbackAttributesCommand = se_PutEmailIdentityFeedbackAttributesCommand;
|
|
1670
1072
|
const se_PutEmailIdentityMailFromAttributesCommand = async (input, context) => {
|
|
1671
|
-
const
|
|
1073
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1672
1074
|
const headers = {
|
|
1673
1075
|
"content-type": "application/json",
|
|
1674
1076
|
};
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "EmailIdentity", () => input.EmailIdentity, "{EmailIdentity}", false);
|
|
1077
|
+
b.bp("/v2/email/identities/{EmailIdentity}/mail-from");
|
|
1078
|
+
b.p("EmailIdentity", () => input.EmailIdentity, "{EmailIdentity}", false);
|
|
1678
1079
|
let body;
|
|
1679
1080
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1680
1081
|
BehaviorOnMxFailure: [],
|
|
1681
1082
|
MailFromDomain: [],
|
|
1682
1083
|
}));
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
hostname,
|
|
1686
|
-
port,
|
|
1687
|
-
method: "PUT",
|
|
1688
|
-
headers,
|
|
1689
|
-
path: resolvedPath,
|
|
1690
|
-
body,
|
|
1691
|
-
});
|
|
1084
|
+
b.m("PUT").h(headers).b(body);
|
|
1085
|
+
return b.build();
|
|
1692
1086
|
};
|
|
1693
1087
|
exports.se_PutEmailIdentityMailFromAttributesCommand = se_PutEmailIdentityMailFromAttributesCommand;
|
|
1694
1088
|
const se_PutSuppressedDestinationCommand = async (input, context) => {
|
|
1695
|
-
const
|
|
1089
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1696
1090
|
const headers = {
|
|
1697
1091
|
"content-type": "application/json",
|
|
1698
1092
|
};
|
|
1699
|
-
|
|
1093
|
+
b.bp("/v2/email/suppression/addresses");
|
|
1700
1094
|
let body;
|
|
1701
1095
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1702
1096
|
EmailAddress: [],
|
|
1703
1097
|
Reason: [],
|
|
1704
1098
|
}));
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
hostname,
|
|
1708
|
-
port,
|
|
1709
|
-
method: "PUT",
|
|
1710
|
-
headers,
|
|
1711
|
-
path: resolvedPath,
|
|
1712
|
-
body,
|
|
1713
|
-
});
|
|
1099
|
+
b.m("PUT").h(headers).b(body);
|
|
1100
|
+
return b.build();
|
|
1714
1101
|
};
|
|
1715
1102
|
exports.se_PutSuppressedDestinationCommand = se_PutSuppressedDestinationCommand;
|
|
1716
1103
|
const se_SendBulkEmailCommand = async (input, context) => {
|
|
1717
|
-
const
|
|
1104
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1718
1105
|
const headers = {
|
|
1719
1106
|
"content-type": "application/json",
|
|
1720
1107
|
};
|
|
1721
|
-
|
|
1108
|
+
b.bp("/v2/email/outbound-bulk-emails");
|
|
1722
1109
|
let body;
|
|
1723
1110
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1724
1111
|
BulkEmailEntries: (_) => (0, smithy_client_1._json)(_),
|
|
@@ -1731,47 +1118,32 @@ const se_SendBulkEmailCommand = async (input, context) => {
|
|
|
1731
1118
|
FromEmailAddressIdentityArn: [],
|
|
1732
1119
|
ReplyToAddresses: (_) => (0, smithy_client_1._json)(_),
|
|
1733
1120
|
}));
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
hostname,
|
|
1737
|
-
port,
|
|
1738
|
-
method: "POST",
|
|
1739
|
-
headers,
|
|
1740
|
-
path: resolvedPath,
|
|
1741
|
-
body,
|
|
1742
|
-
});
|
|
1121
|
+
b.m("POST").h(headers).b(body);
|
|
1122
|
+
return b.build();
|
|
1743
1123
|
};
|
|
1744
1124
|
exports.se_SendBulkEmailCommand = se_SendBulkEmailCommand;
|
|
1745
1125
|
const se_SendCustomVerificationEmailCommand = async (input, context) => {
|
|
1746
|
-
const
|
|
1126
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1747
1127
|
const headers = {
|
|
1748
1128
|
"content-type": "application/json",
|
|
1749
1129
|
};
|
|
1750
|
-
|
|
1751
|
-
"/v2/email/outbound-custom-verification-emails";
|
|
1130
|
+
b.bp("/v2/email/outbound-custom-verification-emails");
|
|
1752
1131
|
let body;
|
|
1753
1132
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1754
1133
|
ConfigurationSetName: [],
|
|
1755
1134
|
EmailAddress: [],
|
|
1756
1135
|
TemplateName: [],
|
|
1757
1136
|
}));
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
hostname,
|
|
1761
|
-
port,
|
|
1762
|
-
method: "POST",
|
|
1763
|
-
headers,
|
|
1764
|
-
path: resolvedPath,
|
|
1765
|
-
body,
|
|
1766
|
-
});
|
|
1137
|
+
b.m("POST").h(headers).b(body);
|
|
1138
|
+
return b.build();
|
|
1767
1139
|
};
|
|
1768
1140
|
exports.se_SendCustomVerificationEmailCommand = se_SendCustomVerificationEmailCommand;
|
|
1769
1141
|
const se_SendEmailCommand = async (input, context) => {
|
|
1770
|
-
const
|
|
1142
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1771
1143
|
const headers = {
|
|
1772
1144
|
"content-type": "application/json",
|
|
1773
1145
|
};
|
|
1774
|
-
|
|
1146
|
+
b.bp("/v2/email/outbound-emails");
|
|
1775
1147
|
let body;
|
|
1776
1148
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1777
1149
|
ConfigurationSetName: [],
|
|
@@ -1785,166 +1157,113 @@ const se_SendEmailCommand = async (input, context) => {
|
|
|
1785
1157
|
ListManagementOptions: (_) => (0, smithy_client_1._json)(_),
|
|
1786
1158
|
ReplyToAddresses: (_) => (0, smithy_client_1._json)(_),
|
|
1787
1159
|
}));
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
hostname,
|
|
1791
|
-
port,
|
|
1792
|
-
method: "POST",
|
|
1793
|
-
headers,
|
|
1794
|
-
path: resolvedPath,
|
|
1795
|
-
body,
|
|
1796
|
-
});
|
|
1160
|
+
b.m("POST").h(headers).b(body);
|
|
1161
|
+
return b.build();
|
|
1797
1162
|
};
|
|
1798
1163
|
exports.se_SendEmailCommand = se_SendEmailCommand;
|
|
1799
1164
|
const se_TagResourceCommand = async (input, context) => {
|
|
1800
|
-
const
|
|
1165
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1801
1166
|
const headers = {
|
|
1802
1167
|
"content-type": "application/json",
|
|
1803
1168
|
};
|
|
1804
|
-
|
|
1169
|
+
b.bp("/v2/email/tags");
|
|
1805
1170
|
let body;
|
|
1806
1171
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1807
1172
|
ResourceArn: [],
|
|
1808
1173
|
Tags: (_) => (0, smithy_client_1._json)(_),
|
|
1809
1174
|
}));
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
hostname,
|
|
1813
|
-
port,
|
|
1814
|
-
method: "POST",
|
|
1815
|
-
headers,
|
|
1816
|
-
path: resolvedPath,
|
|
1817
|
-
body,
|
|
1818
|
-
});
|
|
1175
|
+
b.m("POST").h(headers).b(body);
|
|
1176
|
+
return b.build();
|
|
1819
1177
|
};
|
|
1820
1178
|
exports.se_TagResourceCommand = se_TagResourceCommand;
|
|
1821
1179
|
const se_TestRenderEmailTemplateCommand = async (input, context) => {
|
|
1822
|
-
const
|
|
1180
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1823
1181
|
const headers = {
|
|
1824
1182
|
"content-type": "application/json",
|
|
1825
1183
|
};
|
|
1826
|
-
|
|
1827
|
-
|
|
1184
|
+
b.bp("/v2/email/templates/{TemplateName}/render");
|
|
1185
|
+
b.p("TemplateName", () => input.TemplateName, "{TemplateName}", false);
|
|
1828
1186
|
let body;
|
|
1829
1187
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1830
1188
|
TemplateData: [],
|
|
1831
1189
|
}));
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
hostname,
|
|
1835
|
-
port,
|
|
1836
|
-
method: "POST",
|
|
1837
|
-
headers,
|
|
1838
|
-
path: resolvedPath,
|
|
1839
|
-
body,
|
|
1840
|
-
});
|
|
1190
|
+
b.m("POST").h(headers).b(body);
|
|
1191
|
+
return b.build();
|
|
1841
1192
|
};
|
|
1842
1193
|
exports.se_TestRenderEmailTemplateCommand = se_TestRenderEmailTemplateCommand;
|
|
1843
1194
|
const se_UntagResourceCommand = async (input, context) => {
|
|
1844
|
-
const
|
|
1195
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1845
1196
|
const headers = {};
|
|
1846
|
-
|
|
1197
|
+
b.bp("/v2/email/tags");
|
|
1847
1198
|
const query = (0, smithy_client_1.map)({
|
|
1848
|
-
|
|
1849
|
-
|
|
1199
|
+
[_RA]: [, (0, smithy_client_1.expectNonNull)(input[_RA], `ResourceArn`)],
|
|
1200
|
+
[_TK]: [
|
|
1850
1201
|
(0, smithy_client_1.expectNonNull)(input.TagKeys, `TagKeys`) != null,
|
|
1851
|
-
() => (input
|
|
1202
|
+
() => (input[_TK] || []).map((_entry) => _entry),
|
|
1852
1203
|
],
|
|
1853
1204
|
});
|
|
1854
1205
|
let body;
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
hostname,
|
|
1858
|
-
port,
|
|
1859
|
-
method: "DELETE",
|
|
1860
|
-
headers,
|
|
1861
|
-
path: resolvedPath,
|
|
1862
|
-
query,
|
|
1863
|
-
body,
|
|
1864
|
-
});
|
|
1206
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
1207
|
+
return b.build();
|
|
1865
1208
|
};
|
|
1866
1209
|
exports.se_UntagResourceCommand = se_UntagResourceCommand;
|
|
1867
1210
|
const se_UpdateConfigurationSetEventDestinationCommand = async (input, context) => {
|
|
1868
|
-
const
|
|
1211
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1869
1212
|
const headers = {
|
|
1870
1213
|
"content-type": "application/json",
|
|
1871
1214
|
};
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "EventDestinationName", () => input.EventDestinationName, "{EventDestinationName}", false);
|
|
1215
|
+
b.bp("/v2/email/configuration-sets/{ConfigurationSetName}/event-destinations/{EventDestinationName}");
|
|
1216
|
+
b.p("ConfigurationSetName", () => input.ConfigurationSetName, "{ConfigurationSetName}", false);
|
|
1217
|
+
b.p("EventDestinationName", () => input.EventDestinationName, "{EventDestinationName}", false);
|
|
1876
1218
|
let body;
|
|
1877
1219
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1878
1220
|
EventDestination: (_) => (0, smithy_client_1._json)(_),
|
|
1879
1221
|
}));
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
hostname,
|
|
1883
|
-
port,
|
|
1884
|
-
method: "PUT",
|
|
1885
|
-
headers,
|
|
1886
|
-
path: resolvedPath,
|
|
1887
|
-
body,
|
|
1888
|
-
});
|
|
1222
|
+
b.m("PUT").h(headers).b(body);
|
|
1223
|
+
return b.build();
|
|
1889
1224
|
};
|
|
1890
1225
|
exports.se_UpdateConfigurationSetEventDestinationCommand = se_UpdateConfigurationSetEventDestinationCommand;
|
|
1891
1226
|
const se_UpdateContactCommand = async (input, context) => {
|
|
1892
|
-
const
|
|
1227
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1893
1228
|
const headers = {
|
|
1894
1229
|
"content-type": "application/json",
|
|
1895
1230
|
};
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "EmailAddress", () => input.EmailAddress, "{EmailAddress}", false);
|
|
1231
|
+
b.bp("/v2/email/contact-lists/{ContactListName}/contacts/{EmailAddress}");
|
|
1232
|
+
b.p("ContactListName", () => input.ContactListName, "{ContactListName}", false);
|
|
1233
|
+
b.p("EmailAddress", () => input.EmailAddress, "{EmailAddress}", false);
|
|
1900
1234
|
let body;
|
|
1901
1235
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1902
1236
|
AttributesData: [],
|
|
1903
1237
|
TopicPreferences: (_) => (0, smithy_client_1._json)(_),
|
|
1904
1238
|
UnsubscribeAll: [],
|
|
1905
1239
|
}));
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
hostname,
|
|
1909
|
-
port,
|
|
1910
|
-
method: "PUT",
|
|
1911
|
-
headers,
|
|
1912
|
-
path: resolvedPath,
|
|
1913
|
-
body,
|
|
1914
|
-
});
|
|
1240
|
+
b.m("PUT").h(headers).b(body);
|
|
1241
|
+
return b.build();
|
|
1915
1242
|
};
|
|
1916
1243
|
exports.se_UpdateContactCommand = se_UpdateContactCommand;
|
|
1917
1244
|
const se_UpdateContactListCommand = async (input, context) => {
|
|
1918
|
-
const
|
|
1245
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1919
1246
|
const headers = {
|
|
1920
1247
|
"content-type": "application/json",
|
|
1921
1248
|
};
|
|
1922
|
-
|
|
1923
|
-
|
|
1249
|
+
b.bp("/v2/email/contact-lists/{ContactListName}");
|
|
1250
|
+
b.p("ContactListName", () => input.ContactListName, "{ContactListName}", false);
|
|
1924
1251
|
let body;
|
|
1925
1252
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1926
1253
|
Description: [],
|
|
1927
1254
|
Topics: (_) => (0, smithy_client_1._json)(_),
|
|
1928
1255
|
}));
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
hostname,
|
|
1932
|
-
port,
|
|
1933
|
-
method: "PUT",
|
|
1934
|
-
headers,
|
|
1935
|
-
path: resolvedPath,
|
|
1936
|
-
body,
|
|
1937
|
-
});
|
|
1256
|
+
b.m("PUT").h(headers).b(body);
|
|
1257
|
+
return b.build();
|
|
1938
1258
|
};
|
|
1939
1259
|
exports.se_UpdateContactListCommand = se_UpdateContactListCommand;
|
|
1940
1260
|
const se_UpdateCustomVerificationEmailTemplateCommand = async (input, context) => {
|
|
1941
|
-
const
|
|
1261
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1942
1262
|
const headers = {
|
|
1943
1263
|
"content-type": "application/json",
|
|
1944
1264
|
};
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "TemplateName", () => input.TemplateName, "{TemplateName}", false);
|
|
1265
|
+
b.bp("/v2/email/custom-verification-email-templates/{TemplateName}");
|
|
1266
|
+
b.p("TemplateName", () => input.TemplateName, "{TemplateName}", false);
|
|
1948
1267
|
let body;
|
|
1949
1268
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1950
1269
|
FailureRedirectionURL: [],
|
|
@@ -1953,61 +1272,39 @@ const se_UpdateCustomVerificationEmailTemplateCommand = async (input, context) =
|
|
|
1953
1272
|
TemplateContent: [],
|
|
1954
1273
|
TemplateSubject: [],
|
|
1955
1274
|
}));
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
hostname,
|
|
1959
|
-
port,
|
|
1960
|
-
method: "PUT",
|
|
1961
|
-
headers,
|
|
1962
|
-
path: resolvedPath,
|
|
1963
|
-
body,
|
|
1964
|
-
});
|
|
1275
|
+
b.m("PUT").h(headers).b(body);
|
|
1276
|
+
return b.build();
|
|
1965
1277
|
};
|
|
1966
1278
|
exports.se_UpdateCustomVerificationEmailTemplateCommand = se_UpdateCustomVerificationEmailTemplateCommand;
|
|
1967
1279
|
const se_UpdateEmailIdentityPolicyCommand = async (input, context) => {
|
|
1968
|
-
const
|
|
1280
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1969
1281
|
const headers = {
|
|
1970
1282
|
"content-type": "application/json",
|
|
1971
1283
|
};
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "PolicyName", () => input.PolicyName, "{PolicyName}", false);
|
|
1284
|
+
b.bp("/v2/email/identities/{EmailIdentity}/policies/{PolicyName}");
|
|
1285
|
+
b.p("EmailIdentity", () => input.EmailIdentity, "{EmailIdentity}", false);
|
|
1286
|
+
b.p("PolicyName", () => input.PolicyName, "{PolicyName}", false);
|
|
1976
1287
|
let body;
|
|
1977
1288
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1978
1289
|
Policy: [],
|
|
1979
1290
|
}));
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
hostname,
|
|
1983
|
-
port,
|
|
1984
|
-
method: "PUT",
|
|
1985
|
-
headers,
|
|
1986
|
-
path: resolvedPath,
|
|
1987
|
-
body,
|
|
1988
|
-
});
|
|
1291
|
+
b.m("PUT").h(headers).b(body);
|
|
1292
|
+
return b.build();
|
|
1989
1293
|
};
|
|
1990
1294
|
exports.se_UpdateEmailIdentityPolicyCommand = se_UpdateEmailIdentityPolicyCommand;
|
|
1991
1295
|
const se_UpdateEmailTemplateCommand = async (input, context) => {
|
|
1992
|
-
const
|
|
1296
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1993
1297
|
const headers = {
|
|
1994
1298
|
"content-type": "application/json",
|
|
1995
1299
|
};
|
|
1996
|
-
|
|
1997
|
-
|
|
1300
|
+
b.bp("/v2/email/templates/{TemplateName}");
|
|
1301
|
+
b.p("TemplateName", () => input.TemplateName, "{TemplateName}", false);
|
|
1998
1302
|
let body;
|
|
1999
1303
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
2000
1304
|
TemplateContent: (_) => (0, smithy_client_1._json)(_),
|
|
2001
1305
|
}));
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
hostname,
|
|
2005
|
-
port,
|
|
2006
|
-
method: "PUT",
|
|
2007
|
-
headers,
|
|
2008
|
-
path: resolvedPath,
|
|
2009
|
-
body,
|
|
2010
|
-
});
|
|
1306
|
+
b.m("PUT").h(headers).b(body);
|
|
1307
|
+
return b.build();
|
|
2011
1308
|
};
|
|
2012
1309
|
exports.se_UpdateEmailTemplateCommand = se_UpdateEmailTemplateCommand;
|
|
2013
1310
|
const de_BatchGetMetricDataCommand = async (output, context) => {
|
|
@@ -6330,6 +5627,16 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
|
6330
5627
|
value !== "" &&
|
|
6331
5628
|
(!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
|
|
6332
5629
|
(!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
|
|
5630
|
+
const _BIN = "BlacklistItemNames";
|
|
5631
|
+
const _ED = "EndDate";
|
|
5632
|
+
const _NT = "NextToken";
|
|
5633
|
+
const _PN = "PoolName";
|
|
5634
|
+
const _PS = "PageSize";
|
|
5635
|
+
const _R = "Reasons";
|
|
5636
|
+
const _RA = "ResourceArn";
|
|
5637
|
+
const _Re = "Reason";
|
|
5638
|
+
const _SD = "StartDate";
|
|
5639
|
+
const _TK = "TagKeys";
|
|
6333
5640
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
6334
5641
|
if (encoded.length) {
|
|
6335
5642
|
return JSON.parse(encoded);
|