@aws-sdk/client-pinpoint 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.
Files changed (131) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-cjs/PinpointClient.js +13 -13
  3. package/dist-cjs/commands/CreateAppCommand.js +3 -3
  4. package/dist-cjs/commands/CreateCampaignCommand.js +3 -3
  5. package/dist-cjs/commands/CreateEmailTemplateCommand.js +3 -3
  6. package/dist-cjs/commands/CreateExportJobCommand.js +3 -3
  7. package/dist-cjs/commands/CreateImportJobCommand.js +3 -3
  8. package/dist-cjs/commands/CreateInAppTemplateCommand.js +3 -3
  9. package/dist-cjs/commands/CreateJourneyCommand.js +3 -3
  10. package/dist-cjs/commands/CreatePushTemplateCommand.js +3 -3
  11. package/dist-cjs/commands/CreateRecommenderConfigurationCommand.js +3 -3
  12. package/dist-cjs/commands/CreateSegmentCommand.js +3 -3
  13. package/dist-cjs/commands/CreateSmsTemplateCommand.js +3 -3
  14. package/dist-cjs/commands/CreateVoiceTemplateCommand.js +3 -3
  15. package/dist-cjs/commands/DeleteAdmChannelCommand.js +3 -3
  16. package/dist-cjs/commands/DeleteApnsChannelCommand.js +3 -3
  17. package/dist-cjs/commands/DeleteApnsSandboxChannelCommand.js +3 -3
  18. package/dist-cjs/commands/DeleteApnsVoipChannelCommand.js +3 -3
  19. package/dist-cjs/commands/DeleteApnsVoipSandboxChannelCommand.js +3 -3
  20. package/dist-cjs/commands/DeleteAppCommand.js +3 -3
  21. package/dist-cjs/commands/DeleteBaiduChannelCommand.js +3 -3
  22. package/dist-cjs/commands/DeleteCampaignCommand.js +3 -3
  23. package/dist-cjs/commands/DeleteEmailChannelCommand.js +3 -3
  24. package/dist-cjs/commands/DeleteEmailTemplateCommand.js +3 -3
  25. package/dist-cjs/commands/DeleteEndpointCommand.js +3 -3
  26. package/dist-cjs/commands/DeleteEventStreamCommand.js +3 -3
  27. package/dist-cjs/commands/DeleteGcmChannelCommand.js +3 -3
  28. package/dist-cjs/commands/DeleteInAppTemplateCommand.js +3 -3
  29. package/dist-cjs/commands/DeleteJourneyCommand.js +3 -3
  30. package/dist-cjs/commands/DeletePushTemplateCommand.js +3 -3
  31. package/dist-cjs/commands/DeleteRecommenderConfigurationCommand.js +3 -3
  32. package/dist-cjs/commands/DeleteSegmentCommand.js +3 -3
  33. package/dist-cjs/commands/DeleteSmsChannelCommand.js +3 -3
  34. package/dist-cjs/commands/DeleteSmsTemplateCommand.js +3 -3
  35. package/dist-cjs/commands/DeleteUserEndpointsCommand.js +3 -3
  36. package/dist-cjs/commands/DeleteVoiceChannelCommand.js +3 -3
  37. package/dist-cjs/commands/DeleteVoiceTemplateCommand.js +3 -3
  38. package/dist-cjs/commands/GetAdmChannelCommand.js +3 -3
  39. package/dist-cjs/commands/GetApnsChannelCommand.js +3 -3
  40. package/dist-cjs/commands/GetApnsSandboxChannelCommand.js +3 -3
  41. package/dist-cjs/commands/GetApnsVoipChannelCommand.js +3 -3
  42. package/dist-cjs/commands/GetApnsVoipSandboxChannelCommand.js +3 -3
  43. package/dist-cjs/commands/GetAppCommand.js +3 -3
  44. package/dist-cjs/commands/GetApplicationDateRangeKpiCommand.js +3 -3
  45. package/dist-cjs/commands/GetApplicationSettingsCommand.js +3 -3
  46. package/dist-cjs/commands/GetAppsCommand.js +3 -3
  47. package/dist-cjs/commands/GetBaiduChannelCommand.js +3 -3
  48. package/dist-cjs/commands/GetCampaignActivitiesCommand.js +3 -3
  49. package/dist-cjs/commands/GetCampaignCommand.js +3 -3
  50. package/dist-cjs/commands/GetCampaignDateRangeKpiCommand.js +3 -3
  51. package/dist-cjs/commands/GetCampaignVersionCommand.js +3 -3
  52. package/dist-cjs/commands/GetCampaignVersionsCommand.js +3 -3
  53. package/dist-cjs/commands/GetCampaignsCommand.js +3 -3
  54. package/dist-cjs/commands/GetChannelsCommand.js +3 -3
  55. package/dist-cjs/commands/GetEmailChannelCommand.js +3 -3
  56. package/dist-cjs/commands/GetEmailTemplateCommand.js +3 -3
  57. package/dist-cjs/commands/GetEndpointCommand.js +3 -3
  58. package/dist-cjs/commands/GetEventStreamCommand.js +3 -3
  59. package/dist-cjs/commands/GetExportJobCommand.js +3 -3
  60. package/dist-cjs/commands/GetExportJobsCommand.js +3 -3
  61. package/dist-cjs/commands/GetGcmChannelCommand.js +3 -3
  62. package/dist-cjs/commands/GetImportJobCommand.js +3 -3
  63. package/dist-cjs/commands/GetImportJobsCommand.js +3 -3
  64. package/dist-cjs/commands/GetInAppMessagesCommand.js +3 -3
  65. package/dist-cjs/commands/GetInAppTemplateCommand.js +3 -3
  66. package/dist-cjs/commands/GetJourneyCommand.js +3 -3
  67. package/dist-cjs/commands/GetJourneyDateRangeKpiCommand.js +3 -3
  68. package/dist-cjs/commands/GetJourneyExecutionActivityMetricsCommand.js +3 -3
  69. package/dist-cjs/commands/GetJourneyExecutionMetricsCommand.js +3 -3
  70. package/dist-cjs/commands/GetPushTemplateCommand.js +3 -3
  71. package/dist-cjs/commands/GetRecommenderConfigurationCommand.js +3 -3
  72. package/dist-cjs/commands/GetRecommenderConfigurationsCommand.js +3 -3
  73. package/dist-cjs/commands/GetSegmentCommand.js +3 -3
  74. package/dist-cjs/commands/GetSegmentExportJobsCommand.js +3 -3
  75. package/dist-cjs/commands/GetSegmentImportJobsCommand.js +3 -3
  76. package/dist-cjs/commands/GetSegmentVersionCommand.js +3 -3
  77. package/dist-cjs/commands/GetSegmentVersionsCommand.js +3 -3
  78. package/dist-cjs/commands/GetSegmentsCommand.js +3 -3
  79. package/dist-cjs/commands/GetSmsChannelCommand.js +3 -3
  80. package/dist-cjs/commands/GetSmsTemplateCommand.js +3 -3
  81. package/dist-cjs/commands/GetUserEndpointsCommand.js +3 -3
  82. package/dist-cjs/commands/GetVoiceChannelCommand.js +3 -3
  83. package/dist-cjs/commands/GetVoiceTemplateCommand.js +3 -3
  84. package/dist-cjs/commands/ListJourneysCommand.js +3 -3
  85. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  86. package/dist-cjs/commands/ListTemplateVersionsCommand.js +3 -3
  87. package/dist-cjs/commands/ListTemplatesCommand.js +3 -3
  88. package/dist-cjs/commands/PhoneNumberValidateCommand.js +3 -3
  89. package/dist-cjs/commands/PutEventStreamCommand.js +3 -3
  90. package/dist-cjs/commands/PutEventsCommand.js +3 -3
  91. package/dist-cjs/commands/RemoveAttributesCommand.js +3 -3
  92. package/dist-cjs/commands/SendMessagesCommand.js +3 -3
  93. package/dist-cjs/commands/SendOTPMessageCommand.js +3 -3
  94. package/dist-cjs/commands/SendUsersMessagesCommand.js +3 -3
  95. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  96. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  97. package/dist-cjs/commands/UpdateAdmChannelCommand.js +3 -3
  98. package/dist-cjs/commands/UpdateApnsChannelCommand.js +3 -3
  99. package/dist-cjs/commands/UpdateApnsSandboxChannelCommand.js +3 -3
  100. package/dist-cjs/commands/UpdateApnsVoipChannelCommand.js +3 -3
  101. package/dist-cjs/commands/UpdateApnsVoipSandboxChannelCommand.js +3 -3
  102. package/dist-cjs/commands/UpdateApplicationSettingsCommand.js +3 -3
  103. package/dist-cjs/commands/UpdateBaiduChannelCommand.js +3 -3
  104. package/dist-cjs/commands/UpdateCampaignCommand.js +3 -3
  105. package/dist-cjs/commands/UpdateEmailChannelCommand.js +3 -3
  106. package/dist-cjs/commands/UpdateEmailTemplateCommand.js +3 -3
  107. package/dist-cjs/commands/UpdateEndpointCommand.js +3 -3
  108. package/dist-cjs/commands/UpdateEndpointsBatchCommand.js +3 -3
  109. package/dist-cjs/commands/UpdateGcmChannelCommand.js +3 -3
  110. package/dist-cjs/commands/UpdateInAppTemplateCommand.js +3 -3
  111. package/dist-cjs/commands/UpdateJourneyCommand.js +3 -3
  112. package/dist-cjs/commands/UpdateJourneyStateCommand.js +3 -3
  113. package/dist-cjs/commands/UpdatePushTemplateCommand.js +3 -3
  114. package/dist-cjs/commands/UpdateRecommenderConfigurationCommand.js +3 -3
  115. package/dist-cjs/commands/UpdateSegmentCommand.js +3 -3
  116. package/dist-cjs/commands/UpdateSmsChannelCommand.js +3 -3
  117. package/dist-cjs/commands/UpdateSmsTemplateCommand.js +3 -3
  118. package/dist-cjs/commands/UpdateTemplateActiveVersionCommand.js +3 -3
  119. package/dist-cjs/commands/UpdateVoiceChannelCommand.js +3 -3
  120. package/dist-cjs/commands/UpdateVoiceTemplateCommand.js +3 -3
  121. package/dist-cjs/commands/VerifyOTPMessageCommand.js +3 -3
  122. package/dist-cjs/endpoints.js +1 -1
  123. package/dist-cjs/protocols/Aws_restJson1.js +991 -991
  124. package/dist-cjs/runtimeConfig.browser.js +4 -4
  125. package/dist-cjs/runtimeConfig.js +9 -9
  126. package/dist-cjs/runtimeConfig.native.js +1 -1
  127. package/dist-es/Pinpoint.js +119 -119
  128. package/dist-es/protocols/Aws_restJson1.js +119 -119
  129. package/dist-types/runtimeConfig.native.d.ts +2 -2
  130. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
  131. package/package.json +34 -34
