@aws-sdk/client-sqs 3.312.0 → 3.316.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/SQS.js +24 -280
- package/dist-cjs/protocols/Aws_query.js +41 -60
- package/dist-es/SQS.js +24 -280
- package/dist-es/protocols/Aws_query.js +42 -61
- package/dist-types/SQS.d.ts +95 -466
- package/dist-types/ts3.4/SQS.d.ts +2 -1
- package/package.json +6 -6
|
@@ -234,7 +234,7 @@ const de_AddPermissionCommand = async (output, context) => {
|
|
|
234
234
|
const response = {
|
|
235
235
|
$metadata: deserializeMetadata(output),
|
|
236
236
|
};
|
|
237
|
-
return
|
|
237
|
+
return response;
|
|
238
238
|
};
|
|
239
239
|
exports.de_AddPermissionCommand = de_AddPermissionCommand;
|
|
240
240
|
const de_AddPermissionCommandError = async (output, context) => {
|
|
@@ -249,10 +249,9 @@ const de_AddPermissionCommandError = async (output, context) => {
|
|
|
249
249
|
throw await de_OverLimitRes(parsedOutput, context);
|
|
250
250
|
default:
|
|
251
251
|
const parsedBody = parsedOutput.body;
|
|
252
|
-
|
|
252
|
+
return throwDefaultError({
|
|
253
253
|
output,
|
|
254
254
|
parsedBody: parsedBody.Error,
|
|
255
|
-
exceptionCtor: SQSServiceException_1.SQSServiceException,
|
|
256
255
|
errorCode,
|
|
257
256
|
});
|
|
258
257
|
}
|
|
@@ -265,7 +264,7 @@ const de_ChangeMessageVisibilityCommand = async (output, context) => {
|
|
|
265
264
|
const response = {
|
|
266
265
|
$metadata: deserializeMetadata(output),
|
|
267
266
|
};
|
|
268
|
-
return
|
|
267
|
+
return response;
|
|
269
268
|
};
|
|
270
269
|
exports.de_ChangeMessageVisibilityCommand = de_ChangeMessageVisibilityCommand;
|
|
271
270
|
const de_ChangeMessageVisibilityCommandError = async (output, context) => {
|
|
@@ -283,10 +282,9 @@ const de_ChangeMessageVisibilityCommandError = async (output, context) => {
|
|
|
283
282
|
throw await de_ReceiptHandleIsInvalidRes(parsedOutput, context);
|
|
284
283
|
default:
|
|
285
284
|
const parsedBody = parsedOutput.body;
|
|
286
|
-
|
|
285
|
+
return throwDefaultError({
|
|
287
286
|
output,
|
|
288
287
|
parsedBody: parsedBody.Error,
|
|
289
|
-
exceptionCtor: SQSServiceException_1.SQSServiceException,
|
|
290
288
|
errorCode,
|
|
291
289
|
});
|
|
292
290
|
}
|
|
@@ -302,7 +300,7 @@ const de_ChangeMessageVisibilityBatchCommand = async (output, context) => {
|
|
|
302
300
|
$metadata: deserializeMetadata(output),
|
|
303
301
|
...contents,
|
|
304
302
|
};
|
|
305
|
-
return
|
|
303
|
+
return response;
|
|
306
304
|
};
|
|
307
305
|
exports.de_ChangeMessageVisibilityBatchCommand = de_ChangeMessageVisibilityBatchCommand;
|
|
308
306
|
const de_ChangeMessageVisibilityBatchCommandError = async (output, context) => {
|
|
@@ -326,10 +324,9 @@ const de_ChangeMessageVisibilityBatchCommandError = async (output, context) => {
|
|
|
326
324
|
throw await de_TooManyEntriesInBatchRequestRes(parsedOutput, context);
|
|
327
325
|
default:
|
|
328
326
|
const parsedBody = parsedOutput.body;
|
|
329
|
-
|
|
327
|
+
return throwDefaultError({
|
|
330
328
|
output,
|
|
331
329
|
parsedBody: parsedBody.Error,
|
|
332
|
-
exceptionCtor: SQSServiceException_1.SQSServiceException,
|
|
333
330
|
errorCode,
|
|
334
331
|
});
|
|
335
332
|
}
|
|
@@ -345,7 +342,7 @@ const de_CreateQueueCommand = async (output, context) => {
|
|
|
345
342
|
$metadata: deserializeMetadata(output),
|
|
346
343
|
...contents,
|
|
347
344
|
};
|
|
348
|
-
return
|
|
345
|
+
return response;
|
|
349
346
|
};
|
|
350
347
|
exports.de_CreateQueueCommand = de_CreateQueueCommand;
|
|
351
348
|
const de_CreateQueueCommandError = async (output, context) => {
|
|
@@ -363,10 +360,9 @@ const de_CreateQueueCommandError = async (output, context) => {
|
|
|
363
360
|
throw await de_QueueNameExistsRes(parsedOutput, context);
|
|
364
361
|
default:
|
|
365
362
|
const parsedBody = parsedOutput.body;
|
|
366
|
-
|
|
363
|
+
return throwDefaultError({
|
|
367
364
|
output,
|
|
368
365
|
parsedBody: parsedBody.Error,
|
|
369
|
-
exceptionCtor: SQSServiceException_1.SQSServiceException,
|
|
370
366
|
errorCode,
|
|
371
367
|
});
|
|
372
368
|
}
|
|
@@ -379,7 +375,7 @@ const de_DeleteMessageCommand = async (output, context) => {
|
|
|
379
375
|
const response = {
|
|
380
376
|
$metadata: deserializeMetadata(output),
|
|
381
377
|
};
|
|
382
|
-
return
|
|
378
|
+
return response;
|
|
383
379
|
};
|
|
384
380
|
exports.de_DeleteMessageCommand = de_DeleteMessageCommand;
|
|
385
381
|
const de_DeleteMessageCommandError = async (output, context) => {
|
|
@@ -397,10 +393,9 @@ const de_DeleteMessageCommandError = async (output, context) => {
|
|
|
397
393
|
throw await de_ReceiptHandleIsInvalidRes(parsedOutput, context);
|
|
398
394
|
default:
|
|
399
395
|
const parsedBody = parsedOutput.body;
|
|
400
|
-
|
|
396
|
+
return throwDefaultError({
|
|
401
397
|
output,
|
|
402
398
|
parsedBody: parsedBody.Error,
|
|
403
|
-
exceptionCtor: SQSServiceException_1.SQSServiceException,
|
|
404
399
|
errorCode,
|
|
405
400
|
});
|
|
406
401
|
}
|
|
@@ -416,7 +411,7 @@ const de_DeleteMessageBatchCommand = async (output, context) => {
|
|
|
416
411
|
$metadata: deserializeMetadata(output),
|
|
417
412
|
...contents,
|
|
418
413
|
};
|
|
419
|
-
return
|
|
414
|
+
return response;
|
|
420
415
|
};
|
|
421
416
|
exports.de_DeleteMessageBatchCommand = de_DeleteMessageBatchCommand;
|
|
422
417
|
const de_DeleteMessageBatchCommandError = async (output, context) => {
|
|
@@ -440,10 +435,9 @@ const de_DeleteMessageBatchCommandError = async (output, context) => {
|
|
|
440
435
|
throw await de_TooManyEntriesInBatchRequestRes(parsedOutput, context);
|
|
441
436
|
default:
|
|
442
437
|
const parsedBody = parsedOutput.body;
|
|
443
|
-
|
|
438
|
+
return throwDefaultError({
|
|
444
439
|
output,
|
|
445
440
|
parsedBody: parsedBody.Error,
|
|
446
|
-
exceptionCtor: SQSServiceException_1.SQSServiceException,
|
|
447
441
|
errorCode,
|
|
448
442
|
});
|
|
449
443
|
}
|
|
@@ -456,7 +450,7 @@ const de_DeleteQueueCommand = async (output, context) => {
|
|
|
456
450
|
const response = {
|
|
457
451
|
$metadata: deserializeMetadata(output),
|
|
458
452
|
};
|
|
459
|
-
return
|
|
453
|
+
return response;
|
|
460
454
|
};
|
|
461
455
|
exports.de_DeleteQueueCommand = de_DeleteQueueCommand;
|
|
462
456
|
const de_DeleteQueueCommandError = async (output, context) => {
|
|
@@ -466,10 +460,9 @@ const de_DeleteQueueCommandError = async (output, context) => {
|
|
|
466
460
|
};
|
|
467
461
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
468
462
|
const parsedBody = parsedOutput.body;
|
|
469
|
-
|
|
463
|
+
return throwDefaultError({
|
|
470
464
|
output,
|
|
471
465
|
parsedBody: parsedBody.Error,
|
|
472
|
-
exceptionCtor: SQSServiceException_1.SQSServiceException,
|
|
473
466
|
errorCode,
|
|
474
467
|
});
|
|
475
468
|
};
|
|
@@ -484,7 +477,7 @@ const de_GetQueueAttributesCommand = async (output, context) => {
|
|
|
484
477
|
$metadata: deserializeMetadata(output),
|
|
485
478
|
...contents,
|
|
486
479
|
};
|
|
487
|
-
return
|
|
480
|
+
return response;
|
|
488
481
|
};
|
|
489
482
|
exports.de_GetQueueAttributesCommand = de_GetQueueAttributesCommand;
|
|
490
483
|
const de_GetQueueAttributesCommandError = async (output, context) => {
|
|
@@ -499,10 +492,9 @@ const de_GetQueueAttributesCommandError = async (output, context) => {
|
|
|
499
492
|
throw await de_InvalidAttributeNameRes(parsedOutput, context);
|
|
500
493
|
default:
|
|
501
494
|
const parsedBody = parsedOutput.body;
|
|
502
|
-
|
|
495
|
+
return throwDefaultError({
|
|
503
496
|
output,
|
|
504
497
|
parsedBody: parsedBody.Error,
|
|
505
|
-
exceptionCtor: SQSServiceException_1.SQSServiceException,
|
|
506
498
|
errorCode,
|
|
507
499
|
});
|
|
508
500
|
}
|
|
@@ -518,7 +510,7 @@ const de_GetQueueUrlCommand = async (output, context) => {
|
|
|
518
510
|
$metadata: deserializeMetadata(output),
|
|
519
511
|
...contents,
|
|
520
512
|
};
|
|
521
|
-
return
|
|
513
|
+
return response;
|
|
522
514
|
};
|
|
523
515
|
exports.de_GetQueueUrlCommand = de_GetQueueUrlCommand;
|
|
524
516
|
const de_GetQueueUrlCommandError = async (output, context) => {
|
|
@@ -533,10 +525,9 @@ const de_GetQueueUrlCommandError = async (output, context) => {
|
|
|
533
525
|
throw await de_QueueDoesNotExistRes(parsedOutput, context);
|
|
534
526
|
default:
|
|
535
527
|
const parsedBody = parsedOutput.body;
|
|
536
|
-
|
|
528
|
+
return throwDefaultError({
|
|
537
529
|
output,
|
|
538
530
|
parsedBody: parsedBody.Error,
|
|
539
|
-
exceptionCtor: SQSServiceException_1.SQSServiceException,
|
|
540
531
|
errorCode,
|
|
541
532
|
});
|
|
542
533
|
}
|
|
@@ -552,7 +543,7 @@ const de_ListDeadLetterSourceQueuesCommand = async (output, context) => {
|
|
|
552
543
|
$metadata: deserializeMetadata(output),
|
|
553
544
|
...contents,
|
|
554
545
|
};
|
|
555
|
-
return
|
|
546
|
+
return response;
|
|
556
547
|
};
|
|
557
548
|
exports.de_ListDeadLetterSourceQueuesCommand = de_ListDeadLetterSourceQueuesCommand;
|
|
558
549
|
const de_ListDeadLetterSourceQueuesCommandError = async (output, context) => {
|
|
@@ -567,10 +558,9 @@ const de_ListDeadLetterSourceQueuesCommandError = async (output, context) => {
|
|
|
567
558
|
throw await de_QueueDoesNotExistRes(parsedOutput, context);
|
|
568
559
|
default:
|
|
569
560
|
const parsedBody = parsedOutput.body;
|
|
570
|
-
|
|
561
|
+
return throwDefaultError({
|
|
571
562
|
output,
|
|
572
563
|
parsedBody: parsedBody.Error,
|
|
573
|
-
exceptionCtor: SQSServiceException_1.SQSServiceException,
|
|
574
564
|
errorCode,
|
|
575
565
|
});
|
|
576
566
|
}
|
|
@@ -586,7 +576,7 @@ const de_ListQueuesCommand = async (output, context) => {
|
|
|
586
576
|
$metadata: deserializeMetadata(output),
|
|
587
577
|
...contents,
|
|
588
578
|
};
|
|
589
|
-
return
|
|
579
|
+
return response;
|
|
590
580
|
};
|
|
591
581
|
exports.de_ListQueuesCommand = de_ListQueuesCommand;
|
|
592
582
|
const de_ListQueuesCommandError = async (output, context) => {
|
|
@@ -596,10 +586,9 @@ const de_ListQueuesCommandError = async (output, context) => {
|
|
|
596
586
|
};
|
|
597
587
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
598
588
|
const parsedBody = parsedOutput.body;
|
|
599
|
-
|
|
589
|
+
return throwDefaultError({
|
|
600
590
|
output,
|
|
601
591
|
parsedBody: parsedBody.Error,
|
|
602
|
-
exceptionCtor: SQSServiceException_1.SQSServiceException,
|
|
603
592
|
errorCode,
|
|
604
593
|
});
|
|
605
594
|
};
|
|
@@ -614,7 +603,7 @@ const de_ListQueueTagsCommand = async (output, context) => {
|
|
|
614
603
|
$metadata: deserializeMetadata(output),
|
|
615
604
|
...contents,
|
|
616
605
|
};
|
|
617
|
-
return
|
|
606
|
+
return response;
|
|
618
607
|
};
|
|
619
608
|
exports.de_ListQueueTagsCommand = de_ListQueueTagsCommand;
|
|
620
609
|
const de_ListQueueTagsCommandError = async (output, context) => {
|
|
@@ -624,10 +613,9 @@ const de_ListQueueTagsCommandError = async (output, context) => {
|
|
|
624
613
|
};
|
|
625
614
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
626
615
|
const parsedBody = parsedOutput.body;
|
|
627
|
-
|
|
616
|
+
return throwDefaultError({
|
|
628
617
|
output,
|
|
629
618
|
parsedBody: parsedBody.Error,
|
|
630
|
-
exceptionCtor: SQSServiceException_1.SQSServiceException,
|
|
631
619
|
errorCode,
|
|
632
620
|
});
|
|
633
621
|
};
|
|
@@ -639,7 +627,7 @@ const de_PurgeQueueCommand = async (output, context) => {
|
|
|
639
627
|
const response = {
|
|
640
628
|
$metadata: deserializeMetadata(output),
|
|
641
629
|
};
|
|
642
|
-
return
|
|
630
|
+
return response;
|
|
643
631
|
};
|
|
644
632
|
exports.de_PurgeQueueCommand = de_PurgeQueueCommand;
|
|
645
633
|
const de_PurgeQueueCommandError = async (output, context) => {
|
|
@@ -657,10 +645,9 @@ const de_PurgeQueueCommandError = async (output, context) => {
|
|
|
657
645
|
throw await de_PurgeQueueInProgressRes(parsedOutput, context);
|
|
658
646
|
default:
|
|
659
647
|
const parsedBody = parsedOutput.body;
|
|
660
|
-
|
|
648
|
+
return throwDefaultError({
|
|
661
649
|
output,
|
|
662
650
|
parsedBody: parsedBody.Error,
|
|
663
|
-
exceptionCtor: SQSServiceException_1.SQSServiceException,
|
|
664
651
|
errorCode,
|
|
665
652
|
});
|
|
666
653
|
}
|
|
@@ -676,7 +663,7 @@ const de_ReceiveMessageCommand = async (output, context) => {
|
|
|
676
663
|
$metadata: deserializeMetadata(output),
|
|
677
664
|
...contents,
|
|
678
665
|
};
|
|
679
|
-
return
|
|
666
|
+
return response;
|
|
680
667
|
};
|
|
681
668
|
exports.de_ReceiveMessageCommand = de_ReceiveMessageCommand;
|
|
682
669
|
const de_ReceiveMessageCommandError = async (output, context) => {
|
|
@@ -691,10 +678,9 @@ const de_ReceiveMessageCommandError = async (output, context) => {
|
|
|
691
678
|
throw await de_OverLimitRes(parsedOutput, context);
|
|
692
679
|
default:
|
|
693
680
|
const parsedBody = parsedOutput.body;
|
|
694
|
-
|
|
681
|
+
return throwDefaultError({
|
|
695
682
|
output,
|
|
696
683
|
parsedBody: parsedBody.Error,
|
|
697
|
-
exceptionCtor: SQSServiceException_1.SQSServiceException,
|
|
698
684
|
errorCode,
|
|
699
685
|
});
|
|
700
686
|
}
|
|
@@ -707,7 +693,7 @@ const de_RemovePermissionCommand = async (output, context) => {
|
|
|
707
693
|
const response = {
|
|
708
694
|
$metadata: deserializeMetadata(output),
|
|
709
695
|
};
|
|
710
|
-
return
|
|
696
|
+
return response;
|
|
711
697
|
};
|
|
712
698
|
exports.de_RemovePermissionCommand = de_RemovePermissionCommand;
|
|
713
699
|
const de_RemovePermissionCommandError = async (output, context) => {
|
|
@@ -717,10 +703,9 @@ const de_RemovePermissionCommandError = async (output, context) => {
|
|
|
717
703
|
};
|
|
718
704
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
719
705
|
const parsedBody = parsedOutput.body;
|
|
720
|
-
|
|
706
|
+
return throwDefaultError({
|
|
721
707
|
output,
|
|
722
708
|
parsedBody: parsedBody.Error,
|
|
723
|
-
exceptionCtor: SQSServiceException_1.SQSServiceException,
|
|
724
709
|
errorCode,
|
|
725
710
|
});
|
|
726
711
|
};
|
|
@@ -735,7 +720,7 @@ const de_SendMessageCommand = async (output, context) => {
|
|
|
735
720
|
$metadata: deserializeMetadata(output),
|
|
736
721
|
...contents,
|
|
737
722
|
};
|
|
738
|
-
return
|
|
723
|
+
return response;
|
|
739
724
|
};
|
|
740
725
|
exports.de_SendMessageCommand = de_SendMessageCommand;
|
|
741
726
|
const de_SendMessageCommandError = async (output, context) => {
|
|
@@ -753,10 +738,9 @@ const de_SendMessageCommandError = async (output, context) => {
|
|
|
753
738
|
throw await de_InvalidMessageContentsRes(parsedOutput, context);
|
|
754
739
|
default:
|
|
755
740
|
const parsedBody = parsedOutput.body;
|
|
756
|
-
|
|
741
|
+
return throwDefaultError({
|
|
757
742
|
output,
|
|
758
743
|
parsedBody: parsedBody.Error,
|
|
759
|
-
exceptionCtor: SQSServiceException_1.SQSServiceException,
|
|
760
744
|
errorCode,
|
|
761
745
|
});
|
|
762
746
|
}
|
|
@@ -772,7 +756,7 @@ const de_SendMessageBatchCommand = async (output, context) => {
|
|
|
772
756
|
$metadata: deserializeMetadata(output),
|
|
773
757
|
...contents,
|
|
774
758
|
};
|
|
775
|
-
return
|
|
759
|
+
return response;
|
|
776
760
|
};
|
|
777
761
|
exports.de_SendMessageBatchCommand = de_SendMessageBatchCommand;
|
|
778
762
|
const de_SendMessageBatchCommandError = async (output, context) => {
|
|
@@ -802,10 +786,9 @@ const de_SendMessageBatchCommandError = async (output, context) => {
|
|
|
802
786
|
throw await de_UnsupportedOperationRes(parsedOutput, context);
|
|
803
787
|
default:
|
|
804
788
|
const parsedBody = parsedOutput.body;
|
|
805
|
-
|
|
789
|
+
return throwDefaultError({
|
|
806
790
|
output,
|
|
807
791
|
parsedBody: parsedBody.Error,
|
|
808
|
-
exceptionCtor: SQSServiceException_1.SQSServiceException,
|
|
809
792
|
errorCode,
|
|
810
793
|
});
|
|
811
794
|
}
|
|
@@ -818,7 +801,7 @@ const de_SetQueueAttributesCommand = async (output, context) => {
|
|
|
818
801
|
const response = {
|
|
819
802
|
$metadata: deserializeMetadata(output),
|
|
820
803
|
};
|
|
821
|
-
return
|
|
804
|
+
return response;
|
|
822
805
|
};
|
|
823
806
|
exports.de_SetQueueAttributesCommand = de_SetQueueAttributesCommand;
|
|
824
807
|
const de_SetQueueAttributesCommandError = async (output, context) => {
|
|
@@ -833,10 +816,9 @@ const de_SetQueueAttributesCommandError = async (output, context) => {
|
|
|
833
816
|
throw await de_InvalidAttributeNameRes(parsedOutput, context);
|
|
834
817
|
default:
|
|
835
818
|
const parsedBody = parsedOutput.body;
|
|
836
|
-
|
|
819
|
+
return throwDefaultError({
|
|
837
820
|
output,
|
|
838
821
|
parsedBody: parsedBody.Error,
|
|
839
|
-
exceptionCtor: SQSServiceException_1.SQSServiceException,
|
|
840
822
|
errorCode,
|
|
841
823
|
});
|
|
842
824
|
}
|
|
@@ -849,7 +831,7 @@ const de_TagQueueCommand = async (output, context) => {
|
|
|
849
831
|
const response = {
|
|
850
832
|
$metadata: deserializeMetadata(output),
|
|
851
833
|
};
|
|
852
|
-
return
|
|
834
|
+
return response;
|
|
853
835
|
};
|
|
854
836
|
exports.de_TagQueueCommand = de_TagQueueCommand;
|
|
855
837
|
const de_TagQueueCommandError = async (output, context) => {
|
|
@@ -859,10 +841,9 @@ const de_TagQueueCommandError = async (output, context) => {
|
|
|
859
841
|
};
|
|
860
842
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
861
843
|
const parsedBody = parsedOutput.body;
|
|
862
|
-
|
|
844
|
+
return throwDefaultError({
|
|
863
845
|
output,
|
|
864
846
|
parsedBody: parsedBody.Error,
|
|
865
|
-
exceptionCtor: SQSServiceException_1.SQSServiceException,
|
|
866
847
|
errorCode,
|
|
867
848
|
});
|
|
868
849
|
};
|
|
@@ -874,7 +855,7 @@ const de_UntagQueueCommand = async (output, context) => {
|
|
|
874
855
|
const response = {
|
|
875
856
|
$metadata: deserializeMetadata(output),
|
|
876
857
|
};
|
|
877
|
-
return
|
|
858
|
+
return response;
|
|
878
859
|
};
|
|
879
860
|
exports.de_UntagQueueCommand = de_UntagQueueCommand;
|
|
880
861
|
const de_UntagQueueCommandError = async (output, context) => {
|
|
@@ -884,10 +865,9 @@ const de_UntagQueueCommandError = async (output, context) => {
|
|
|
884
865
|
};
|
|
885
866
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
886
867
|
const parsedBody = parsedOutput.body;
|
|
887
|
-
|
|
868
|
+
return throwDefaultError({
|
|
888
869
|
output,
|
|
889
870
|
parsedBody: parsedBody.Error,
|
|
890
|
-
exceptionCtor: SQSServiceException_1.SQSServiceException,
|
|
891
871
|
errorCode,
|
|
892
872
|
});
|
|
893
873
|
};
|
|
@@ -2080,6 +2060,7 @@ const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
|
2080
2060
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
2081
2061
|
};
|
|
2082
2062
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
2063
|
+
const throwDefaultError = (0, smithy_client_1.withBaseException)(SQSServiceException_1.SQSServiceException);
|
|
2083
2064
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
2084
2065
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
2085
2066
|
const contents = {
|