@aws-sdk/client-sesv2 3.54.1 → 3.55.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-cjs/SESv2Client.js +13 -13
- package/dist-cjs/commands/CreateConfigurationSetCommand.js +3 -3
- package/dist-cjs/commands/CreateConfigurationSetEventDestinationCommand.js +3 -3
- package/dist-cjs/commands/CreateContactCommand.js +3 -3
- package/dist-cjs/commands/CreateContactListCommand.js +3 -3
- package/dist-cjs/commands/CreateCustomVerificationEmailTemplateCommand.js +3 -3
- package/dist-cjs/commands/CreateDedicatedIpPoolCommand.js +3 -3
- package/dist-cjs/commands/CreateDeliverabilityTestReportCommand.js +3 -3
- package/dist-cjs/commands/CreateEmailIdentityCommand.js +3 -3
- package/dist-cjs/commands/CreateEmailIdentityPolicyCommand.js +3 -3
- package/dist-cjs/commands/CreateEmailTemplateCommand.js +3 -3
- package/dist-cjs/commands/CreateImportJobCommand.js +3 -3
- package/dist-cjs/commands/DeleteConfigurationSetCommand.js +3 -3
- package/dist-cjs/commands/DeleteConfigurationSetEventDestinationCommand.js +3 -3
- package/dist-cjs/commands/DeleteContactCommand.js +3 -3
- package/dist-cjs/commands/DeleteContactListCommand.js +3 -3
- package/dist-cjs/commands/DeleteCustomVerificationEmailTemplateCommand.js +3 -3
- package/dist-cjs/commands/DeleteDedicatedIpPoolCommand.js +3 -3
- package/dist-cjs/commands/DeleteEmailIdentityCommand.js +3 -3
- package/dist-cjs/commands/DeleteEmailIdentityPolicyCommand.js +3 -3
- package/dist-cjs/commands/DeleteEmailTemplateCommand.js +3 -3
- package/dist-cjs/commands/DeleteSuppressedDestinationCommand.js +3 -3
- package/dist-cjs/commands/GetAccountCommand.js +3 -3
- package/dist-cjs/commands/GetBlacklistReportsCommand.js +3 -3
- package/dist-cjs/commands/GetConfigurationSetCommand.js +3 -3
- package/dist-cjs/commands/GetConfigurationSetEventDestinationsCommand.js +3 -3
- package/dist-cjs/commands/GetContactCommand.js +3 -3
- package/dist-cjs/commands/GetContactListCommand.js +3 -3
- package/dist-cjs/commands/GetCustomVerificationEmailTemplateCommand.js +3 -3
- package/dist-cjs/commands/GetDedicatedIpCommand.js +3 -3
- package/dist-cjs/commands/GetDedicatedIpsCommand.js +3 -3
- package/dist-cjs/commands/GetDeliverabilityDashboardOptionsCommand.js +3 -3
- package/dist-cjs/commands/GetDeliverabilityTestReportCommand.js +3 -3
- package/dist-cjs/commands/GetDomainDeliverabilityCampaignCommand.js +3 -3
- package/dist-cjs/commands/GetDomainStatisticsReportCommand.js +3 -3
- package/dist-cjs/commands/GetEmailIdentityCommand.js +3 -3
- package/dist-cjs/commands/GetEmailIdentityPoliciesCommand.js +3 -3
- package/dist-cjs/commands/GetEmailTemplateCommand.js +3 -3
- package/dist-cjs/commands/GetImportJobCommand.js +3 -3
- package/dist-cjs/commands/GetSuppressedDestinationCommand.js +3 -3
- package/dist-cjs/commands/ListConfigurationSetsCommand.js +3 -3
- package/dist-cjs/commands/ListContactListsCommand.js +3 -3
- package/dist-cjs/commands/ListContactsCommand.js +3 -3
- package/dist-cjs/commands/ListCustomVerificationEmailTemplatesCommand.js +3 -3
- package/dist-cjs/commands/ListDedicatedIpPoolsCommand.js +3 -3
- package/dist-cjs/commands/ListDeliverabilityTestReportsCommand.js +3 -3
- package/dist-cjs/commands/ListDomainDeliverabilityCampaignsCommand.js +3 -3
- package/dist-cjs/commands/ListEmailIdentitiesCommand.js +3 -3
- package/dist-cjs/commands/ListEmailTemplatesCommand.js +3 -3
- package/dist-cjs/commands/ListImportJobsCommand.js +3 -3
- package/dist-cjs/commands/ListSuppressedDestinationsCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/PutAccountDedicatedIpWarmupAttributesCommand.js +3 -3
- package/dist-cjs/commands/PutAccountDetailsCommand.js +3 -3
- package/dist-cjs/commands/PutAccountSendingAttributesCommand.js +3 -3
- package/dist-cjs/commands/PutAccountSuppressionAttributesCommand.js +3 -3
- package/dist-cjs/commands/PutConfigurationSetDeliveryOptionsCommand.js +3 -3
- package/dist-cjs/commands/PutConfigurationSetReputationOptionsCommand.js +3 -3
- package/dist-cjs/commands/PutConfigurationSetSendingOptionsCommand.js +3 -3
- package/dist-cjs/commands/PutConfigurationSetSuppressionOptionsCommand.js +3 -3
- package/dist-cjs/commands/PutConfigurationSetTrackingOptionsCommand.js +3 -3
- package/dist-cjs/commands/PutDedicatedIpInPoolCommand.js +3 -3
- package/dist-cjs/commands/PutDedicatedIpWarmupAttributesCommand.js +3 -3
- package/dist-cjs/commands/PutDeliverabilityDashboardOptionCommand.js +3 -3
- package/dist-cjs/commands/PutEmailIdentityConfigurationSetAttributesCommand.js +3 -3
- package/dist-cjs/commands/PutEmailIdentityDkimAttributesCommand.js +3 -3
- package/dist-cjs/commands/PutEmailIdentityDkimSigningAttributesCommand.js +3 -3
- package/dist-cjs/commands/PutEmailIdentityFeedbackAttributesCommand.js +3 -3
- package/dist-cjs/commands/PutEmailIdentityMailFromAttributesCommand.js +3 -3
- package/dist-cjs/commands/PutSuppressedDestinationCommand.js +3 -3
- package/dist-cjs/commands/SendBulkEmailCommand.js +3 -3
- package/dist-cjs/commands/SendCustomVerificationEmailCommand.js +3 -3
- package/dist-cjs/commands/SendEmailCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/TestRenderEmailTemplateCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateConfigurationSetEventDestinationCommand.js +3 -3
- package/dist-cjs/commands/UpdateContactCommand.js +3 -3
- package/dist-cjs/commands/UpdateContactListCommand.js +3 -3
- package/dist-cjs/commands/UpdateCustomVerificationEmailTemplateCommand.js +3 -3
- package/dist-cjs/commands/UpdateEmailIdentityPolicyCommand.js +3 -3
- package/dist-cjs/commands/UpdateEmailTemplateCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +391 -391
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/SESv2.js +81 -81
- package/dist-es/pagination/GetDedicatedIpsPaginator.js +4 -4
- package/dist-es/pagination/ListConfigurationSetsPaginator.js +4 -4
- package/dist-es/pagination/ListContactListsPaginator.js +4 -4
- package/dist-es/pagination/ListContactsPaginator.js +4 -4
- package/dist-es/pagination/ListCustomVerificationEmailTemplatesPaginator.js +4 -4
- package/dist-es/pagination/ListDedicatedIpPoolsPaginator.js +4 -4
- package/dist-es/pagination/ListDeliverabilityTestReportsPaginator.js +4 -4
- package/dist-es/pagination/ListDomainDeliverabilityCampaignsPaginator.js +4 -4
- package/dist-es/pagination/ListEmailIdentitiesPaginator.js +4 -4
- package/dist-es/pagination/ListEmailTemplatesPaginator.js +4 -4
- package/dist-es/pagination/ListImportJobsPaginator.js +4 -4
- package/dist-es/pagination/ListSuppressedDestinationsPaginator.js +4 -4
- package/dist-es/protocols/Aws_restJson1.js +81 -81
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/package.json +34 -34
package/dist-es/SESv2.js
CHANGED
|
@@ -93,7 +93,7 @@ var SESv2 = (function (_super) {
|
|
|
93
93
|
}
|
|
94
94
|
else if (typeof cb === "function") {
|
|
95
95
|
if (typeof optionsOrCb !== "object")
|
|
96
|
-
throw new Error("Expect http options but get "
|
|
96
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
97
97
|
this.send(command, optionsOrCb || {}, cb);
|
|
98
98
|
}
|
|
99
99
|
else {
|
|
@@ -107,7 +107,7 @@ var SESv2 = (function (_super) {
|
|
|
107
107
|
}
|
|
108
108
|
else if (typeof cb === "function") {
|
|
109
109
|
if (typeof optionsOrCb !== "object")
|
|
110
|
-
throw new Error("Expect http options but get "
|
|
110
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
111
111
|
this.send(command, optionsOrCb || {}, cb);
|
|
112
112
|
}
|
|
113
113
|
else {
|
|
@@ -121,7 +121,7 @@ var SESv2 = (function (_super) {
|
|
|
121
121
|
}
|
|
122
122
|
else if (typeof cb === "function") {
|
|
123
123
|
if (typeof optionsOrCb !== "object")
|
|
124
|
-
throw new Error("Expect http options but get "
|
|
124
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
125
125
|
this.send(command, optionsOrCb || {}, cb);
|
|
126
126
|
}
|
|
127
127
|
else {
|
|
@@ -135,7 +135,7 @@ var SESv2 = (function (_super) {
|
|
|
135
135
|
}
|
|
136
136
|
else if (typeof cb === "function") {
|
|
137
137
|
if (typeof optionsOrCb !== "object")
|
|
138
|
-
throw new Error("Expect http options but get "
|
|
138
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
139
139
|
this.send(command, optionsOrCb || {}, cb);
|
|
140
140
|
}
|
|
141
141
|
else {
|
|
@@ -149,7 +149,7 @@ var SESv2 = (function (_super) {
|
|
|
149
149
|
}
|
|
150
150
|
else if (typeof cb === "function") {
|
|
151
151
|
if (typeof optionsOrCb !== "object")
|
|
152
|
-
throw new Error("Expect http options but get "
|
|
152
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
153
153
|
this.send(command, optionsOrCb || {}, cb);
|
|
154
154
|
}
|
|
155
155
|
else {
|
|
@@ -163,7 +163,7 @@ var SESv2 = (function (_super) {
|
|
|
163
163
|
}
|
|
164
164
|
else if (typeof cb === "function") {
|
|
165
165
|
if (typeof optionsOrCb !== "object")
|
|
166
|
-
throw new Error("Expect http options but get "
|
|
166
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
167
167
|
this.send(command, optionsOrCb || {}, cb);
|
|
168
168
|
}
|
|
169
169
|
else {
|
|
@@ -177,7 +177,7 @@ var SESv2 = (function (_super) {
|
|
|
177
177
|
}
|
|
178
178
|
else if (typeof cb === "function") {
|
|
179
179
|
if (typeof optionsOrCb !== "object")
|
|
180
|
-
throw new Error("Expect http options but get "
|
|
180
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
181
181
|
this.send(command, optionsOrCb || {}, cb);
|
|
182
182
|
}
|
|
183
183
|
else {
|
|
@@ -191,7 +191,7 @@ var SESv2 = (function (_super) {
|
|
|
191
191
|
}
|
|
192
192
|
else if (typeof cb === "function") {
|
|
193
193
|
if (typeof optionsOrCb !== "object")
|
|
194
|
-
throw new Error("Expect http options but get "
|
|
194
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
195
195
|
this.send(command, optionsOrCb || {}, cb);
|
|
196
196
|
}
|
|
197
197
|
else {
|
|
@@ -205,7 +205,7 @@ var SESv2 = (function (_super) {
|
|
|
205
205
|
}
|
|
206
206
|
else if (typeof cb === "function") {
|
|
207
207
|
if (typeof optionsOrCb !== "object")
|
|
208
|
-
throw new Error("Expect http options but get "
|
|
208
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
209
209
|
this.send(command, optionsOrCb || {}, cb);
|
|
210
210
|
}
|
|
211
211
|
else {
|
|
@@ -219,7 +219,7 @@ var SESv2 = (function (_super) {
|
|
|
219
219
|
}
|
|
220
220
|
else if (typeof cb === "function") {
|
|
221
221
|
if (typeof optionsOrCb !== "object")
|
|
222
|
-
throw new Error("Expect http options but get "
|
|
222
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
223
223
|
this.send(command, optionsOrCb || {}, cb);
|
|
224
224
|
}
|
|
225
225
|
else {
|
|
@@ -233,7 +233,7 @@ var SESv2 = (function (_super) {
|
|
|
233
233
|
}
|
|
234
234
|
else if (typeof cb === "function") {
|
|
235
235
|
if (typeof optionsOrCb !== "object")
|
|
236
|
-
throw new Error("Expect http options but get "
|
|
236
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
237
237
|
this.send(command, optionsOrCb || {}, cb);
|
|
238
238
|
}
|
|
239
239
|
else {
|
|
@@ -247,7 +247,7 @@ var SESv2 = (function (_super) {
|
|
|
247
247
|
}
|
|
248
248
|
else if (typeof cb === "function") {
|
|
249
249
|
if (typeof optionsOrCb !== "object")
|
|
250
|
-
throw new Error("Expect http options but get "
|
|
250
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
251
251
|
this.send(command, optionsOrCb || {}, cb);
|
|
252
252
|
}
|
|
253
253
|
else {
|
|
@@ -261,7 +261,7 @@ var SESv2 = (function (_super) {
|
|
|
261
261
|
}
|
|
262
262
|
else if (typeof cb === "function") {
|
|
263
263
|
if (typeof optionsOrCb !== "object")
|
|
264
|
-
throw new Error("Expect http options but get "
|
|
264
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
265
265
|
this.send(command, optionsOrCb || {}, cb);
|
|
266
266
|
}
|
|
267
267
|
else {
|
|
@@ -275,7 +275,7 @@ var SESv2 = (function (_super) {
|
|
|
275
275
|
}
|
|
276
276
|
else if (typeof cb === "function") {
|
|
277
277
|
if (typeof optionsOrCb !== "object")
|
|
278
|
-
throw new Error("Expect http options but get "
|
|
278
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
279
279
|
this.send(command, optionsOrCb || {}, cb);
|
|
280
280
|
}
|
|
281
281
|
else {
|
|
@@ -289,7 +289,7 @@ var SESv2 = (function (_super) {
|
|
|
289
289
|
}
|
|
290
290
|
else if (typeof cb === "function") {
|
|
291
291
|
if (typeof optionsOrCb !== "object")
|
|
292
|
-
throw new Error("Expect http options but get "
|
|
292
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
293
293
|
this.send(command, optionsOrCb || {}, cb);
|
|
294
294
|
}
|
|
295
295
|
else {
|
|
@@ -303,7 +303,7 @@ var SESv2 = (function (_super) {
|
|
|
303
303
|
}
|
|
304
304
|
else if (typeof cb === "function") {
|
|
305
305
|
if (typeof optionsOrCb !== "object")
|
|
306
|
-
throw new Error("Expect http options but get "
|
|
306
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
307
307
|
this.send(command, optionsOrCb || {}, cb);
|
|
308
308
|
}
|
|
309
309
|
else {
|
|
@@ -317,7 +317,7 @@ var SESv2 = (function (_super) {
|
|
|
317
317
|
}
|
|
318
318
|
else if (typeof cb === "function") {
|
|
319
319
|
if (typeof optionsOrCb !== "object")
|
|
320
|
-
throw new Error("Expect http options but get "
|
|
320
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
321
321
|
this.send(command, optionsOrCb || {}, cb);
|
|
322
322
|
}
|
|
323
323
|
else {
|
|
@@ -331,7 +331,7 @@ var SESv2 = (function (_super) {
|
|
|
331
331
|
}
|
|
332
332
|
else if (typeof cb === "function") {
|
|
333
333
|
if (typeof optionsOrCb !== "object")
|
|
334
|
-
throw new Error("Expect http options but get "
|
|
334
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
335
335
|
this.send(command, optionsOrCb || {}, cb);
|
|
336
336
|
}
|
|
337
337
|
else {
|
|
@@ -345,7 +345,7 @@ var SESv2 = (function (_super) {
|
|
|
345
345
|
}
|
|
346
346
|
else if (typeof cb === "function") {
|
|
347
347
|
if (typeof optionsOrCb !== "object")
|
|
348
|
-
throw new Error("Expect http options but get "
|
|
348
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
349
349
|
this.send(command, optionsOrCb || {}, cb);
|
|
350
350
|
}
|
|
351
351
|
else {
|
|
@@ -359,7 +359,7 @@ var SESv2 = (function (_super) {
|
|
|
359
359
|
}
|
|
360
360
|
else if (typeof cb === "function") {
|
|
361
361
|
if (typeof optionsOrCb !== "object")
|
|
362
|
-
throw new Error("Expect http options but get "
|
|
362
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
363
363
|
this.send(command, optionsOrCb || {}, cb);
|
|
364
364
|
}
|
|
365
365
|
else {
|
|
@@ -373,7 +373,7 @@ var SESv2 = (function (_super) {
|
|
|
373
373
|
}
|
|
374
374
|
else if (typeof cb === "function") {
|
|
375
375
|
if (typeof optionsOrCb !== "object")
|
|
376
|
-
throw new Error("Expect http options but get "
|
|
376
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
377
377
|
this.send(command, optionsOrCb || {}, cb);
|
|
378
378
|
}
|
|
379
379
|
else {
|
|
@@ -387,7 +387,7 @@ var SESv2 = (function (_super) {
|
|
|
387
387
|
}
|
|
388
388
|
else if (typeof cb === "function") {
|
|
389
389
|
if (typeof optionsOrCb !== "object")
|
|
390
|
-
throw new Error("Expect http options but get "
|
|
390
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
391
391
|
this.send(command, optionsOrCb || {}, cb);
|
|
392
392
|
}
|
|
393
393
|
else {
|
|
@@ -401,7 +401,7 @@ var SESv2 = (function (_super) {
|
|
|
401
401
|
}
|
|
402
402
|
else if (typeof cb === "function") {
|
|
403
403
|
if (typeof optionsOrCb !== "object")
|
|
404
|
-
throw new Error("Expect http options but get "
|
|
404
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
405
405
|
this.send(command, optionsOrCb || {}, cb);
|
|
406
406
|
}
|
|
407
407
|
else {
|
|
@@ -415,7 +415,7 @@ var SESv2 = (function (_super) {
|
|
|
415
415
|
}
|
|
416
416
|
else if (typeof cb === "function") {
|
|
417
417
|
if (typeof optionsOrCb !== "object")
|
|
418
|
-
throw new Error("Expect http options but get "
|
|
418
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
419
419
|
this.send(command, optionsOrCb || {}, cb);
|
|
420
420
|
}
|
|
421
421
|
else {
|
|
@@ -429,7 +429,7 @@ var SESv2 = (function (_super) {
|
|
|
429
429
|
}
|
|
430
430
|
else if (typeof cb === "function") {
|
|
431
431
|
if (typeof optionsOrCb !== "object")
|
|
432
|
-
throw new Error("Expect http options but get "
|
|
432
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
433
433
|
this.send(command, optionsOrCb || {}, cb);
|
|
434
434
|
}
|
|
435
435
|
else {
|
|
@@ -443,7 +443,7 @@ var SESv2 = (function (_super) {
|
|
|
443
443
|
}
|
|
444
444
|
else if (typeof cb === "function") {
|
|
445
445
|
if (typeof optionsOrCb !== "object")
|
|
446
|
-
throw new Error("Expect http options but get "
|
|
446
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
447
447
|
this.send(command, optionsOrCb || {}, cb);
|
|
448
448
|
}
|
|
449
449
|
else {
|
|
@@ -457,7 +457,7 @@ var SESv2 = (function (_super) {
|
|
|
457
457
|
}
|
|
458
458
|
else if (typeof cb === "function") {
|
|
459
459
|
if (typeof optionsOrCb !== "object")
|
|
460
|
-
throw new Error("Expect http options but get "
|
|
460
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
461
461
|
this.send(command, optionsOrCb || {}, cb);
|
|
462
462
|
}
|
|
463
463
|
else {
|
|
@@ -471,7 +471,7 @@ var SESv2 = (function (_super) {
|
|
|
471
471
|
}
|
|
472
472
|
else if (typeof cb === "function") {
|
|
473
473
|
if (typeof optionsOrCb !== "object")
|
|
474
|
-
throw new Error("Expect http options but get "
|
|
474
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
475
475
|
this.send(command, optionsOrCb || {}, cb);
|
|
476
476
|
}
|
|
477
477
|
else {
|
|
@@ -485,7 +485,7 @@ var SESv2 = (function (_super) {
|
|
|
485
485
|
}
|
|
486
486
|
else if (typeof cb === "function") {
|
|
487
487
|
if (typeof optionsOrCb !== "object")
|
|
488
|
-
throw new Error("Expect http options but get "
|
|
488
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
489
489
|
this.send(command, optionsOrCb || {}, cb);
|
|
490
490
|
}
|
|
491
491
|
else {
|
|
@@ -499,7 +499,7 @@ var SESv2 = (function (_super) {
|
|
|
499
499
|
}
|
|
500
500
|
else if (typeof cb === "function") {
|
|
501
501
|
if (typeof optionsOrCb !== "object")
|
|
502
|
-
throw new Error("Expect http options but get "
|
|
502
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
503
503
|
this.send(command, optionsOrCb || {}, cb);
|
|
504
504
|
}
|
|
505
505
|
else {
|
|
@@ -513,7 +513,7 @@ var SESv2 = (function (_super) {
|
|
|
513
513
|
}
|
|
514
514
|
else if (typeof cb === "function") {
|
|
515
515
|
if (typeof optionsOrCb !== "object")
|
|
516
|
-
throw new Error("Expect http options but get "
|
|
516
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
517
517
|
this.send(command, optionsOrCb || {}, cb);
|
|
518
518
|
}
|
|
519
519
|
else {
|
|
@@ -527,7 +527,7 @@ var SESv2 = (function (_super) {
|
|
|
527
527
|
}
|
|
528
528
|
else if (typeof cb === "function") {
|
|
529
529
|
if (typeof optionsOrCb !== "object")
|
|
530
|
-
throw new Error("Expect http options but get "
|
|
530
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
531
531
|
this.send(command, optionsOrCb || {}, cb);
|
|
532
532
|
}
|
|
533
533
|
else {
|
|
@@ -541,7 +541,7 @@ var SESv2 = (function (_super) {
|
|
|
541
541
|
}
|
|
542
542
|
else if (typeof cb === "function") {
|
|
543
543
|
if (typeof optionsOrCb !== "object")
|
|
544
|
-
throw new Error("Expect http options but get "
|
|
544
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
545
545
|
this.send(command, optionsOrCb || {}, cb);
|
|
546
546
|
}
|
|
547
547
|
else {
|
|
@@ -555,7 +555,7 @@ var SESv2 = (function (_super) {
|
|
|
555
555
|
}
|
|
556
556
|
else if (typeof cb === "function") {
|
|
557
557
|
if (typeof optionsOrCb !== "object")
|
|
558
|
-
throw new Error("Expect http options but get "
|
|
558
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
559
559
|
this.send(command, optionsOrCb || {}, cb);
|
|
560
560
|
}
|
|
561
561
|
else {
|
|
@@ -569,7 +569,7 @@ var SESv2 = (function (_super) {
|
|
|
569
569
|
}
|
|
570
570
|
else if (typeof cb === "function") {
|
|
571
571
|
if (typeof optionsOrCb !== "object")
|
|
572
|
-
throw new Error("Expect http options but get "
|
|
572
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
573
573
|
this.send(command, optionsOrCb || {}, cb);
|
|
574
574
|
}
|
|
575
575
|
else {
|
|
@@ -583,7 +583,7 @@ var SESv2 = (function (_super) {
|
|
|
583
583
|
}
|
|
584
584
|
else if (typeof cb === "function") {
|
|
585
585
|
if (typeof optionsOrCb !== "object")
|
|
586
|
-
throw new Error("Expect http options but get "
|
|
586
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
587
587
|
this.send(command, optionsOrCb || {}, cb);
|
|
588
588
|
}
|
|
589
589
|
else {
|
|
@@ -597,7 +597,7 @@ var SESv2 = (function (_super) {
|
|
|
597
597
|
}
|
|
598
598
|
else if (typeof cb === "function") {
|
|
599
599
|
if (typeof optionsOrCb !== "object")
|
|
600
|
-
throw new Error("Expect http options but get "
|
|
600
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
601
601
|
this.send(command, optionsOrCb || {}, cb);
|
|
602
602
|
}
|
|
603
603
|
else {
|
|
@@ -611,7 +611,7 @@ var SESv2 = (function (_super) {
|
|
|
611
611
|
}
|
|
612
612
|
else if (typeof cb === "function") {
|
|
613
613
|
if (typeof optionsOrCb !== "object")
|
|
614
|
-
throw new Error("Expect http options but get "
|
|
614
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
615
615
|
this.send(command, optionsOrCb || {}, cb);
|
|
616
616
|
}
|
|
617
617
|
else {
|
|
@@ -625,7 +625,7 @@ var SESv2 = (function (_super) {
|
|
|
625
625
|
}
|
|
626
626
|
else if (typeof cb === "function") {
|
|
627
627
|
if (typeof optionsOrCb !== "object")
|
|
628
|
-
throw new Error("Expect http options but get "
|
|
628
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
629
629
|
this.send(command, optionsOrCb || {}, cb);
|
|
630
630
|
}
|
|
631
631
|
else {
|
|
@@ -639,7 +639,7 @@ var SESv2 = (function (_super) {
|
|
|
639
639
|
}
|
|
640
640
|
else if (typeof cb === "function") {
|
|
641
641
|
if (typeof optionsOrCb !== "object")
|
|
642
|
-
throw new Error("Expect http options but get "
|
|
642
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
643
643
|
this.send(command, optionsOrCb || {}, cb);
|
|
644
644
|
}
|
|
645
645
|
else {
|
|
@@ -653,7 +653,7 @@ var SESv2 = (function (_super) {
|
|
|
653
653
|
}
|
|
654
654
|
else if (typeof cb === "function") {
|
|
655
655
|
if (typeof optionsOrCb !== "object")
|
|
656
|
-
throw new Error("Expect http options but get "
|
|
656
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
657
657
|
this.send(command, optionsOrCb || {}, cb);
|
|
658
658
|
}
|
|
659
659
|
else {
|
|
@@ -667,7 +667,7 @@ var SESv2 = (function (_super) {
|
|
|
667
667
|
}
|
|
668
668
|
else if (typeof cb === "function") {
|
|
669
669
|
if (typeof optionsOrCb !== "object")
|
|
670
|
-
throw new Error("Expect http options but get "
|
|
670
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
671
671
|
this.send(command, optionsOrCb || {}, cb);
|
|
672
672
|
}
|
|
673
673
|
else {
|
|
@@ -681,7 +681,7 @@ var SESv2 = (function (_super) {
|
|
|
681
681
|
}
|
|
682
682
|
else if (typeof cb === "function") {
|
|
683
683
|
if (typeof optionsOrCb !== "object")
|
|
684
|
-
throw new Error("Expect http options but get "
|
|
684
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
685
685
|
this.send(command, optionsOrCb || {}, cb);
|
|
686
686
|
}
|
|
687
687
|
else {
|
|
@@ -695,7 +695,7 @@ var SESv2 = (function (_super) {
|
|
|
695
695
|
}
|
|
696
696
|
else if (typeof cb === "function") {
|
|
697
697
|
if (typeof optionsOrCb !== "object")
|
|
698
|
-
throw new Error("Expect http options but get "
|
|
698
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
699
699
|
this.send(command, optionsOrCb || {}, cb);
|
|
700
700
|
}
|
|
701
701
|
else {
|
|
@@ -709,7 +709,7 @@ var SESv2 = (function (_super) {
|
|
|
709
709
|
}
|
|
710
710
|
else if (typeof cb === "function") {
|
|
711
711
|
if (typeof optionsOrCb !== "object")
|
|
712
|
-
throw new Error("Expect http options but get "
|
|
712
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
713
713
|
this.send(command, optionsOrCb || {}, cb);
|
|
714
714
|
}
|
|
715
715
|
else {
|
|
@@ -723,7 +723,7 @@ var SESv2 = (function (_super) {
|
|
|
723
723
|
}
|
|
724
724
|
else if (typeof cb === "function") {
|
|
725
725
|
if (typeof optionsOrCb !== "object")
|
|
726
|
-
throw new Error("Expect http options but get "
|
|
726
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
727
727
|
this.send(command, optionsOrCb || {}, cb);
|
|
728
728
|
}
|
|
729
729
|
else {
|
|
@@ -737,7 +737,7 @@ var SESv2 = (function (_super) {
|
|
|
737
737
|
}
|
|
738
738
|
else if (typeof cb === "function") {
|
|
739
739
|
if (typeof optionsOrCb !== "object")
|
|
740
|
-
throw new Error("Expect http options but get "
|
|
740
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
741
741
|
this.send(command, optionsOrCb || {}, cb);
|
|
742
742
|
}
|
|
743
743
|
else {
|
|
@@ -751,7 +751,7 @@ var SESv2 = (function (_super) {
|
|
|
751
751
|
}
|
|
752
752
|
else if (typeof cb === "function") {
|
|
753
753
|
if (typeof optionsOrCb !== "object")
|
|
754
|
-
throw new Error("Expect http options but get "
|
|
754
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
755
755
|
this.send(command, optionsOrCb || {}, cb);
|
|
756
756
|
}
|
|
757
757
|
else {
|
|
@@ -765,7 +765,7 @@ var SESv2 = (function (_super) {
|
|
|
765
765
|
}
|
|
766
766
|
else if (typeof cb === "function") {
|
|
767
767
|
if (typeof optionsOrCb !== "object")
|
|
768
|
-
throw new Error("Expect http options but get "
|
|
768
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
769
769
|
this.send(command, optionsOrCb || {}, cb);
|
|
770
770
|
}
|
|
771
771
|
else {
|
|
@@ -779,7 +779,7 @@ var SESv2 = (function (_super) {
|
|
|
779
779
|
}
|
|
780
780
|
else if (typeof cb === "function") {
|
|
781
781
|
if (typeof optionsOrCb !== "object")
|
|
782
|
-
throw new Error("Expect http options but get "
|
|
782
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
783
783
|
this.send(command, optionsOrCb || {}, cb);
|
|
784
784
|
}
|
|
785
785
|
else {
|
|
@@ -793,7 +793,7 @@ var SESv2 = (function (_super) {
|
|
|
793
793
|
}
|
|
794
794
|
else if (typeof cb === "function") {
|
|
795
795
|
if (typeof optionsOrCb !== "object")
|
|
796
|
-
throw new Error("Expect http options but get "
|
|
796
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
797
797
|
this.send(command, optionsOrCb || {}, cb);
|
|
798
798
|
}
|
|
799
799
|
else {
|
|
@@ -807,7 +807,7 @@ var SESv2 = (function (_super) {
|
|
|
807
807
|
}
|
|
808
808
|
else if (typeof cb === "function") {
|
|
809
809
|
if (typeof optionsOrCb !== "object")
|
|
810
|
-
throw new Error("Expect http options but get "
|
|
810
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
811
811
|
this.send(command, optionsOrCb || {}, cb);
|
|
812
812
|
}
|
|
813
813
|
else {
|
|
@@ -821,7 +821,7 @@ var SESv2 = (function (_super) {
|
|
|
821
821
|
}
|
|
822
822
|
else if (typeof cb === "function") {
|
|
823
823
|
if (typeof optionsOrCb !== "object")
|
|
824
|
-
throw new Error("Expect http options but get "
|
|
824
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
825
825
|
this.send(command, optionsOrCb || {}, cb);
|
|
826
826
|
}
|
|
827
827
|
else {
|
|
@@ -835,7 +835,7 @@ var SESv2 = (function (_super) {
|
|
|
835
835
|
}
|
|
836
836
|
else if (typeof cb === "function") {
|
|
837
837
|
if (typeof optionsOrCb !== "object")
|
|
838
|
-
throw new Error("Expect http options but get "
|
|
838
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
839
839
|
this.send(command, optionsOrCb || {}, cb);
|
|
840
840
|
}
|
|
841
841
|
else {
|
|
@@ -849,7 +849,7 @@ var SESv2 = (function (_super) {
|
|
|
849
849
|
}
|
|
850
850
|
else if (typeof cb === "function") {
|
|
851
851
|
if (typeof optionsOrCb !== "object")
|
|
852
|
-
throw new Error("Expect http options but get "
|
|
852
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
853
853
|
this.send(command, optionsOrCb || {}, cb);
|
|
854
854
|
}
|
|
855
855
|
else {
|
|
@@ -863,7 +863,7 @@ var SESv2 = (function (_super) {
|
|
|
863
863
|
}
|
|
864
864
|
else if (typeof cb === "function") {
|
|
865
865
|
if (typeof optionsOrCb !== "object")
|
|
866
|
-
throw new Error("Expect http options but get "
|
|
866
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
867
867
|
this.send(command, optionsOrCb || {}, cb);
|
|
868
868
|
}
|
|
869
869
|
else {
|
|
@@ -877,7 +877,7 @@ var SESv2 = (function (_super) {
|
|
|
877
877
|
}
|
|
878
878
|
else if (typeof cb === "function") {
|
|
879
879
|
if (typeof optionsOrCb !== "object")
|
|
880
|
-
throw new Error("Expect http options but get "
|
|
880
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
881
881
|
this.send(command, optionsOrCb || {}, cb);
|
|
882
882
|
}
|
|
883
883
|
else {
|
|
@@ -891,7 +891,7 @@ var SESv2 = (function (_super) {
|
|
|
891
891
|
}
|
|
892
892
|
else if (typeof cb === "function") {
|
|
893
893
|
if (typeof optionsOrCb !== "object")
|
|
894
|
-
throw new Error("Expect http options but get "
|
|
894
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
895
895
|
this.send(command, optionsOrCb || {}, cb);
|
|
896
896
|
}
|
|
897
897
|
else {
|
|
@@ -905,7 +905,7 @@ var SESv2 = (function (_super) {
|
|
|
905
905
|
}
|
|
906
906
|
else if (typeof cb === "function") {
|
|
907
907
|
if (typeof optionsOrCb !== "object")
|
|
908
|
-
throw new Error("Expect http options but get "
|
|
908
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
909
909
|
this.send(command, optionsOrCb || {}, cb);
|
|
910
910
|
}
|
|
911
911
|
else {
|
|
@@ -919,7 +919,7 @@ var SESv2 = (function (_super) {
|
|
|
919
919
|
}
|
|
920
920
|
else if (typeof cb === "function") {
|
|
921
921
|
if (typeof optionsOrCb !== "object")
|
|
922
|
-
throw new Error("Expect http options but get "
|
|
922
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
923
923
|
this.send(command, optionsOrCb || {}, cb);
|
|
924
924
|
}
|
|
925
925
|
else {
|
|
@@ -933,7 +933,7 @@ var SESv2 = (function (_super) {
|
|
|
933
933
|
}
|
|
934
934
|
else if (typeof cb === "function") {
|
|
935
935
|
if (typeof optionsOrCb !== "object")
|
|
936
|
-
throw new Error("Expect http options but get "
|
|
936
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
937
937
|
this.send(command, optionsOrCb || {}, cb);
|
|
938
938
|
}
|
|
939
939
|
else {
|
|
@@ -947,7 +947,7 @@ var SESv2 = (function (_super) {
|
|
|
947
947
|
}
|
|
948
948
|
else if (typeof cb === "function") {
|
|
949
949
|
if (typeof optionsOrCb !== "object")
|
|
950
|
-
throw new Error("Expect http options but get "
|
|
950
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
951
951
|
this.send(command, optionsOrCb || {}, cb);
|
|
952
952
|
}
|
|
953
953
|
else {
|
|
@@ -961,7 +961,7 @@ var SESv2 = (function (_super) {
|
|
|
961
961
|
}
|
|
962
962
|
else if (typeof cb === "function") {
|
|
963
963
|
if (typeof optionsOrCb !== "object")
|
|
964
|
-
throw new Error("Expect http options but get "
|
|
964
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
965
965
|
this.send(command, optionsOrCb || {}, cb);
|
|
966
966
|
}
|
|
967
967
|
else {
|
|
@@ -975,7 +975,7 @@ var SESv2 = (function (_super) {
|
|
|
975
975
|
}
|
|
976
976
|
else if (typeof cb === "function") {
|
|
977
977
|
if (typeof optionsOrCb !== "object")
|
|
978
|
-
throw new Error("Expect http options but get "
|
|
978
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
979
979
|
this.send(command, optionsOrCb || {}, cb);
|
|
980
980
|
}
|
|
981
981
|
else {
|
|
@@ -989,7 +989,7 @@ var SESv2 = (function (_super) {
|
|
|
989
989
|
}
|
|
990
990
|
else if (typeof cb === "function") {
|
|
991
991
|
if (typeof optionsOrCb !== "object")
|
|
992
|
-
throw new Error("Expect http options but get "
|
|
992
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
993
993
|
this.send(command, optionsOrCb || {}, cb);
|
|
994
994
|
}
|
|
995
995
|
else {
|
|
@@ -1003,7 +1003,7 @@ var SESv2 = (function (_super) {
|
|
|
1003
1003
|
}
|
|
1004
1004
|
else if (typeof cb === "function") {
|
|
1005
1005
|
if (typeof optionsOrCb !== "object")
|
|
1006
|
-
throw new Error("Expect http options but get "
|
|
1006
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1007
1007
|
this.send(command, optionsOrCb || {}, cb);
|
|
1008
1008
|
}
|
|
1009
1009
|
else {
|
|
@@ -1017,7 +1017,7 @@ var SESv2 = (function (_super) {
|
|
|
1017
1017
|
}
|
|
1018
1018
|
else if (typeof cb === "function") {
|
|
1019
1019
|
if (typeof optionsOrCb !== "object")
|
|
1020
|
-
throw new Error("Expect http options but get "
|
|
1020
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1021
1021
|
this.send(command, optionsOrCb || {}, cb);
|
|
1022
1022
|
}
|
|
1023
1023
|
else {
|
|
@@ -1031,7 +1031,7 @@ var SESv2 = (function (_super) {
|
|
|
1031
1031
|
}
|
|
1032
1032
|
else if (typeof cb === "function") {
|
|
1033
1033
|
if (typeof optionsOrCb !== "object")
|
|
1034
|
-
throw new Error("Expect http options but get "
|
|
1034
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1035
1035
|
this.send(command, optionsOrCb || {}, cb);
|
|
1036
1036
|
}
|
|
1037
1037
|
else {
|
|
@@ -1045,7 +1045,7 @@ var SESv2 = (function (_super) {
|
|
|
1045
1045
|
}
|
|
1046
1046
|
else if (typeof cb === "function") {
|
|
1047
1047
|
if (typeof optionsOrCb !== "object")
|
|
1048
|
-
throw new Error("Expect http options but get "
|
|
1048
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1049
1049
|
this.send(command, optionsOrCb || {}, cb);
|
|
1050
1050
|
}
|
|
1051
1051
|
else {
|
|
@@ -1059,7 +1059,7 @@ var SESv2 = (function (_super) {
|
|
|
1059
1059
|
}
|
|
1060
1060
|
else if (typeof cb === "function") {
|
|
1061
1061
|
if (typeof optionsOrCb !== "object")
|
|
1062
|
-
throw new Error("Expect http options but get "
|
|
1062
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1063
1063
|
this.send(command, optionsOrCb || {}, cb);
|
|
1064
1064
|
}
|
|
1065
1065
|
else {
|
|
@@ -1073,7 +1073,7 @@ var SESv2 = (function (_super) {
|
|
|
1073
1073
|
}
|
|
1074
1074
|
else if (typeof cb === "function") {
|
|
1075
1075
|
if (typeof optionsOrCb !== "object")
|
|
1076
|
-
throw new Error("Expect http options but get "
|
|
1076
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1077
1077
|
this.send(command, optionsOrCb || {}, cb);
|
|
1078
1078
|
}
|
|
1079
1079
|
else {
|
|
@@ -1087,7 +1087,7 @@ var SESv2 = (function (_super) {
|
|
|
1087
1087
|
}
|
|
1088
1088
|
else if (typeof cb === "function") {
|
|
1089
1089
|
if (typeof optionsOrCb !== "object")
|
|
1090
|
-
throw new Error("Expect http options but get "
|
|
1090
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1091
1091
|
this.send(command, optionsOrCb || {}, cb);
|
|
1092
1092
|
}
|
|
1093
1093
|
else {
|
|
@@ -1101,7 +1101,7 @@ var SESv2 = (function (_super) {
|
|
|
1101
1101
|
}
|
|
1102
1102
|
else if (typeof cb === "function") {
|
|
1103
1103
|
if (typeof optionsOrCb !== "object")
|
|
1104
|
-
throw new Error("Expect http options but get "
|
|
1104
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1105
1105
|
this.send(command, optionsOrCb || {}, cb);
|
|
1106
1106
|
}
|
|
1107
1107
|
else {
|
|
@@ -1115,7 +1115,7 @@ var SESv2 = (function (_super) {
|
|
|
1115
1115
|
}
|
|
1116
1116
|
else if (typeof cb === "function") {
|
|
1117
1117
|
if (typeof optionsOrCb !== "object")
|
|
1118
|
-
throw new Error("Expect http options but get "
|
|
1118
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1119
1119
|
this.send(command, optionsOrCb || {}, cb);
|
|
1120
1120
|
}
|
|
1121
1121
|
else {
|
|
@@ -1129,7 +1129,7 @@ var SESv2 = (function (_super) {
|
|
|
1129
1129
|
}
|
|
1130
1130
|
else if (typeof cb === "function") {
|
|
1131
1131
|
if (typeof optionsOrCb !== "object")
|
|
1132
|
-
throw new Error("Expect http options but get "
|
|
1132
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1133
1133
|
this.send(command, optionsOrCb || {}, cb);
|
|
1134
1134
|
}
|
|
1135
1135
|
else {
|
|
@@ -1143,7 +1143,7 @@ var SESv2 = (function (_super) {
|
|
|
1143
1143
|
}
|
|
1144
1144
|
else if (typeof cb === "function") {
|
|
1145
1145
|
if (typeof optionsOrCb !== "object")
|
|
1146
|
-
throw new Error("Expect http options but get "
|
|
1146
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1147
1147
|
this.send(command, optionsOrCb || {}, cb);
|
|
1148
1148
|
}
|
|
1149
1149
|
else {
|
|
@@ -1157,7 +1157,7 @@ var SESv2 = (function (_super) {
|
|
|
1157
1157
|
}
|
|
1158
1158
|
else if (typeof cb === "function") {
|
|
1159
1159
|
if (typeof optionsOrCb !== "object")
|
|
1160
|
-
throw new Error("Expect http options but get "
|
|
1160
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1161
1161
|
this.send(command, optionsOrCb || {}, cb);
|
|
1162
1162
|
}
|
|
1163
1163
|
else {
|
|
@@ -1171,7 +1171,7 @@ var SESv2 = (function (_super) {
|
|
|
1171
1171
|
}
|
|
1172
1172
|
else if (typeof cb === "function") {
|
|
1173
1173
|
if (typeof optionsOrCb !== "object")
|
|
1174
|
-
throw new Error("Expect http options but get "
|
|
1174
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1175
1175
|
this.send(command, optionsOrCb || {}, cb);
|
|
1176
1176
|
}
|
|
1177
1177
|
else {
|
|
@@ -1185,7 +1185,7 @@ var SESv2 = (function (_super) {
|
|
|
1185
1185
|
}
|
|
1186
1186
|
else if (typeof cb === "function") {
|
|
1187
1187
|
if (typeof optionsOrCb !== "object")
|
|
1188
|
-
throw new Error("Expect http options but get "
|
|
1188
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1189
1189
|
this.send(command, optionsOrCb || {}, cb);
|
|
1190
1190
|
}
|
|
1191
1191
|
else {
|
|
@@ -1199,7 +1199,7 @@ var SESv2 = (function (_super) {
|
|
|
1199
1199
|
}
|
|
1200
1200
|
else if (typeof cb === "function") {
|
|
1201
1201
|
if (typeof optionsOrCb !== "object")
|
|
1202
|
-
throw new Error("Expect http options but get "
|
|
1202
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1203
1203
|
this.send(command, optionsOrCb || {}, cb);
|
|
1204
1204
|
}
|
|
1205
1205
|
else {
|
|
@@ -1213,7 +1213,7 @@ var SESv2 = (function (_super) {
|
|
|
1213
1213
|
}
|
|
1214
1214
|
else if (typeof cb === "function") {
|
|
1215
1215
|
if (typeof optionsOrCb !== "object")
|
|
1216
|
-
throw new Error("Expect http options but get "
|
|
1216
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1217
1217
|
this.send(command, optionsOrCb || {}, cb);
|
|
1218
1218
|
}
|
|
1219
1219
|
else {
|