@aws-sdk/client-sesv2 3.181.0 → 3.183.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/CHANGELOG.md +8 -0
- package/dist-es/SESv2.js +326 -333
- package/dist-es/SESv2Client.js +22 -28
- package/dist-es/commands/CreateConfigurationSetCommand.js +21 -28
- package/dist-es/commands/CreateConfigurationSetEventDestinationCommand.js +21 -28
- package/dist-es/commands/CreateContactCommand.js +21 -28
- package/dist-es/commands/CreateContactListCommand.js +21 -28
- package/dist-es/commands/CreateCustomVerificationEmailTemplateCommand.js +21 -28
- package/dist-es/commands/CreateDedicatedIpPoolCommand.js +21 -28
- package/dist-es/commands/CreateDeliverabilityTestReportCommand.js +21 -28
- package/dist-es/commands/CreateEmailIdentityCommand.js +21 -28
- package/dist-es/commands/CreateEmailIdentityPolicyCommand.js +21 -28
- package/dist-es/commands/CreateEmailTemplateCommand.js +21 -28
- package/dist-es/commands/CreateImportJobCommand.js +21 -28
- package/dist-es/commands/DeleteConfigurationSetCommand.js +21 -28
- package/dist-es/commands/DeleteConfigurationSetEventDestinationCommand.js +21 -28
- package/dist-es/commands/DeleteContactCommand.js +21 -28
- package/dist-es/commands/DeleteContactListCommand.js +21 -28
- package/dist-es/commands/DeleteCustomVerificationEmailTemplateCommand.js +21 -28
- package/dist-es/commands/DeleteDedicatedIpPoolCommand.js +21 -28
- package/dist-es/commands/DeleteEmailIdentityCommand.js +21 -28
- package/dist-es/commands/DeleteEmailIdentityPolicyCommand.js +21 -28
- package/dist-es/commands/DeleteEmailTemplateCommand.js +21 -28
- package/dist-es/commands/DeleteSuppressedDestinationCommand.js +21 -28
- package/dist-es/commands/GetAccountCommand.js +21 -28
- package/dist-es/commands/GetBlacklistReportsCommand.js +21 -28
- package/dist-es/commands/GetConfigurationSetCommand.js +21 -28
- package/dist-es/commands/GetConfigurationSetEventDestinationsCommand.js +21 -28
- package/dist-es/commands/GetContactCommand.js +21 -28
- package/dist-es/commands/GetContactListCommand.js +21 -28
- package/dist-es/commands/GetCustomVerificationEmailTemplateCommand.js +21 -28
- package/dist-es/commands/GetDedicatedIpCommand.js +21 -28
- package/dist-es/commands/GetDedicatedIpsCommand.js +21 -28
- package/dist-es/commands/GetDeliverabilityDashboardOptionsCommand.js +21 -28
- package/dist-es/commands/GetDeliverabilityTestReportCommand.js +21 -28
- package/dist-es/commands/GetDomainDeliverabilityCampaignCommand.js +21 -28
- package/dist-es/commands/GetDomainStatisticsReportCommand.js +21 -28
- package/dist-es/commands/GetEmailIdentityCommand.js +21 -28
- package/dist-es/commands/GetEmailIdentityPoliciesCommand.js +21 -28
- package/dist-es/commands/GetEmailTemplateCommand.js +21 -28
- package/dist-es/commands/GetImportJobCommand.js +21 -28
- package/dist-es/commands/GetSuppressedDestinationCommand.js +21 -28
- package/dist-es/commands/ListConfigurationSetsCommand.js +21 -28
- package/dist-es/commands/ListContactListsCommand.js +21 -28
- package/dist-es/commands/ListContactsCommand.js +21 -28
- package/dist-es/commands/ListCustomVerificationEmailTemplatesCommand.js +21 -28
- package/dist-es/commands/ListDedicatedIpPoolsCommand.js +21 -28
- package/dist-es/commands/ListDeliverabilityTestReportsCommand.js +21 -28
- package/dist-es/commands/ListDomainDeliverabilityCampaignsCommand.js +21 -28
- package/dist-es/commands/ListEmailIdentitiesCommand.js +21 -28
- package/dist-es/commands/ListEmailTemplatesCommand.js +21 -28
- package/dist-es/commands/ListImportJobsCommand.js +21 -28
- package/dist-es/commands/ListSuppressedDestinationsCommand.js +21 -28
- package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
- package/dist-es/commands/PutAccountDedicatedIpWarmupAttributesCommand.js +21 -28
- package/dist-es/commands/PutAccountDetailsCommand.js +21 -28
- package/dist-es/commands/PutAccountSendingAttributesCommand.js +21 -28
- package/dist-es/commands/PutAccountSuppressionAttributesCommand.js +21 -28
- package/dist-es/commands/PutConfigurationSetDeliveryOptionsCommand.js +21 -28
- package/dist-es/commands/PutConfigurationSetReputationOptionsCommand.js +21 -28
- package/dist-es/commands/PutConfigurationSetSendingOptionsCommand.js +21 -28
- package/dist-es/commands/PutConfigurationSetSuppressionOptionsCommand.js +21 -28
- package/dist-es/commands/PutConfigurationSetTrackingOptionsCommand.js +21 -28
- package/dist-es/commands/PutDedicatedIpInPoolCommand.js +21 -28
- package/dist-es/commands/PutDedicatedIpWarmupAttributesCommand.js +21 -28
- package/dist-es/commands/PutDeliverabilityDashboardOptionCommand.js +21 -28
- package/dist-es/commands/PutEmailIdentityConfigurationSetAttributesCommand.js +21 -28
- package/dist-es/commands/PutEmailIdentityDkimAttributesCommand.js +21 -28
- package/dist-es/commands/PutEmailIdentityDkimSigningAttributesCommand.js +21 -28
- package/dist-es/commands/PutEmailIdentityFeedbackAttributesCommand.js +21 -28
- package/dist-es/commands/PutEmailIdentityMailFromAttributesCommand.js +21 -28
- package/dist-es/commands/PutSuppressedDestinationCommand.js +21 -28
- package/dist-es/commands/SendBulkEmailCommand.js +21 -28
- package/dist-es/commands/SendCustomVerificationEmailCommand.js +21 -28
- package/dist-es/commands/SendEmailCommand.js +21 -28
- package/dist-es/commands/TagResourceCommand.js +21 -28
- package/dist-es/commands/TestRenderEmailTemplateCommand.js +21 -28
- package/dist-es/commands/UntagResourceCommand.js +21 -28
- package/dist-es/commands/UpdateConfigurationSetEventDestinationCommand.js +21 -28
- package/dist-es/commands/UpdateContactCommand.js +21 -28
- package/dist-es/commands/UpdateContactListCommand.js +21 -28
- package/dist-es/commands/UpdateCustomVerificationEmailTemplateCommand.js +21 -28
- package/dist-es/commands/UpdateEmailIdentityPolicyCommand.js +21 -28
- package/dist-es/commands/UpdateEmailTemplateCommand.js +21 -28
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/SESv2ServiceException.js +5 -10
- package/dist-es/models/models_0.js +825 -362
- package/dist-es/pagination/GetDedicatedIpsPaginator.js +25 -68
- package/dist-es/pagination/ListConfigurationSetsPaginator.js +25 -68
- package/dist-es/pagination/ListContactListsPaginator.js +25 -68
- package/dist-es/pagination/ListContactsPaginator.js +25 -68
- package/dist-es/pagination/ListCustomVerificationEmailTemplatesPaginator.js +25 -68
- package/dist-es/pagination/ListDedicatedIpPoolsPaginator.js +25 -68
- package/dist-es/pagination/ListDeliverabilityTestReportsPaginator.js +25 -68
- package/dist-es/pagination/ListDomainDeliverabilityCampaignsPaginator.js +25 -68
- package/dist-es/pagination/ListEmailIdentitiesPaginator.js +25 -68
- package/dist-es/pagination/ListEmailTemplatesPaginator.js +25 -68
- package/dist-es/pagination/ListImportJobsPaginator.js +25 -68
- package/dist-es/pagination/ListSuppressedDestinationsPaginator.js +25 -68
- package/dist-es/protocols/Aws_restJson1.js +5615 -7830
- package/dist-es/runtimeConfig.browser.js +26 -12
- package/dist-es/runtimeConfig.js +30 -12
- package/dist-es/runtimeConfig.native.js +8 -5
- package/dist-es/runtimeConfig.shared.js +8 -11
- package/package.json +33 -33
package/dist-es/SESv2.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { CreateConfigurationSetCommand, } from "./commands/CreateConfigurationSetCommand";
|
|
3
2
|
import { CreateConfigurationSetEventDestinationCommand, } from "./commands/CreateConfigurationSetEventDestinationCommand";
|
|
4
3
|
import { CreateContactCommand, } from "./commands/CreateContactCommand";
|
|
@@ -81,1145 +80,1139 @@ import { UpdateCustomVerificationEmailTemplateCommand, } from "./commands/Update
|
|
|
81
80
|
import { UpdateEmailIdentityPolicyCommand, } from "./commands/UpdateEmailIdentityPolicyCommand";
|
|
82
81
|
import { UpdateEmailTemplateCommand, } from "./commands/UpdateEmailTemplateCommand";
|
|
83
82
|
import { SESv2Client } from "./SESv2Client";
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
88
|
-
}
|
|
89
|
-
SESv2.prototype.createConfigurationSet = function (args, optionsOrCb, cb) {
|
|
90
|
-
var command = new CreateConfigurationSetCommand(args);
|
|
83
|
+
export class SESv2 extends SESv2Client {
|
|
84
|
+
createConfigurationSet(args, optionsOrCb, cb) {
|
|
85
|
+
const command = new CreateConfigurationSetCommand(args);
|
|
91
86
|
if (typeof optionsOrCb === "function") {
|
|
92
87
|
this.send(command, optionsOrCb);
|
|
93
88
|
}
|
|
94
89
|
else if (typeof cb === "function") {
|
|
95
90
|
if (typeof optionsOrCb !== "object")
|
|
96
|
-
throw new Error(
|
|
91
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
97
92
|
this.send(command, optionsOrCb || {}, cb);
|
|
98
93
|
}
|
|
99
94
|
else {
|
|
100
95
|
return this.send(command, optionsOrCb);
|
|
101
96
|
}
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
|
|
97
|
+
}
|
|
98
|
+
createConfigurationSetEventDestination(args, optionsOrCb, cb) {
|
|
99
|
+
const command = new CreateConfigurationSetEventDestinationCommand(args);
|
|
105
100
|
if (typeof optionsOrCb === "function") {
|
|
106
101
|
this.send(command, optionsOrCb);
|
|
107
102
|
}
|
|
108
103
|
else if (typeof cb === "function") {
|
|
109
104
|
if (typeof optionsOrCb !== "object")
|
|
110
|
-
throw new Error(
|
|
105
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
111
106
|
this.send(command, optionsOrCb || {}, cb);
|
|
112
107
|
}
|
|
113
108
|
else {
|
|
114
109
|
return this.send(command, optionsOrCb);
|
|
115
110
|
}
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
|
|
111
|
+
}
|
|
112
|
+
createContact(args, optionsOrCb, cb) {
|
|
113
|
+
const command = new CreateContactCommand(args);
|
|
119
114
|
if (typeof optionsOrCb === "function") {
|
|
120
115
|
this.send(command, optionsOrCb);
|
|
121
116
|
}
|
|
122
117
|
else if (typeof cb === "function") {
|
|
123
118
|
if (typeof optionsOrCb !== "object")
|
|
124
|
-
throw new Error(
|
|
119
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
125
120
|
this.send(command, optionsOrCb || {}, cb);
|
|
126
121
|
}
|
|
127
122
|
else {
|
|
128
123
|
return this.send(command, optionsOrCb);
|
|
129
124
|
}
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
|
|
125
|
+
}
|
|
126
|
+
createContactList(args, optionsOrCb, cb) {
|
|
127
|
+
const command = new CreateContactListCommand(args);
|
|
133
128
|
if (typeof optionsOrCb === "function") {
|
|
134
129
|
this.send(command, optionsOrCb);
|
|
135
130
|
}
|
|
136
131
|
else if (typeof cb === "function") {
|
|
137
132
|
if (typeof optionsOrCb !== "object")
|
|
138
|
-
throw new Error(
|
|
133
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
139
134
|
this.send(command, optionsOrCb || {}, cb);
|
|
140
135
|
}
|
|
141
136
|
else {
|
|
142
137
|
return this.send(command, optionsOrCb);
|
|
143
138
|
}
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
|
|
139
|
+
}
|
|
140
|
+
createCustomVerificationEmailTemplate(args, optionsOrCb, cb) {
|
|
141
|
+
const command = new CreateCustomVerificationEmailTemplateCommand(args);
|
|
147
142
|
if (typeof optionsOrCb === "function") {
|
|
148
143
|
this.send(command, optionsOrCb);
|
|
149
144
|
}
|
|
150
145
|
else if (typeof cb === "function") {
|
|
151
146
|
if (typeof optionsOrCb !== "object")
|
|
152
|
-
throw new Error(
|
|
147
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
153
148
|
this.send(command, optionsOrCb || {}, cb);
|
|
154
149
|
}
|
|
155
150
|
else {
|
|
156
151
|
return this.send(command, optionsOrCb);
|
|
157
152
|
}
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
|
|
153
|
+
}
|
|
154
|
+
createDedicatedIpPool(args, optionsOrCb, cb) {
|
|
155
|
+
const command = new CreateDedicatedIpPoolCommand(args);
|
|
161
156
|
if (typeof optionsOrCb === "function") {
|
|
162
157
|
this.send(command, optionsOrCb);
|
|
163
158
|
}
|
|
164
159
|
else if (typeof cb === "function") {
|
|
165
160
|
if (typeof optionsOrCb !== "object")
|
|
166
|
-
throw new Error(
|
|
161
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
167
162
|
this.send(command, optionsOrCb || {}, cb);
|
|
168
163
|
}
|
|
169
164
|
else {
|
|
170
165
|
return this.send(command, optionsOrCb);
|
|
171
166
|
}
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
|
|
167
|
+
}
|
|
168
|
+
createDeliverabilityTestReport(args, optionsOrCb, cb) {
|
|
169
|
+
const command = new CreateDeliverabilityTestReportCommand(args);
|
|
175
170
|
if (typeof optionsOrCb === "function") {
|
|
176
171
|
this.send(command, optionsOrCb);
|
|
177
172
|
}
|
|
178
173
|
else if (typeof cb === "function") {
|
|
179
174
|
if (typeof optionsOrCb !== "object")
|
|
180
|
-
throw new Error(
|
|
175
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
181
176
|
this.send(command, optionsOrCb || {}, cb);
|
|
182
177
|
}
|
|
183
178
|
else {
|
|
184
179
|
return this.send(command, optionsOrCb);
|
|
185
180
|
}
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
|
|
181
|
+
}
|
|
182
|
+
createEmailIdentity(args, optionsOrCb, cb) {
|
|
183
|
+
const command = new CreateEmailIdentityCommand(args);
|
|
189
184
|
if (typeof optionsOrCb === "function") {
|
|
190
185
|
this.send(command, optionsOrCb);
|
|
191
186
|
}
|
|
192
187
|
else if (typeof cb === "function") {
|
|
193
188
|
if (typeof optionsOrCb !== "object")
|
|
194
|
-
throw new Error(
|
|
189
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
195
190
|
this.send(command, optionsOrCb || {}, cb);
|
|
196
191
|
}
|
|
197
192
|
else {
|
|
198
193
|
return this.send(command, optionsOrCb);
|
|
199
194
|
}
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
|
|
195
|
+
}
|
|
196
|
+
createEmailIdentityPolicy(args, optionsOrCb, cb) {
|
|
197
|
+
const command = new CreateEmailIdentityPolicyCommand(args);
|
|
203
198
|
if (typeof optionsOrCb === "function") {
|
|
204
199
|
this.send(command, optionsOrCb);
|
|
205
200
|
}
|
|
206
201
|
else if (typeof cb === "function") {
|
|
207
202
|
if (typeof optionsOrCb !== "object")
|
|
208
|
-
throw new Error(
|
|
203
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
209
204
|
this.send(command, optionsOrCb || {}, cb);
|
|
210
205
|
}
|
|
211
206
|
else {
|
|
212
207
|
return this.send(command, optionsOrCb);
|
|
213
208
|
}
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
|
|
209
|
+
}
|
|
210
|
+
createEmailTemplate(args, optionsOrCb, cb) {
|
|
211
|
+
const command = new CreateEmailTemplateCommand(args);
|
|
217
212
|
if (typeof optionsOrCb === "function") {
|
|
218
213
|
this.send(command, optionsOrCb);
|
|
219
214
|
}
|
|
220
215
|
else if (typeof cb === "function") {
|
|
221
216
|
if (typeof optionsOrCb !== "object")
|
|
222
|
-
throw new Error(
|
|
217
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
223
218
|
this.send(command, optionsOrCb || {}, cb);
|
|
224
219
|
}
|
|
225
220
|
else {
|
|
226
221
|
return this.send(command, optionsOrCb);
|
|
227
222
|
}
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
|
|
223
|
+
}
|
|
224
|
+
createImportJob(args, optionsOrCb, cb) {
|
|
225
|
+
const command = new CreateImportJobCommand(args);
|
|
231
226
|
if (typeof optionsOrCb === "function") {
|
|
232
227
|
this.send(command, optionsOrCb);
|
|
233
228
|
}
|
|
234
229
|
else if (typeof cb === "function") {
|
|
235
230
|
if (typeof optionsOrCb !== "object")
|
|
236
|
-
throw new Error(
|
|
231
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
237
232
|
this.send(command, optionsOrCb || {}, cb);
|
|
238
233
|
}
|
|
239
234
|
else {
|
|
240
235
|
return this.send(command, optionsOrCb);
|
|
241
236
|
}
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
|
|
237
|
+
}
|
|
238
|
+
deleteConfigurationSet(args, optionsOrCb, cb) {
|
|
239
|
+
const command = new DeleteConfigurationSetCommand(args);
|
|
245
240
|
if (typeof optionsOrCb === "function") {
|
|
246
241
|
this.send(command, optionsOrCb);
|
|
247
242
|
}
|
|
248
243
|
else if (typeof cb === "function") {
|
|
249
244
|
if (typeof optionsOrCb !== "object")
|
|
250
|
-
throw new Error(
|
|
245
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
251
246
|
this.send(command, optionsOrCb || {}, cb);
|
|
252
247
|
}
|
|
253
248
|
else {
|
|
254
249
|
return this.send(command, optionsOrCb);
|
|
255
250
|
}
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
|
|
251
|
+
}
|
|
252
|
+
deleteConfigurationSetEventDestination(args, optionsOrCb, cb) {
|
|
253
|
+
const command = new DeleteConfigurationSetEventDestinationCommand(args);
|
|
259
254
|
if (typeof optionsOrCb === "function") {
|
|
260
255
|
this.send(command, optionsOrCb);
|
|
261
256
|
}
|
|
262
257
|
else if (typeof cb === "function") {
|
|
263
258
|
if (typeof optionsOrCb !== "object")
|
|
264
|
-
throw new Error(
|
|
259
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
265
260
|
this.send(command, optionsOrCb || {}, cb);
|
|
266
261
|
}
|
|
267
262
|
else {
|
|
268
263
|
return this.send(command, optionsOrCb);
|
|
269
264
|
}
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
|
|
265
|
+
}
|
|
266
|
+
deleteContact(args, optionsOrCb, cb) {
|
|
267
|
+
const command = new DeleteContactCommand(args);
|
|
273
268
|
if (typeof optionsOrCb === "function") {
|
|
274
269
|
this.send(command, optionsOrCb);
|
|
275
270
|
}
|
|
276
271
|
else if (typeof cb === "function") {
|
|
277
272
|
if (typeof optionsOrCb !== "object")
|
|
278
|
-
throw new Error(
|
|
273
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
279
274
|
this.send(command, optionsOrCb || {}, cb);
|
|
280
275
|
}
|
|
281
276
|
else {
|
|
282
277
|
return this.send(command, optionsOrCb);
|
|
283
278
|
}
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
|
|
279
|
+
}
|
|
280
|
+
deleteContactList(args, optionsOrCb, cb) {
|
|
281
|
+
const command = new DeleteContactListCommand(args);
|
|
287
282
|
if (typeof optionsOrCb === "function") {
|
|
288
283
|
this.send(command, optionsOrCb);
|
|
289
284
|
}
|
|
290
285
|
else if (typeof cb === "function") {
|
|
291
286
|
if (typeof optionsOrCb !== "object")
|
|
292
|
-
throw new Error(
|
|
287
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
293
288
|
this.send(command, optionsOrCb || {}, cb);
|
|
294
289
|
}
|
|
295
290
|
else {
|
|
296
291
|
return this.send(command, optionsOrCb);
|
|
297
292
|
}
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
|
|
293
|
+
}
|
|
294
|
+
deleteCustomVerificationEmailTemplate(args, optionsOrCb, cb) {
|
|
295
|
+
const command = new DeleteCustomVerificationEmailTemplateCommand(args);
|
|
301
296
|
if (typeof optionsOrCb === "function") {
|
|
302
297
|
this.send(command, optionsOrCb);
|
|
303
298
|
}
|
|
304
299
|
else if (typeof cb === "function") {
|
|
305
300
|
if (typeof optionsOrCb !== "object")
|
|
306
|
-
throw new Error(
|
|
301
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
307
302
|
this.send(command, optionsOrCb || {}, cb);
|
|
308
303
|
}
|
|
309
304
|
else {
|
|
310
305
|
return this.send(command, optionsOrCb);
|
|
311
306
|
}
|
|
312
|
-
}
|
|
313
|
-
|
|
314
|
-
|
|
307
|
+
}
|
|
308
|
+
deleteDedicatedIpPool(args, optionsOrCb, cb) {
|
|
309
|
+
const command = new DeleteDedicatedIpPoolCommand(args);
|
|
315
310
|
if (typeof optionsOrCb === "function") {
|
|
316
311
|
this.send(command, optionsOrCb);
|
|
317
312
|
}
|
|
318
313
|
else if (typeof cb === "function") {
|
|
319
314
|
if (typeof optionsOrCb !== "object")
|
|
320
|
-
throw new Error(
|
|
315
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
321
316
|
this.send(command, optionsOrCb || {}, cb);
|
|
322
317
|
}
|
|
323
318
|
else {
|
|
324
319
|
return this.send(command, optionsOrCb);
|
|
325
320
|
}
|
|
326
|
-
}
|
|
327
|
-
|
|
328
|
-
|
|
321
|
+
}
|
|
322
|
+
deleteEmailIdentity(args, optionsOrCb, cb) {
|
|
323
|
+
const command = new DeleteEmailIdentityCommand(args);
|
|
329
324
|
if (typeof optionsOrCb === "function") {
|
|
330
325
|
this.send(command, optionsOrCb);
|
|
331
326
|
}
|
|
332
327
|
else if (typeof cb === "function") {
|
|
333
328
|
if (typeof optionsOrCb !== "object")
|
|
334
|
-
throw new Error(
|
|
329
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
335
330
|
this.send(command, optionsOrCb || {}, cb);
|
|
336
331
|
}
|
|
337
332
|
else {
|
|
338
333
|
return this.send(command, optionsOrCb);
|
|
339
334
|
}
|
|
340
|
-
}
|
|
341
|
-
|
|
342
|
-
|
|
335
|
+
}
|
|
336
|
+
deleteEmailIdentityPolicy(args, optionsOrCb, cb) {
|
|
337
|
+
const command = new DeleteEmailIdentityPolicyCommand(args);
|
|
343
338
|
if (typeof optionsOrCb === "function") {
|
|
344
339
|
this.send(command, optionsOrCb);
|
|
345
340
|
}
|
|
346
341
|
else if (typeof cb === "function") {
|
|
347
342
|
if (typeof optionsOrCb !== "object")
|
|
348
|
-
throw new Error(
|
|
343
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
349
344
|
this.send(command, optionsOrCb || {}, cb);
|
|
350
345
|
}
|
|
351
346
|
else {
|
|
352
347
|
return this.send(command, optionsOrCb);
|
|
353
348
|
}
|
|
354
|
-
}
|
|
355
|
-
|
|
356
|
-
|
|
349
|
+
}
|
|
350
|
+
deleteEmailTemplate(args, optionsOrCb, cb) {
|
|
351
|
+
const command = new DeleteEmailTemplateCommand(args);
|
|
357
352
|
if (typeof optionsOrCb === "function") {
|
|
358
353
|
this.send(command, optionsOrCb);
|
|
359
354
|
}
|
|
360
355
|
else if (typeof cb === "function") {
|
|
361
356
|
if (typeof optionsOrCb !== "object")
|
|
362
|
-
throw new Error(
|
|
357
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
363
358
|
this.send(command, optionsOrCb || {}, cb);
|
|
364
359
|
}
|
|
365
360
|
else {
|
|
366
361
|
return this.send(command, optionsOrCb);
|
|
367
362
|
}
|
|
368
|
-
}
|
|
369
|
-
|
|
370
|
-
|
|
363
|
+
}
|
|
364
|
+
deleteSuppressedDestination(args, optionsOrCb, cb) {
|
|
365
|
+
const command = new DeleteSuppressedDestinationCommand(args);
|
|
371
366
|
if (typeof optionsOrCb === "function") {
|
|
372
367
|
this.send(command, optionsOrCb);
|
|
373
368
|
}
|
|
374
369
|
else if (typeof cb === "function") {
|
|
375
370
|
if (typeof optionsOrCb !== "object")
|
|
376
|
-
throw new Error(
|
|
371
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
377
372
|
this.send(command, optionsOrCb || {}, cb);
|
|
378
373
|
}
|
|
379
374
|
else {
|
|
380
375
|
return this.send(command, optionsOrCb);
|
|
381
376
|
}
|
|
382
|
-
}
|
|
383
|
-
|
|
384
|
-
|
|
377
|
+
}
|
|
378
|
+
getAccount(args, optionsOrCb, cb) {
|
|
379
|
+
const command = new GetAccountCommand(args);
|
|
385
380
|
if (typeof optionsOrCb === "function") {
|
|
386
381
|
this.send(command, optionsOrCb);
|
|
387
382
|
}
|
|
388
383
|
else if (typeof cb === "function") {
|
|
389
384
|
if (typeof optionsOrCb !== "object")
|
|
390
|
-
throw new Error(
|
|
385
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
391
386
|
this.send(command, optionsOrCb || {}, cb);
|
|
392
387
|
}
|
|
393
388
|
else {
|
|
394
389
|
return this.send(command, optionsOrCb);
|
|
395
390
|
}
|
|
396
|
-
}
|
|
397
|
-
|
|
398
|
-
|
|
391
|
+
}
|
|
392
|
+
getBlacklistReports(args, optionsOrCb, cb) {
|
|
393
|
+
const command = new GetBlacklistReportsCommand(args);
|
|
399
394
|
if (typeof optionsOrCb === "function") {
|
|
400
395
|
this.send(command, optionsOrCb);
|
|
401
396
|
}
|
|
402
397
|
else if (typeof cb === "function") {
|
|
403
398
|
if (typeof optionsOrCb !== "object")
|
|
404
|
-
throw new Error(
|
|
399
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
405
400
|
this.send(command, optionsOrCb || {}, cb);
|
|
406
401
|
}
|
|
407
402
|
else {
|
|
408
403
|
return this.send(command, optionsOrCb);
|
|
409
404
|
}
|
|
410
|
-
}
|
|
411
|
-
|
|
412
|
-
|
|
405
|
+
}
|
|
406
|
+
getConfigurationSet(args, optionsOrCb, cb) {
|
|
407
|
+
const command = new GetConfigurationSetCommand(args);
|
|
413
408
|
if (typeof optionsOrCb === "function") {
|
|
414
409
|
this.send(command, optionsOrCb);
|
|
415
410
|
}
|
|
416
411
|
else if (typeof cb === "function") {
|
|
417
412
|
if (typeof optionsOrCb !== "object")
|
|
418
|
-
throw new Error(
|
|
413
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
419
414
|
this.send(command, optionsOrCb || {}, cb);
|
|
420
415
|
}
|
|
421
416
|
else {
|
|
422
417
|
return this.send(command, optionsOrCb);
|
|
423
418
|
}
|
|
424
|
-
}
|
|
425
|
-
|
|
426
|
-
|
|
419
|
+
}
|
|
420
|
+
getConfigurationSetEventDestinations(args, optionsOrCb, cb) {
|
|
421
|
+
const command = new GetConfigurationSetEventDestinationsCommand(args);
|
|
427
422
|
if (typeof optionsOrCb === "function") {
|
|
428
423
|
this.send(command, optionsOrCb);
|
|
429
424
|
}
|
|
430
425
|
else if (typeof cb === "function") {
|
|
431
426
|
if (typeof optionsOrCb !== "object")
|
|
432
|
-
throw new Error(
|
|
427
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
433
428
|
this.send(command, optionsOrCb || {}, cb);
|
|
434
429
|
}
|
|
435
430
|
else {
|
|
436
431
|
return this.send(command, optionsOrCb);
|
|
437
432
|
}
|
|
438
|
-
}
|
|
439
|
-
|
|
440
|
-
|
|
433
|
+
}
|
|
434
|
+
getContact(args, optionsOrCb, cb) {
|
|
435
|
+
const command = new GetContactCommand(args);
|
|
441
436
|
if (typeof optionsOrCb === "function") {
|
|
442
437
|
this.send(command, optionsOrCb);
|
|
443
438
|
}
|
|
444
439
|
else if (typeof cb === "function") {
|
|
445
440
|
if (typeof optionsOrCb !== "object")
|
|
446
|
-
throw new Error(
|
|
441
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
447
442
|
this.send(command, optionsOrCb || {}, cb);
|
|
448
443
|
}
|
|
449
444
|
else {
|
|
450
445
|
return this.send(command, optionsOrCb);
|
|
451
446
|
}
|
|
452
|
-
}
|
|
453
|
-
|
|
454
|
-
|
|
447
|
+
}
|
|
448
|
+
getContactList(args, optionsOrCb, cb) {
|
|
449
|
+
const command = new GetContactListCommand(args);
|
|
455
450
|
if (typeof optionsOrCb === "function") {
|
|
456
451
|
this.send(command, optionsOrCb);
|
|
457
452
|
}
|
|
458
453
|
else if (typeof cb === "function") {
|
|
459
454
|
if (typeof optionsOrCb !== "object")
|
|
460
|
-
throw new Error(
|
|
455
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
461
456
|
this.send(command, optionsOrCb || {}, cb);
|
|
462
457
|
}
|
|
463
458
|
else {
|
|
464
459
|
return this.send(command, optionsOrCb);
|
|
465
460
|
}
|
|
466
|
-
}
|
|
467
|
-
|
|
468
|
-
|
|
461
|
+
}
|
|
462
|
+
getCustomVerificationEmailTemplate(args, optionsOrCb, cb) {
|
|
463
|
+
const command = new GetCustomVerificationEmailTemplateCommand(args);
|
|
469
464
|
if (typeof optionsOrCb === "function") {
|
|
470
465
|
this.send(command, optionsOrCb);
|
|
471
466
|
}
|
|
472
467
|
else if (typeof cb === "function") {
|
|
473
468
|
if (typeof optionsOrCb !== "object")
|
|
474
|
-
throw new Error(
|
|
469
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
475
470
|
this.send(command, optionsOrCb || {}, cb);
|
|
476
471
|
}
|
|
477
472
|
else {
|
|
478
473
|
return this.send(command, optionsOrCb);
|
|
479
474
|
}
|
|
480
|
-
}
|
|
481
|
-
|
|
482
|
-
|
|
475
|
+
}
|
|
476
|
+
getDedicatedIp(args, optionsOrCb, cb) {
|
|
477
|
+
const command = new GetDedicatedIpCommand(args);
|
|
483
478
|
if (typeof optionsOrCb === "function") {
|
|
484
479
|
this.send(command, optionsOrCb);
|
|
485
480
|
}
|
|
486
481
|
else if (typeof cb === "function") {
|
|
487
482
|
if (typeof optionsOrCb !== "object")
|
|
488
|
-
throw new Error(
|
|
483
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
489
484
|
this.send(command, optionsOrCb || {}, cb);
|
|
490
485
|
}
|
|
491
486
|
else {
|
|
492
487
|
return this.send(command, optionsOrCb);
|
|
493
488
|
}
|
|
494
|
-
}
|
|
495
|
-
|
|
496
|
-
|
|
489
|
+
}
|
|
490
|
+
getDedicatedIps(args, optionsOrCb, cb) {
|
|
491
|
+
const command = new GetDedicatedIpsCommand(args);
|
|
497
492
|
if (typeof optionsOrCb === "function") {
|
|
498
493
|
this.send(command, optionsOrCb);
|
|
499
494
|
}
|
|
500
495
|
else if (typeof cb === "function") {
|
|
501
496
|
if (typeof optionsOrCb !== "object")
|
|
502
|
-
throw new Error(
|
|
497
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
503
498
|
this.send(command, optionsOrCb || {}, cb);
|
|
504
499
|
}
|
|
505
500
|
else {
|
|
506
501
|
return this.send(command, optionsOrCb);
|
|
507
502
|
}
|
|
508
|
-
}
|
|
509
|
-
|
|
510
|
-
|
|
503
|
+
}
|
|
504
|
+
getDeliverabilityDashboardOptions(args, optionsOrCb, cb) {
|
|
505
|
+
const command = new GetDeliverabilityDashboardOptionsCommand(args);
|
|
511
506
|
if (typeof optionsOrCb === "function") {
|
|
512
507
|
this.send(command, optionsOrCb);
|
|
513
508
|
}
|
|
514
509
|
else if (typeof cb === "function") {
|
|
515
510
|
if (typeof optionsOrCb !== "object")
|
|
516
|
-
throw new Error(
|
|
511
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
517
512
|
this.send(command, optionsOrCb || {}, cb);
|
|
518
513
|
}
|
|
519
514
|
else {
|
|
520
515
|
return this.send(command, optionsOrCb);
|
|
521
516
|
}
|
|
522
|
-
}
|
|
523
|
-
|
|
524
|
-
|
|
517
|
+
}
|
|
518
|
+
getDeliverabilityTestReport(args, optionsOrCb, cb) {
|
|
519
|
+
const command = new GetDeliverabilityTestReportCommand(args);
|
|
525
520
|
if (typeof optionsOrCb === "function") {
|
|
526
521
|
this.send(command, optionsOrCb);
|
|
527
522
|
}
|
|
528
523
|
else if (typeof cb === "function") {
|
|
529
524
|
if (typeof optionsOrCb !== "object")
|
|
530
|
-
throw new Error(
|
|
525
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
531
526
|
this.send(command, optionsOrCb || {}, cb);
|
|
532
527
|
}
|
|
533
528
|
else {
|
|
534
529
|
return this.send(command, optionsOrCb);
|
|
535
530
|
}
|
|
536
|
-
}
|
|
537
|
-
|
|
538
|
-
|
|
531
|
+
}
|
|
532
|
+
getDomainDeliverabilityCampaign(args, optionsOrCb, cb) {
|
|
533
|
+
const command = new GetDomainDeliverabilityCampaignCommand(args);
|
|
539
534
|
if (typeof optionsOrCb === "function") {
|
|
540
535
|
this.send(command, optionsOrCb);
|
|
541
536
|
}
|
|
542
537
|
else if (typeof cb === "function") {
|
|
543
538
|
if (typeof optionsOrCb !== "object")
|
|
544
|
-
throw new Error(
|
|
539
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
545
540
|
this.send(command, optionsOrCb || {}, cb);
|
|
546
541
|
}
|
|
547
542
|
else {
|
|
548
543
|
return this.send(command, optionsOrCb);
|
|
549
544
|
}
|
|
550
|
-
}
|
|
551
|
-
|
|
552
|
-
|
|
545
|
+
}
|
|
546
|
+
getDomainStatisticsReport(args, optionsOrCb, cb) {
|
|
547
|
+
const command = new GetDomainStatisticsReportCommand(args);
|
|
553
548
|
if (typeof optionsOrCb === "function") {
|
|
554
549
|
this.send(command, optionsOrCb);
|
|
555
550
|
}
|
|
556
551
|
else if (typeof cb === "function") {
|
|
557
552
|
if (typeof optionsOrCb !== "object")
|
|
558
|
-
throw new Error(
|
|
553
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
559
554
|
this.send(command, optionsOrCb || {}, cb);
|
|
560
555
|
}
|
|
561
556
|
else {
|
|
562
557
|
return this.send(command, optionsOrCb);
|
|
563
558
|
}
|
|
564
|
-
}
|
|
565
|
-
|
|
566
|
-
|
|
559
|
+
}
|
|
560
|
+
getEmailIdentity(args, optionsOrCb, cb) {
|
|
561
|
+
const command = new GetEmailIdentityCommand(args);
|
|
567
562
|
if (typeof optionsOrCb === "function") {
|
|
568
563
|
this.send(command, optionsOrCb);
|
|
569
564
|
}
|
|
570
565
|
else if (typeof cb === "function") {
|
|
571
566
|
if (typeof optionsOrCb !== "object")
|
|
572
|
-
throw new Error(
|
|
567
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
573
568
|
this.send(command, optionsOrCb || {}, cb);
|
|
574
569
|
}
|
|
575
570
|
else {
|
|
576
571
|
return this.send(command, optionsOrCb);
|
|
577
572
|
}
|
|
578
|
-
}
|
|
579
|
-
|
|
580
|
-
|
|
573
|
+
}
|
|
574
|
+
getEmailIdentityPolicies(args, optionsOrCb, cb) {
|
|
575
|
+
const command = new GetEmailIdentityPoliciesCommand(args);
|
|
581
576
|
if (typeof optionsOrCb === "function") {
|
|
582
577
|
this.send(command, optionsOrCb);
|
|
583
578
|
}
|
|
584
579
|
else if (typeof cb === "function") {
|
|
585
580
|
if (typeof optionsOrCb !== "object")
|
|
586
|
-
throw new Error(
|
|
581
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
587
582
|
this.send(command, optionsOrCb || {}, cb);
|
|
588
583
|
}
|
|
589
584
|
else {
|
|
590
585
|
return this.send(command, optionsOrCb);
|
|
591
586
|
}
|
|
592
|
-
}
|
|
593
|
-
|
|
594
|
-
|
|
587
|
+
}
|
|
588
|
+
getEmailTemplate(args, optionsOrCb, cb) {
|
|
589
|
+
const command = new GetEmailTemplateCommand(args);
|
|
595
590
|
if (typeof optionsOrCb === "function") {
|
|
596
591
|
this.send(command, optionsOrCb);
|
|
597
592
|
}
|
|
598
593
|
else if (typeof cb === "function") {
|
|
599
594
|
if (typeof optionsOrCb !== "object")
|
|
600
|
-
throw new Error(
|
|
595
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
601
596
|
this.send(command, optionsOrCb || {}, cb);
|
|
602
597
|
}
|
|
603
598
|
else {
|
|
604
599
|
return this.send(command, optionsOrCb);
|
|
605
600
|
}
|
|
606
|
-
}
|
|
607
|
-
|
|
608
|
-
|
|
601
|
+
}
|
|
602
|
+
getImportJob(args, optionsOrCb, cb) {
|
|
603
|
+
const command = new GetImportJobCommand(args);
|
|
609
604
|
if (typeof optionsOrCb === "function") {
|
|
610
605
|
this.send(command, optionsOrCb);
|
|
611
606
|
}
|
|
612
607
|
else if (typeof cb === "function") {
|
|
613
608
|
if (typeof optionsOrCb !== "object")
|
|
614
|
-
throw new Error(
|
|
609
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
615
610
|
this.send(command, optionsOrCb || {}, cb);
|
|
616
611
|
}
|
|
617
612
|
else {
|
|
618
613
|
return this.send(command, optionsOrCb);
|
|
619
614
|
}
|
|
620
|
-
}
|
|
621
|
-
|
|
622
|
-
|
|
615
|
+
}
|
|
616
|
+
getSuppressedDestination(args, optionsOrCb, cb) {
|
|
617
|
+
const command = new GetSuppressedDestinationCommand(args);
|
|
623
618
|
if (typeof optionsOrCb === "function") {
|
|
624
619
|
this.send(command, optionsOrCb);
|
|
625
620
|
}
|
|
626
621
|
else if (typeof cb === "function") {
|
|
627
622
|
if (typeof optionsOrCb !== "object")
|
|
628
|
-
throw new Error(
|
|
623
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
629
624
|
this.send(command, optionsOrCb || {}, cb);
|
|
630
625
|
}
|
|
631
626
|
else {
|
|
632
627
|
return this.send(command, optionsOrCb);
|
|
633
628
|
}
|
|
634
|
-
}
|
|
635
|
-
|
|
636
|
-
|
|
629
|
+
}
|
|
630
|
+
listConfigurationSets(args, optionsOrCb, cb) {
|
|
631
|
+
const command = new ListConfigurationSetsCommand(args);
|
|
637
632
|
if (typeof optionsOrCb === "function") {
|
|
638
633
|
this.send(command, optionsOrCb);
|
|
639
634
|
}
|
|
640
635
|
else if (typeof cb === "function") {
|
|
641
636
|
if (typeof optionsOrCb !== "object")
|
|
642
|
-
throw new Error(
|
|
637
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
643
638
|
this.send(command, optionsOrCb || {}, cb);
|
|
644
639
|
}
|
|
645
640
|
else {
|
|
646
641
|
return this.send(command, optionsOrCb);
|
|
647
642
|
}
|
|
648
|
-
}
|
|
649
|
-
|
|
650
|
-
|
|
643
|
+
}
|
|
644
|
+
listContactLists(args, optionsOrCb, cb) {
|
|
645
|
+
const command = new ListContactListsCommand(args);
|
|
651
646
|
if (typeof optionsOrCb === "function") {
|
|
652
647
|
this.send(command, optionsOrCb);
|
|
653
648
|
}
|
|
654
649
|
else if (typeof cb === "function") {
|
|
655
650
|
if (typeof optionsOrCb !== "object")
|
|
656
|
-
throw new Error(
|
|
651
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
657
652
|
this.send(command, optionsOrCb || {}, cb);
|
|
658
653
|
}
|
|
659
654
|
else {
|
|
660
655
|
return this.send(command, optionsOrCb);
|
|
661
656
|
}
|
|
662
|
-
}
|
|
663
|
-
|
|
664
|
-
|
|
657
|
+
}
|
|
658
|
+
listContacts(args, optionsOrCb, cb) {
|
|
659
|
+
const command = new ListContactsCommand(args);
|
|
665
660
|
if (typeof optionsOrCb === "function") {
|
|
666
661
|
this.send(command, optionsOrCb);
|
|
667
662
|
}
|
|
668
663
|
else if (typeof cb === "function") {
|
|
669
664
|
if (typeof optionsOrCb !== "object")
|
|
670
|
-
throw new Error(
|
|
665
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
671
666
|
this.send(command, optionsOrCb || {}, cb);
|
|
672
667
|
}
|
|
673
668
|
else {
|
|
674
669
|
return this.send(command, optionsOrCb);
|
|
675
670
|
}
|
|
676
|
-
}
|
|
677
|
-
|
|
678
|
-
|
|
671
|
+
}
|
|
672
|
+
listCustomVerificationEmailTemplates(args, optionsOrCb, cb) {
|
|
673
|
+
const command = new ListCustomVerificationEmailTemplatesCommand(args);
|
|
679
674
|
if (typeof optionsOrCb === "function") {
|
|
680
675
|
this.send(command, optionsOrCb);
|
|
681
676
|
}
|
|
682
677
|
else if (typeof cb === "function") {
|
|
683
678
|
if (typeof optionsOrCb !== "object")
|
|
684
|
-
throw new Error(
|
|
679
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
685
680
|
this.send(command, optionsOrCb || {}, cb);
|
|
686
681
|
}
|
|
687
682
|
else {
|
|
688
683
|
return this.send(command, optionsOrCb);
|
|
689
684
|
}
|
|
690
|
-
}
|
|
691
|
-
|
|
692
|
-
|
|
685
|
+
}
|
|
686
|
+
listDedicatedIpPools(args, optionsOrCb, cb) {
|
|
687
|
+
const command = new ListDedicatedIpPoolsCommand(args);
|
|
693
688
|
if (typeof optionsOrCb === "function") {
|
|
694
689
|
this.send(command, optionsOrCb);
|
|
695
690
|
}
|
|
696
691
|
else if (typeof cb === "function") {
|
|
697
692
|
if (typeof optionsOrCb !== "object")
|
|
698
|
-
throw new Error(
|
|
693
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
699
694
|
this.send(command, optionsOrCb || {}, cb);
|
|
700
695
|
}
|
|
701
696
|
else {
|
|
702
697
|
return this.send(command, optionsOrCb);
|
|
703
698
|
}
|
|
704
|
-
}
|
|
705
|
-
|
|
706
|
-
|
|
699
|
+
}
|
|
700
|
+
listDeliverabilityTestReports(args, optionsOrCb, cb) {
|
|
701
|
+
const command = new ListDeliverabilityTestReportsCommand(args);
|
|
707
702
|
if (typeof optionsOrCb === "function") {
|
|
708
703
|
this.send(command, optionsOrCb);
|
|
709
704
|
}
|
|
710
705
|
else if (typeof cb === "function") {
|
|
711
706
|
if (typeof optionsOrCb !== "object")
|
|
712
|
-
throw new Error(
|
|
707
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
713
708
|
this.send(command, optionsOrCb || {}, cb);
|
|
714
709
|
}
|
|
715
710
|
else {
|
|
716
711
|
return this.send(command, optionsOrCb);
|
|
717
712
|
}
|
|
718
|
-
}
|
|
719
|
-
|
|
720
|
-
|
|
713
|
+
}
|
|
714
|
+
listDomainDeliverabilityCampaigns(args, optionsOrCb, cb) {
|
|
715
|
+
const command = new ListDomainDeliverabilityCampaignsCommand(args);
|
|
721
716
|
if (typeof optionsOrCb === "function") {
|
|
722
717
|
this.send(command, optionsOrCb);
|
|
723
718
|
}
|
|
724
719
|
else if (typeof cb === "function") {
|
|
725
720
|
if (typeof optionsOrCb !== "object")
|
|
726
|
-
throw new Error(
|
|
721
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
727
722
|
this.send(command, optionsOrCb || {}, cb);
|
|
728
723
|
}
|
|
729
724
|
else {
|
|
730
725
|
return this.send(command, optionsOrCb);
|
|
731
726
|
}
|
|
732
|
-
}
|
|
733
|
-
|
|
734
|
-
|
|
727
|
+
}
|
|
728
|
+
listEmailIdentities(args, optionsOrCb, cb) {
|
|
729
|
+
const command = new ListEmailIdentitiesCommand(args);
|
|
735
730
|
if (typeof optionsOrCb === "function") {
|
|
736
731
|
this.send(command, optionsOrCb);
|
|
737
732
|
}
|
|
738
733
|
else if (typeof cb === "function") {
|
|
739
734
|
if (typeof optionsOrCb !== "object")
|
|
740
|
-
throw new Error(
|
|
735
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
741
736
|
this.send(command, optionsOrCb || {}, cb);
|
|
742
737
|
}
|
|
743
738
|
else {
|
|
744
739
|
return this.send(command, optionsOrCb);
|
|
745
740
|
}
|
|
746
|
-
}
|
|
747
|
-
|
|
748
|
-
|
|
741
|
+
}
|
|
742
|
+
listEmailTemplates(args, optionsOrCb, cb) {
|
|
743
|
+
const command = new ListEmailTemplatesCommand(args);
|
|
749
744
|
if (typeof optionsOrCb === "function") {
|
|
750
745
|
this.send(command, optionsOrCb);
|
|
751
746
|
}
|
|
752
747
|
else if (typeof cb === "function") {
|
|
753
748
|
if (typeof optionsOrCb !== "object")
|
|
754
|
-
throw new Error(
|
|
749
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
755
750
|
this.send(command, optionsOrCb || {}, cb);
|
|
756
751
|
}
|
|
757
752
|
else {
|
|
758
753
|
return this.send(command, optionsOrCb);
|
|
759
754
|
}
|
|
760
|
-
}
|
|
761
|
-
|
|
762
|
-
|
|
755
|
+
}
|
|
756
|
+
listImportJobs(args, optionsOrCb, cb) {
|
|
757
|
+
const command = new ListImportJobsCommand(args);
|
|
763
758
|
if (typeof optionsOrCb === "function") {
|
|
764
759
|
this.send(command, optionsOrCb);
|
|
765
760
|
}
|
|
766
761
|
else if (typeof cb === "function") {
|
|
767
762
|
if (typeof optionsOrCb !== "object")
|
|
768
|
-
throw new Error(
|
|
763
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
769
764
|
this.send(command, optionsOrCb || {}, cb);
|
|
770
765
|
}
|
|
771
766
|
else {
|
|
772
767
|
return this.send(command, optionsOrCb);
|
|
773
768
|
}
|
|
774
|
-
}
|
|
775
|
-
|
|
776
|
-
|
|
769
|
+
}
|
|
770
|
+
listSuppressedDestinations(args, optionsOrCb, cb) {
|
|
771
|
+
const command = new ListSuppressedDestinationsCommand(args);
|
|
777
772
|
if (typeof optionsOrCb === "function") {
|
|
778
773
|
this.send(command, optionsOrCb);
|
|
779
774
|
}
|
|
780
775
|
else if (typeof cb === "function") {
|
|
781
776
|
if (typeof optionsOrCb !== "object")
|
|
782
|
-
throw new Error(
|
|
777
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
783
778
|
this.send(command, optionsOrCb || {}, cb);
|
|
784
779
|
}
|
|
785
780
|
else {
|
|
786
781
|
return this.send(command, optionsOrCb);
|
|
787
782
|
}
|
|
788
|
-
}
|
|
789
|
-
|
|
790
|
-
|
|
783
|
+
}
|
|
784
|
+
listTagsForResource(args, optionsOrCb, cb) {
|
|
785
|
+
const command = new ListTagsForResourceCommand(args);
|
|
791
786
|
if (typeof optionsOrCb === "function") {
|
|
792
787
|
this.send(command, optionsOrCb);
|
|
793
788
|
}
|
|
794
789
|
else if (typeof cb === "function") {
|
|
795
790
|
if (typeof optionsOrCb !== "object")
|
|
796
|
-
throw new Error(
|
|
791
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
797
792
|
this.send(command, optionsOrCb || {}, cb);
|
|
798
793
|
}
|
|
799
794
|
else {
|
|
800
795
|
return this.send(command, optionsOrCb);
|
|
801
796
|
}
|
|
802
|
-
}
|
|
803
|
-
|
|
804
|
-
|
|
797
|
+
}
|
|
798
|
+
putAccountDedicatedIpWarmupAttributes(args, optionsOrCb, cb) {
|
|
799
|
+
const command = new PutAccountDedicatedIpWarmupAttributesCommand(args);
|
|
805
800
|
if (typeof optionsOrCb === "function") {
|
|
806
801
|
this.send(command, optionsOrCb);
|
|
807
802
|
}
|
|
808
803
|
else if (typeof cb === "function") {
|
|
809
804
|
if (typeof optionsOrCb !== "object")
|
|
810
|
-
throw new Error(
|
|
805
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
811
806
|
this.send(command, optionsOrCb || {}, cb);
|
|
812
807
|
}
|
|
813
808
|
else {
|
|
814
809
|
return this.send(command, optionsOrCb);
|
|
815
810
|
}
|
|
816
|
-
}
|
|
817
|
-
|
|
818
|
-
|
|
811
|
+
}
|
|
812
|
+
putAccountDetails(args, optionsOrCb, cb) {
|
|
813
|
+
const command = new PutAccountDetailsCommand(args);
|
|
819
814
|
if (typeof optionsOrCb === "function") {
|
|
820
815
|
this.send(command, optionsOrCb);
|
|
821
816
|
}
|
|
822
817
|
else if (typeof cb === "function") {
|
|
823
818
|
if (typeof optionsOrCb !== "object")
|
|
824
|
-
throw new Error(
|
|
819
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
825
820
|
this.send(command, optionsOrCb || {}, cb);
|
|
826
821
|
}
|
|
827
822
|
else {
|
|
828
823
|
return this.send(command, optionsOrCb);
|
|
829
824
|
}
|
|
830
|
-
}
|
|
831
|
-
|
|
832
|
-
|
|
825
|
+
}
|
|
826
|
+
putAccountSendingAttributes(args, optionsOrCb, cb) {
|
|
827
|
+
const command = new PutAccountSendingAttributesCommand(args);
|
|
833
828
|
if (typeof optionsOrCb === "function") {
|
|
834
829
|
this.send(command, optionsOrCb);
|
|
835
830
|
}
|
|
836
831
|
else if (typeof cb === "function") {
|
|
837
832
|
if (typeof optionsOrCb !== "object")
|
|
838
|
-
throw new Error(
|
|
833
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
839
834
|
this.send(command, optionsOrCb || {}, cb);
|
|
840
835
|
}
|
|
841
836
|
else {
|
|
842
837
|
return this.send(command, optionsOrCb);
|
|
843
838
|
}
|
|
844
|
-
}
|
|
845
|
-
|
|
846
|
-
|
|
839
|
+
}
|
|
840
|
+
putAccountSuppressionAttributes(args, optionsOrCb, cb) {
|
|
841
|
+
const command = new PutAccountSuppressionAttributesCommand(args);
|
|
847
842
|
if (typeof optionsOrCb === "function") {
|
|
848
843
|
this.send(command, optionsOrCb);
|
|
849
844
|
}
|
|
850
845
|
else if (typeof cb === "function") {
|
|
851
846
|
if (typeof optionsOrCb !== "object")
|
|
852
|
-
throw new Error(
|
|
847
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
853
848
|
this.send(command, optionsOrCb || {}, cb);
|
|
854
849
|
}
|
|
855
850
|
else {
|
|
856
851
|
return this.send(command, optionsOrCb);
|
|
857
852
|
}
|
|
858
|
-
}
|
|
859
|
-
|
|
860
|
-
|
|
853
|
+
}
|
|
854
|
+
putConfigurationSetDeliveryOptions(args, optionsOrCb, cb) {
|
|
855
|
+
const command = new PutConfigurationSetDeliveryOptionsCommand(args);
|
|
861
856
|
if (typeof optionsOrCb === "function") {
|
|
862
857
|
this.send(command, optionsOrCb);
|
|
863
858
|
}
|
|
864
859
|
else if (typeof cb === "function") {
|
|
865
860
|
if (typeof optionsOrCb !== "object")
|
|
866
|
-
throw new Error(
|
|
861
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
867
862
|
this.send(command, optionsOrCb || {}, cb);
|
|
868
863
|
}
|
|
869
864
|
else {
|
|
870
865
|
return this.send(command, optionsOrCb);
|
|
871
866
|
}
|
|
872
|
-
}
|
|
873
|
-
|
|
874
|
-
|
|
867
|
+
}
|
|
868
|
+
putConfigurationSetReputationOptions(args, optionsOrCb, cb) {
|
|
869
|
+
const command = new PutConfigurationSetReputationOptionsCommand(args);
|
|
875
870
|
if (typeof optionsOrCb === "function") {
|
|
876
871
|
this.send(command, optionsOrCb);
|
|
877
872
|
}
|
|
878
873
|
else if (typeof cb === "function") {
|
|
879
874
|
if (typeof optionsOrCb !== "object")
|
|
880
|
-
throw new Error(
|
|
875
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
881
876
|
this.send(command, optionsOrCb || {}, cb);
|
|
882
877
|
}
|
|
883
878
|
else {
|
|
884
879
|
return this.send(command, optionsOrCb);
|
|
885
880
|
}
|
|
886
|
-
}
|
|
887
|
-
|
|
888
|
-
|
|
881
|
+
}
|
|
882
|
+
putConfigurationSetSendingOptions(args, optionsOrCb, cb) {
|
|
883
|
+
const command = new PutConfigurationSetSendingOptionsCommand(args);
|
|
889
884
|
if (typeof optionsOrCb === "function") {
|
|
890
885
|
this.send(command, optionsOrCb);
|
|
891
886
|
}
|
|
892
887
|
else if (typeof cb === "function") {
|
|
893
888
|
if (typeof optionsOrCb !== "object")
|
|
894
|
-
throw new Error(
|
|
889
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
895
890
|
this.send(command, optionsOrCb || {}, cb);
|
|
896
891
|
}
|
|
897
892
|
else {
|
|
898
893
|
return this.send(command, optionsOrCb);
|
|
899
894
|
}
|
|
900
|
-
}
|
|
901
|
-
|
|
902
|
-
|
|
895
|
+
}
|
|
896
|
+
putConfigurationSetSuppressionOptions(args, optionsOrCb, cb) {
|
|
897
|
+
const command = new PutConfigurationSetSuppressionOptionsCommand(args);
|
|
903
898
|
if (typeof optionsOrCb === "function") {
|
|
904
899
|
this.send(command, optionsOrCb);
|
|
905
900
|
}
|
|
906
901
|
else if (typeof cb === "function") {
|
|
907
902
|
if (typeof optionsOrCb !== "object")
|
|
908
|
-
throw new Error(
|
|
903
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
909
904
|
this.send(command, optionsOrCb || {}, cb);
|
|
910
905
|
}
|
|
911
906
|
else {
|
|
912
907
|
return this.send(command, optionsOrCb);
|
|
913
908
|
}
|
|
914
|
-
}
|
|
915
|
-
|
|
916
|
-
|
|
909
|
+
}
|
|
910
|
+
putConfigurationSetTrackingOptions(args, optionsOrCb, cb) {
|
|
911
|
+
const command = new PutConfigurationSetTrackingOptionsCommand(args);
|
|
917
912
|
if (typeof optionsOrCb === "function") {
|
|
918
913
|
this.send(command, optionsOrCb);
|
|
919
914
|
}
|
|
920
915
|
else if (typeof cb === "function") {
|
|
921
916
|
if (typeof optionsOrCb !== "object")
|
|
922
|
-
throw new Error(
|
|
917
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
923
918
|
this.send(command, optionsOrCb || {}, cb);
|
|
924
919
|
}
|
|
925
920
|
else {
|
|
926
921
|
return this.send(command, optionsOrCb);
|
|
927
922
|
}
|
|
928
|
-
}
|
|
929
|
-
|
|
930
|
-
|
|
923
|
+
}
|
|
924
|
+
putDedicatedIpInPool(args, optionsOrCb, cb) {
|
|
925
|
+
const command = new PutDedicatedIpInPoolCommand(args);
|
|
931
926
|
if (typeof optionsOrCb === "function") {
|
|
932
927
|
this.send(command, optionsOrCb);
|
|
933
928
|
}
|
|
934
929
|
else if (typeof cb === "function") {
|
|
935
930
|
if (typeof optionsOrCb !== "object")
|
|
936
|
-
throw new Error(
|
|
931
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
937
932
|
this.send(command, optionsOrCb || {}, cb);
|
|
938
933
|
}
|
|
939
934
|
else {
|
|
940
935
|
return this.send(command, optionsOrCb);
|
|
941
936
|
}
|
|
942
|
-
}
|
|
943
|
-
|
|
944
|
-
|
|
937
|
+
}
|
|
938
|
+
putDedicatedIpWarmupAttributes(args, optionsOrCb, cb) {
|
|
939
|
+
const command = new PutDedicatedIpWarmupAttributesCommand(args);
|
|
945
940
|
if (typeof optionsOrCb === "function") {
|
|
946
941
|
this.send(command, optionsOrCb);
|
|
947
942
|
}
|
|
948
943
|
else if (typeof cb === "function") {
|
|
949
944
|
if (typeof optionsOrCb !== "object")
|
|
950
|
-
throw new Error(
|
|
945
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
951
946
|
this.send(command, optionsOrCb || {}, cb);
|
|
952
947
|
}
|
|
953
948
|
else {
|
|
954
949
|
return this.send(command, optionsOrCb);
|
|
955
950
|
}
|
|
956
|
-
}
|
|
957
|
-
|
|
958
|
-
|
|
951
|
+
}
|
|
952
|
+
putDeliverabilityDashboardOption(args, optionsOrCb, cb) {
|
|
953
|
+
const command = new PutDeliverabilityDashboardOptionCommand(args);
|
|
959
954
|
if (typeof optionsOrCb === "function") {
|
|
960
955
|
this.send(command, optionsOrCb);
|
|
961
956
|
}
|
|
962
957
|
else if (typeof cb === "function") {
|
|
963
958
|
if (typeof optionsOrCb !== "object")
|
|
964
|
-
throw new Error(
|
|
959
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
965
960
|
this.send(command, optionsOrCb || {}, cb);
|
|
966
961
|
}
|
|
967
962
|
else {
|
|
968
963
|
return this.send(command, optionsOrCb);
|
|
969
964
|
}
|
|
970
|
-
}
|
|
971
|
-
|
|
972
|
-
|
|
965
|
+
}
|
|
966
|
+
putEmailIdentityConfigurationSetAttributes(args, optionsOrCb, cb) {
|
|
967
|
+
const command = new PutEmailIdentityConfigurationSetAttributesCommand(args);
|
|
973
968
|
if (typeof optionsOrCb === "function") {
|
|
974
969
|
this.send(command, optionsOrCb);
|
|
975
970
|
}
|
|
976
971
|
else if (typeof cb === "function") {
|
|
977
972
|
if (typeof optionsOrCb !== "object")
|
|
978
|
-
throw new Error(
|
|
973
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
979
974
|
this.send(command, optionsOrCb || {}, cb);
|
|
980
975
|
}
|
|
981
976
|
else {
|
|
982
977
|
return this.send(command, optionsOrCb);
|
|
983
978
|
}
|
|
984
|
-
}
|
|
985
|
-
|
|
986
|
-
|
|
979
|
+
}
|
|
980
|
+
putEmailIdentityDkimAttributes(args, optionsOrCb, cb) {
|
|
981
|
+
const command = new PutEmailIdentityDkimAttributesCommand(args);
|
|
987
982
|
if (typeof optionsOrCb === "function") {
|
|
988
983
|
this.send(command, optionsOrCb);
|
|
989
984
|
}
|
|
990
985
|
else if (typeof cb === "function") {
|
|
991
986
|
if (typeof optionsOrCb !== "object")
|
|
992
|
-
throw new Error(
|
|
987
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
993
988
|
this.send(command, optionsOrCb || {}, cb);
|
|
994
989
|
}
|
|
995
990
|
else {
|
|
996
991
|
return this.send(command, optionsOrCb);
|
|
997
992
|
}
|
|
998
|
-
}
|
|
999
|
-
|
|
1000
|
-
|
|
993
|
+
}
|
|
994
|
+
putEmailIdentityDkimSigningAttributes(args, optionsOrCb, cb) {
|
|
995
|
+
const command = new PutEmailIdentityDkimSigningAttributesCommand(args);
|
|
1001
996
|
if (typeof optionsOrCb === "function") {
|
|
1002
997
|
this.send(command, optionsOrCb);
|
|
1003
998
|
}
|
|
1004
999
|
else if (typeof cb === "function") {
|
|
1005
1000
|
if (typeof optionsOrCb !== "object")
|
|
1006
|
-
throw new Error(
|
|
1001
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1007
1002
|
this.send(command, optionsOrCb || {}, cb);
|
|
1008
1003
|
}
|
|
1009
1004
|
else {
|
|
1010
1005
|
return this.send(command, optionsOrCb);
|
|
1011
1006
|
}
|
|
1012
|
-
}
|
|
1013
|
-
|
|
1014
|
-
|
|
1007
|
+
}
|
|
1008
|
+
putEmailIdentityFeedbackAttributes(args, optionsOrCb, cb) {
|
|
1009
|
+
const command = new PutEmailIdentityFeedbackAttributesCommand(args);
|
|
1015
1010
|
if (typeof optionsOrCb === "function") {
|
|
1016
1011
|
this.send(command, optionsOrCb);
|
|
1017
1012
|
}
|
|
1018
1013
|
else if (typeof cb === "function") {
|
|
1019
1014
|
if (typeof optionsOrCb !== "object")
|
|
1020
|
-
throw new Error(
|
|
1015
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1021
1016
|
this.send(command, optionsOrCb || {}, cb);
|
|
1022
1017
|
}
|
|
1023
1018
|
else {
|
|
1024
1019
|
return this.send(command, optionsOrCb);
|
|
1025
1020
|
}
|
|
1026
|
-
}
|
|
1027
|
-
|
|
1028
|
-
|
|
1021
|
+
}
|
|
1022
|
+
putEmailIdentityMailFromAttributes(args, optionsOrCb, cb) {
|
|
1023
|
+
const command = new PutEmailIdentityMailFromAttributesCommand(args);
|
|
1029
1024
|
if (typeof optionsOrCb === "function") {
|
|
1030
1025
|
this.send(command, optionsOrCb);
|
|
1031
1026
|
}
|
|
1032
1027
|
else if (typeof cb === "function") {
|
|
1033
1028
|
if (typeof optionsOrCb !== "object")
|
|
1034
|
-
throw new Error(
|
|
1029
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1035
1030
|
this.send(command, optionsOrCb || {}, cb);
|
|
1036
1031
|
}
|
|
1037
1032
|
else {
|
|
1038
1033
|
return this.send(command, optionsOrCb);
|
|
1039
1034
|
}
|
|
1040
|
-
}
|
|
1041
|
-
|
|
1042
|
-
|
|
1035
|
+
}
|
|
1036
|
+
putSuppressedDestination(args, optionsOrCb, cb) {
|
|
1037
|
+
const command = new PutSuppressedDestinationCommand(args);
|
|
1043
1038
|
if (typeof optionsOrCb === "function") {
|
|
1044
1039
|
this.send(command, optionsOrCb);
|
|
1045
1040
|
}
|
|
1046
1041
|
else if (typeof cb === "function") {
|
|
1047
1042
|
if (typeof optionsOrCb !== "object")
|
|
1048
|
-
throw new Error(
|
|
1043
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1049
1044
|
this.send(command, optionsOrCb || {}, cb);
|
|
1050
1045
|
}
|
|
1051
1046
|
else {
|
|
1052
1047
|
return this.send(command, optionsOrCb);
|
|
1053
1048
|
}
|
|
1054
|
-
}
|
|
1055
|
-
|
|
1056
|
-
|
|
1049
|
+
}
|
|
1050
|
+
sendBulkEmail(args, optionsOrCb, cb) {
|
|
1051
|
+
const command = new SendBulkEmailCommand(args);
|
|
1057
1052
|
if (typeof optionsOrCb === "function") {
|
|
1058
1053
|
this.send(command, optionsOrCb);
|
|
1059
1054
|
}
|
|
1060
1055
|
else if (typeof cb === "function") {
|
|
1061
1056
|
if (typeof optionsOrCb !== "object")
|
|
1062
|
-
throw new Error(
|
|
1057
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1063
1058
|
this.send(command, optionsOrCb || {}, cb);
|
|
1064
1059
|
}
|
|
1065
1060
|
else {
|
|
1066
1061
|
return this.send(command, optionsOrCb);
|
|
1067
1062
|
}
|
|
1068
|
-
}
|
|
1069
|
-
|
|
1070
|
-
|
|
1063
|
+
}
|
|
1064
|
+
sendCustomVerificationEmail(args, optionsOrCb, cb) {
|
|
1065
|
+
const command = new SendCustomVerificationEmailCommand(args);
|
|
1071
1066
|
if (typeof optionsOrCb === "function") {
|
|
1072
1067
|
this.send(command, optionsOrCb);
|
|
1073
1068
|
}
|
|
1074
1069
|
else if (typeof cb === "function") {
|
|
1075
1070
|
if (typeof optionsOrCb !== "object")
|
|
1076
|
-
throw new Error(
|
|
1071
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1077
1072
|
this.send(command, optionsOrCb || {}, cb);
|
|
1078
1073
|
}
|
|
1079
1074
|
else {
|
|
1080
1075
|
return this.send(command, optionsOrCb);
|
|
1081
1076
|
}
|
|
1082
|
-
}
|
|
1083
|
-
|
|
1084
|
-
|
|
1077
|
+
}
|
|
1078
|
+
sendEmail(args, optionsOrCb, cb) {
|
|
1079
|
+
const command = new SendEmailCommand(args);
|
|
1085
1080
|
if (typeof optionsOrCb === "function") {
|
|
1086
1081
|
this.send(command, optionsOrCb);
|
|
1087
1082
|
}
|
|
1088
1083
|
else if (typeof cb === "function") {
|
|
1089
1084
|
if (typeof optionsOrCb !== "object")
|
|
1090
|
-
throw new Error(
|
|
1085
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1091
1086
|
this.send(command, optionsOrCb || {}, cb);
|
|
1092
1087
|
}
|
|
1093
1088
|
else {
|
|
1094
1089
|
return this.send(command, optionsOrCb);
|
|
1095
1090
|
}
|
|
1096
|
-
}
|
|
1097
|
-
|
|
1098
|
-
|
|
1091
|
+
}
|
|
1092
|
+
tagResource(args, optionsOrCb, cb) {
|
|
1093
|
+
const command = new TagResourceCommand(args);
|
|
1099
1094
|
if (typeof optionsOrCb === "function") {
|
|
1100
1095
|
this.send(command, optionsOrCb);
|
|
1101
1096
|
}
|
|
1102
1097
|
else if (typeof cb === "function") {
|
|
1103
1098
|
if (typeof optionsOrCb !== "object")
|
|
1104
|
-
throw new Error(
|
|
1099
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1105
1100
|
this.send(command, optionsOrCb || {}, cb);
|
|
1106
1101
|
}
|
|
1107
1102
|
else {
|
|
1108
1103
|
return this.send(command, optionsOrCb);
|
|
1109
1104
|
}
|
|
1110
|
-
}
|
|
1111
|
-
|
|
1112
|
-
|
|
1105
|
+
}
|
|
1106
|
+
testRenderEmailTemplate(args, optionsOrCb, cb) {
|
|
1107
|
+
const command = new TestRenderEmailTemplateCommand(args);
|
|
1113
1108
|
if (typeof optionsOrCb === "function") {
|
|
1114
1109
|
this.send(command, optionsOrCb);
|
|
1115
1110
|
}
|
|
1116
1111
|
else if (typeof cb === "function") {
|
|
1117
1112
|
if (typeof optionsOrCb !== "object")
|
|
1118
|
-
throw new Error(
|
|
1113
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1119
1114
|
this.send(command, optionsOrCb || {}, cb);
|
|
1120
1115
|
}
|
|
1121
1116
|
else {
|
|
1122
1117
|
return this.send(command, optionsOrCb);
|
|
1123
1118
|
}
|
|
1124
|
-
}
|
|
1125
|
-
|
|
1126
|
-
|
|
1119
|
+
}
|
|
1120
|
+
untagResource(args, optionsOrCb, cb) {
|
|
1121
|
+
const command = new UntagResourceCommand(args);
|
|
1127
1122
|
if (typeof optionsOrCb === "function") {
|
|
1128
1123
|
this.send(command, optionsOrCb);
|
|
1129
1124
|
}
|
|
1130
1125
|
else if (typeof cb === "function") {
|
|
1131
1126
|
if (typeof optionsOrCb !== "object")
|
|
1132
|
-
throw new Error(
|
|
1127
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1133
1128
|
this.send(command, optionsOrCb || {}, cb);
|
|
1134
1129
|
}
|
|
1135
1130
|
else {
|
|
1136
1131
|
return this.send(command, optionsOrCb);
|
|
1137
1132
|
}
|
|
1138
|
-
}
|
|
1139
|
-
|
|
1140
|
-
|
|
1133
|
+
}
|
|
1134
|
+
updateConfigurationSetEventDestination(args, optionsOrCb, cb) {
|
|
1135
|
+
const command = new UpdateConfigurationSetEventDestinationCommand(args);
|
|
1141
1136
|
if (typeof optionsOrCb === "function") {
|
|
1142
1137
|
this.send(command, optionsOrCb);
|
|
1143
1138
|
}
|
|
1144
1139
|
else if (typeof cb === "function") {
|
|
1145
1140
|
if (typeof optionsOrCb !== "object")
|
|
1146
|
-
throw new Error(
|
|
1141
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1147
1142
|
this.send(command, optionsOrCb || {}, cb);
|
|
1148
1143
|
}
|
|
1149
1144
|
else {
|
|
1150
1145
|
return this.send(command, optionsOrCb);
|
|
1151
1146
|
}
|
|
1152
|
-
}
|
|
1153
|
-
|
|
1154
|
-
|
|
1147
|
+
}
|
|
1148
|
+
updateContact(args, optionsOrCb, cb) {
|
|
1149
|
+
const command = new UpdateContactCommand(args);
|
|
1155
1150
|
if (typeof optionsOrCb === "function") {
|
|
1156
1151
|
this.send(command, optionsOrCb);
|
|
1157
1152
|
}
|
|
1158
1153
|
else if (typeof cb === "function") {
|
|
1159
1154
|
if (typeof optionsOrCb !== "object")
|
|
1160
|
-
throw new Error(
|
|
1155
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1161
1156
|
this.send(command, optionsOrCb || {}, cb);
|
|
1162
1157
|
}
|
|
1163
1158
|
else {
|
|
1164
1159
|
return this.send(command, optionsOrCb);
|
|
1165
1160
|
}
|
|
1166
|
-
}
|
|
1167
|
-
|
|
1168
|
-
|
|
1161
|
+
}
|
|
1162
|
+
updateContactList(args, optionsOrCb, cb) {
|
|
1163
|
+
const command = new UpdateContactListCommand(args);
|
|
1169
1164
|
if (typeof optionsOrCb === "function") {
|
|
1170
1165
|
this.send(command, optionsOrCb);
|
|
1171
1166
|
}
|
|
1172
1167
|
else if (typeof cb === "function") {
|
|
1173
1168
|
if (typeof optionsOrCb !== "object")
|
|
1174
|
-
throw new Error(
|
|
1169
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1175
1170
|
this.send(command, optionsOrCb || {}, cb);
|
|
1176
1171
|
}
|
|
1177
1172
|
else {
|
|
1178
1173
|
return this.send(command, optionsOrCb);
|
|
1179
1174
|
}
|
|
1180
|
-
}
|
|
1181
|
-
|
|
1182
|
-
|
|
1175
|
+
}
|
|
1176
|
+
updateCustomVerificationEmailTemplate(args, optionsOrCb, cb) {
|
|
1177
|
+
const command = new UpdateCustomVerificationEmailTemplateCommand(args);
|
|
1183
1178
|
if (typeof optionsOrCb === "function") {
|
|
1184
1179
|
this.send(command, optionsOrCb);
|
|
1185
1180
|
}
|
|
1186
1181
|
else if (typeof cb === "function") {
|
|
1187
1182
|
if (typeof optionsOrCb !== "object")
|
|
1188
|
-
throw new Error(
|
|
1183
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1189
1184
|
this.send(command, optionsOrCb || {}, cb);
|
|
1190
1185
|
}
|
|
1191
1186
|
else {
|
|
1192
1187
|
return this.send(command, optionsOrCb);
|
|
1193
1188
|
}
|
|
1194
|
-
}
|
|
1195
|
-
|
|
1196
|
-
|
|
1189
|
+
}
|
|
1190
|
+
updateEmailIdentityPolicy(args, optionsOrCb, cb) {
|
|
1191
|
+
const command = new UpdateEmailIdentityPolicyCommand(args);
|
|
1197
1192
|
if (typeof optionsOrCb === "function") {
|
|
1198
1193
|
this.send(command, optionsOrCb);
|
|
1199
1194
|
}
|
|
1200
1195
|
else if (typeof cb === "function") {
|
|
1201
1196
|
if (typeof optionsOrCb !== "object")
|
|
1202
|
-
throw new Error(
|
|
1197
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1203
1198
|
this.send(command, optionsOrCb || {}, cb);
|
|
1204
1199
|
}
|
|
1205
1200
|
else {
|
|
1206
1201
|
return this.send(command, optionsOrCb);
|
|
1207
1202
|
}
|
|
1208
|
-
}
|
|
1209
|
-
|
|
1210
|
-
|
|
1203
|
+
}
|
|
1204
|
+
updateEmailTemplate(args, optionsOrCb, cb) {
|
|
1205
|
+
const command = new UpdateEmailTemplateCommand(args);
|
|
1211
1206
|
if (typeof optionsOrCb === "function") {
|
|
1212
1207
|
this.send(command, optionsOrCb);
|
|
1213
1208
|
}
|
|
1214
1209
|
else if (typeof cb === "function") {
|
|
1215
1210
|
if (typeof optionsOrCb !== "object")
|
|
1216
|
-
throw new Error(
|
|
1211
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1217
1212
|
this.send(command, optionsOrCb || {}, cb);
|
|
1218
1213
|
}
|
|
1219
1214
|
else {
|
|
1220
1215
|
return this.send(command, optionsOrCb);
|
|
1221
1216
|
}
|
|
1222
|
-
}
|
|
1223
|
-
|
|
1224
|
-
}(SESv2Client));
|
|
1225
|
-
export { SESv2 };
|
|
1217
|
+
}
|
|
1218
|
+
}
|