@effect-aws/client-athena 1.9.5 → 1.10.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/AthenaService.d.ts +70 -69
- package/dist/cjs/AthenaService.d.ts.map +1 -1
- package/dist/cjs/AthenaService.js +1 -1
- package/dist/cjs/AthenaService.js.map +1 -1
- package/dist/dts/AthenaService.d.ts +70 -69
- package/dist/dts/AthenaService.d.ts.map +1 -1
- package/dist/esm/AthenaService.js +1 -1
- package/dist/esm/AthenaService.js.map +1 -1
- package/package.json +2 -2
- package/src/AthenaService.ts +70 -68
package/src/AthenaService.ts
CHANGED
|
@@ -211,6 +211,7 @@ import {
|
|
|
211
211
|
} from "@aws-sdk/client-athena";
|
|
212
212
|
import type { HttpHandlerOptions, SdkError, ServiceLogger } from "@effect-aws/commons";
|
|
213
213
|
import { Service } from "@effect-aws/commons";
|
|
214
|
+
import type { Cause } from "effect";
|
|
214
215
|
import { Effect, Layer } from "effect";
|
|
215
216
|
import * as Instance from "./AthenaClientInstance.js";
|
|
216
217
|
import * as AthenaServiceConfig from "./AthenaServiceConfig.js";
|
|
@@ -306,7 +307,7 @@ interface AthenaService$ {
|
|
|
306
307
|
options?: HttpHandlerOptions,
|
|
307
308
|
): Effect.Effect<
|
|
308
309
|
BatchGetNamedQueryCommandOutput,
|
|
309
|
-
SdkError | InternalServerError | InvalidRequestError
|
|
310
|
+
Cause.TimeoutException | SdkError | InternalServerError | InvalidRequestError
|
|
310
311
|
>;
|
|
311
312
|
|
|
312
313
|
/**
|
|
@@ -317,7 +318,7 @@ interface AthenaService$ {
|
|
|
317
318
|
options?: HttpHandlerOptions,
|
|
318
319
|
): Effect.Effect<
|
|
319
320
|
BatchGetPreparedStatementCommandOutput,
|
|
320
|
-
SdkError | InternalServerError | InvalidRequestError
|
|
321
|
+
Cause.TimeoutException | SdkError | InternalServerError | InvalidRequestError
|
|
321
322
|
>;
|
|
322
323
|
|
|
323
324
|
/**
|
|
@@ -328,7 +329,7 @@ interface AthenaService$ {
|
|
|
328
329
|
options?: HttpHandlerOptions,
|
|
329
330
|
): Effect.Effect<
|
|
330
331
|
BatchGetQueryExecutionCommandOutput,
|
|
331
|
-
SdkError | InternalServerError | InvalidRequestError
|
|
332
|
+
Cause.TimeoutException | SdkError | InternalServerError | InvalidRequestError
|
|
332
333
|
>;
|
|
333
334
|
|
|
334
335
|
/**
|
|
@@ -339,7 +340,7 @@ interface AthenaService$ {
|
|
|
339
340
|
options?: HttpHandlerOptions,
|
|
340
341
|
): Effect.Effect<
|
|
341
342
|
CancelCapacityReservationCommandOutput,
|
|
342
|
-
SdkError | InternalServerError | InvalidRequestError
|
|
343
|
+
Cause.TimeoutException | SdkError | InternalServerError | InvalidRequestError
|
|
343
344
|
>;
|
|
344
345
|
|
|
345
346
|
/**
|
|
@@ -350,7 +351,7 @@ interface AthenaService$ {
|
|
|
350
351
|
options?: HttpHandlerOptions,
|
|
351
352
|
): Effect.Effect<
|
|
352
353
|
CreateCapacityReservationCommandOutput,
|
|
353
|
-
SdkError | InternalServerError | InvalidRequestError
|
|
354
|
+
Cause.TimeoutException | SdkError | InternalServerError | InvalidRequestError
|
|
354
355
|
>;
|
|
355
356
|
|
|
356
357
|
/**
|
|
@@ -361,7 +362,7 @@ interface AthenaService$ {
|
|
|
361
362
|
options?: HttpHandlerOptions,
|
|
362
363
|
): Effect.Effect<
|
|
363
364
|
CreateDataCatalogCommandOutput,
|
|
364
|
-
SdkError | InternalServerError | InvalidRequestError
|
|
365
|
+
Cause.TimeoutException | SdkError | InternalServerError | InvalidRequestError
|
|
365
366
|
>;
|
|
366
367
|
|
|
367
368
|
/**
|
|
@@ -372,7 +373,7 @@ interface AthenaService$ {
|
|
|
372
373
|
options?: HttpHandlerOptions,
|
|
373
374
|
): Effect.Effect<
|
|
374
375
|
CreateNamedQueryCommandOutput,
|
|
375
|
-
SdkError | InternalServerError | InvalidRequestError
|
|
376
|
+
Cause.TimeoutException | SdkError | InternalServerError | InvalidRequestError
|
|
376
377
|
>;
|
|
377
378
|
|
|
378
379
|
/**
|
|
@@ -383,7 +384,7 @@ interface AthenaService$ {
|
|
|
383
384
|
options?: HttpHandlerOptions,
|
|
384
385
|
): Effect.Effect<
|
|
385
386
|
CreateNotebookCommandOutput,
|
|
386
|
-
SdkError | InternalServerError | InvalidRequestError | TooManyRequestsError
|
|
387
|
+
Cause.TimeoutException | SdkError | InternalServerError | InvalidRequestError | TooManyRequestsError
|
|
387
388
|
>;
|
|
388
389
|
|
|
389
390
|
/**
|
|
@@ -394,7 +395,7 @@ interface AthenaService$ {
|
|
|
394
395
|
options?: HttpHandlerOptions,
|
|
395
396
|
): Effect.Effect<
|
|
396
397
|
CreatePreparedStatementCommandOutput,
|
|
397
|
-
SdkError | InternalServerError | InvalidRequestError
|
|
398
|
+
Cause.TimeoutException | SdkError | InternalServerError | InvalidRequestError
|
|
398
399
|
>;
|
|
399
400
|
|
|
400
401
|
/**
|
|
@@ -405,7 +406,7 @@ interface AthenaService$ {
|
|
|
405
406
|
options?: HttpHandlerOptions,
|
|
406
407
|
): Effect.Effect<
|
|
407
408
|
CreatePresignedNotebookUrlCommandOutput,
|
|
408
|
-
SdkError | InternalServerError | InvalidRequestError | ResourceNotFoundError
|
|
409
|
+
Cause.TimeoutException | SdkError | InternalServerError | InvalidRequestError | ResourceNotFoundError
|
|
409
410
|
>;
|
|
410
411
|
|
|
411
412
|
/**
|
|
@@ -416,7 +417,7 @@ interface AthenaService$ {
|
|
|
416
417
|
options?: HttpHandlerOptions,
|
|
417
418
|
): Effect.Effect<
|
|
418
419
|
CreateWorkGroupCommandOutput,
|
|
419
|
-
SdkError | InternalServerError | InvalidRequestError
|
|
420
|
+
Cause.TimeoutException | SdkError | InternalServerError | InvalidRequestError
|
|
420
421
|
>;
|
|
421
422
|
|
|
422
423
|
/**
|
|
@@ -427,7 +428,7 @@ interface AthenaService$ {
|
|
|
427
428
|
options?: HttpHandlerOptions,
|
|
428
429
|
): Effect.Effect<
|
|
429
430
|
DeleteCapacityReservationCommandOutput,
|
|
430
|
-
SdkError | InternalServerError | InvalidRequestError
|
|
431
|
+
Cause.TimeoutException | SdkError | InternalServerError | InvalidRequestError
|
|
431
432
|
>;
|
|
432
433
|
|
|
433
434
|
/**
|
|
@@ -438,7 +439,7 @@ interface AthenaService$ {
|
|
|
438
439
|
options?: HttpHandlerOptions,
|
|
439
440
|
): Effect.Effect<
|
|
440
441
|
DeleteDataCatalogCommandOutput,
|
|
441
|
-
SdkError | InternalServerError | InvalidRequestError
|
|
442
|
+
Cause.TimeoutException | SdkError | InternalServerError | InvalidRequestError
|
|
442
443
|
>;
|
|
443
444
|
|
|
444
445
|
/**
|
|
@@ -449,7 +450,7 @@ interface AthenaService$ {
|
|
|
449
450
|
options?: HttpHandlerOptions,
|
|
450
451
|
): Effect.Effect<
|
|
451
452
|
DeleteNamedQueryCommandOutput,
|
|
452
|
-
SdkError | InternalServerError | InvalidRequestError
|
|
453
|
+
Cause.TimeoutException | SdkError | InternalServerError | InvalidRequestError
|
|
453
454
|
>;
|
|
454
455
|
|
|
455
456
|
/**
|
|
@@ -460,7 +461,7 @@ interface AthenaService$ {
|
|
|
460
461
|
options?: HttpHandlerOptions,
|
|
461
462
|
): Effect.Effect<
|
|
462
463
|
DeleteNotebookCommandOutput,
|
|
463
|
-
SdkError | InternalServerError | InvalidRequestError | TooManyRequestsError
|
|
464
|
+
Cause.TimeoutException | SdkError | InternalServerError | InvalidRequestError | TooManyRequestsError
|
|
464
465
|
>;
|
|
465
466
|
|
|
466
467
|
/**
|
|
@@ -471,7 +472,7 @@ interface AthenaService$ {
|
|
|
471
472
|
options?: HttpHandlerOptions,
|
|
472
473
|
): Effect.Effect<
|
|
473
474
|
DeletePreparedStatementCommandOutput,
|
|
474
|
-
SdkError | InternalServerError | InvalidRequestError | ResourceNotFoundError
|
|
475
|
+
Cause.TimeoutException | SdkError | InternalServerError | InvalidRequestError | ResourceNotFoundError
|
|
475
476
|
>;
|
|
476
477
|
|
|
477
478
|
/**
|
|
@@ -482,7 +483,7 @@ interface AthenaService$ {
|
|
|
482
483
|
options?: HttpHandlerOptions,
|
|
483
484
|
): Effect.Effect<
|
|
484
485
|
DeleteWorkGroupCommandOutput,
|
|
485
|
-
SdkError | InternalServerError | InvalidRequestError
|
|
486
|
+
Cause.TimeoutException | SdkError | InternalServerError | InvalidRequestError
|
|
486
487
|
>;
|
|
487
488
|
|
|
488
489
|
/**
|
|
@@ -493,7 +494,7 @@ interface AthenaService$ {
|
|
|
493
494
|
options?: HttpHandlerOptions,
|
|
494
495
|
): Effect.Effect<
|
|
495
496
|
ExportNotebookCommandOutput,
|
|
496
|
-
SdkError | InternalServerError | InvalidRequestError | TooManyRequestsError
|
|
497
|
+
Cause.TimeoutException | SdkError | InternalServerError | InvalidRequestError | TooManyRequestsError
|
|
497
498
|
>;
|
|
498
499
|
|
|
499
500
|
/**
|
|
@@ -504,7 +505,7 @@ interface AthenaService$ {
|
|
|
504
505
|
options?: HttpHandlerOptions,
|
|
505
506
|
): Effect.Effect<
|
|
506
507
|
GetCalculationExecutionCommandOutput,
|
|
507
|
-
SdkError | InternalServerError | InvalidRequestError | ResourceNotFoundError
|
|
508
|
+
Cause.TimeoutException | SdkError | InternalServerError | InvalidRequestError | ResourceNotFoundError
|
|
508
509
|
>;
|
|
509
510
|
|
|
510
511
|
/**
|
|
@@ -515,7 +516,7 @@ interface AthenaService$ {
|
|
|
515
516
|
options?: HttpHandlerOptions,
|
|
516
517
|
): Effect.Effect<
|
|
517
518
|
GetCalculationExecutionCodeCommandOutput,
|
|
518
|
-
SdkError | InternalServerError | InvalidRequestError | ResourceNotFoundError
|
|
519
|
+
Cause.TimeoutException | SdkError | InternalServerError | InvalidRequestError | ResourceNotFoundError
|
|
519
520
|
>;
|
|
520
521
|
|
|
521
522
|
/**
|
|
@@ -526,7 +527,7 @@ interface AthenaService$ {
|
|
|
526
527
|
options?: HttpHandlerOptions,
|
|
527
528
|
): Effect.Effect<
|
|
528
529
|
GetCalculationExecutionStatusCommandOutput,
|
|
529
|
-
SdkError | InternalServerError | InvalidRequestError | ResourceNotFoundError
|
|
530
|
+
Cause.TimeoutException | SdkError | InternalServerError | InvalidRequestError | ResourceNotFoundError
|
|
530
531
|
>;
|
|
531
532
|
|
|
532
533
|
/**
|
|
@@ -537,7 +538,7 @@ interface AthenaService$ {
|
|
|
537
538
|
options?: HttpHandlerOptions,
|
|
538
539
|
): Effect.Effect<
|
|
539
540
|
GetCapacityAssignmentConfigurationCommandOutput,
|
|
540
|
-
SdkError | InternalServerError | InvalidRequestError
|
|
541
|
+
Cause.TimeoutException | SdkError | InternalServerError | InvalidRequestError
|
|
541
542
|
>;
|
|
542
543
|
|
|
543
544
|
/**
|
|
@@ -548,7 +549,7 @@ interface AthenaService$ {
|
|
|
548
549
|
options?: HttpHandlerOptions,
|
|
549
550
|
): Effect.Effect<
|
|
550
551
|
GetCapacityReservationCommandOutput,
|
|
551
|
-
SdkError | InternalServerError | InvalidRequestError
|
|
552
|
+
Cause.TimeoutException | SdkError | InternalServerError | InvalidRequestError
|
|
552
553
|
>;
|
|
553
554
|
|
|
554
555
|
/**
|
|
@@ -559,7 +560,7 @@ interface AthenaService$ {
|
|
|
559
560
|
options?: HttpHandlerOptions,
|
|
560
561
|
): Effect.Effect<
|
|
561
562
|
GetDataCatalogCommandOutput,
|
|
562
|
-
SdkError | InternalServerError | InvalidRequestError
|
|
563
|
+
Cause.TimeoutException | SdkError | InternalServerError | InvalidRequestError
|
|
563
564
|
>;
|
|
564
565
|
|
|
565
566
|
/**
|
|
@@ -570,7 +571,7 @@ interface AthenaService$ {
|
|
|
570
571
|
options?: HttpHandlerOptions,
|
|
571
572
|
): Effect.Effect<
|
|
572
573
|
GetDatabaseCommandOutput,
|
|
573
|
-
SdkError | InternalServerError | InvalidRequestError | MetadataError
|
|
574
|
+
Cause.TimeoutException | SdkError | InternalServerError | InvalidRequestError | MetadataError
|
|
574
575
|
>;
|
|
575
576
|
|
|
576
577
|
/**
|
|
@@ -581,7 +582,7 @@ interface AthenaService$ {
|
|
|
581
582
|
options?: HttpHandlerOptions,
|
|
582
583
|
): Effect.Effect<
|
|
583
584
|
GetNamedQueryCommandOutput,
|
|
584
|
-
SdkError | InternalServerError | InvalidRequestError
|
|
585
|
+
Cause.TimeoutException | SdkError | InternalServerError | InvalidRequestError
|
|
585
586
|
>;
|
|
586
587
|
|
|
587
588
|
/**
|
|
@@ -592,7 +593,7 @@ interface AthenaService$ {
|
|
|
592
593
|
options?: HttpHandlerOptions,
|
|
593
594
|
): Effect.Effect<
|
|
594
595
|
GetNotebookMetadataCommandOutput,
|
|
595
|
-
SdkError | InternalServerError | InvalidRequestError | TooManyRequestsError
|
|
596
|
+
Cause.TimeoutException | SdkError | InternalServerError | InvalidRequestError | TooManyRequestsError
|
|
596
597
|
>;
|
|
597
598
|
|
|
598
599
|
/**
|
|
@@ -603,7 +604,7 @@ interface AthenaService$ {
|
|
|
603
604
|
options?: HttpHandlerOptions,
|
|
604
605
|
): Effect.Effect<
|
|
605
606
|
GetPreparedStatementCommandOutput,
|
|
606
|
-
SdkError | InternalServerError | InvalidRequestError | ResourceNotFoundError
|
|
607
|
+
Cause.TimeoutException | SdkError | InternalServerError | InvalidRequestError | ResourceNotFoundError
|
|
607
608
|
>;
|
|
608
609
|
|
|
609
610
|
/**
|
|
@@ -614,7 +615,7 @@ interface AthenaService$ {
|
|
|
614
615
|
options?: HttpHandlerOptions,
|
|
615
616
|
): Effect.Effect<
|
|
616
617
|
GetQueryExecutionCommandOutput,
|
|
617
|
-
SdkError | InternalServerError | InvalidRequestError
|
|
618
|
+
Cause.TimeoutException | SdkError | InternalServerError | InvalidRequestError
|
|
618
619
|
>;
|
|
619
620
|
|
|
620
621
|
/**
|
|
@@ -625,7 +626,7 @@ interface AthenaService$ {
|
|
|
625
626
|
options?: HttpHandlerOptions,
|
|
626
627
|
): Effect.Effect<
|
|
627
628
|
GetQueryResultsCommandOutput,
|
|
628
|
-
SdkError | InternalServerError | InvalidRequestError | TooManyRequestsError
|
|
629
|
+
Cause.TimeoutException | SdkError | InternalServerError | InvalidRequestError | TooManyRequestsError
|
|
629
630
|
>;
|
|
630
631
|
|
|
631
632
|
/**
|
|
@@ -636,7 +637,7 @@ interface AthenaService$ {
|
|
|
636
637
|
options?: HttpHandlerOptions,
|
|
637
638
|
): Effect.Effect<
|
|
638
639
|
GetQueryRuntimeStatisticsCommandOutput,
|
|
639
|
-
SdkError | InternalServerError | InvalidRequestError
|
|
640
|
+
Cause.TimeoutException | SdkError | InternalServerError | InvalidRequestError
|
|
640
641
|
>;
|
|
641
642
|
|
|
642
643
|
/**
|
|
@@ -647,7 +648,7 @@ interface AthenaService$ {
|
|
|
647
648
|
options?: HttpHandlerOptions,
|
|
648
649
|
): Effect.Effect<
|
|
649
650
|
GetSessionCommandOutput,
|
|
650
|
-
SdkError | InternalServerError | InvalidRequestError | ResourceNotFoundError
|
|
651
|
+
Cause.TimeoutException | SdkError | InternalServerError | InvalidRequestError | ResourceNotFoundError
|
|
651
652
|
>;
|
|
652
653
|
|
|
653
654
|
/**
|
|
@@ -658,7 +659,7 @@ interface AthenaService$ {
|
|
|
658
659
|
options?: HttpHandlerOptions,
|
|
659
660
|
): Effect.Effect<
|
|
660
661
|
GetSessionStatusCommandOutput,
|
|
661
|
-
SdkError | InternalServerError | InvalidRequestError | ResourceNotFoundError
|
|
662
|
+
Cause.TimeoutException | SdkError | InternalServerError | InvalidRequestError | ResourceNotFoundError
|
|
662
663
|
>;
|
|
663
664
|
|
|
664
665
|
/**
|
|
@@ -669,7 +670,7 @@ interface AthenaService$ {
|
|
|
669
670
|
options?: HttpHandlerOptions,
|
|
670
671
|
): Effect.Effect<
|
|
671
672
|
GetTableMetadataCommandOutput,
|
|
672
|
-
SdkError | InternalServerError | InvalidRequestError | MetadataError
|
|
673
|
+
Cause.TimeoutException | SdkError | InternalServerError | InvalidRequestError | MetadataError
|
|
673
674
|
>;
|
|
674
675
|
|
|
675
676
|
/**
|
|
@@ -680,7 +681,7 @@ interface AthenaService$ {
|
|
|
680
681
|
options?: HttpHandlerOptions,
|
|
681
682
|
): Effect.Effect<
|
|
682
683
|
GetWorkGroupCommandOutput,
|
|
683
|
-
SdkError | InternalServerError | InvalidRequestError
|
|
684
|
+
Cause.TimeoutException | SdkError | InternalServerError | InvalidRequestError
|
|
684
685
|
>;
|
|
685
686
|
|
|
686
687
|
/**
|
|
@@ -691,7 +692,7 @@ interface AthenaService$ {
|
|
|
691
692
|
options?: HttpHandlerOptions,
|
|
692
693
|
): Effect.Effect<
|
|
693
694
|
ImportNotebookCommandOutput,
|
|
694
|
-
SdkError | InternalServerError | InvalidRequestError | TooManyRequestsError
|
|
695
|
+
Cause.TimeoutException | SdkError | InternalServerError | InvalidRequestError | TooManyRequestsError
|
|
695
696
|
>;
|
|
696
697
|
|
|
697
698
|
/**
|
|
@@ -702,7 +703,7 @@ interface AthenaService$ {
|
|
|
702
703
|
options?: HttpHandlerOptions,
|
|
703
704
|
): Effect.Effect<
|
|
704
705
|
ListApplicationDPUSizesCommandOutput,
|
|
705
|
-
SdkError | InternalServerError | InvalidRequestError | TooManyRequestsError
|
|
706
|
+
Cause.TimeoutException | SdkError | InternalServerError | InvalidRequestError | TooManyRequestsError
|
|
706
707
|
>;
|
|
707
708
|
|
|
708
709
|
/**
|
|
@@ -713,7 +714,7 @@ interface AthenaService$ {
|
|
|
713
714
|
options?: HttpHandlerOptions,
|
|
714
715
|
): Effect.Effect<
|
|
715
716
|
ListCalculationExecutionsCommandOutput,
|
|
716
|
-
SdkError | InternalServerError | InvalidRequestError | ResourceNotFoundError
|
|
717
|
+
Cause.TimeoutException | SdkError | InternalServerError | InvalidRequestError | ResourceNotFoundError
|
|
717
718
|
>;
|
|
718
719
|
|
|
719
720
|
/**
|
|
@@ -724,7 +725,7 @@ interface AthenaService$ {
|
|
|
724
725
|
options?: HttpHandlerOptions,
|
|
725
726
|
): Effect.Effect<
|
|
726
727
|
ListCapacityReservationsCommandOutput,
|
|
727
|
-
SdkError | InternalServerError | InvalidRequestError
|
|
728
|
+
Cause.TimeoutException | SdkError | InternalServerError | InvalidRequestError
|
|
728
729
|
>;
|
|
729
730
|
|
|
730
731
|
/**
|
|
@@ -735,7 +736,7 @@ interface AthenaService$ {
|
|
|
735
736
|
options?: HttpHandlerOptions,
|
|
736
737
|
): Effect.Effect<
|
|
737
738
|
ListDataCatalogsCommandOutput,
|
|
738
|
-
SdkError | InternalServerError | InvalidRequestError
|
|
739
|
+
Cause.TimeoutException | SdkError | InternalServerError | InvalidRequestError
|
|
739
740
|
>;
|
|
740
741
|
|
|
741
742
|
/**
|
|
@@ -746,7 +747,7 @@ interface AthenaService$ {
|
|
|
746
747
|
options?: HttpHandlerOptions,
|
|
747
748
|
): Effect.Effect<
|
|
748
749
|
ListDatabasesCommandOutput,
|
|
749
|
-
SdkError | InternalServerError | InvalidRequestError | MetadataError
|
|
750
|
+
Cause.TimeoutException | SdkError | InternalServerError | InvalidRequestError | MetadataError
|
|
750
751
|
>;
|
|
751
752
|
|
|
752
753
|
/**
|
|
@@ -757,7 +758,7 @@ interface AthenaService$ {
|
|
|
757
758
|
options?: HttpHandlerOptions,
|
|
758
759
|
): Effect.Effect<
|
|
759
760
|
ListEngineVersionsCommandOutput,
|
|
760
|
-
SdkError | InternalServerError | InvalidRequestError
|
|
761
|
+
Cause.TimeoutException | SdkError | InternalServerError | InvalidRequestError
|
|
761
762
|
>;
|
|
762
763
|
|
|
763
764
|
/**
|
|
@@ -768,7 +769,7 @@ interface AthenaService$ {
|
|
|
768
769
|
options?: HttpHandlerOptions,
|
|
769
770
|
): Effect.Effect<
|
|
770
771
|
ListExecutorsCommandOutput,
|
|
771
|
-
SdkError | InternalServerError | InvalidRequestError | ResourceNotFoundError
|
|
772
|
+
Cause.TimeoutException | SdkError | InternalServerError | InvalidRequestError | ResourceNotFoundError
|
|
772
773
|
>;
|
|
773
774
|
|
|
774
775
|
/**
|
|
@@ -779,7 +780,7 @@ interface AthenaService$ {
|
|
|
779
780
|
options?: HttpHandlerOptions,
|
|
780
781
|
): Effect.Effect<
|
|
781
782
|
ListNamedQueriesCommandOutput,
|
|
782
|
-
SdkError | InternalServerError | InvalidRequestError
|
|
783
|
+
Cause.TimeoutException | SdkError | InternalServerError | InvalidRequestError
|
|
783
784
|
>;
|
|
784
785
|
|
|
785
786
|
/**
|
|
@@ -790,7 +791,7 @@ interface AthenaService$ {
|
|
|
790
791
|
options?: HttpHandlerOptions,
|
|
791
792
|
): Effect.Effect<
|
|
792
793
|
ListNotebookMetadataCommandOutput,
|
|
793
|
-
SdkError | InternalServerError | InvalidRequestError | TooManyRequestsError
|
|
794
|
+
Cause.TimeoutException | SdkError | InternalServerError | InvalidRequestError | TooManyRequestsError
|
|
794
795
|
>;
|
|
795
796
|
|
|
796
797
|
/**
|
|
@@ -801,7 +802,7 @@ interface AthenaService$ {
|
|
|
801
802
|
options?: HttpHandlerOptions,
|
|
802
803
|
): Effect.Effect<
|
|
803
804
|
ListNotebookSessionsCommandOutput,
|
|
804
|
-
SdkError | InternalServerError | InvalidRequestError | ResourceNotFoundError
|
|
805
|
+
Cause.TimeoutException | SdkError | InternalServerError | InvalidRequestError | ResourceNotFoundError
|
|
805
806
|
>;
|
|
806
807
|
|
|
807
808
|
/**
|
|
@@ -812,7 +813,7 @@ interface AthenaService$ {
|
|
|
812
813
|
options?: HttpHandlerOptions,
|
|
813
814
|
): Effect.Effect<
|
|
814
815
|
ListPreparedStatementsCommandOutput,
|
|
815
|
-
SdkError | InternalServerError | InvalidRequestError
|
|
816
|
+
Cause.TimeoutException | SdkError | InternalServerError | InvalidRequestError
|
|
816
817
|
>;
|
|
817
818
|
|
|
818
819
|
/**
|
|
@@ -823,7 +824,7 @@ interface AthenaService$ {
|
|
|
823
824
|
options?: HttpHandlerOptions,
|
|
824
825
|
): Effect.Effect<
|
|
825
826
|
ListQueryExecutionsCommandOutput,
|
|
826
|
-
SdkError | InternalServerError | InvalidRequestError
|
|
827
|
+
Cause.TimeoutException | SdkError | InternalServerError | InvalidRequestError
|
|
827
828
|
>;
|
|
828
829
|
|
|
829
830
|
/**
|
|
@@ -834,7 +835,7 @@ interface AthenaService$ {
|
|
|
834
835
|
options?: HttpHandlerOptions,
|
|
835
836
|
): Effect.Effect<
|
|
836
837
|
ListSessionsCommandOutput,
|
|
837
|
-
SdkError | InternalServerError | InvalidRequestError | ResourceNotFoundError
|
|
838
|
+
Cause.TimeoutException | SdkError | InternalServerError | InvalidRequestError | ResourceNotFoundError
|
|
838
839
|
>;
|
|
839
840
|
|
|
840
841
|
/**
|
|
@@ -845,7 +846,7 @@ interface AthenaService$ {
|
|
|
845
846
|
options?: HttpHandlerOptions,
|
|
846
847
|
): Effect.Effect<
|
|
847
848
|
ListTableMetadataCommandOutput,
|
|
848
|
-
SdkError | InternalServerError | InvalidRequestError | MetadataError
|
|
849
|
+
Cause.TimeoutException | SdkError | InternalServerError | InvalidRequestError | MetadataError
|
|
849
850
|
>;
|
|
850
851
|
|
|
851
852
|
/**
|
|
@@ -856,7 +857,7 @@ interface AthenaService$ {
|
|
|
856
857
|
options?: HttpHandlerOptions,
|
|
857
858
|
): Effect.Effect<
|
|
858
859
|
ListTagsForResourceCommandOutput,
|
|
859
|
-
SdkError | InternalServerError | InvalidRequestError | ResourceNotFoundError
|
|
860
|
+
Cause.TimeoutException | SdkError | InternalServerError | InvalidRequestError | ResourceNotFoundError
|
|
860
861
|
>;
|
|
861
862
|
|
|
862
863
|
/**
|
|
@@ -867,7 +868,7 @@ interface AthenaService$ {
|
|
|
867
868
|
options?: HttpHandlerOptions,
|
|
868
869
|
): Effect.Effect<
|
|
869
870
|
ListWorkGroupsCommandOutput,
|
|
870
|
-
SdkError | InternalServerError | InvalidRequestError
|
|
871
|
+
Cause.TimeoutException | SdkError | InternalServerError | InvalidRequestError
|
|
871
872
|
>;
|
|
872
873
|
|
|
873
874
|
/**
|
|
@@ -878,7 +879,7 @@ interface AthenaService$ {
|
|
|
878
879
|
options?: HttpHandlerOptions,
|
|
879
880
|
): Effect.Effect<
|
|
880
881
|
PutCapacityAssignmentConfigurationCommandOutput,
|
|
881
|
-
SdkError | InternalServerError | InvalidRequestError
|
|
882
|
+
Cause.TimeoutException | SdkError | InternalServerError | InvalidRequestError
|
|
882
883
|
>;
|
|
883
884
|
|
|
884
885
|
/**
|
|
@@ -889,7 +890,7 @@ interface AthenaService$ {
|
|
|
889
890
|
options?: HttpHandlerOptions,
|
|
890
891
|
): Effect.Effect<
|
|
891
892
|
StartCalculationExecutionCommandOutput,
|
|
892
|
-
SdkError | InternalServerError | InvalidRequestError | ResourceNotFoundError
|
|
893
|
+
Cause.TimeoutException | SdkError | InternalServerError | InvalidRequestError | ResourceNotFoundError
|
|
893
894
|
>;
|
|
894
895
|
|
|
895
896
|
/**
|
|
@@ -900,7 +901,7 @@ interface AthenaService$ {
|
|
|
900
901
|
options?: HttpHandlerOptions,
|
|
901
902
|
): Effect.Effect<
|
|
902
903
|
StartQueryExecutionCommandOutput,
|
|
903
|
-
SdkError | InternalServerError | InvalidRequestError | TooManyRequestsError
|
|
904
|
+
Cause.TimeoutException | SdkError | InternalServerError | InvalidRequestError | TooManyRequestsError
|
|
904
905
|
>;
|
|
905
906
|
|
|
906
907
|
/**
|
|
@@ -911,6 +912,7 @@ interface AthenaService$ {
|
|
|
911
912
|
options?: HttpHandlerOptions,
|
|
912
913
|
): Effect.Effect<
|
|
913
914
|
StartSessionCommandOutput,
|
|
915
|
+
| Cause.TimeoutException
|
|
914
916
|
| SdkError
|
|
915
917
|
| InternalServerError
|
|
916
918
|
| InvalidRequestError
|
|
@@ -927,7 +929,7 @@ interface AthenaService$ {
|
|
|
927
929
|
options?: HttpHandlerOptions,
|
|
928
930
|
): Effect.Effect<
|
|
929
931
|
StopCalculationExecutionCommandOutput,
|
|
930
|
-
SdkError | InternalServerError | InvalidRequestError | ResourceNotFoundError
|
|
932
|
+
Cause.TimeoutException | SdkError | InternalServerError | InvalidRequestError | ResourceNotFoundError
|
|
931
933
|
>;
|
|
932
934
|
|
|
933
935
|
/**
|
|
@@ -938,7 +940,7 @@ interface AthenaService$ {
|
|
|
938
940
|
options?: HttpHandlerOptions,
|
|
939
941
|
): Effect.Effect<
|
|
940
942
|
StopQueryExecutionCommandOutput,
|
|
941
|
-
SdkError | InternalServerError | InvalidRequestError
|
|
943
|
+
Cause.TimeoutException | SdkError | InternalServerError | InvalidRequestError
|
|
942
944
|
>;
|
|
943
945
|
|
|
944
946
|
/**
|
|
@@ -949,7 +951,7 @@ interface AthenaService$ {
|
|
|
949
951
|
options?: HttpHandlerOptions,
|
|
950
952
|
): Effect.Effect<
|
|
951
953
|
TagResourceCommandOutput,
|
|
952
|
-
SdkError | InternalServerError | InvalidRequestError | ResourceNotFoundError
|
|
954
|
+
Cause.TimeoutException | SdkError | InternalServerError | InvalidRequestError | ResourceNotFoundError
|
|
953
955
|
>;
|
|
954
956
|
|
|
955
957
|
/**
|
|
@@ -960,7 +962,7 @@ interface AthenaService$ {
|
|
|
960
962
|
options?: HttpHandlerOptions,
|
|
961
963
|
): Effect.Effect<
|
|
962
964
|
TerminateSessionCommandOutput,
|
|
963
|
-
SdkError | InternalServerError | InvalidRequestError | ResourceNotFoundError
|
|
965
|
+
Cause.TimeoutException | SdkError | InternalServerError | InvalidRequestError | ResourceNotFoundError
|
|
964
966
|
>;
|
|
965
967
|
|
|
966
968
|
/**
|
|
@@ -971,7 +973,7 @@ interface AthenaService$ {
|
|
|
971
973
|
options?: HttpHandlerOptions,
|
|
972
974
|
): Effect.Effect<
|
|
973
975
|
UntagResourceCommandOutput,
|
|
974
|
-
SdkError | InternalServerError | InvalidRequestError | ResourceNotFoundError
|
|
976
|
+
Cause.TimeoutException | SdkError | InternalServerError | InvalidRequestError | ResourceNotFoundError
|
|
975
977
|
>;
|
|
976
978
|
|
|
977
979
|
/**
|
|
@@ -982,7 +984,7 @@ interface AthenaService$ {
|
|
|
982
984
|
options?: HttpHandlerOptions,
|
|
983
985
|
): Effect.Effect<
|
|
984
986
|
UpdateCapacityReservationCommandOutput,
|
|
985
|
-
SdkError | InternalServerError | InvalidRequestError
|
|
987
|
+
Cause.TimeoutException | SdkError | InternalServerError | InvalidRequestError
|
|
986
988
|
>;
|
|
987
989
|
|
|
988
990
|
/**
|
|
@@ -993,7 +995,7 @@ interface AthenaService$ {
|
|
|
993
995
|
options?: HttpHandlerOptions,
|
|
994
996
|
): Effect.Effect<
|
|
995
997
|
UpdateDataCatalogCommandOutput,
|
|
996
|
-
SdkError | InternalServerError | InvalidRequestError
|
|
998
|
+
Cause.TimeoutException | SdkError | InternalServerError | InvalidRequestError
|
|
997
999
|
>;
|
|
998
1000
|
|
|
999
1001
|
/**
|
|
@@ -1004,7 +1006,7 @@ interface AthenaService$ {
|
|
|
1004
1006
|
options?: HttpHandlerOptions,
|
|
1005
1007
|
): Effect.Effect<
|
|
1006
1008
|
UpdateNamedQueryCommandOutput,
|
|
1007
|
-
SdkError | InternalServerError | InvalidRequestError
|
|
1009
|
+
Cause.TimeoutException | SdkError | InternalServerError | InvalidRequestError
|
|
1008
1010
|
>;
|
|
1009
1011
|
|
|
1010
1012
|
/**
|
|
@@ -1015,7 +1017,7 @@ interface AthenaService$ {
|
|
|
1015
1017
|
options?: HttpHandlerOptions,
|
|
1016
1018
|
): Effect.Effect<
|
|
1017
1019
|
UpdateNotebookCommandOutput,
|
|
1018
|
-
SdkError | InternalServerError | InvalidRequestError | TooManyRequestsError
|
|
1020
|
+
Cause.TimeoutException | SdkError | InternalServerError | InvalidRequestError | TooManyRequestsError
|
|
1019
1021
|
>;
|
|
1020
1022
|
|
|
1021
1023
|
/**
|
|
@@ -1026,7 +1028,7 @@ interface AthenaService$ {
|
|
|
1026
1028
|
options?: HttpHandlerOptions,
|
|
1027
1029
|
): Effect.Effect<
|
|
1028
1030
|
UpdateNotebookMetadataCommandOutput,
|
|
1029
|
-
SdkError | InternalServerError | InvalidRequestError | TooManyRequestsError
|
|
1031
|
+
Cause.TimeoutException | SdkError | InternalServerError | InvalidRequestError | TooManyRequestsError
|
|
1030
1032
|
>;
|
|
1031
1033
|
|
|
1032
1034
|
/**
|
|
@@ -1037,7 +1039,7 @@ interface AthenaService$ {
|
|
|
1037
1039
|
options?: HttpHandlerOptions,
|
|
1038
1040
|
): Effect.Effect<
|
|
1039
1041
|
UpdatePreparedStatementCommandOutput,
|
|
1040
|
-
SdkError | InternalServerError | InvalidRequestError | ResourceNotFoundError
|
|
1042
|
+
Cause.TimeoutException | SdkError | InternalServerError | InvalidRequestError | ResourceNotFoundError
|
|
1041
1043
|
>;
|
|
1042
1044
|
|
|
1043
1045
|
/**
|
|
@@ -1048,7 +1050,7 @@ interface AthenaService$ {
|
|
|
1048
1050
|
options?: HttpHandlerOptions,
|
|
1049
1051
|
): Effect.Effect<
|
|
1050
1052
|
UpdateWorkGroupCommandOutput,
|
|
1051
|
-
SdkError | InternalServerError | InvalidRequestError
|
|
1053
|
+
Cause.TimeoutException | SdkError | InternalServerError | InvalidRequestError
|
|
1052
1054
|
>;
|
|
1053
1055
|
}
|
|
1054
1056
|
|
|
@@ -1059,7 +1061,7 @@ interface AthenaService$ {
|
|
|
1059
1061
|
export const makeAthenaService = Effect.gen(function*() {
|
|
1060
1062
|
const client = yield* Instance.AthenaClientInstance;
|
|
1061
1063
|
|
|
1062
|
-
return Service.fromClientAndCommands<AthenaService$>(
|
|
1064
|
+
return yield* Service.fromClientAndCommands<AthenaService$>(
|
|
1063
1065
|
client,
|
|
1064
1066
|
commands,
|
|
1065
1067
|
{
|