@stacksjs/ts-cloud 0.1.11 → 0.1.14
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 +41 -379
- package/dist/bin/cli.js +1039 -416
- package/dist/index.d.ts +34 -1
- package/dist/index.js +76467 -7133
- package/package.json +6 -6
- package/dist/aws/acm.d.ts +0 -129
- package/dist/aws/application-autoscaling.d.ts +0 -282
- package/dist/aws/bedrock.d.ts +0 -2292
- package/dist/aws/client.d.ts +0 -79
- package/dist/aws/cloudformation.d.ts +0 -105
- package/dist/aws/cloudfront.d.ts +0 -265
- package/dist/aws/cloudwatch-logs.d.ts +0 -48
- package/dist/aws/comprehend.d.ts +0 -505
- package/dist/aws/connect.d.ts +0 -377
- package/dist/aws/deploy-imap.d.ts +0 -14
- package/dist/aws/dynamodb.d.ts +0 -176
- package/dist/aws/ec2.d.ts +0 -272
- package/dist/aws/ecr.d.ts +0 -149
- package/dist/aws/ecs.d.ts +0 -162
- package/dist/aws/elasticache.d.ts +0 -71
- package/dist/aws/elbv2.d.ts +0 -248
- package/dist/aws/email.d.ts +0 -175
- package/dist/aws/eventbridge.d.ts +0 -142
- package/dist/aws/iam.d.ts +0 -638
- package/dist/aws/imap-server.d.ts +0 -119
- package/dist/aws/index.d.ts +0 -192
- package/dist/aws/kendra.d.ts +0 -782
- package/dist/aws/lambda.d.ts +0 -232
- package/dist/aws/opensearch.d.ts +0 -87
- package/dist/aws/personalize.d.ts +0 -516
- package/dist/aws/polly.d.ts +0 -214
- package/dist/aws/rds.d.ts +0 -240
- package/dist/aws/rekognition.d.ts +0 -543
- package/dist/aws/route53-domains.d.ts +0 -113
- package/dist/aws/route53.d.ts +0 -215
- package/dist/aws/s3.d.ts +0 -212
- package/dist/aws/scheduler.d.ts +0 -140
- package/dist/aws/secrets-manager.d.ts +0 -170
- package/dist/aws/ses.d.ts +0 -288
- package/dist/aws/setup-phone.d.ts +0 -0
- package/dist/aws/setup-sms.d.ts +0 -116
- package/dist/aws/sms.d.ts +0 -304
- package/dist/aws/smtp-server.d.ts +0 -61
- package/dist/aws/sns.d.ts +0 -117
- package/dist/aws/sqs.d.ts +0 -65
- package/dist/aws/ssm.d.ts +0 -179
- package/dist/aws/sts.d.ts +0 -15
- package/dist/aws/support.d.ts +0 -104
- package/dist/aws/test-imap.d.ts +0 -0
- package/dist/aws/textract.d.ts +0 -403
- package/dist/aws/transcribe.d.ts +0 -60
- package/dist/aws/translate.d.ts +0 -358
- package/dist/aws/voice.d.ts +0 -219
- package/dist/config.d.ts +0 -7
- package/dist/deploy/index.d.ts +0 -2
- package/dist/deploy/static-site-external-dns.d.ts +0 -51
- package/dist/deploy/static-site.d.ts +0 -71
- package/dist/dns/cloudflare.d.ts +0 -52
- package/dist/dns/godaddy.d.ts +0 -38
- package/dist/dns/index.d.ts +0 -45
- package/dist/dns/porkbun.d.ts +0 -18
- package/dist/dns/route53-adapter.d.ts +0 -38
- package/dist/dns/types.d.ts +0 -77
- package/dist/dns/validator.d.ts +0 -78
- package/dist/generators/index.d.ts +0 -1
- package/dist/generators/infrastructure.d.ts +0 -30
- package/dist/push/apns.d.ts +0 -60
- package/dist/push/fcm.d.ts +0 -117
- package/dist/push/index.d.ts +0 -14
- package/dist/security/pre-deploy-scanner.d.ts +0 -69
- package/dist/ssl/acme-client.d.ts +0 -67
- package/dist/ssl/index.d.ts +0 -2
- package/dist/ssl/letsencrypt.d.ts +0 -48
- package/dist/types.d.ts +0 -1
- package/dist/utils/cli.d.ts +0 -123
- package/dist/validation/index.d.ts +0 -1
- package/dist/validation/template.d.ts +0 -23
package/dist/aws/bedrock.d.ts
DELETED
|
@@ -1,2292 +0,0 @@
|
|
|
1
|
-
import { AWSClient } from './client';
|
|
2
|
-
/**
|
|
3
|
-
* Request access to multiple Bedrock models
|
|
4
|
-
* Convenience function matching the pattern from the user's example
|
|
5
|
-
*/
|
|
6
|
-
export declare function requestModelAccess(models: string[], region?: string): Promise<Array<{ modelId: string; status: string; error?: string }>>;
|
|
7
|
-
/**
|
|
8
|
-
* List all available Claude models in the region
|
|
9
|
-
*/
|
|
10
|
-
export declare function listClaudeModels(region?: string): Promise<FoundationModelSummary[]>;
|
|
11
|
-
/**
|
|
12
|
-
* Create a simple text completion using Claude
|
|
13
|
-
*/
|
|
14
|
-
export declare function completeWithClaude(prompt: string, options?: {
|
|
15
|
-
modelId?: string
|
|
16
|
-
maxTokens?: number
|
|
17
|
-
temperature?: number
|
|
18
|
-
region?: string
|
|
19
|
-
}): Promise<string>;
|
|
20
|
-
/**
|
|
21
|
-
* Generate embeddings for text
|
|
22
|
-
*/
|
|
23
|
-
export declare function generateEmbeddings(text: string | string[], options?: {
|
|
24
|
-
modelId?: string
|
|
25
|
-
region?: string
|
|
26
|
-
}): Promise<number[] | number[][]>;
|
|
27
|
-
// ============================================================================
|
|
28
|
-
// Bedrock Runtime Types
|
|
29
|
-
// ============================================================================
|
|
30
|
-
export declare interface BedrockMessage {
|
|
31
|
-
role: 'user' | 'assistant'
|
|
32
|
-
content: string | BedrockContentBlock[]
|
|
33
|
-
}
|
|
34
|
-
export declare interface BedrockImageSource {
|
|
35
|
-
type: 'base64'
|
|
36
|
-
media_type: 'image/jpeg' | 'image/png' | 'image/gif' | 'image/webp'
|
|
37
|
-
data: string
|
|
38
|
-
}
|
|
39
|
-
export declare interface BedrockDocumentSource {
|
|
40
|
-
type: 'base64'
|
|
41
|
-
media_type: 'application/pdf'
|
|
42
|
-
data: string
|
|
43
|
-
}
|
|
44
|
-
export declare interface BedrockToolDefinition {
|
|
45
|
-
name: string
|
|
46
|
-
description?: string
|
|
47
|
-
input_schema: {
|
|
48
|
-
type: 'object'
|
|
49
|
-
properties: Record<string, unknown>
|
|
50
|
-
required?: string[]
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
export declare interface BedrockResponse {
|
|
54
|
-
id: string
|
|
55
|
-
type: string
|
|
56
|
-
role: string
|
|
57
|
-
content: Array<{ type: 'text'; text: string } | { type: 'tool_use'; id: string; name: string; input: Record<string, unknown> }>
|
|
58
|
-
model: string
|
|
59
|
-
stop_reason: 'end_turn' | 'tool_use' | 'max_tokens' | 'stop_sequence'
|
|
60
|
-
usage: {
|
|
61
|
-
input_tokens: number
|
|
62
|
-
output_tokens: number
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
export declare interface InvokeModelCommandInput {
|
|
66
|
-
modelId: string
|
|
67
|
-
body: string | Uint8Array | Record<string, unknown>
|
|
68
|
-
contentType?: string
|
|
69
|
-
accept?: string
|
|
70
|
-
trace?: 'ENABLED' | 'DISABLED'
|
|
71
|
-
guardrailIdentifier?: string
|
|
72
|
-
guardrailVersion?: string
|
|
73
|
-
}
|
|
74
|
-
export declare interface InvokeModelCommandOutput {
|
|
75
|
-
body: Uint8Array
|
|
76
|
-
contentType: string
|
|
77
|
-
}
|
|
78
|
-
export declare interface InvokeModelWithResponseStreamCommandInput {
|
|
79
|
-
modelId: string
|
|
80
|
-
body: string | Uint8Array | Record<string, unknown>
|
|
81
|
-
contentType?: string
|
|
82
|
-
accept?: string
|
|
83
|
-
trace?: 'ENABLED' | 'DISABLED'
|
|
84
|
-
guardrailIdentifier?: string
|
|
85
|
-
guardrailVersion?: string
|
|
86
|
-
}
|
|
87
|
-
export declare interface InvokeModelWithResponseStreamCommandOutput {
|
|
88
|
-
body: AsyncIterable<BedrockStreamChunk>
|
|
89
|
-
contentType: string
|
|
90
|
-
}
|
|
91
|
-
export declare interface BedrockStreamChunk {
|
|
92
|
-
chunk?: {
|
|
93
|
-
bytes: Uint8Array
|
|
94
|
-
}
|
|
95
|
-
internalServerException?: {
|
|
96
|
-
message: string
|
|
97
|
-
}
|
|
98
|
-
modelStreamErrorException?: {
|
|
99
|
-
message: string
|
|
100
|
-
originalStatusCode?: number
|
|
101
|
-
originalMessage?: string
|
|
102
|
-
}
|
|
103
|
-
modelTimeoutException?: {
|
|
104
|
-
message: string
|
|
105
|
-
}
|
|
106
|
-
throttlingException?: {
|
|
107
|
-
message: string
|
|
108
|
-
}
|
|
109
|
-
validationException?: {
|
|
110
|
-
message: string
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
export declare interface ConverseCommandInput {
|
|
114
|
-
modelId: string
|
|
115
|
-
messages: BedrockMessage[]
|
|
116
|
-
system?: Array<{ text: string }>
|
|
117
|
-
inferenceConfig?: {
|
|
118
|
-
maxTokens?: number
|
|
119
|
-
temperature?: number
|
|
120
|
-
topP?: number
|
|
121
|
-
stopSequences?: string[]
|
|
122
|
-
}
|
|
123
|
-
toolConfig?: {
|
|
124
|
-
tools: Array<{ toolSpec: BedrockToolDefinition }>
|
|
125
|
-
toolChoice?: { auto: Record<string, never> } | { any: Record<string, never> } | { tool: { name: string } }
|
|
126
|
-
}
|
|
127
|
-
guardrailConfig?: {
|
|
128
|
-
guardrailIdentifier: string
|
|
129
|
-
guardrailVersion: string
|
|
130
|
-
trace?: 'enabled' | 'disabled'
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
export declare interface ConverseCommandOutput {
|
|
134
|
-
output: {
|
|
135
|
-
message?: BedrockMessage
|
|
136
|
-
}
|
|
137
|
-
stopReason: 'end_turn' | 'tool_use' | 'max_tokens' | 'stop_sequence' | 'guardrail_intervened' | 'content_filtered'
|
|
138
|
-
usage: {
|
|
139
|
-
inputTokens: number
|
|
140
|
-
outputTokens: number
|
|
141
|
-
totalTokens: number
|
|
142
|
-
}
|
|
143
|
-
metrics?: {
|
|
144
|
-
latencyMs: number
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
// ============================================================================
|
|
148
|
-
// Bedrock Management Types
|
|
149
|
-
// ============================================================================
|
|
150
|
-
export declare interface CreateModelCustomizationJobCommandInput {
|
|
151
|
-
jobName: string
|
|
152
|
-
customModelName: string
|
|
153
|
-
roleArn: string
|
|
154
|
-
baseModelIdentifier: string
|
|
155
|
-
trainingDataConfig: {
|
|
156
|
-
s3Uri: string
|
|
157
|
-
}
|
|
158
|
-
validationDataConfig?: {
|
|
159
|
-
validators: Array<{
|
|
160
|
-
s3Uri: string
|
|
161
|
-
}>
|
|
162
|
-
}
|
|
163
|
-
outputDataConfig: {
|
|
164
|
-
s3Uri: string
|
|
165
|
-
}
|
|
166
|
-
hyperParameters?: Record<string, string>
|
|
167
|
-
vpcConfig?: {
|
|
168
|
-
subnetIds: string[]
|
|
169
|
-
securityGroupIds: string[]
|
|
170
|
-
}
|
|
171
|
-
customModelKmsKeyId?: string
|
|
172
|
-
customModelTags?: Array<{ key: string; value: string }>
|
|
173
|
-
customizationType?: 'FINE_TUNING' | 'CONTINUED_PRE_TRAINING'
|
|
174
|
-
}
|
|
175
|
-
export declare interface CreateModelCustomizationJobCommandOutput {
|
|
176
|
-
jobArn: string
|
|
177
|
-
}
|
|
178
|
-
export declare interface GetModelCustomizationJobCommandInput {
|
|
179
|
-
jobIdentifier: string
|
|
180
|
-
}
|
|
181
|
-
export declare interface GetModelCustomizationJobCommandOutput {
|
|
182
|
-
jobArn: string
|
|
183
|
-
jobName: string
|
|
184
|
-
outputModelName: string
|
|
185
|
-
outputModelArn?: string
|
|
186
|
-
clientRequestToken?: string
|
|
187
|
-
roleArn: string
|
|
188
|
-
status: 'InProgress' | 'Completed' | 'Failed' | 'Stopping' | 'Stopped'
|
|
189
|
-
failureMessage?: string
|
|
190
|
-
creationTime: string
|
|
191
|
-
lastModifiedTime?: string
|
|
192
|
-
endTime?: string
|
|
193
|
-
baseModelArn: string
|
|
194
|
-
hyperParameters?: Record<string, string>
|
|
195
|
-
trainingDataConfig: {
|
|
196
|
-
s3Uri: string
|
|
197
|
-
}
|
|
198
|
-
validationDataConfig?: {
|
|
199
|
-
validators: Array<{
|
|
200
|
-
s3Uri: string
|
|
201
|
-
}>
|
|
202
|
-
}
|
|
203
|
-
outputDataConfig: {
|
|
204
|
-
s3Uri: string
|
|
205
|
-
}
|
|
206
|
-
customizationType?: 'FINE_TUNING' | 'CONTINUED_PRE_TRAINING'
|
|
207
|
-
outputModelKmsKeyArn?: string
|
|
208
|
-
trainingMetrics?: {
|
|
209
|
-
trainingLoss?: number
|
|
210
|
-
}
|
|
211
|
-
validationMetrics?: Array<{
|
|
212
|
-
validationLoss?: number
|
|
213
|
-
}>
|
|
214
|
-
vpcConfig?: {
|
|
215
|
-
subnetIds: string[]
|
|
216
|
-
securityGroupIds: string[]
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
export declare interface ListModelCustomizationJobsCommandInput {
|
|
220
|
-
creationTimeAfter?: string
|
|
221
|
-
creationTimeBefore?: string
|
|
222
|
-
statusEquals?: 'InProgress' | 'Completed' | 'Failed' | 'Stopping' | 'Stopped'
|
|
223
|
-
nameContains?: string
|
|
224
|
-
maxResults?: number
|
|
225
|
-
nextToken?: string
|
|
226
|
-
sortBy?: 'CreationTime'
|
|
227
|
-
sortOrder?: 'Ascending' | 'Descending'
|
|
228
|
-
}
|
|
229
|
-
export declare interface ListModelCustomizationJobsCommandOutput {
|
|
230
|
-
nextToken?: string
|
|
231
|
-
modelCustomizationJobSummaries?: Array<{
|
|
232
|
-
jobArn: string
|
|
233
|
-
jobName: string
|
|
234
|
-
status: 'InProgress' | 'Completed' | 'Failed' | 'Stopping' | 'Stopped'
|
|
235
|
-
lastModifiedTime?: string
|
|
236
|
-
creationTime: string
|
|
237
|
-
endTime?: string
|
|
238
|
-
baseModelArn: string
|
|
239
|
-
customModelArn?: string
|
|
240
|
-
customModelName?: string
|
|
241
|
-
customizationType?: 'FINE_TUNING' | 'CONTINUED_PRE_TRAINING'
|
|
242
|
-
}>
|
|
243
|
-
}
|
|
244
|
-
export declare interface StopModelCustomizationJobCommandInput {
|
|
245
|
-
jobIdentifier: string
|
|
246
|
-
}
|
|
247
|
-
export declare interface StopModelCustomizationJobCommandOutput {
|
|
248
|
-
|
|
249
|
-
}
|
|
250
|
-
export declare interface ListFoundationModelsCommandInput {
|
|
251
|
-
byProvider?: string
|
|
252
|
-
byCustomizationType?: 'FINE_TUNING' | 'CONTINUED_PRE_TRAINING'
|
|
253
|
-
byOutputModality?: 'TEXT' | 'IMAGE' | 'EMBEDDING'
|
|
254
|
-
byInferenceType?: 'ON_DEMAND' | 'PROVISIONED'
|
|
255
|
-
}
|
|
256
|
-
export declare interface ListFoundationModelsCommandOutput {
|
|
257
|
-
modelSummaries?: FoundationModelSummary[]
|
|
258
|
-
}
|
|
259
|
-
export declare interface FoundationModelSummary {
|
|
260
|
-
modelArn: string
|
|
261
|
-
modelId: string
|
|
262
|
-
modelName: string
|
|
263
|
-
providerName: string
|
|
264
|
-
inputModalities: string[]
|
|
265
|
-
outputModalities: string[]
|
|
266
|
-
responseStreamingSupported: boolean
|
|
267
|
-
customizationsSupported?: string[]
|
|
268
|
-
inferenceTypesSupported?: string[]
|
|
269
|
-
modelLifecycle?: {
|
|
270
|
-
status: 'ACTIVE' | 'LEGACY'
|
|
271
|
-
}
|
|
272
|
-
}
|
|
273
|
-
export declare interface GetFoundationModelCommandInput {
|
|
274
|
-
modelIdentifier: string
|
|
275
|
-
}
|
|
276
|
-
export declare interface GetFoundationModelCommandOutput {
|
|
277
|
-
modelDetails: {
|
|
278
|
-
modelArn: string
|
|
279
|
-
modelId: string
|
|
280
|
-
modelName: string
|
|
281
|
-
providerName: string
|
|
282
|
-
inputModalities: string[]
|
|
283
|
-
outputModalities: string[]
|
|
284
|
-
responseStreamingSupported?: boolean
|
|
285
|
-
customizationsSupported?: string[]
|
|
286
|
-
inferenceTypesSupported?: string[]
|
|
287
|
-
modelLifecycle?: {
|
|
288
|
-
status: 'ACTIVE' | 'LEGACY'
|
|
289
|
-
}
|
|
290
|
-
}
|
|
291
|
-
}
|
|
292
|
-
export declare interface ListCustomModelsCommandInput {
|
|
293
|
-
creationTimeBefore?: string
|
|
294
|
-
creationTimeAfter?: string
|
|
295
|
-
nameContains?: string
|
|
296
|
-
baseModelArnEquals?: string
|
|
297
|
-
foundationModelArnEquals?: string
|
|
298
|
-
maxResults?: number
|
|
299
|
-
nextToken?: string
|
|
300
|
-
sortBy?: 'CreationTime'
|
|
301
|
-
sortOrder?: 'Ascending' | 'Descending'
|
|
302
|
-
}
|
|
303
|
-
export declare interface ListCustomModelsCommandOutput {
|
|
304
|
-
nextToken?: string
|
|
305
|
-
modelSummaries?: Array<{
|
|
306
|
-
modelArn: string
|
|
307
|
-
modelName: string
|
|
308
|
-
creationTime: string
|
|
309
|
-
baseModelArn: string
|
|
310
|
-
baseModelName: string
|
|
311
|
-
customizationType?: 'FINE_TUNING' | 'CONTINUED_PRE_TRAINING'
|
|
312
|
-
}>
|
|
313
|
-
}
|
|
314
|
-
export declare interface DeleteCustomModelCommandInput {
|
|
315
|
-
modelIdentifier: string
|
|
316
|
-
}
|
|
317
|
-
export declare interface DeleteCustomModelCommandOutput {
|
|
318
|
-
|
|
319
|
-
}
|
|
320
|
-
export declare interface GetCustomModelCommandInput {
|
|
321
|
-
modelIdentifier: string
|
|
322
|
-
}
|
|
323
|
-
export declare interface GetCustomModelCommandOutput {
|
|
324
|
-
modelArn: string
|
|
325
|
-
modelName: string
|
|
326
|
-
jobName?: string
|
|
327
|
-
jobArn?: string
|
|
328
|
-
baseModelArn: string
|
|
329
|
-
customizationType?: 'FINE_TUNING' | 'CONTINUED_PRE_TRAINING'
|
|
330
|
-
modelKmsKeyArn?: string
|
|
331
|
-
hyperParameters?: Record<string, string>
|
|
332
|
-
trainingDataConfig?: {
|
|
333
|
-
s3Uri: string
|
|
334
|
-
}
|
|
335
|
-
validationDataConfig?: {
|
|
336
|
-
validators: Array<{
|
|
337
|
-
s3Uri: string
|
|
338
|
-
}>
|
|
339
|
-
}
|
|
340
|
-
outputDataConfig?: {
|
|
341
|
-
s3Uri: string
|
|
342
|
-
}
|
|
343
|
-
trainingMetrics?: {
|
|
344
|
-
trainingLoss?: number
|
|
345
|
-
}
|
|
346
|
-
validationMetrics?: Array<{
|
|
347
|
-
validationLoss?: number
|
|
348
|
-
}>
|
|
349
|
-
creationTime: string
|
|
350
|
-
}
|
|
351
|
-
// Model entitlement / access request types
|
|
352
|
-
export declare interface CreateFoundationModelEntitlementCommandInput {
|
|
353
|
-
modelId: string
|
|
354
|
-
}
|
|
355
|
-
export declare interface CreateFoundationModelEntitlementCommandOutput {
|
|
356
|
-
status: 'PENDING' | 'APPROVED' | 'DENIED'
|
|
357
|
-
modelId: string
|
|
358
|
-
}
|
|
359
|
-
export declare interface ListModelInvocationJobsCommandInput {
|
|
360
|
-
submitTimeAfter?: string
|
|
361
|
-
submitTimeBefore?: string
|
|
362
|
-
statusEquals?: 'Submitted' | 'InProgress' | 'Completed' | 'Failed' | 'Stopping' | 'Stopped' | 'PartiallyCompleted' | 'Expired' | 'Validating' | 'Scheduled'
|
|
363
|
-
nameContains?: string
|
|
364
|
-
maxResults?: number
|
|
365
|
-
nextToken?: string
|
|
366
|
-
sortBy?: 'CreationTime'
|
|
367
|
-
sortOrder?: 'Ascending' | 'Descending'
|
|
368
|
-
}
|
|
369
|
-
export declare interface ListModelInvocationJobsCommandOutput {
|
|
370
|
-
nextToken?: string
|
|
371
|
-
invocationJobSummaries?: Array<{
|
|
372
|
-
jobArn: string
|
|
373
|
-
jobName: string
|
|
374
|
-
modelId: string
|
|
375
|
-
clientRequestToken?: string
|
|
376
|
-
roleArn: string
|
|
377
|
-
status: string
|
|
378
|
-
message?: string
|
|
379
|
-
submitTime: string
|
|
380
|
-
lastModifiedTime?: string
|
|
381
|
-
endTime?: string
|
|
382
|
-
inputDataConfig: {
|
|
383
|
-
s3InputDataConfig: {
|
|
384
|
-
s3Uri: string
|
|
385
|
-
s3InputFormat?: string
|
|
386
|
-
}
|
|
387
|
-
}
|
|
388
|
-
outputDataConfig: {
|
|
389
|
-
s3OutputDataConfig: {
|
|
390
|
-
s3Uri: string
|
|
391
|
-
s3EncryptionKeyId?: string
|
|
392
|
-
}
|
|
393
|
-
}
|
|
394
|
-
timeoutDurationInHours?: number
|
|
395
|
-
jobExpirationTime?: string
|
|
396
|
-
}>
|
|
397
|
-
}
|
|
398
|
-
// Guardrails types
|
|
399
|
-
export declare interface CreateGuardrailCommandInput {
|
|
400
|
-
name: string
|
|
401
|
-
description?: string
|
|
402
|
-
topicPolicyConfig?: {
|
|
403
|
-
topicsConfig: Array<{
|
|
404
|
-
name: string
|
|
405
|
-
definition: string
|
|
406
|
-
examples?: string[]
|
|
407
|
-
type: 'DENY'
|
|
408
|
-
}>
|
|
409
|
-
}
|
|
410
|
-
contentPolicyConfig?: {
|
|
411
|
-
filtersConfig: Array<{
|
|
412
|
-
type: 'SEXUAL' | 'VIOLENCE' | 'HATE' | 'INSULTS' | 'MISCONDUCT' | 'PROMPT_ATTACK'
|
|
413
|
-
inputStrength: 'NONE' | 'LOW' | 'MEDIUM' | 'HIGH'
|
|
414
|
-
outputStrength: 'NONE' | 'LOW' | 'MEDIUM' | 'HIGH'
|
|
415
|
-
}>
|
|
416
|
-
}
|
|
417
|
-
wordPolicyConfig?: {
|
|
418
|
-
wordsConfig?: Array<{
|
|
419
|
-
text: string
|
|
420
|
-
}>
|
|
421
|
-
managedWordListsConfig?: Array<{
|
|
422
|
-
type: 'PROFANITY'
|
|
423
|
-
}>
|
|
424
|
-
}
|
|
425
|
-
sensitiveInformationPolicyConfig?: {
|
|
426
|
-
piiEntitiesConfig?: Array<{
|
|
427
|
-
type: string
|
|
428
|
-
action: 'BLOCK' | 'ANONYMIZE'
|
|
429
|
-
}>
|
|
430
|
-
regexesConfig?: Array<{
|
|
431
|
-
name: string
|
|
432
|
-
description?: string
|
|
433
|
-
pattern: string
|
|
434
|
-
action: 'BLOCK' | 'ANONYMIZE'
|
|
435
|
-
}>
|
|
436
|
-
}
|
|
437
|
-
contextualGroundingPolicyConfig?: {
|
|
438
|
-
filtersConfig: Array<{
|
|
439
|
-
type: 'GROUNDING' | 'RELEVANCE'
|
|
440
|
-
threshold: number
|
|
441
|
-
}>
|
|
442
|
-
}
|
|
443
|
-
blockedInputMessaging: string
|
|
444
|
-
blockedOutputsMessaging: string
|
|
445
|
-
kmsKeyId?: string
|
|
446
|
-
tags?: Array<{ key: string; value: string }>
|
|
447
|
-
clientRequestToken?: string
|
|
448
|
-
}
|
|
449
|
-
export declare interface CreateGuardrailCommandOutput {
|
|
450
|
-
guardrailId: string
|
|
451
|
-
guardrailArn: string
|
|
452
|
-
version: string
|
|
453
|
-
createdAt: string
|
|
454
|
-
}
|
|
455
|
-
export declare interface GetGuardrailCommandInput {
|
|
456
|
-
guardrailIdentifier: string
|
|
457
|
-
guardrailVersion?: string
|
|
458
|
-
}
|
|
459
|
-
export declare interface GetGuardrailCommandOutput {
|
|
460
|
-
name: string
|
|
461
|
-
description?: string
|
|
462
|
-
guardrailId: string
|
|
463
|
-
guardrailArn: string
|
|
464
|
-
version: string
|
|
465
|
-
status: 'CREATING' | 'UPDATING' | 'VERSIONING' | 'READY' | 'FAILED' | 'DELETING'
|
|
466
|
-
topicPolicy?: {
|
|
467
|
-
topics: Array<{
|
|
468
|
-
name: string
|
|
469
|
-
definition: string
|
|
470
|
-
examples?: string[]
|
|
471
|
-
type: 'DENY'
|
|
472
|
-
}>
|
|
473
|
-
}
|
|
474
|
-
contentPolicy?: {
|
|
475
|
-
filters: Array<{
|
|
476
|
-
type: string
|
|
477
|
-
inputStrength: string
|
|
478
|
-
outputStrength: string
|
|
479
|
-
}>
|
|
480
|
-
}
|
|
481
|
-
wordPolicy?: {
|
|
482
|
-
words?: Array<{
|
|
483
|
-
text: string
|
|
484
|
-
}>
|
|
485
|
-
managedWordLists?: Array<{
|
|
486
|
-
type: string
|
|
487
|
-
}>
|
|
488
|
-
}
|
|
489
|
-
sensitiveInformationPolicy?: {
|
|
490
|
-
piiEntities?: Array<{
|
|
491
|
-
type: string
|
|
492
|
-
action: string
|
|
493
|
-
}>
|
|
494
|
-
regexes?: Array<{
|
|
495
|
-
name: string
|
|
496
|
-
description?: string
|
|
497
|
-
pattern: string
|
|
498
|
-
action: string
|
|
499
|
-
}>
|
|
500
|
-
}
|
|
501
|
-
contextualGroundingPolicy?: {
|
|
502
|
-
filters: Array<{
|
|
503
|
-
type: string
|
|
504
|
-
threshold: number
|
|
505
|
-
}>
|
|
506
|
-
}
|
|
507
|
-
createdAt: string
|
|
508
|
-
updatedAt: string
|
|
509
|
-
statusReasons?: string[]
|
|
510
|
-
failureRecommendations?: string[]
|
|
511
|
-
blockedInputMessaging: string
|
|
512
|
-
blockedOutputsMessaging: string
|
|
513
|
-
kmsKeyArn?: string
|
|
514
|
-
}
|
|
515
|
-
export declare interface ListGuardrailsCommandInput {
|
|
516
|
-
guardrailIdentifier?: string
|
|
517
|
-
maxResults?: number
|
|
518
|
-
nextToken?: string
|
|
519
|
-
}
|
|
520
|
-
export declare interface ListGuardrailsCommandOutput {
|
|
521
|
-
guardrails: Array<{
|
|
522
|
-
id: string
|
|
523
|
-
arn: string
|
|
524
|
-
status: string
|
|
525
|
-
name: string
|
|
526
|
-
description?: string
|
|
527
|
-
version: string
|
|
528
|
-
createdAt: string
|
|
529
|
-
updatedAt: string
|
|
530
|
-
}>
|
|
531
|
-
nextToken?: string
|
|
532
|
-
}
|
|
533
|
-
export declare interface DeleteGuardrailCommandInput {
|
|
534
|
-
guardrailIdentifier: string
|
|
535
|
-
guardrailVersion?: string
|
|
536
|
-
}
|
|
537
|
-
export declare interface DeleteGuardrailCommandOutput {
|
|
538
|
-
|
|
539
|
-
}
|
|
540
|
-
// Knowledge Base types
|
|
541
|
-
export declare interface CreateKnowledgeBaseCommandInput {
|
|
542
|
-
clientToken?: string
|
|
543
|
-
name: string
|
|
544
|
-
description?: string
|
|
545
|
-
roleArn: string
|
|
546
|
-
knowledgeBaseConfiguration: {
|
|
547
|
-
type: 'VECTOR'
|
|
548
|
-
vectorKnowledgeBaseConfiguration?: {
|
|
549
|
-
embeddingModelArn: string
|
|
550
|
-
embeddingModelConfiguration?: {
|
|
551
|
-
bedrockEmbeddingModelConfiguration?: {
|
|
552
|
-
dimensions?: number
|
|
553
|
-
}
|
|
554
|
-
}
|
|
555
|
-
}
|
|
556
|
-
}
|
|
557
|
-
storageConfiguration: {
|
|
558
|
-
type: 'OPENSEARCH_SERVERLESS' | 'PINECONE' | 'REDIS_ENTERPRISE_CLOUD' | 'RDS' | 'MONGO_DB_ATLAS'
|
|
559
|
-
opensearchServerlessConfiguration?: {
|
|
560
|
-
collectionArn: string
|
|
561
|
-
vectorIndexName: string
|
|
562
|
-
fieldMapping: {
|
|
563
|
-
vectorField: string
|
|
564
|
-
textField: string
|
|
565
|
-
metadataField: string
|
|
566
|
-
}
|
|
567
|
-
}
|
|
568
|
-
pineconeConfiguration?: {
|
|
569
|
-
connectionString: string
|
|
570
|
-
credentialsSecretArn: string
|
|
571
|
-
namespace?: string
|
|
572
|
-
fieldMapping: {
|
|
573
|
-
textField: string
|
|
574
|
-
metadataField: string
|
|
575
|
-
}
|
|
576
|
-
}
|
|
577
|
-
redisEnterpriseCloudConfiguration?: {
|
|
578
|
-
endpoint: string
|
|
579
|
-
vectorIndexName: string
|
|
580
|
-
credentialsSecretArn: string
|
|
581
|
-
fieldMapping: {
|
|
582
|
-
vectorField: string
|
|
583
|
-
textField: string
|
|
584
|
-
metadataField: string
|
|
585
|
-
}
|
|
586
|
-
}
|
|
587
|
-
rdsConfiguration?: {
|
|
588
|
-
resourceArn: string
|
|
589
|
-
credentialsSecretArn: string
|
|
590
|
-
databaseName: string
|
|
591
|
-
tableName: string
|
|
592
|
-
fieldMapping: {
|
|
593
|
-
primaryKeyField: string
|
|
594
|
-
vectorField: string
|
|
595
|
-
textField: string
|
|
596
|
-
metadataField: string
|
|
597
|
-
}
|
|
598
|
-
}
|
|
599
|
-
mongoDbAtlasConfiguration?: {
|
|
600
|
-
endpoint: string
|
|
601
|
-
databaseName: string
|
|
602
|
-
collectionName: string
|
|
603
|
-
vectorIndexName: string
|
|
604
|
-
credentialsSecretArn: string
|
|
605
|
-
fieldMapping: {
|
|
606
|
-
vectorField: string
|
|
607
|
-
textField: string
|
|
608
|
-
metadataField: string
|
|
609
|
-
}
|
|
610
|
-
}
|
|
611
|
-
}
|
|
612
|
-
tags?: Record<string, string>
|
|
613
|
-
}
|
|
614
|
-
export declare interface CreateKnowledgeBaseCommandOutput {
|
|
615
|
-
knowledgeBase: {
|
|
616
|
-
knowledgeBaseId: string
|
|
617
|
-
name: string
|
|
618
|
-
knowledgeBaseArn: string
|
|
619
|
-
description?: string
|
|
620
|
-
roleArn: string
|
|
621
|
-
knowledgeBaseConfiguration: {
|
|
622
|
-
type: string
|
|
623
|
-
vectorKnowledgeBaseConfiguration?: {
|
|
624
|
-
embeddingModelArn: string
|
|
625
|
-
}
|
|
626
|
-
}
|
|
627
|
-
storageConfiguration: {
|
|
628
|
-
type: string
|
|
629
|
-
}
|
|
630
|
-
status: 'CREATING' | 'ACTIVE' | 'DELETING' | 'UPDATING' | 'FAILED' | 'DELETE_UNSUCCESSFUL'
|
|
631
|
-
createdAt: string
|
|
632
|
-
updatedAt: string
|
|
633
|
-
failureReasons?: string[]
|
|
634
|
-
}
|
|
635
|
-
}
|
|
636
|
-
// Agent types
|
|
637
|
-
export declare interface CreateAgentCommandInput {
|
|
638
|
-
agentName: string
|
|
639
|
-
clientToken?: string
|
|
640
|
-
instruction?: string
|
|
641
|
-
foundationModel?: string
|
|
642
|
-
description?: string
|
|
643
|
-
idleSessionTTLInSeconds?: number
|
|
644
|
-
agentResourceRoleArn: string
|
|
645
|
-
customerEncryptionKeyArn?: string
|
|
646
|
-
tags?: Record<string, string>
|
|
647
|
-
promptOverrideConfiguration?: {
|
|
648
|
-
promptConfigurations: Array<{
|
|
649
|
-
promptType: 'PRE_PROCESSING' | 'ORCHESTRATION' | 'POST_PROCESSING' | 'KNOWLEDGE_BASE_RESPONSE_GENERATION'
|
|
650
|
-
promptCreationMode: 'DEFAULT' | 'OVERRIDDEN'
|
|
651
|
-
promptState?: 'ENABLED' | 'DISABLED'
|
|
652
|
-
basePromptTemplate?: string
|
|
653
|
-
inferenceConfiguration?: {
|
|
654
|
-
temperature?: number
|
|
655
|
-
topP?: number
|
|
656
|
-
topK?: number
|
|
657
|
-
maximumLength?: number
|
|
658
|
-
stopSequences?: string[]
|
|
659
|
-
}
|
|
660
|
-
parserMode?: 'DEFAULT' | 'OVERRIDDEN'
|
|
661
|
-
}>
|
|
662
|
-
overrideLambda?: string
|
|
663
|
-
}
|
|
664
|
-
guardrailConfiguration?: {
|
|
665
|
-
guardrailIdentifier?: string
|
|
666
|
-
guardrailVersion?: string
|
|
667
|
-
}
|
|
668
|
-
}
|
|
669
|
-
export declare interface CreateAgentCommandOutput {
|
|
670
|
-
agent: {
|
|
671
|
-
agentId: string
|
|
672
|
-
agentName: string
|
|
673
|
-
agentArn: string
|
|
674
|
-
agentVersion: string
|
|
675
|
-
clientToken?: string
|
|
676
|
-
instruction?: string
|
|
677
|
-
agentStatus: 'CREATING' | 'PREPARING' | 'PREPARED' | 'NOT_PREPARED' | 'DELETING' | 'FAILED' | 'VERSIONING' | 'UPDATING'
|
|
678
|
-
foundationModel?: string
|
|
679
|
-
description?: string
|
|
680
|
-
idleSessionTTLInSeconds: number
|
|
681
|
-
agentResourceRoleArn: string
|
|
682
|
-
customerEncryptionKeyArn?: string
|
|
683
|
-
createdAt: string
|
|
684
|
-
updatedAt: string
|
|
685
|
-
preparedAt?: string
|
|
686
|
-
failureReasons?: string[]
|
|
687
|
-
recommendedActions?: string[]
|
|
688
|
-
promptOverrideConfiguration?: {
|
|
689
|
-
promptConfigurations: Array<{
|
|
690
|
-
promptType: string
|
|
691
|
-
promptCreationMode: string
|
|
692
|
-
promptState?: string
|
|
693
|
-
basePromptTemplate?: string
|
|
694
|
-
inferenceConfiguration?: {
|
|
695
|
-
temperature?: number
|
|
696
|
-
topP?: number
|
|
697
|
-
topK?: number
|
|
698
|
-
maximumLength?: number
|
|
699
|
-
stopSequences?: string[]
|
|
700
|
-
}
|
|
701
|
-
parserMode?: string
|
|
702
|
-
}>
|
|
703
|
-
overrideLambda?: string
|
|
704
|
-
}
|
|
705
|
-
guardrailConfiguration?: {
|
|
706
|
-
guardrailIdentifier?: string
|
|
707
|
-
guardrailVersion?: string
|
|
708
|
-
}
|
|
709
|
-
}
|
|
710
|
-
}
|
|
711
|
-
export declare interface InvokeAgentCommandInput {
|
|
712
|
-
agentId: string
|
|
713
|
-
agentAliasId: string
|
|
714
|
-
sessionId: string
|
|
715
|
-
endSession?: boolean
|
|
716
|
-
enableTrace?: boolean
|
|
717
|
-
inputText?: string
|
|
718
|
-
memoryId?: string
|
|
719
|
-
sessionState?: {
|
|
720
|
-
sessionAttributes?: Record<string, string>
|
|
721
|
-
promptSessionAttributes?: Record<string, string>
|
|
722
|
-
returnControlInvocationResults?: Array<{
|
|
723
|
-
functionResult?: {
|
|
724
|
-
actionGroup: string
|
|
725
|
-
function: string
|
|
726
|
-
responseBody?: Record<string, { body: string }>
|
|
727
|
-
}
|
|
728
|
-
}>
|
|
729
|
-
invocationId?: string
|
|
730
|
-
files?: Array<{
|
|
731
|
-
name: string
|
|
732
|
-
source: {
|
|
733
|
-
sourceType: 'S3' | 'BYTE_CONTENT'
|
|
734
|
-
s3Location?: {
|
|
735
|
-
uri: string
|
|
736
|
-
}
|
|
737
|
-
byteContent?: {
|
|
738
|
-
mediaType: string
|
|
739
|
-
data: Uint8Array
|
|
740
|
-
}
|
|
741
|
-
}
|
|
742
|
-
useCase: 'CODE_INTERPRETER' | 'CHAT'
|
|
743
|
-
}>
|
|
744
|
-
knowledgeBaseConfigurations?: Array<{
|
|
745
|
-
knowledgeBaseId: string
|
|
746
|
-
retrievalConfiguration: {
|
|
747
|
-
vectorSearchConfiguration: {
|
|
748
|
-
numberOfResults?: number
|
|
749
|
-
overrideSearchType?: 'HYBRID' | 'SEMANTIC'
|
|
750
|
-
filter?: Record<string, unknown>
|
|
751
|
-
}
|
|
752
|
-
}
|
|
753
|
-
}>
|
|
754
|
-
}
|
|
755
|
-
}
|
|
756
|
-
export declare interface InvokeAgentCommandOutput {
|
|
757
|
-
completion: AsyncIterable<{
|
|
758
|
-
chunk?: {
|
|
759
|
-
bytes: Uint8Array
|
|
760
|
-
attribution?: {
|
|
761
|
-
citations: Array<{
|
|
762
|
-
generatedResponsePart?: {
|
|
763
|
-
textResponsePart?: {
|
|
764
|
-
text: string
|
|
765
|
-
span?: {
|
|
766
|
-
start: number
|
|
767
|
-
end: number
|
|
768
|
-
}
|
|
769
|
-
}
|
|
770
|
-
}
|
|
771
|
-
retrievedReferences?: Array<{
|
|
772
|
-
content?: {
|
|
773
|
-
text: string
|
|
774
|
-
}
|
|
775
|
-
location?: {
|
|
776
|
-
type: string
|
|
777
|
-
s3Location?: {
|
|
778
|
-
uri: string
|
|
779
|
-
}
|
|
780
|
-
}
|
|
781
|
-
metadata?: Record<string, unknown>
|
|
782
|
-
}>
|
|
783
|
-
}>
|
|
784
|
-
}
|
|
785
|
-
}
|
|
786
|
-
trace?: {
|
|
787
|
-
agentId?: string
|
|
788
|
-
agentAliasId?: string
|
|
789
|
-
sessionId?: string
|
|
790
|
-
agentVersion?: string
|
|
791
|
-
trace?: Record<string, unknown>
|
|
792
|
-
}
|
|
793
|
-
returnControl?: {
|
|
794
|
-
invocationId: string
|
|
795
|
-
invocationInputs: Array<{
|
|
796
|
-
functionInvocationInput?: {
|
|
797
|
-
actionGroup: string
|
|
798
|
-
function: string
|
|
799
|
-
parameters: Array<{
|
|
800
|
-
name: string
|
|
801
|
-
type: string
|
|
802
|
-
value: string
|
|
803
|
-
}>
|
|
804
|
-
}
|
|
805
|
-
}>
|
|
806
|
-
}
|
|
807
|
-
files?: {
|
|
808
|
-
files: Array<{
|
|
809
|
-
name: string
|
|
810
|
-
type: string
|
|
811
|
-
bytes: Uint8Array
|
|
812
|
-
}>
|
|
813
|
-
}
|
|
814
|
-
}>
|
|
815
|
-
contentType: string
|
|
816
|
-
sessionId: string
|
|
817
|
-
memoryId?: string
|
|
818
|
-
}
|
|
819
|
-
// ============================================================================
|
|
820
|
-
// Batch Inference Types
|
|
821
|
-
// ============================================================================
|
|
822
|
-
export declare interface CreateModelInvocationJobCommandInput {
|
|
823
|
-
jobName: string
|
|
824
|
-
modelId: string
|
|
825
|
-
roleArn: string
|
|
826
|
-
inputDataConfig: {
|
|
827
|
-
s3InputDataConfig: {
|
|
828
|
-
s3Uri: string
|
|
829
|
-
s3InputFormat?: 'JSONL'
|
|
830
|
-
}
|
|
831
|
-
}
|
|
832
|
-
outputDataConfig: {
|
|
833
|
-
s3OutputDataConfig: {
|
|
834
|
-
s3Uri: string
|
|
835
|
-
s3EncryptionKeyId?: string
|
|
836
|
-
}
|
|
837
|
-
}
|
|
838
|
-
clientRequestToken?: string
|
|
839
|
-
timeoutDurationInHours?: number
|
|
840
|
-
tags?: Array<{ key: string; value: string }>
|
|
841
|
-
vpcConfig?: {
|
|
842
|
-
subnetIds: string[]
|
|
843
|
-
securityGroupIds: string[]
|
|
844
|
-
}
|
|
845
|
-
}
|
|
846
|
-
export declare interface CreateModelInvocationJobCommandOutput {
|
|
847
|
-
jobArn: string
|
|
848
|
-
}
|
|
849
|
-
export declare interface GetModelInvocationJobCommandInput {
|
|
850
|
-
jobIdentifier: string
|
|
851
|
-
}
|
|
852
|
-
export declare interface GetModelInvocationJobCommandOutput {
|
|
853
|
-
jobArn: string
|
|
854
|
-
jobName: string
|
|
855
|
-
modelId: string
|
|
856
|
-
clientRequestToken?: string
|
|
857
|
-
roleArn: string
|
|
858
|
-
status: 'Submitted' | 'InProgress' | 'Completed' | 'Failed' | 'Stopping' | 'Stopped' | 'PartiallyCompleted' | 'Expired' | 'Validating' | 'Scheduled'
|
|
859
|
-
message?: string
|
|
860
|
-
submitTime: string
|
|
861
|
-
lastModifiedTime?: string
|
|
862
|
-
endTime?: string
|
|
863
|
-
inputDataConfig: {
|
|
864
|
-
s3InputDataConfig: {
|
|
865
|
-
s3Uri: string
|
|
866
|
-
s3InputFormat?: string
|
|
867
|
-
}
|
|
868
|
-
}
|
|
869
|
-
outputDataConfig: {
|
|
870
|
-
s3OutputDataConfig: {
|
|
871
|
-
s3Uri: string
|
|
872
|
-
s3EncryptionKeyId?: string
|
|
873
|
-
}
|
|
874
|
-
}
|
|
875
|
-
vpcConfig?: {
|
|
876
|
-
subnetIds: string[]
|
|
877
|
-
securityGroupIds: string[]
|
|
878
|
-
}
|
|
879
|
-
timeoutDurationInHours?: number
|
|
880
|
-
jobExpirationTime?: string
|
|
881
|
-
}
|
|
882
|
-
export declare interface StopModelInvocationJobCommandInput {
|
|
883
|
-
jobIdentifier: string
|
|
884
|
-
}
|
|
885
|
-
export declare interface StopModelInvocationJobCommandOutput {
|
|
886
|
-
|
|
887
|
-
}
|
|
888
|
-
// ============================================================================
|
|
889
|
-
// Provisioned Throughput Types
|
|
890
|
-
// ============================================================================
|
|
891
|
-
export declare interface CreateProvisionedModelThroughputCommandInput {
|
|
892
|
-
modelUnits: number
|
|
893
|
-
provisionedModelName: string
|
|
894
|
-
modelId: string
|
|
895
|
-
clientRequestToken?: string
|
|
896
|
-
commitmentDuration?: 'ONE_MONTH' | 'SIX_MONTHS'
|
|
897
|
-
tags?: Array<{ key: string; value: string }>
|
|
898
|
-
}
|
|
899
|
-
export declare interface CreateProvisionedModelThroughputCommandOutput {
|
|
900
|
-
provisionedModelArn: string
|
|
901
|
-
}
|
|
902
|
-
export declare interface GetProvisionedModelThroughputCommandInput {
|
|
903
|
-
provisionedModelId: string
|
|
904
|
-
}
|
|
905
|
-
export declare interface GetProvisionedModelThroughputCommandOutput {
|
|
906
|
-
modelUnits: number
|
|
907
|
-
desiredModelUnits: number
|
|
908
|
-
provisionedModelName: string
|
|
909
|
-
provisionedModelArn: string
|
|
910
|
-
modelArn: string
|
|
911
|
-
desiredModelArn: string
|
|
912
|
-
foundationModelArn: string
|
|
913
|
-
status: 'Creating' | 'InService' | 'Updating' | 'Failed'
|
|
914
|
-
creationTime: string
|
|
915
|
-
lastModifiedTime: string
|
|
916
|
-
failureMessage?: string
|
|
917
|
-
commitmentDuration?: 'ONE_MONTH' | 'SIX_MONTHS'
|
|
918
|
-
commitmentExpirationTime?: string
|
|
919
|
-
}
|
|
920
|
-
export declare interface ListProvisionedModelThroughputsCommandInput {
|
|
921
|
-
creationTimeAfter?: string
|
|
922
|
-
creationTimeBefore?: string
|
|
923
|
-
statusEquals?: 'Creating' | 'InService' | 'Updating' | 'Failed'
|
|
924
|
-
modelArnEquals?: string
|
|
925
|
-
nameContains?: string
|
|
926
|
-
maxResults?: number
|
|
927
|
-
nextToken?: string
|
|
928
|
-
sortBy?: 'CreationTime'
|
|
929
|
-
sortOrder?: 'Ascending' | 'Descending'
|
|
930
|
-
}
|
|
931
|
-
export declare interface ListProvisionedModelThroughputsCommandOutput {
|
|
932
|
-
nextToken?: string
|
|
933
|
-
provisionedModelSummaries?: Array<{
|
|
934
|
-
provisionedModelName: string
|
|
935
|
-
provisionedModelArn: string
|
|
936
|
-
modelArn: string
|
|
937
|
-
desiredModelArn: string
|
|
938
|
-
foundationModelArn: string
|
|
939
|
-
modelUnits: number
|
|
940
|
-
desiredModelUnits: number
|
|
941
|
-
status: 'Creating' | 'InService' | 'Updating' | 'Failed'
|
|
942
|
-
commitmentDuration?: 'ONE_MONTH' | 'SIX_MONTHS'
|
|
943
|
-
commitmentExpirationTime?: string
|
|
944
|
-
creationTime: string
|
|
945
|
-
lastModifiedTime: string
|
|
946
|
-
}>
|
|
947
|
-
}
|
|
948
|
-
export declare interface UpdateProvisionedModelThroughputCommandInput {
|
|
949
|
-
provisionedModelId: string
|
|
950
|
-
desiredProvisionedModelName?: string
|
|
951
|
-
desiredModelId?: string
|
|
952
|
-
}
|
|
953
|
-
export declare interface UpdateProvisionedModelThroughputCommandOutput {
|
|
954
|
-
|
|
955
|
-
}
|
|
956
|
-
export declare interface DeleteProvisionedModelThroughputCommandInput {
|
|
957
|
-
provisionedModelId: string
|
|
958
|
-
}
|
|
959
|
-
export declare interface DeleteProvisionedModelThroughputCommandOutput {
|
|
960
|
-
|
|
961
|
-
}
|
|
962
|
-
// ============================================================================
|
|
963
|
-
// Model Evaluation Types
|
|
964
|
-
// ============================================================================
|
|
965
|
-
export declare interface CreateEvaluationJobCommandInput {
|
|
966
|
-
jobName: string
|
|
967
|
-
jobDescription?: string
|
|
968
|
-
clientRequestToken?: string
|
|
969
|
-
roleArn: string
|
|
970
|
-
customerEncryptionKeyId?: string
|
|
971
|
-
jobTags?: Array<{ key: string; value: string }>
|
|
972
|
-
evaluationConfig: {
|
|
973
|
-
automated?: {
|
|
974
|
-
datasetMetricConfigs: Array<{
|
|
975
|
-
taskType: 'Summarization' | 'Classification' | 'QuestionAndAnswer' | 'Generation' | 'Custom'
|
|
976
|
-
dataset: {
|
|
977
|
-
name: string
|
|
978
|
-
datasetLocation?: {
|
|
979
|
-
s3Uri: string
|
|
980
|
-
}
|
|
981
|
-
}
|
|
982
|
-
metricNames: string[]
|
|
983
|
-
}>
|
|
984
|
-
}
|
|
985
|
-
human?: {
|
|
986
|
-
humanWorkflowConfig: {
|
|
987
|
-
flowDefinitionArn: string
|
|
988
|
-
instructions?: string
|
|
989
|
-
}
|
|
990
|
-
customMetrics?: Array<{
|
|
991
|
-
name: string
|
|
992
|
-
description?: string
|
|
993
|
-
ratingMethod: 'ThumbsUpDown' | 'IndividualLikertScale' | 'ComparisonLikertScale' | 'ComparisonChoice' | 'ComparisonRank' | 'FreeformFeedback'
|
|
994
|
-
}>
|
|
995
|
-
datasetMetricConfigs: Array<{
|
|
996
|
-
taskType: 'Summarization' | 'Classification' | 'QuestionAndAnswer' | 'Generation' | 'Custom'
|
|
997
|
-
dataset: {
|
|
998
|
-
name: string
|
|
999
|
-
datasetLocation?: {
|
|
1000
|
-
s3Uri: string
|
|
1001
|
-
}
|
|
1002
|
-
}
|
|
1003
|
-
metricNames: string[]
|
|
1004
|
-
}>
|
|
1005
|
-
}
|
|
1006
|
-
}
|
|
1007
|
-
inferenceConfig: {
|
|
1008
|
-
models: Array<{
|
|
1009
|
-
bedrockModel?: {
|
|
1010
|
-
modelIdentifier: string
|
|
1011
|
-
inferenceParams: string
|
|
1012
|
-
}
|
|
1013
|
-
}>
|
|
1014
|
-
}
|
|
1015
|
-
outputDataConfig: {
|
|
1016
|
-
s3Uri: string
|
|
1017
|
-
}
|
|
1018
|
-
}
|
|
1019
|
-
export declare interface CreateEvaluationJobCommandOutput {
|
|
1020
|
-
jobArn: string
|
|
1021
|
-
}
|
|
1022
|
-
export declare interface GetEvaluationJobCommandInput {
|
|
1023
|
-
jobIdentifier: string
|
|
1024
|
-
}
|
|
1025
|
-
export declare interface GetEvaluationJobCommandOutput {
|
|
1026
|
-
jobName: string
|
|
1027
|
-
status: 'InProgress' | 'Completed' | 'Failed' | 'Stopping' | 'Stopped'
|
|
1028
|
-
jobArn: string
|
|
1029
|
-
jobDescription?: string
|
|
1030
|
-
roleArn: string
|
|
1031
|
-
customerEncryptionKeyId?: string
|
|
1032
|
-
jobType: 'Human' | 'Automated'
|
|
1033
|
-
evaluationConfig: {
|
|
1034
|
-
automated?: {
|
|
1035
|
-
datasetMetricConfigs: Array<{
|
|
1036
|
-
taskType: string
|
|
1037
|
-
dataset: {
|
|
1038
|
-
name: string
|
|
1039
|
-
datasetLocation?: {
|
|
1040
|
-
s3Uri: string
|
|
1041
|
-
}
|
|
1042
|
-
}
|
|
1043
|
-
metricNames: string[]
|
|
1044
|
-
}>
|
|
1045
|
-
}
|
|
1046
|
-
human?: {
|
|
1047
|
-
humanWorkflowConfig: {
|
|
1048
|
-
flowDefinitionArn: string
|
|
1049
|
-
instructions?: string
|
|
1050
|
-
}
|
|
1051
|
-
customMetrics?: Array<{
|
|
1052
|
-
name: string
|
|
1053
|
-
description?: string
|
|
1054
|
-
ratingMethod: string
|
|
1055
|
-
}>
|
|
1056
|
-
datasetMetricConfigs: Array<{
|
|
1057
|
-
taskType: string
|
|
1058
|
-
dataset: {
|
|
1059
|
-
name: string
|
|
1060
|
-
datasetLocation?: {
|
|
1061
|
-
s3Uri: string
|
|
1062
|
-
}
|
|
1063
|
-
}
|
|
1064
|
-
metricNames: string[]
|
|
1065
|
-
}>
|
|
1066
|
-
}
|
|
1067
|
-
}
|
|
1068
|
-
inferenceConfig: {
|
|
1069
|
-
models: Array<{
|
|
1070
|
-
bedrockModel?: {
|
|
1071
|
-
modelIdentifier: string
|
|
1072
|
-
inferenceParams: string
|
|
1073
|
-
}
|
|
1074
|
-
}>
|
|
1075
|
-
}
|
|
1076
|
-
outputDataConfig: {
|
|
1077
|
-
s3Uri: string
|
|
1078
|
-
}
|
|
1079
|
-
creationTime: string
|
|
1080
|
-
lastModifiedTime?: string
|
|
1081
|
-
failureMessages?: string[]
|
|
1082
|
-
}
|
|
1083
|
-
export declare interface ListEvaluationJobsCommandInput {
|
|
1084
|
-
creationTimeAfter?: string
|
|
1085
|
-
creationTimeBefore?: string
|
|
1086
|
-
statusEquals?: 'InProgress' | 'Completed' | 'Failed' | 'Stopping' | 'Stopped'
|
|
1087
|
-
nameContains?: string
|
|
1088
|
-
maxResults?: number
|
|
1089
|
-
nextToken?: string
|
|
1090
|
-
sortBy?: 'CreationTime'
|
|
1091
|
-
sortOrder?: 'Ascending' | 'Descending'
|
|
1092
|
-
}
|
|
1093
|
-
export declare interface ListEvaluationJobsCommandOutput {
|
|
1094
|
-
nextToken?: string
|
|
1095
|
-
jobSummaries?: Array<{
|
|
1096
|
-
jobArn: string
|
|
1097
|
-
jobName: string
|
|
1098
|
-
status: 'InProgress' | 'Completed' | 'Failed' | 'Stopping' | 'Stopped'
|
|
1099
|
-
creationTime: string
|
|
1100
|
-
jobType: 'Human' | 'Automated'
|
|
1101
|
-
evaluationTaskTypes: string[]
|
|
1102
|
-
modelIdentifiers: string[]
|
|
1103
|
-
}>
|
|
1104
|
-
}
|
|
1105
|
-
export declare interface StopEvaluationJobCommandInput {
|
|
1106
|
-
jobIdentifier: string
|
|
1107
|
-
}
|
|
1108
|
-
export declare interface StopEvaluationJobCommandOutput {
|
|
1109
|
-
|
|
1110
|
-
}
|
|
1111
|
-
// ============================================================================
|
|
1112
|
-
// Inference Profiles Types
|
|
1113
|
-
// ============================================================================
|
|
1114
|
-
export declare interface GetInferenceProfileCommandInput {
|
|
1115
|
-
inferenceProfileIdentifier: string
|
|
1116
|
-
}
|
|
1117
|
-
export declare interface GetInferenceProfileCommandOutput {
|
|
1118
|
-
inferenceProfileName: string
|
|
1119
|
-
inferenceProfileArn: string
|
|
1120
|
-
inferenceProfileId: string
|
|
1121
|
-
description?: string
|
|
1122
|
-
createdAt?: string
|
|
1123
|
-
updatedAt?: string
|
|
1124
|
-
models: Array<{
|
|
1125
|
-
modelArn: string
|
|
1126
|
-
}>
|
|
1127
|
-
status: 'ACTIVE'
|
|
1128
|
-
type: 'SYSTEM_DEFINED' | 'APPLICATION'
|
|
1129
|
-
}
|
|
1130
|
-
export declare interface ListInferenceProfilesCommandInput {
|
|
1131
|
-
maxResults?: number
|
|
1132
|
-
nextToken?: string
|
|
1133
|
-
typeEquals?: 'SYSTEM_DEFINED' | 'APPLICATION'
|
|
1134
|
-
}
|
|
1135
|
-
export declare interface ListInferenceProfilesCommandOutput {
|
|
1136
|
-
inferenceProfileSummaries?: Array<{
|
|
1137
|
-
inferenceProfileName: string
|
|
1138
|
-
inferenceProfileArn: string
|
|
1139
|
-
inferenceProfileId: string
|
|
1140
|
-
description?: string
|
|
1141
|
-
createdAt?: string
|
|
1142
|
-
updatedAt?: string
|
|
1143
|
-
models: Array<{
|
|
1144
|
-
modelArn: string
|
|
1145
|
-
}>
|
|
1146
|
-
status: 'ACTIVE'
|
|
1147
|
-
type: 'SYSTEM_DEFINED' | 'APPLICATION'
|
|
1148
|
-
}>
|
|
1149
|
-
nextToken?: string
|
|
1150
|
-
}
|
|
1151
|
-
export declare interface CreateInferenceProfileCommandInput {
|
|
1152
|
-
inferenceProfileName: string
|
|
1153
|
-
description?: string
|
|
1154
|
-
clientRequestToken?: string
|
|
1155
|
-
modelSource: {
|
|
1156
|
-
copyFrom: string
|
|
1157
|
-
}
|
|
1158
|
-
tags?: Array<{ key: string; value: string }>
|
|
1159
|
-
}
|
|
1160
|
-
export declare interface CreateInferenceProfileCommandOutput {
|
|
1161
|
-
inferenceProfileArn: string
|
|
1162
|
-
status?: 'ACTIVE'
|
|
1163
|
-
}
|
|
1164
|
-
export declare interface DeleteInferenceProfileCommandInput {
|
|
1165
|
-
inferenceProfileIdentifier: string
|
|
1166
|
-
}
|
|
1167
|
-
export declare interface DeleteInferenceProfileCommandOutput {
|
|
1168
|
-
|
|
1169
|
-
}
|
|
1170
|
-
// ============================================================================
|
|
1171
|
-
// Prompt Management Types
|
|
1172
|
-
// ============================================================================
|
|
1173
|
-
export declare interface CreatePromptCommandInput {
|
|
1174
|
-
name: string
|
|
1175
|
-
description?: string
|
|
1176
|
-
customerEncryptionKeyArn?: string
|
|
1177
|
-
defaultVariant?: string
|
|
1178
|
-
variants?: Array<{
|
|
1179
|
-
name: string
|
|
1180
|
-
modelId?: string
|
|
1181
|
-
templateType: 'TEXT'
|
|
1182
|
-
templateConfiguration: {
|
|
1183
|
-
text: {
|
|
1184
|
-
text: string
|
|
1185
|
-
inputVariables?: Array<{
|
|
1186
|
-
name: string
|
|
1187
|
-
}>
|
|
1188
|
-
}
|
|
1189
|
-
}
|
|
1190
|
-
inferenceConfiguration?: {
|
|
1191
|
-
text?: {
|
|
1192
|
-
temperature?: number
|
|
1193
|
-
topP?: number
|
|
1194
|
-
maxTokens?: number
|
|
1195
|
-
stopSequences?: string[]
|
|
1196
|
-
}
|
|
1197
|
-
}
|
|
1198
|
-
}>
|
|
1199
|
-
clientToken?: string
|
|
1200
|
-
tags?: Record<string, string>
|
|
1201
|
-
}
|
|
1202
|
-
export declare interface CreatePromptCommandOutput {
|
|
1203
|
-
name: string
|
|
1204
|
-
description?: string
|
|
1205
|
-
customerEncryptionKeyArn?: string
|
|
1206
|
-
defaultVariant?: string
|
|
1207
|
-
variants?: Array<{
|
|
1208
|
-
name: string
|
|
1209
|
-
modelId?: string
|
|
1210
|
-
templateType: string
|
|
1211
|
-
templateConfiguration: {
|
|
1212
|
-
text?: {
|
|
1213
|
-
text: string
|
|
1214
|
-
inputVariables?: Array<{
|
|
1215
|
-
name: string
|
|
1216
|
-
}>
|
|
1217
|
-
}
|
|
1218
|
-
}
|
|
1219
|
-
inferenceConfiguration?: {
|
|
1220
|
-
text?: {
|
|
1221
|
-
temperature?: number
|
|
1222
|
-
topP?: number
|
|
1223
|
-
maxTokens?: number
|
|
1224
|
-
stopSequences?: string[]
|
|
1225
|
-
}
|
|
1226
|
-
}
|
|
1227
|
-
}>
|
|
1228
|
-
id: string
|
|
1229
|
-
arn: string
|
|
1230
|
-
version: string
|
|
1231
|
-
createdAt: string
|
|
1232
|
-
updatedAt: string
|
|
1233
|
-
}
|
|
1234
|
-
export declare interface GetPromptCommandInput {
|
|
1235
|
-
promptIdentifier: string
|
|
1236
|
-
promptVersion?: string
|
|
1237
|
-
}
|
|
1238
|
-
export declare interface GetPromptCommandOutput {
|
|
1239
|
-
name: string
|
|
1240
|
-
description?: string
|
|
1241
|
-
customerEncryptionKeyArn?: string
|
|
1242
|
-
defaultVariant?: string
|
|
1243
|
-
variants?: Array<{
|
|
1244
|
-
name: string
|
|
1245
|
-
modelId?: string
|
|
1246
|
-
templateType: string
|
|
1247
|
-
templateConfiguration: {
|
|
1248
|
-
text?: {
|
|
1249
|
-
text: string
|
|
1250
|
-
inputVariables?: Array<{
|
|
1251
|
-
name: string
|
|
1252
|
-
}>
|
|
1253
|
-
}
|
|
1254
|
-
}
|
|
1255
|
-
inferenceConfiguration?: {
|
|
1256
|
-
text?: {
|
|
1257
|
-
temperature?: number
|
|
1258
|
-
topP?: number
|
|
1259
|
-
maxTokens?: number
|
|
1260
|
-
stopSequences?: string[]
|
|
1261
|
-
}
|
|
1262
|
-
}
|
|
1263
|
-
}>
|
|
1264
|
-
id: string
|
|
1265
|
-
arn: string
|
|
1266
|
-
version: string
|
|
1267
|
-
createdAt: string
|
|
1268
|
-
updatedAt: string
|
|
1269
|
-
}
|
|
1270
|
-
export declare interface ListPromptsCommandInput {
|
|
1271
|
-
promptIdentifier?: string
|
|
1272
|
-
maxResults?: number
|
|
1273
|
-
nextToken?: string
|
|
1274
|
-
}
|
|
1275
|
-
export declare interface ListPromptsCommandOutput {
|
|
1276
|
-
promptSummaries: Array<{
|
|
1277
|
-
name: string
|
|
1278
|
-
description?: string
|
|
1279
|
-
id: string
|
|
1280
|
-
arn: string
|
|
1281
|
-
version: string
|
|
1282
|
-
createdAt: string
|
|
1283
|
-
updatedAt: string
|
|
1284
|
-
}>
|
|
1285
|
-
nextToken?: string
|
|
1286
|
-
}
|
|
1287
|
-
export declare interface DeletePromptCommandInput {
|
|
1288
|
-
promptIdentifier: string
|
|
1289
|
-
promptVersion?: string
|
|
1290
|
-
}
|
|
1291
|
-
export declare interface DeletePromptCommandOutput {
|
|
1292
|
-
id: string
|
|
1293
|
-
version?: string
|
|
1294
|
-
}
|
|
1295
|
-
export declare interface CreatePromptVersionCommandInput {
|
|
1296
|
-
promptIdentifier: string
|
|
1297
|
-
description?: string
|
|
1298
|
-
clientToken?: string
|
|
1299
|
-
tags?: Record<string, string>
|
|
1300
|
-
}
|
|
1301
|
-
export declare interface CreatePromptVersionCommandOutput {
|
|
1302
|
-
name: string
|
|
1303
|
-
description?: string
|
|
1304
|
-
customerEncryptionKeyArn?: string
|
|
1305
|
-
defaultVariant?: string
|
|
1306
|
-
variants?: Array<{
|
|
1307
|
-
name: string
|
|
1308
|
-
modelId?: string
|
|
1309
|
-
templateType: string
|
|
1310
|
-
templateConfiguration: {
|
|
1311
|
-
text?: {
|
|
1312
|
-
text: string
|
|
1313
|
-
inputVariables?: Array<{
|
|
1314
|
-
name: string
|
|
1315
|
-
}>
|
|
1316
|
-
}
|
|
1317
|
-
}
|
|
1318
|
-
inferenceConfiguration?: {
|
|
1319
|
-
text?: {
|
|
1320
|
-
temperature?: number
|
|
1321
|
-
topP?: number
|
|
1322
|
-
maxTokens?: number
|
|
1323
|
-
stopSequences?: string[]
|
|
1324
|
-
}
|
|
1325
|
-
}
|
|
1326
|
-
}>
|
|
1327
|
-
id: string
|
|
1328
|
-
arn: string
|
|
1329
|
-
version: string
|
|
1330
|
-
createdAt: string
|
|
1331
|
-
updatedAt: string
|
|
1332
|
-
}
|
|
1333
|
-
// ============================================================================
|
|
1334
|
-
// Flows Types
|
|
1335
|
-
// ============================================================================
|
|
1336
|
-
export declare interface FlowNodeConfiguration {
|
|
1337
|
-
input?: Record<string, never>
|
|
1338
|
-
output?: Record<string, never>
|
|
1339
|
-
knowledgeBase?: {
|
|
1340
|
-
knowledgeBaseId: string
|
|
1341
|
-
modelId?: string
|
|
1342
|
-
}
|
|
1343
|
-
condition?: {
|
|
1344
|
-
conditions: Array<{
|
|
1345
|
-
name: string
|
|
1346
|
-
expression: string
|
|
1347
|
-
}>
|
|
1348
|
-
}
|
|
1349
|
-
lex?: {
|
|
1350
|
-
botAliasArn: string
|
|
1351
|
-
localeId: string
|
|
1352
|
-
}
|
|
1353
|
-
prompt?: {
|
|
1354
|
-
sourceConfiguration: {
|
|
1355
|
-
resource?: {
|
|
1356
|
-
promptArn: string
|
|
1357
|
-
}
|
|
1358
|
-
inline?: {
|
|
1359
|
-
modelId: string
|
|
1360
|
-
templateType: 'TEXT'
|
|
1361
|
-
templateConfiguration: {
|
|
1362
|
-
text: {
|
|
1363
|
-
text: string
|
|
1364
|
-
inputVariables?: Array<{ name: string }>
|
|
1365
|
-
}
|
|
1366
|
-
}
|
|
1367
|
-
inferenceConfiguration?: {
|
|
1368
|
-
text?: {
|
|
1369
|
-
temperature?: number
|
|
1370
|
-
topP?: number
|
|
1371
|
-
maxTokens?: number
|
|
1372
|
-
stopSequences?: string[]
|
|
1373
|
-
}
|
|
1374
|
-
}
|
|
1375
|
-
}
|
|
1376
|
-
}
|
|
1377
|
-
}
|
|
1378
|
-
lambdaFunction?: {
|
|
1379
|
-
lambdaArn: string
|
|
1380
|
-
}
|
|
1381
|
-
agent?: {
|
|
1382
|
-
agentAliasArn: string
|
|
1383
|
-
}
|
|
1384
|
-
storage?: {
|
|
1385
|
-
serviceConfiguration: {
|
|
1386
|
-
s3?: {
|
|
1387
|
-
bucketName: string
|
|
1388
|
-
}
|
|
1389
|
-
}
|
|
1390
|
-
}
|
|
1391
|
-
retrieval?: {
|
|
1392
|
-
serviceConfiguration: {
|
|
1393
|
-
s3?: {
|
|
1394
|
-
bucketName: string
|
|
1395
|
-
}
|
|
1396
|
-
}
|
|
1397
|
-
}
|
|
1398
|
-
iterator?: Record<string, never>
|
|
1399
|
-
collector?: Record<string, never>
|
|
1400
|
-
}
|
|
1401
|
-
export declare interface FlowNode {
|
|
1402
|
-
name: string
|
|
1403
|
-
type: 'Input' | 'Output' | 'KnowledgeBase' | 'Condition' | 'Lex' | 'Prompt' | 'LambdaFunction' | 'Agent' | 'Storage' | 'Retrieval' | 'Iterator' | 'Collector'
|
|
1404
|
-
configuration?: FlowNodeConfiguration
|
|
1405
|
-
inputs?: Array<{
|
|
1406
|
-
name: string
|
|
1407
|
-
type: 'String' | 'Number' | 'Boolean' | 'Object' | 'Array'
|
|
1408
|
-
expression: string
|
|
1409
|
-
}>
|
|
1410
|
-
outputs?: Array<{
|
|
1411
|
-
name: string
|
|
1412
|
-
type: 'String' | 'Number' | 'Boolean' | 'Object' | 'Array'
|
|
1413
|
-
}>
|
|
1414
|
-
}
|
|
1415
|
-
export declare interface FlowConnection {
|
|
1416
|
-
name: string
|
|
1417
|
-
source: string
|
|
1418
|
-
target: string
|
|
1419
|
-
type: 'Data' | 'Conditional'
|
|
1420
|
-
configuration?: {
|
|
1421
|
-
data?: {
|
|
1422
|
-
sourceOutput: string
|
|
1423
|
-
targetInput: string
|
|
1424
|
-
}
|
|
1425
|
-
conditional?: {
|
|
1426
|
-
condition: string
|
|
1427
|
-
}
|
|
1428
|
-
}
|
|
1429
|
-
}
|
|
1430
|
-
export declare interface CreateFlowCommandInput {
|
|
1431
|
-
name: string
|
|
1432
|
-
description?: string
|
|
1433
|
-
executionRoleArn: string
|
|
1434
|
-
customerEncryptionKeyArn?: string
|
|
1435
|
-
definition?: {
|
|
1436
|
-
nodes?: FlowNode[]
|
|
1437
|
-
connections?: FlowConnection[]
|
|
1438
|
-
}
|
|
1439
|
-
clientToken?: string
|
|
1440
|
-
tags?: Record<string, string>
|
|
1441
|
-
}
|
|
1442
|
-
export declare interface CreateFlowCommandOutput {
|
|
1443
|
-
name: string
|
|
1444
|
-
description?: string
|
|
1445
|
-
executionRoleArn: string
|
|
1446
|
-
customerEncryptionKeyArn?: string
|
|
1447
|
-
id: string
|
|
1448
|
-
arn: string
|
|
1449
|
-
status: 'NotPrepared' | 'Preparing' | 'Prepared' | 'Failed'
|
|
1450
|
-
createdAt: string
|
|
1451
|
-
updatedAt: string
|
|
1452
|
-
version: string
|
|
1453
|
-
definition?: {
|
|
1454
|
-
nodes?: FlowNode[]
|
|
1455
|
-
connections?: FlowConnection[]
|
|
1456
|
-
}
|
|
1457
|
-
}
|
|
1458
|
-
export declare interface GetFlowCommandInput {
|
|
1459
|
-
flowIdentifier: string
|
|
1460
|
-
}
|
|
1461
|
-
export declare interface GetFlowCommandOutput {
|
|
1462
|
-
name: string
|
|
1463
|
-
description?: string
|
|
1464
|
-
executionRoleArn: string
|
|
1465
|
-
customerEncryptionKeyArn?: string
|
|
1466
|
-
id: string
|
|
1467
|
-
arn: string
|
|
1468
|
-
status: 'NotPrepared' | 'Preparing' | 'Prepared' | 'Failed'
|
|
1469
|
-
createdAt: string
|
|
1470
|
-
updatedAt: string
|
|
1471
|
-
version: string
|
|
1472
|
-
definition?: {
|
|
1473
|
-
nodes?: FlowNode[]
|
|
1474
|
-
connections?: FlowConnection[]
|
|
1475
|
-
}
|
|
1476
|
-
validations?: Array<{
|
|
1477
|
-
message: string
|
|
1478
|
-
severity: 'Warning' | 'Error'
|
|
1479
|
-
}>
|
|
1480
|
-
}
|
|
1481
|
-
export declare interface ListFlowsCommandInput {
|
|
1482
|
-
maxResults?: number
|
|
1483
|
-
nextToken?: string
|
|
1484
|
-
}
|
|
1485
|
-
export declare interface ListFlowsCommandOutput {
|
|
1486
|
-
flowSummaries: Array<{
|
|
1487
|
-
name: string
|
|
1488
|
-
description?: string
|
|
1489
|
-
id: string
|
|
1490
|
-
arn: string
|
|
1491
|
-
status: 'NotPrepared' | 'Preparing' | 'Prepared' | 'Failed'
|
|
1492
|
-
createdAt: string
|
|
1493
|
-
updatedAt: string
|
|
1494
|
-
version: string
|
|
1495
|
-
}>
|
|
1496
|
-
nextToken?: string
|
|
1497
|
-
}
|
|
1498
|
-
export declare interface UpdateFlowCommandInput {
|
|
1499
|
-
flowIdentifier: string
|
|
1500
|
-
name: string
|
|
1501
|
-
description?: string
|
|
1502
|
-
executionRoleArn: string
|
|
1503
|
-
customerEncryptionKeyArn?: string
|
|
1504
|
-
definition?: {
|
|
1505
|
-
nodes?: FlowNode[]
|
|
1506
|
-
connections?: FlowConnection[]
|
|
1507
|
-
}
|
|
1508
|
-
}
|
|
1509
|
-
export declare interface UpdateFlowCommandOutput {
|
|
1510
|
-
name: string
|
|
1511
|
-
description?: string
|
|
1512
|
-
executionRoleArn: string
|
|
1513
|
-
customerEncryptionKeyArn?: string
|
|
1514
|
-
id: string
|
|
1515
|
-
arn: string
|
|
1516
|
-
status: 'NotPrepared' | 'Preparing' | 'Prepared' | 'Failed'
|
|
1517
|
-
createdAt: string
|
|
1518
|
-
updatedAt: string
|
|
1519
|
-
version: string
|
|
1520
|
-
definition?: {
|
|
1521
|
-
nodes?: FlowNode[]
|
|
1522
|
-
connections?: FlowConnection[]
|
|
1523
|
-
}
|
|
1524
|
-
}
|
|
1525
|
-
export declare interface DeleteFlowCommandInput {
|
|
1526
|
-
flowIdentifier: string
|
|
1527
|
-
skipResourceInUseCheck?: boolean
|
|
1528
|
-
}
|
|
1529
|
-
export declare interface DeleteFlowCommandOutput {
|
|
1530
|
-
id: string
|
|
1531
|
-
}
|
|
1532
|
-
export declare interface PrepareFlowCommandInput {
|
|
1533
|
-
flowIdentifier: string
|
|
1534
|
-
}
|
|
1535
|
-
export declare interface PrepareFlowCommandOutput {
|
|
1536
|
-
id: string
|
|
1537
|
-
status: 'NotPrepared' | 'Preparing' | 'Prepared' | 'Failed'
|
|
1538
|
-
}
|
|
1539
|
-
export declare interface CreateFlowVersionCommandInput {
|
|
1540
|
-
flowIdentifier: string
|
|
1541
|
-
description?: string
|
|
1542
|
-
clientToken?: string
|
|
1543
|
-
}
|
|
1544
|
-
export declare interface CreateFlowVersionCommandOutput {
|
|
1545
|
-
name: string
|
|
1546
|
-
description?: string
|
|
1547
|
-
executionRoleArn: string
|
|
1548
|
-
customerEncryptionKeyArn?: string
|
|
1549
|
-
id: string
|
|
1550
|
-
arn: string
|
|
1551
|
-
status: 'NotPrepared' | 'Preparing' | 'Prepared' | 'Failed'
|
|
1552
|
-
createdAt: string
|
|
1553
|
-
version: string
|
|
1554
|
-
definition?: {
|
|
1555
|
-
nodes?: FlowNode[]
|
|
1556
|
-
connections?: FlowConnection[]
|
|
1557
|
-
}
|
|
1558
|
-
}
|
|
1559
|
-
export declare interface CreateFlowAliasCommandInput {
|
|
1560
|
-
flowIdentifier: string
|
|
1561
|
-
name: string
|
|
1562
|
-
description?: string
|
|
1563
|
-
routingConfiguration: Array<{
|
|
1564
|
-
flowVersion: string
|
|
1565
|
-
}>
|
|
1566
|
-
clientToken?: string
|
|
1567
|
-
tags?: Record<string, string>
|
|
1568
|
-
}
|
|
1569
|
-
export declare interface CreateFlowAliasCommandOutput {
|
|
1570
|
-
name: string
|
|
1571
|
-
description?: string
|
|
1572
|
-
routingConfiguration: Array<{
|
|
1573
|
-
flowVersion: string
|
|
1574
|
-
}>
|
|
1575
|
-
flowId: string
|
|
1576
|
-
id: string
|
|
1577
|
-
arn: string
|
|
1578
|
-
createdAt: string
|
|
1579
|
-
updatedAt: string
|
|
1580
|
-
}
|
|
1581
|
-
export declare interface InvokeFlowCommandInput {
|
|
1582
|
-
flowIdentifier: string
|
|
1583
|
-
flowAliasIdentifier: string
|
|
1584
|
-
inputs: Array<{
|
|
1585
|
-
nodeName: string
|
|
1586
|
-
nodeOutputName: string
|
|
1587
|
-
content: {
|
|
1588
|
-
document?: unknown
|
|
1589
|
-
}
|
|
1590
|
-
}>
|
|
1591
|
-
}
|
|
1592
|
-
export declare interface InvokeFlowCommandOutput {
|
|
1593
|
-
responseStream: AsyncIterable<{
|
|
1594
|
-
flowOutputEvent?: {
|
|
1595
|
-
nodeName: string
|
|
1596
|
-
nodeType: string
|
|
1597
|
-
content: {
|
|
1598
|
-
document?: unknown
|
|
1599
|
-
}
|
|
1600
|
-
}
|
|
1601
|
-
flowCompletionEvent?: {
|
|
1602
|
-
completionReason: 'SUCCESS'
|
|
1603
|
-
}
|
|
1604
|
-
}>
|
|
1605
|
-
}
|
|
1606
|
-
// ============================================================================
|
|
1607
|
-
// Data Sources Types
|
|
1608
|
-
// ============================================================================
|
|
1609
|
-
export declare interface S3DataSourceConfiguration {
|
|
1610
|
-
bucketArn: string
|
|
1611
|
-
inclusionPrefixes?: string[]
|
|
1612
|
-
bucketOwnerAccountId?: string
|
|
1613
|
-
}
|
|
1614
|
-
export declare interface ConfluenceDataSourceConfiguration {
|
|
1615
|
-
sourceConfiguration: {
|
|
1616
|
-
hostUrl: string
|
|
1617
|
-
hostType: 'SAAS'
|
|
1618
|
-
authType: 'BASIC' | 'OAUTH2_CLIENT_CREDENTIALS'
|
|
1619
|
-
credentialsSecretArn: string
|
|
1620
|
-
}
|
|
1621
|
-
crawlerConfiguration?: {
|
|
1622
|
-
filterConfiguration?: {
|
|
1623
|
-
type: 'PATTERN'
|
|
1624
|
-
patternObjectFilter?: {
|
|
1625
|
-
filters: Array<{
|
|
1626
|
-
objectType: 'Attachment' | 'Blog' | 'Comment' | 'Page' | 'Space'
|
|
1627
|
-
inclusionFilters?: string[]
|
|
1628
|
-
exclusionFilters?: string[]
|
|
1629
|
-
}>
|
|
1630
|
-
}
|
|
1631
|
-
}
|
|
1632
|
-
}
|
|
1633
|
-
}
|
|
1634
|
-
export declare interface SalesforceDataSourceConfiguration {
|
|
1635
|
-
sourceConfiguration: {
|
|
1636
|
-
hostUrl: string
|
|
1637
|
-
authType: 'OAUTH2_CLIENT_CREDENTIALS'
|
|
1638
|
-
credentialsSecretArn: string
|
|
1639
|
-
}
|
|
1640
|
-
crawlerConfiguration?: {
|
|
1641
|
-
filterConfiguration?: {
|
|
1642
|
-
type: 'PATTERN'
|
|
1643
|
-
patternObjectFilter?: {
|
|
1644
|
-
filters: Array<{
|
|
1645
|
-
objectType: 'Account' | 'Case' | 'Campaign' | 'Contact' | 'Contract' | 'Document' | 'Lead' | 'Opportunity' | 'Partner' | 'PricebookEntry' | 'Product2' | 'Solution' | 'Task'
|
|
1646
|
-
inclusionFilters?: string[]
|
|
1647
|
-
exclusionFilters?: string[]
|
|
1648
|
-
}>
|
|
1649
|
-
}
|
|
1650
|
-
}
|
|
1651
|
-
}
|
|
1652
|
-
}
|
|
1653
|
-
export declare interface SharePointDataSourceConfiguration {
|
|
1654
|
-
sourceConfiguration: {
|
|
1655
|
-
siteUrls: string[]
|
|
1656
|
-
hostType: 'ONLINE'
|
|
1657
|
-
authType: 'OAUTH2_CLIENT_CREDENTIALS'
|
|
1658
|
-
credentialsSecretArn: string
|
|
1659
|
-
tenantId?: string
|
|
1660
|
-
domain: string
|
|
1661
|
-
}
|
|
1662
|
-
crawlerConfiguration?: {
|
|
1663
|
-
filterConfiguration?: {
|
|
1664
|
-
type: 'PATTERN'
|
|
1665
|
-
patternObjectFilter?: {
|
|
1666
|
-
filters: Array<{
|
|
1667
|
-
objectType: 'Page' | 'File' | 'Event' | 'Attachment'
|
|
1668
|
-
inclusionFilters?: string[]
|
|
1669
|
-
exclusionFilters?: string[]
|
|
1670
|
-
}>
|
|
1671
|
-
}
|
|
1672
|
-
}
|
|
1673
|
-
}
|
|
1674
|
-
}
|
|
1675
|
-
export declare interface WebDataSourceConfiguration {
|
|
1676
|
-
sourceConfiguration: {
|
|
1677
|
-
urlConfiguration: {
|
|
1678
|
-
seedUrls: Array<{ url: string }>
|
|
1679
|
-
}
|
|
1680
|
-
}
|
|
1681
|
-
crawlerConfiguration?: {
|
|
1682
|
-
crawlerLimits?: {
|
|
1683
|
-
rateLimit?: number
|
|
1684
|
-
}
|
|
1685
|
-
inclusionFilters?: string[]
|
|
1686
|
-
exclusionFilters?: string[]
|
|
1687
|
-
scope?: 'HOST_ONLY' | 'SUBDOMAINS'
|
|
1688
|
-
}
|
|
1689
|
-
}
|
|
1690
|
-
export declare interface CreateDataSourceCommandInput {
|
|
1691
|
-
knowledgeBaseId: string
|
|
1692
|
-
clientToken?: string
|
|
1693
|
-
name: string
|
|
1694
|
-
description?: string
|
|
1695
|
-
dataSourceConfiguration: {
|
|
1696
|
-
type: 'S3' | 'CONFLUENCE' | 'SALESFORCE' | 'SHAREPOINT' | 'WEB'
|
|
1697
|
-
s3Configuration?: S3DataSourceConfiguration
|
|
1698
|
-
confluenceConfiguration?: ConfluenceDataSourceConfiguration
|
|
1699
|
-
salesforceConfiguration?: SalesforceDataSourceConfiguration
|
|
1700
|
-
sharePointConfiguration?: SharePointDataSourceConfiguration
|
|
1701
|
-
webConfiguration?: WebDataSourceConfiguration
|
|
1702
|
-
}
|
|
1703
|
-
dataDeletionPolicy?: 'RETAIN' | 'DELETE'
|
|
1704
|
-
serverSideEncryptionConfiguration?: {
|
|
1705
|
-
kmsKeyArn?: string
|
|
1706
|
-
}
|
|
1707
|
-
vectorIngestionConfiguration?: {
|
|
1708
|
-
chunkingConfiguration?: {
|
|
1709
|
-
chunkingStrategy: 'FIXED_SIZE' | 'NONE' | 'HIERARCHICAL' | 'SEMANTIC'
|
|
1710
|
-
fixedSizeChunkingConfiguration?: {
|
|
1711
|
-
maxTokens: number
|
|
1712
|
-
overlapPercentage: number
|
|
1713
|
-
}
|
|
1714
|
-
hierarchicalChunkingConfiguration?: {
|
|
1715
|
-
levelConfigurations: Array<{
|
|
1716
|
-
maxTokens: number
|
|
1717
|
-
}>
|
|
1718
|
-
overlapTokens: number
|
|
1719
|
-
}
|
|
1720
|
-
semanticChunkingConfiguration?: {
|
|
1721
|
-
maxTokens: number
|
|
1722
|
-
bufferSize: number
|
|
1723
|
-
breakpointPercentileThreshold: number
|
|
1724
|
-
}
|
|
1725
|
-
}
|
|
1726
|
-
parsingConfiguration?: {
|
|
1727
|
-
parsingStrategy: 'BEDROCK_FOUNDATION_MODEL'
|
|
1728
|
-
bedrockFoundationModelConfiguration?: {
|
|
1729
|
-
modelArn: string
|
|
1730
|
-
parsingPrompt?: {
|
|
1731
|
-
parsingPromptText: string
|
|
1732
|
-
}
|
|
1733
|
-
}
|
|
1734
|
-
}
|
|
1735
|
-
customTransformationConfiguration?: {
|
|
1736
|
-
intermediateStorage: {
|
|
1737
|
-
s3Location: {
|
|
1738
|
-
uri: string
|
|
1739
|
-
}
|
|
1740
|
-
}
|
|
1741
|
-
transformations: Array<{
|
|
1742
|
-
stepToApply: 'POST_CHUNKING'
|
|
1743
|
-
transformationFunction: {
|
|
1744
|
-
transformationLambdaConfiguration: {
|
|
1745
|
-
lambdaArn: string
|
|
1746
|
-
}
|
|
1747
|
-
}
|
|
1748
|
-
}>
|
|
1749
|
-
}
|
|
1750
|
-
}
|
|
1751
|
-
}
|
|
1752
|
-
export declare interface CreateDataSourceCommandOutput {
|
|
1753
|
-
dataSource: {
|
|
1754
|
-
knowledgeBaseId: string
|
|
1755
|
-
dataSourceId: string
|
|
1756
|
-
name: string
|
|
1757
|
-
description?: string
|
|
1758
|
-
status: 'AVAILABLE' | 'DELETING' | 'DELETE_UNSUCCESSFUL'
|
|
1759
|
-
dataSourceConfiguration: {
|
|
1760
|
-
type: string
|
|
1761
|
-
s3Configuration?: S3DataSourceConfiguration
|
|
1762
|
-
}
|
|
1763
|
-
dataDeletionPolicy?: string
|
|
1764
|
-
serverSideEncryptionConfiguration?: {
|
|
1765
|
-
kmsKeyArn?: string
|
|
1766
|
-
}
|
|
1767
|
-
vectorIngestionConfiguration?: {
|
|
1768
|
-
chunkingConfiguration?: {
|
|
1769
|
-
chunkingStrategy: string
|
|
1770
|
-
}
|
|
1771
|
-
}
|
|
1772
|
-
createdAt: string
|
|
1773
|
-
updatedAt: string
|
|
1774
|
-
failureReasons?: string[]
|
|
1775
|
-
}
|
|
1776
|
-
}
|
|
1777
|
-
export declare interface GetDataSourceCommandInput {
|
|
1778
|
-
knowledgeBaseId: string
|
|
1779
|
-
dataSourceId: string
|
|
1780
|
-
}
|
|
1781
|
-
export declare interface GetDataSourceCommandOutput {
|
|
1782
|
-
dataSource: {
|
|
1783
|
-
knowledgeBaseId: string
|
|
1784
|
-
dataSourceId: string
|
|
1785
|
-
name: string
|
|
1786
|
-
description?: string
|
|
1787
|
-
status: 'AVAILABLE' | 'DELETING' | 'DELETE_UNSUCCESSFUL'
|
|
1788
|
-
dataSourceConfiguration: {
|
|
1789
|
-
type: string
|
|
1790
|
-
s3Configuration?: S3DataSourceConfiguration
|
|
1791
|
-
}
|
|
1792
|
-
dataDeletionPolicy?: string
|
|
1793
|
-
serverSideEncryptionConfiguration?: {
|
|
1794
|
-
kmsKeyArn?: string
|
|
1795
|
-
}
|
|
1796
|
-
vectorIngestionConfiguration?: {
|
|
1797
|
-
chunkingConfiguration?: {
|
|
1798
|
-
chunkingStrategy: string
|
|
1799
|
-
}
|
|
1800
|
-
}
|
|
1801
|
-
createdAt: string
|
|
1802
|
-
updatedAt: string
|
|
1803
|
-
failureReasons?: string[]
|
|
1804
|
-
}
|
|
1805
|
-
}
|
|
1806
|
-
export declare interface ListDataSourcesCommandInput {
|
|
1807
|
-
knowledgeBaseId: string
|
|
1808
|
-
maxResults?: number
|
|
1809
|
-
nextToken?: string
|
|
1810
|
-
}
|
|
1811
|
-
export declare interface ListDataSourcesCommandOutput {
|
|
1812
|
-
dataSourceSummaries: Array<{
|
|
1813
|
-
knowledgeBaseId: string
|
|
1814
|
-
dataSourceId: string
|
|
1815
|
-
name: string
|
|
1816
|
-
description?: string
|
|
1817
|
-
status: 'AVAILABLE' | 'DELETING' | 'DELETE_UNSUCCESSFUL'
|
|
1818
|
-
updatedAt: string
|
|
1819
|
-
}>
|
|
1820
|
-
nextToken?: string
|
|
1821
|
-
}
|
|
1822
|
-
export declare interface UpdateDataSourceCommandInput {
|
|
1823
|
-
knowledgeBaseId: string
|
|
1824
|
-
dataSourceId: string
|
|
1825
|
-
name: string
|
|
1826
|
-
description?: string
|
|
1827
|
-
dataSourceConfiguration: {
|
|
1828
|
-
type: 'S3' | 'CONFLUENCE' | 'SALESFORCE' | 'SHAREPOINT' | 'WEB'
|
|
1829
|
-
s3Configuration?: S3DataSourceConfiguration
|
|
1830
|
-
confluenceConfiguration?: ConfluenceDataSourceConfiguration
|
|
1831
|
-
salesforceConfiguration?: SalesforceDataSourceConfiguration
|
|
1832
|
-
sharePointConfiguration?: SharePointDataSourceConfiguration
|
|
1833
|
-
webConfiguration?: WebDataSourceConfiguration
|
|
1834
|
-
}
|
|
1835
|
-
dataDeletionPolicy?: 'RETAIN' | 'DELETE'
|
|
1836
|
-
serverSideEncryptionConfiguration?: {
|
|
1837
|
-
kmsKeyArn?: string
|
|
1838
|
-
}
|
|
1839
|
-
vectorIngestionConfiguration?: {
|
|
1840
|
-
chunkingConfiguration?: {
|
|
1841
|
-
chunkingStrategy: 'FIXED_SIZE' | 'NONE' | 'HIERARCHICAL' | 'SEMANTIC'
|
|
1842
|
-
fixedSizeChunkingConfiguration?: {
|
|
1843
|
-
maxTokens: number
|
|
1844
|
-
overlapPercentage: number
|
|
1845
|
-
}
|
|
1846
|
-
}
|
|
1847
|
-
}
|
|
1848
|
-
}
|
|
1849
|
-
export declare interface UpdateDataSourceCommandOutput {
|
|
1850
|
-
dataSource: {
|
|
1851
|
-
knowledgeBaseId: string
|
|
1852
|
-
dataSourceId: string
|
|
1853
|
-
name: string
|
|
1854
|
-
description?: string
|
|
1855
|
-
status: 'AVAILABLE' | 'DELETING' | 'DELETE_UNSUCCESSFUL'
|
|
1856
|
-
dataSourceConfiguration: {
|
|
1857
|
-
type: string
|
|
1858
|
-
s3Configuration?: S3DataSourceConfiguration
|
|
1859
|
-
}
|
|
1860
|
-
dataDeletionPolicy?: string
|
|
1861
|
-
serverSideEncryptionConfiguration?: {
|
|
1862
|
-
kmsKeyArn?: string
|
|
1863
|
-
}
|
|
1864
|
-
vectorIngestionConfiguration?: {
|
|
1865
|
-
chunkingConfiguration?: {
|
|
1866
|
-
chunkingStrategy: string
|
|
1867
|
-
}
|
|
1868
|
-
}
|
|
1869
|
-
createdAt: string
|
|
1870
|
-
updatedAt: string
|
|
1871
|
-
failureReasons?: string[]
|
|
1872
|
-
}
|
|
1873
|
-
}
|
|
1874
|
-
export declare interface DeleteDataSourceCommandInput {
|
|
1875
|
-
knowledgeBaseId: string
|
|
1876
|
-
dataSourceId: string
|
|
1877
|
-
}
|
|
1878
|
-
export declare interface DeleteDataSourceCommandOutput {
|
|
1879
|
-
knowledgeBaseId: string
|
|
1880
|
-
dataSourceId: string
|
|
1881
|
-
status: string
|
|
1882
|
-
}
|
|
1883
|
-
export declare interface StartIngestionJobCommandInput {
|
|
1884
|
-
knowledgeBaseId: string
|
|
1885
|
-
dataSourceId: string
|
|
1886
|
-
clientToken?: string
|
|
1887
|
-
description?: string
|
|
1888
|
-
}
|
|
1889
|
-
export declare interface StartIngestionJobCommandOutput {
|
|
1890
|
-
ingestionJob: {
|
|
1891
|
-
knowledgeBaseId: string
|
|
1892
|
-
dataSourceId: string
|
|
1893
|
-
ingestionJobId: string
|
|
1894
|
-
description?: string
|
|
1895
|
-
status: 'STARTING' | 'IN_PROGRESS' | 'COMPLETE' | 'FAILED' | 'STOPPING' | 'STOPPED'
|
|
1896
|
-
statistics?: {
|
|
1897
|
-
numberOfDocumentsScanned?: number
|
|
1898
|
-
numberOfNewDocumentsIndexed?: number
|
|
1899
|
-
numberOfModifiedDocumentsIndexed?: number
|
|
1900
|
-
numberOfDocumentsDeleted?: number
|
|
1901
|
-
numberOfDocumentsFailed?: number
|
|
1902
|
-
}
|
|
1903
|
-
failureReasons?: string[]
|
|
1904
|
-
startedAt: string
|
|
1905
|
-
updatedAt: string
|
|
1906
|
-
}
|
|
1907
|
-
}
|
|
1908
|
-
export declare interface GetIngestionJobCommandInput {
|
|
1909
|
-
knowledgeBaseId: string
|
|
1910
|
-
dataSourceId: string
|
|
1911
|
-
ingestionJobId: string
|
|
1912
|
-
}
|
|
1913
|
-
export declare interface GetIngestionJobCommandOutput {
|
|
1914
|
-
ingestionJob: {
|
|
1915
|
-
knowledgeBaseId: string
|
|
1916
|
-
dataSourceId: string
|
|
1917
|
-
ingestionJobId: string
|
|
1918
|
-
description?: string
|
|
1919
|
-
status: 'STARTING' | 'IN_PROGRESS' | 'COMPLETE' | 'FAILED' | 'STOPPING' | 'STOPPED'
|
|
1920
|
-
statistics?: {
|
|
1921
|
-
numberOfDocumentsScanned?: number
|
|
1922
|
-
numberOfNewDocumentsIndexed?: number
|
|
1923
|
-
numberOfModifiedDocumentsIndexed?: number
|
|
1924
|
-
numberOfDocumentsDeleted?: number
|
|
1925
|
-
numberOfDocumentsFailed?: number
|
|
1926
|
-
}
|
|
1927
|
-
failureReasons?: string[]
|
|
1928
|
-
startedAt: string
|
|
1929
|
-
updatedAt: string
|
|
1930
|
-
}
|
|
1931
|
-
}
|
|
1932
|
-
export declare interface ListIngestionJobsCommandInput {
|
|
1933
|
-
knowledgeBaseId: string
|
|
1934
|
-
dataSourceId: string
|
|
1935
|
-
filters?: Array<{
|
|
1936
|
-
attribute: 'STATUS'
|
|
1937
|
-
operator: 'EQ'
|
|
1938
|
-
values: string[]
|
|
1939
|
-
}>
|
|
1940
|
-
sortBy?: {
|
|
1941
|
-
attribute: 'STARTED_AT' | 'STATUS'
|
|
1942
|
-
order: 'ASCENDING' | 'DESCENDING'
|
|
1943
|
-
}
|
|
1944
|
-
maxResults?: number
|
|
1945
|
-
nextToken?: string
|
|
1946
|
-
}
|
|
1947
|
-
export declare interface ListIngestionJobsCommandOutput {
|
|
1948
|
-
ingestionJobSummaries: Array<{
|
|
1949
|
-
knowledgeBaseId: string
|
|
1950
|
-
dataSourceId: string
|
|
1951
|
-
ingestionJobId: string
|
|
1952
|
-
description?: string
|
|
1953
|
-
status: 'STARTING' | 'IN_PROGRESS' | 'COMPLETE' | 'FAILED' | 'STOPPING' | 'STOPPED'
|
|
1954
|
-
startedAt: string
|
|
1955
|
-
updatedAt: string
|
|
1956
|
-
statistics?: {
|
|
1957
|
-
numberOfDocumentsScanned?: number
|
|
1958
|
-
numberOfNewDocumentsIndexed?: number
|
|
1959
|
-
numberOfModifiedDocumentsIndexed?: number
|
|
1960
|
-
numberOfDocumentsDeleted?: number
|
|
1961
|
-
numberOfDocumentsFailed?: number
|
|
1962
|
-
}
|
|
1963
|
-
}>
|
|
1964
|
-
nextToken?: string
|
|
1965
|
-
}
|
|
1966
|
-
// ============================================================================
|
|
1967
|
-
// Model Copy Types
|
|
1968
|
-
// ============================================================================
|
|
1969
|
-
export declare interface CreateModelCopyJobCommandInput {
|
|
1970
|
-
sourceModelArn: string
|
|
1971
|
-
targetModelName: string
|
|
1972
|
-
modelKmsKeyId?: string
|
|
1973
|
-
targetModelTags?: Array<{ key: string; value: string }>
|
|
1974
|
-
clientRequestToken?: string
|
|
1975
|
-
}
|
|
1976
|
-
export declare interface CreateModelCopyJobCommandOutput {
|
|
1977
|
-
jobArn: string
|
|
1978
|
-
}
|
|
1979
|
-
export declare interface GetModelCopyJobCommandInput {
|
|
1980
|
-
jobArn: string
|
|
1981
|
-
}
|
|
1982
|
-
export declare interface GetModelCopyJobCommandOutput {
|
|
1983
|
-
jobArn: string
|
|
1984
|
-
status: 'InProgress' | 'Completed' | 'Failed'
|
|
1985
|
-
creationTime: string
|
|
1986
|
-
targetModelArn?: string
|
|
1987
|
-
targetModelName: string
|
|
1988
|
-
sourceAccountId: string
|
|
1989
|
-
sourceModelArn: string
|
|
1990
|
-
targetModelKmsKeyArn?: string
|
|
1991
|
-
targetModelTags?: Array<{ key: string; value: string }>
|
|
1992
|
-
failureMessage?: string
|
|
1993
|
-
}
|
|
1994
|
-
export declare interface ListModelCopyJobsCommandInput {
|
|
1995
|
-
creationTimeAfter?: string
|
|
1996
|
-
creationTimeBefore?: string
|
|
1997
|
-
statusEquals?: 'InProgress' | 'Completed' | 'Failed'
|
|
1998
|
-
sourceAccountEquals?: string
|
|
1999
|
-
sourceModelArnEquals?: string
|
|
2000
|
-
targetModelNameContains?: string
|
|
2001
|
-
maxResults?: number
|
|
2002
|
-
nextToken?: string
|
|
2003
|
-
sortBy?: 'CreationTime'
|
|
2004
|
-
sortOrder?: 'Ascending' | 'Descending'
|
|
2005
|
-
}
|
|
2006
|
-
export declare interface ListModelCopyJobsCommandOutput {
|
|
2007
|
-
nextToken?: string
|
|
2008
|
-
modelCopyJobSummaries?: Array<{
|
|
2009
|
-
jobArn: string
|
|
2010
|
-
status: 'InProgress' | 'Completed' | 'Failed'
|
|
2011
|
-
creationTime: string
|
|
2012
|
-
targetModelArn?: string
|
|
2013
|
-
targetModelName: string
|
|
2014
|
-
sourceAccountId: string
|
|
2015
|
-
sourceModelArn: string
|
|
2016
|
-
targetModelKmsKeyArn?: string
|
|
2017
|
-
failureMessage?: string
|
|
2018
|
-
}>
|
|
2019
|
-
}
|
|
2020
|
-
export type BedrockContentBlock = | { type: 'text'; text: string }
|
|
2021
|
-
| { type: 'image'; source: BedrockImageSource }
|
|
2022
|
-
| { type: 'document'; source: BedrockDocumentSource }
|
|
2023
|
-
| { type: 'tool_use'; id: string; name: string; input: Record<string, unknown> }
|
|
2024
|
-
| { type: 'tool_result'; tool_use_id: string; content: string | BedrockContentBlock[] }
|
|
2025
|
-
/**
|
|
2026
|
-
* Bedrock Runtime client for AI model invocations
|
|
2027
|
-
*/
|
|
2028
|
-
export declare class BedrockRuntimeClient {
|
|
2029
|
-
private client: AWSClient;
|
|
2030
|
-
private region: string;
|
|
2031
|
-
constructor(region?: string);
|
|
2032
|
-
invokeModel(params: InvokeModelCommandInput): Promise<InvokeModelCommandOutput>;
|
|
2033
|
-
invokeModelWithResponseStream(params: InvokeModelWithResponseStreamCommandInput): Promise<InvokeModelWithResponseStreamCommandOutput>;
|
|
2034
|
-
private makeStreamRequest(modelId: string, headers: Record<string, string>, body: string): Promise<AsyncIterable<BedrockStreamChunk>>;
|
|
2035
|
-
private parseEventStream(reader: ReadableStreamDefaultReader<Uint8Array>): AsyncIterable<BedrockStreamChunk>;
|
|
2036
|
-
private extractJsonChunks(buffer: string): { parsed: unknown[]; remaining: string };
|
|
2037
|
-
private getCredentialsFromEnv(): { accessKeyId: string; secretAccessKey: string; sessionToken?: string };
|
|
2038
|
-
private signStreamRequest(method: string, path: string, headers: Record<string, string>, body: string, credentials: { accessKeyId: string; secretAccessKey: string; sessionToken?: string }): Record<string, string>;
|
|
2039
|
-
invokeClaudeMessages(params: {
|
|
2040
|
-
modelId?: string
|
|
2041
|
-
messages: BedrockMessage[]
|
|
2042
|
-
maxTokens?: number
|
|
2043
|
-
temperature?: number
|
|
2044
|
-
topP?: number
|
|
2045
|
-
topK?: number
|
|
2046
|
-
stopSequences?: string[]
|
|
2047
|
-
system?: string
|
|
2048
|
-
tools?: BedrockToolDefinition[]
|
|
2049
|
-
toolChoice?: { type: 'auto' } | { type: 'any' } | { type: 'tool'; name: string }
|
|
2050
|
-
}): Promise<BedrockResponse>;
|
|
2051
|
-
converse(params: ConverseCommandInput): Promise<ConverseCommandOutput>;
|
|
2052
|
-
generateEmbeddings(params: {
|
|
2053
|
-
modelId?: string
|
|
2054
|
-
inputText: string | string[]
|
|
2055
|
-
dimensions?: number
|
|
2056
|
-
normalize?: boolean
|
|
2057
|
-
}): Promise<{ embedding?: number[]; embeddings?: number[][] }>;
|
|
2058
|
-
applyGuardrail(params: {
|
|
2059
|
-
guardrailIdentifier: string
|
|
2060
|
-
guardrailVersion: string
|
|
2061
|
-
source: 'INPUT' | 'OUTPUT'
|
|
2062
|
-
content: Array<{ text: { text: string } }>
|
|
2063
|
-
}): Promise<{
|
|
2064
|
-
action: 'NONE' | 'GUARDRAIL_INTERVENED'
|
|
2065
|
-
outputs: Array<{ text: string }>
|
|
2066
|
-
assessments: Array<{
|
|
2067
|
-
topicPolicy?: { topics: Array<{ name: string; type: string; action: string }> }
|
|
2068
|
-
contentPolicy?: { filters: Array<{ type: string; confidence: string; action: string }> }
|
|
2069
|
-
wordPolicy?: { customWords: Array<{ match: string; action: string }>; managedWordLists: Array<{ match: string; type: string; action: string }> }
|
|
2070
|
-
sensitiveInformationPolicy?: { piiEntities: Array<{ type: string; match: string; action: string }>; regexes: Array<{ name: string; match: string; action: string }> }
|
|
2071
|
-
}>
|
|
2072
|
-
}>;
|
|
2073
|
-
}
|
|
2074
|
-
/**
|
|
2075
|
-
* Bedrock client for model management (not runtime)
|
|
2076
|
-
*/
|
|
2077
|
-
export declare class BedrockClient {
|
|
2078
|
-
private client: AWSClient;
|
|
2079
|
-
private region: string;
|
|
2080
|
-
constructor(region?: string);
|
|
2081
|
-
listFoundationModels(params?: ListFoundationModelsCommandInput): Promise<ListFoundationModelsCommandOutput>;
|
|
2082
|
-
getFoundationModel(params: GetFoundationModelCommandInput): Promise<GetFoundationModelCommandOutput>;
|
|
2083
|
-
createModelCustomizationJob(params: CreateModelCustomizationJobCommandInput): Promise<CreateModelCustomizationJobCommandOutput>;
|
|
2084
|
-
getModelCustomizationJob(params: GetModelCustomizationJobCommandInput): Promise<GetModelCustomizationJobCommandOutput>;
|
|
2085
|
-
listModelCustomizationJobs(params?: ListModelCustomizationJobsCommandInput): Promise<ListModelCustomizationJobsCommandOutput>;
|
|
2086
|
-
stopModelCustomizationJob(params: StopModelCustomizationJobCommandInput): Promise<StopModelCustomizationJobCommandOutput>;
|
|
2087
|
-
listCustomModels(params?: ListCustomModelsCommandInput): Promise<ListCustomModelsCommandOutput>;
|
|
2088
|
-
getCustomModel(params: GetCustomModelCommandInput): Promise<GetCustomModelCommandOutput>;
|
|
2089
|
-
deleteCustomModel(params: DeleteCustomModelCommandInput): Promise<DeleteCustomModelCommandOutput>;
|
|
2090
|
-
requestModelAccess(params: CreateFoundationModelEntitlementCommandInput): Promise<CreateFoundationModelEntitlementCommandOutput>;
|
|
2091
|
-
createGuardrail(params: CreateGuardrailCommandInput): Promise<CreateGuardrailCommandOutput>;
|
|
2092
|
-
getGuardrail(params: GetGuardrailCommandInput): Promise<GetGuardrailCommandOutput>;
|
|
2093
|
-
listGuardrails(params?: ListGuardrailsCommandInput): Promise<ListGuardrailsCommandOutput>;
|
|
2094
|
-
deleteGuardrail(params: DeleteGuardrailCommandInput): Promise<DeleteGuardrailCommandOutput>;
|
|
2095
|
-
listModelInvocationJobs(params?: ListModelInvocationJobsCommandInput): Promise<ListModelInvocationJobsCommandOutput>;
|
|
2096
|
-
waitForModelCustomizationJob(jobIdentifier: string, options?: { maxWaitMs?: number; pollIntervalMs?: number }): Promise<GetModelCustomizationJobCommandOutput>;
|
|
2097
|
-
requestAccessToModels(modelIds: string[]): Promise<Array<{ modelId: string; status: string; error?: string }>>;
|
|
2098
|
-
listModelsByProvider(provider: string): Promise<FoundationModelSummary[]>;
|
|
2099
|
-
listClaudeModels(): Promise<FoundationModelSummary[]>;
|
|
2100
|
-
listEmbeddingModels(): Promise<FoundationModelSummary[]>;
|
|
2101
|
-
createModelInvocationJob(params: CreateModelInvocationJobCommandInput): Promise<CreateModelInvocationJobCommandOutput>;
|
|
2102
|
-
getModelInvocationJob(params: GetModelInvocationJobCommandInput): Promise<GetModelInvocationJobCommandOutput>;
|
|
2103
|
-
stopModelInvocationJob(params: StopModelInvocationJobCommandInput): Promise<StopModelInvocationJobCommandOutput>;
|
|
2104
|
-
createProvisionedModelThroughput(params: CreateProvisionedModelThroughputCommandInput): Promise<CreateProvisionedModelThroughputCommandOutput>;
|
|
2105
|
-
getProvisionedModelThroughput(params: GetProvisionedModelThroughputCommandInput): Promise<GetProvisionedModelThroughputCommandOutput>;
|
|
2106
|
-
listProvisionedModelThroughputs(params?: ListProvisionedModelThroughputsCommandInput): Promise<ListProvisionedModelThroughputsCommandOutput>;
|
|
2107
|
-
updateProvisionedModelThroughput(params: UpdateProvisionedModelThroughputCommandInput): Promise<UpdateProvisionedModelThroughputCommandOutput>;
|
|
2108
|
-
deleteProvisionedModelThroughput(params: DeleteProvisionedModelThroughputCommandInput): Promise<DeleteProvisionedModelThroughputCommandOutput>;
|
|
2109
|
-
createEvaluationJob(params: CreateEvaluationJobCommandInput): Promise<CreateEvaluationJobCommandOutput>;
|
|
2110
|
-
getEvaluationJob(params: GetEvaluationJobCommandInput): Promise<GetEvaluationJobCommandOutput>;
|
|
2111
|
-
listEvaluationJobs(params?: ListEvaluationJobsCommandInput): Promise<ListEvaluationJobsCommandOutput>;
|
|
2112
|
-
stopEvaluationJob(params: StopEvaluationJobCommandInput): Promise<StopEvaluationJobCommandOutput>;
|
|
2113
|
-
getInferenceProfile(params: GetInferenceProfileCommandInput): Promise<GetInferenceProfileCommandOutput>;
|
|
2114
|
-
listInferenceProfiles(params?: ListInferenceProfilesCommandInput): Promise<ListInferenceProfilesCommandOutput>;
|
|
2115
|
-
createInferenceProfile(params: CreateInferenceProfileCommandInput): Promise<CreateInferenceProfileCommandOutput>;
|
|
2116
|
-
deleteInferenceProfile(params: DeleteInferenceProfileCommandInput): Promise<DeleteInferenceProfileCommandOutput>;
|
|
2117
|
-
createModelCopyJob(params: CreateModelCopyJobCommandInput): Promise<CreateModelCopyJobCommandOutput>;
|
|
2118
|
-
getModelCopyJob(params: GetModelCopyJobCommandInput): Promise<GetModelCopyJobCommandOutput>;
|
|
2119
|
-
listModelCopyJobs(params?: ListModelCopyJobsCommandInput): Promise<ListModelCopyJobsCommandOutput>;
|
|
2120
|
-
}
|
|
2121
|
-
/**
|
|
2122
|
-
* Bedrock Agent Runtime client for invoking agents
|
|
2123
|
-
*/
|
|
2124
|
-
export declare class BedrockAgentRuntimeClient {
|
|
2125
|
-
private client: AWSClient;
|
|
2126
|
-
private region: string;
|
|
2127
|
-
constructor(region?: string);
|
|
2128
|
-
invokeAgent(params: InvokeAgentCommandInput): Promise<{
|
|
2129
|
-
completion: string
|
|
2130
|
-
sessionId: string
|
|
2131
|
-
memoryId?: string
|
|
2132
|
-
citations?: Array<{
|
|
2133
|
-
generatedResponsePart?: { textResponsePart?: { text: string } }
|
|
2134
|
-
retrievedReferences?: Array<{ content?: { text: string }; location?: { s3Location?: { uri: string } } }>
|
|
2135
|
-
}>
|
|
2136
|
-
}>;
|
|
2137
|
-
retrieve(params: {
|
|
2138
|
-
knowledgeBaseId: string
|
|
2139
|
-
retrievalQuery: {
|
|
2140
|
-
text: string
|
|
2141
|
-
}
|
|
2142
|
-
retrievalConfiguration?: {
|
|
2143
|
-
vectorSearchConfiguration: {
|
|
2144
|
-
numberOfResults?: number
|
|
2145
|
-
overrideSearchType?: 'HYBRID' | 'SEMANTIC'
|
|
2146
|
-
filter?: Record<string, unknown>
|
|
2147
|
-
}
|
|
2148
|
-
}
|
|
2149
|
-
nextToken?: string
|
|
2150
|
-
}): Promise<{
|
|
2151
|
-
retrievalResults: Array<{
|
|
2152
|
-
content: { text: string }
|
|
2153
|
-
location?: {
|
|
2154
|
-
type: string
|
|
2155
|
-
s3Location?: { uri: string }
|
|
2156
|
-
}
|
|
2157
|
-
score?: number
|
|
2158
|
-
metadata?: Record<string, unknown>
|
|
2159
|
-
}>
|
|
2160
|
-
nextToken?: string
|
|
2161
|
-
}>;
|
|
2162
|
-
retrieveAndGenerate(params: {
|
|
2163
|
-
input: {
|
|
2164
|
-
text: string
|
|
2165
|
-
}
|
|
2166
|
-
retrieveAndGenerateConfiguration: {
|
|
2167
|
-
type: 'KNOWLEDGE_BASE'
|
|
2168
|
-
knowledgeBaseConfiguration: {
|
|
2169
|
-
knowledgeBaseId: string
|
|
2170
|
-
modelArn: string
|
|
2171
|
-
retrievalConfiguration?: {
|
|
2172
|
-
vectorSearchConfiguration: {
|
|
2173
|
-
numberOfResults?: number
|
|
2174
|
-
overrideSearchType?: 'HYBRID' | 'SEMANTIC'
|
|
2175
|
-
filter?: Record<string, unknown>
|
|
2176
|
-
}
|
|
2177
|
-
}
|
|
2178
|
-
generationConfiguration?: {
|
|
2179
|
-
promptTemplate?: {
|
|
2180
|
-
textPromptTemplate: string
|
|
2181
|
-
}
|
|
2182
|
-
inferenceConfig?: {
|
|
2183
|
-
textInferenceConfig?: {
|
|
2184
|
-
temperature?: number
|
|
2185
|
-
topP?: number
|
|
2186
|
-
maxTokens?: number
|
|
2187
|
-
stopSequences?: string[]
|
|
2188
|
-
}
|
|
2189
|
-
}
|
|
2190
|
-
guardrailConfiguration?: {
|
|
2191
|
-
guardrailId: string
|
|
2192
|
-
guardrailVersion: string
|
|
2193
|
-
}
|
|
2194
|
-
}
|
|
2195
|
-
}
|
|
2196
|
-
}
|
|
2197
|
-
sessionConfiguration?: {
|
|
2198
|
-
kmsKeyArn?: string
|
|
2199
|
-
}
|
|
2200
|
-
sessionId?: string
|
|
2201
|
-
}): Promise<{
|
|
2202
|
-
sessionId: string
|
|
2203
|
-
output: {
|
|
2204
|
-
text: string
|
|
2205
|
-
}
|
|
2206
|
-
citations?: Array<{
|
|
2207
|
-
generatedResponsePart?: {
|
|
2208
|
-
textResponsePart?: {
|
|
2209
|
-
text: string
|
|
2210
|
-
span?: { start: number; end: number }
|
|
2211
|
-
}
|
|
2212
|
-
}
|
|
2213
|
-
retrievedReferences?: Array<{
|
|
2214
|
-
content: { text: string }
|
|
2215
|
-
location?: {
|
|
2216
|
-
type: string
|
|
2217
|
-
s3Location?: { uri: string }
|
|
2218
|
-
}
|
|
2219
|
-
metadata?: Record<string, unknown>
|
|
2220
|
-
}>
|
|
2221
|
-
}>
|
|
2222
|
-
guardrailAction?: 'INTERVENED' | 'NONE'
|
|
2223
|
-
}>;
|
|
2224
|
-
}
|
|
2225
|
-
/**
|
|
2226
|
-
* Bedrock Agent client for agent management
|
|
2227
|
-
*/
|
|
2228
|
-
export declare class BedrockAgentClient {
|
|
2229
|
-
private client: AWSClient;
|
|
2230
|
-
private region: string;
|
|
2231
|
-
constructor(region?: string);
|
|
2232
|
-
createAgent(params: CreateAgentCommandInput): Promise<CreateAgentCommandOutput>;
|
|
2233
|
-
getAgent(params: { agentId: string }): Promise<{ agent: CreateAgentCommandOutput['agent'] }>;
|
|
2234
|
-
listAgents(params?: {
|
|
2235
|
-
maxResults?: number
|
|
2236
|
-
nextToken?: string
|
|
2237
|
-
}): Promise<{
|
|
2238
|
-
agentSummaries: Array<{
|
|
2239
|
-
agentId: string
|
|
2240
|
-
agentName: string
|
|
2241
|
-
agentStatus: string
|
|
2242
|
-
description?: string
|
|
2243
|
-
updatedAt: string
|
|
2244
|
-
latestAgentVersion: string
|
|
2245
|
-
}>
|
|
2246
|
-
nextToken?: string
|
|
2247
|
-
}>;
|
|
2248
|
-
deleteAgent(params: { agentId: string; skipResourceInUseCheck?: boolean }): Promise<{ agentId: string; agentStatus: string }>;
|
|
2249
|
-
prepareAgent(params: { agentId: string }): Promise<{
|
|
2250
|
-
agentId: string
|
|
2251
|
-
agentStatus: string
|
|
2252
|
-
agentVersion: string
|
|
2253
|
-
preparedAt: string
|
|
2254
|
-
}>;
|
|
2255
|
-
createKnowledgeBase(params: CreateKnowledgeBaseCommandInput): Promise<CreateKnowledgeBaseCommandOutput>;
|
|
2256
|
-
getKnowledgeBase(params: { knowledgeBaseId: string }): Promise<{ knowledgeBase: CreateKnowledgeBaseCommandOutput['knowledgeBase'] }>;
|
|
2257
|
-
listKnowledgeBases(params?: {
|
|
2258
|
-
maxResults?: number
|
|
2259
|
-
nextToken?: string
|
|
2260
|
-
}): Promise<{
|
|
2261
|
-
knowledgeBaseSummaries: Array<{
|
|
2262
|
-
knowledgeBaseId: string
|
|
2263
|
-
name: string
|
|
2264
|
-
description?: string
|
|
2265
|
-
status: string
|
|
2266
|
-
updatedAt: string
|
|
2267
|
-
}>
|
|
2268
|
-
nextToken?: string
|
|
2269
|
-
}>;
|
|
2270
|
-
deleteKnowledgeBase(params: { knowledgeBaseId: string }): Promise<{ knowledgeBaseId: string; status: string }>;
|
|
2271
|
-
createDataSource(params: CreateDataSourceCommandInput): Promise<CreateDataSourceCommandOutput>;
|
|
2272
|
-
getDataSource(params: GetDataSourceCommandInput): Promise<GetDataSourceCommandOutput>;
|
|
2273
|
-
listDataSources(params: ListDataSourcesCommandInput): Promise<ListDataSourcesCommandOutput>;
|
|
2274
|
-
updateDataSource(params: UpdateDataSourceCommandInput): Promise<UpdateDataSourceCommandOutput>;
|
|
2275
|
-
deleteDataSource(params: DeleteDataSourceCommandInput): Promise<DeleteDataSourceCommandOutput>;
|
|
2276
|
-
startIngestionJob(params: StartIngestionJobCommandInput): Promise<StartIngestionJobCommandOutput>;
|
|
2277
|
-
getIngestionJob(params: GetIngestionJobCommandInput): Promise<GetIngestionJobCommandOutput>;
|
|
2278
|
-
listIngestionJobs(params: ListIngestionJobsCommandInput): Promise<ListIngestionJobsCommandOutput>;
|
|
2279
|
-
createPrompt(params: CreatePromptCommandInput): Promise<CreatePromptCommandOutput>;
|
|
2280
|
-
getPrompt(params: GetPromptCommandInput): Promise<GetPromptCommandOutput>;
|
|
2281
|
-
listPrompts(params?: ListPromptsCommandInput): Promise<ListPromptsCommandOutput>;
|
|
2282
|
-
deletePrompt(params: DeletePromptCommandInput): Promise<DeletePromptCommandOutput>;
|
|
2283
|
-
createPromptVersion(params: CreatePromptVersionCommandInput): Promise<CreatePromptVersionCommandOutput>;
|
|
2284
|
-
createFlow(params: CreateFlowCommandInput): Promise<CreateFlowCommandOutput>;
|
|
2285
|
-
getFlow(params: GetFlowCommandInput): Promise<GetFlowCommandOutput>;
|
|
2286
|
-
listFlows(params?: ListFlowsCommandInput): Promise<ListFlowsCommandOutput>;
|
|
2287
|
-
updateFlow(params: UpdateFlowCommandInput): Promise<UpdateFlowCommandOutput>;
|
|
2288
|
-
deleteFlow(params: DeleteFlowCommandInput): Promise<DeleteFlowCommandOutput>;
|
|
2289
|
-
prepareFlow(params: PrepareFlowCommandInput): Promise<PrepareFlowCommandOutput>;
|
|
2290
|
-
createFlowVersion(params: CreateFlowVersionCommandInput): Promise<CreateFlowVersionCommandOutput>;
|
|
2291
|
-
createFlowAlias(params: CreateFlowAliasCommandInput): Promise<CreateFlowAliasCommandOutput>;
|
|
2292
|
-
}
|