@aws-sdk/client-bedrock-agent 3.613.0 → 3.616.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 (115) hide show
  1. package/README.md +168 -0
  2. package/dist-cjs/index.js +2009 -16
  3. package/dist-es/BedrockAgent.js +42 -0
  4. package/dist-es/BedrockAgentClient.js +5 -5
  5. package/dist-es/commands/CreateDataSourceCommand.js +2 -1
  6. package/dist-es/commands/CreateFlowAliasCommand.js +24 -0
  7. package/dist-es/commands/CreateFlowCommand.js +25 -0
  8. package/dist-es/commands/CreateFlowVersionCommand.js +25 -0
  9. package/dist-es/commands/CreatePromptCommand.js +25 -0
  10. package/dist-es/commands/CreatePromptVersionCommand.js +25 -0
  11. package/dist-es/commands/DeleteFlowAliasCommand.js +24 -0
  12. package/dist-es/commands/DeleteFlowCommand.js +24 -0
  13. package/dist-es/commands/DeleteFlowVersionCommand.js +24 -0
  14. package/dist-es/commands/DeletePromptCommand.js +24 -0
  15. package/dist-es/commands/GetDataSourceCommand.js +2 -1
  16. package/dist-es/commands/GetFlowAliasCommand.js +24 -0
  17. package/dist-es/commands/GetFlowCommand.js +25 -0
  18. package/dist-es/commands/GetFlowVersionCommand.js +25 -0
  19. package/dist-es/commands/GetPromptCommand.js +25 -0
  20. package/dist-es/commands/ListFlowAliasesCommand.js +24 -0
  21. package/dist-es/commands/ListFlowVersionsCommand.js +24 -0
  22. package/dist-es/commands/ListFlowsCommand.js +24 -0
  23. package/dist-es/commands/ListPromptsCommand.js +24 -0
  24. package/dist-es/commands/PrepareFlowCommand.js +24 -0
  25. package/dist-es/commands/UpdateDataSourceCommand.js +2 -1
  26. package/dist-es/commands/UpdateFlowAliasCommand.js +24 -0
  27. package/dist-es/commands/UpdateFlowCommand.js +25 -0
  28. package/dist-es/commands/UpdatePromptCommand.js +25 -0
  29. package/dist-es/commands/index.js +21 -0
  30. package/dist-es/models/models_0.js +418 -0
  31. package/dist-es/pagination/ListFlowAliasesPaginator.js +4 -0
  32. package/dist-es/pagination/ListFlowVersionsPaginator.js +4 -0
  33. package/dist-es/pagination/ListFlowsPaginator.js +4 -0
  34. package/dist-es/pagination/ListPromptsPaginator.js +4 -0
  35. package/dist-es/pagination/index.js +4 -0
  36. package/dist-es/protocols/Aws_restJson1.js +1041 -25
  37. package/dist-types/BedrockAgent.d.ts +149 -0
  38. package/dist-types/BedrockAgentClient.d.ts +25 -4
  39. package/dist-types/commands/CreateAgentActionGroupCommand.d.ts +7 -3
  40. package/dist-types/commands/CreateAgentCommand.d.ts +18 -1
  41. package/dist-types/commands/CreateDataSourceCommand.d.ts +280 -6
  42. package/dist-types/commands/CreateFlowAliasCommand.d.ts +103 -0
  43. package/dist-types/commands/CreateFlowCommand.d.ts +318 -0
  44. package/dist-types/commands/CreateFlowVersionCommand.d.ts +203 -0
  45. package/dist-types/commands/CreatePromptCommand.d.ts +149 -0
  46. package/dist-types/commands/CreatePromptVersionCommand.d.ts +122 -0
  47. package/dist-types/commands/DeleteFlowAliasCommand.d.ts +80 -0
  48. package/dist-types/commands/DeleteFlowCommand.d.ts +79 -0
  49. package/dist-types/commands/DeleteFlowVersionCommand.d.ts +81 -0
  50. package/dist-types/commands/DeletePromptCommand.d.ts +80 -0
  51. package/dist-types/commands/GetAgentActionGroupCommand.d.ts +1 -1
  52. package/dist-types/commands/GetAgentCommand.d.ts +6 -0
  53. package/dist-types/commands/GetAgentVersionCommand.d.ts +6 -0
  54. package/dist-types/commands/GetDataSourceCommand.d.ts +139 -2
  55. package/dist-types/commands/GetFlowAliasCommand.d.ts +87 -0
  56. package/dist-types/commands/GetFlowCommand.d.ts +202 -0
  57. package/dist-types/commands/GetFlowVersionCommand.d.ts +196 -0
  58. package/dist-types/commands/GetPromptCommand.d.ts +112 -0
  59. package/dist-types/commands/ListFlowAliasesCommand.d.ts +93 -0
  60. package/dist-types/commands/ListFlowVersionsCommand.d.ts +86 -0
  61. package/dist-types/commands/ListFlowsCommand.d.ts +85 -0
  62. package/dist-types/commands/ListPromptsCommand.d.ts +88 -0
  63. package/dist-types/commands/PrepareFlowCommand.d.ts +82 -0
  64. package/dist-types/commands/UpdateAgentActionGroupCommand.d.ts +2 -2
  65. package/dist-types/commands/UpdateAgentCommand.d.ts +12 -0
  66. package/dist-types/commands/UpdateDataSourceCommand.d.ts +280 -6
  67. package/dist-types/commands/UpdateFlowAliasCommand.d.ts +100 -0
  68. package/dist-types/commands/UpdateFlowCommand.d.ts +318 -0
  69. package/dist-types/commands/UpdatePromptCommand.d.ts +149 -0
  70. package/dist-types/commands/index.d.ts +21 -0
  71. package/dist-types/models/models_0.d.ts +4252 -772
  72. package/dist-types/pagination/ListFlowAliasesPaginator.d.ts +7 -0
  73. package/dist-types/pagination/ListFlowVersionsPaginator.d.ts +7 -0
  74. package/dist-types/pagination/ListFlowsPaginator.d.ts +7 -0
  75. package/dist-types/pagination/ListPromptsPaginator.d.ts +7 -0
  76. package/dist-types/pagination/index.d.ts +4 -0
  77. package/dist-types/protocols/Aws_restJson1.d.ts +189 -0
  78. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  79. package/dist-types/runtimeConfig.d.ts +1 -1
  80. package/dist-types/runtimeConfig.native.d.ts +1 -1
  81. package/dist-types/ts3.4/BedrockAgent.d.ts +359 -0
  82. package/dist-types/ts3.4/BedrockAgentClient.d.ts +130 -4
  83. package/dist-types/ts3.4/commands/CreateFlowAliasCommand.d.ts +39 -0
  84. package/dist-types/ts3.4/commands/CreateFlowCommand.d.ts +36 -0
  85. package/dist-types/ts3.4/commands/CreateFlowVersionCommand.d.ts +40 -0
  86. package/dist-types/ts3.4/commands/CreatePromptCommand.d.ts +36 -0
  87. package/dist-types/ts3.4/commands/CreatePromptVersionCommand.d.ts +40 -0
  88. package/dist-types/ts3.4/commands/DeleteFlowAliasCommand.d.ts +39 -0
  89. package/dist-types/ts3.4/commands/DeleteFlowCommand.d.ts +36 -0
  90. package/dist-types/ts3.4/commands/DeleteFlowVersionCommand.d.ts +40 -0
  91. package/dist-types/ts3.4/commands/DeletePromptCommand.d.ts +36 -0
  92. package/dist-types/ts3.4/commands/GetFlowAliasCommand.d.ts +36 -0
  93. package/dist-types/ts3.4/commands/GetFlowCommand.d.ts +32 -0
  94. package/dist-types/ts3.4/commands/GetFlowVersionCommand.d.ts +39 -0
  95. package/dist-types/ts3.4/commands/GetPromptCommand.d.ts +36 -0
  96. package/dist-types/ts3.4/commands/ListFlowAliasesCommand.d.ts +39 -0
  97. package/dist-types/ts3.4/commands/ListFlowVersionsCommand.d.ts +39 -0
  98. package/dist-types/ts3.4/commands/ListFlowsCommand.d.ts +36 -0
  99. package/dist-types/ts3.4/commands/ListPromptsCommand.d.ts +36 -0
  100. package/dist-types/ts3.4/commands/PrepareFlowCommand.d.ts +36 -0
  101. package/dist-types/ts3.4/commands/UpdateFlowAliasCommand.d.ts +39 -0
  102. package/dist-types/ts3.4/commands/UpdateFlowCommand.d.ts +36 -0
  103. package/dist-types/ts3.4/commands/UpdatePromptCommand.d.ts +36 -0
  104. package/dist-types/ts3.4/commands/index.d.ts +21 -0
  105. package/dist-types/ts3.4/models/models_0.d.ts +1179 -0
  106. package/dist-types/ts3.4/pagination/ListFlowAliasesPaginator.d.ts +11 -0
  107. package/dist-types/ts3.4/pagination/ListFlowVersionsPaginator.d.ts +11 -0
  108. package/dist-types/ts3.4/pagination/ListFlowsPaginator.d.ts +11 -0
  109. package/dist-types/ts3.4/pagination/ListPromptsPaginator.d.ts +11 -0
  110. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  111. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +252 -0
  112. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  113. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  114. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  115. package/package.json +24 -24
