@aws-sdk/client-bedrock-agent 3.685.0 → 3.687.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 +8 -0
- package/dist-cjs/index.js +516 -49
- package/dist-es/BedrockAgent.js +2 -0
- package/dist-es/commands/CreatePromptCommand.js +1 -1
- package/dist-es/commands/CreatePromptVersionCommand.js +1 -1
- package/dist-es/commands/GetAgentVersionCommand.js +1 -1
- package/dist-es/commands/GetPromptCommand.js +1 -1
- package/dist-es/commands/UpdatePromptCommand.js +1 -1
- package/dist-es/commands/ValidateFlowDefinitionCommand.js +23 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +239 -41
- package/dist-es/models/models_1.js +69 -0
- package/dist-es/protocols/Aws_restJson1.js +141 -5
- package/dist-types/BedrockAgent.d.ts +7 -0
- package/dist-types/BedrockAgentClient.d.ts +3 -2
- package/dist-types/commands/CreateFlowCommand.d.ts +102 -2
- package/dist-types/commands/CreateFlowVersionCommand.d.ts +51 -1
- package/dist-types/commands/CreatePromptCommand.d.ts +97 -3
- package/dist-types/commands/CreatePromptVersionCommand.d.ts +49 -2
- package/dist-types/commands/DeleteAgentVersionCommand.d.ts +1 -1
- package/dist-types/commands/DeletePromptCommand.d.ts +1 -1
- package/dist-types/commands/GetAgentVersionCommand.d.ts +1 -1
- package/dist-types/commands/GetFlowCommand.d.ts +137 -1
- package/dist-types/commands/GetFlowVersionCommand.d.ts +51 -1
- package/dist-types/commands/GetPromptCommand.d.ts +49 -2
- package/dist-types/commands/ListAgentKnowledgeBasesCommand.d.ts +1 -1
- package/dist-types/commands/ListAgentVersionsCommand.d.ts +1 -1
- package/dist-types/commands/ListKnowledgeBasesCommand.d.ts +1 -1
- package/dist-types/commands/ListPromptsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAgentKnowledgeBaseCommand.d.ts +1 -1
- package/dist-types/commands/UpdateFlowCommand.d.ts +102 -2
- package/dist-types/commands/UpdateKnowledgeBaseCommand.d.ts +1 -1
- package/dist-types/commands/UpdatePromptCommand.d.ts +97 -3
- package/dist-types/commands/ValidateFlowDefinitionCommand.d.ts +335 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +2060 -1356
- package/dist-types/models/models_1.d.ts +974 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/ts3.4/BedrockAgent.d.ts +17 -0
- package/dist-types/ts3.4/BedrockAgentClient.d.ts +8 -2
- package/dist-types/ts3.4/commands/CreatePromptCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreatePromptVersionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteAgentVersionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeletePromptCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetAgentVersionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetPromptCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListAgentKnowledgeBasesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListAgentVersionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListKnowledgeBasesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListPromptsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateAgentKnowledgeBaseCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateKnowledgeBaseCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdatePromptCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ValidateFlowDefinitionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1109 -229
- package/dist-types/ts3.4/models/models_1.d.ts +287 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +35 -35
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentClient";
|
|
4
|
-
import { CreatePromptRequest, CreatePromptResponse } from "../models/
|
|
4
|
+
import { CreatePromptRequest, CreatePromptResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -42,7 +42,7 @@ declare const CreatePromptCommand_base: {
|
|
|
42
42
|
* variants: [ // PromptVariantList
|
|
43
43
|
* { // PromptVariant
|
|
44
44
|
* name: "STRING_VALUE", // required
|
|
45
|
-
* templateType: "TEXT", // required
|
|
45
|
+
* templateType: "TEXT" || "CHAT", // required
|
|
46
46
|
* templateConfiguration: { // PromptTemplateConfiguration Union: only one key present
|
|
47
47
|
* text: { // TextPromptTemplateConfiguration
|
|
48
48
|
* text: "STRING_VALUE", // required
|
|
@@ -52,6 +52,48 @@ declare const CreatePromptCommand_base: {
|
|
|
52
52
|
* },
|
|
53
53
|
* ],
|
|
54
54
|
* },
|
|
55
|
+
* chat: { // ChatPromptTemplateConfiguration
|
|
56
|
+
* messages: [ // Messages // required
|
|
57
|
+
* { // Message
|
|
58
|
+
* role: "user" || "assistant", // required
|
|
59
|
+
* content: [ // ContentBlocks // required
|
|
60
|
+
* { // ContentBlock Union: only one key present
|
|
61
|
+
* text: "STRING_VALUE",
|
|
62
|
+
* },
|
|
63
|
+
* ],
|
|
64
|
+
* },
|
|
65
|
+
* ],
|
|
66
|
+
* system: [ // SystemContentBlocks
|
|
67
|
+
* { // SystemContentBlock Union: only one key present
|
|
68
|
+
* text: "STRING_VALUE",
|
|
69
|
+
* },
|
|
70
|
+
* ],
|
|
71
|
+
* inputVariables: [
|
|
72
|
+
* {
|
|
73
|
+
* name: "STRING_VALUE",
|
|
74
|
+
* },
|
|
75
|
+
* ],
|
|
76
|
+
* toolConfiguration: { // ToolConfiguration
|
|
77
|
+
* tools: [ // Tools // required
|
|
78
|
+
* { // Tool Union: only one key present
|
|
79
|
+
* toolSpec: { // ToolSpecification
|
|
80
|
+
* name: "STRING_VALUE", // required
|
|
81
|
+
* description: "STRING_VALUE",
|
|
82
|
+
* inputSchema: { // ToolInputSchema Union: only one key present
|
|
83
|
+
* json: "DOCUMENT_VALUE",
|
|
84
|
+
* },
|
|
85
|
+
* },
|
|
86
|
+
* },
|
|
87
|
+
* ],
|
|
88
|
+
* toolChoice: { // ToolChoice Union: only one key present
|
|
89
|
+
* auto: {},
|
|
90
|
+
* any: {},
|
|
91
|
+
* tool: { // SpecificToolChoice
|
|
92
|
+
* name: "STRING_VALUE", // required
|
|
93
|
+
* },
|
|
94
|
+
* },
|
|
95
|
+
* },
|
|
96
|
+
* },
|
|
55
97
|
* },
|
|
56
98
|
* modelId: "STRING_VALUE",
|
|
57
99
|
* inferenceConfiguration: { // PromptInferenceConfiguration Union: only one key present
|
|
@@ -71,6 +113,11 @@ declare const CreatePromptCommand_base: {
|
|
|
71
113
|
* },
|
|
72
114
|
* ],
|
|
73
115
|
* additionalModelRequestFields: "DOCUMENT_VALUE",
|
|
116
|
+
* genAiResource: { // PromptGenAiResource Union: only one key present
|
|
117
|
+
* agent: { // PromptAgentResource
|
|
118
|
+
* agentIdentifier: "STRING_VALUE", // required
|
|
119
|
+
* },
|
|
120
|
+
* },
|
|
74
121
|
* },
|
|
75
122
|
* ],
|
|
76
123
|
* clientToken: "STRING_VALUE",
|
|
@@ -88,7 +135,7 @@ declare const CreatePromptCommand_base: {
|
|
|
88
135
|
* // variants: [ // PromptVariantList
|
|
89
136
|
* // { // PromptVariant
|
|
90
137
|
* // name: "STRING_VALUE", // required
|
|
91
|
-
* // templateType: "TEXT", // required
|
|
138
|
+
* // templateType: "TEXT" || "CHAT", // required
|
|
92
139
|
* // templateConfiguration: { // PromptTemplateConfiguration Union: only one key present
|
|
93
140
|
* // text: { // TextPromptTemplateConfiguration
|
|
94
141
|
* // text: "STRING_VALUE", // required
|
|
@@ -98,6 +145,48 @@ declare const CreatePromptCommand_base: {
|
|
|
98
145
|
* // },
|
|
99
146
|
* // ],
|
|
100
147
|
* // },
|
|
148
|
+
* // chat: { // ChatPromptTemplateConfiguration
|
|
149
|
+
* // messages: [ // Messages // required
|
|
150
|
+
* // { // Message
|
|
151
|
+
* // role: "user" || "assistant", // required
|
|
152
|
+
* // content: [ // ContentBlocks // required
|
|
153
|
+
* // { // ContentBlock Union: only one key present
|
|
154
|
+
* // text: "STRING_VALUE",
|
|
155
|
+
* // },
|
|
156
|
+
* // ],
|
|
157
|
+
* // },
|
|
158
|
+
* // ],
|
|
159
|
+
* // system: [ // SystemContentBlocks
|
|
160
|
+
* // { // SystemContentBlock Union: only one key present
|
|
161
|
+
* // text: "STRING_VALUE",
|
|
162
|
+
* // },
|
|
163
|
+
* // ],
|
|
164
|
+
* // inputVariables: [
|
|
165
|
+
* // {
|
|
166
|
+
* // name: "STRING_VALUE",
|
|
167
|
+
* // },
|
|
168
|
+
* // ],
|
|
169
|
+
* // toolConfiguration: { // ToolConfiguration
|
|
170
|
+
* // tools: [ // Tools // required
|
|
171
|
+
* // { // Tool Union: only one key present
|
|
172
|
+
* // toolSpec: { // ToolSpecification
|
|
173
|
+
* // name: "STRING_VALUE", // required
|
|
174
|
+
* // description: "STRING_VALUE",
|
|
175
|
+
* // inputSchema: { // ToolInputSchema Union: only one key present
|
|
176
|
+
* // json: "DOCUMENT_VALUE",
|
|
177
|
+
* // },
|
|
178
|
+
* // },
|
|
179
|
+
* // },
|
|
180
|
+
* // ],
|
|
181
|
+
* // toolChoice: { // ToolChoice Union: only one key present
|
|
182
|
+
* // auto: {},
|
|
183
|
+
* // any: {},
|
|
184
|
+
* // tool: { // SpecificToolChoice
|
|
185
|
+
* // name: "STRING_VALUE", // required
|
|
186
|
+
* // },
|
|
187
|
+
* // },
|
|
188
|
+
* // },
|
|
189
|
+
* // },
|
|
101
190
|
* // },
|
|
102
191
|
* // modelId: "STRING_VALUE",
|
|
103
192
|
* // inferenceConfiguration: { // PromptInferenceConfiguration Union: only one key present
|
|
@@ -117,6 +206,11 @@ declare const CreatePromptCommand_base: {
|
|
|
117
206
|
* // },
|
|
118
207
|
* // ],
|
|
119
208
|
* // additionalModelRequestFields: "DOCUMENT_VALUE",
|
|
209
|
+
* // genAiResource: { // PromptGenAiResource Union: only one key present
|
|
210
|
+
* // agent: { // PromptAgentResource
|
|
211
|
+
* // agentIdentifier: "STRING_VALUE", // required
|
|
212
|
+
* // },
|
|
213
|
+
* // },
|
|
120
214
|
* // },
|
|
121
215
|
* // ],
|
|
122
216
|
* // id: "STRING_VALUE", // required
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentClient";
|
|
4
|
-
import { CreatePromptVersionRequest, CreatePromptVersionResponse } from "../models/
|
|
4
|
+
import { CreatePromptVersionRequest, CreatePromptVersionResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -52,7 +52,7 @@ declare const CreatePromptVersionCommand_base: {
|
|
|
52
52
|
* // variants: [ // PromptVariantList
|
|
53
53
|
* // { // PromptVariant
|
|
54
54
|
* // name: "STRING_VALUE", // required
|
|
55
|
-
* // templateType: "TEXT", // required
|
|
55
|
+
* // templateType: "TEXT" || "CHAT", // required
|
|
56
56
|
* // templateConfiguration: { // PromptTemplateConfiguration Union: only one key present
|
|
57
57
|
* // text: { // TextPromptTemplateConfiguration
|
|
58
58
|
* // text: "STRING_VALUE", // required
|
|
@@ -62,6 +62,48 @@ declare const CreatePromptVersionCommand_base: {
|
|
|
62
62
|
* // },
|
|
63
63
|
* // ],
|
|
64
64
|
* // },
|
|
65
|
+
* // chat: { // ChatPromptTemplateConfiguration
|
|
66
|
+
* // messages: [ // Messages // required
|
|
67
|
+
* // { // Message
|
|
68
|
+
* // role: "user" || "assistant", // required
|
|
69
|
+
* // content: [ // ContentBlocks // required
|
|
70
|
+
* // { // ContentBlock Union: only one key present
|
|
71
|
+
* // text: "STRING_VALUE",
|
|
72
|
+
* // },
|
|
73
|
+
* // ],
|
|
74
|
+
* // },
|
|
75
|
+
* // ],
|
|
76
|
+
* // system: [ // SystemContentBlocks
|
|
77
|
+
* // { // SystemContentBlock Union: only one key present
|
|
78
|
+
* // text: "STRING_VALUE",
|
|
79
|
+
* // },
|
|
80
|
+
* // ],
|
|
81
|
+
* // inputVariables: [
|
|
82
|
+
* // {
|
|
83
|
+
* // name: "STRING_VALUE",
|
|
84
|
+
* // },
|
|
85
|
+
* // ],
|
|
86
|
+
* // toolConfiguration: { // ToolConfiguration
|
|
87
|
+
* // tools: [ // Tools // required
|
|
88
|
+
* // { // Tool Union: only one key present
|
|
89
|
+
* // toolSpec: { // ToolSpecification
|
|
90
|
+
* // name: "STRING_VALUE", // required
|
|
91
|
+
* // description: "STRING_VALUE",
|
|
92
|
+
* // inputSchema: { // ToolInputSchema Union: only one key present
|
|
93
|
+
* // json: "DOCUMENT_VALUE",
|
|
94
|
+
* // },
|
|
95
|
+
* // },
|
|
96
|
+
* // },
|
|
97
|
+
* // ],
|
|
98
|
+
* // toolChoice: { // ToolChoice Union: only one key present
|
|
99
|
+
* // auto: {},
|
|
100
|
+
* // any: {},
|
|
101
|
+
* // tool: { // SpecificToolChoice
|
|
102
|
+
* // name: "STRING_VALUE", // required
|
|
103
|
+
* // },
|
|
104
|
+
* // },
|
|
105
|
+
* // },
|
|
106
|
+
* // },
|
|
65
107
|
* // },
|
|
66
108
|
* // modelId: "STRING_VALUE",
|
|
67
109
|
* // inferenceConfiguration: { // PromptInferenceConfiguration Union: only one key present
|
|
@@ -81,6 +123,11 @@ declare const CreatePromptVersionCommand_base: {
|
|
|
81
123
|
* // },
|
|
82
124
|
* // ],
|
|
83
125
|
* // additionalModelRequestFields: "DOCUMENT_VALUE",
|
|
126
|
+
* // genAiResource: { // PromptGenAiResource Union: only one key present
|
|
127
|
+
* // agent: { // PromptAgentResource
|
|
128
|
+
* // agentIdentifier: "STRING_VALUE", // required
|
|
129
|
+
* // },
|
|
130
|
+
* // },
|
|
84
131
|
* // },
|
|
85
132
|
* // ],
|
|
86
133
|
* // id: "STRING_VALUE", // required
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentClient";
|
|
4
|
-
import { DeleteAgentVersionRequest, DeleteAgentVersionResponse } from "../models/
|
|
4
|
+
import { DeleteAgentVersionRequest, DeleteAgentVersionResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentClient";
|
|
4
|
-
import { DeletePromptRequest, DeletePromptResponse } from "../models/
|
|
4
|
+
import { DeletePromptRequest, DeletePromptResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentClient";
|
|
4
|
-
import { GetAgentVersionRequest, GetAgentVersionResponse } from "../models/
|
|
4
|
+
import { GetAgentVersionRequest, GetAgentVersionResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -61,6 +61,10 @@ declare const GetFlowCommand_base: {
|
|
|
61
61
|
* // knowledgeBase: { // KnowledgeBaseFlowNodeConfiguration
|
|
62
62
|
* // knowledgeBaseId: "STRING_VALUE", // required
|
|
63
63
|
* // modelId: "STRING_VALUE",
|
|
64
|
+
* // guardrailConfiguration: { // GuardrailConfiguration
|
|
65
|
+
* // guardrailIdentifier: "STRING_VALUE",
|
|
66
|
+
* // guardrailVersion: "STRING_VALUE",
|
|
67
|
+
* // },
|
|
64
68
|
* // },
|
|
65
69
|
* // condition: { // ConditionFlowNodeConfiguration
|
|
66
70
|
* // conditions: [ // FlowConditions // required
|
|
@@ -80,7 +84,7 @@ declare const GetFlowCommand_base: {
|
|
|
80
84
|
* // promptArn: "STRING_VALUE", // required
|
|
81
85
|
* // },
|
|
82
86
|
* // inline: { // PromptFlowNodeInlineConfiguration
|
|
83
|
-
* // templateType: "TEXT", // required
|
|
87
|
+
* // templateType: "TEXT" || "CHAT", // required
|
|
84
88
|
* // templateConfiguration: { // PromptTemplateConfiguration Union: only one key present
|
|
85
89
|
* // text: { // TextPromptTemplateConfiguration
|
|
86
90
|
* // text: "STRING_VALUE", // required
|
|
@@ -90,6 +94,48 @@ declare const GetFlowCommand_base: {
|
|
|
90
94
|
* // },
|
|
91
95
|
* // ],
|
|
92
96
|
* // },
|
|
97
|
+
* // chat: { // ChatPromptTemplateConfiguration
|
|
98
|
+
* // messages: [ // Messages // required
|
|
99
|
+
* // { // Message
|
|
100
|
+
* // role: "user" || "assistant", // required
|
|
101
|
+
* // content: [ // ContentBlocks // required
|
|
102
|
+
* // { // ContentBlock Union: only one key present
|
|
103
|
+
* // text: "STRING_VALUE",
|
|
104
|
+
* // },
|
|
105
|
+
* // ],
|
|
106
|
+
* // },
|
|
107
|
+
* // ],
|
|
108
|
+
* // system: [ // SystemContentBlocks
|
|
109
|
+
* // { // SystemContentBlock Union: only one key present
|
|
110
|
+
* // text: "STRING_VALUE",
|
|
111
|
+
* // },
|
|
112
|
+
* // ],
|
|
113
|
+
* // inputVariables: [
|
|
114
|
+
* // {
|
|
115
|
+
* // name: "STRING_VALUE",
|
|
116
|
+
* // },
|
|
117
|
+
* // ],
|
|
118
|
+
* // toolConfiguration: { // ToolConfiguration
|
|
119
|
+
* // tools: [ // Tools // required
|
|
120
|
+
* // { // Tool Union: only one key present
|
|
121
|
+
* // toolSpec: { // ToolSpecification
|
|
122
|
+
* // name: "STRING_VALUE", // required
|
|
123
|
+
* // description: "STRING_VALUE",
|
|
124
|
+
* // inputSchema: { // ToolInputSchema Union: only one key present
|
|
125
|
+
* // json: "DOCUMENT_VALUE",
|
|
126
|
+
* // },
|
|
127
|
+
* // },
|
|
128
|
+
* // },
|
|
129
|
+
* // ],
|
|
130
|
+
* // toolChoice: { // ToolChoice Union: only one key present
|
|
131
|
+
* // auto: {},
|
|
132
|
+
* // any: {},
|
|
133
|
+
* // tool: { // SpecificToolChoice
|
|
134
|
+
* // name: "STRING_VALUE", // required
|
|
135
|
+
* // },
|
|
136
|
+
* // },
|
|
137
|
+
* // },
|
|
138
|
+
* // },
|
|
93
139
|
* // },
|
|
94
140
|
* // modelId: "STRING_VALUE", // required
|
|
95
141
|
* // inferenceConfiguration: { // PromptInferenceConfiguration Union: only one key present
|
|
@@ -105,6 +151,10 @@ declare const GetFlowCommand_base: {
|
|
|
105
151
|
* // additionalModelRequestFields: "DOCUMENT_VALUE",
|
|
106
152
|
* // },
|
|
107
153
|
* // },
|
|
154
|
+
* // guardrailConfiguration: {
|
|
155
|
+
* // guardrailIdentifier: "STRING_VALUE",
|
|
156
|
+
* // guardrailVersion: "STRING_VALUE",
|
|
157
|
+
* // },
|
|
108
158
|
* // },
|
|
109
159
|
* // lambdaFunction: { // LambdaFunctionFlowNodeConfiguration
|
|
110
160
|
* // lambdaArn: "STRING_VALUE", // required
|
|
@@ -166,6 +216,92 @@ declare const GetFlowCommand_base: {
|
|
|
166
216
|
* // { // FlowValidation
|
|
167
217
|
* // message: "STRING_VALUE", // required
|
|
168
218
|
* // severity: "Warning" || "Error", // required
|
|
219
|
+
* // details: { // FlowValidationDetails Union: only one key present
|
|
220
|
+
* // cyclicConnection: { // CyclicConnectionFlowValidationDetails
|
|
221
|
+
* // connection: "STRING_VALUE", // required
|
|
222
|
+
* // },
|
|
223
|
+
* // duplicateConnections: { // DuplicateConnectionsFlowValidationDetails
|
|
224
|
+
* // source: "STRING_VALUE", // required
|
|
225
|
+
* // target: "STRING_VALUE", // required
|
|
226
|
+
* // },
|
|
227
|
+
* // duplicateConditionExpression: { // DuplicateConditionExpressionFlowValidationDetails
|
|
228
|
+
* // node: "STRING_VALUE", // required
|
|
229
|
+
* // expression: "STRING_VALUE", // required
|
|
230
|
+
* // },
|
|
231
|
+
* // unreachableNode: { // UnreachableNodeFlowValidationDetails
|
|
232
|
+
* // node: "STRING_VALUE", // required
|
|
233
|
+
* // },
|
|
234
|
+
* // unknownConnectionSource: { // UnknownConnectionSourceFlowValidationDetails
|
|
235
|
+
* // connection: "STRING_VALUE", // required
|
|
236
|
+
* // },
|
|
237
|
+
* // unknownConnectionSourceOutput: { // UnknownConnectionSourceOutputFlowValidationDetails
|
|
238
|
+
* // connection: "STRING_VALUE", // required
|
|
239
|
+
* // },
|
|
240
|
+
* // unknownConnectionTarget: { // UnknownConnectionTargetFlowValidationDetails
|
|
241
|
+
* // connection: "STRING_VALUE", // required
|
|
242
|
+
* // },
|
|
243
|
+
* // unknownConnectionTargetInput: { // UnknownConnectionTargetInputFlowValidationDetails
|
|
244
|
+
* // connection: "STRING_VALUE", // required
|
|
245
|
+
* // },
|
|
246
|
+
* // unknownConnectionCondition: { // UnknownConnectionConditionFlowValidationDetails
|
|
247
|
+
* // connection: "STRING_VALUE", // required
|
|
248
|
+
* // },
|
|
249
|
+
* // malformedConditionExpression: { // MalformedConditionExpressionFlowValidationDetails
|
|
250
|
+
* // node: "STRING_VALUE", // required
|
|
251
|
+
* // condition: "STRING_VALUE", // required
|
|
252
|
+
* // cause: "STRING_VALUE", // required
|
|
253
|
+
* // },
|
|
254
|
+
* // malformedNodeInputExpression: { // MalformedNodeInputExpressionFlowValidationDetails
|
|
255
|
+
* // node: "STRING_VALUE", // required
|
|
256
|
+
* // input: "STRING_VALUE", // required
|
|
257
|
+
* // cause: "STRING_VALUE", // required
|
|
258
|
+
* // },
|
|
259
|
+
* // mismatchedNodeInputType: { // MismatchedNodeInputTypeFlowValidationDetails
|
|
260
|
+
* // node: "STRING_VALUE", // required
|
|
261
|
+
* // input: "STRING_VALUE", // required
|
|
262
|
+
* // expectedType: "String" || "Number" || "Boolean" || "Object" || "Array", // required
|
|
263
|
+
* // },
|
|
264
|
+
* // mismatchedNodeOutputType: { // MismatchedNodeOutputTypeFlowValidationDetails
|
|
265
|
+
* // node: "STRING_VALUE", // required
|
|
266
|
+
* // output: "STRING_VALUE", // required
|
|
267
|
+
* // expectedType: "String" || "Number" || "Boolean" || "Object" || "Array", // required
|
|
268
|
+
* // },
|
|
269
|
+
* // incompatibleConnectionDataType: { // IncompatibleConnectionDataTypeFlowValidationDetails
|
|
270
|
+
* // connection: "STRING_VALUE", // required
|
|
271
|
+
* // },
|
|
272
|
+
* // missingConnectionConfiguration: { // MissingConnectionConfigurationFlowValidationDetails
|
|
273
|
+
* // connection: "STRING_VALUE", // required
|
|
274
|
+
* // },
|
|
275
|
+
* // missingDefaultCondition: { // MissingDefaultConditionFlowValidationDetails
|
|
276
|
+
* // node: "STRING_VALUE", // required
|
|
277
|
+
* // },
|
|
278
|
+
* // missingEndingNodes: {},
|
|
279
|
+
* // missingNodeConfiguration: { // MissingNodeConfigurationFlowValidationDetails
|
|
280
|
+
* // node: "STRING_VALUE", // required
|
|
281
|
+
* // },
|
|
282
|
+
* // missingNodeInput: { // MissingNodeInputFlowValidationDetails
|
|
283
|
+
* // node: "STRING_VALUE", // required
|
|
284
|
+
* // input: "STRING_VALUE", // required
|
|
285
|
+
* // },
|
|
286
|
+
* // missingNodeOutput: { // MissingNodeOutputFlowValidationDetails
|
|
287
|
+
* // node: "STRING_VALUE", // required
|
|
288
|
+
* // output: "STRING_VALUE", // required
|
|
289
|
+
* // },
|
|
290
|
+
* // missingStartingNodes: {},
|
|
291
|
+
* // multipleNodeInputConnections: { // MultipleNodeInputConnectionsFlowValidationDetails
|
|
292
|
+
* // node: "STRING_VALUE", // required
|
|
293
|
+
* // input: "STRING_VALUE", // required
|
|
294
|
+
* // },
|
|
295
|
+
* // unfulfilledNodeInput: { // UnfulfilledNodeInputFlowValidationDetails
|
|
296
|
+
* // node: "STRING_VALUE", // required
|
|
297
|
+
* // input: "STRING_VALUE", // required
|
|
298
|
+
* // },
|
|
299
|
+
* // unsatisfiedConnectionConditions: { // UnsatisfiedConnectionConditionsFlowValidationDetails
|
|
300
|
+
* // connection: "STRING_VALUE", // required
|
|
301
|
+
* // },
|
|
302
|
+
* // unspecified: {},
|
|
303
|
+
* // },
|
|
304
|
+
* // 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",
|
|
169
305
|
* // },
|
|
170
306
|
* // ],
|
|
171
307
|
* // };
|
|
@@ -61,6 +61,10 @@ declare const GetFlowVersionCommand_base: {
|
|
|
61
61
|
* // knowledgeBase: { // KnowledgeBaseFlowNodeConfiguration
|
|
62
62
|
* // knowledgeBaseId: "STRING_VALUE", // required
|
|
63
63
|
* // modelId: "STRING_VALUE",
|
|
64
|
+
* // guardrailConfiguration: { // GuardrailConfiguration
|
|
65
|
+
* // guardrailIdentifier: "STRING_VALUE",
|
|
66
|
+
* // guardrailVersion: "STRING_VALUE",
|
|
67
|
+
* // },
|
|
64
68
|
* // },
|
|
65
69
|
* // condition: { // ConditionFlowNodeConfiguration
|
|
66
70
|
* // conditions: [ // FlowConditions // required
|
|
@@ -80,7 +84,7 @@ declare const GetFlowVersionCommand_base: {
|
|
|
80
84
|
* // promptArn: "STRING_VALUE", // required
|
|
81
85
|
* // },
|
|
82
86
|
* // inline: { // PromptFlowNodeInlineConfiguration
|
|
83
|
-
* // templateType: "TEXT", // required
|
|
87
|
+
* // templateType: "TEXT" || "CHAT", // required
|
|
84
88
|
* // templateConfiguration: { // PromptTemplateConfiguration Union: only one key present
|
|
85
89
|
* // text: { // TextPromptTemplateConfiguration
|
|
86
90
|
* // text: "STRING_VALUE", // required
|
|
@@ -90,6 +94,48 @@ declare const GetFlowVersionCommand_base: {
|
|
|
90
94
|
* // },
|
|
91
95
|
* // ],
|
|
92
96
|
* // },
|
|
97
|
+
* // chat: { // ChatPromptTemplateConfiguration
|
|
98
|
+
* // messages: [ // Messages // required
|
|
99
|
+
* // { // Message
|
|
100
|
+
* // role: "user" || "assistant", // required
|
|
101
|
+
* // content: [ // ContentBlocks // required
|
|
102
|
+
* // { // ContentBlock Union: only one key present
|
|
103
|
+
* // text: "STRING_VALUE",
|
|
104
|
+
* // },
|
|
105
|
+
* // ],
|
|
106
|
+
* // },
|
|
107
|
+
* // ],
|
|
108
|
+
* // system: [ // SystemContentBlocks
|
|
109
|
+
* // { // SystemContentBlock Union: only one key present
|
|
110
|
+
* // text: "STRING_VALUE",
|
|
111
|
+
* // },
|
|
112
|
+
* // ],
|
|
113
|
+
* // inputVariables: [
|
|
114
|
+
* // {
|
|
115
|
+
* // name: "STRING_VALUE",
|
|
116
|
+
* // },
|
|
117
|
+
* // ],
|
|
118
|
+
* // toolConfiguration: { // ToolConfiguration
|
|
119
|
+
* // tools: [ // Tools // required
|
|
120
|
+
* // { // Tool Union: only one key present
|
|
121
|
+
* // toolSpec: { // ToolSpecification
|
|
122
|
+
* // name: "STRING_VALUE", // required
|
|
123
|
+
* // description: "STRING_VALUE",
|
|
124
|
+
* // inputSchema: { // ToolInputSchema Union: only one key present
|
|
125
|
+
* // json: "DOCUMENT_VALUE",
|
|
126
|
+
* // },
|
|
127
|
+
* // },
|
|
128
|
+
* // },
|
|
129
|
+
* // ],
|
|
130
|
+
* // toolChoice: { // ToolChoice Union: only one key present
|
|
131
|
+
* // auto: {},
|
|
132
|
+
* // any: {},
|
|
133
|
+
* // tool: { // SpecificToolChoice
|
|
134
|
+
* // name: "STRING_VALUE", // required
|
|
135
|
+
* // },
|
|
136
|
+
* // },
|
|
137
|
+
* // },
|
|
138
|
+
* // },
|
|
93
139
|
* // },
|
|
94
140
|
* // modelId: "STRING_VALUE", // required
|
|
95
141
|
* // inferenceConfiguration: { // PromptInferenceConfiguration Union: only one key present
|
|
@@ -105,6 +151,10 @@ declare const GetFlowVersionCommand_base: {
|
|
|
105
151
|
* // additionalModelRequestFields: "DOCUMENT_VALUE",
|
|
106
152
|
* // },
|
|
107
153
|
* // },
|
|
154
|
+
* // guardrailConfiguration: {
|
|
155
|
+
* // guardrailIdentifier: "STRING_VALUE",
|
|
156
|
+
* // guardrailVersion: "STRING_VALUE",
|
|
157
|
+
* // },
|
|
108
158
|
* // },
|
|
109
159
|
* // lambdaFunction: { // LambdaFunctionFlowNodeConfiguration
|
|
110
160
|
* // lambdaArn: "STRING_VALUE", // required
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentClient";
|
|
4
|
-
import { GetPromptRequest, GetPromptResponse } from "../models/
|
|
4
|
+
import { GetPromptRequest, GetPromptResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -48,7 +48,7 @@ declare const GetPromptCommand_base: {
|
|
|
48
48
|
* // variants: [ // PromptVariantList
|
|
49
49
|
* // { // PromptVariant
|
|
50
50
|
* // name: "STRING_VALUE", // required
|
|
51
|
-
* // templateType: "TEXT", // required
|
|
51
|
+
* // templateType: "TEXT" || "CHAT", // required
|
|
52
52
|
* // templateConfiguration: { // PromptTemplateConfiguration Union: only one key present
|
|
53
53
|
* // text: { // TextPromptTemplateConfiguration
|
|
54
54
|
* // text: "STRING_VALUE", // required
|
|
@@ -58,6 +58,48 @@ declare const GetPromptCommand_base: {
|
|
|
58
58
|
* // },
|
|
59
59
|
* // ],
|
|
60
60
|
* // },
|
|
61
|
+
* // chat: { // ChatPromptTemplateConfiguration
|
|
62
|
+
* // messages: [ // Messages // required
|
|
63
|
+
* // { // Message
|
|
64
|
+
* // role: "user" || "assistant", // required
|
|
65
|
+
* // content: [ // ContentBlocks // required
|
|
66
|
+
* // { // ContentBlock Union: only one key present
|
|
67
|
+
* // text: "STRING_VALUE",
|
|
68
|
+
* // },
|
|
69
|
+
* // ],
|
|
70
|
+
* // },
|
|
71
|
+
* // ],
|
|
72
|
+
* // system: [ // SystemContentBlocks
|
|
73
|
+
* // { // SystemContentBlock Union: only one key present
|
|
74
|
+
* // text: "STRING_VALUE",
|
|
75
|
+
* // },
|
|
76
|
+
* // ],
|
|
77
|
+
* // inputVariables: [
|
|
78
|
+
* // {
|
|
79
|
+
* // name: "STRING_VALUE",
|
|
80
|
+
* // },
|
|
81
|
+
* // ],
|
|
82
|
+
* // toolConfiguration: { // ToolConfiguration
|
|
83
|
+
* // tools: [ // Tools // required
|
|
84
|
+
* // { // Tool Union: only one key present
|
|
85
|
+
* // toolSpec: { // ToolSpecification
|
|
86
|
+
* // name: "STRING_VALUE", // required
|
|
87
|
+
* // description: "STRING_VALUE",
|
|
88
|
+
* // inputSchema: { // ToolInputSchema Union: only one key present
|
|
89
|
+
* // json: "DOCUMENT_VALUE",
|
|
90
|
+
* // },
|
|
91
|
+
* // },
|
|
92
|
+
* // },
|
|
93
|
+
* // ],
|
|
94
|
+
* // toolChoice: { // ToolChoice Union: only one key present
|
|
95
|
+
* // auto: {},
|
|
96
|
+
* // any: {},
|
|
97
|
+
* // tool: { // SpecificToolChoice
|
|
98
|
+
* // name: "STRING_VALUE", // required
|
|
99
|
+
* // },
|
|
100
|
+
* // },
|
|
101
|
+
* // },
|
|
102
|
+
* // },
|
|
61
103
|
* // },
|
|
62
104
|
* // modelId: "STRING_VALUE",
|
|
63
105
|
* // inferenceConfiguration: { // PromptInferenceConfiguration Union: only one key present
|
|
@@ -77,6 +119,11 @@ declare const GetPromptCommand_base: {
|
|
|
77
119
|
* // },
|
|
78
120
|
* // ],
|
|
79
121
|
* // additionalModelRequestFields: "DOCUMENT_VALUE",
|
|
122
|
+
* // genAiResource: { // PromptGenAiResource Union: only one key present
|
|
123
|
+
* // agent: { // PromptAgentResource
|
|
124
|
+
* // agentIdentifier: "STRING_VALUE", // required
|
|
125
|
+
* // },
|
|
126
|
+
* // },
|
|
80
127
|
* // },
|
|
81
128
|
* // ],
|
|
82
129
|
* // id: "STRING_VALUE", // required
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentClient";
|
|
4
|
-
import { ListAgentKnowledgeBasesRequest, ListAgentKnowledgeBasesResponse } from "../models/
|
|
4
|
+
import { ListAgentKnowledgeBasesRequest, ListAgentKnowledgeBasesResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentClient";
|
|
4
|
-
import { ListAgentVersionsRequest, ListAgentVersionsResponse } from "../models/
|
|
4
|
+
import { ListAgentVersionsRequest, ListAgentVersionsResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentClient";
|
|
4
|
-
import { ListKnowledgeBasesRequest, ListKnowledgeBasesResponse } from "../models/
|
|
4
|
+
import { ListKnowledgeBasesRequest, ListKnowledgeBasesResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentClient";
|
|
4
|
-
import { ListPromptsRequest, ListPromptsResponse } from "../models/
|
|
4
|
+
import { ListPromptsRequest, ListPromptsResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentClient";
|
|
4
|
-
import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/
|
|
4
|
+
import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentClient";
|
|
4
|
-
import { TagResourceRequest, TagResourceResponse } from "../models/
|
|
4
|
+
import { TagResourceRequest, TagResourceResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|