@effect-aws/client-bedrock-agent 1.11.2 → 2.0.0-beta.5
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/README.md +3 -3
- package/dist/dts/BedrockAgentClientInstance.d.ts +1 -1
- package/dist/dts/BedrockAgentClientInstance.d.ts.map +1 -1
- package/dist/dts/BedrockAgentService.d.ts +102 -92
- package/dist/dts/BedrockAgentService.d.ts.map +1 -1
- package/dist/dts/BedrockAgentServiceConfig.d.ts.map +1 -1
- package/dist/esm/BedrockAgentClientInstance.js +2 -2
- package/dist/esm/BedrockAgentClientInstance.js.map +1 -1
- package/dist/esm/BedrockAgentService.js +6 -2
- package/dist/esm/BedrockAgentService.js.map +1 -1
- package/dist/esm/BedrockAgentServiceConfig.js +5 -6
- package/dist/esm/BedrockAgentServiceConfig.js.map +1 -1
- package/package.json +8 -14
- package/src/BedrockAgentClientInstance.ts +3 -3
- package/src/BedrockAgentService.ts +155 -91
- package/src/BedrockAgentServiceConfig.ts +6 -7
- package/dist/cjs/BedrockAgentClientInstance.d.ts +0 -26
- package/dist/cjs/BedrockAgentClientInstance.d.ts.map +0 -1
- package/dist/cjs/BedrockAgentClientInstance.js +0 -52
- package/dist/cjs/BedrockAgentClientInstance.js.map +0 -1
- package/dist/cjs/BedrockAgentService.d.ts +0 -351
- package/dist/cjs/BedrockAgentService.d.ts.map +0 -1
- package/dist/cjs/BedrockAgentService.js +0 -148
- package/dist/cjs/BedrockAgentService.js.map +0 -1
- package/dist/cjs/BedrockAgentServiceConfig.d.ts +0 -26
- package/dist/cjs/BedrockAgentServiceConfig.d.ts.map +0 -1
- package/dist/cjs/BedrockAgentServiceConfig.js +0 -60
- package/dist/cjs/BedrockAgentServiceConfig.js.map +0 -1
- package/dist/cjs/Errors.d.ts +0 -14
- package/dist/cjs/Errors.d.ts.map +0 -1
- package/dist/cjs/Errors.js +0 -13
- package/dist/cjs/Errors.js.map +0 -1
- package/dist/cjs/index.d.ts +0 -44
- package/dist/cjs/index.d.ts.map +0 -1
- package/dist/cjs/index.js +0 -56
- package/dist/cjs/index.js.map +0 -1
|
@@ -73,6 +73,9 @@ import {
|
|
|
73
73
|
DeletePromptCommand,
|
|
74
74
|
type DeletePromptCommandInput,
|
|
75
75
|
type DeletePromptCommandOutput,
|
|
76
|
+
DeleteResourcePolicyCommand,
|
|
77
|
+
type DeleteResourcePolicyCommandInput,
|
|
78
|
+
type DeleteResourcePolicyCommandOutput,
|
|
76
79
|
DisassociateAgentCollaboratorCommand,
|
|
77
80
|
type DisassociateAgentCollaboratorCommandInput,
|
|
78
81
|
type DisassociateAgentCollaboratorCommandOutput,
|
|
@@ -121,6 +124,9 @@ import {
|
|
|
121
124
|
GetPromptCommand,
|
|
122
125
|
type GetPromptCommandInput,
|
|
123
126
|
type GetPromptCommandOutput,
|
|
127
|
+
GetResourcePolicyCommand,
|
|
128
|
+
type GetResourcePolicyCommandInput,
|
|
129
|
+
type GetResourcePolicyCommandOutput,
|
|
124
130
|
IngestKnowledgeBaseDocumentsCommand,
|
|
125
131
|
type IngestKnowledgeBaseDocumentsCommandInput,
|
|
126
132
|
type IngestKnowledgeBaseDocumentsCommandOutput,
|
|
@@ -189,6 +195,9 @@ import {
|
|
|
189
195
|
PrepareFlowCommand,
|
|
190
196
|
type PrepareFlowCommandInput,
|
|
191
197
|
type PrepareFlowCommandOutput,
|
|
198
|
+
PutResourcePolicyCommand,
|
|
199
|
+
type PutResourcePolicyCommandInput,
|
|
200
|
+
type PutResourcePolicyCommandOutput,
|
|
192
201
|
StartIngestionJobCommand,
|
|
193
202
|
type StartIngestionJobCommandInput,
|
|
194
203
|
type StartIngestionJobCommandOutput,
|
|
@@ -239,6 +248,7 @@ import * as Service from "@effect-aws/commons/Service";
|
|
|
239
248
|
import type * as ServiceLogger from "@effect-aws/commons/ServiceLogger";
|
|
240
249
|
import type { HttpHandlerOptions } from "@effect-aws/commons/Types";
|
|
241
250
|
import type * as Cause from "effect/Cause";
|
|
251
|
+
import * as Context from "effect/Context";
|
|
242
252
|
import * as Effect from "effect/Effect";
|
|
243
253
|
import * as Layer from "effect/Layer";
|
|
244
254
|
import type * as Stream from "effect/Stream";
|
|
@@ -280,6 +290,7 @@ const commands = {
|
|
|
280
290
|
DeleteKnowledgeBaseCommand,
|
|
281
291
|
DeleteKnowledgeBaseDocumentsCommand,
|
|
282
292
|
DeletePromptCommand,
|
|
293
|
+
DeleteResourcePolicyCommand,
|
|
283
294
|
DisassociateAgentCollaboratorCommand,
|
|
284
295
|
DisassociateAgentKnowledgeBaseCommand,
|
|
285
296
|
GetAgentCommand,
|
|
@@ -296,6 +307,7 @@ const commands = {
|
|
|
296
307
|
GetKnowledgeBaseCommand,
|
|
297
308
|
GetKnowledgeBaseDocumentsCommand,
|
|
298
309
|
GetPromptCommand,
|
|
310
|
+
GetResourcePolicyCommand,
|
|
299
311
|
IngestKnowledgeBaseDocumentsCommand,
|
|
300
312
|
ListAgentActionGroupsCommand,
|
|
301
313
|
ListAgentAliasesCommand,
|
|
@@ -314,6 +326,7 @@ const commands = {
|
|
|
314
326
|
ListTagsForResourceCommand,
|
|
315
327
|
PrepareAgentCommand,
|
|
316
328
|
PrepareFlowCommand,
|
|
329
|
+
PutResourcePolicyCommand,
|
|
317
330
|
StartIngestionJobCommand,
|
|
318
331
|
StopIngestionJobCommand,
|
|
319
332
|
TagResourceCommand,
|
|
@@ -348,9 +361,7 @@ const paginators = {
|
|
|
348
361
|
paginateListPrompts,
|
|
349
362
|
};
|
|
350
363
|
|
|
351
|
-
interface BedrockAgentService$ {
|
|
352
|
-
readonly _: unique symbol;
|
|
353
|
-
|
|
364
|
+
export interface BedrockAgentService$ {
|
|
354
365
|
/**
|
|
355
366
|
* @see {@link AssociateAgentCollaboratorCommand}
|
|
356
367
|
*/
|
|
@@ -359,7 +370,7 @@ interface BedrockAgentService$ {
|
|
|
359
370
|
options?: HttpHandlerOptions,
|
|
360
371
|
): Effect.Effect<
|
|
361
372
|
AssociateAgentCollaboratorCommandOutput,
|
|
362
|
-
| Cause.
|
|
373
|
+
| Cause.TimeoutError
|
|
363
374
|
| SdkError
|
|
364
375
|
| AccessDeniedError
|
|
365
376
|
| ConflictError
|
|
@@ -378,7 +389,7 @@ interface BedrockAgentService$ {
|
|
|
378
389
|
options?: HttpHandlerOptions,
|
|
379
390
|
): Effect.Effect<
|
|
380
391
|
AssociateAgentKnowledgeBaseCommandOutput,
|
|
381
|
-
| Cause.
|
|
392
|
+
| Cause.TimeoutError
|
|
382
393
|
| SdkError
|
|
383
394
|
| AccessDeniedError
|
|
384
395
|
| ConflictError
|
|
@@ -397,7 +408,7 @@ interface BedrockAgentService$ {
|
|
|
397
408
|
options?: HttpHandlerOptions,
|
|
398
409
|
): Effect.Effect<
|
|
399
410
|
CreateAgentCommandOutput,
|
|
400
|
-
| Cause.
|
|
411
|
+
| Cause.TimeoutError
|
|
401
412
|
| SdkError
|
|
402
413
|
| AccessDeniedError
|
|
403
414
|
| ConflictError
|
|
@@ -415,7 +426,7 @@ interface BedrockAgentService$ {
|
|
|
415
426
|
options?: HttpHandlerOptions,
|
|
416
427
|
): Effect.Effect<
|
|
417
428
|
CreateAgentActionGroupCommandOutput,
|
|
418
|
-
| Cause.
|
|
429
|
+
| Cause.TimeoutError
|
|
419
430
|
| SdkError
|
|
420
431
|
| AccessDeniedError
|
|
421
432
|
| ConflictError
|
|
@@ -434,7 +445,7 @@ interface BedrockAgentService$ {
|
|
|
434
445
|
options?: HttpHandlerOptions,
|
|
435
446
|
): Effect.Effect<
|
|
436
447
|
CreateAgentAliasCommandOutput,
|
|
437
|
-
| Cause.
|
|
448
|
+
| Cause.TimeoutError
|
|
438
449
|
| SdkError
|
|
439
450
|
| AccessDeniedError
|
|
440
451
|
| ConflictError
|
|
@@ -453,7 +464,7 @@ interface BedrockAgentService$ {
|
|
|
453
464
|
options?: HttpHandlerOptions,
|
|
454
465
|
): Effect.Effect<
|
|
455
466
|
CreateDataSourceCommandOutput,
|
|
456
|
-
| Cause.
|
|
467
|
+
| Cause.TimeoutError
|
|
457
468
|
| SdkError
|
|
458
469
|
| AccessDeniedError
|
|
459
470
|
| ConflictError
|
|
@@ -472,7 +483,7 @@ interface BedrockAgentService$ {
|
|
|
472
483
|
options?: HttpHandlerOptions,
|
|
473
484
|
): Effect.Effect<
|
|
474
485
|
CreateFlowCommandOutput,
|
|
475
|
-
| Cause.
|
|
486
|
+
| Cause.TimeoutError
|
|
476
487
|
| SdkError
|
|
477
488
|
| AccessDeniedError
|
|
478
489
|
| ConflictError
|
|
@@ -490,7 +501,7 @@ interface BedrockAgentService$ {
|
|
|
490
501
|
options?: HttpHandlerOptions,
|
|
491
502
|
): Effect.Effect<
|
|
492
503
|
CreateFlowAliasCommandOutput,
|
|
493
|
-
| Cause.
|
|
504
|
+
| Cause.TimeoutError
|
|
494
505
|
| SdkError
|
|
495
506
|
| AccessDeniedError
|
|
496
507
|
| ConflictError
|
|
@@ -509,7 +520,7 @@ interface BedrockAgentService$ {
|
|
|
509
520
|
options?: HttpHandlerOptions,
|
|
510
521
|
): Effect.Effect<
|
|
511
522
|
CreateFlowVersionCommandOutput,
|
|
512
|
-
| Cause.
|
|
523
|
+
| Cause.TimeoutError
|
|
513
524
|
| SdkError
|
|
514
525
|
| AccessDeniedError
|
|
515
526
|
| ConflictError
|
|
@@ -528,7 +539,7 @@ interface BedrockAgentService$ {
|
|
|
528
539
|
options?: HttpHandlerOptions,
|
|
529
540
|
): Effect.Effect<
|
|
530
541
|
CreateKnowledgeBaseCommandOutput,
|
|
531
|
-
| Cause.
|
|
542
|
+
| Cause.TimeoutError
|
|
532
543
|
| SdkError
|
|
533
544
|
| AccessDeniedError
|
|
534
545
|
| ConflictError
|
|
@@ -546,7 +557,7 @@ interface BedrockAgentService$ {
|
|
|
546
557
|
options?: HttpHandlerOptions,
|
|
547
558
|
): Effect.Effect<
|
|
548
559
|
CreatePromptCommandOutput,
|
|
549
|
-
| Cause.
|
|
560
|
+
| Cause.TimeoutError
|
|
550
561
|
| SdkError
|
|
551
562
|
| AccessDeniedError
|
|
552
563
|
| ConflictError
|
|
@@ -564,7 +575,7 @@ interface BedrockAgentService$ {
|
|
|
564
575
|
options?: HttpHandlerOptions,
|
|
565
576
|
): Effect.Effect<
|
|
566
577
|
CreatePromptVersionCommandOutput,
|
|
567
|
-
| Cause.
|
|
578
|
+
| Cause.TimeoutError
|
|
568
579
|
| SdkError
|
|
569
580
|
| AccessDeniedError
|
|
570
581
|
| ConflictError
|
|
@@ -583,7 +594,7 @@ interface BedrockAgentService$ {
|
|
|
583
594
|
options?: HttpHandlerOptions,
|
|
584
595
|
): Effect.Effect<
|
|
585
596
|
DeleteAgentCommandOutput,
|
|
586
|
-
| Cause.
|
|
597
|
+
| Cause.TimeoutError
|
|
587
598
|
| SdkError
|
|
588
599
|
| AccessDeniedError
|
|
589
600
|
| ConflictError
|
|
@@ -601,7 +612,7 @@ interface BedrockAgentService$ {
|
|
|
601
612
|
options?: HttpHandlerOptions,
|
|
602
613
|
): Effect.Effect<
|
|
603
614
|
DeleteAgentActionGroupCommandOutput,
|
|
604
|
-
| Cause.
|
|
615
|
+
| Cause.TimeoutError
|
|
605
616
|
| SdkError
|
|
606
617
|
| AccessDeniedError
|
|
607
618
|
| ConflictError
|
|
@@ -619,7 +630,7 @@ interface BedrockAgentService$ {
|
|
|
619
630
|
options?: HttpHandlerOptions,
|
|
620
631
|
): Effect.Effect<
|
|
621
632
|
DeleteAgentAliasCommandOutput,
|
|
622
|
-
| Cause.
|
|
633
|
+
| Cause.TimeoutError
|
|
623
634
|
| SdkError
|
|
624
635
|
| AccessDeniedError
|
|
625
636
|
| InternalServerError
|
|
@@ -636,7 +647,7 @@ interface BedrockAgentService$ {
|
|
|
636
647
|
options?: HttpHandlerOptions,
|
|
637
648
|
): Effect.Effect<
|
|
638
649
|
DeleteAgentVersionCommandOutput,
|
|
639
|
-
| Cause.
|
|
650
|
+
| Cause.TimeoutError
|
|
640
651
|
| SdkError
|
|
641
652
|
| AccessDeniedError
|
|
642
653
|
| ConflictError
|
|
@@ -654,7 +665,7 @@ interface BedrockAgentService$ {
|
|
|
654
665
|
options?: HttpHandlerOptions,
|
|
655
666
|
): Effect.Effect<
|
|
656
667
|
DeleteDataSourceCommandOutput,
|
|
657
|
-
| Cause.
|
|
668
|
+
| Cause.TimeoutError
|
|
658
669
|
| SdkError
|
|
659
670
|
| AccessDeniedError
|
|
660
671
|
| ConflictError
|
|
@@ -672,7 +683,7 @@ interface BedrockAgentService$ {
|
|
|
672
683
|
options?: HttpHandlerOptions,
|
|
673
684
|
): Effect.Effect<
|
|
674
685
|
DeleteFlowCommandOutput,
|
|
675
|
-
| Cause.
|
|
686
|
+
| Cause.TimeoutError
|
|
676
687
|
| SdkError
|
|
677
688
|
| AccessDeniedError
|
|
678
689
|
| ConflictError
|
|
@@ -690,7 +701,7 @@ interface BedrockAgentService$ {
|
|
|
690
701
|
options?: HttpHandlerOptions,
|
|
691
702
|
): Effect.Effect<
|
|
692
703
|
DeleteFlowAliasCommandOutput,
|
|
693
|
-
| Cause.
|
|
704
|
+
| Cause.TimeoutError
|
|
694
705
|
| SdkError
|
|
695
706
|
| AccessDeniedError
|
|
696
707
|
| ConflictError
|
|
@@ -708,7 +719,7 @@ interface BedrockAgentService$ {
|
|
|
708
719
|
options?: HttpHandlerOptions,
|
|
709
720
|
): Effect.Effect<
|
|
710
721
|
DeleteFlowVersionCommandOutput,
|
|
711
|
-
| Cause.
|
|
722
|
+
| Cause.TimeoutError
|
|
712
723
|
| SdkError
|
|
713
724
|
| AccessDeniedError
|
|
714
725
|
| ConflictError
|
|
@@ -726,7 +737,7 @@ interface BedrockAgentService$ {
|
|
|
726
737
|
options?: HttpHandlerOptions,
|
|
727
738
|
): Effect.Effect<
|
|
728
739
|
DeleteKnowledgeBaseCommandOutput,
|
|
729
|
-
| Cause.
|
|
740
|
+
| Cause.TimeoutError
|
|
730
741
|
| SdkError
|
|
731
742
|
| AccessDeniedError
|
|
732
743
|
| ConflictError
|
|
@@ -744,7 +755,7 @@ interface BedrockAgentService$ {
|
|
|
744
755
|
options?: HttpHandlerOptions,
|
|
745
756
|
): Effect.Effect<
|
|
746
757
|
DeleteKnowledgeBaseDocumentsCommandOutput,
|
|
747
|
-
| Cause.
|
|
758
|
+
| Cause.TimeoutError
|
|
748
759
|
| SdkError
|
|
749
760
|
| AccessDeniedError
|
|
750
761
|
| InternalServerError
|
|
@@ -762,7 +773,25 @@ interface BedrockAgentService$ {
|
|
|
762
773
|
options?: HttpHandlerOptions,
|
|
763
774
|
): Effect.Effect<
|
|
764
775
|
DeletePromptCommandOutput,
|
|
765
|
-
| Cause.
|
|
776
|
+
| Cause.TimeoutError
|
|
777
|
+
| SdkError
|
|
778
|
+
| AccessDeniedError
|
|
779
|
+
| ConflictError
|
|
780
|
+
| InternalServerError
|
|
781
|
+
| ResourceNotFoundError
|
|
782
|
+
| ThrottlingError
|
|
783
|
+
| ValidationError
|
|
784
|
+
>;
|
|
785
|
+
|
|
786
|
+
/**
|
|
787
|
+
* @see {@link DeleteResourcePolicyCommand}
|
|
788
|
+
*/
|
|
789
|
+
deleteResourcePolicy(
|
|
790
|
+
args: DeleteResourcePolicyCommandInput,
|
|
791
|
+
options?: HttpHandlerOptions,
|
|
792
|
+
): Effect.Effect<
|
|
793
|
+
DeleteResourcePolicyCommandOutput,
|
|
794
|
+
| Cause.TimeoutError
|
|
766
795
|
| SdkError
|
|
767
796
|
| AccessDeniedError
|
|
768
797
|
| ConflictError
|
|
@@ -780,7 +809,7 @@ interface BedrockAgentService$ {
|
|
|
780
809
|
options?: HttpHandlerOptions,
|
|
781
810
|
): Effect.Effect<
|
|
782
811
|
DisassociateAgentCollaboratorCommandOutput,
|
|
783
|
-
| Cause.
|
|
812
|
+
| Cause.TimeoutError
|
|
784
813
|
| SdkError
|
|
785
814
|
| AccessDeniedError
|
|
786
815
|
| ConflictError
|
|
@@ -798,7 +827,7 @@ interface BedrockAgentService$ {
|
|
|
798
827
|
options?: HttpHandlerOptions,
|
|
799
828
|
): Effect.Effect<
|
|
800
829
|
DisassociateAgentKnowledgeBaseCommandOutput,
|
|
801
|
-
| Cause.
|
|
830
|
+
| Cause.TimeoutError
|
|
802
831
|
| SdkError
|
|
803
832
|
| AccessDeniedError
|
|
804
833
|
| ConflictError
|
|
@@ -816,7 +845,7 @@ interface BedrockAgentService$ {
|
|
|
816
845
|
options?: HttpHandlerOptions,
|
|
817
846
|
): Effect.Effect<
|
|
818
847
|
GetAgentCommandOutput,
|
|
819
|
-
| Cause.
|
|
848
|
+
| Cause.TimeoutError
|
|
820
849
|
| SdkError
|
|
821
850
|
| AccessDeniedError
|
|
822
851
|
| InternalServerError
|
|
@@ -833,7 +862,7 @@ interface BedrockAgentService$ {
|
|
|
833
862
|
options?: HttpHandlerOptions,
|
|
834
863
|
): Effect.Effect<
|
|
835
864
|
GetAgentActionGroupCommandOutput,
|
|
836
|
-
| Cause.
|
|
865
|
+
| Cause.TimeoutError
|
|
837
866
|
| SdkError
|
|
838
867
|
| AccessDeniedError
|
|
839
868
|
| InternalServerError
|
|
@@ -850,7 +879,7 @@ interface BedrockAgentService$ {
|
|
|
850
879
|
options?: HttpHandlerOptions,
|
|
851
880
|
): Effect.Effect<
|
|
852
881
|
GetAgentAliasCommandOutput,
|
|
853
|
-
| Cause.
|
|
882
|
+
| Cause.TimeoutError
|
|
854
883
|
| SdkError
|
|
855
884
|
| AccessDeniedError
|
|
856
885
|
| InternalServerError
|
|
@@ -867,7 +896,7 @@ interface BedrockAgentService$ {
|
|
|
867
896
|
options?: HttpHandlerOptions,
|
|
868
897
|
): Effect.Effect<
|
|
869
898
|
GetAgentCollaboratorCommandOutput,
|
|
870
|
-
| Cause.
|
|
899
|
+
| Cause.TimeoutError
|
|
871
900
|
| SdkError
|
|
872
901
|
| AccessDeniedError
|
|
873
902
|
| InternalServerError
|
|
@@ -884,7 +913,7 @@ interface BedrockAgentService$ {
|
|
|
884
913
|
options?: HttpHandlerOptions,
|
|
885
914
|
): Effect.Effect<
|
|
886
915
|
GetAgentKnowledgeBaseCommandOutput,
|
|
887
|
-
| Cause.
|
|
916
|
+
| Cause.TimeoutError
|
|
888
917
|
| SdkError
|
|
889
918
|
| AccessDeniedError
|
|
890
919
|
| InternalServerError
|
|
@@ -901,7 +930,7 @@ interface BedrockAgentService$ {
|
|
|
901
930
|
options?: HttpHandlerOptions,
|
|
902
931
|
): Effect.Effect<
|
|
903
932
|
GetAgentVersionCommandOutput,
|
|
904
|
-
| Cause.
|
|
933
|
+
| Cause.TimeoutError
|
|
905
934
|
| SdkError
|
|
906
935
|
| AccessDeniedError
|
|
907
936
|
| InternalServerError
|
|
@@ -918,7 +947,7 @@ interface BedrockAgentService$ {
|
|
|
918
947
|
options?: HttpHandlerOptions,
|
|
919
948
|
): Effect.Effect<
|
|
920
949
|
GetDataSourceCommandOutput,
|
|
921
|
-
| Cause.
|
|
950
|
+
| Cause.TimeoutError
|
|
922
951
|
| SdkError
|
|
923
952
|
| AccessDeniedError
|
|
924
953
|
| InternalServerError
|
|
@@ -935,7 +964,7 @@ interface BedrockAgentService$ {
|
|
|
935
964
|
options?: HttpHandlerOptions,
|
|
936
965
|
): Effect.Effect<
|
|
937
966
|
GetFlowCommandOutput,
|
|
938
|
-
| Cause.
|
|
967
|
+
| Cause.TimeoutError
|
|
939
968
|
| SdkError
|
|
940
969
|
| AccessDeniedError
|
|
941
970
|
| InternalServerError
|
|
@@ -952,7 +981,7 @@ interface BedrockAgentService$ {
|
|
|
952
981
|
options?: HttpHandlerOptions,
|
|
953
982
|
): Effect.Effect<
|
|
954
983
|
GetFlowAliasCommandOutput,
|
|
955
|
-
| Cause.
|
|
984
|
+
| Cause.TimeoutError
|
|
956
985
|
| SdkError
|
|
957
986
|
| AccessDeniedError
|
|
958
987
|
| InternalServerError
|
|
@@ -969,7 +998,7 @@ interface BedrockAgentService$ {
|
|
|
969
998
|
options?: HttpHandlerOptions,
|
|
970
999
|
): Effect.Effect<
|
|
971
1000
|
GetFlowVersionCommandOutput,
|
|
972
|
-
| Cause.
|
|
1001
|
+
| Cause.TimeoutError
|
|
973
1002
|
| SdkError
|
|
974
1003
|
| AccessDeniedError
|
|
975
1004
|
| InternalServerError
|
|
@@ -986,7 +1015,7 @@ interface BedrockAgentService$ {
|
|
|
986
1015
|
options?: HttpHandlerOptions,
|
|
987
1016
|
): Effect.Effect<
|
|
988
1017
|
GetIngestionJobCommandOutput,
|
|
989
|
-
| Cause.
|
|
1018
|
+
| Cause.TimeoutError
|
|
990
1019
|
| SdkError
|
|
991
1020
|
| AccessDeniedError
|
|
992
1021
|
| InternalServerError
|
|
@@ -1003,7 +1032,7 @@ interface BedrockAgentService$ {
|
|
|
1003
1032
|
options?: HttpHandlerOptions,
|
|
1004
1033
|
): Effect.Effect<
|
|
1005
1034
|
GetKnowledgeBaseCommandOutput,
|
|
1006
|
-
| Cause.
|
|
1035
|
+
| Cause.TimeoutError
|
|
1007
1036
|
| SdkError
|
|
1008
1037
|
| AccessDeniedError
|
|
1009
1038
|
| InternalServerError
|
|
@@ -1020,7 +1049,7 @@ interface BedrockAgentService$ {
|
|
|
1020
1049
|
options?: HttpHandlerOptions,
|
|
1021
1050
|
): Effect.Effect<
|
|
1022
1051
|
GetKnowledgeBaseDocumentsCommandOutput,
|
|
1023
|
-
| Cause.
|
|
1052
|
+
| Cause.TimeoutError
|
|
1024
1053
|
| SdkError
|
|
1025
1054
|
| AccessDeniedError
|
|
1026
1055
|
| InternalServerError
|
|
@@ -1038,7 +1067,24 @@ interface BedrockAgentService$ {
|
|
|
1038
1067
|
options?: HttpHandlerOptions,
|
|
1039
1068
|
): Effect.Effect<
|
|
1040
1069
|
GetPromptCommandOutput,
|
|
1041
|
-
| Cause.
|
|
1070
|
+
| Cause.TimeoutError
|
|
1071
|
+
| SdkError
|
|
1072
|
+
| AccessDeniedError
|
|
1073
|
+
| InternalServerError
|
|
1074
|
+
| ResourceNotFoundError
|
|
1075
|
+
| ThrottlingError
|
|
1076
|
+
| ValidationError
|
|
1077
|
+
>;
|
|
1078
|
+
|
|
1079
|
+
/**
|
|
1080
|
+
* @see {@link GetResourcePolicyCommand}
|
|
1081
|
+
*/
|
|
1082
|
+
getResourcePolicy(
|
|
1083
|
+
args: GetResourcePolicyCommandInput,
|
|
1084
|
+
options?: HttpHandlerOptions,
|
|
1085
|
+
): Effect.Effect<
|
|
1086
|
+
GetResourcePolicyCommandOutput,
|
|
1087
|
+
| Cause.TimeoutError
|
|
1042
1088
|
| SdkError
|
|
1043
1089
|
| AccessDeniedError
|
|
1044
1090
|
| InternalServerError
|
|
@@ -1055,7 +1101,7 @@ interface BedrockAgentService$ {
|
|
|
1055
1101
|
options?: HttpHandlerOptions,
|
|
1056
1102
|
): Effect.Effect<
|
|
1057
1103
|
IngestKnowledgeBaseDocumentsCommandOutput,
|
|
1058
|
-
| Cause.
|
|
1104
|
+
| Cause.TimeoutError
|
|
1059
1105
|
| SdkError
|
|
1060
1106
|
| AccessDeniedError
|
|
1061
1107
|
| InternalServerError
|
|
@@ -1073,7 +1119,7 @@ interface BedrockAgentService$ {
|
|
|
1073
1119
|
options?: HttpHandlerOptions,
|
|
1074
1120
|
): Effect.Effect<
|
|
1075
1121
|
ListAgentActionGroupsCommandOutput,
|
|
1076
|
-
| Cause.
|
|
1122
|
+
| Cause.TimeoutError
|
|
1077
1123
|
| SdkError
|
|
1078
1124
|
| AccessDeniedError
|
|
1079
1125
|
| InternalServerError
|
|
@@ -1087,7 +1133,7 @@ interface BedrockAgentService$ {
|
|
|
1087
1133
|
options?: HttpHandlerOptions,
|
|
1088
1134
|
): Stream.Stream<
|
|
1089
1135
|
ListAgentActionGroupsCommandOutput,
|
|
1090
|
-
| Cause.
|
|
1136
|
+
| Cause.TimeoutError
|
|
1091
1137
|
| SdkError
|
|
1092
1138
|
| AccessDeniedError
|
|
1093
1139
|
| InternalServerError
|
|
@@ -1104,7 +1150,7 @@ interface BedrockAgentService$ {
|
|
|
1104
1150
|
options?: HttpHandlerOptions,
|
|
1105
1151
|
): Effect.Effect<
|
|
1106
1152
|
ListAgentAliasesCommandOutput,
|
|
1107
|
-
| Cause.
|
|
1153
|
+
| Cause.TimeoutError
|
|
1108
1154
|
| SdkError
|
|
1109
1155
|
| AccessDeniedError
|
|
1110
1156
|
| InternalServerError
|
|
@@ -1118,7 +1164,7 @@ interface BedrockAgentService$ {
|
|
|
1118
1164
|
options?: HttpHandlerOptions,
|
|
1119
1165
|
): Stream.Stream<
|
|
1120
1166
|
ListAgentAliasesCommandOutput,
|
|
1121
|
-
| Cause.
|
|
1167
|
+
| Cause.TimeoutError
|
|
1122
1168
|
| SdkError
|
|
1123
1169
|
| AccessDeniedError
|
|
1124
1170
|
| InternalServerError
|
|
@@ -1135,7 +1181,7 @@ interface BedrockAgentService$ {
|
|
|
1135
1181
|
options?: HttpHandlerOptions,
|
|
1136
1182
|
): Effect.Effect<
|
|
1137
1183
|
ListAgentCollaboratorsCommandOutput,
|
|
1138
|
-
| Cause.
|
|
1184
|
+
| Cause.TimeoutError
|
|
1139
1185
|
| SdkError
|
|
1140
1186
|
| AccessDeniedError
|
|
1141
1187
|
| InternalServerError
|
|
@@ -1149,7 +1195,7 @@ interface BedrockAgentService$ {
|
|
|
1149
1195
|
options?: HttpHandlerOptions,
|
|
1150
1196
|
): Stream.Stream<
|
|
1151
1197
|
ListAgentCollaboratorsCommandOutput,
|
|
1152
|
-
| Cause.
|
|
1198
|
+
| Cause.TimeoutError
|
|
1153
1199
|
| SdkError
|
|
1154
1200
|
| AccessDeniedError
|
|
1155
1201
|
| InternalServerError
|
|
@@ -1166,7 +1212,7 @@ interface BedrockAgentService$ {
|
|
|
1166
1212
|
options?: HttpHandlerOptions,
|
|
1167
1213
|
): Effect.Effect<
|
|
1168
1214
|
ListAgentKnowledgeBasesCommandOutput,
|
|
1169
|
-
| Cause.
|
|
1215
|
+
| Cause.TimeoutError
|
|
1170
1216
|
| SdkError
|
|
1171
1217
|
| AccessDeniedError
|
|
1172
1218
|
| InternalServerError
|
|
@@ -1180,7 +1226,7 @@ interface BedrockAgentService$ {
|
|
|
1180
1226
|
options?: HttpHandlerOptions,
|
|
1181
1227
|
): Stream.Stream<
|
|
1182
1228
|
ListAgentKnowledgeBasesCommandOutput,
|
|
1183
|
-
| Cause.
|
|
1229
|
+
| Cause.TimeoutError
|
|
1184
1230
|
| SdkError
|
|
1185
1231
|
| AccessDeniedError
|
|
1186
1232
|
| InternalServerError
|
|
@@ -1197,7 +1243,7 @@ interface BedrockAgentService$ {
|
|
|
1197
1243
|
options?: HttpHandlerOptions,
|
|
1198
1244
|
): Effect.Effect<
|
|
1199
1245
|
ListAgentVersionsCommandOutput,
|
|
1200
|
-
| Cause.
|
|
1246
|
+
| Cause.TimeoutError
|
|
1201
1247
|
| SdkError
|
|
1202
1248
|
| AccessDeniedError
|
|
1203
1249
|
| InternalServerError
|
|
@@ -1211,7 +1257,7 @@ interface BedrockAgentService$ {
|
|
|
1211
1257
|
options?: HttpHandlerOptions,
|
|
1212
1258
|
): Stream.Stream<
|
|
1213
1259
|
ListAgentVersionsCommandOutput,
|
|
1214
|
-
| Cause.
|
|
1260
|
+
| Cause.TimeoutError
|
|
1215
1261
|
| SdkError
|
|
1216
1262
|
| AccessDeniedError
|
|
1217
1263
|
| InternalServerError
|
|
@@ -1228,7 +1274,7 @@ interface BedrockAgentService$ {
|
|
|
1228
1274
|
options?: HttpHandlerOptions,
|
|
1229
1275
|
): Effect.Effect<
|
|
1230
1276
|
ListAgentsCommandOutput,
|
|
1231
|
-
Cause.
|
|
1277
|
+
Cause.TimeoutError | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
|
|
1232
1278
|
>;
|
|
1233
1279
|
|
|
1234
1280
|
listAgentsStream(
|
|
@@ -1236,7 +1282,7 @@ interface BedrockAgentService$ {
|
|
|
1236
1282
|
options?: HttpHandlerOptions,
|
|
1237
1283
|
): Stream.Stream<
|
|
1238
1284
|
ListAgentsCommandOutput,
|
|
1239
|
-
Cause.
|
|
1285
|
+
Cause.TimeoutError | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
|
|
1240
1286
|
>;
|
|
1241
1287
|
|
|
1242
1288
|
/**
|
|
@@ -1247,7 +1293,7 @@ interface BedrockAgentService$ {
|
|
|
1247
1293
|
options?: HttpHandlerOptions,
|
|
1248
1294
|
): Effect.Effect<
|
|
1249
1295
|
ListDataSourcesCommandOutput,
|
|
1250
|
-
| Cause.
|
|
1296
|
+
| Cause.TimeoutError
|
|
1251
1297
|
| SdkError
|
|
1252
1298
|
| AccessDeniedError
|
|
1253
1299
|
| InternalServerError
|
|
@@ -1261,7 +1307,7 @@ interface BedrockAgentService$ {
|
|
|
1261
1307
|
options?: HttpHandlerOptions,
|
|
1262
1308
|
): Stream.Stream<
|
|
1263
1309
|
ListDataSourcesCommandOutput,
|
|
1264
|
-
| Cause.
|
|
1310
|
+
| Cause.TimeoutError
|
|
1265
1311
|
| SdkError
|
|
1266
1312
|
| AccessDeniedError
|
|
1267
1313
|
| InternalServerError
|
|
@@ -1278,7 +1324,7 @@ interface BedrockAgentService$ {
|
|
|
1278
1324
|
options?: HttpHandlerOptions,
|
|
1279
1325
|
): Effect.Effect<
|
|
1280
1326
|
ListFlowAliasesCommandOutput,
|
|
1281
|
-
| Cause.
|
|
1327
|
+
| Cause.TimeoutError
|
|
1282
1328
|
| SdkError
|
|
1283
1329
|
| AccessDeniedError
|
|
1284
1330
|
| InternalServerError
|
|
@@ -1292,7 +1338,7 @@ interface BedrockAgentService$ {
|
|
|
1292
1338
|
options?: HttpHandlerOptions,
|
|
1293
1339
|
): Stream.Stream<
|
|
1294
1340
|
ListFlowAliasesCommandOutput,
|
|
1295
|
-
| Cause.
|
|
1341
|
+
| Cause.TimeoutError
|
|
1296
1342
|
| SdkError
|
|
1297
1343
|
| AccessDeniedError
|
|
1298
1344
|
| InternalServerError
|
|
@@ -1309,7 +1355,7 @@ interface BedrockAgentService$ {
|
|
|
1309
1355
|
options?: HttpHandlerOptions,
|
|
1310
1356
|
): Effect.Effect<
|
|
1311
1357
|
ListFlowVersionsCommandOutput,
|
|
1312
|
-
| Cause.
|
|
1358
|
+
| Cause.TimeoutError
|
|
1313
1359
|
| SdkError
|
|
1314
1360
|
| AccessDeniedError
|
|
1315
1361
|
| InternalServerError
|
|
@@ -1323,7 +1369,7 @@ interface BedrockAgentService$ {
|
|
|
1323
1369
|
options?: HttpHandlerOptions,
|
|
1324
1370
|
): Stream.Stream<
|
|
1325
1371
|
ListFlowVersionsCommandOutput,
|
|
1326
|
-
| Cause.
|
|
1372
|
+
| Cause.TimeoutError
|
|
1327
1373
|
| SdkError
|
|
1328
1374
|
| AccessDeniedError
|
|
1329
1375
|
| InternalServerError
|
|
@@ -1340,7 +1386,7 @@ interface BedrockAgentService$ {
|
|
|
1340
1386
|
options?: HttpHandlerOptions,
|
|
1341
1387
|
): Effect.Effect<
|
|
1342
1388
|
ListFlowsCommandOutput,
|
|
1343
|
-
Cause.
|
|
1389
|
+
Cause.TimeoutError | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
|
|
1344
1390
|
>;
|
|
1345
1391
|
|
|
1346
1392
|
listFlowsStream(
|
|
@@ -1348,7 +1394,7 @@ interface BedrockAgentService$ {
|
|
|
1348
1394
|
options?: HttpHandlerOptions,
|
|
1349
1395
|
): Stream.Stream<
|
|
1350
1396
|
ListFlowsCommandOutput,
|
|
1351
|
-
Cause.
|
|
1397
|
+
Cause.TimeoutError | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
|
|
1352
1398
|
>;
|
|
1353
1399
|
|
|
1354
1400
|
/**
|
|
@@ -1359,7 +1405,7 @@ interface BedrockAgentService$ {
|
|
|
1359
1405
|
options?: HttpHandlerOptions,
|
|
1360
1406
|
): Effect.Effect<
|
|
1361
1407
|
ListIngestionJobsCommandOutput,
|
|
1362
|
-
| Cause.
|
|
1408
|
+
| Cause.TimeoutError
|
|
1363
1409
|
| SdkError
|
|
1364
1410
|
| AccessDeniedError
|
|
1365
1411
|
| InternalServerError
|
|
@@ -1373,7 +1419,7 @@ interface BedrockAgentService$ {
|
|
|
1373
1419
|
options?: HttpHandlerOptions,
|
|
1374
1420
|
): Stream.Stream<
|
|
1375
1421
|
ListIngestionJobsCommandOutput,
|
|
1376
|
-
| Cause.
|
|
1422
|
+
| Cause.TimeoutError
|
|
1377
1423
|
| SdkError
|
|
1378
1424
|
| AccessDeniedError
|
|
1379
1425
|
| InternalServerError
|
|
@@ -1390,7 +1436,7 @@ interface BedrockAgentService$ {
|
|
|
1390
1436
|
options?: HttpHandlerOptions,
|
|
1391
1437
|
): Effect.Effect<
|
|
1392
1438
|
ListKnowledgeBaseDocumentsCommandOutput,
|
|
1393
|
-
| Cause.
|
|
1439
|
+
| Cause.TimeoutError
|
|
1394
1440
|
| SdkError
|
|
1395
1441
|
| AccessDeniedError
|
|
1396
1442
|
| InternalServerError
|
|
@@ -1405,7 +1451,7 @@ interface BedrockAgentService$ {
|
|
|
1405
1451
|
options?: HttpHandlerOptions,
|
|
1406
1452
|
): Stream.Stream<
|
|
1407
1453
|
ListKnowledgeBaseDocumentsCommandOutput,
|
|
1408
|
-
| Cause.
|
|
1454
|
+
| Cause.TimeoutError
|
|
1409
1455
|
| SdkError
|
|
1410
1456
|
| AccessDeniedError
|
|
1411
1457
|
| InternalServerError
|
|
@@ -1423,7 +1469,7 @@ interface BedrockAgentService$ {
|
|
|
1423
1469
|
options?: HttpHandlerOptions,
|
|
1424
1470
|
): Effect.Effect<
|
|
1425
1471
|
ListKnowledgeBasesCommandOutput,
|
|
1426
|
-
Cause.
|
|
1472
|
+
Cause.TimeoutError | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
|
|
1427
1473
|
>;
|
|
1428
1474
|
|
|
1429
1475
|
listKnowledgeBasesStream(
|
|
@@ -1431,7 +1477,7 @@ interface BedrockAgentService$ {
|
|
|
1431
1477
|
options?: HttpHandlerOptions,
|
|
1432
1478
|
): Stream.Stream<
|
|
1433
1479
|
ListKnowledgeBasesCommandOutput,
|
|
1434
|
-
Cause.
|
|
1480
|
+
Cause.TimeoutError | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
|
|
1435
1481
|
>;
|
|
1436
1482
|
|
|
1437
1483
|
/**
|
|
@@ -1442,7 +1488,7 @@ interface BedrockAgentService$ {
|
|
|
1442
1488
|
options?: HttpHandlerOptions,
|
|
1443
1489
|
): Effect.Effect<
|
|
1444
1490
|
ListPromptsCommandOutput,
|
|
1445
|
-
| Cause.
|
|
1491
|
+
| Cause.TimeoutError
|
|
1446
1492
|
| SdkError
|
|
1447
1493
|
| AccessDeniedError
|
|
1448
1494
|
| InternalServerError
|
|
@@ -1456,7 +1502,7 @@ interface BedrockAgentService$ {
|
|
|
1456
1502
|
options?: HttpHandlerOptions,
|
|
1457
1503
|
): Stream.Stream<
|
|
1458
1504
|
ListPromptsCommandOutput,
|
|
1459
|
-
| Cause.
|
|
1505
|
+
| Cause.TimeoutError
|
|
1460
1506
|
| SdkError
|
|
1461
1507
|
| AccessDeniedError
|
|
1462
1508
|
| InternalServerError
|
|
@@ -1473,7 +1519,7 @@ interface BedrockAgentService$ {
|
|
|
1473
1519
|
options?: HttpHandlerOptions,
|
|
1474
1520
|
): Effect.Effect<
|
|
1475
1521
|
ListTagsForResourceCommandOutput,
|
|
1476
|
-
| Cause.
|
|
1522
|
+
| Cause.TimeoutError
|
|
1477
1523
|
| SdkError
|
|
1478
1524
|
| AccessDeniedError
|
|
1479
1525
|
| InternalServerError
|
|
@@ -1490,7 +1536,7 @@ interface BedrockAgentService$ {
|
|
|
1490
1536
|
options?: HttpHandlerOptions,
|
|
1491
1537
|
): Effect.Effect<
|
|
1492
1538
|
PrepareAgentCommandOutput,
|
|
1493
|
-
| Cause.
|
|
1539
|
+
| Cause.TimeoutError
|
|
1494
1540
|
| SdkError
|
|
1495
1541
|
| AccessDeniedError
|
|
1496
1542
|
| ConflictError
|
|
@@ -1509,7 +1555,7 @@ interface BedrockAgentService$ {
|
|
|
1509
1555
|
options?: HttpHandlerOptions,
|
|
1510
1556
|
): Effect.Effect<
|
|
1511
1557
|
PrepareFlowCommandOutput,
|
|
1512
|
-
| Cause.
|
|
1558
|
+
| Cause.TimeoutError
|
|
1513
1559
|
| SdkError
|
|
1514
1560
|
| AccessDeniedError
|
|
1515
1561
|
| ConflictError
|
|
@@ -1520,6 +1566,24 @@ interface BedrockAgentService$ {
|
|
|
1520
1566
|
| ValidationError
|
|
1521
1567
|
>;
|
|
1522
1568
|
|
|
1569
|
+
/**
|
|
1570
|
+
* @see {@link PutResourcePolicyCommand}
|
|
1571
|
+
*/
|
|
1572
|
+
putResourcePolicy(
|
|
1573
|
+
args: PutResourcePolicyCommandInput,
|
|
1574
|
+
options?: HttpHandlerOptions,
|
|
1575
|
+
): Effect.Effect<
|
|
1576
|
+
PutResourcePolicyCommandOutput,
|
|
1577
|
+
| Cause.TimeoutError
|
|
1578
|
+
| SdkError
|
|
1579
|
+
| AccessDeniedError
|
|
1580
|
+
| ConflictError
|
|
1581
|
+
| InternalServerError
|
|
1582
|
+
| ResourceNotFoundError
|
|
1583
|
+
| ThrottlingError
|
|
1584
|
+
| ValidationError
|
|
1585
|
+
>;
|
|
1586
|
+
|
|
1523
1587
|
/**
|
|
1524
1588
|
* @see {@link StartIngestionJobCommand}
|
|
1525
1589
|
*/
|
|
@@ -1528,7 +1592,7 @@ interface BedrockAgentService$ {
|
|
|
1528
1592
|
options?: HttpHandlerOptions,
|
|
1529
1593
|
): Effect.Effect<
|
|
1530
1594
|
StartIngestionJobCommandOutput,
|
|
1531
|
-
| Cause.
|
|
1595
|
+
| Cause.TimeoutError
|
|
1532
1596
|
| SdkError
|
|
1533
1597
|
| AccessDeniedError
|
|
1534
1598
|
| ConflictError
|
|
@@ -1547,7 +1611,7 @@ interface BedrockAgentService$ {
|
|
|
1547
1611
|
options?: HttpHandlerOptions,
|
|
1548
1612
|
): Effect.Effect<
|
|
1549
1613
|
StopIngestionJobCommandOutput,
|
|
1550
|
-
| Cause.
|
|
1614
|
+
| Cause.TimeoutError
|
|
1551
1615
|
| SdkError
|
|
1552
1616
|
| AccessDeniedError
|
|
1553
1617
|
| ConflictError
|
|
@@ -1565,7 +1629,7 @@ interface BedrockAgentService$ {
|
|
|
1565
1629
|
options?: HttpHandlerOptions,
|
|
1566
1630
|
): Effect.Effect<
|
|
1567
1631
|
TagResourceCommandOutput,
|
|
1568
|
-
| Cause.
|
|
1632
|
+
| Cause.TimeoutError
|
|
1569
1633
|
| SdkError
|
|
1570
1634
|
| AccessDeniedError
|
|
1571
1635
|
| InternalServerError
|
|
@@ -1583,7 +1647,7 @@ interface BedrockAgentService$ {
|
|
|
1583
1647
|
options?: HttpHandlerOptions,
|
|
1584
1648
|
): Effect.Effect<
|
|
1585
1649
|
UntagResourceCommandOutput,
|
|
1586
|
-
| Cause.
|
|
1650
|
+
| Cause.TimeoutError
|
|
1587
1651
|
| SdkError
|
|
1588
1652
|
| AccessDeniedError
|
|
1589
1653
|
| InternalServerError
|
|
@@ -1600,7 +1664,7 @@ interface BedrockAgentService$ {
|
|
|
1600
1664
|
options?: HttpHandlerOptions,
|
|
1601
1665
|
): Effect.Effect<
|
|
1602
1666
|
UpdateAgentCommandOutput,
|
|
1603
|
-
| Cause.
|
|
1667
|
+
| Cause.TimeoutError
|
|
1604
1668
|
| SdkError
|
|
1605
1669
|
| AccessDeniedError
|
|
1606
1670
|
| ConflictError
|
|
@@ -1619,7 +1683,7 @@ interface BedrockAgentService$ {
|
|
|
1619
1683
|
options?: HttpHandlerOptions,
|
|
1620
1684
|
): Effect.Effect<
|
|
1621
1685
|
UpdateAgentActionGroupCommandOutput,
|
|
1622
|
-
| Cause.
|
|
1686
|
+
| Cause.TimeoutError
|
|
1623
1687
|
| SdkError
|
|
1624
1688
|
| AccessDeniedError
|
|
1625
1689
|
| ConflictError
|
|
@@ -1638,7 +1702,7 @@ interface BedrockAgentService$ {
|
|
|
1638
1702
|
options?: HttpHandlerOptions,
|
|
1639
1703
|
): Effect.Effect<
|
|
1640
1704
|
UpdateAgentAliasCommandOutput,
|
|
1641
|
-
| Cause.
|
|
1705
|
+
| Cause.TimeoutError
|
|
1642
1706
|
| SdkError
|
|
1643
1707
|
| AccessDeniedError
|
|
1644
1708
|
| ConflictError
|
|
@@ -1657,7 +1721,7 @@ interface BedrockAgentService$ {
|
|
|
1657
1721
|
options?: HttpHandlerOptions,
|
|
1658
1722
|
): Effect.Effect<
|
|
1659
1723
|
UpdateAgentCollaboratorCommandOutput,
|
|
1660
|
-
| Cause.
|
|
1724
|
+
| Cause.TimeoutError
|
|
1661
1725
|
| SdkError
|
|
1662
1726
|
| AccessDeniedError
|
|
1663
1727
|
| ConflictError
|
|
@@ -1676,7 +1740,7 @@ interface BedrockAgentService$ {
|
|
|
1676
1740
|
options?: HttpHandlerOptions,
|
|
1677
1741
|
): Effect.Effect<
|
|
1678
1742
|
UpdateAgentKnowledgeBaseCommandOutput,
|
|
1679
|
-
| Cause.
|
|
1743
|
+
| Cause.TimeoutError
|
|
1680
1744
|
| SdkError
|
|
1681
1745
|
| AccessDeniedError
|
|
1682
1746
|
| ConflictError
|
|
@@ -1694,7 +1758,7 @@ interface BedrockAgentService$ {
|
|
|
1694
1758
|
options?: HttpHandlerOptions,
|
|
1695
1759
|
): Effect.Effect<
|
|
1696
1760
|
UpdateDataSourceCommandOutput,
|
|
1697
|
-
| Cause.
|
|
1761
|
+
| Cause.TimeoutError
|
|
1698
1762
|
| SdkError
|
|
1699
1763
|
| AccessDeniedError
|
|
1700
1764
|
| ConflictError
|
|
@@ -1712,7 +1776,7 @@ interface BedrockAgentService$ {
|
|
|
1712
1776
|
options?: HttpHandlerOptions,
|
|
1713
1777
|
): Effect.Effect<
|
|
1714
1778
|
UpdateFlowCommandOutput,
|
|
1715
|
-
| Cause.
|
|
1779
|
+
| Cause.TimeoutError
|
|
1716
1780
|
| SdkError
|
|
1717
1781
|
| AccessDeniedError
|
|
1718
1782
|
| ConflictError
|
|
@@ -1731,7 +1795,7 @@ interface BedrockAgentService$ {
|
|
|
1731
1795
|
options?: HttpHandlerOptions,
|
|
1732
1796
|
): Effect.Effect<
|
|
1733
1797
|
UpdateFlowAliasCommandOutput,
|
|
1734
|
-
| Cause.
|
|
1798
|
+
| Cause.TimeoutError
|
|
1735
1799
|
| SdkError
|
|
1736
1800
|
| AccessDeniedError
|
|
1737
1801
|
| ConflictError
|
|
@@ -1750,7 +1814,7 @@ interface BedrockAgentService$ {
|
|
|
1750
1814
|
options?: HttpHandlerOptions,
|
|
1751
1815
|
): Effect.Effect<
|
|
1752
1816
|
UpdateKnowledgeBaseCommandOutput,
|
|
1753
|
-
| Cause.
|
|
1817
|
+
| Cause.TimeoutError
|
|
1754
1818
|
| SdkError
|
|
1755
1819
|
| AccessDeniedError
|
|
1756
1820
|
| ConflictError
|
|
@@ -1768,7 +1832,7 @@ interface BedrockAgentService$ {
|
|
|
1768
1832
|
options?: HttpHandlerOptions,
|
|
1769
1833
|
): Effect.Effect<
|
|
1770
1834
|
UpdatePromptCommandOutput,
|
|
1771
|
-
| Cause.
|
|
1835
|
+
| Cause.TimeoutError
|
|
1772
1836
|
| SdkError
|
|
1773
1837
|
| AccessDeniedError
|
|
1774
1838
|
| ConflictError
|
|
@@ -1787,7 +1851,7 @@ interface BedrockAgentService$ {
|
|
|
1787
1851
|
options?: HttpHandlerOptions,
|
|
1788
1852
|
): Effect.Effect<
|
|
1789
1853
|
ValidateFlowDefinitionCommandOutput,
|
|
1790
|
-
Cause.
|
|
1854
|
+
Cause.TimeoutError | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
|
|
1791
1855
|
>;
|
|
1792
1856
|
}
|
|
1793
1857
|
|
|
@@ -1813,10 +1877,10 @@ export const makeBedrockAgentService = Effect.gen(function*() {
|
|
|
1813
1877
|
* @since 1.0.0
|
|
1814
1878
|
* @category models
|
|
1815
1879
|
*/
|
|
1816
|
-
export class BedrockAgentService extends
|
|
1880
|
+
export class BedrockAgentService extends Context.Service<
|
|
1817
1881
|
BedrockAgentService,
|
|
1818
1882
|
BedrockAgentService$
|
|
1819
|
-
>() {
|
|
1883
|
+
>()("@effect-aws/client-bedrock-agent/BedrockAgentService") {
|
|
1820
1884
|
static readonly defaultLayer = Layer.effect(this, makeBedrockAgentService).pipe(Layer.provide(Instance.layer));
|
|
1821
1885
|
static readonly layer = (config: BedrockAgentService.Config) =>
|
|
1822
1886
|
Layer.effect(this, makeBedrockAgentService).pipe(
|