@aws-sdk/client-bedrock-agent-runtime 3.1110.0 → 3.1111.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 +15 -1
- package/dist-cjs/index.js +135 -21
- package/dist-es/BedrockAgentRuntime.js +4 -0
- package/dist-es/commands/CheckIngestedDocumentAclCommand.js +4 -0
- package/dist-es/commands/GetIngestedDocumentAclCommand.js +4 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/enums.js +8 -0
- package/dist-es/schemas/schemas_0.js +103 -20
- package/dist-types/BedrockAgentRuntime.d.ts +15 -1
- package/dist-types/BedrockAgentRuntimeClient.d.ts +5 -3
- package/dist-types/commands/CheckIngestedDocumentAclCommand.d.ts +91 -0
- package/dist-types/commands/CreateInvocationCommand.d.ts +1 -1
- package/dist-types/commands/CreateSessionCommand.d.ts +2 -1
- package/dist-types/commands/DeleteSessionCommand.d.ts +1 -1
- package/dist-types/commands/EndSessionCommand.d.ts +1 -1
- package/dist-types/commands/GetIngestedDocumentAclCommand.d.ts +129 -0
- package/dist-types/commands/GetSessionCommand.d.ts +1 -1
- package/dist-types/commands/InvokeAgentCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/index.d.ts +1 -1
- package/dist-types/models/enums.d.ts +24 -0
- package/dist-types/models/models_0.d.ts +152 -162
- package/dist-types/models/models_1.d.ts +164 -4
- package/dist-types/runtimeConfig.browser.d.ts +39 -39
- package/dist-types/runtimeConfig.d.ts +36 -36
- package/dist-types/runtimeConfig.native.d.ts +38 -38
- package/dist-types/runtimeConfig.shared.d.ts +2 -2
- package/dist-types/schemas/schemas_0.d.ts +11 -0
- package/dist-types/ts3.4/BedrockAgentRuntime.d.ts +34 -0
- package/dist-types/ts3.4/BedrockAgentRuntimeClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/CheckIngestedDocumentAclCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateInvocationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateSessionCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DeleteSessionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/EndSessionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetIngestedDocumentAclCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetSessionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/enums.d.ts +12 -0
- package/dist-types/ts3.4/models/models_0.d.ts +40 -41
- package/dist-types/ts3.4/models/models_1.d.ts +40 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +55 -57
- package/dist-types/ts3.4/runtimeConfig.d.ts +58 -58
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +59 -61
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +11 -0
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
AWS SDK for JavaScript BedrockAgentRuntime Client for Node.js, Browser and React Native.
|
|
8
8
|
|
|
9
|
-
<p>Contains APIs related to model invocation and querying of knowledge bases.</p>
|
|
9
|
+
<note> <p>Amazon Bedrock Agents (now Amazon Bedrock Agents Classic) is no longer open to new customers. For capabilities similar to Bedrock Agents Classic, explore Amazon Bedrock AgentCore. Existing customers can continue to use the service as normal. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/agents-classic-maintenance-mode.html">Amazon Bedrock Agents Classic availability change</a>.</p> </note> <p>Contains APIs related to model invocation and querying of knowledge bases.</p>
|
|
10
10
|
|
|
11
11
|
## Installing
|
|
12
12
|
|
|
@@ -188,6 +188,13 @@ AgenticRetrieveStream
|
|
|
188
188
|
</details>
|
|
189
189
|
<details>
|
|
190
190
|
<summary>
|
|
191
|
+
CheckIngestedDocumentAcl
|
|
192
|
+
</summary>
|
|
193
|
+
|
|
194
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock-agent-runtime/command/CheckIngestedDocumentAclCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agent-runtime/Interface/CheckIngestedDocumentAclCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agent-runtime/Interface/CheckIngestedDocumentAclCommandOutput/)
|
|
195
|
+
</details>
|
|
196
|
+
<details>
|
|
197
|
+
<summary>
|
|
191
198
|
CreateInvocation
|
|
192
199
|
</summary>
|
|
193
200
|
|
|
@@ -258,6 +265,13 @@ GetFlowExecution
|
|
|
258
265
|
</details>
|
|
259
266
|
<details>
|
|
260
267
|
<summary>
|
|
268
|
+
GetIngestedDocumentAcl
|
|
269
|
+
</summary>
|
|
270
|
+
|
|
271
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock-agent-runtime/command/GetIngestedDocumentAclCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agent-runtime/Interface/GetIngestedDocumentAclCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agent-runtime/Interface/GetIngestedDocumentAclCommandOutput/)
|
|
272
|
+
</details>
|
|
273
|
+
<details>
|
|
274
|
+
<summary>
|
|
261
275
|
GetInvocationStep
|
|
262
276
|
</summary>
|
|
263
277
|
|
package/dist-cjs/index.js
CHANGED
|
@@ -70,7 +70,7 @@ const commonParams = {
|
|
|
70
70
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
71
71
|
};
|
|
72
72
|
|
|
73
|
-
var version = "3.
|
|
73
|
+
var version = "3.1110.0";
|
|
74
74
|
var packageInfo = {
|
|
75
75
|
version: version};
|
|
76
76
|
|
|
@@ -356,6 +356,9 @@ const _CE = "ConflictException";
|
|
|
356
356
|
const _CEi = "CitationEvent";
|
|
357
357
|
const _CH = "ConversationHistory";
|
|
358
358
|
const _CI = "CollaborationInstruction";
|
|
359
|
+
const _CIDA = "CheckIngestedDocumentAcl";
|
|
360
|
+
const _CIDAR = "CheckIngestedDocumentAclRequest";
|
|
361
|
+
const _CIDARh = "CheckIngestedDocumentAclResponse";
|
|
359
362
|
const _CIII = "CodeInterpreterInvocationInput";
|
|
360
363
|
const _CIIO = "CodeInterpreterInvocationOutput";
|
|
361
364
|
const _CIR = "CreateInvocationRequest";
|
|
@@ -373,9 +376,17 @@ const _Ca = "Caller";
|
|
|
373
376
|
const _Ci = "Citations";
|
|
374
377
|
const _Co = "Collaborator";
|
|
375
378
|
const _Col = "Collaborators";
|
|
376
|
-
const
|
|
379
|
+
const _DA = "DocumentAcl";
|
|
380
|
+
const _DAC = "DocumentAclCondition";
|
|
381
|
+
const _DACL = "DocumentAclConditionList";
|
|
382
|
+
const _DAG = "DocumentAclGroup";
|
|
383
|
+
const _DAGL = "DocumentAclGroupList";
|
|
384
|
+
const _DAM = "DocumentAclMembership";
|
|
377
385
|
const _DAMR = "DeleteAgentMemoryRequest";
|
|
378
386
|
const _DAMRe = "DeleteAgentMemoryResponse";
|
|
387
|
+
const _DAMe = "DeleteAgentMemory";
|
|
388
|
+
const _DAU = "DocumentAclUser";
|
|
389
|
+
const _DAUL = "DocumentAclUserList";
|
|
379
390
|
const _DFE = "DependencyFailedException";
|
|
380
391
|
const _DS = "DeleteSession";
|
|
381
392
|
const _DSR = "DeleteSessionRequest";
|
|
@@ -473,6 +484,9 @@ const _GEFSRe = "GetExecutionFlowSnapshotResponse";
|
|
|
473
484
|
const _GFE = "GetFlowExecution";
|
|
474
485
|
const _GFER = "GetFlowExecutionRequest";
|
|
475
486
|
const _GFERe = "GetFlowExecutionResponse";
|
|
487
|
+
const _GIDA = "GetIngestedDocumentAcl";
|
|
488
|
+
const _GIDAR = "GetIngestedDocumentAclRequest";
|
|
489
|
+
const _GIDARe = "GetIngestedDocumentAclResponse";
|
|
476
490
|
const _GIS = "GetInvocationStep";
|
|
477
491
|
const _GISR = "GetInvocationStepRequest";
|
|
478
492
|
const _GISRe = "GetInvocationStepResponse";
|
|
@@ -781,6 +795,7 @@ const _aGc = "actionGroups";
|
|
|
781
795
|
const _aI = "agentId";
|
|
782
796
|
const _aII = "apiInvocationInput";
|
|
783
797
|
const _aIT = "actionInvocationType";
|
|
798
|
+
const _aL = "allowList";
|
|
784
799
|
const _aMRF = "additionalModelRequestFields";
|
|
785
800
|
const _aN = "agentName";
|
|
786
801
|
const _aP = "apiPath";
|
|
@@ -822,8 +837,9 @@ const _cN = "collaboratorName";
|
|
|
822
837
|
const _cNRT = "conditionNodeResultTrace";
|
|
823
838
|
const _cNo = "conditionName";
|
|
824
839
|
const _cNol = "columnName";
|
|
825
|
-
const _cO = "
|
|
840
|
+
const _cO = "conditionOperator";
|
|
826
841
|
const _cOT = "customOrchestrationTrace";
|
|
842
|
+
const _cOu = "customOrchestration";
|
|
827
843
|
const _cP = "contentPolicy";
|
|
828
844
|
const _cR = "completionReason";
|
|
829
845
|
const _cRE = "conditionResultEvent";
|
|
@@ -841,11 +857,14 @@ const _cod = "code";
|
|
|
841
857
|
const _col = "collaborators";
|
|
842
858
|
const _com = "completion";
|
|
843
859
|
const _con = "configuration";
|
|
860
|
+
const _cond = "conditions";
|
|
844
861
|
const _conf = "confidence";
|
|
845
862
|
const _d = "description";
|
|
863
|
+
const _dA = "documentAcl";
|
|
846
864
|
const _dCL = "documentContentLength";
|
|
847
865
|
const _dFE = "dependencyFailedException";
|
|
848
866
|
const _dI = "documentId";
|
|
867
|
+
const _dL = "denyList";
|
|
849
868
|
const _dSI = "dataSourceId";
|
|
850
869
|
const _da = "data";
|
|
851
870
|
const _de = "definition";
|
|
@@ -912,7 +931,7 @@ const _fil = "filters";
|
|
|
912
931
|
const _filt = "filter";
|
|
913
932
|
const _fo = "format";
|
|
914
933
|
const _fu = "functions";
|
|
915
|
-
const _g = "
|
|
934
|
+
const _g = "groups";
|
|
916
935
|
const _gA = "guardrailAction";
|
|
917
936
|
const _gC = "guardrailConfiguration";
|
|
918
937
|
const _gCe = "generationConfiguration";
|
|
@@ -926,7 +945,9 @@ const _gT = "greaterThan";
|
|
|
926
945
|
const _gTOE = "greaterThanOrEquals";
|
|
927
946
|
const _gTu = "guardrailTrace";
|
|
928
947
|
const _gV = "guardrailVersion";
|
|
948
|
+
const _gu = "guardrail";
|
|
929
949
|
const _h = "http";
|
|
950
|
+
const _hA = "hasAccess";
|
|
930
951
|
const _hE = "httpError";
|
|
931
952
|
const _hH = "httpHeader";
|
|
932
953
|
const _hM = "httpMethod";
|
|
@@ -999,7 +1020,8 @@ const _mL = "maximumLength";
|
|
|
999
1020
|
const _mNOR = "maxNumberOfResults";
|
|
1000
1021
|
const _mNRE = "modelNotReadyException";
|
|
1001
1022
|
const _mPC = "modelPerformanceConfiguration";
|
|
1002
|
-
const _mR = "
|
|
1023
|
+
const _mR = "memberRelation";
|
|
1024
|
+
const _mRa = "maxResults";
|
|
1003
1025
|
const _mSC = "managedSearchConfiguration";
|
|
1004
1026
|
const _mT = "mediaType";
|
|
1005
1027
|
const _mTa = "maxTokens";
|
|
@@ -1200,12 +1222,13 @@ const _to = "topics";
|
|
|
1200
1222
|
const _tr = "transcription";
|
|
1201
1223
|
const _tra = "trace";
|
|
1202
1224
|
const _ty = "type";
|
|
1203
|
-
const _u = "
|
|
1225
|
+
const _u = "users";
|
|
1204
1226
|
const _uC = "userContext";
|
|
1205
1227
|
const _uCs = "useCase";
|
|
1206
1228
|
const _uI = "userId";
|
|
1207
1229
|
const _ur = "url";
|
|
1208
1230
|
const _uri = "uri";
|
|
1231
|
+
const _us = "usage";
|
|
1209
1232
|
const _v = "verb";
|
|
1210
1233
|
const _vE = "validationException";
|
|
1211
1234
|
const _vSC = "vectorSearchConfiguration";
|
|
@@ -1564,6 +1587,16 @@ var ByteContentFile$ = [3, n0, _BCF,
|
|
|
1564
1587
|
[_mT, _da],
|
|
1565
1588
|
[0, [() => ByteContentBlob, 0]], 2
|
|
1566
1589
|
];
|
|
1590
|
+
var CheckIngestedDocumentAclRequest$ = [3, n0, _CIDAR,
|
|
1591
|
+
0,
|
|
1592
|
+
[_kBI, _dSI, _dI, _uC],
|
|
1593
|
+
[[0, 1], [0, 1], 0, [() => UserContext$, 0]], 4
|
|
1594
|
+
];
|
|
1595
|
+
var CheckIngestedDocumentAclResponse$ = [3, n0, _CIDARh,
|
|
1596
|
+
0,
|
|
1597
|
+
[_hA],
|
|
1598
|
+
[2], 1
|
|
1599
|
+
];
|
|
1567
1600
|
var Citation$ = [3, n0, _C,
|
|
1568
1601
|
0,
|
|
1569
1602
|
[_gRP, _rRe],
|
|
@@ -1664,6 +1697,31 @@ var DeleteSessionResponse$ = [3, n0, _DSRe,
|
|
|
1664
1697
|
[],
|
|
1665
1698
|
[]
|
|
1666
1699
|
];
|
|
1700
|
+
var DocumentAcl$ = [3, n0, _DA,
|
|
1701
|
+
8,
|
|
1702
|
+
[_aL, _dL],
|
|
1703
|
+
[() => DocumentAclMembership$, () => DocumentAclMembership$]
|
|
1704
|
+
];
|
|
1705
|
+
var DocumentAclCondition$ = [3, n0, _DAC,
|
|
1706
|
+
0,
|
|
1707
|
+
[_cO, _u, _g],
|
|
1708
|
+
[0, () => DocumentAclUserList, () => DocumentAclGroupList]
|
|
1709
|
+
];
|
|
1710
|
+
var DocumentAclGroup$ = [3, n0, _DAG,
|
|
1711
|
+
0,
|
|
1712
|
+
[_id, _ty],
|
|
1713
|
+
[0, 0], 2
|
|
1714
|
+
];
|
|
1715
|
+
var DocumentAclMembership$ = [3, n0, _DAM,
|
|
1716
|
+
0,
|
|
1717
|
+
[_mR, _cond],
|
|
1718
|
+
[0, () => DocumentAclConditionList]
|
|
1719
|
+
];
|
|
1720
|
+
var DocumentAclUser$ = [3, n0, _DAU,
|
|
1721
|
+
0,
|
|
1722
|
+
[_id, _ty],
|
|
1723
|
+
[0, 0], 2
|
|
1724
|
+
];
|
|
1667
1725
|
var EndSessionRequest$ = [3, n0, _ESR,
|
|
1668
1726
|
0,
|
|
1669
1727
|
[_sIe],
|
|
@@ -1924,6 +1982,16 @@ var GetFlowExecutionResponse$ = [3, n0, _GFERe,
|
|
|
1924
1982
|
[_eA, _sta, _sAt, _fAI, _fI, _fV, _eAn, _er],
|
|
1925
1983
|
[0, 0, 5, 0, 0, 0, 5, () => FlowExecutionErrors], 6
|
|
1926
1984
|
];
|
|
1985
|
+
var GetIngestedDocumentAclRequest$ = [3, n0, _GIDAR,
|
|
1986
|
+
0,
|
|
1987
|
+
[_kBI, _dSI, _dI],
|
|
1988
|
+
[[0, 1], [0, 1], 0], 3
|
|
1989
|
+
];
|
|
1990
|
+
var GetIngestedDocumentAclResponse$ = [3, n0, _GIDARe,
|
|
1991
|
+
0,
|
|
1992
|
+
[_dA],
|
|
1993
|
+
[[() => DocumentAcl$, 0]], 1
|
|
1994
|
+
];
|
|
1927
1995
|
var GetInvocationStepRequest$ = [3, n0, _GISR,
|
|
1928
1996
|
0,
|
|
1929
1997
|
[_iIn, _iSI, _sIe],
|
|
@@ -2126,7 +2194,7 @@ var InvokeFlowResponse$ = [3, n0, _IFRn,
|
|
|
2126
2194
|
];
|
|
2127
2195
|
var InvokeInlineAgentRequest$ = [3, n0, _IIAR,
|
|
2128
2196
|
0,
|
|
2129
|
-
[_fM, _in, _sIes, _cEKA, _iSTTLIS, _aGc, _kB, _gC, _pOC, _aC, _cC, _aN, _eS, _eTn, _iTn, _sCt, _pCC, _iSS, _col, _bMC, _oT,
|
|
2197
|
+
[_fM, _in, _sIes, _cEKA, _iSTTLIS, _aGc, _kB, _gC, _pOC, _aC, _cC, _aN, _eS, _eTn, _iTn, _sCt, _pCC, _iSS, _col, _bMC, _oT, _cOu],
|
|
2130
2198
|
[0, [() => Instruction, 0], [0, 1], 0, 1, [() => AgentActionGroups, 0], [() => KnowledgeBases, 0], () => GuardrailConfigurationWithArn$, [() => PromptOverrideConfiguration$, 0], 0, [() => CollaboratorConfigurations, 0], [() => Name, 0], 2, 2, [() => InputText, 0], () => StreamingConfigurations$, () => PromptCreationConfigurations$, [() => InlineSessionState$, 0], [() => Collaborators, 0], () => InlineBedrockModelConfigurations$, 0, () => CustomOrchestration$], 3
|
|
2131
2199
|
];
|
|
2132
2200
|
var InvokeInlineAgentResponse$ = [3, n0, _IIARn,
|
|
@@ -2186,8 +2254,8 @@ var KnowledgeBaseVectorSearchConfiguration$ = [3, n0, _KBVSC,
|
|
|
2186
2254
|
];
|
|
2187
2255
|
var ListFlowExecutionEventsRequest$ = [3, n0, _LFEER,
|
|
2188
2256
|
0,
|
|
2189
|
-
[_fI, _fAI, _eIx, _eTve,
|
|
2190
|
-
[[0, 1], [0, 1], [0, 1], [0, { [_hQ]: _eTve }], [1, { [_hQ]:
|
|
2257
|
+
[_fI, _fAI, _eIx, _eTve, _mRa, _nT],
|
|
2258
|
+
[[0, 1], [0, 1], [0, 1], [0, { [_hQ]: _eTve }], [1, { [_hQ]: _mRa }], [0, { [_hQ]: _nT }]], 4
|
|
2191
2259
|
];
|
|
2192
2260
|
var ListFlowExecutionEventsResponse$ = [3, n0, _LFEERi,
|
|
2193
2261
|
0,
|
|
@@ -2196,8 +2264,8 @@ var ListFlowExecutionEventsResponse$ = [3, n0, _LFEERi,
|
|
|
2196
2264
|
];
|
|
2197
2265
|
var ListFlowExecutionsRequest$ = [3, n0, _LFER,
|
|
2198
2266
|
0,
|
|
2199
|
-
[_fI, _fAI,
|
|
2200
|
-
[[0, 1], [0, { [_hQ]: _fAI }], [1, { [_hQ]:
|
|
2267
|
+
[_fI, _fAI, _mRa, _nT],
|
|
2268
|
+
[[0, 1], [0, { [_hQ]: _fAI }], [1, { [_hQ]: _mRa }], [0, { [_hQ]: _nT }]], 1
|
|
2201
2269
|
];
|
|
2202
2270
|
var ListFlowExecutionsResponse$ = [3, n0, _LFERi,
|
|
2203
2271
|
0,
|
|
@@ -2206,8 +2274,8 @@ var ListFlowExecutionsResponse$ = [3, n0, _LFERi,
|
|
|
2206
2274
|
];
|
|
2207
2275
|
var ListInvocationsRequest$ = [3, n0, _LIR,
|
|
2208
2276
|
0,
|
|
2209
|
-
[_sIe, _nT,
|
|
2210
|
-
[[0, 1], [0, { [_hQ]: _nT }], [1, { [_hQ]:
|
|
2277
|
+
[_sIe, _nT, _mRa],
|
|
2278
|
+
[[0, 1], [0, { [_hQ]: _nT }], [1, { [_hQ]: _mRa }]], 1
|
|
2211
2279
|
];
|
|
2212
2280
|
var ListInvocationsResponse$ = [3, n0, _LIRi,
|
|
2213
2281
|
0,
|
|
@@ -2216,8 +2284,8 @@ var ListInvocationsResponse$ = [3, n0, _LIRi,
|
|
|
2216
2284
|
];
|
|
2217
2285
|
var ListInvocationStepsRequest$ = [3, n0, _LISR,
|
|
2218
2286
|
0,
|
|
2219
|
-
[_sIe, _iIn, _nT,
|
|
2220
|
-
[[0, 1], 0, [0, { [_hQ]: _nT }], [1, { [_hQ]:
|
|
2287
|
+
[_sIe, _iIn, _nT, _mRa],
|
|
2288
|
+
[[0, 1], 0, [0, { [_hQ]: _nT }], [1, { [_hQ]: _mRa }]], 1
|
|
2221
2289
|
];
|
|
2222
2290
|
var ListInvocationStepsResponse$ = [3, n0, _LISRi,
|
|
2223
2291
|
0,
|
|
@@ -2226,8 +2294,8 @@ var ListInvocationStepsResponse$ = [3, n0, _LISRi,
|
|
|
2226
2294
|
];
|
|
2227
2295
|
var ListSessionsRequest$ = [3, n0, _LSR,
|
|
2228
2296
|
0,
|
|
2229
|
-
[
|
|
2230
|
-
[[1, { [_hQ]:
|
|
2297
|
+
[_mRa, _nT],
|
|
2298
|
+
[[1, { [_hQ]: _mRa }], [0, { [_hQ]: _nT }]]
|
|
2231
2299
|
];
|
|
2232
2300
|
var ListSessionsResponse$ = [3, n0, _LSRi,
|
|
2233
2301
|
0,
|
|
@@ -2276,7 +2344,7 @@ var Message$ = [3, n0, _M,
|
|
|
2276
2344
|
];
|
|
2277
2345
|
var Metadata$ = [3, n0, _Me,
|
|
2278
2346
|
8,
|
|
2279
|
-
[_sTt, _eTnd, _tTM, _oTTM, _cRI,
|
|
2347
|
+
[_sTt, _eTnd, _tTM, _oTTM, _cRI, _us],
|
|
2280
2348
|
[5, 5, 1, 1, 0, [() => Usage$, 0]]
|
|
2281
2349
|
];
|
|
2282
2350
|
var MetadataAttributeSchema$ = [3, n0, _MAS,
|
|
@@ -2914,6 +2982,15 @@ var ContentBlocks = [1, n0, _CBo,
|
|
|
2914
2982
|
0, [() => ContentBlock$,
|
|
2915
2983
|
0]
|
|
2916
2984
|
];
|
|
2985
|
+
var DocumentAclConditionList = [1, n0, _DACL,
|
|
2986
|
+
0, () => DocumentAclCondition$
|
|
2987
|
+
];
|
|
2988
|
+
var DocumentAclGroupList = [1, n0, _DAGL,
|
|
2989
|
+
0, () => DocumentAclGroup$
|
|
2990
|
+
];
|
|
2991
|
+
var DocumentAclUserList = [1, n0, _DAUL,
|
|
2992
|
+
0, () => DocumentAclUser$
|
|
2993
|
+
];
|
|
2917
2994
|
var ExternalSources = [1, n0, _ESx,
|
|
2918
2995
|
0, [() => ExternalSource$,
|
|
2919
2996
|
0]
|
|
@@ -3133,7 +3210,7 @@ var AgenticRetrieveStreamResponseOutput$ = [4, n0, _ARSRO,
|
|
|
3133
3210
|
];
|
|
3134
3211
|
var AgenticRetrieveWarning$ = [4, n0, _ARWg,
|
|
3135
3212
|
0,
|
|
3136
|
-
[_m,
|
|
3213
|
+
[_m, _gu],
|
|
3137
3214
|
[() => AgenticRetrieveWarningMessage$, () => AgenticRetrieveGuardrailWarning$]
|
|
3138
3215
|
];
|
|
3139
3216
|
var APISchema$ = [4, n0, _APIS,
|
|
@@ -3308,7 +3385,7 @@ var RetrievalFilter$ = [4, n0, _RF,
|
|
|
3308
3385
|
];
|
|
3309
3386
|
var RetrieveAndGenerateStreamResponseOutput$ = [4, n0, _RAGSRO,
|
|
3310
3387
|
{ [_str]: 1 },
|
|
3311
|
-
[_o, _cit,
|
|
3388
|
+
[_o, _cit, _gu, _iSE, _vE, _rNFE, _sQEE, _tEh, _aDE, _cE, _dFE, _bGE],
|
|
3312
3389
|
[[() => RetrieveAndGenerateOutputEvent$, 0], [() => CitationEvent$, 0], () => GuardrailEvent$, [() => InternalServerException$, 0], [() => ValidationException$, 0], [() => ResourceNotFoundException$, 0], [() => ServiceQuotaExceededException$, 0], [() => ThrottlingException$, 0], [() => AccessDeniedException$, 0], [() => ConflictException$, 0], [() => DependencyFailedException$, 0], [() => BadGatewayException$, 0]]
|
|
3313
3390
|
];
|
|
3314
3391
|
var RetrieverConfiguration$ = [4, n0, _RCet,
|
|
@@ -3334,13 +3411,16 @@ var TraceElements$ = [4, n0, _TEr,
|
|
|
3334
3411
|
var AgenticRetrieveStream$ = [9, n0, _ARS,
|
|
3335
3412
|
{ [_h]: ["POST", "/agenticRetrieveStream", 200] }, () => AgenticRetrieveStreamRequest$, () => AgenticRetrieveStreamResponse$
|
|
3336
3413
|
];
|
|
3414
|
+
var CheckIngestedDocumentAcl$ = [9, n0, _CIDA,
|
|
3415
|
+
{ [_h]: ["POST", "/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/check-ingested-document-acl", 200] }, () => CheckIngestedDocumentAclRequest$, () => CheckIngestedDocumentAclResponse$
|
|
3416
|
+
];
|
|
3337
3417
|
var CreateInvocation$ = [9, n0, _CIr,
|
|
3338
3418
|
{ [_h]: ["PUT", "/sessions/{sessionIdentifier}/invocations/", 201] }, () => CreateInvocationRequest$, () => CreateInvocationResponse$
|
|
3339
3419
|
];
|
|
3340
3420
|
var CreateSession$ = [9, n0, _CS,
|
|
3341
3421
|
{ [_h]: ["PUT", "/sessions/", 201] }, () => CreateSessionRequest$, () => CreateSessionResponse$
|
|
3342
3422
|
];
|
|
3343
|
-
var DeleteAgentMemory$ = [9, n0,
|
|
3423
|
+
var DeleteAgentMemory$ = [9, n0, _DAMe,
|
|
3344
3424
|
{ [_h]: ["DELETE", "/agents/{agentId}/agentAliases/{agentAliasId}/memories", 202] }, () => DeleteAgentMemoryRequest$, () => DeleteAgentMemoryResponse$
|
|
3345
3425
|
];
|
|
3346
3426
|
var DeleteSession$ = [9, n0, _DS,
|
|
@@ -3364,6 +3444,9 @@ var GetExecutionFlowSnapshot$ = [9, n0, _GEFS,
|
|
|
3364
3444
|
var GetFlowExecution$ = [9, n0, _GFE,
|
|
3365
3445
|
{ [_h]: ["GET", "/flows/{flowIdentifier}/aliases/{flowAliasIdentifier}/executions/{executionIdentifier}", 200] }, () => GetFlowExecutionRequest$, () => GetFlowExecutionResponse$
|
|
3366
3446
|
];
|
|
3447
|
+
var GetIngestedDocumentAcl$ = [9, n0, _GIDA,
|
|
3448
|
+
{ [_h]: ["POST", "/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/get-ingested-document-acl", 200] }, () => GetIngestedDocumentAclRequest$, () => GetIngestedDocumentAclResponse$
|
|
3449
|
+
];
|
|
3367
3450
|
var GetInvocationStep$ = [9, n0, _GIS,
|
|
3368
3451
|
{ [_h]: ["POST", "/sessions/{sessionIdentifier}/invocationSteps/{invocationStepId}", 200] }, () => GetInvocationStepRequest$, () => GetInvocationStepResponse$
|
|
3369
3452
|
];
|
|
@@ -3590,6 +3673,9 @@ const _mw0 = (Command, cs, config, o) => [];
|
|
|
3590
3673
|
class AgenticRetrieveStreamCommand extends command(_ep0, _mw0, "AgenticRetrieveStream", AgenticRetrieveStream$) {
|
|
3591
3674
|
}
|
|
3592
3675
|
|
|
3676
|
+
class CheckIngestedDocumentAclCommand extends command(_ep0, _mw0, "CheckIngestedDocumentAcl", CheckIngestedDocumentAcl$) {
|
|
3677
|
+
}
|
|
3678
|
+
|
|
3593
3679
|
class CreateInvocationCommand extends command(_ep0, _mw0, "CreateInvocation", CreateInvocation$) {
|
|
3594
3680
|
}
|
|
3595
3681
|
|
|
@@ -3620,6 +3706,9 @@ class GetExecutionFlowSnapshotCommand extends command(_ep0, _mw0, "GetExecutionF
|
|
|
3620
3706
|
class GetFlowExecutionCommand extends command(_ep0, _mw0, "GetFlowExecution", GetFlowExecution$) {
|
|
3621
3707
|
}
|
|
3622
3708
|
|
|
3709
|
+
class GetIngestedDocumentAclCommand extends command(_ep0, _mw0, "GetIngestedDocumentAcl", GetIngestedDocumentAcl$) {
|
|
3710
|
+
}
|
|
3711
|
+
|
|
3623
3712
|
class GetInvocationStepCommand extends command(_ep0, _mw0, "GetInvocationStep", GetInvocationStep$) {
|
|
3624
3713
|
}
|
|
3625
3714
|
|
|
@@ -3704,6 +3793,7 @@ const paginateRetrieve = createPaginator(BedrockAgentRuntimeClient, RetrieveComm
|
|
|
3704
3793
|
|
|
3705
3794
|
const commands = {
|
|
3706
3795
|
AgenticRetrieveStreamCommand,
|
|
3796
|
+
CheckIngestedDocumentAclCommand,
|
|
3707
3797
|
CreateInvocationCommand,
|
|
3708
3798
|
CreateSessionCommand,
|
|
3709
3799
|
DeleteAgentMemoryCommand,
|
|
@@ -3714,6 +3804,7 @@ const commands = {
|
|
|
3714
3804
|
GetDocumentContentCommand,
|
|
3715
3805
|
GetExecutionFlowSnapshotCommand,
|
|
3716
3806
|
GetFlowExecutionCommand,
|
|
3807
|
+
GetIngestedDocumentAclCommand,
|
|
3717
3808
|
GetInvocationStepCommand,
|
|
3718
3809
|
GetSessionCommand,
|
|
3719
3810
|
InvokeAgentCommand,
|
|
@@ -4039,6 +4130,14 @@ const DocumentOutputFormat = {
|
|
|
4039
4130
|
EXTRACTED: "EXTRACTED",
|
|
4040
4131
|
RAW: "RAW",
|
|
4041
4132
|
};
|
|
4133
|
+
const DocumentAclMemberRelation = {
|
|
4134
|
+
AND: "AND",
|
|
4135
|
+
OR: "OR",
|
|
4136
|
+
};
|
|
4137
|
+
const DocumentAclMembershipType = {
|
|
4138
|
+
DATA_SOURCE: "DATA_SOURCE",
|
|
4139
|
+
KNOWLEDGE_BASE: "KNOWLEDGE_BASE",
|
|
4140
|
+
};
|
|
4042
4141
|
const FileSourceType = {
|
|
4043
4142
|
BYTE_CONTENT: "BYTE_CONTENT",
|
|
4044
4143
|
S3: "S3",
|
|
@@ -4211,6 +4310,10 @@ exports.BedrockSessionContentBlock$ = BedrockSessionContentBlock$;
|
|
|
4211
4310
|
exports.ByteContentDoc$ = ByteContentDoc$;
|
|
4212
4311
|
exports.ByteContentFile$ = ByteContentFile$;
|
|
4213
4312
|
exports.Caller$ = Caller$;
|
|
4313
|
+
exports.CheckIngestedDocumentAcl$ = CheckIngestedDocumentAcl$;
|
|
4314
|
+
exports.CheckIngestedDocumentAclCommand = CheckIngestedDocumentAclCommand;
|
|
4315
|
+
exports.CheckIngestedDocumentAclRequest$ = CheckIngestedDocumentAclRequest$;
|
|
4316
|
+
exports.CheckIngestedDocumentAclResponse$ = CheckIngestedDocumentAclResponse$;
|
|
4214
4317
|
exports.Citation$ = Citation$;
|
|
4215
4318
|
exports.CitationEvent$ = CitationEvent$;
|
|
4216
4319
|
exports.CodeInterpreterInvocationInput$ = CodeInterpreterInvocationInput$;
|
|
@@ -4248,6 +4351,13 @@ exports.DeleteSessionRequest$ = DeleteSessionRequest$;
|
|
|
4248
4351
|
exports.DeleteSessionResponse$ = DeleteSessionResponse$;
|
|
4249
4352
|
exports.DependencyFailedException = DependencyFailedException;
|
|
4250
4353
|
exports.DependencyFailedException$ = DependencyFailedException$;
|
|
4354
|
+
exports.DocumentAcl$ = DocumentAcl$;
|
|
4355
|
+
exports.DocumentAclCondition$ = DocumentAclCondition$;
|
|
4356
|
+
exports.DocumentAclGroup$ = DocumentAclGroup$;
|
|
4357
|
+
exports.DocumentAclMemberRelation = DocumentAclMemberRelation;
|
|
4358
|
+
exports.DocumentAclMembership$ = DocumentAclMembership$;
|
|
4359
|
+
exports.DocumentAclMembershipType = DocumentAclMembershipType;
|
|
4360
|
+
exports.DocumentAclUser$ = DocumentAclUser$;
|
|
4251
4361
|
exports.DocumentOutputFormat = DocumentOutputFormat;
|
|
4252
4362
|
exports.EndSession$ = EndSession$;
|
|
4253
4363
|
exports.EndSessionCommand = EndSessionCommand;
|
|
@@ -4338,6 +4448,10 @@ exports.GetFlowExecution$ = GetFlowExecution$;
|
|
|
4338
4448
|
exports.GetFlowExecutionCommand = GetFlowExecutionCommand;
|
|
4339
4449
|
exports.GetFlowExecutionRequest$ = GetFlowExecutionRequest$;
|
|
4340
4450
|
exports.GetFlowExecutionResponse$ = GetFlowExecutionResponse$;
|
|
4451
|
+
exports.GetIngestedDocumentAcl$ = GetIngestedDocumentAcl$;
|
|
4452
|
+
exports.GetIngestedDocumentAclCommand = GetIngestedDocumentAclCommand;
|
|
4453
|
+
exports.GetIngestedDocumentAclRequest$ = GetIngestedDocumentAclRequest$;
|
|
4454
|
+
exports.GetIngestedDocumentAclResponse$ = GetIngestedDocumentAclResponse$;
|
|
4341
4455
|
exports.GetInvocationStep$ = GetInvocationStep$;
|
|
4342
4456
|
exports.GetInvocationStepCommand = GetInvocationStepCommand;
|
|
4343
4457
|
exports.GetInvocationStepRequest$ = GetInvocationStepRequest$;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { createAggregatedClient } from "@smithy/core/client";
|
|
2
2
|
import { BedrockAgentRuntimeClient } from "./BedrockAgentRuntimeClient";
|
|
3
3
|
import { AgenticRetrieveStreamCommand, } from "./commands/AgenticRetrieveStreamCommand";
|
|
4
|
+
import { CheckIngestedDocumentAclCommand, } from "./commands/CheckIngestedDocumentAclCommand";
|
|
4
5
|
import { CreateInvocationCommand, } from "./commands/CreateInvocationCommand";
|
|
5
6
|
import { CreateSessionCommand, } from "./commands/CreateSessionCommand";
|
|
6
7
|
import { DeleteAgentMemoryCommand, } from "./commands/DeleteAgentMemoryCommand";
|
|
@@ -11,6 +12,7 @@ import { GetAgentMemoryCommand, } from "./commands/GetAgentMemoryCommand";
|
|
|
11
12
|
import { GetDocumentContentCommand, } from "./commands/GetDocumentContentCommand";
|
|
12
13
|
import { GetExecutionFlowSnapshotCommand, } from "./commands/GetExecutionFlowSnapshotCommand";
|
|
13
14
|
import { GetFlowExecutionCommand, } from "./commands/GetFlowExecutionCommand";
|
|
15
|
+
import { GetIngestedDocumentAclCommand, } from "./commands/GetIngestedDocumentAclCommand";
|
|
14
16
|
import { GetInvocationStepCommand, } from "./commands/GetInvocationStepCommand";
|
|
15
17
|
import { GetSessionCommand, } from "./commands/GetSessionCommand";
|
|
16
18
|
import { InvokeAgentCommand, } from "./commands/InvokeAgentCommand";
|
|
@@ -43,6 +45,7 @@ import { paginateRerank } from "./pagination/RerankPaginator";
|
|
|
43
45
|
import { paginateRetrieve } from "./pagination/RetrievePaginator";
|
|
44
46
|
const commands = {
|
|
45
47
|
AgenticRetrieveStreamCommand,
|
|
48
|
+
CheckIngestedDocumentAclCommand,
|
|
46
49
|
CreateInvocationCommand,
|
|
47
50
|
CreateSessionCommand,
|
|
48
51
|
DeleteAgentMemoryCommand,
|
|
@@ -53,6 +56,7 @@ const commands = {
|
|
|
53
56
|
GetDocumentContentCommand,
|
|
54
57
|
GetExecutionFlowSnapshotCommand,
|
|
55
58
|
GetFlowExecutionCommand,
|
|
59
|
+
GetIngestedDocumentAclCommand,
|
|
56
60
|
GetInvocationStepCommand,
|
|
57
61
|
GetSessionCommand,
|
|
58
62
|
InvokeAgentCommand,
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from "./AgenticRetrieveStreamCommand";
|
|
2
|
+
export * from "./CheckIngestedDocumentAclCommand";
|
|
2
3
|
export * from "./CreateInvocationCommand";
|
|
3
4
|
export * from "./CreateSessionCommand";
|
|
4
5
|
export * from "./DeleteAgentMemoryCommand";
|
|
@@ -9,6 +10,7 @@ export * from "./GetAgentMemoryCommand";
|
|
|
9
10
|
export * from "./GetDocumentContentCommand";
|
|
10
11
|
export * from "./GetExecutionFlowSnapshotCommand";
|
|
11
12
|
export * from "./GetFlowExecutionCommand";
|
|
13
|
+
export * from "./GetIngestedDocumentAclCommand";
|
|
12
14
|
export * from "./GetInvocationStepCommand";
|
|
13
15
|
export * from "./GetSessionCommand";
|
|
14
16
|
export * from "./InvokeAgentCommand";
|
package/dist-es/models/enums.js
CHANGED
|
@@ -286,6 +286,14 @@ export const DocumentOutputFormat = {
|
|
|
286
286
|
EXTRACTED: "EXTRACTED",
|
|
287
287
|
RAW: "RAW",
|
|
288
288
|
};
|
|
289
|
+
export const DocumentAclMemberRelation = {
|
|
290
|
+
AND: "AND",
|
|
291
|
+
OR: "OR",
|
|
292
|
+
};
|
|
293
|
+
export const DocumentAclMembershipType = {
|
|
294
|
+
DATA_SOURCE: "DATA_SOURCE",
|
|
295
|
+
KNOWLEDGE_BASE: "KNOWLEDGE_BASE",
|
|
296
|
+
};
|
|
289
297
|
export const FileSourceType = {
|
|
290
298
|
BYTE_CONTENT: "BYTE_CONTENT",
|
|
291
299
|
S3: "S3",
|