@aws-sdk/client-bedrock-agent 3.934.0 → 3.935.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 +373 -373
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +372 -0
- package/dist-es/models/errors.js +87 -0
- package/dist-es/models/models_0.js +1 -347
- package/dist-es/models/models_1.js +1 -112
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/commands/AssociateAgentKnowledgeBaseCommand.d.ts +1 -1
- package/dist-types/commands/DeleteKnowledgeBaseDocumentsCommand.d.ts +1 -1
- package/dist-types/commands/GetIngestionJobCommand.d.ts +1 -2
- package/dist-types/commands/GetKnowledgeBaseDocumentsCommand.d.ts +1 -1
- package/dist-types/commands/IngestKnowledgeBaseDocumentsCommand.d.ts +1 -1
- package/dist-types/commands/ListIngestionJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListKnowledgeBaseDocumentsCommand.d.ts +1 -1
- package/dist-types/commands/StartIngestionJobCommand.d.ts +1 -1
- package/dist-types/commands/StopIngestionJobCommand.d.ts +1 -1
- package/dist-types/index.d.ts +4 -1
- package/dist-types/models/enums.d.ts +938 -0
- package/dist-types/models/errors.d.ts +92 -0
- package/dist-types/models/models_0.d.ts +1045 -742
- package/dist-types/models/models_1.d.ts +2 -1332
- package/dist-types/ts3.4/commands/AssociateAgentKnowledgeBaseCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteKnowledgeBaseDocumentsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetIngestionJobCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/GetKnowledgeBaseDocumentsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/IngestKnowledgeBaseDocumentsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListIngestionJobsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListKnowledgeBaseDocumentsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartIngestionJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopIngestionJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/index.d.ts +4 -1
- package/dist-types/ts3.4/models/enums.d.ts +501 -0
- package/dist-types/ts3.4/models/errors.d.ts +51 -0
- package/dist-types/ts3.4/models/models_0.d.ts +330 -396
- package/dist-types/ts3.4/models/models_1.d.ts +14 -424
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -2
- package/dist-types/models/index.d.ts +0 -2
- package/dist-types/ts3.4/models/index.d.ts +0 -2
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
AssociateAgentKnowledgeBaseRequest,
|
|
10
10
|
AssociateAgentKnowledgeBaseResponse,
|
|
11
|
-
} from "../models/
|
|
11
|
+
} from "../models/models_0";
|
|
12
12
|
export { __MetadataBearer };
|
|
13
13
|
export { $Command };
|
|
14
14
|
export interface AssociateAgentKnowledgeBaseCommandInput
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
DeleteKnowledgeBaseDocumentsRequest,
|
|
10
10
|
DeleteKnowledgeBaseDocumentsResponse,
|
|
11
|
-
} from "../models/
|
|
11
|
+
} from "../models/models_0";
|
|
12
12
|
export { __MetadataBearer };
|
|
13
13
|
export { $Command };
|
|
14
14
|
export interface DeleteKnowledgeBaseDocumentsCommandInput
|
|
@@ -5,8 +5,10 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../BedrockAgentClient";
|
|
8
|
-
import {
|
|
9
|
-
|
|
8
|
+
import {
|
|
9
|
+
GetIngestionJobRequest,
|
|
10
|
+
GetIngestionJobResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
10
12
|
export { __MetadataBearer };
|
|
11
13
|
export { $Command };
|
|
12
14
|
export interface GetIngestionJobCommandInput extends GetIngestionJobRequest {}
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
GetKnowledgeBaseDocumentsRequest,
|
|
10
10
|
GetKnowledgeBaseDocumentsResponse,
|
|
11
|
-
} from "../models/
|
|
11
|
+
} from "../models/models_0";
|
|
12
12
|
export { __MetadataBearer };
|
|
13
13
|
export { $Command };
|
|
14
14
|
export interface GetKnowledgeBaseDocumentsCommandInput
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
IngestKnowledgeBaseDocumentsRequest,
|
|
10
10
|
IngestKnowledgeBaseDocumentsResponse,
|
|
11
|
-
} from "../models/
|
|
11
|
+
} from "../models/models_0";
|
|
12
12
|
export { __MetadataBearer };
|
|
13
13
|
export { $Command };
|
|
14
14
|
export interface IngestKnowledgeBaseDocumentsCommandInput
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
ListKnowledgeBaseDocumentsRequest,
|
|
10
10
|
ListKnowledgeBaseDocumentsResponse,
|
|
11
|
-
} from "../models/
|
|
11
|
+
} from "../models/models_0";
|
|
12
12
|
export { __MetadataBearer };
|
|
13
13
|
export { $Command };
|
|
14
14
|
export interface ListKnowledgeBaseDocumentsCommandInput
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
StopIngestionJobRequest,
|
|
10
10
|
StopIngestionJobResponse,
|
|
11
|
-
} from "../models/
|
|
11
|
+
} from "../models/models_0";
|
|
12
12
|
export { __MetadataBearer };
|
|
13
13
|
export { $Command };
|
|
14
14
|
export interface StopIngestionJobCommandInput extends StopIngestionJobRequest {}
|
|
@@ -5,5 +5,8 @@ export { RuntimeExtension } from "./runtimeExtensions";
|
|
|
5
5
|
export { BedrockAgentExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
7
|
export * from "./pagination";
|
|
8
|
-
export * from "./models";
|
|
8
|
+
export * from "./models/enums";
|
|
9
|
+
export * from "./models/errors";
|
|
10
|
+
export * from "./models/models_0";
|
|
11
|
+
export * from "./models/models_1";
|
|
9
12
|
export { BedrockAgentServiceException } from "./models/BedrockAgentServiceException";
|
|
@@ -0,0 +1,501 @@
|
|
|
1
|
+
export declare const CustomControlMethod: {
|
|
2
|
+
readonly RETURN_CONTROL: "RETURN_CONTROL";
|
|
3
|
+
};
|
|
4
|
+
export type CustomControlMethod =
|
|
5
|
+
(typeof CustomControlMethod)[keyof typeof CustomControlMethod];
|
|
6
|
+
export declare const ActionGroupState: {
|
|
7
|
+
readonly DISABLED: "DISABLED";
|
|
8
|
+
readonly ENABLED: "ENABLED";
|
|
9
|
+
};
|
|
10
|
+
export type ActionGroupState =
|
|
11
|
+
(typeof ActionGroupState)[keyof typeof ActionGroupState];
|
|
12
|
+
export declare const Type: {
|
|
13
|
+
readonly ARRAY: "array";
|
|
14
|
+
readonly BOOLEAN: "boolean";
|
|
15
|
+
readonly INTEGER: "integer";
|
|
16
|
+
readonly NUMBER: "number";
|
|
17
|
+
readonly STRING: "string";
|
|
18
|
+
};
|
|
19
|
+
export type Type = (typeof Type)[keyof typeof Type];
|
|
20
|
+
export declare const RequireConfirmation: {
|
|
21
|
+
readonly DISABLED: "DISABLED";
|
|
22
|
+
readonly ENABLED: "ENABLED";
|
|
23
|
+
};
|
|
24
|
+
export type RequireConfirmation =
|
|
25
|
+
(typeof RequireConfirmation)[keyof typeof RequireConfirmation];
|
|
26
|
+
export declare const ActionGroupSignature: {
|
|
27
|
+
readonly AMAZON_CODEINTERPRETER: "AMAZON.CodeInterpreter";
|
|
28
|
+
readonly AMAZON_USERINPUT: "AMAZON.UserInput";
|
|
29
|
+
readonly ANTHROPIC_BASH: "ANTHROPIC.Bash";
|
|
30
|
+
readonly ANTHROPIC_COMPUTER: "ANTHROPIC.Computer";
|
|
31
|
+
readonly ANTHROPIC_TEXTEDITOR: "ANTHROPIC.TextEditor";
|
|
32
|
+
};
|
|
33
|
+
export type ActionGroupSignature =
|
|
34
|
+
(typeof ActionGroupSignature)[keyof typeof ActionGroupSignature];
|
|
35
|
+
export declare const AgentCollaboration: {
|
|
36
|
+
readonly DISABLED: "DISABLED";
|
|
37
|
+
readonly SUPERVISOR: "SUPERVISOR";
|
|
38
|
+
readonly SUPERVISOR_ROUTER: "SUPERVISOR_ROUTER";
|
|
39
|
+
};
|
|
40
|
+
export type AgentCollaboration =
|
|
41
|
+
(typeof AgentCollaboration)[keyof typeof AgentCollaboration];
|
|
42
|
+
export declare const AgentStatus: {
|
|
43
|
+
readonly CREATING: "CREATING";
|
|
44
|
+
readonly DELETING: "DELETING";
|
|
45
|
+
readonly FAILED: "FAILED";
|
|
46
|
+
readonly NOT_PREPARED: "NOT_PREPARED";
|
|
47
|
+
readonly PREPARED: "PREPARED";
|
|
48
|
+
readonly PREPARING: "PREPARING";
|
|
49
|
+
readonly UPDATING: "UPDATING";
|
|
50
|
+
readonly VERSIONING: "VERSIONING";
|
|
51
|
+
};
|
|
52
|
+
export type AgentStatus = (typeof AgentStatus)[keyof typeof AgentStatus];
|
|
53
|
+
export declare const MemoryType: {
|
|
54
|
+
readonly SESSION_SUMMARY: "SESSION_SUMMARY";
|
|
55
|
+
};
|
|
56
|
+
export type MemoryType = (typeof MemoryType)[keyof typeof MemoryType];
|
|
57
|
+
export declare const OrchestrationType: {
|
|
58
|
+
readonly CUSTOM_ORCHESTRATION: "CUSTOM_ORCHESTRATION";
|
|
59
|
+
readonly DEFAULT: "DEFAULT";
|
|
60
|
+
};
|
|
61
|
+
export type OrchestrationType =
|
|
62
|
+
(typeof OrchestrationType)[keyof typeof OrchestrationType];
|
|
63
|
+
export declare const CreationMode: {
|
|
64
|
+
readonly DEFAULT: "DEFAULT";
|
|
65
|
+
readonly OVERRIDDEN: "OVERRIDDEN";
|
|
66
|
+
};
|
|
67
|
+
export type CreationMode = (typeof CreationMode)[keyof typeof CreationMode];
|
|
68
|
+
export declare const PromptState: {
|
|
69
|
+
readonly DISABLED: "DISABLED";
|
|
70
|
+
readonly ENABLED: "ENABLED";
|
|
71
|
+
};
|
|
72
|
+
export type PromptState = (typeof PromptState)[keyof typeof PromptState];
|
|
73
|
+
export declare const PromptType: {
|
|
74
|
+
readonly KNOWLEDGE_BASE_RESPONSE_GENERATION: "KNOWLEDGE_BASE_RESPONSE_GENERATION";
|
|
75
|
+
readonly MEMORY_SUMMARIZATION: "MEMORY_SUMMARIZATION";
|
|
76
|
+
readonly ORCHESTRATION: "ORCHESTRATION";
|
|
77
|
+
readonly POST_PROCESSING: "POST_PROCESSING";
|
|
78
|
+
readonly PRE_PROCESSING: "PRE_PROCESSING";
|
|
79
|
+
};
|
|
80
|
+
export type PromptType = (typeof PromptType)[keyof typeof PromptType];
|
|
81
|
+
export declare const AgentAliasStatus: {
|
|
82
|
+
readonly CREATING: "CREATING";
|
|
83
|
+
readonly DELETING: "DELETING";
|
|
84
|
+
readonly DISSOCIATED: "DISSOCIATED";
|
|
85
|
+
readonly FAILED: "FAILED";
|
|
86
|
+
readonly PREPARED: "PREPARED";
|
|
87
|
+
readonly UPDATING: "UPDATING";
|
|
88
|
+
};
|
|
89
|
+
export type AgentAliasStatus =
|
|
90
|
+
(typeof AgentAliasStatus)[keyof typeof AgentAliasStatus];
|
|
91
|
+
export declare const AliasInvocationState: {
|
|
92
|
+
readonly ACCEPT_INVOCATIONS: "ACCEPT_INVOCATIONS";
|
|
93
|
+
readonly REJECT_INVOCATIONS: "REJECT_INVOCATIONS";
|
|
94
|
+
};
|
|
95
|
+
export type AliasInvocationState =
|
|
96
|
+
(typeof AliasInvocationState)[keyof typeof AliasInvocationState];
|
|
97
|
+
export declare const RelayConversationHistory: {
|
|
98
|
+
readonly DISABLED: "DISABLED";
|
|
99
|
+
readonly TO_COLLABORATOR: "TO_COLLABORATOR";
|
|
100
|
+
};
|
|
101
|
+
export type RelayConversationHistory =
|
|
102
|
+
(typeof RelayConversationHistory)[keyof typeof RelayConversationHistory];
|
|
103
|
+
export declare const KnowledgeBaseState: {
|
|
104
|
+
readonly DISABLED: "DISABLED";
|
|
105
|
+
readonly ENABLED: "ENABLED";
|
|
106
|
+
};
|
|
107
|
+
export type KnowledgeBaseState =
|
|
108
|
+
(typeof KnowledgeBaseState)[keyof typeof KnowledgeBaseState];
|
|
109
|
+
export declare const DataDeletionPolicy: {
|
|
110
|
+
readonly DELETE: "DELETE";
|
|
111
|
+
readonly RETAIN: "RETAIN";
|
|
112
|
+
};
|
|
113
|
+
export type DataDeletionPolicy =
|
|
114
|
+
(typeof DataDeletionPolicy)[keyof typeof DataDeletionPolicy];
|
|
115
|
+
export declare const CrawlFilterConfigurationType: {
|
|
116
|
+
readonly PATTERN: "PATTERN";
|
|
117
|
+
};
|
|
118
|
+
export type CrawlFilterConfigurationType =
|
|
119
|
+
(typeof CrawlFilterConfigurationType)[keyof typeof CrawlFilterConfigurationType];
|
|
120
|
+
export declare const ConfluenceAuthType: {
|
|
121
|
+
readonly BASIC: "BASIC";
|
|
122
|
+
readonly OAUTH2_CLIENT_CREDENTIALS: "OAUTH2_CLIENT_CREDENTIALS";
|
|
123
|
+
};
|
|
124
|
+
export type ConfluenceAuthType =
|
|
125
|
+
(typeof ConfluenceAuthType)[keyof typeof ConfluenceAuthType];
|
|
126
|
+
export declare const ConfluenceHostType: {
|
|
127
|
+
readonly SAAS: "SAAS";
|
|
128
|
+
};
|
|
129
|
+
export type ConfluenceHostType =
|
|
130
|
+
(typeof ConfluenceHostType)[keyof typeof ConfluenceHostType];
|
|
131
|
+
export declare const SalesforceAuthType: {
|
|
132
|
+
readonly OAUTH2_CLIENT_CREDENTIALS: "OAUTH2_CLIENT_CREDENTIALS";
|
|
133
|
+
};
|
|
134
|
+
export type SalesforceAuthType =
|
|
135
|
+
(typeof SalesforceAuthType)[keyof typeof SalesforceAuthType];
|
|
136
|
+
export declare const SharePointAuthType: {
|
|
137
|
+
readonly OAUTH2_CLIENT_CREDENTIALS: "OAUTH2_CLIENT_CREDENTIALS";
|
|
138
|
+
readonly OAUTH2_SHAREPOINT_APP_ONLY_CLIENT_CREDENTIALS: "OAUTH2_SHAREPOINT_APP_ONLY_CLIENT_CREDENTIALS";
|
|
139
|
+
};
|
|
140
|
+
export type SharePointAuthType =
|
|
141
|
+
(typeof SharePointAuthType)[keyof typeof SharePointAuthType];
|
|
142
|
+
export declare const SharePointHostType: {
|
|
143
|
+
readonly ONLINE: "ONLINE";
|
|
144
|
+
};
|
|
145
|
+
export type SharePointHostType =
|
|
146
|
+
(typeof SharePointHostType)[keyof typeof SharePointHostType];
|
|
147
|
+
export declare const DataSourceType: {
|
|
148
|
+
readonly CONFLUENCE: "CONFLUENCE";
|
|
149
|
+
readonly CUSTOM: "CUSTOM";
|
|
150
|
+
readonly REDSHIFT_METADATA: "REDSHIFT_METADATA";
|
|
151
|
+
readonly S3: "S3";
|
|
152
|
+
readonly SALESFORCE: "SALESFORCE";
|
|
153
|
+
readonly SHAREPOINT: "SHAREPOINT";
|
|
154
|
+
readonly WEB: "WEB";
|
|
155
|
+
};
|
|
156
|
+
export type DataSourceType =
|
|
157
|
+
(typeof DataSourceType)[keyof typeof DataSourceType];
|
|
158
|
+
export declare const WebScopeType: {
|
|
159
|
+
readonly HOST_ONLY: "HOST_ONLY";
|
|
160
|
+
readonly SUBDOMAINS: "SUBDOMAINS";
|
|
161
|
+
};
|
|
162
|
+
export type WebScopeType = (typeof WebScopeType)[keyof typeof WebScopeType];
|
|
163
|
+
export declare const ChunkingStrategy: {
|
|
164
|
+
readonly FIXED_SIZE: "FIXED_SIZE";
|
|
165
|
+
readonly HIERARCHICAL: "HIERARCHICAL";
|
|
166
|
+
readonly NONE: "NONE";
|
|
167
|
+
readonly SEMANTIC: "SEMANTIC";
|
|
168
|
+
};
|
|
169
|
+
export type ChunkingStrategy =
|
|
170
|
+
(typeof ChunkingStrategy)[keyof typeof ChunkingStrategy];
|
|
171
|
+
export declare const EnrichmentStrategyMethod: {
|
|
172
|
+
readonly CHUNK_ENTITY_EXTRACTION: "CHUNK_ENTITY_EXTRACTION";
|
|
173
|
+
};
|
|
174
|
+
export type EnrichmentStrategyMethod =
|
|
175
|
+
(typeof EnrichmentStrategyMethod)[keyof typeof EnrichmentStrategyMethod];
|
|
176
|
+
export declare const ContextEnrichmentType: {
|
|
177
|
+
readonly BEDROCK_FOUNDATION_MODEL: "BEDROCK_FOUNDATION_MODEL";
|
|
178
|
+
};
|
|
179
|
+
export type ContextEnrichmentType =
|
|
180
|
+
(typeof ContextEnrichmentType)[keyof typeof ContextEnrichmentType];
|
|
181
|
+
export declare const StepType: {
|
|
182
|
+
readonly POST_CHUNKING: "POST_CHUNKING";
|
|
183
|
+
};
|
|
184
|
+
export type StepType = (typeof StepType)[keyof typeof StepType];
|
|
185
|
+
export declare const ParsingModality: {
|
|
186
|
+
readonly MULTIMODAL: "MULTIMODAL";
|
|
187
|
+
};
|
|
188
|
+
export type ParsingModality =
|
|
189
|
+
(typeof ParsingModality)[keyof typeof ParsingModality];
|
|
190
|
+
export declare const ParsingStrategy: {
|
|
191
|
+
readonly BEDROCK_DATA_AUTOMATION: "BEDROCK_DATA_AUTOMATION";
|
|
192
|
+
readonly BEDROCK_FOUNDATION_MODEL: "BEDROCK_FOUNDATION_MODEL";
|
|
193
|
+
};
|
|
194
|
+
export type ParsingStrategy =
|
|
195
|
+
(typeof ParsingStrategy)[keyof typeof ParsingStrategy];
|
|
196
|
+
export declare const DataSourceStatus: {
|
|
197
|
+
readonly AVAILABLE: "AVAILABLE";
|
|
198
|
+
readonly DELETE_UNSUCCESSFUL: "DELETE_UNSUCCESSFUL";
|
|
199
|
+
readonly DELETING: "DELETING";
|
|
200
|
+
};
|
|
201
|
+
export type DataSourceStatus =
|
|
202
|
+
(typeof DataSourceStatus)[keyof typeof DataSourceStatus];
|
|
203
|
+
export declare const FlowConnectionType: {
|
|
204
|
+
readonly CONDITIONAL: "Conditional";
|
|
205
|
+
readonly DATA: "Data";
|
|
206
|
+
};
|
|
207
|
+
export type FlowConnectionType =
|
|
208
|
+
(typeof FlowConnectionType)[keyof typeof FlowConnectionType];
|
|
209
|
+
export declare const SupportedLanguages: {
|
|
210
|
+
readonly PYTHON_3: "Python_3";
|
|
211
|
+
};
|
|
212
|
+
export type SupportedLanguages =
|
|
213
|
+
(typeof SupportedLanguages)[keyof typeof SupportedLanguages];
|
|
214
|
+
export declare const PerformanceConfigLatency: {
|
|
215
|
+
readonly OPTIMIZED: "optimized";
|
|
216
|
+
readonly STANDARD: "standard";
|
|
217
|
+
};
|
|
218
|
+
export type PerformanceConfigLatency =
|
|
219
|
+
(typeof PerformanceConfigLatency)[keyof typeof PerformanceConfigLatency];
|
|
220
|
+
export declare const RerankingMetadataSelectionMode: {
|
|
221
|
+
readonly ALL: "ALL";
|
|
222
|
+
readonly SELECTIVE: "SELECTIVE";
|
|
223
|
+
};
|
|
224
|
+
export type RerankingMetadataSelectionMode =
|
|
225
|
+
(typeof RerankingMetadataSelectionMode)[keyof typeof RerankingMetadataSelectionMode];
|
|
226
|
+
export declare const VectorSearchRerankingConfigurationType: {
|
|
227
|
+
readonly BEDROCK_RERANKING_MODEL: "BEDROCK_RERANKING_MODEL";
|
|
228
|
+
};
|
|
229
|
+
export type VectorSearchRerankingConfigurationType =
|
|
230
|
+
(typeof VectorSearchRerankingConfigurationType)[keyof typeof VectorSearchRerankingConfigurationType];
|
|
231
|
+
export declare const CachePointType: {
|
|
232
|
+
readonly DEFAULT: "default";
|
|
233
|
+
};
|
|
234
|
+
export type CachePointType =
|
|
235
|
+
(typeof CachePointType)[keyof typeof CachePointType];
|
|
236
|
+
export declare const ConversationRole: {
|
|
237
|
+
readonly ASSISTANT: "assistant";
|
|
238
|
+
readonly USER: "user";
|
|
239
|
+
};
|
|
240
|
+
export type ConversationRole =
|
|
241
|
+
(typeof ConversationRole)[keyof typeof ConversationRole];
|
|
242
|
+
export declare const PromptTemplateType: {
|
|
243
|
+
readonly CHAT: "CHAT";
|
|
244
|
+
readonly TEXT: "TEXT";
|
|
245
|
+
};
|
|
246
|
+
export type PromptTemplateType =
|
|
247
|
+
(typeof PromptTemplateType)[keyof typeof PromptTemplateType];
|
|
248
|
+
export declare const FlowNodeInputCategory: {
|
|
249
|
+
readonly EXIT_LOOP: "ExitLoop";
|
|
250
|
+
readonly LOOP_CONDITION: "LoopCondition";
|
|
251
|
+
readonly RETURN_VALUE_TO_LOOP_START: "ReturnValueToLoopStart";
|
|
252
|
+
};
|
|
253
|
+
export type FlowNodeInputCategory =
|
|
254
|
+
(typeof FlowNodeInputCategory)[keyof typeof FlowNodeInputCategory];
|
|
255
|
+
export declare const FlowNodeIODataType: {
|
|
256
|
+
readonly ARRAY: "Array";
|
|
257
|
+
readonly BOOLEAN: "Boolean";
|
|
258
|
+
readonly NUMBER: "Number";
|
|
259
|
+
readonly OBJECT: "Object";
|
|
260
|
+
readonly STRING: "String";
|
|
261
|
+
};
|
|
262
|
+
export type FlowNodeIODataType =
|
|
263
|
+
(typeof FlowNodeIODataType)[keyof typeof FlowNodeIODataType];
|
|
264
|
+
export declare const FlowNodeType: {
|
|
265
|
+
readonly AGENT: "Agent";
|
|
266
|
+
readonly COLLECTOR: "Collector";
|
|
267
|
+
readonly CONDITION: "Condition";
|
|
268
|
+
readonly INLINE_CODE: "InlineCode";
|
|
269
|
+
readonly INPUT: "Input";
|
|
270
|
+
readonly ITERATOR: "Iterator";
|
|
271
|
+
readonly KNOWLEDGE_BASE: "KnowledgeBase";
|
|
272
|
+
readonly LAMBDA_FUNCTION: "LambdaFunction";
|
|
273
|
+
readonly LEX: "Lex";
|
|
274
|
+
readonly LOOP: "Loop";
|
|
275
|
+
readonly LOOP_CONTROLLER: "LoopController";
|
|
276
|
+
readonly LOOP_INPUT: "LoopInput";
|
|
277
|
+
readonly OUTPUT: "Output";
|
|
278
|
+
readonly PROMPT: "Prompt";
|
|
279
|
+
readonly RETRIEVAL: "Retrieval";
|
|
280
|
+
readonly STORAGE: "Storage";
|
|
281
|
+
};
|
|
282
|
+
export type FlowNodeType = (typeof FlowNodeType)[keyof typeof FlowNodeType];
|
|
283
|
+
export declare const FlowStatus: {
|
|
284
|
+
readonly FAILED: "Failed";
|
|
285
|
+
readonly NOT_PREPARED: "NotPrepared";
|
|
286
|
+
readonly PREPARED: "Prepared";
|
|
287
|
+
readonly PREPARING: "Preparing";
|
|
288
|
+
};
|
|
289
|
+
export type FlowStatus = (typeof FlowStatus)[keyof typeof FlowStatus];
|
|
290
|
+
export declare const ConcurrencyType: {
|
|
291
|
+
readonly AUTOMATIC: "Automatic";
|
|
292
|
+
readonly MANUAL: "Manual";
|
|
293
|
+
};
|
|
294
|
+
export type ConcurrencyType =
|
|
295
|
+
(typeof ConcurrencyType)[keyof typeof ConcurrencyType];
|
|
296
|
+
export declare const IncompatibleLoopNodeType: {
|
|
297
|
+
readonly COLLECTOR: "Collector";
|
|
298
|
+
readonly CONDITION: "Condition";
|
|
299
|
+
readonly INPUT: "Input";
|
|
300
|
+
readonly ITERATOR: "Iterator";
|
|
301
|
+
};
|
|
302
|
+
export type IncompatibleLoopNodeType =
|
|
303
|
+
(typeof IncompatibleLoopNodeType)[keyof typeof IncompatibleLoopNodeType];
|
|
304
|
+
export declare const FlowValidationSeverity: {
|
|
305
|
+
readonly ERROR: "Error";
|
|
306
|
+
readonly WARNING: "Warning";
|
|
307
|
+
};
|
|
308
|
+
export type FlowValidationSeverity =
|
|
309
|
+
(typeof FlowValidationSeverity)[keyof typeof FlowValidationSeverity];
|
|
310
|
+
export declare const FlowValidationType: {
|
|
311
|
+
readonly CYCLIC_CONNECTION: "CyclicConnection";
|
|
312
|
+
readonly DUPLICATE_CONDITION_EXPRESSION: "DuplicateConditionExpression";
|
|
313
|
+
readonly DUPLICATE_CONNECTIONS: "DuplicateConnections";
|
|
314
|
+
readonly INCOMPATIBLE_CONNECTION_DATA_TYPE: "IncompatibleConnectionDataType";
|
|
315
|
+
readonly INVALID_LOOP_BOUNDARY: "InvalidLoopBoundary";
|
|
316
|
+
readonly LOOP_INCOMPATIBLE_NODE_TYPE: "LoopIncompatibleNodeType";
|
|
317
|
+
readonly MALFORMED_CONDITION_EXPRESSION: "MalformedConditionExpression";
|
|
318
|
+
readonly MALFORMED_NODE_INPUT_EXPRESSION: "MalformedNodeInputExpression";
|
|
319
|
+
readonly MISMATCHED_NODE_INPUT_TYPE: "MismatchedNodeInputType";
|
|
320
|
+
readonly MISMATCHED_NODE_OUTPUT_TYPE: "MismatchedNodeOutputType";
|
|
321
|
+
readonly MISSING_CONNECTION_CONFIGURATION: "MissingConnectionConfiguration";
|
|
322
|
+
readonly MISSING_DEFAULT_CONDITION: "MissingDefaultCondition";
|
|
323
|
+
readonly MISSING_ENDING_NODES: "MissingEndingNodes";
|
|
324
|
+
readonly MISSING_LOOP_CONTROLLER_NODE: "MissingLoopControllerNode";
|
|
325
|
+
readonly MISSING_LOOP_INPUT_NODE: "MissingLoopInputNode";
|
|
326
|
+
readonly MISSING_NODE_CONFIGURATION: "MissingNodeConfiguration";
|
|
327
|
+
readonly MISSING_NODE_INPUT: "MissingNodeInput";
|
|
328
|
+
readonly MISSING_NODE_OUTPUT: "MissingNodeOutput";
|
|
329
|
+
readonly MISSING_STARTING_NODES: "MissingStartingNodes";
|
|
330
|
+
readonly MULTIPLE_LOOP_CONTROLLER_NODES: "MultipleLoopControllerNodes";
|
|
331
|
+
readonly MULTIPLE_LOOP_INPUT_NODES: "MultipleLoopInputNodes";
|
|
332
|
+
readonly MULTIPLE_NODE_INPUT_CONNECTIONS: "MultipleNodeInputConnections";
|
|
333
|
+
readonly UNFULFILLED_NODE_INPUT: "UnfulfilledNodeInput";
|
|
334
|
+
readonly UNKNOWN_CONNECTION_CONDITION: "UnknownConnectionCondition";
|
|
335
|
+
readonly UNKNOWN_CONNECTION_SOURCE: "UnknownConnectionSource";
|
|
336
|
+
readonly UNKNOWN_CONNECTION_SOURCE_OUTPUT: "UnknownConnectionSourceOutput";
|
|
337
|
+
readonly UNKNOWN_CONNECTION_TARGET: "UnknownConnectionTarget";
|
|
338
|
+
readonly UNKNOWN_CONNECTION_TARGET_INPUT: "UnknownConnectionTargetInput";
|
|
339
|
+
readonly UNKNOWN_NODE_INPUT: "UnknownNodeInput";
|
|
340
|
+
readonly UNKNOWN_NODE_OUTPUT: "UnknownNodeOutput";
|
|
341
|
+
readonly UNREACHABLE_NODE: "UnreachableNode";
|
|
342
|
+
readonly UNSATISFIED_CONNECTION_CONDITIONS: "UnsatisfiedConnectionConditions";
|
|
343
|
+
readonly UNSPECIFIED: "Unspecified";
|
|
344
|
+
};
|
|
345
|
+
export type FlowValidationType =
|
|
346
|
+
(typeof FlowValidationType)[keyof typeof FlowValidationType];
|
|
347
|
+
export declare const IngestionJobStatus: {
|
|
348
|
+
readonly COMPLETE: "COMPLETE";
|
|
349
|
+
readonly FAILED: "FAILED";
|
|
350
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
351
|
+
readonly STARTING: "STARTING";
|
|
352
|
+
readonly STOPPED: "STOPPED";
|
|
353
|
+
readonly STOPPING: "STOPPING";
|
|
354
|
+
};
|
|
355
|
+
export type IngestionJobStatus =
|
|
356
|
+
(typeof IngestionJobStatus)[keyof typeof IngestionJobStatus];
|
|
357
|
+
export declare const IngestionJobFilterAttribute: {
|
|
358
|
+
readonly STATUS: "STATUS";
|
|
359
|
+
};
|
|
360
|
+
export type IngestionJobFilterAttribute =
|
|
361
|
+
(typeof IngestionJobFilterAttribute)[keyof typeof IngestionJobFilterAttribute];
|
|
362
|
+
export declare const IngestionJobFilterOperator: {
|
|
363
|
+
readonly EQ: "EQ";
|
|
364
|
+
};
|
|
365
|
+
export type IngestionJobFilterOperator =
|
|
366
|
+
(typeof IngestionJobFilterOperator)[keyof typeof IngestionJobFilterOperator];
|
|
367
|
+
export declare const IngestionJobSortByAttribute: {
|
|
368
|
+
readonly STARTED_AT: "STARTED_AT";
|
|
369
|
+
readonly STATUS: "STATUS";
|
|
370
|
+
};
|
|
371
|
+
export type IngestionJobSortByAttribute =
|
|
372
|
+
(typeof IngestionJobSortByAttribute)[keyof typeof IngestionJobSortByAttribute];
|
|
373
|
+
export declare const SortOrder: {
|
|
374
|
+
readonly ASCENDING: "ASCENDING";
|
|
375
|
+
readonly DESCENDING: "DESCENDING";
|
|
376
|
+
};
|
|
377
|
+
export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
|
|
378
|
+
export declare const ContentDataSourceType: {
|
|
379
|
+
readonly CUSTOM: "CUSTOM";
|
|
380
|
+
readonly S3: "S3";
|
|
381
|
+
};
|
|
382
|
+
export type ContentDataSourceType =
|
|
383
|
+
(typeof ContentDataSourceType)[keyof typeof ContentDataSourceType];
|
|
384
|
+
export declare const DocumentStatus: {
|
|
385
|
+
readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
|
|
386
|
+
readonly DELETING: "DELETING";
|
|
387
|
+
readonly FAILED: "FAILED";
|
|
388
|
+
readonly IGNORED: "IGNORED";
|
|
389
|
+
readonly INDEXED: "INDEXED";
|
|
390
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
391
|
+
readonly METADATA_PARTIALLY_INDEXED: "METADATA_PARTIALLY_INDEXED";
|
|
392
|
+
readonly METADATA_UPDATE_FAILED: "METADATA_UPDATE_FAILED";
|
|
393
|
+
readonly NOT_FOUND: "NOT_FOUND";
|
|
394
|
+
readonly PARTIALLY_INDEXED: "PARTIALLY_INDEXED";
|
|
395
|
+
readonly PENDING: "PENDING";
|
|
396
|
+
readonly STARTING: "STARTING";
|
|
397
|
+
};
|
|
398
|
+
export type DocumentStatus =
|
|
399
|
+
(typeof DocumentStatus)[keyof typeof DocumentStatus];
|
|
400
|
+
export declare const InlineContentType: {
|
|
401
|
+
readonly BYTE: "BYTE";
|
|
402
|
+
readonly TEXT: "TEXT";
|
|
403
|
+
};
|
|
404
|
+
export type InlineContentType =
|
|
405
|
+
(typeof InlineContentType)[keyof typeof InlineContentType];
|
|
406
|
+
export declare const CustomSourceType: {
|
|
407
|
+
readonly IN_LINE: "IN_LINE";
|
|
408
|
+
readonly S3_LOCATION: "S3_LOCATION";
|
|
409
|
+
};
|
|
410
|
+
export type CustomSourceType =
|
|
411
|
+
(typeof CustomSourceType)[keyof typeof CustomSourceType];
|
|
412
|
+
export declare const MetadataValueType: {
|
|
413
|
+
readonly BOOLEAN: "BOOLEAN";
|
|
414
|
+
readonly NUMBER: "NUMBER";
|
|
415
|
+
readonly STRING: "STRING";
|
|
416
|
+
readonly STRING_LIST: "STRING_LIST";
|
|
417
|
+
};
|
|
418
|
+
export type MetadataValueType =
|
|
419
|
+
(typeof MetadataValueType)[keyof typeof MetadataValueType];
|
|
420
|
+
export declare const MetadataSourceType: {
|
|
421
|
+
readonly IN_LINE_ATTRIBUTE: "IN_LINE_ATTRIBUTE";
|
|
422
|
+
readonly S3_LOCATION: "S3_LOCATION";
|
|
423
|
+
};
|
|
424
|
+
export type MetadataSourceType =
|
|
425
|
+
(typeof MetadataSourceType)[keyof typeof MetadataSourceType];
|
|
426
|
+
export declare const RedshiftProvisionedAuthType: {
|
|
427
|
+
readonly IAM: "IAM";
|
|
428
|
+
readonly USERNAME: "USERNAME";
|
|
429
|
+
readonly USERNAME_PASSWORD: "USERNAME_PASSWORD";
|
|
430
|
+
};
|
|
431
|
+
export type RedshiftProvisionedAuthType =
|
|
432
|
+
(typeof RedshiftProvisionedAuthType)[keyof typeof RedshiftProvisionedAuthType];
|
|
433
|
+
export declare const RedshiftServerlessAuthType: {
|
|
434
|
+
readonly IAM: "IAM";
|
|
435
|
+
readonly USERNAME_PASSWORD: "USERNAME_PASSWORD";
|
|
436
|
+
};
|
|
437
|
+
export type RedshiftServerlessAuthType =
|
|
438
|
+
(typeof RedshiftServerlessAuthType)[keyof typeof RedshiftServerlessAuthType];
|
|
439
|
+
export declare const RedshiftQueryEngineType: {
|
|
440
|
+
readonly PROVISIONED: "PROVISIONED";
|
|
441
|
+
readonly SERVERLESS: "SERVERLESS";
|
|
442
|
+
};
|
|
443
|
+
export type RedshiftQueryEngineType =
|
|
444
|
+
(typeof RedshiftQueryEngineType)[keyof typeof RedshiftQueryEngineType];
|
|
445
|
+
export declare const IncludeExclude: {
|
|
446
|
+
readonly EXCLUDE: "EXCLUDE";
|
|
447
|
+
readonly INCLUDE: "INCLUDE";
|
|
448
|
+
};
|
|
449
|
+
export type IncludeExclude =
|
|
450
|
+
(typeof IncludeExclude)[keyof typeof IncludeExclude];
|
|
451
|
+
export declare const RedshiftQueryEngineStorageType: {
|
|
452
|
+
readonly AWS_DATA_CATALOG: "AWS_DATA_CATALOG";
|
|
453
|
+
readonly REDSHIFT: "REDSHIFT";
|
|
454
|
+
};
|
|
455
|
+
export type RedshiftQueryEngineStorageType =
|
|
456
|
+
(typeof RedshiftQueryEngineStorageType)[keyof typeof RedshiftQueryEngineStorageType];
|
|
457
|
+
export declare const QueryEngineType: {
|
|
458
|
+
readonly REDSHIFT: "REDSHIFT";
|
|
459
|
+
};
|
|
460
|
+
export type QueryEngineType =
|
|
461
|
+
(typeof QueryEngineType)[keyof typeof QueryEngineType];
|
|
462
|
+
export declare const KnowledgeBaseType: {
|
|
463
|
+
readonly KENDRA: "KENDRA";
|
|
464
|
+
readonly SQL: "SQL";
|
|
465
|
+
readonly VECTOR: "VECTOR";
|
|
466
|
+
};
|
|
467
|
+
export type KnowledgeBaseType =
|
|
468
|
+
(typeof KnowledgeBaseType)[keyof typeof KnowledgeBaseType];
|
|
469
|
+
export declare const EmbeddingDataType: {
|
|
470
|
+
readonly BINARY: "BINARY";
|
|
471
|
+
readonly FLOAT32: "FLOAT32";
|
|
472
|
+
};
|
|
473
|
+
export type EmbeddingDataType =
|
|
474
|
+
(typeof EmbeddingDataType)[keyof typeof EmbeddingDataType];
|
|
475
|
+
export declare const SupplementalDataStorageLocationType: {
|
|
476
|
+
readonly S3: "S3";
|
|
477
|
+
};
|
|
478
|
+
export type SupplementalDataStorageLocationType =
|
|
479
|
+
(typeof SupplementalDataStorageLocationType)[keyof typeof SupplementalDataStorageLocationType];
|
|
480
|
+
export declare const KnowledgeBaseStorageType: {
|
|
481
|
+
readonly MONGO_DB_ATLAS: "MONGO_DB_ATLAS";
|
|
482
|
+
readonly NEPTUNE_ANALYTICS: "NEPTUNE_ANALYTICS";
|
|
483
|
+
readonly OPENSEARCH_MANAGED_CLUSTER: "OPENSEARCH_MANAGED_CLUSTER";
|
|
484
|
+
readonly OPENSEARCH_SERVERLESS: "OPENSEARCH_SERVERLESS";
|
|
485
|
+
readonly PINECONE: "PINECONE";
|
|
486
|
+
readonly RDS: "RDS";
|
|
487
|
+
readonly REDIS_ENTERPRISE_CLOUD: "REDIS_ENTERPRISE_CLOUD";
|
|
488
|
+
readonly S3_VECTORS: "S3_VECTORS";
|
|
489
|
+
};
|
|
490
|
+
export type KnowledgeBaseStorageType =
|
|
491
|
+
(typeof KnowledgeBaseStorageType)[keyof typeof KnowledgeBaseStorageType];
|
|
492
|
+
export declare const KnowledgeBaseStatus: {
|
|
493
|
+
readonly ACTIVE: "ACTIVE";
|
|
494
|
+
readonly CREATING: "CREATING";
|
|
495
|
+
readonly DELETE_UNSUCCESSFUL: "DELETE_UNSUCCESSFUL";
|
|
496
|
+
readonly DELETING: "DELETING";
|
|
497
|
+
readonly FAILED: "FAILED";
|
|
498
|
+
readonly UPDATING: "UPDATING";
|
|
499
|
+
};
|
|
500
|
+
export type KnowledgeBaseStatus =
|
|
501
|
+
(typeof KnowledgeBaseStatus)[keyof typeof KnowledgeBaseStatus];
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { BedrockAgentServiceException as __BaseException } from "./BedrockAgentServiceException";
|
|
3
|
+
import { ValidationExceptionField } from "./models_0";
|
|
4
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
5
|
+
readonly name: "AccessDeniedException";
|
|
6
|
+
readonly $fault: "client";
|
|
7
|
+
constructor(
|
|
8
|
+
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
9
|
+
);
|
|
10
|
+
}
|
|
11
|
+
export declare class ConflictException extends __BaseException {
|
|
12
|
+
readonly name: "ConflictException";
|
|
13
|
+
readonly $fault: "client";
|
|
14
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
15
|
+
}
|
|
16
|
+
export declare class InternalServerException extends __BaseException {
|
|
17
|
+
readonly name: "InternalServerException";
|
|
18
|
+
readonly $fault: "server";
|
|
19
|
+
constructor(
|
|
20
|
+
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
21
|
+
);
|
|
22
|
+
}
|
|
23
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
24
|
+
readonly name: "ResourceNotFoundException";
|
|
25
|
+
readonly $fault: "client";
|
|
26
|
+
constructor(
|
|
27
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
28
|
+
);
|
|
29
|
+
}
|
|
30
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
31
|
+
readonly name: "ServiceQuotaExceededException";
|
|
32
|
+
readonly $fault: "client";
|
|
33
|
+
constructor(
|
|
34
|
+
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
35
|
+
);
|
|
36
|
+
}
|
|
37
|
+
export declare class ThrottlingException extends __BaseException {
|
|
38
|
+
readonly name: "ThrottlingException";
|
|
39
|
+
readonly $fault: "client";
|
|
40
|
+
constructor(
|
|
41
|
+
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
42
|
+
);
|
|
43
|
+
}
|
|
44
|
+
export declare class ValidationException extends __BaseException {
|
|
45
|
+
readonly name: "ValidationException";
|
|
46
|
+
readonly $fault: "client";
|
|
47
|
+
fieldList?: ValidationExceptionField[] | undefined;
|
|
48
|
+
constructor(
|
|
49
|
+
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
50
|
+
);
|
|
51
|
+
}
|