@@ -131,7 +131,7 @@ var Pinpoint = (function (_super) {
131
131
  }
132
132
  else if (typeof cb === "function") {
133
133
  if (typeof optionsOrCb !== "object")
134
- throw new Error("Expect http options but get " + typeof optionsOrCb);
134
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
135
135
  this.send(command, optionsOrCb || {}, cb);
136
136
  }
137
137
  else {
@@ -145,7 +145,7 @@ var Pinpoint = (function (_super) {
145
145
  }
146
146
  else if (typeof cb === "function") {
147
147
  if (typeof optionsOrCb !== "object")
148
- throw new Error("Expect http options but get " + typeof optionsOrCb);
148
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
149
149
  this.send(command, optionsOrCb || {}, cb);
150
150
  }
151
151
  else {
@@ -159,7 +159,7 @@ var Pinpoint = (function (_super) {
159
159
  }
160
160
  else if (typeof cb === "function") {
161
161
  if (typeof optionsOrCb !== "object")
162
- throw new Error("Expect http options but get " + typeof optionsOrCb);
162
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
163
163
  this.send(command, optionsOrCb || {}, cb);
164
164
  }
165
165
  else {
@@ -173,7 +173,7 @@ var Pinpoint = (function (_super) {
173
173
  }
174
174
  else if (typeof cb === "function") {
175
175
  if (typeof optionsOrCb !== "object")
176
- throw new Error("Expect http options but get " + typeof optionsOrCb);
176
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
177
177
  this.send(command, optionsOrCb || {}, cb);
178
178
  }
179
179
  else {
@@ -187,7 +187,7 @@ var Pinpoint = (function (_super) {
187
187
  }
188
188
  else if (typeof cb === "function") {
189
189
  if (typeof optionsOrCb !== "object")
190
- throw new Error("Expect http options but get " + typeof optionsOrCb);
190
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
191
191
  this.send(command, optionsOrCb || {}, cb);
192
192
  }
193
193
  else {
@@ -201,7 +201,7 @@ var Pinpoint = (function (_super) {
201
201
  }
202
202
  else if (typeof cb === "function") {
203
203
  if (typeof optionsOrCb !== "object")
204
- throw new Error("Expect http options but get " + typeof optionsOrCb);
204
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
205
205
  this.send(command, optionsOrCb || {}, cb);
206
206
  }
207
207
  else {
@@ -215,7 +215,7 @@ var Pinpoint = (function (_super) {
215
215
  }
216
216
  else if (typeof cb === "function") {
217
217
  if (typeof optionsOrCb !== "object")
218
- throw new Error("Expect http options but get " + typeof optionsOrCb);
218
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
219
219
  this.send(command, optionsOrCb || {}, cb);
220
220
  }
221
221
  else {
@@ -229,7 +229,7 @@ var Pinpoint = (function (_super) {
229
229
  }
230
230
  else if (typeof cb === "function") {
231
231
  if (typeof optionsOrCb !== "object")
232
- throw new Error("Expect http options but get " + typeof optionsOrCb);
232
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
233
233
  this.send(command, optionsOrCb || {}, cb);
234
234
  }
235
235
  else {
@@ -243,7 +243,7 @@ var Pinpoint = (function (_super) {
243
243
  }
244
244
  else if (typeof cb === "function") {
245
245
  if (typeof optionsOrCb !== "object")
246
- throw new Error("Expect http options but get " + typeof optionsOrCb);
246
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
247
247
  this.send(command, optionsOrCb || {}, cb);
248
248
  }
249
249
  else {
@@ -257,7 +257,7 @@ var Pinpoint = (function (_super) {
257
257
  }
258
258
  else if (typeof cb === "function") {
259
259
  if (typeof optionsOrCb !== "object")
260
- throw new Error("Expect http options but get " + typeof optionsOrCb);
260
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
261
261
  this.send(command, optionsOrCb || {}, cb);
262
262
  }
263
263
  else {
@@ -271,7 +271,7 @@ var Pinpoint = (function (_super) {
271
271
  }
272
272
  else if (typeof cb === "function") {
273
273
  if (typeof optionsOrCb !== "object")
274
- throw new Error("Expect http options but get " + typeof optionsOrCb);
274
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
275
275
  this.send(command, optionsOrCb || {}, cb);
276
276
  }
277
277
  else {
@@ -285,7 +285,7 @@ var Pinpoint = (function (_super) {
285
285
  }
286
286
  else if (typeof cb === "function") {
287
287
  if (typeof optionsOrCb !== "object")
288
- throw new Error("Expect http options but get " + typeof optionsOrCb);
288
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
289
289
  this.send(command, optionsOrCb || {}, cb);
290
290
  }
291
291
  else {
@@ -299,7 +299,7 @@ var Pinpoint = (function (_super) {
299
299
  }
300
300
  else if (typeof cb === "function") {
301
301
  if (typeof optionsOrCb !== "object")
302
- throw new Error("Expect http options but get " + typeof optionsOrCb);
302
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
303
303
  this.send(command, optionsOrCb || {}, cb);
304
304
  }
305
305
  else {
@@ -313,7 +313,7 @@ var Pinpoint = (function (_super) {
313
313
  }
314
314
  else if (typeof cb === "function") {
315
315
  if (typeof optionsOrCb !== "object")
316
- throw new Error("Expect http options but get " + typeof optionsOrCb);
316
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
317
317
  this.send(command, optionsOrCb || {}, cb);
318
318
  }
319
319
  else {
@@ -327,7 +327,7 @@ var Pinpoint = (function (_super) {
327
327
  }
328
328
  else if (typeof cb === "function") {
329
329
  if (typeof optionsOrCb !== "object")
330
- throw new Error("Expect http options but get " + typeof optionsOrCb);
330
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
331
331
  this.send(command, optionsOrCb || {}, cb);
332
332
  }
333
333
  else {
@@ -341,7 +341,7 @@ var Pinpoint = (function (_super) {
341
341
  }
342
342
  else if (typeof cb === "function") {
343
343
  if (typeof optionsOrCb !== "object")
344
- throw new Error("Expect http options but get " + typeof optionsOrCb);
344
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
345
345
  this.send(command, optionsOrCb || {}, cb);
346
346
  }
347
347
  else {
@@ -355,7 +355,7 @@ var Pinpoint = (function (_super) {
355
355
  }
356
356
  else if (typeof cb === "function") {
357
357
  if (typeof optionsOrCb !== "object")
358
- throw new Error("Expect http options but get " + typeof optionsOrCb);
358
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
359
359
  this.send(command, optionsOrCb || {}, cb);
360
360
  }
361
361
  else {
@@ -369,7 +369,7 @@ var Pinpoint = (function (_super) {
369
369
  }
370
370
  else if (typeof cb === "function") {
371
371
  if (typeof optionsOrCb !== "object")
372
- throw new Error("Expect http options but get " + typeof optionsOrCb);
372
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
373
373
  this.send(command, optionsOrCb || {}, cb);
374
374
  }
375
375
  else {
@@ -383,7 +383,7 @@ var Pinpoint = (function (_super) {
383
383
  }
384
384
  else if (typeof cb === "function") {
385
385
  if (typeof optionsOrCb !== "object")
386
- throw new Error("Expect http options but get " + typeof optionsOrCb);
386
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
387
387
  this.send(command, optionsOrCb || {}, cb);
388
388
  }
389
389
  else {
@@ -397,7 +397,7 @@ var Pinpoint = (function (_super) {
397
397
  }
398
398
  else if (typeof cb === "function") {
399
399
  if (typeof optionsOrCb !== "object")
400
- throw new Error("Expect http options but get " + typeof optionsOrCb);
400
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
401
401
  this.send(command, optionsOrCb || {}, cb);
402
402
  }
403
403
  else {
@@ -411,7 +411,7 @@ var Pinpoint = (function (_super) {
411
411
  }
412
412
  else if (typeof cb === "function") {
413
413
  if (typeof optionsOrCb !== "object")
414
- throw new Error("Expect http options but get " + typeof optionsOrCb);
414
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
415
415
  this.send(command, optionsOrCb || {}, cb);
416
416
  }
417
417
  else {
@@ -425,7 +425,7 @@ var Pinpoint = (function (_super) {
425
425
  }
426
426
  else if (typeof cb === "function") {
427
427
  if (typeof optionsOrCb !== "object")
428
- throw new Error("Expect http options but get " + typeof optionsOrCb);
428
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
429
429
  this.send(command, optionsOrCb || {}, cb);
430
430
  }
431
431
  else {
@@ -439,7 +439,7 @@ var Pinpoint = (function (_super) {
439
439
  }
440
440
  else if (typeof cb === "function") {
441
441
  if (typeof optionsOrCb !== "object")
442
- throw new Error("Expect http options but get " + typeof optionsOrCb);
442
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
443
443
  this.send(command, optionsOrCb || {}, cb);
444
444
  }
445
445
  else {
@@ -453,7 +453,7 @@ var Pinpoint = (function (_super) {
453
453
  }
454
454
  else if (typeof cb === "function") {
455
455
  if (typeof optionsOrCb !== "object")
456
- throw new Error("Expect http options but get " + typeof optionsOrCb);
456
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
457
457
  this.send(command, optionsOrCb || {}, cb);
458
458
  }
459
459
  else {
@@ -467,7 +467,7 @@ var Pinpoint = (function (_super) {
467
467
  }
468
468
  else if (typeof cb === "function") {
469
469
  if (typeof optionsOrCb !== "object")
470
- throw new Error("Expect http options but get " + typeof optionsOrCb);
470
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
471
471
  this.send(command, optionsOrCb || {}, cb);
472
472
  }
473
473
  else {
@@ -481,7 +481,7 @@ var Pinpoint = (function (_super) {
481
481
  }
482
482
  else if (typeof cb === "function") {
483
483
  if (typeof optionsOrCb !== "object")
484
- throw new Error("Expect http options but get " + typeof optionsOrCb);
484
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
485
485
  this.send(command, optionsOrCb || {}, cb);
486
486
  }
487
487
  else {
@@ -495,7 +495,7 @@ var Pinpoint = (function (_super) {
495
495
  }
496
496
  else if (typeof cb === "function") {
497
497
  if (typeof optionsOrCb !== "object")
498
- throw new Error("Expect http options but get " + typeof optionsOrCb);
498
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
499
499
  this.send(command, optionsOrCb || {}, cb);
500
500
  }
501
501
  else {
@@ -509,7 +509,7 @@ var Pinpoint = (function (_super) {
509
509
  }
510
510
  else if (typeof cb === "function") {
511
511
  if (typeof optionsOrCb !== "object")
512
- throw new Error("Expect http options but get " + typeof optionsOrCb);
512
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
513
513
  this.send(command, optionsOrCb || {}, cb);
514
514
  }
515
515
  else {
@@ -523,7 +523,7 @@ var Pinpoint = (function (_super) {
523
523
  }
524
524
  else if (typeof cb === "function") {
525
525
  if (typeof optionsOrCb !== "object")
526
- throw new Error("Expect http options but get " + typeof optionsOrCb);
526
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
527
527
  this.send(command, optionsOrCb || {}, cb);
528
528
  }
529
529
  else {
@@ -537,7 +537,7 @@ var Pinpoint = (function (_super) {
537
537
  }
538
538
  else if (typeof cb === "function") {
539
539
  if (typeof optionsOrCb !== "object")
540
- throw new Error("Expect http options but get " + typeof optionsOrCb);
540
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
541
541
  this.send(command, optionsOrCb || {}, cb);
542
542
  }
543
543
  else {
@@ -551,7 +551,7 @@ var Pinpoint = (function (_super) {
551
551
  }
552
552
  else if (typeof cb === "function") {
553
553
  if (typeof optionsOrCb !== "object")
554
- throw new Error("Expect http options but get " + typeof optionsOrCb);
554
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
555
555
  this.send(command, optionsOrCb || {}, cb);
556
556
  }
557
557
  else {
@@ -565,7 +565,7 @@ var Pinpoint = (function (_super) {
565
565
  }
566
566
  else if (typeof cb === "function") {
567
567
  if (typeof optionsOrCb !== "object")
568
- throw new Error("Expect http options but get " + typeof optionsOrCb);
568
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
569
569
  this.send(command, optionsOrCb || {}, cb);
570
570
  }
571
571
  else {
@@ -579,7 +579,7 @@ var Pinpoint = (function (_super) {
579
579
  }
580
580
  else if (typeof cb === "function") {
581
581
  if (typeof optionsOrCb !== "object")
582
- throw new Error("Expect http options but get " + typeof optionsOrCb);
582
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
583
583
  this.send(command, optionsOrCb || {}, cb);
584
584
  }
585
585
  else {
@@ -593,7 +593,7 @@ var Pinpoint = (function (_super) {
593
593
  }
594
594
  else if (typeof cb === "function") {
595
595
  if (typeof optionsOrCb !== "object")
596
- throw new Error("Expect http options but get " + typeof optionsOrCb);
596
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
597
597
  this.send(command, optionsOrCb || {}, cb);
598
598
  }
599
599
  else {
@@ -607,7 +607,7 @@ var Pinpoint = (function (_super) {
607
607
  }
608
608
  else if (typeof cb === "function") {
609
609
  if (typeof optionsOrCb !== "object")
610
- throw new Error("Expect http options but get " + typeof optionsOrCb);
610
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
611
611
  this.send(command, optionsOrCb || {}, cb);
612
612
  }
613
613
  else {
@@ -621,7 +621,7 @@ var Pinpoint = (function (_super) {
621
621
  }
622
622
  else if (typeof cb === "function") {
623
623
  if (typeof optionsOrCb !== "object")
624
- throw new Error("Expect http options but get " + typeof optionsOrCb);
624
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
625
625
  this.send(command, optionsOrCb || {}, cb);
626
626
  }
627
627
  else {
@@ -635,7 +635,7 @@ var Pinpoint = (function (_super) {
635
635
  }
636
636
  else if (typeof cb === "function") {
637
637
  if (typeof optionsOrCb !== "object")
638
- throw new Error("Expect http options but get " + typeof optionsOrCb);
638
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
639
639
  this.send(command, optionsOrCb || {}, cb);
640
640
  }
641
641
  else {
@@ -649,7 +649,7 @@ var Pinpoint = (function (_super) {
649
649
  }
650
650
  else if (typeof cb === "function") {
651
651
  if (typeof optionsOrCb !== "object")
652
- throw new Error("Expect http options but get " + typeof optionsOrCb);
652
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
653
653
  this.send(command, optionsOrCb || {}, cb);
654
654
  }
655
655
  else {
@@ -663,7 +663,7 @@ var Pinpoint = (function (_super) {
663
663
  }
664
664
  else if (typeof cb === "function") {
665
665
  if (typeof optionsOrCb !== "object")
666
- throw new Error("Expect http options but get " + typeof optionsOrCb);
666
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
667
667
  this.send(command, optionsOrCb || {}, cb);
668
668
  }
669
669
  else {
@@ -677,7 +677,7 @@ var Pinpoint = (function (_super) {
677
677
  }
678
678
  else if (typeof cb === "function") {
679
679
  if (typeof optionsOrCb !== "object")
680
- throw new Error("Expect http options but get " + typeof optionsOrCb);
680
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
681
681
  this.send(command, optionsOrCb || {}, cb);
682
682
  }
683
683
  else {
@@ -691,7 +691,7 @@ var Pinpoint = (function (_super) {
691
691
  }
692
692
  else if (typeof cb === "function") {
693
693
  if (typeof optionsOrCb !== "object")
694
- throw new Error("Expect http options but get " + typeof optionsOrCb);
694
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
695
695
  this.send(command, optionsOrCb || {}, cb);
696
696
  }
697
697
  else {
@@ -705,7 +705,7 @@ var Pinpoint = (function (_super) {
705
705
  }
706
706
  else if (typeof cb === "function") {
707
707
  if (typeof optionsOrCb !== "object")
708
- throw new Error("Expect http options but get " + typeof optionsOrCb);
708
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
709
709
  this.send(command, optionsOrCb || {}, cb);
710
710
  }
711
711
  else {
@@ -719,7 +719,7 @@ var Pinpoint = (function (_super) {
719
719
  }
720
720
  else if (typeof cb === "function") {
721
721
  if (typeof optionsOrCb !== "object")
722
- throw new Error("Expect http options but get " + typeof optionsOrCb);
722
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
723
723
  this.send(command, optionsOrCb || {}, cb);
724
724
  }
725
725
  else {
@@ -733,7 +733,7 @@ var Pinpoint = (function (_super) {
733
733
  }
734
734
  else if (typeof cb === "function") {
735
735
  if (typeof optionsOrCb !== "object")
736
- throw new Error("Expect http options but get " + typeof optionsOrCb);
736
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
737
737
  this.send(command, optionsOrCb || {}, cb);
738
738
  }
739
739
  else {
@@ -747,7 +747,7 @@ var Pinpoint = (function (_super) {
747
747
  }
748
748
  else if (typeof cb === "function") {
749
749
  if (typeof optionsOrCb !== "object")
750
- throw new Error("Expect http options but get " + typeof optionsOrCb);
750
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
751
751
  this.send(command, optionsOrCb || {}, cb);
752
752
  }
753
753
  else {
@@ -761,7 +761,7 @@ var Pinpoint = (function (_super) {
761
761
  }
762
762
  else if (typeof cb === "function") {
763
763
  if (typeof optionsOrCb !== "object")
764
- throw new Error("Expect http options but get " + typeof optionsOrCb);
764
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
765
765
  this.send(command, optionsOrCb || {}, cb);
766
766
  }
767
767
  else {
@@ -775,7 +775,7 @@ var Pinpoint = (function (_super) {
775
775
  }
776
776
  else if (typeof cb === "function") {
777
777
  if (typeof optionsOrCb !== "object")
778
- throw new Error("Expect http options but get " + typeof optionsOrCb);
778
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
779
779
  this.send(command, optionsOrCb || {}, cb);
780
780
  }
781
781
  else {
@@ -789,7 +789,7 @@ var Pinpoint = (function (_super) {
789
789
  }
790
790
  else if (typeof cb === "function") {
791
791
  if (typeof optionsOrCb !== "object")
792
- throw new Error("Expect http options but get " + typeof optionsOrCb);
792
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
793
793
  this.send(command, optionsOrCb || {}, cb);
794
794
  }
795
795
  else {
@@ -803,7 +803,7 @@ var Pinpoint = (function (_super) {
803
803
  }
804
804
  else if (typeof cb === "function") {
805
805
  if (typeof optionsOrCb !== "object")
806
- throw new Error("Expect http options but get " + typeof optionsOrCb);
806
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
807
807
  this.send(command, optionsOrCb || {}, cb);
808
808
  }
809
809
  else {
@@ -817,7 +817,7 @@ var Pinpoint = (function (_super) {
817
817
  }
818
818
  else if (typeof cb === "function") {
819
819
  if (typeof optionsOrCb !== "object")
820
- throw new Error("Expect http options but get " + typeof optionsOrCb);
820
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
821
821
  this.send(command, optionsOrCb || {}, cb);
822
822
  }
823
823
  else {
@@ -831,7 +831,7 @@ var Pinpoint = (function (_super) {
831
831
  }
832
832
  else if (typeof cb === "function") {
833
833
  if (typeof optionsOrCb !== "object")
834
- throw new Error("Expect http options but get " + typeof optionsOrCb);
834
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
835
835
  this.send(command, optionsOrCb || {}, cb);
836
836
  }
837
837
  else {
@@ -845,7 +845,7 @@ var Pinpoint = (function (_super) {
845
845
  }
846
846
  else if (typeof cb === "function") {
847
847
  if (typeof optionsOrCb !== "object")
848
- throw new Error("Expect http options but get " + typeof optionsOrCb);
848
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
849
849
  this.send(command, optionsOrCb || {}, cb);
850
850
  }
851
851
  else {
@@ -859,7 +859,7 @@ var Pinpoint = (function (_super) {
859
859
  }
860
860
  else if (typeof cb === "function") {
861
861
  if (typeof optionsOrCb !== "object")
862
- throw new Error("Expect http options but get " + typeof optionsOrCb);
862
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
863
863
  this.send(command, optionsOrCb || {}, cb);
864
864
  }
865
865
  else {
@@ -873,7 +873,7 @@ var Pinpoint = (function (_super) {
873
873
  }
874
874
  else if (typeof cb === "function") {
875
875
  if (typeof optionsOrCb !== "object")
876
- throw new Error("Expect http options but get " + typeof optionsOrCb);
876
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
877
877
  this.send(command, optionsOrCb || {}, cb);
878
878
  }
879
879
  else {
@@ -887,7 +887,7 @@ var Pinpoint = (function (_super) {
887
887
  }
888
888
  else if (typeof cb === "function") {
889
889
  if (typeof optionsOrCb !== "object")
890
- throw new Error("Expect http options but get " + typeof optionsOrCb);
890
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
891
891
  this.send(command, optionsOrCb || {}, cb);
892
892
  }
893
893
  else {
@@ -901,7 +901,7 @@ var Pinpoint = (function (_super) {
901
901
  }
902
902
  else if (typeof cb === "function") {
903
903
  if (typeof optionsOrCb !== "object")
904
- throw new Error("Expect http options but get " + typeof optionsOrCb);
904
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
905
905
  this.send(command, optionsOrCb || {}, cb);
906
906
  }
907
907
  else {
@@ -915,7 +915,7 @@ var Pinpoint = (function (_super) {
915
915
  }
916
916
  else if (typeof cb === "function") {
917
917
  if (typeof optionsOrCb !== "object")
918
- throw new Error("Expect http options but get " + typeof optionsOrCb);
918
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
919
919
  this.send(command, optionsOrCb || {}, cb);
920
920
  }
921
921
  else {
@@ -929,7 +929,7 @@ var Pinpoint = (function (_super) {
929
929
  }
930
930
  else if (typeof cb === "function") {
931
931
  if (typeof optionsOrCb !== "object")
932
- throw new Error("Expect http options but get " + typeof optionsOrCb);
932
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
933
933
  this.send(command, optionsOrCb || {}, cb);
934
934
  }
935
935
  else {
@@ -943,7 +943,7 @@ var Pinpoint = (function (_super) {
943
943
  }
944
944
  else if (typeof cb === "function") {
945
945
  if (typeof optionsOrCb !== "object")
946
- throw new Error("Expect http options but get " + typeof optionsOrCb);
946
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
947
947
  this.send(command, optionsOrCb || {}, cb);
948
948
  }
949
949
  else {
@@ -957,7 +957,7 @@ var Pinpoint = (function (_super) {
957
957
  }
958
958
  else if (typeof cb === "function") {
959
959
  if (typeof optionsOrCb !== "object")
960
- throw new Error("Expect http options but get " + typeof optionsOrCb);
960
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
961
961
  this.send(command, optionsOrCb || {}, cb);
962
962
  }
963
963
  else {
@@ -971,7 +971,7 @@ var Pinpoint = (function (_super) {
971
971
  }
972
972
  else if (typeof cb === "function") {
973
973
  if (typeof optionsOrCb !== "object")
974
- throw new Error("Expect http options but get " + typeof optionsOrCb);
974
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
975
975
  this.send(command, optionsOrCb || {}, cb);
976
976
  }
977
977
  else {
@@ -985,7 +985,7 @@ var Pinpoint = (function (_super) {
985
985
  }
986
986
  else if (typeof cb === "function") {
987
987
  if (typeof optionsOrCb !== "object")
988
- throw new Error("Expect http options but get " + typeof optionsOrCb);
988
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
989
989
  this.send(command, optionsOrCb || {}, cb);
990
990
  }
991
991
  else {
@@ -999,7 +999,7 @@ var Pinpoint = (function (_super) {
999
999
  }
1000
1000
  else if (typeof cb === "function") {
1001
1001
  if (typeof optionsOrCb !== "object")
1002
- throw new Error("Expect http options but get " + typeof optionsOrCb);
1002
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1003
1003
  this.send(command, optionsOrCb || {}, cb);
1004
1004
  }
1005
1005
  else {
@@ -1013,7 +1013,7 @@ var Pinpoint = (function (_super) {
1013
1013
  }
1014
1014
  else if (typeof cb === "function") {
1015
1015
  if (typeof optionsOrCb !== "object")
1016
- throw new Error("Expect http options but get " + typeof optionsOrCb);
1016
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1017
1017
  this.send(command, optionsOrCb || {}, cb);
1018
1018
  }
1019
1019
  else {
@@ -1027,7 +1027,7 @@ var Pinpoint = (function (_super) {
1027
1027
  }
1028
1028
  else if (typeof cb === "function") {
1029
1029
  if (typeof optionsOrCb !== "object")
1030
- throw new Error("Expect http options but get " + typeof optionsOrCb);
1030
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1031
1031
  this.send(command, optionsOrCb || {}, cb);
1032
1032
  }
1033
1033
  else {
@@ -1041,7 +1041,7 @@ var Pinpoint = (function (_super) {
1041
1041
  }
1042
1042
  else if (typeof cb === "function") {
1043
1043
  if (typeof optionsOrCb !== "object")
1044
- throw new Error("Expect http options but get " + typeof optionsOrCb);
1044
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1045
1045
  this.send(command, optionsOrCb || {}, cb);
1046
1046
  }
1047
1047
  else {
@@ -1055,7 +1055,7 @@ var Pinpoint = (function (_super) {
1055
1055
  }
1056
1056
  else if (typeof cb === "function") {
1057
1057
  if (typeof optionsOrCb !== "object")
1058
- throw new Error("Expect http options but get " + typeof optionsOrCb);
1058
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1059
1059
  this.send(command, optionsOrCb || {}, cb);
1060
1060
  }
1061
1061
  else {
@@ -1069,7 +1069,7 @@ var Pinpoint = (function (_super) {
1069
1069
  }
1070
1070
  else if (typeof cb === "function") {
1071
1071
  if (typeof optionsOrCb !== "object")
1072
- throw new Error("Expect http options but get " + typeof optionsOrCb);
1072
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1073
1073
  this.send(command, optionsOrCb || {}, cb);
1074
1074
  }
1075
1075
  else {
@@ -1083,7 +1083,7 @@ var Pinpoint = (function (_super) {
1083
1083
  }
1084
1084
  else if (typeof cb === "function") {
1085
1085
  if (typeof optionsOrCb !== "object")
1086
- throw new Error("Expect http options but get " + typeof optionsOrCb);
1086
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1087
1087
  this.send(command, optionsOrCb || {}, cb);
1088
1088
  }
1089
1089
  else {
@@ -1097,7 +1097,7 @@ var Pinpoint = (function (_super) {
1097
1097
  }
1098
1098
  else if (typeof cb === "function") {
1099
1099
  if (typeof optionsOrCb !== "object")
1100
- throw new Error("Expect http options but get " + typeof optionsOrCb);
1100
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1101
1101
  this.send(command, optionsOrCb || {}, cb);
1102
1102
  }
1103
1103
  else {
@@ -1111,7 +1111,7 @@ var Pinpoint = (function (_super) {
1111
1111
  }
1112
1112
  else if (typeof cb === "function") {
1113
1113
  if (typeof optionsOrCb !== "object")
1114
- throw new Error("Expect http options but get " + typeof optionsOrCb);
1114
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1115
1115
  this.send(command, optionsOrCb || {}, cb);
1116
1116
  }
1117
1117
  else {
@@ -1125,7 +1125,7 @@ var Pinpoint = (function (_super) {
1125
1125
  }
1126
1126
  else if (typeof cb === "function") {
1127
1127
  if (typeof optionsOrCb !== "object")
1128
- throw new Error("Expect http options but get " + typeof optionsOrCb);
1128
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1129
1129
  this.send(command, optionsOrCb || {}, cb);
1130
1130
  }
1131
1131
  else {
@@ -1139,7 +1139,7 @@ var Pinpoint = (function (_super) {
1139
1139
  }
1140
1140
  else if (typeof cb === "function") {
1141
1141
  if (typeof optionsOrCb !== "object")
1142
- throw new Error("Expect http options but get " + typeof optionsOrCb);
1142
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1143
1143
  this.send(command, optionsOrCb || {}, cb);
1144
1144
  }
1145
1145
  else {
@@ -1153,7 +1153,7 @@ var Pinpoint = (function (_super) {
1153
1153
  }
1154
1154
  else if (typeof cb === "function") {
1155
1155
  if (typeof optionsOrCb !== "object")
1156
- throw new Error("Expect http options but get " + typeof optionsOrCb);
1156
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1157
1157
  this.send(command, optionsOrCb || {}, cb);
1158
1158
  }
1159
1159
  else {
@@ -1167,7 +1167,7 @@ var Pinpoint = (function (_super) {
1167
1167
  }
1168
1168
  else if (typeof cb === "function") {
1169
1169
  if (typeof optionsOrCb !== "object")
1170
- throw new Error("Expect http options but get " + typeof optionsOrCb);
1170
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1171
1171
  this.send(command, optionsOrCb || {}, cb);
1172
1172
  }
1173
1173
  else {
@@ -1181,7 +1181,7 @@ var Pinpoint = (function (_super) {
1181
1181
  }
1182
1182
  else if (typeof cb === "function") {
1183
1183
  if (typeof optionsOrCb !== "object")
1184
- throw new Error("Expect http options but get " + typeof optionsOrCb);
1184
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1185
1185
  this.send(command, optionsOrCb || {}, cb);
1186
1186
  }
1187
1187
  else {
@@ -1195,7 +1195,7 @@ var Pinpoint = (function (_super) {
1195
1195
  }
1196
1196
  else if (typeof cb === "function") {
1197
1197
  if (typeof optionsOrCb !== "object")
1198
- throw new Error("Expect http options but get " + typeof optionsOrCb);
1198
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1199
1199
  this.send(command, optionsOrCb || {}, cb);
1200
1200
  }
1201
1201
  else {
@@ -1209,7 +1209,7 @@ var Pinpoint = (function (_super) {
1209
1209
  }
1210
1210
  else if (typeof cb === "function") {
1211
1211
  if (typeof optionsOrCb !== "object")
1212
- throw new Error("Expect http options but get " + typeof optionsOrCb);
1212
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1213
1213
  this.send(command, optionsOrCb || {}, cb);
1214
1214
  }
1215
1215
  else {
@@ -1223,7 +1223,7 @@ var Pinpoint = (function (_super) {
1223
1223
  }
1224
1224
  else if (typeof cb === "function") {
1225
1225
  if (typeof optionsOrCb !== "object")
1226
- throw new Error("Expect http options but get " + typeof optionsOrCb);
1226
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1227
1227
  this.send(command, optionsOrCb || {}, cb);
1228
1228
  }
1229
1229
  else {
@@ -1237,7 +1237,7 @@ var Pinpoint = (function (_super) {
1237
1237
  }
1238
1238
  else if (typeof cb === "function") {
1239
1239
  if (typeof optionsOrCb !== "object")
1240
- throw new Error("Expect http options but get " + typeof optionsOrCb);
1240
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1241
1241
  this.send(command, optionsOrCb || {}, cb);
1242
1242
  }
1243
1243
  else {
@@ -1251,7 +1251,7 @@ var Pinpoint = (function (_super) {
1251
1251
  }
1252
1252
  else if (typeof cb === "function") {
1253
1253
  if (typeof optionsOrCb !== "object")
1254
- throw new Error("Expect http options but get " + typeof optionsOrCb);
1254
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1255
1255
  this.send(command, optionsOrCb || {}, cb);
1256
1256
  }
1257
1257
  else {
@@ -1265,7 +1265,7 @@ var Pinpoint = (function (_super) {
1265
1265
  }
1266
1266
  else if (typeof cb === "function") {
1267
1267
  if (typeof optionsOrCb !== "object")
1268
- throw new Error("Expect http options but get " + typeof optionsOrCb);
1268
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1269
1269
  this.send(command, optionsOrCb || {}, cb);
1270
1270
  }
1271
1271
  else {
@@ -1279,7 +1279,7 @@ var Pinpoint = (function (_super) {
1279
1279
  }
1280
1280
  else if (typeof cb === "function") {
1281
1281
  if (typeof optionsOrCb !== "object")
1282
- throw new Error("Expect http options but get " + typeof optionsOrCb);
1282
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1283
1283
  this.send(command, optionsOrCb || {}, cb);
1284
1284
  }
1285
1285
  else {
@@ -1293,7 +1293,7 @@ var Pinpoint = (function (_super) {
1293
1293
  }
1294
1294
  else if (typeof cb === "function") {
1295
1295
  if (typeof optionsOrCb !== "object")
1296
- throw new Error("Expect http options but get " + typeof optionsOrCb);
1296
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1297
1297
  this.send(command, optionsOrCb || {}, cb);
1298
1298
  }
1299
1299
  else {
@@ -1307,7 +1307,7 @@ var Pinpoint = (function (_super) {
1307
1307
  }
1308
1308
  else if (typeof cb === "function") {
1309
1309
  if (typeof optionsOrCb !== "object")
1310
- throw new Error("Expect http options but get " + typeof optionsOrCb);
1310
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1311
1311
  this.send(command, optionsOrCb || {}, cb);
1312
1312
  }
1313
1313
  else {
@@ -1321,7 +1321,7 @@ var Pinpoint = (function (_super) {
1321
1321
  }
1322
1322
  else if (typeof cb === "function") {
1323
1323
  if (typeof optionsOrCb !== "object")
1324
- throw new Error("Expect http options but get " + typeof optionsOrCb);
1324
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1325
1325
  this.send(command, optionsOrCb || {}, cb);
1326
1326
  }
1327
1327
  else {
@@ -1335,7 +1335,7 @@ var Pinpoint = (function (_super) {
1335
1335
  }
1336
1336
  else if (typeof cb === "function") {
1337
1337
  if (typeof optionsOrCb !== "object")
1338
- throw new Error("Expect http options but get " + typeof optionsOrCb);
1338
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1339
1339
  this.send(command, optionsOrCb || {}, cb);
1340
1340
  }
1341
1341
  else {
@@ -1349,7 +1349,7 @@ var Pinpoint = (function (_super) {
1349
1349
  }
1350
1350
  else if (typeof cb === "function") {
1351
1351
  if (typeof optionsOrCb !== "object")
1352
- throw new Error("Expect http options but get " + typeof optionsOrCb);
1352
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1353
1353
  this.send(command, optionsOrCb || {}, cb);
1354
1354
  }
1355
1355
  else {
@@ -1363,7 +1363,7 @@ var Pinpoint = (function (_super) {
1363
1363
  }
1364
1364
  else if (typeof cb === "function") {
1365
1365
  if (typeof optionsOrCb !== "object")
1366
- throw new Error("Expect http options but get " + typeof optionsOrCb);
1366
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1367
1367
  this.send(command, optionsOrCb || {}, cb);
1368
1368
  }
1369
1369
  else {
@@ -1377,7 +1377,7 @@ var Pinpoint = (function (_super) {
1377
1377
  }
1378
1378
  else if (typeof cb === "function") {
1379
1379
  if (typeof optionsOrCb !== "object")
1380
- throw new Error("Expect http options but get " + typeof optionsOrCb);
1380
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1381
1381
  this.send(command, optionsOrCb || {}, cb);
1382
1382
  }
1383
1383
  else {
@@ -1391,7 +1391,7 @@ var Pinpoint = (function (_super) {
1391
1391
  }
1392
1392
  else if (typeof cb === "function") {
1393
1393
  if (typeof optionsOrCb !== "object")
1394
- throw new Error("Expect http options but get " + typeof optionsOrCb);
1394
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1395
1395
  this.send(command, optionsOrCb || {}, cb);
1396
1396
  }
1397
1397
  else {
@@ -1405,7 +1405,7 @@ var Pinpoint = (function (_super) {
1405
1405
  }
1406
1406
  else if (typeof cb === "function") {
1407
1407
  if (typeof optionsOrCb !== "object")
1408
- throw new Error("Expect http options but get " + typeof optionsOrCb);
1408
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1409
1409
  this.send(command, optionsOrCb || {}, cb);
1410
1410
  }
1411
1411
  else {
@@ -1419,7 +1419,7 @@ var Pinpoint = (function (_super) {
1419
1419
  }
1420
1420
  else if (typeof cb === "function") {
1421
1421
  if (typeof optionsOrCb !== "object")
1422
- throw new Error("Expect http options but get " + typeof optionsOrCb);
1422
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1423
1423
  this.send(command, optionsOrCb || {}, cb);
1424
1424
  }
1425
1425
  else {
@@ -1433,7 +1433,7 @@ var Pinpoint = (function (_super) {
1433
1433
  }
1434
1434
  else if (typeof cb === "function") {
1435
1435
  if (typeof optionsOrCb !== "object")
1436
- throw new Error("Expect http options but get " + typeof optionsOrCb);
1436
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1437
1437
  this.send(command, optionsOrCb || {}, cb);
1438
1438
  }
1439
1439
  else {
@@ -1447,7 +1447,7 @@ var Pinpoint = (function (_super) {
1447
1447
  }
1448
1448
  else if (typeof cb === "function") {
1449
1449
  if (typeof optionsOrCb !== "object")
1450
- throw new Error("Expect http options but get " + typeof optionsOrCb);
1450
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1451
1451
  this.send(command, optionsOrCb || {}, cb);
1452
1452
  }
1453
1453
  else {
@@ -1461,7 +1461,7 @@ var Pinpoint = (function (_super) {
1461
1461
  }
1462
1462
  else if (typeof cb === "function") {
1463
1463
  if (typeof optionsOrCb !== "object")
1464
- throw new Error("Expect http options but get " + typeof optionsOrCb);
1464
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1465
1465
  this.send(command, optionsOrCb || {}, cb);
1466
1466
  }
1467
1467
  else {
@@ -1475,7 +1475,7 @@ var Pinpoint = (function (_super) {
1475
1475
  }
1476
1476
  else if (typeof cb === "function") {
1477
1477
  if (typeof optionsOrCb !== "object")
1478
- throw new Error("Expect http options but get " + typeof optionsOrCb);
1478
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1479
1479
  this.send(command, optionsOrCb || {}, cb);
1480
1480
  }
1481
1481
  else {
@@ -1489,7 +1489,7 @@ var Pinpoint = (function (_super) {
1489
1489
  }
1490
1490
  else if (typeof cb === "function") {
1491
1491
  if (typeof optionsOrCb !== "object")
1492
- throw new Error("Expect http options but get " + typeof optionsOrCb);
1492
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1493
1493
  this.send(command, optionsOrCb || {}, cb);
1494
1494
  }
1495
1495
  else {
@@ -1503,7 +1503,7 @@ var Pinpoint = (function (_super) {
1503
1503
  }
1504
1504
  else if (typeof cb === "function") {
1505
1505
  if (typeof optionsOrCb !== "object")
1506
- throw new Error("Expect http options but get " + typeof optionsOrCb);
1506
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1507
1507
  this.send(command, optionsOrCb || {}, cb);
1508
1508
  }
1509
1509
  else {
@@ -1517,7 +1517,7 @@ var Pinpoint = (function (_super) {
1517
1517
  }
1518
1518
  else if (typeof cb === "function") {
1519
1519
  if (typeof optionsOrCb !== "object")
1520
- throw new Error("Expect http options but get " + typeof optionsOrCb);
1520
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1521
1521
  this.send(command, optionsOrCb || {}, cb);
1522
1522
  }
1523
1523
  else {
@@ -1531,7 +1531,7 @@ var Pinpoint = (function (_super) {
1531
1531
  }
1532
1532
  else if (typeof cb === "function") {
1533
1533
  if (typeof optionsOrCb !== "object")
1534
- throw new Error("Expect http options but get " + typeof optionsOrCb);
1534
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1535
1535
  this.send(command, optionsOrCb || {}, cb);
1536
1536
  }
1537
1537
  else {
@@ -1545,7 +1545,7 @@ var Pinpoint = (function (_super) {
1545
1545
  }
1546
1546
  else if (typeof cb === "function") {
1547
1547
  if (typeof optionsOrCb !== "object")
1548
- throw new Error("Expect http options but get " + typeof optionsOrCb);
1548
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1549
1549
  this.send(command, optionsOrCb || {}, cb);
1550
1550
  }
1551
1551
  else {
@@ -1559,7 +1559,7 @@ var Pinpoint = (function (_super) {
1559
1559
  }
1560
1560
  else if (typeof cb === "function") {
1561
1561
  if (typeof optionsOrCb !== "object")
1562
- throw new Error("Expect http options but get " + typeof optionsOrCb);
1562
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1563
1563
  this.send(command, optionsOrCb || {}, cb);
1564
1564
  }
1565
1565
  else {
@@ -1573,7 +1573,7 @@ var Pinpoint = (function (_super) {
1573
1573
  }
1574
1574
  else if (typeof cb === "function") {
1575
1575
  if (typeof optionsOrCb !== "object")
1576
- throw new Error("Expect http options but get " + typeof optionsOrCb);
1576
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1577
1577
  this.send(command, optionsOrCb || {}, cb);
1578
1578
  }
1579
1579
  else {
@@ -1587,7 +1587,7 @@ var Pinpoint = (function (_super) {
1587
1587
  }
1588
1588
  else if (typeof cb === "function") {
1589
1589
  if (typeof optionsOrCb !== "object")
1590
- throw new Error("Expect http options but get " + typeof optionsOrCb);
1590
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1591
1591
  this.send(command, optionsOrCb || {}, cb);
1592
1592
  }
1593
1593
  else {
@@ -1601,7 +1601,7 @@ var Pinpoint = (function (_super) {
1601
1601
  }
1602
1602
  else if (typeof cb === "function") {
1603
1603
  if (typeof optionsOrCb !== "object")
1604
- throw new Error("Expect http options but get " + typeof optionsOrCb);
1604
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1605
1605
  this.send(command, optionsOrCb || {}, cb);
1606
1606
  }
1607
1607
  else {
@@ -1615,7 +1615,7 @@ var Pinpoint = (function (_super) {
1615
1615
  }
1616
1616
  else if (typeof cb === "function") {
1617
1617
  if (typeof optionsOrCb !== "object")
1618
- throw new Error("Expect http options but get " + typeof optionsOrCb);
1618
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1619
1619
  this.send(command, optionsOrCb || {}, cb);
1620
1620
  }
1621
1621
  else {
@@ -1629,7 +1629,7 @@ var Pinpoint = (function (_super) {
1629
1629
  }
1630
1630
  else if (typeof cb === "function") {
1631
1631
  if (typeof optionsOrCb !== "object")
1632
- throw new Error("Expect http options but get " + typeof optionsOrCb);
1632
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1633
1633
  this.send(command, optionsOrCb || {}, cb);
1634
1634
  }
1635
1635
  else {
@@ -1643,7 +1643,7 @@ var Pinpoint = (function (_super) {
1643
1643
  }
1644
1644
  else if (typeof cb === "function") {
1645
1645
  if (typeof optionsOrCb !== "object")
1646
- throw new Error("Expect http options but get " + typeof optionsOrCb);
1646
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1647
1647
  this.send(command, optionsOrCb || {}, cb);
1648
1648
  }
1649
1649
  else {
@@ -1657,7 +1657,7 @@ var Pinpoint = (function (_super) {
1657
1657
  }
1658
1658
  else if (typeof cb === "function") {
1659
1659
  if (typeof optionsOrCb !== "object")
1660
- throw new Error("Expect http options but get " + typeof optionsOrCb);
1660
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1661
1661
  this.send(command, optionsOrCb || {}, cb);
1662
1662
  }
1663
1663
  else {
@@ -1671,7 +1671,7 @@ var Pinpoint = (function (_super) {
1671
1671
  }
1672
1672
  else if (typeof cb === "function") {
1673
1673
  if (typeof optionsOrCb !== "object")
1674
- throw new Error("Expect http options but get " + typeof optionsOrCb);
1674
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1675
1675
  this.send(command, optionsOrCb || {}, cb);
1676
1676
  }
1677
1677
  else {
@@ -1685,7 +1685,7 @@ var Pinpoint = (function (_super) {
1685
1685
  }
1686
1686
  else if (typeof cb === "function") {
1687
1687
  if (typeof optionsOrCb !== "object")
1688
- throw new Error("Expect http options but get " + typeof optionsOrCb);
1688
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1689
1689
  this.send(command, optionsOrCb || {}, cb);
1690
1690
  }
1691
1691
  else {
@@ -1699,7 +1699,7 @@ var Pinpoint = (function (_super) {
1699
1699
  }
1700
1700
  else if (typeof cb === "function") {
1701
1701
  if (typeof optionsOrCb !== "object")
1702
- throw new Error("Expect http options but get " + typeof optionsOrCb);
1702
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1703
1703
  this.send(command, optionsOrCb || {}, cb);
1704
1704
  }
1705
1705
  else {
@@ -1713,7 +1713,7 @@ var Pinpoint = (function (_super) {
1713
1713
  }
1714
1714
  else if (typeof cb === "function") {
1715
1715
  if (typeof optionsOrCb !== "object")
1716
- throw new Error("Expect http options but get " + typeof optionsOrCb);
1716
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1717
1717
  this.send(command, optionsOrCb || {}, cb);
1718
1718
  }
1719
1719
  else {
@@ -1727,7 +1727,7 @@ var Pinpoint = (function (_super) {
1727
1727
  }
1728
1728
  else if (typeof cb === "function") {
1729
1729
  if (typeof optionsOrCb !== "object")
1730
- throw new Error("Expect http options but get " + typeof optionsOrCb);
1730
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1731
1731
  this.send(command, optionsOrCb || {}, cb);
1732
1732
  }
1733
1733
  else {
@@ -1741,7 +1741,7 @@ var Pinpoint = (function (_super) {
1741
1741
  }
1742
1742
  else if (typeof cb === "function") {
1743
1743
  if (typeof optionsOrCb !== "object")
1744
- throw new Error("Expect http options but get " + typeof optionsOrCb);
1744
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1745
1745
  this.send(command, optionsOrCb || {}, cb);
1746
1746
  }
1747
1747
  else {
@@ -1755,7 +1755,7 @@ var Pinpoint = (function (_super) {
1755
1755
  }
1756
1756
  else if (typeof cb === "function") {
1757
1757
  if (typeof optionsOrCb !== "object")
1758
- throw new Error("Expect http options but get " + typeof optionsOrCb);
1758
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1759
1759
  this.send(command, optionsOrCb || {}, cb);
1760
1760
  }
1761
1761
  else {
@@ -1769,7 +1769,7 @@ var Pinpoint = (function (_super) {
1769
1769
  }
1770
1770
  else if (typeof cb === "function") {
1771
1771
  if (typeof optionsOrCb !== "object")
1772
- throw new Error("Expect http options but get " + typeof optionsOrCb);
1772
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1773
1773
  this.send(command, optionsOrCb || {}, cb);
1774
1774
  }
1775
1775
  else {
@@ -1783,7 +1783,7 @@ var Pinpoint = (function (_super) {
1783
1783
  }
1784
1784
  else if (typeof cb === "function") {
1785
1785
  if (typeof optionsOrCb !== "object")
1786
- throw new Error("Expect http options but get " + typeof optionsOrCb);
1786
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1787
1787
  this.send(command, optionsOrCb || {}, cb);
1788
1788
  }
1789
1789
  else {