@aws-sdk/client-bedrock-agent 3.1152.0 → 3.1153.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/README.md +49 -0
- package/dist-cjs/index.js +263 -1
- package/dist-es/BedrockAgent.js +18 -0
- package/dist-es/commands/CreateRetrievalInstructionCommand.js +4 -0
- package/dist-es/commands/CreateRetrievalInstructionVersionCommand.js +4 -0
- package/dist-es/commands/DeleteRetrievalInstructionCommand.js +4 -0
- package/dist-es/commands/GetRetrievalInstructionCommand.js +4 -0
- package/dist-es/commands/ListRetrievalInstructionVersionsCommand.js +4 -0
- package/dist-es/commands/ListRetrievalInstructionsCommand.js +4 -0
- package/dist-es/commands/UpdateRetrievalInstructionCommand.js +4 -0
- package/dist-es/commands/index.js +7 -0
- package/dist-es/models/enums.js +23 -0
- package/dist-es/pagination/ListRetrievalInstructionVersionsPaginator.js +4 -0
- package/dist-es/pagination/ListRetrievalInstructionsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/schemas/schemas_0.js +167 -0
- package/dist-types/BedrockAgent.d.ts +64 -0
- package/dist-types/BedrockAgentClient.d.ts +9 -2
- package/dist-types/commands/CreateRetrievalInstructionCommand.d.ts +107 -0
- package/dist-types/commands/CreateRetrievalInstructionVersionCommand.d.ts +98 -0
- package/dist-types/commands/DeleteRetrievalInstructionCommand.d.ts +92 -0
- package/dist-types/commands/GetRetrievalInstructionCommand.d.ts +110 -0
- package/dist-types/commands/ListRetrievalInstructionVersionsCommand.d.ts +94 -0
- package/dist-types/commands/ListRetrievalInstructionsCommand.d.ts +97 -0
- package/dist-types/commands/UpdateRetrievalInstructionCommand.d.ts +102 -0
- package/dist-types/commands/index.d.ts +7 -0
- package/dist-types/models/enums.d.ts +55 -0
- package/dist-types/models/models_1.d.ts +485 -1
- package/dist-types/pagination/ListRetrievalInstructionVersionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListRetrievalInstructionsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/schemas/schemas_0.d.ts +25 -0
- package/dist-types/ts3.4/BedrockAgent.d.ts +134 -0
- package/dist-types/ts3.4/BedrockAgentClient.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateRetrievalInstructionCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateRetrievalInstructionVersionCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteRetrievalInstructionCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetRetrievalInstructionCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListRetrievalInstructionVersionsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListRetrievalInstructionsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateRetrievalInstructionCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +7 -0
- package/dist-types/ts3.4/models/enums.d.ts +31 -0
- package/dist-types/ts3.4/models/models_1.d.ts +118 -0
- package/dist-types/ts3.4/pagination/ListRetrievalInstructionVersionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListRetrievalInstructionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +25 -0
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -265,6 +265,20 @@ CreatePromptVersion
|
|
|
265
265
|
</details>
|
|
266
266
|
<details>
|
|
267
267
|
<summary>
|
|
268
|
+
CreateRetrievalInstruction
|
|
269
|
+
</summary>
|
|
270
|
+
|
|
271
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock-agent/command/CreateRetrievalInstructionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agent/Interface/CreateRetrievalInstructionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agent/Interface/CreateRetrievalInstructionCommandOutput/)
|
|
272
|
+
</details>
|
|
273
|
+
<details>
|
|
274
|
+
<summary>
|
|
275
|
+
CreateRetrievalInstructionVersion
|
|
276
|
+
</summary>
|
|
277
|
+
|
|
278
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock-agent/command/CreateRetrievalInstructionVersionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agent/Interface/CreateRetrievalInstructionVersionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agent/Interface/CreateRetrievalInstructionVersionCommandOutput/)
|
|
279
|
+
</details>
|
|
280
|
+
<details>
|
|
281
|
+
<summary>
|
|
268
282
|
CreateVpcConfiguration
|
|
269
283
|
</summary>
|
|
270
284
|
|
|
@@ -356,6 +370,13 @@ DeleteResourcePolicy
|
|
|
356
370
|
</details>
|
|
357
371
|
<details>
|
|
358
372
|
<summary>
|
|
373
|
+
DeleteRetrievalInstruction
|
|
374
|
+
</summary>
|
|
375
|
+
|
|
376
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock-agent/command/DeleteRetrievalInstructionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agent/Interface/DeleteRetrievalInstructionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agent/Interface/DeleteRetrievalInstructionCommandOutput/)
|
|
377
|
+
</details>
|
|
378
|
+
<details>
|
|
379
|
+
<summary>
|
|
359
380
|
DeleteVpcConfiguration
|
|
360
381
|
</summary>
|
|
361
382
|
|
|
@@ -482,6 +503,13 @@ GetResourcePolicy
|
|
|
482
503
|
</details>
|
|
483
504
|
<details>
|
|
484
505
|
<summary>
|
|
506
|
+
GetRetrievalInstruction
|
|
507
|
+
</summary>
|
|
508
|
+
|
|
509
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock-agent/command/GetRetrievalInstructionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agent/Interface/GetRetrievalInstructionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agent/Interface/GetRetrievalInstructionCommandOutput/)
|
|
510
|
+
</details>
|
|
511
|
+
<details>
|
|
512
|
+
<summary>
|
|
485
513
|
GetVpcConfiguration
|
|
486
514
|
</summary>
|
|
487
515
|
|
|
@@ -594,6 +622,20 @@ ListPrompts
|
|
|
594
622
|
</details>
|
|
595
623
|
<details>
|
|
596
624
|
<summary>
|
|
625
|
+
ListRetrievalInstructions
|
|
626
|
+
</summary>
|
|
627
|
+
|
|
628
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock-agent/command/ListRetrievalInstructionsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agent/Interface/ListRetrievalInstructionsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agent/Interface/ListRetrievalInstructionsCommandOutput/)
|
|
629
|
+
</details>
|
|
630
|
+
<details>
|
|
631
|
+
<summary>
|
|
632
|
+
ListRetrievalInstructionVersions
|
|
633
|
+
</summary>
|
|
634
|
+
|
|
635
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock-agent/command/ListRetrievalInstructionVersionsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agent/Interface/ListRetrievalInstructionVersionsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agent/Interface/ListRetrievalInstructionVersionsCommandOutput/)
|
|
636
|
+
</details>
|
|
637
|
+
<details>
|
|
638
|
+
<summary>
|
|
597
639
|
ListTagsForResource
|
|
598
640
|
</summary>
|
|
599
641
|
|
|
@@ -727,6 +769,13 @@ UpdatePrompt
|
|
|
727
769
|
</details>
|
|
728
770
|
<details>
|
|
729
771
|
<summary>
|
|
772
|
+
UpdateRetrievalInstruction
|
|
773
|
+
</summary>
|
|
774
|
+
|
|
775
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock-agent/command/UpdateRetrievalInstructionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agent/Interface/UpdateRetrievalInstructionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agent/Interface/UpdateRetrievalInstructionCommandOutput/)
|
|
776
|
+
</details>
|
|
777
|
+
<details>
|
|
778
|
+
<summary>
|
|
730
779
|
ValidateFlowDefinition
|
|
731
780
|
</summary>
|
|
732
781
|
|
package/dist-cjs/index.js
CHANGED
|
@@ -69,7 +69,7 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1152.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -328,6 +328,12 @@ const _CPVR = "CreatePromptVersionRequest";
|
|
|
328
328
|
const _CPVRr = "CreatePromptVersionResponse";
|
|
329
329
|
const _CQ = "CuratedQuery";
|
|
330
330
|
const _CQu = "CuratedQueries";
|
|
331
|
+
const _CRI = "CreateRetrievalInstruction";
|
|
332
|
+
const _CRIR = "CreateRetrievalInstructionRequest";
|
|
333
|
+
const _CRIRr = "CreateRetrievalInstructionResponse";
|
|
334
|
+
const _CRIV = "CreateRetrievalInstructionVersion";
|
|
335
|
+
const _CRIVR = "CreateRetrievalInstructionVersionRequest";
|
|
336
|
+
const _CRIVRr = "CreateRetrievalInstructionVersionResponse";
|
|
331
337
|
const _CSC = "ConfluenceSourceConfiguration";
|
|
332
338
|
const _CSL = "CustomS3Location";
|
|
333
339
|
const _CTC = "CustomTransformationConfiguration";
|
|
@@ -384,6 +390,9 @@ const _DP = "DeletePrompt";
|
|
|
384
390
|
const _DPC = "DeletionProtectionConfiguration";
|
|
385
391
|
const _DPR = "DeletePromptRequest";
|
|
386
392
|
const _DPRe = "DeletePromptResponse";
|
|
393
|
+
const _DRI = "DeleteRetrievalInstruction";
|
|
394
|
+
const _DRIR = "DeleteRetrievalInstructionRequest";
|
|
395
|
+
const _DRIRe = "DeleteRetrievalInstructionResponse";
|
|
387
396
|
const _DRP = "DeleteResourcePolicy";
|
|
388
397
|
const _DRPR = "DeleteResourcePolicyRequest";
|
|
389
398
|
const _DRPRe = "DeleteResourcePolicyResponse";
|
|
@@ -479,6 +488,9 @@ const _GKBRe = "GetKnowledgeBaseResponse";
|
|
|
479
488
|
const _GP = "GetPrompt";
|
|
480
489
|
const _GPR = "GetPromptRequest";
|
|
481
490
|
const _GPRe = "GetPromptResponse";
|
|
491
|
+
const _GRI = "GetRetrievalInstruction";
|
|
492
|
+
const _GRIR = "GetRetrievalInstructionRequest";
|
|
493
|
+
const _GRIRe = "GetRetrievalInstructionResponse";
|
|
482
494
|
const _GRP = "GetResourcePolicy";
|
|
483
495
|
const _GRPR = "GetResourcePolicyRequest";
|
|
484
496
|
const _GRPRe = "GetResourcePolicyResponse";
|
|
@@ -575,6 +587,12 @@ const _LKBRi = "ListKnowledgeBasesResponse";
|
|
|
575
587
|
const _LP = "ListPrompts";
|
|
576
588
|
const _LPR = "ListPromptsRequest";
|
|
577
589
|
const _LPRi = "ListPromptsResponse";
|
|
590
|
+
const _LRI = "ListRetrievalInstructions";
|
|
591
|
+
const _LRIR = "ListRetrievalInstructionsRequest";
|
|
592
|
+
const _LRIRi = "ListRetrievalInstructionsResponse";
|
|
593
|
+
const _LRIV = "ListRetrievalInstructionVersions";
|
|
594
|
+
const _LRIVR = "ListRetrievalInstructionVersionsRequest";
|
|
595
|
+
const _LRIVRi = "ListRetrievalInstructionVersionsResponse";
|
|
578
596
|
const _LTFR = "ListTagsForResource";
|
|
579
597
|
const _LTFRR = "ListTagsForResourceRequest";
|
|
580
598
|
const _LTFRRi = "ListTagsForResourceResponse";
|
|
@@ -676,6 +694,16 @@ const _RFM = "RdsFieldMapping";
|
|
|
676
694
|
const _RFNC = "RetrievalFlowNodeConfiguration";
|
|
677
695
|
const _RFNSC = "RetrievalFlowNodeS3Configuration";
|
|
678
696
|
const _RFNSCe = "RetrievalFlowNodeServiceConfiguration";
|
|
697
|
+
const _RIC = "RetrievalInstructionContent";
|
|
698
|
+
const _RID = "RetrievalInstructionDescription";
|
|
699
|
+
const _RIFR = "RetrievalInstructionFailureReason";
|
|
700
|
+
const _RIFRe = "RetrievalInstructionFailureReasons";
|
|
701
|
+
const _RIFT = "RetrievalInstructionFieldText";
|
|
702
|
+
const _RIN = "RetrievalInstructionName";
|
|
703
|
+
const _RIS = "RetrievalInstructionSummary";
|
|
704
|
+
const _RISe = "RetrievalInstructionSummaries";
|
|
705
|
+
const _RIVS = "RetrievalInstructionVersionSummary";
|
|
706
|
+
const _RIVSe = "RetrievalInstructionVersionSummaries";
|
|
679
707
|
const _RMSMC = "RerankingMetadataSelectiveModeConfiguration";
|
|
680
708
|
const _RNFE = "ResourceNotFoundException";
|
|
681
709
|
const _RP = "ResourcePolicy";
|
|
@@ -789,6 +817,9 @@ const _UP = "UpdatePrompt";
|
|
|
789
817
|
const _UPR = "UpdatePromptRequest";
|
|
790
818
|
const _UPRp = "UpdatePromptResponse";
|
|
791
819
|
const _UR = "UntagResource";
|
|
820
|
+
const _URI = "UpdateRetrievalInstruction";
|
|
821
|
+
const _URIR = "UpdateRetrievalInstructionRequest";
|
|
822
|
+
const _URIRp = "UpdateRetrievalInstructionResponse";
|
|
792
823
|
const _URR = "UntagResourceRequest";
|
|
793
824
|
const _URRn = "UntagResourceResponse";
|
|
794
825
|
const _VBA = "VectorBucketArn";
|
|
@@ -835,6 +866,7 @@ const _aD = "agentDescriptor";
|
|
|
835
866
|
const _aDCC = "awsDataCatalogConfiguration";
|
|
836
867
|
const _aEC = "audioExtractionConfiguration";
|
|
837
868
|
const _aES = "audioExtractionStatus";
|
|
869
|
+
const _aF = "answerFormat";
|
|
838
870
|
const _aGE = "actionGroupExecutor";
|
|
839
871
|
const _aGI = "actionGroupId";
|
|
840
872
|
const _aGN = "actionGroupName";
|
|
@@ -848,6 +880,7 @@ const _aKB = "agentKnowledgeBase";
|
|
|
848
880
|
const _aKBS = "agentKnowledgeBaseSummaries";
|
|
849
881
|
const _aMRF = "additionalModelRequestFields";
|
|
850
882
|
const _aN = "agentName";
|
|
883
|
+
const _aP = "answerPolicy";
|
|
851
884
|
const _aRRA = "agentResourceRoleArn";
|
|
852
885
|
const _aS = "agentStatus";
|
|
853
886
|
const _aSg = "agentSummaries";
|
|
@@ -1050,7 +1083,10 @@ const _lI = "localeId";
|
|
|
1050
1083
|
const _lINT = "loopIncompatibleNodeType";
|
|
1051
1084
|
const _lIo = "loopInput";
|
|
1052
1085
|
const _lN = "loopNode";
|
|
1086
|
+
const _lTS = "lastTransitionStatus";
|
|
1087
|
+
const _lTSR = "lastTransitionStatusReasons";
|
|
1053
1088
|
const _lUA = "lastUpdatedAt";
|
|
1089
|
+
const _lV = "latestVersion";
|
|
1054
1090
|
const _la = "latency";
|
|
1055
1091
|
const _lam = "lambda";
|
|
1056
1092
|
const _le = "lex";
|
|
@@ -1154,6 +1190,7 @@ const _pTro = "promptType";
|
|
|
1154
1190
|
const _pV = "promptVersion";
|
|
1155
1191
|
const _pa = "parameters";
|
|
1156
1192
|
const _pay = "payload";
|
|
1193
|
+
const _pe = "persona";
|
|
1157
1194
|
const _po = "policy";
|
|
1158
1195
|
const _pr = "protocol";
|
|
1159
1196
|
const _pro = "prompt";
|
|
@@ -1170,7 +1207,13 @@ const _rCe = "requireConfirmation";
|
|
|
1170
1207
|
const _rCed = "redshiftConfiguration";
|
|
1171
1208
|
const _rCer = "rerankingConfiguration";
|
|
1172
1209
|
const _rECC = "redisEnterpriseCloudConfiguration";
|
|
1210
|
+
const _rG = "retrievalGuidance";
|
|
1173
1211
|
const _rI = "revisionId";
|
|
1212
|
+
const _rIA = "retrievalInstructionArn";
|
|
1213
|
+
const _rII = "retrievalInstructionId";
|
|
1214
|
+
const _rIS = "retrievalInstructionSummaries";
|
|
1215
|
+
const _rIV = "retrievalInstructionVersion";
|
|
1216
|
+
const _rIVS = "retrievalInstructionVersionSummaries";
|
|
1174
1217
|
const _rL = "rateLimit";
|
|
1175
1218
|
const _rM = "resolutionMode";
|
|
1176
1219
|
const _rT = "resourceTarget";
|
|
@@ -1366,6 +1409,9 @@ var Payload = [0, n0, _P, 8, 0];
|
|
|
1366
1409
|
var PromptMetadataKey = [0, n0, _PMK, 8, 0];
|
|
1367
1410
|
var PromptMetadataValue = [0, n0, _PMV, 8, 0];
|
|
1368
1411
|
var ResourcePolicy = [0, n0, _RP, { [_mT]: _a }, 0];
|
|
1412
|
+
var RetrievalInstructionDescription = [0, n0, _RID, 8, 0];
|
|
1413
|
+
var RetrievalInstructionFieldText = [0, n0, _RIFT, 8, 0];
|
|
1414
|
+
var RetrievalInstructionName = [0, n0, _RIN, 8, 0];
|
|
1369
1415
|
var S3Prefix = [0, n0, _SP, 8, 0];
|
|
1370
1416
|
var StringValue = [0, n0, _SV, 8, 0];
|
|
1371
1417
|
var TextPrompt = [0, n0, _TP, 8, 0];
|
|
@@ -1672,6 +1718,26 @@ var CreatePromptVersionResponse$ = [3, n0, _CPVRr,
|
|
|
1672
1718
|
[_n, _id, _ar, _v, _cA, _uA, _d, _cEKA, _dV, _va],
|
|
1673
1719
|
[0, 0, 0, 0, 5, 5, 0, 0, 0, [() => PromptVariantList, 0]], 6
|
|
1674
1720
|
];
|
|
1721
|
+
var CreateRetrievalInstructionRequest$ = [3, n0, _CRIR,
|
|
1722
|
+
0,
|
|
1723
|
+
[_n, _i, _cT, _d, _cEKA, _ta],
|
|
1724
|
+
[[() => RetrievalInstructionName, 0], [() => RetrievalInstructionContent$, 0], [0, 4], [() => RetrievalInstructionDescription, 0], 0, 128 | 0], 2
|
|
1725
|
+
];
|
|
1726
|
+
var CreateRetrievalInstructionResponse$ = [3, n0, _CRIRr,
|
|
1727
|
+
0,
|
|
1728
|
+
[_rII, _rIA, _n, _st, _lTS, _cA, _uA],
|
|
1729
|
+
[0, 0, [() => RetrievalInstructionName, 0], 0, 0, 5, 5], 7
|
|
1730
|
+
];
|
|
1731
|
+
var CreateRetrievalInstructionVersionRequest$ = [3, n0, _CRIVR,
|
|
1732
|
+
0,
|
|
1733
|
+
[_rII, _d, _cT],
|
|
1734
|
+
[[0, 1], [() => RetrievalInstructionDescription, 0], [0, 4]], 1
|
|
1735
|
+
];
|
|
1736
|
+
var CreateRetrievalInstructionVersionResponse$ = [3, n0, _CRIVRr,
|
|
1737
|
+
0,
|
|
1738
|
+
[_rII, _rIA, _v, _cA, _d],
|
|
1739
|
+
[0, 0, 0, 5, [() => RetrievalInstructionDescription, 0]], 4
|
|
1740
|
+
];
|
|
1675
1741
|
var CreateVpcConfigurationRequest$ = [3, n0, _CVCR,
|
|
1676
1742
|
0,
|
|
1677
1743
|
[_kBI, _vI, _sI, _rT, _p, _pr, _rM, _cT, _hH, _tSN, _n, _d],
|
|
@@ -1857,6 +1923,16 @@ var DeleteResourcePolicyResponse$ = [3, n0, _DRPRe,
|
|
|
1857
1923
|
[_rAe, _rI],
|
|
1858
1924
|
[0, 0], 1
|
|
1859
1925
|
];
|
|
1926
|
+
var DeleteRetrievalInstructionRequest$ = [3, n0, _DRIR,
|
|
1927
|
+
0,
|
|
1928
|
+
[_rII, _rIV],
|
|
1929
|
+
[[0, 1], [0, { [_hQ]: _rIV }]], 1
|
|
1930
|
+
];
|
|
1931
|
+
var DeleteRetrievalInstructionResponse$ = [3, n0, _DRIRe,
|
|
1932
|
+
0,
|
|
1933
|
+
[_rII, _rIA, _v],
|
|
1934
|
+
[0, 0, 0], 2
|
|
1935
|
+
];
|
|
1860
1936
|
var DeleteVpcConfigurationRequest$ = [3, n0, _DVCR,
|
|
1861
1937
|
0,
|
|
1862
1938
|
[_kBI, _vCI],
|
|
@@ -2167,6 +2243,16 @@ var GetResourcePolicyResponse$ = [3, n0, _GRPRe,
|
|
|
2167
2243
|
[_rAe, _po, _rI],
|
|
2168
2244
|
[0, [() => ResourcePolicy, 0], 0], 3
|
|
2169
2245
|
];
|
|
2246
|
+
var GetRetrievalInstructionRequest$ = [3, n0, _GRIR,
|
|
2247
|
+
0,
|
|
2248
|
+
[_rII, _rIV],
|
|
2249
|
+
[[0, 1], [0, { [_hQ]: _rIV }]], 1
|
|
2250
|
+
];
|
|
2251
|
+
var GetRetrievalInstructionResponse$ = [3, n0, _GRIRe,
|
|
2252
|
+
0,
|
|
2253
|
+
[_rII, _rIA, _n, _st, _lTS, _cA, _uA, _i, _d, _cEKA, _lTSR, _v, _lV],
|
|
2254
|
+
[0, 0, [() => RetrievalInstructionName, 0], 0, 0, 5, 5, [() => RetrievalInstructionContent$, 0], [() => RetrievalInstructionDescription, 0], 0, () => RetrievalInstructionFailureReasons, 0, 0], 7
|
|
2255
|
+
];
|
|
2170
2256
|
var GetVpcConfigurationRequest$ = [3, n0, _GVCR,
|
|
2171
2257
|
0,
|
|
2172
2258
|
[_kBI, _vCI],
|
|
@@ -2472,6 +2558,26 @@ var ListPromptsResponse$ = [3, n0, _LPRi,
|
|
|
2472
2558
|
[_pS, _nT],
|
|
2473
2559
|
[() => PromptSummaries, 0], 1
|
|
2474
2560
|
];
|
|
2561
|
+
var ListRetrievalInstructionsRequest$ = [3, n0, _LRIR,
|
|
2562
|
+
0,
|
|
2563
|
+
[_st, _mR, _nT],
|
|
2564
|
+
[[0, { [_hQ]: _st }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]]
|
|
2565
|
+
];
|
|
2566
|
+
var ListRetrievalInstructionsResponse$ = [3, n0, _LRIRi,
|
|
2567
|
+
0,
|
|
2568
|
+
[_rIS, _nT],
|
|
2569
|
+
[[() => RetrievalInstructionSummaries, 0], 0], 1
|
|
2570
|
+
];
|
|
2571
|
+
var ListRetrievalInstructionVersionsRequest$ = [3, n0, _LRIVR,
|
|
2572
|
+
0,
|
|
2573
|
+
[_rII, _mR, _nT],
|
|
2574
|
+
[[0, 1], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]], 1
|
|
2575
|
+
];
|
|
2576
|
+
var ListRetrievalInstructionVersionsResponse$ = [3, n0, _LRIVRi,
|
|
2577
|
+
0,
|
|
2578
|
+
[_rIVS, _nT],
|
|
2579
|
+
[() => RetrievalInstructionVersionSummaries, 0], 1
|
|
2580
|
+
];
|
|
2475
2581
|
var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
|
|
2476
2582
|
0,
|
|
2477
2583
|
[_rAe],
|
|
@@ -2902,6 +3008,26 @@ var RetrievalFlowNodeS3Configuration$ = [3, n0, _RFNSC,
|
|
|
2902
3008
|
[_bN],
|
|
2903
3009
|
[0], 1
|
|
2904
3010
|
];
|
|
3011
|
+
var RetrievalInstructionContent$ = [3, n0, _RIC,
|
|
3012
|
+
8,
|
|
3013
|
+
[_rG, _pe, _aF, _aP],
|
|
3014
|
+
[[() => RetrievalInstructionFieldText, 0], [() => RetrievalInstructionFieldText, 0], [() => RetrievalInstructionFieldText, 0], [() => RetrievalInstructionFieldText, 0]]
|
|
3015
|
+
];
|
|
3016
|
+
var RetrievalInstructionFailureReason$ = [3, n0, _RIFR,
|
|
3017
|
+
0,
|
|
3018
|
+
[_cod, _m, _fN],
|
|
3019
|
+
[0, 0, 0], 2
|
|
3020
|
+
];
|
|
3021
|
+
var RetrievalInstructionSummary$ = [3, n0, _RIS,
|
|
3022
|
+
0,
|
|
3023
|
+
[_rII, _rIA, _n, _st, _lTS, _cA, _uA, _d],
|
|
3024
|
+
[0, 0, [() => RetrievalInstructionName, 0], 0, 0, 5, 5, [() => RetrievalInstructionDescription, 0]], 7
|
|
3025
|
+
];
|
|
3026
|
+
var RetrievalInstructionVersionSummary$ = [3, n0, _RIVS,
|
|
3027
|
+
0,
|
|
3028
|
+
[_v, _cA],
|
|
3029
|
+
[0, 5], 2
|
|
3030
|
+
];
|
|
2905
3031
|
var S3Content$ = [3, n0, _SC,
|
|
2906
3032
|
0,
|
|
2907
3033
|
[_sL],
|
|
@@ -3242,6 +3368,16 @@ var UpdatePromptResponse$ = [3, n0, _UPRp,
|
|
|
3242
3368
|
[_n, _id, _ar, _v, _cA, _uA, _d, _cEKA, _dV, _va],
|
|
3243
3369
|
[0, 0, 0, 0, 5, 5, 0, 0, 0, [() => PromptVariantList, 0]], 6
|
|
3244
3370
|
];
|
|
3371
|
+
var UpdateRetrievalInstructionRequest$ = [3, n0, _URIR,
|
|
3372
|
+
0,
|
|
3373
|
+
[_rII, _i, _d],
|
|
3374
|
+
[[0, 1], [() => RetrievalInstructionContent$, 0], [() => RetrievalInstructionDescription, 0]], 2
|
|
3375
|
+
];
|
|
3376
|
+
var UpdateRetrievalInstructionResponse$ = [3, n0, _URIRp,
|
|
3377
|
+
0,
|
|
3378
|
+
[_rII, _rIA, _n, _st, _lTS, _cA, _uA],
|
|
3379
|
+
[0, 0, [() => RetrievalInstructionName, 0], 0, 0, 5, 5], 7
|
|
3380
|
+
];
|
|
3245
3381
|
var UrlConfiguration$ = [3, n0, _UC,
|
|
3246
3382
|
0,
|
|
3247
3383
|
[_sUe],
|
|
@@ -3484,6 +3620,16 @@ var QueryGenerationTables = [1, n0, _QGTu,
|
|
|
3484
3620
|
var RedshiftQueryEngineStorageConfigurations = [1, n0, _RQESCe,
|
|
3485
3621
|
0, () => RedshiftQueryEngineStorageConfiguration$
|
|
3486
3622
|
];
|
|
3623
|
+
var RetrievalInstructionFailureReasons = [1, n0, _RIFRe,
|
|
3624
|
+
0, () => RetrievalInstructionFailureReason$
|
|
3625
|
+
];
|
|
3626
|
+
var RetrievalInstructionSummaries = [1, n0, _RISe,
|
|
3627
|
+
0, [() => RetrievalInstructionSummary$,
|
|
3628
|
+
0]
|
|
3629
|
+
];
|
|
3630
|
+
var RetrievalInstructionVersionSummaries = [1, n0, _RIVSe,
|
|
3631
|
+
0, () => RetrievalInstructionVersionSummary$
|
|
3632
|
+
];
|
|
3487
3633
|
var S3Prefixes = [1, n0, _SPr,
|
|
3488
3634
|
0, [() => S3Prefix,
|
|
3489
3635
|
0]
|
|
@@ -3661,6 +3807,12 @@ var CreatePrompt$ = [9, n0, _CP,
|
|
|
3661
3807
|
var CreatePromptVersion$ = [9, n0, _CPV,
|
|
3662
3808
|
{ [_h]: ["POST", "/prompts/{promptIdentifier}/versions", 201] }, () => CreatePromptVersionRequest$, () => CreatePromptVersionResponse$
|
|
3663
3809
|
];
|
|
3810
|
+
var CreateRetrievalInstruction$ = [9, n0, _CRI,
|
|
3811
|
+
{ [_h]: ["POST", "/retrievalinstructions/", 202] }, () => CreateRetrievalInstructionRequest$, () => CreateRetrievalInstructionResponse$
|
|
3812
|
+
];
|
|
3813
|
+
var CreateRetrievalInstructionVersion$ = [9, n0, _CRIV,
|
|
3814
|
+
{ [_h]: ["POST", "/retrievalinstructions/{retrievalInstructionId}/versions", 201] }, () => CreateRetrievalInstructionVersionRequest$, () => CreateRetrievalInstructionVersionResponse$
|
|
3815
|
+
];
|
|
3664
3816
|
var CreateVpcConfiguration$ = [9, n0, _CVC,
|
|
3665
3817
|
{ [_h]: ["POST", "/knowledgebases/{knowledgeBaseId}/vpcconfigurations/", 202] }, () => CreateVpcConfigurationRequest$, () => CreateVpcConfigurationResponse$
|
|
3666
3818
|
];
|
|
@@ -3700,6 +3852,9 @@ var DeletePrompt$ = [9, n0, _DP,
|
|
|
3700
3852
|
var DeleteResourcePolicy$ = [9, n0, _DRP,
|
|
3701
3853
|
{ [_h]: ["DELETE", "/resourcepolicy/{resourceArn}", 200] }, () => DeleteResourcePolicyRequest$, () => DeleteResourcePolicyResponse$
|
|
3702
3854
|
];
|
|
3855
|
+
var DeleteRetrievalInstruction$ = [9, n0, _DRI,
|
|
3856
|
+
{ [_h]: ["DELETE", "/retrievalinstructions/{retrievalInstructionId}", 200] }, () => DeleteRetrievalInstructionRequest$, () => DeleteRetrievalInstructionResponse$
|
|
3857
|
+
];
|
|
3703
3858
|
var DeleteVpcConfiguration$ = [9, n0, _DVC,
|
|
3704
3859
|
{ [_h]: ["DELETE", "/knowledgebases/{knowledgeBaseId}/vpcconfigurations/{vpcConfigurationId}", 202] }, () => DeleteVpcConfigurationRequest$, () => DeleteVpcConfigurationResponse$
|
|
3705
3860
|
];
|
|
@@ -3754,6 +3909,9 @@ var GetPrompt$ = [9, n0, _GP,
|
|
|
3754
3909
|
var GetResourcePolicy$ = [9, n0, _GRP,
|
|
3755
3910
|
{ [_h]: ["GET", "/resourcepolicy/{resourceArn}", 200] }, () => GetResourcePolicyRequest$, () => GetResourcePolicyResponse$
|
|
3756
3911
|
];
|
|
3912
|
+
var GetRetrievalInstruction$ = [9, n0, _GRI,
|
|
3913
|
+
{ [_h]: ["GET", "/retrievalinstructions/{retrievalInstructionId}", 200] }, () => GetRetrievalInstructionRequest$, () => GetRetrievalInstructionResponse$
|
|
3914
|
+
];
|
|
3757
3915
|
var GetVpcConfiguration$ = [9, n0, _GVC,
|
|
3758
3916
|
{ [_h]: ["GET", "/knowledgebases/{knowledgeBaseId}/vpcconfigurations/{vpcConfigurationId}", 200] }, () => GetVpcConfigurationRequest$, () => GetVpcConfigurationResponse$
|
|
3759
3917
|
];
|
|
@@ -3802,6 +3960,12 @@ var ListKnowledgeBases$ = [9, n0, _LKB,
|
|
|
3802
3960
|
var ListPrompts$ = [9, n0, _LP,
|
|
3803
3961
|
{ [_h]: ["GET", "/prompts/", 200] }, () => ListPromptsRequest$, () => ListPromptsResponse$
|
|
3804
3962
|
];
|
|
3963
|
+
var ListRetrievalInstructions$ = [9, n0, _LRI,
|
|
3964
|
+
{ [_h]: ["GET", "/retrievalinstructions/", 200] }, () => ListRetrievalInstructionsRequest$, () => ListRetrievalInstructionsResponse$
|
|
3965
|
+
];
|
|
3966
|
+
var ListRetrievalInstructionVersions$ = [9, n0, _LRIV,
|
|
3967
|
+
{ [_h]: ["GET", "/retrievalinstructions/{retrievalInstructionId}/versions", 200] }, () => ListRetrievalInstructionVersionsRequest$, () => ListRetrievalInstructionVersionsResponse$
|
|
3968
|
+
];
|
|
3805
3969
|
var ListTagsForResource$ = [9, n0, _LTFR,
|
|
3806
3970
|
{ [_h]: ["GET", "/tags/{resourceArn}", 200] }, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$
|
|
3807
3971
|
];
|
|
@@ -3859,6 +4023,9 @@ var UpdateKnowledgeBase$ = [9, n0, _UKB,
|
|
|
3859
4023
|
var UpdatePrompt$ = [9, n0, _UP,
|
|
3860
4024
|
{ [_h]: ["PUT", "/prompts/{promptIdentifier}/", 200] }, () => UpdatePromptRequest$, () => UpdatePromptResponse$
|
|
3861
4025
|
];
|
|
4026
|
+
var UpdateRetrievalInstruction$ = [9, n0, _URI,
|
|
4027
|
+
{ [_h]: ["PUT", "/retrievalinstructions/{retrievalInstructionId}", 202] }, () => UpdateRetrievalInstructionRequest$, () => UpdateRetrievalInstructionResponse$
|
|
4028
|
+
];
|
|
3862
4029
|
var ValidateFlowDefinition$ = [9, n0, _VFD,
|
|
3863
4030
|
{ [_h]: ["POST", "/flows/validate-definition", 200] }, () => ValidateFlowDefinitionRequest$, () => ValidateFlowDefinitionResponse$
|
|
3864
4031
|
];
|
|
@@ -4050,6 +4217,12 @@ class CreatePromptCommand extends command(_ep0, _mw0, "CreatePrompt", CreateProm
|
|
|
4050
4217
|
class CreatePromptVersionCommand extends command(_ep0, _mw0, "CreatePromptVersion", CreatePromptVersion$) {
|
|
4051
4218
|
}
|
|
4052
4219
|
|
|
4220
|
+
class CreateRetrievalInstructionCommand extends command(_ep0, _mw0, "CreateRetrievalInstruction", CreateRetrievalInstruction$) {
|
|
4221
|
+
}
|
|
4222
|
+
|
|
4223
|
+
class CreateRetrievalInstructionVersionCommand extends command(_ep0, _mw0, "CreateRetrievalInstructionVersion", CreateRetrievalInstructionVersion$) {
|
|
4224
|
+
}
|
|
4225
|
+
|
|
4053
4226
|
class CreateVpcConfigurationCommand extends command(_ep0, _mw0, "CreateVpcConfiguration", CreateVpcConfiguration$) {
|
|
4054
4227
|
}
|
|
4055
4228
|
|
|
@@ -4089,6 +4262,9 @@ class DeletePromptCommand extends command(_ep0, _mw0, "DeletePrompt", DeleteProm
|
|
|
4089
4262
|
class DeleteResourcePolicyCommand extends command(_ep0, _mw0, "DeleteResourcePolicy", DeleteResourcePolicy$) {
|
|
4090
4263
|
}
|
|
4091
4264
|
|
|
4265
|
+
class DeleteRetrievalInstructionCommand extends command(_ep0, _mw0, "DeleteRetrievalInstruction", DeleteRetrievalInstruction$) {
|
|
4266
|
+
}
|
|
4267
|
+
|
|
4092
4268
|
class DeleteVpcConfigurationCommand extends command(_ep0, _mw0, "DeleteVpcConfiguration", DeleteVpcConfiguration$) {
|
|
4093
4269
|
}
|
|
4094
4270
|
|
|
@@ -4143,6 +4319,9 @@ class GetPromptCommand extends command(_ep0, _mw0, "GetPrompt", GetPrompt$) {
|
|
|
4143
4319
|
class GetResourcePolicyCommand extends command(_ep0, _mw0, "GetResourcePolicy", GetResourcePolicy$) {
|
|
4144
4320
|
}
|
|
4145
4321
|
|
|
4322
|
+
class GetRetrievalInstructionCommand extends command(_ep0, _mw0, "GetRetrievalInstruction", GetRetrievalInstruction$) {
|
|
4323
|
+
}
|
|
4324
|
+
|
|
4146
4325
|
class GetVpcConfigurationCommand extends command(_ep0, _mw0, "GetVpcConfiguration", GetVpcConfiguration$) {
|
|
4147
4326
|
}
|
|
4148
4327
|
|
|
@@ -4191,6 +4370,12 @@ class ListKnowledgeBasesCommand extends command(_ep0, _mw0, "ListKnowledgeBases"
|
|
|
4191
4370
|
class ListPromptsCommand extends command(_ep0, _mw0, "ListPrompts", ListPrompts$) {
|
|
4192
4371
|
}
|
|
4193
4372
|
|
|
4373
|
+
class ListRetrievalInstructionsCommand extends command(_ep0, _mw0, "ListRetrievalInstructions", ListRetrievalInstructions$) {
|
|
4374
|
+
}
|
|
4375
|
+
|
|
4376
|
+
class ListRetrievalInstructionVersionsCommand extends command(_ep0, _mw0, "ListRetrievalInstructionVersions", ListRetrievalInstructionVersions$) {
|
|
4377
|
+
}
|
|
4378
|
+
|
|
4194
4379
|
class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
|
|
4195
4380
|
}
|
|
4196
4381
|
|
|
@@ -4248,6 +4433,9 @@ class UpdateKnowledgeBaseCommand extends command(_ep0, _mw0, "UpdateKnowledgeBas
|
|
|
4248
4433
|
class UpdatePromptCommand extends command(_ep0, _mw0, "UpdatePrompt", UpdatePrompt$) {
|
|
4249
4434
|
}
|
|
4250
4435
|
|
|
4436
|
+
class UpdateRetrievalInstructionCommand extends command(_ep0, _mw0, "UpdateRetrievalInstruction", UpdateRetrievalInstruction$) {
|
|
4437
|
+
}
|
|
4438
|
+
|
|
4251
4439
|
class ValidateFlowDefinitionCommand extends command(_ep0, _mw0, "ValidateFlowDefinition", ValidateFlowDefinition$) {
|
|
4252
4440
|
}
|
|
4253
4441
|
|
|
@@ -4279,6 +4467,10 @@ const paginateListKnowledgeBases = createPaginator(BedrockAgentClient, ListKnowl
|
|
|
4279
4467
|
|
|
4280
4468
|
const paginateListPrompts = createPaginator(BedrockAgentClient, ListPromptsCommand, "nextToken", "nextToken", "maxResults");
|
|
4281
4469
|
|
|
4470
|
+
const paginateListRetrievalInstructions = createPaginator(BedrockAgentClient, ListRetrievalInstructionsCommand, "nextToken", "nextToken", "maxResults");
|
|
4471
|
+
|
|
4472
|
+
const paginateListRetrievalInstructionVersions = createPaginator(BedrockAgentClient, ListRetrievalInstructionVersionsCommand, "nextToken", "nextToken", "maxResults");
|
|
4473
|
+
|
|
4282
4474
|
const paginateListVpcConfigurations = createPaginator(BedrockAgentClient, ListVpcConfigurationsCommand, "nextToken", "nextToken", "maxResults");
|
|
4283
4475
|
|
|
4284
4476
|
const commands = {
|
|
@@ -4294,6 +4486,8 @@ const commands = {
|
|
|
4294
4486
|
CreateKnowledgeBaseCommand,
|
|
4295
4487
|
CreatePromptCommand,
|
|
4296
4488
|
CreatePromptVersionCommand,
|
|
4489
|
+
CreateRetrievalInstructionCommand,
|
|
4490
|
+
CreateRetrievalInstructionVersionCommand,
|
|
4297
4491
|
CreateVpcConfigurationCommand,
|
|
4298
4492
|
DeleteAgentCommand,
|
|
4299
4493
|
DeleteAgentActionGroupCommand,
|
|
@@ -4307,6 +4501,7 @@ const commands = {
|
|
|
4307
4501
|
DeleteKnowledgeBaseDocumentsCommand,
|
|
4308
4502
|
DeletePromptCommand,
|
|
4309
4503
|
DeleteResourcePolicyCommand,
|
|
4504
|
+
DeleteRetrievalInstructionCommand,
|
|
4310
4505
|
DeleteVpcConfigurationCommand,
|
|
4311
4506
|
DisassociateAgentCollaboratorCommand,
|
|
4312
4507
|
DisassociateAgentKnowledgeBaseCommand,
|
|
@@ -4325,6 +4520,7 @@ const commands = {
|
|
|
4325
4520
|
GetKnowledgeBaseDocumentsCommand,
|
|
4326
4521
|
GetPromptCommand,
|
|
4327
4522
|
GetResourcePolicyCommand,
|
|
4523
|
+
GetRetrievalInstructionCommand,
|
|
4328
4524
|
GetVpcConfigurationCommand,
|
|
4329
4525
|
IngestKnowledgeBaseDocumentsCommand,
|
|
4330
4526
|
ListAgentActionGroupsCommand,
|
|
@@ -4341,6 +4537,8 @@ const commands = {
|
|
|
4341
4537
|
ListKnowledgeBaseDocumentsCommand,
|
|
4342
4538
|
ListKnowledgeBasesCommand,
|
|
4343
4539
|
ListPromptsCommand,
|
|
4540
|
+
ListRetrievalInstructionsCommand,
|
|
4541
|
+
ListRetrievalInstructionVersionsCommand,
|
|
4344
4542
|
ListTagsForResourceCommand,
|
|
4345
4543
|
ListVpcConfigurationsCommand,
|
|
4346
4544
|
PrepareAgentCommand,
|
|
@@ -4360,6 +4558,7 @@ const commands = {
|
|
|
4360
4558
|
UpdateFlowAliasCommand,
|
|
4361
4559
|
UpdateKnowledgeBaseCommand,
|
|
4362
4560
|
UpdatePromptCommand,
|
|
4561
|
+
UpdateRetrievalInstructionCommand,
|
|
4363
4562
|
ValidateFlowDefinitionCommand,
|
|
4364
4563
|
};
|
|
4365
4564
|
const paginators = {
|
|
@@ -4377,6 +4576,8 @@ const paginators = {
|
|
|
4377
4576
|
paginateListKnowledgeBaseDocuments,
|
|
4378
4577
|
paginateListKnowledgeBases,
|
|
4379
4578
|
paginateListPrompts,
|
|
4579
|
+
paginateListRetrievalInstructions,
|
|
4580
|
+
paginateListRetrievalInstructionVersions,
|
|
4380
4581
|
paginateListVpcConfigurations,
|
|
4381
4582
|
};
|
|
4382
4583
|
class BedrockAgent extends BedrockAgentClient {
|
|
@@ -4806,6 +5007,29 @@ const KnowledgeBaseStatus = {
|
|
|
4806
5007
|
UPDATE_UNSUCCESSFUL: "UPDATE_UNSUCCESSFUL",
|
|
4807
5008
|
UPDATING: "UPDATING",
|
|
4808
5009
|
};
|
|
5010
|
+
const RetrievalInstructionLastTransitionStatus = {
|
|
5011
|
+
CREATE_FAILED: "CREATE_FAILED",
|
|
5012
|
+
CREATE_SUCCESSFUL: "CREATE_SUCCESSFUL",
|
|
5013
|
+
CREATING: "CREATING",
|
|
5014
|
+
UPDATE_FAILED: "UPDATE_FAILED",
|
|
5015
|
+
UPDATE_SUCCESSFUL: "UPDATE_SUCCESSFUL",
|
|
5016
|
+
UPDATING: "UPDATING",
|
|
5017
|
+
};
|
|
5018
|
+
const RetrievalInstructionStatus = {
|
|
5019
|
+
ACTIVE: "ACTIVE",
|
|
5020
|
+
INACTIVE: "INACTIVE",
|
|
5021
|
+
};
|
|
5022
|
+
const RetrievalInstructionFailureReasonCode = {
|
|
5023
|
+
CLIENT_ERROR: "CLIENT_ERROR",
|
|
5024
|
+
CONTENT_REJECTED: "CONTENT_REJECTED",
|
|
5025
|
+
INTERNAL_ERROR: "INTERNAL_ERROR",
|
|
5026
|
+
};
|
|
5027
|
+
const RetrievalInstructionFieldName = {
|
|
5028
|
+
ANSWER_FORMAT: "ANSWER_FORMAT",
|
|
5029
|
+
ANSWER_POLICY: "ANSWER_POLICY",
|
|
5030
|
+
PERSONA: "PERSONA",
|
|
5031
|
+
RETRIEVAL_GUIDANCE: "RETRIEVAL_GUIDANCE",
|
|
5032
|
+
};
|
|
4809
5033
|
|
|
4810
5034
|
exports.APISchema$ = APISchema$;
|
|
4811
5035
|
exports.AccessControlAccess = AccessControlAccess;
|
|
@@ -4919,6 +5143,14 @@ exports.CreatePromptVersion$ = CreatePromptVersion$;
|
|
|
4919
5143
|
exports.CreatePromptVersionCommand = CreatePromptVersionCommand;
|
|
4920
5144
|
exports.CreatePromptVersionRequest$ = CreatePromptVersionRequest$;
|
|
4921
5145
|
exports.CreatePromptVersionResponse$ = CreatePromptVersionResponse$;
|
|
5146
|
+
exports.CreateRetrievalInstruction$ = CreateRetrievalInstruction$;
|
|
5147
|
+
exports.CreateRetrievalInstructionCommand = CreateRetrievalInstructionCommand;
|
|
5148
|
+
exports.CreateRetrievalInstructionRequest$ = CreateRetrievalInstructionRequest$;
|
|
5149
|
+
exports.CreateRetrievalInstructionResponse$ = CreateRetrievalInstructionResponse$;
|
|
5150
|
+
exports.CreateRetrievalInstructionVersion$ = CreateRetrievalInstructionVersion$;
|
|
5151
|
+
exports.CreateRetrievalInstructionVersionCommand = CreateRetrievalInstructionVersionCommand;
|
|
5152
|
+
exports.CreateRetrievalInstructionVersionRequest$ = CreateRetrievalInstructionVersionRequest$;
|
|
5153
|
+
exports.CreateRetrievalInstructionVersionResponse$ = CreateRetrievalInstructionVersionResponse$;
|
|
4922
5154
|
exports.CreateVpcConfiguration$ = CreateVpcConfiguration$;
|
|
4923
5155
|
exports.CreateVpcConfigurationCommand = CreateVpcConfigurationCommand;
|
|
4924
5156
|
exports.CreateVpcConfigurationRequest$ = CreateVpcConfigurationRequest$;
|
|
@@ -4990,6 +5222,10 @@ exports.DeleteResourcePolicy$ = DeleteResourcePolicy$;
|
|
|
4990
5222
|
exports.DeleteResourcePolicyCommand = DeleteResourcePolicyCommand;
|
|
4991
5223
|
exports.DeleteResourcePolicyRequest$ = DeleteResourcePolicyRequest$;
|
|
4992
5224
|
exports.DeleteResourcePolicyResponse$ = DeleteResourcePolicyResponse$;
|
|
5225
|
+
exports.DeleteRetrievalInstruction$ = DeleteRetrievalInstruction$;
|
|
5226
|
+
exports.DeleteRetrievalInstructionCommand = DeleteRetrievalInstructionCommand;
|
|
5227
|
+
exports.DeleteRetrievalInstructionRequest$ = DeleteRetrievalInstructionRequest$;
|
|
5228
|
+
exports.DeleteRetrievalInstructionResponse$ = DeleteRetrievalInstructionResponse$;
|
|
4993
5229
|
exports.DeleteVpcConfiguration$ = DeleteVpcConfiguration$;
|
|
4994
5230
|
exports.DeleteVpcConfigurationCommand = DeleteVpcConfigurationCommand;
|
|
4995
5231
|
exports.DeleteVpcConfigurationRequest$ = DeleteVpcConfigurationRequest$;
|
|
@@ -5104,6 +5340,10 @@ exports.GetResourcePolicy$ = GetResourcePolicy$;
|
|
|
5104
5340
|
exports.GetResourcePolicyCommand = GetResourcePolicyCommand;
|
|
5105
5341
|
exports.GetResourcePolicyRequest$ = GetResourcePolicyRequest$;
|
|
5106
5342
|
exports.GetResourcePolicyResponse$ = GetResourcePolicyResponse$;
|
|
5343
|
+
exports.GetRetrievalInstruction$ = GetRetrievalInstruction$;
|
|
5344
|
+
exports.GetRetrievalInstructionCommand = GetRetrievalInstructionCommand;
|
|
5345
|
+
exports.GetRetrievalInstructionRequest$ = GetRetrievalInstructionRequest$;
|
|
5346
|
+
exports.GetRetrievalInstructionResponse$ = GetRetrievalInstructionResponse$;
|
|
5107
5347
|
exports.GetVpcConfiguration$ = GetVpcConfiguration$;
|
|
5108
5348
|
exports.GetVpcConfigurationCommand = GetVpcConfigurationCommand;
|
|
5109
5349
|
exports.GetVpcConfigurationRequest$ = GetVpcConfigurationRequest$;
|
|
@@ -5211,6 +5451,14 @@ exports.ListPrompts$ = ListPrompts$;
|
|
|
5211
5451
|
exports.ListPromptsCommand = ListPromptsCommand;
|
|
5212
5452
|
exports.ListPromptsRequest$ = ListPromptsRequest$;
|
|
5213
5453
|
exports.ListPromptsResponse$ = ListPromptsResponse$;
|
|
5454
|
+
exports.ListRetrievalInstructionVersions$ = ListRetrievalInstructionVersions$;
|
|
5455
|
+
exports.ListRetrievalInstructionVersionsCommand = ListRetrievalInstructionVersionsCommand;
|
|
5456
|
+
exports.ListRetrievalInstructionVersionsRequest$ = ListRetrievalInstructionVersionsRequest$;
|
|
5457
|
+
exports.ListRetrievalInstructionVersionsResponse$ = ListRetrievalInstructionVersionsResponse$;
|
|
5458
|
+
exports.ListRetrievalInstructions$ = ListRetrievalInstructions$;
|
|
5459
|
+
exports.ListRetrievalInstructionsCommand = ListRetrievalInstructionsCommand;
|
|
5460
|
+
exports.ListRetrievalInstructionsRequest$ = ListRetrievalInstructionsRequest$;
|
|
5461
|
+
exports.ListRetrievalInstructionsResponse$ = ListRetrievalInstructionsResponse$;
|
|
5214
5462
|
exports.ListTagsForResource$ = ListTagsForResource$;
|
|
5215
5463
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
5216
5464
|
exports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;
|
|
@@ -5334,6 +5582,14 @@ exports.ResourceNotFoundException$ = ResourceNotFoundException$;
|
|
|
5334
5582
|
exports.RetrievalFlowNodeConfiguration$ = RetrievalFlowNodeConfiguration$;
|
|
5335
5583
|
exports.RetrievalFlowNodeS3Configuration$ = RetrievalFlowNodeS3Configuration$;
|
|
5336
5584
|
exports.RetrievalFlowNodeServiceConfiguration$ = RetrievalFlowNodeServiceConfiguration$;
|
|
5585
|
+
exports.RetrievalInstructionContent$ = RetrievalInstructionContent$;
|
|
5586
|
+
exports.RetrievalInstructionFailureReason$ = RetrievalInstructionFailureReason$;
|
|
5587
|
+
exports.RetrievalInstructionFailureReasonCode = RetrievalInstructionFailureReasonCode;
|
|
5588
|
+
exports.RetrievalInstructionFieldName = RetrievalInstructionFieldName;
|
|
5589
|
+
exports.RetrievalInstructionLastTransitionStatus = RetrievalInstructionLastTransitionStatus;
|
|
5590
|
+
exports.RetrievalInstructionStatus = RetrievalInstructionStatus;
|
|
5591
|
+
exports.RetrievalInstructionSummary$ = RetrievalInstructionSummary$;
|
|
5592
|
+
exports.RetrievalInstructionVersionSummary$ = RetrievalInstructionVersionSummary$;
|
|
5337
5593
|
exports.S3Content$ = S3Content$;
|
|
5338
5594
|
exports.S3DataSourceConfiguration$ = S3DataSourceConfiguration$;
|
|
5339
5595
|
exports.S3Identifier$ = S3Identifier$;
|
|
@@ -5448,6 +5704,10 @@ exports.UpdatePrompt$ = UpdatePrompt$;
|
|
|
5448
5704
|
exports.UpdatePromptCommand = UpdatePromptCommand;
|
|
5449
5705
|
exports.UpdatePromptRequest$ = UpdatePromptRequest$;
|
|
5450
5706
|
exports.UpdatePromptResponse$ = UpdatePromptResponse$;
|
|
5707
|
+
exports.UpdateRetrievalInstruction$ = UpdateRetrievalInstruction$;
|
|
5708
|
+
exports.UpdateRetrievalInstructionCommand = UpdateRetrievalInstructionCommand;
|
|
5709
|
+
exports.UpdateRetrievalInstructionRequest$ = UpdateRetrievalInstructionRequest$;
|
|
5710
|
+
exports.UpdateRetrievalInstructionResponse$ = UpdateRetrievalInstructionResponse$;
|
|
5451
5711
|
exports.UrlConfiguration$ = UrlConfiguration$;
|
|
5452
5712
|
exports.ValidateFlowDefinition$ = ValidateFlowDefinition$;
|
|
5453
5713
|
exports.ValidateFlowDefinitionCommand = ValidateFlowDefinitionCommand;
|
|
@@ -5491,4 +5751,6 @@ exports.paginateListIngestionJobs = paginateListIngestionJobs;
|
|
|
5491
5751
|
exports.paginateListKnowledgeBaseDocuments = paginateListKnowledgeBaseDocuments;
|
|
5492
5752
|
exports.paginateListKnowledgeBases = paginateListKnowledgeBases;
|
|
5493
5753
|
exports.paginateListPrompts = paginateListPrompts;
|
|
5754
|
+
exports.paginateListRetrievalInstructionVersions = paginateListRetrievalInstructionVersions;
|
|
5755
|
+
exports.paginateListRetrievalInstructions = paginateListRetrievalInstructions;
|
|
5494
5756
|
exports.paginateListVpcConfigurations = paginateListVpcConfigurations;
|