@@ -20,10 +20,30 @@ import {
20
20
  CreateDataSourceCommandInput,
21
21
  CreateDataSourceCommandOutput,
22
22
  } from "./commands/CreateDataSourceCommand";
23
+ import {
24
+ CreateFlowAliasCommandInput,
25
+ CreateFlowAliasCommandOutput,
26
+ } from "./commands/CreateFlowAliasCommand";
27
+ import {
28
+ CreateFlowCommandInput,
29
+ CreateFlowCommandOutput,
30
+ } from "./commands/CreateFlowCommand";
31
+ import {
32
+ CreateFlowVersionCommandInput,
33
+ CreateFlowVersionCommandOutput,
34
+ } from "./commands/CreateFlowVersionCommand";
23
35
  import {
24
36
  CreateKnowledgeBaseCommandInput,
25
37
  CreateKnowledgeBaseCommandOutput,
26
38
  } from "./commands/CreateKnowledgeBaseCommand";
39
+ import {
40
+ CreatePromptCommandInput,
41
+ CreatePromptCommandOutput,
42
+ } from "./commands/CreatePromptCommand";
43
+ import {
44
+ CreatePromptVersionCommandInput,
45
+ CreatePromptVersionCommandOutput,
46
+ } from "./commands/CreatePromptVersionCommand";
27
47
  import {
28
48
  DeleteAgentActionGroupCommandInput,
29
49
  DeleteAgentActionGroupCommandOutput,
@@ -44,10 +64,26 @@ import {
44
64
  DeleteDataSourceCommandInput,
45
65
  DeleteDataSourceCommandOutput,
46
66
  } from "./commands/DeleteDataSourceCommand";
67
+ import {
68
+ DeleteFlowAliasCommandInput,
69
+ DeleteFlowAliasCommandOutput,
70
+ } from "./commands/DeleteFlowAliasCommand";
71
+ import {
72
+ DeleteFlowCommandInput,
73
+ DeleteFlowCommandOutput,
74
+ } from "./commands/DeleteFlowCommand";
75
+ import {
76
+ DeleteFlowVersionCommandInput,
77
+ DeleteFlowVersionCommandOutput,
78
+ } from "./commands/DeleteFlowVersionCommand";
47
79
  import {
48
80
  DeleteKnowledgeBaseCommandInput,
49
81
  DeleteKnowledgeBaseCommandOutput,
50
82
  } from "./commands/DeleteKnowledgeBaseCommand";
83
+ import {
84
+ DeletePromptCommandInput,
85
+ DeletePromptCommandOutput,
86
+ } from "./commands/DeletePromptCommand";
51
87
  import {
52
88
  DisassociateAgentKnowledgeBaseCommandInput,
53
89
  DisassociateAgentKnowledgeBaseCommandOutput,
@@ -76,6 +112,18 @@ import {
76
112
  GetDataSourceCommandInput,
77
113
  GetDataSourceCommandOutput,
78
114
  } from "./commands/GetDataSourceCommand";
115
+ import {
116
+ GetFlowAliasCommandInput,
117
+ GetFlowAliasCommandOutput,
118
+ } from "./commands/GetFlowAliasCommand";
119
+ import {
120
+ GetFlowCommandInput,
121
+ GetFlowCommandOutput,
122
+ } from "./commands/GetFlowCommand";
123
+ import {
124
+ GetFlowVersionCommandInput,
125
+ GetFlowVersionCommandOutput,
126
+ } from "./commands/GetFlowVersionCommand";
79
127
  import {
80
128
  GetIngestionJobCommandInput,
81
129
  GetIngestionJobCommandOutput,
@@ -84,6 +132,10 @@ import {
84
132
  GetKnowledgeBaseCommandInput,
85
133
  GetKnowledgeBaseCommandOutput,
86
134
  } from "./commands/GetKnowledgeBaseCommand";
135
+ import {
136
+ GetPromptCommandInput,
137
+ GetPromptCommandOutput,
138
+ } from "./commands/GetPromptCommand";
87
139
  import {
88
140
  ListAgentActionGroupsCommandInput,
89
141
  ListAgentActionGroupsCommandOutput,
@@ -108,6 +160,18 @@ import {
108
160
  ListDataSourcesCommandInput,
109
161
  ListDataSourcesCommandOutput,
110
162
  } from "./commands/ListDataSourcesCommand";
163
+ import {
164
+ ListFlowAliasesCommandInput,
165
+ ListFlowAliasesCommandOutput,
166
+ } from "./commands/ListFlowAliasesCommand";
167
+ import {
168
+ ListFlowsCommandInput,
169
+ ListFlowsCommandOutput,
170
+ } from "./commands/ListFlowsCommand";
171
+ import {
172
+ ListFlowVersionsCommandInput,
173
+ ListFlowVersionsCommandOutput,
174
+ } from "./commands/ListFlowVersionsCommand";
111
175
  import {
112
176
  ListIngestionJobsCommandInput,
113
177
  ListIngestionJobsCommandOutput,
@@ -116,6 +180,10 @@ import {
116
180
  ListKnowledgeBasesCommandInput,
117
181
  ListKnowledgeBasesCommandOutput,
118
182
  } from "./commands/ListKnowledgeBasesCommand";
183
+ import {
184
+ ListPromptsCommandInput,
185
+ ListPromptsCommandOutput,
186
+ } from "./commands/ListPromptsCommand";
119
187
  import {
120
188
  ListTagsForResourceCommandInput,
121
189
  ListTagsForResourceCommandOutput,
@@ -124,6 +192,10 @@ import {
124
192
  PrepareAgentCommandInput,
125
193
  PrepareAgentCommandOutput,
126
194
  } from "./commands/PrepareAgentCommand";
195
+ import {
196
+ PrepareFlowCommandInput,
197
+ PrepareFlowCommandOutput,
198
+ } from "./commands/PrepareFlowCommand";
127
199
  import {
128
200
  StartIngestionJobCommandInput,
129
201
  StartIngestionJobCommandOutput,
@@ -156,10 +228,22 @@ import {
156
228
  UpdateDataSourceCommandInput,
157
229
  UpdateDataSourceCommandOutput,
158
230
  } from "./commands/UpdateDataSourceCommand";
231
+ import {
232
+ UpdateFlowAliasCommandInput,
233
+ UpdateFlowAliasCommandOutput,
234
+ } from "./commands/UpdateFlowAliasCommand";
235
+ import {
236
+ UpdateFlowCommandInput,
237
+ UpdateFlowCommandOutput,
238
+ } from "./commands/UpdateFlowCommand";
159
239
  import {
160
240
  UpdateKnowledgeBaseCommandInput,
161
241
  UpdateKnowledgeBaseCommandOutput,
162
242
  } from "./commands/UpdateKnowledgeBaseCommand";
243
+ import {
244
+ UpdatePromptCommandInput,
245
+ UpdatePromptCommandOutput,
246
+ } from "./commands/UpdatePromptCommand";
163
247
  export interface BedrockAgent {
164
248
  associateAgentKnowledgeBase(
165
249
  args: AssociateAgentKnowledgeBaseCommandInput,
@@ -226,6 +310,45 @@ export interface BedrockAgent {
226
310
  options: __HttpHandlerOptions,
227
311
  cb: (err: any, data?: CreateDataSourceCommandOutput) => void
228
312
  ): void;
313
+ createFlow(
314
+ args: CreateFlowCommandInput,
315
+ options?: __HttpHandlerOptions
316
+ ): Promise<CreateFlowCommandOutput>;
317
+ createFlow(
318
+ args: CreateFlowCommandInput,
319
+ cb: (err: any, data?: CreateFlowCommandOutput) => void
320
+ ): void;
321
+ createFlow(
322
+ args: CreateFlowCommandInput,
323
+ options: __HttpHandlerOptions,
324
+ cb: (err: any, data?: CreateFlowCommandOutput) => void
325
+ ): void;
326
+ createFlowAlias(
327
+ args: CreateFlowAliasCommandInput,
328
+ options?: __HttpHandlerOptions
329
+ ): Promise<CreateFlowAliasCommandOutput>;
330
+ createFlowAlias(
331
+ args: CreateFlowAliasCommandInput,
332
+ cb: (err: any, data?: CreateFlowAliasCommandOutput) => void
333
+ ): void;
334
+ createFlowAlias(
335
+ args: CreateFlowAliasCommandInput,
336
+ options: __HttpHandlerOptions,
337
+ cb: (err: any, data?: CreateFlowAliasCommandOutput) => void
338
+ ): void;
339
+ createFlowVersion(
340
+ args: CreateFlowVersionCommandInput,
341
+ options?: __HttpHandlerOptions
342
+ ): Promise<CreateFlowVersionCommandOutput>;
343
+ createFlowVersion(
344
+ args: CreateFlowVersionCommandInput,
345
+ cb: (err: any, data?: CreateFlowVersionCommandOutput) => void
346
+ ): void;
347
+ createFlowVersion(
348
+ args: CreateFlowVersionCommandInput,
349
+ options: __HttpHandlerOptions,
350
+ cb: (err: any, data?: CreateFlowVersionCommandOutput) => void
351
+ ): void;
229
352
  createKnowledgeBase(
230
353
  args: CreateKnowledgeBaseCommandInput,
231
354
  options?: __HttpHandlerOptions
@@ -239,6 +362,32 @@ export interface BedrockAgent {
239
362
  options: __HttpHandlerOptions,
240
363
  cb: (err: any, data?: CreateKnowledgeBaseCommandOutput) => void
241
364
  ): void;
365
+ createPrompt(
366
+ args: CreatePromptCommandInput,
367
+ options?: __HttpHandlerOptions
368
+ ): Promise<CreatePromptCommandOutput>;
369
+ createPrompt(
370
+ args: CreatePromptCommandInput,
371
+ cb: (err: any, data?: CreatePromptCommandOutput) => void
372
+ ): void;
373
+ createPrompt(
374
+ args: CreatePromptCommandInput,
375
+ options: __HttpHandlerOptions,
376
+ cb: (err: any, data?: CreatePromptCommandOutput) => void
377
+ ): void;
378
+ createPromptVersion(
379
+ args: CreatePromptVersionCommandInput,
380
+ options?: __HttpHandlerOptions
381
+ ): Promise<CreatePromptVersionCommandOutput>;
382
+ createPromptVersion(
383
+ args: CreatePromptVersionCommandInput,
384
+ cb: (err: any, data?: CreatePromptVersionCommandOutput) => void
385
+ ): void;
386
+ createPromptVersion(
387
+ args: CreatePromptVersionCommandInput,
388
+ options: __HttpHandlerOptions,
389
+ cb: (err: any, data?: CreatePromptVersionCommandOutput) => void
390
+ ): void;
242
391
  deleteAgent(
243
392
  args: DeleteAgentCommandInput,
244
393
  options?: __HttpHandlerOptions
@@ -304,6 +453,45 @@ export interface BedrockAgent {
304
453
  options: __HttpHandlerOptions,
305
454
  cb: (err: any, data?: DeleteDataSourceCommandOutput) => void
306
455
  ): void;
456
+ deleteFlow(
457
+ args: DeleteFlowCommandInput,
458
+ options?: __HttpHandlerOptions
459
+ ): Promise<DeleteFlowCommandOutput>;
460
+ deleteFlow(
461
+ args: DeleteFlowCommandInput,
462
+ cb: (err: any, data?: DeleteFlowCommandOutput) => void
463
+ ): void;
464
+ deleteFlow(
465
+ args: DeleteFlowCommandInput,
466
+ options: __HttpHandlerOptions,
467
+ cb: (err: any, data?: DeleteFlowCommandOutput) => void
468
+ ): void;
469
+ deleteFlowAlias(
470
+ args: DeleteFlowAliasCommandInput,
471
+ options?: __HttpHandlerOptions
472
+ ): Promise<DeleteFlowAliasCommandOutput>;
473
+ deleteFlowAlias(
474
+ args: DeleteFlowAliasCommandInput,
475
+ cb: (err: any, data?: DeleteFlowAliasCommandOutput) => void
476
+ ): void;
477
+ deleteFlowAlias(
478
+ args: DeleteFlowAliasCommandInput,
479
+ options: __HttpHandlerOptions,
480
+ cb: (err: any, data?: DeleteFlowAliasCommandOutput) => void
481
+ ): void;
482
+ deleteFlowVersion(
483
+ args: DeleteFlowVersionCommandInput,
484
+ options?: __HttpHandlerOptions
485
+ ): Promise<DeleteFlowVersionCommandOutput>;
486
+ deleteFlowVersion(
487
+ args: DeleteFlowVersionCommandInput,
488
+ cb: (err: any, data?: DeleteFlowVersionCommandOutput) => void
489
+ ): void;
490
+ deleteFlowVersion(
491
+ args: DeleteFlowVersionCommandInput,
492
+ options: __HttpHandlerOptions,
493
+ cb: (err: any, data?: DeleteFlowVersionCommandOutput) => void
494
+ ): void;
307
495
  deleteKnowledgeBase(
308
496
  args: DeleteKnowledgeBaseCommandInput,
309
497
  options?: __HttpHandlerOptions
@@ -317,6 +505,19 @@ export interface BedrockAgent {
317
505
  options: __HttpHandlerOptions,
318
506
  cb: (err: any, data?: DeleteKnowledgeBaseCommandOutput) => void
319
507
  ): void;
508
+ deletePrompt(
509
+ args: DeletePromptCommandInput,
510
+ options?: __HttpHandlerOptions
511
+ ): Promise<DeletePromptCommandOutput>;
512
+ deletePrompt(
513
+ args: DeletePromptCommandInput,
514
+ cb: (err: any, data?: DeletePromptCommandOutput) => void
515
+ ): void;
516
+ deletePrompt(
517
+ args: DeletePromptCommandInput,
518
+ options: __HttpHandlerOptions,
519
+ cb: (err: any, data?: DeletePromptCommandOutput) => void
520
+ ): void;
320
521
  disassociateAgentKnowledgeBase(
321
522
  args: DisassociateAgentKnowledgeBaseCommandInput,
322
523
  options?: __HttpHandlerOptions
@@ -408,6 +609,45 @@ export interface BedrockAgent {
408
609
  options: __HttpHandlerOptions,
409
610
  cb: (err: any, data?: GetDataSourceCommandOutput) => void
410
611
  ): void;
612
+ getFlow(
613
+ args: GetFlowCommandInput,
614
+ options?: __HttpHandlerOptions
615
+ ): Promise<GetFlowCommandOutput>;
616
+ getFlow(
617
+ args: GetFlowCommandInput,
618
+ cb: (err: any, data?: GetFlowCommandOutput) => void
619
+ ): void;
620
+ getFlow(
621
+ args: GetFlowCommandInput,
622
+ options: __HttpHandlerOptions,
623
+ cb: (err: any, data?: GetFlowCommandOutput) => void
624
+ ): void;
625
+ getFlowAlias(
626
+ args: GetFlowAliasCommandInput,
627
+ options?: __HttpHandlerOptions
628
+ ): Promise<GetFlowAliasCommandOutput>;
629
+ getFlowAlias(
630
+ args: GetFlowAliasCommandInput,
631
+ cb: (err: any, data?: GetFlowAliasCommandOutput) => void
632
+ ): void;
633
+ getFlowAlias(
634
+ args: GetFlowAliasCommandInput,
635
+ options: __HttpHandlerOptions,
636
+ cb: (err: any, data?: GetFlowAliasCommandOutput) => void
637
+ ): void;
638
+ getFlowVersion(
639
+ args: GetFlowVersionCommandInput,
640
+ options?: __HttpHandlerOptions
641
+ ): Promise<GetFlowVersionCommandOutput>;
642
+ getFlowVersion(
643
+ args: GetFlowVersionCommandInput,
644
+ cb: (err: any, data?: GetFlowVersionCommandOutput) => void
645
+ ): void;
646
+ getFlowVersion(
647
+ args: GetFlowVersionCommandInput,
648
+ options: __HttpHandlerOptions,
649
+ cb: (err: any, data?: GetFlowVersionCommandOutput) => void
650
+ ): void;
411
651
  getIngestionJob(
412
652
  args: GetIngestionJobCommandInput,
413
653
  options?: __HttpHandlerOptions
@@ -434,6 +674,19 @@ export interface BedrockAgent {
434
674
  options: __HttpHandlerOptions,
435
675
  cb: (err: any, data?: GetKnowledgeBaseCommandOutput) => void
436
676
  ): void;
677
+ getPrompt(
678
+ args: GetPromptCommandInput,
679
+ options?: __HttpHandlerOptions
680
+ ): Promise<GetPromptCommandOutput>;
681
+ getPrompt(
682
+ args: GetPromptCommandInput,
683
+ cb: (err: any, data?: GetPromptCommandOutput) => void
684
+ ): void;
685
+ getPrompt(
686
+ args: GetPromptCommandInput,
687
+ options: __HttpHandlerOptions,
688
+ cb: (err: any, data?: GetPromptCommandOutput) => void
689
+ ): void;
437
690
  listAgentActionGroups(
438
691
  args: ListAgentActionGroupsCommandInput,
439
692
  options?: __HttpHandlerOptions
@@ -513,6 +766,46 @@ export interface BedrockAgent {
513
766
  options: __HttpHandlerOptions,
514
767
  cb: (err: any, data?: ListDataSourcesCommandOutput) => void
515
768
  ): void;
769
+ listFlowAliases(
770
+ args: ListFlowAliasesCommandInput,
771
+ options?: __HttpHandlerOptions
772
+ ): Promise<ListFlowAliasesCommandOutput>;
773
+ listFlowAliases(
774
+ args: ListFlowAliasesCommandInput,
775
+ cb: (err: any, data?: ListFlowAliasesCommandOutput) => void
776
+ ): void;
777
+ listFlowAliases(
778
+ args: ListFlowAliasesCommandInput,
779
+ options: __HttpHandlerOptions,
780
+ cb: (err: any, data?: ListFlowAliasesCommandOutput) => void
781
+ ): void;
782
+ listFlows(): Promise<ListFlowsCommandOutput>;
783
+ listFlows(
784
+ args: ListFlowsCommandInput,
785
+ options?: __HttpHandlerOptions
786
+ ): Promise<ListFlowsCommandOutput>;
787
+ listFlows(
788
+ args: ListFlowsCommandInput,
789
+ cb: (err: any, data?: ListFlowsCommandOutput) => void
790
+ ): void;
791
+ listFlows(
792
+ args: ListFlowsCommandInput,
793
+ options: __HttpHandlerOptions,
794
+ cb: (err: any, data?: ListFlowsCommandOutput) => void
795
+ ): void;
796
+ listFlowVersions(
797
+ args: ListFlowVersionsCommandInput,
798
+ options?: __HttpHandlerOptions
799
+ ): Promise<ListFlowVersionsCommandOutput>;
800
+ listFlowVersions(
801
+ args: ListFlowVersionsCommandInput,
802
+ cb: (err: any, data?: ListFlowVersionsCommandOutput) => void
803
+ ): void;
804
+ listFlowVersions(
805
+ args: ListFlowVersionsCommandInput,
806
+ options: __HttpHandlerOptions,
807
+ cb: (err: any, data?: ListFlowVersionsCommandOutput) => void
808
+ ): void;
516
809
  listIngestionJobs(
517
810
  args: ListIngestionJobsCommandInput,
518
811
  options?: __HttpHandlerOptions
@@ -540,6 +833,20 @@ export interface BedrockAgent {
540
833
  options: __HttpHandlerOptions,
541
834
  cb: (err: any, data?: ListKnowledgeBasesCommandOutput) => void
542
835
  ): void;
836
+ listPrompts(): Promise<ListPromptsCommandOutput>;
837
+ listPrompts(
838
+ args: ListPromptsCommandInput,
839
+ options?: __HttpHandlerOptions
840
+ ): Promise<ListPromptsCommandOutput>;
841
+ listPrompts(
842
+ args: ListPromptsCommandInput,
843
+ cb: (err: any, data?: ListPromptsCommandOutput) => void
844
+ ): void;
845
+ listPrompts(
846
+ args: ListPromptsCommandInput,
847
+ options: __HttpHandlerOptions,
848
+ cb: (err: any, data?: ListPromptsCommandOutput) => void
849
+ ): void;
543
850
  listTagsForResource(
544
851
  args: ListTagsForResourceCommandInput,
545
852
  options?: __HttpHandlerOptions
@@ -566,6 +873,19 @@ export interface BedrockAgent {
566
873
  options: __HttpHandlerOptions,
567
874
  cb: (err: any, data?: PrepareAgentCommandOutput) => void
568
875
  ): void;
876
+ prepareFlow(
877
+ args: PrepareFlowCommandInput,
878
+ options?: __HttpHandlerOptions
879
+ ): Promise<PrepareFlowCommandOutput>;
880
+ prepareFlow(
881
+ args: PrepareFlowCommandInput,
882
+ cb: (err: any, data?: PrepareFlowCommandOutput) => void
883
+ ): void;
884
+ prepareFlow(
885
+ args: PrepareFlowCommandInput,
886
+ options: __HttpHandlerOptions,
887
+ cb: (err: any, data?: PrepareFlowCommandOutput) => void
888
+ ): void;
569
889
  startIngestionJob(
570
890
  args: StartIngestionJobCommandInput,
571
891
  options?: __HttpHandlerOptions
@@ -670,6 +990,32 @@ export interface BedrockAgent {
670
990
  options: __HttpHandlerOptions,
671
991
  cb: (err: any, data?: UpdateDataSourceCommandOutput) => void
672
992
  ): void;
993
+ updateFlow(
994
+ args: UpdateFlowCommandInput,
995
+ options?: __HttpHandlerOptions
996
+ ): Promise<UpdateFlowCommandOutput>;
997
+ updateFlow(
998
+ args: UpdateFlowCommandInput,
999
+ cb: (err: any, data?: UpdateFlowCommandOutput) => void
1000
+ ): void;
1001
+ updateFlow(
1002
+ args: UpdateFlowCommandInput,
1003
+ options: __HttpHandlerOptions,
1004
+ cb: (err: any, data?: UpdateFlowCommandOutput) => void
1005
+ ): void;
1006
+ updateFlowAlias(
1007
+ args: UpdateFlowAliasCommandInput,
1008
+ options?: __HttpHandlerOptions
1009
+ ): Promise<UpdateFlowAliasCommandOutput>;
1010
+ updateFlowAlias(
1011
+ args: UpdateFlowAliasCommandInput,
1012
+ cb: (err: any, data?: UpdateFlowAliasCommandOutput) => void
1013
+ ): void;
1014
+ updateFlowAlias(
1015
+ args: UpdateFlowAliasCommandInput,
1016
+ options: __HttpHandlerOptions,
1017
+ cb: (err: any, data?: UpdateFlowAliasCommandOutput) => void
1018
+ ): void;
673
1019
  updateKnowledgeBase(
674
1020
  args: UpdateKnowledgeBaseCommandInput,
675
1021
  options?: __HttpHandlerOptions
@@ -683,6 +1029,19 @@ export interface BedrockAgent {
683
1029
  options: __HttpHandlerOptions,
684
1030
  cb: (err: any, data?: UpdateKnowledgeBaseCommandOutput) => void
685
1031
  ): void;
1032
+ updatePrompt(
1033
+ args: UpdatePromptCommandInput,
1034
+ options?: __HttpHandlerOptions
1035
+ ): Promise<UpdatePromptCommandOutput>;
1036
+ updatePrompt(
1037
+ args: UpdatePromptCommandInput,
1038
+ cb: (err: any, data?: UpdatePromptCommandOutput) => void
1039
+ ): void;
1040
+ updatePrompt(
1041
+ args: UpdatePromptCommandInput,
1042
+ options: __HttpHandlerOptions,
1043
+ cb: (err: any, data?: UpdatePromptCommandOutput) => void
1044
+ ): void;
686
1045
  }
687
1046
  export declare class BedrockAgent
688
1047
  extends BedrockAgentClient