@aws-sdk/client-bedrock-agent 3.731.1 → 3.736.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +37 -5
- package/dist-es/models/models_0.js +24 -4
- package/dist-es/models/models_1.js +5 -1
- package/dist-es/protocols/Aws_restJson1.js +6 -0
- package/dist-types/commands/CreateAgentAliasCommand.d.ts +1 -1
- package/dist-types/commands/CreateFlowCommand.d.ts +16 -0
- package/dist-types/commands/CreateFlowVersionCommand.d.ts +8 -0
- package/dist-types/commands/CreatePromptCommand.d.ts +16 -0
- package/dist-types/commands/CreatePromptVersionCommand.d.ts +8 -0
- package/dist-types/commands/DeleteAgentAliasCommand.d.ts +1 -1
- package/dist-types/commands/DeleteKnowledgeBaseDocumentsCommand.d.ts +2 -1
- package/dist-types/commands/GetAgentAliasCommand.d.ts +1 -1
- package/dist-types/commands/GetFlowCommand.d.ts +17 -1
- package/dist-types/commands/GetFlowVersionCommand.d.ts +8 -0
- package/dist-types/commands/GetKnowledgeBaseDocumentsCommand.d.ts +1 -1
- package/dist-types/commands/GetPromptCommand.d.ts +8 -0
- package/dist-types/commands/ListAgentAliasesCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAgentAliasCommand.d.ts +1 -1
- package/dist-types/commands/UpdateFlowCommand.d.ts +16 -0
- package/dist-types/commands/UpdatePromptCommand.d.ts +16 -0
- package/dist-types/commands/ValidateFlowDefinitionCommand.d.ts +17 -1
- package/dist-types/models/models_0.d.ts +227 -126
- package/dist-types/models/models_1.d.ts +123 -1
- package/dist-types/ts3.4/commands/DeleteKnowledgeBaseDocumentsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/GetKnowledgeBaseDocumentsCommand.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +166 -19
- package/dist-types/ts3.4/models/models_1.d.ts +19 -1
- package/package.json +33 -33
|
@@ -52,6 +52,9 @@ declare const GetPromptCommand_base: {
|
|
|
52
52
|
* // templateConfiguration: { // PromptTemplateConfiguration Union: only one key present
|
|
53
53
|
* // text: { // TextPromptTemplateConfiguration
|
|
54
54
|
* // text: "STRING_VALUE", // required
|
|
55
|
+
* // cachePoint: { // CachePointBlock
|
|
56
|
+
* // type: "default", // required
|
|
57
|
+
* // },
|
|
55
58
|
* // inputVariables: [ // PromptInputVariablesList
|
|
56
59
|
* // { // PromptInputVariable
|
|
57
60
|
* // name: "STRING_VALUE",
|
|
@@ -65,6 +68,9 @@ declare const GetPromptCommand_base: {
|
|
|
65
68
|
* // content: [ // ContentBlocks // required
|
|
66
69
|
* // { // ContentBlock Union: only one key present
|
|
67
70
|
* // text: "STRING_VALUE",
|
|
71
|
+
* // cachePoint: {
|
|
72
|
+
* // type: "default", // required
|
|
73
|
+
* // },
|
|
68
74
|
* // },
|
|
69
75
|
* // ],
|
|
70
76
|
* // },
|
|
@@ -72,6 +78,7 @@ declare const GetPromptCommand_base: {
|
|
|
72
78
|
* // system: [ // SystemContentBlocks
|
|
73
79
|
* // { // SystemContentBlock Union: only one key present
|
|
74
80
|
* // text: "STRING_VALUE",
|
|
81
|
+
* // cachePoint: "<CachePointBlock>",
|
|
75
82
|
* // },
|
|
76
83
|
* // ],
|
|
77
84
|
* // inputVariables: [
|
|
@@ -89,6 +96,7 @@ declare const GetPromptCommand_base: {
|
|
|
89
96
|
* // json: "DOCUMENT_VALUE",
|
|
90
97
|
* // },
|
|
91
98
|
* // },
|
|
99
|
+
* // cachePoint: "<CachePointBlock>",
|
|
92
100
|
* // },
|
|
93
101
|
* // ],
|
|
94
102
|
* // toolChoice: { // ToolChoice Union: only one key present
|
|
@@ -53,7 +53,7 @@ declare const ListAgentAliasesCommand_base: {
|
|
|
53
53
|
* // provisionedThroughput: "STRING_VALUE",
|
|
54
54
|
* // },
|
|
55
55
|
* // ],
|
|
56
|
-
* // agentAliasStatus: "CREATING" || "PREPARED" || "FAILED" || "UPDATING" || "DELETING", // required
|
|
56
|
+
* // agentAliasStatus: "CREATING" || "PREPARED" || "FAILED" || "UPDATING" || "DELETING" || "DISSOCIATED", // required
|
|
57
57
|
* // createdAt: new Date("TIMESTAMP"), // required
|
|
58
58
|
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
59
59
|
* // },
|
|
@@ -76,7 +76,7 @@ declare const UpdateAgentAliasCommand_base: {
|
|
|
76
76
|
* // startDate: new Date("TIMESTAMP"),
|
|
77
77
|
* // },
|
|
78
78
|
* // ],
|
|
79
|
-
* // agentAliasStatus: "CREATING" || "PREPARED" || "FAILED" || "UPDATING" || "DELETING", // required
|
|
79
|
+
* // agentAliasStatus: "CREATING" || "PREPARED" || "FAILED" || "UPDATING" || "DELETING" || "DISSOCIATED", // required
|
|
80
80
|
* // failureReasons: [ // FailureReasons
|
|
81
81
|
* // "STRING_VALUE",
|
|
82
82
|
* // ],
|
|
@@ -77,6 +77,9 @@ declare const UpdateFlowCommand_base: {
|
|
|
77
77
|
* templateConfiguration: { // PromptTemplateConfiguration Union: only one key present
|
|
78
78
|
* text: { // TextPromptTemplateConfiguration
|
|
79
79
|
* text: "STRING_VALUE", // required
|
|
80
|
+
* cachePoint: { // CachePointBlock
|
|
81
|
+
* type: "default", // required
|
|
82
|
+
* },
|
|
80
83
|
* inputVariables: [ // PromptInputVariablesList
|
|
81
84
|
* { // PromptInputVariable
|
|
82
85
|
* name: "STRING_VALUE",
|
|
@@ -90,6 +93,9 @@ declare const UpdateFlowCommand_base: {
|
|
|
90
93
|
* content: [ // ContentBlocks // required
|
|
91
94
|
* { // ContentBlock Union: only one key present
|
|
92
95
|
* text: "STRING_VALUE",
|
|
96
|
+
* cachePoint: {
|
|
97
|
+
* type: "default", // required
|
|
98
|
+
* },
|
|
93
99
|
* },
|
|
94
100
|
* ],
|
|
95
101
|
* },
|
|
@@ -97,6 +103,7 @@ declare const UpdateFlowCommand_base: {
|
|
|
97
103
|
* system: [ // SystemContentBlocks
|
|
98
104
|
* { // SystemContentBlock Union: only one key present
|
|
99
105
|
* text: "STRING_VALUE",
|
|
106
|
+
* cachePoint: "<CachePointBlock>",
|
|
100
107
|
* },
|
|
101
108
|
* ],
|
|
102
109
|
* inputVariables: [
|
|
@@ -114,6 +121,7 @@ declare const UpdateFlowCommand_base: {
|
|
|
114
121
|
* json: "DOCUMENT_VALUE",
|
|
115
122
|
* },
|
|
116
123
|
* },
|
|
124
|
+
* cachePoint: "<CachePointBlock>",
|
|
117
125
|
* },
|
|
118
126
|
* ],
|
|
119
127
|
* toolChoice: { // ToolChoice Union: only one key present
|
|
@@ -254,6 +262,9 @@ declare const UpdateFlowCommand_base: {
|
|
|
254
262
|
* // templateConfiguration: { // PromptTemplateConfiguration Union: only one key present
|
|
255
263
|
* // text: { // TextPromptTemplateConfiguration
|
|
256
264
|
* // text: "STRING_VALUE", // required
|
|
265
|
+
* // cachePoint: { // CachePointBlock
|
|
266
|
+
* // type: "default", // required
|
|
267
|
+
* // },
|
|
257
268
|
* // inputVariables: [ // PromptInputVariablesList
|
|
258
269
|
* // { // PromptInputVariable
|
|
259
270
|
* // name: "STRING_VALUE",
|
|
@@ -267,6 +278,9 @@ declare const UpdateFlowCommand_base: {
|
|
|
267
278
|
* // content: [ // ContentBlocks // required
|
|
268
279
|
* // { // ContentBlock Union: only one key present
|
|
269
280
|
* // text: "STRING_VALUE",
|
|
281
|
+
* // cachePoint: {
|
|
282
|
+
* // type: "default", // required
|
|
283
|
+
* // },
|
|
270
284
|
* // },
|
|
271
285
|
* // ],
|
|
272
286
|
* // },
|
|
@@ -274,6 +288,7 @@ declare const UpdateFlowCommand_base: {
|
|
|
274
288
|
* // system: [ // SystemContentBlocks
|
|
275
289
|
* // { // SystemContentBlock Union: only one key present
|
|
276
290
|
* // text: "STRING_VALUE",
|
|
291
|
+
* // cachePoint: "<CachePointBlock>",
|
|
277
292
|
* // },
|
|
278
293
|
* // ],
|
|
279
294
|
* // inputVariables: [
|
|
@@ -291,6 +306,7 @@ declare const UpdateFlowCommand_base: {
|
|
|
291
306
|
* // json: "DOCUMENT_VALUE",
|
|
292
307
|
* // },
|
|
293
308
|
* // },
|
|
309
|
+
* // cachePoint: "<CachePointBlock>",
|
|
294
310
|
* // },
|
|
295
311
|
* // ],
|
|
296
312
|
* // toolChoice: { // ToolChoice Union: only one key present
|
|
@@ -46,6 +46,9 @@ declare const UpdatePromptCommand_base: {
|
|
|
46
46
|
* templateConfiguration: { // PromptTemplateConfiguration Union: only one key present
|
|
47
47
|
* text: { // TextPromptTemplateConfiguration
|
|
48
48
|
* text: "STRING_VALUE", // required
|
|
49
|
+
* cachePoint: { // CachePointBlock
|
|
50
|
+
* type: "default", // required
|
|
51
|
+
* },
|
|
49
52
|
* inputVariables: [ // PromptInputVariablesList
|
|
50
53
|
* { // PromptInputVariable
|
|
51
54
|
* name: "STRING_VALUE",
|
|
@@ -59,6 +62,9 @@ declare const UpdatePromptCommand_base: {
|
|
|
59
62
|
* content: [ // ContentBlocks // required
|
|
60
63
|
* { // ContentBlock Union: only one key present
|
|
61
64
|
* text: "STRING_VALUE",
|
|
65
|
+
* cachePoint: {
|
|
66
|
+
* type: "default", // required
|
|
67
|
+
* },
|
|
62
68
|
* },
|
|
63
69
|
* ],
|
|
64
70
|
* },
|
|
@@ -66,6 +72,7 @@ declare const UpdatePromptCommand_base: {
|
|
|
66
72
|
* system: [ // SystemContentBlocks
|
|
67
73
|
* { // SystemContentBlock Union: only one key present
|
|
68
74
|
* text: "STRING_VALUE",
|
|
75
|
+
* cachePoint: "<CachePointBlock>",
|
|
69
76
|
* },
|
|
70
77
|
* ],
|
|
71
78
|
* inputVariables: [
|
|
@@ -83,6 +90,7 @@ declare const UpdatePromptCommand_base: {
|
|
|
83
90
|
* json: "DOCUMENT_VALUE",
|
|
84
91
|
* },
|
|
85
92
|
* },
|
|
93
|
+
* cachePoint: "<CachePointBlock>",
|
|
86
94
|
* },
|
|
87
95
|
* ],
|
|
88
96
|
* toolChoice: { // ToolChoice Union: only one key present
|
|
@@ -136,6 +144,9 @@ declare const UpdatePromptCommand_base: {
|
|
|
136
144
|
* // templateConfiguration: { // PromptTemplateConfiguration Union: only one key present
|
|
137
145
|
* // text: { // TextPromptTemplateConfiguration
|
|
138
146
|
* // text: "STRING_VALUE", // required
|
|
147
|
+
* // cachePoint: { // CachePointBlock
|
|
148
|
+
* // type: "default", // required
|
|
149
|
+
* // },
|
|
139
150
|
* // inputVariables: [ // PromptInputVariablesList
|
|
140
151
|
* // { // PromptInputVariable
|
|
141
152
|
* // name: "STRING_VALUE",
|
|
@@ -149,6 +160,9 @@ declare const UpdatePromptCommand_base: {
|
|
|
149
160
|
* // content: [ // ContentBlocks // required
|
|
150
161
|
* // { // ContentBlock Union: only one key present
|
|
151
162
|
* // text: "STRING_VALUE",
|
|
163
|
+
* // cachePoint: {
|
|
164
|
+
* // type: "default", // required
|
|
165
|
+
* // },
|
|
152
166
|
* // },
|
|
153
167
|
* // ],
|
|
154
168
|
* // },
|
|
@@ -156,6 +170,7 @@ declare const UpdatePromptCommand_base: {
|
|
|
156
170
|
* // system: [ // SystemContentBlocks
|
|
157
171
|
* // { // SystemContentBlock Union: only one key present
|
|
158
172
|
* // text: "STRING_VALUE",
|
|
173
|
+
* // cachePoint: "<CachePointBlock>",
|
|
159
174
|
* // },
|
|
160
175
|
* // ],
|
|
161
176
|
* // inputVariables: [
|
|
@@ -173,6 +188,7 @@ declare const UpdatePromptCommand_base: {
|
|
|
173
188
|
* // json: "DOCUMENT_VALUE",
|
|
174
189
|
* // },
|
|
175
190
|
* // },
|
|
191
|
+
* // cachePoint: "<CachePointBlock>",
|
|
176
192
|
* // },
|
|
177
193
|
* // ],
|
|
178
194
|
* // toolChoice: { // ToolChoice Union: only one key present
|
|
@@ -73,6 +73,9 @@ declare const ValidateFlowDefinitionCommand_base: {
|
|
|
73
73
|
* templateConfiguration: { // PromptTemplateConfiguration Union: only one key present
|
|
74
74
|
* text: { // TextPromptTemplateConfiguration
|
|
75
75
|
* text: "STRING_VALUE", // required
|
|
76
|
+
* cachePoint: { // CachePointBlock
|
|
77
|
+
* type: "default", // required
|
|
78
|
+
* },
|
|
76
79
|
* inputVariables: [ // PromptInputVariablesList
|
|
77
80
|
* { // PromptInputVariable
|
|
78
81
|
* name: "STRING_VALUE",
|
|
@@ -86,6 +89,9 @@ declare const ValidateFlowDefinitionCommand_base: {
|
|
|
86
89
|
* content: [ // ContentBlocks // required
|
|
87
90
|
* { // ContentBlock Union: only one key present
|
|
88
91
|
* text: "STRING_VALUE",
|
|
92
|
+
* cachePoint: {
|
|
93
|
+
* type: "default", // required
|
|
94
|
+
* },
|
|
89
95
|
* },
|
|
90
96
|
* ],
|
|
91
97
|
* },
|
|
@@ -93,6 +99,7 @@ declare const ValidateFlowDefinitionCommand_base: {
|
|
|
93
99
|
* system: [ // SystemContentBlocks
|
|
94
100
|
* { // SystemContentBlock Union: only one key present
|
|
95
101
|
* text: "STRING_VALUE",
|
|
102
|
+
* cachePoint: "<CachePointBlock>",
|
|
96
103
|
* },
|
|
97
104
|
* ],
|
|
98
105
|
* inputVariables: [
|
|
@@ -110,6 +117,7 @@ declare const ValidateFlowDefinitionCommand_base: {
|
|
|
110
117
|
* json: "DOCUMENT_VALUE",
|
|
111
118
|
* },
|
|
112
119
|
* },
|
|
120
|
+
* cachePoint: "<CachePointBlock>",
|
|
113
121
|
* },
|
|
114
122
|
* ],
|
|
115
123
|
* toolChoice: { // ToolChoice Union: only one key present
|
|
@@ -289,8 +297,16 @@ declare const ValidateFlowDefinitionCommand_base: {
|
|
|
289
297
|
* // connection: "STRING_VALUE", // required
|
|
290
298
|
* // },
|
|
291
299
|
* // unspecified: {},
|
|
300
|
+
* // unknownNodeInput: { // UnknownNodeInputFlowValidationDetails
|
|
301
|
+
* // node: "STRING_VALUE", // required
|
|
302
|
+
* // input: "STRING_VALUE", // required
|
|
303
|
+
* // },
|
|
304
|
+
* // unknownNodeOutput: { // UnknownNodeOutputFlowValidationDetails
|
|
305
|
+
* // node: "STRING_VALUE", // required
|
|
306
|
+
* // output: "STRING_VALUE", // required
|
|
307
|
+
* // },
|
|
292
308
|
* // },
|
|
293
|
-
* // type: "CyclicConnection" || "DuplicateConnections" || "DuplicateConditionExpression" || "UnreachableNode" || "UnknownConnectionSource" || "UnknownConnectionSourceOutput" || "UnknownConnectionTarget" || "UnknownConnectionTargetInput" || "UnknownConnectionCondition" || "MalformedConditionExpression" || "MalformedNodeInputExpression" || "MismatchedNodeInputType" || "MismatchedNodeOutputType" || "IncompatibleConnectionDataType" || "MissingConnectionConfiguration" || "MissingDefaultCondition" || "MissingEndingNodes" || "MissingNodeConfiguration" || "MissingNodeInput" || "MissingNodeOutput" || "MissingStartingNodes" || "MultipleNodeInputConnections" || "UnfulfilledNodeInput" || "UnsatisfiedConnectionConditions" || "Unspecified",
|
|
309
|
+
* // type: "CyclicConnection" || "DuplicateConnections" || "DuplicateConditionExpression" || "UnreachableNode" || "UnknownConnectionSource" || "UnknownConnectionSourceOutput" || "UnknownConnectionTarget" || "UnknownConnectionTargetInput" || "UnknownConnectionCondition" || "MalformedConditionExpression" || "MalformedNodeInputExpression" || "MismatchedNodeInputType" || "MismatchedNodeOutputType" || "IncompatibleConnectionDataType" || "MissingConnectionConfiguration" || "MissingDefaultCondition" || "MissingEndingNodes" || "MissingNodeConfiguration" || "MissingNodeInput" || "MissingNodeOutput" || "MissingStartingNodes" || "MultipleNodeInputConnections" || "UnfulfilledNodeInput" || "UnsatisfiedConnectionConditions" || "Unspecified" || "UnknownNodeInput" || "UnknownNodeOutput",
|
|
294
310
|
* // },
|
|
295
311
|
* // ],
|
|
296
312
|
* // };
|