@aws-sdk/client-bedrock-agent 3.734.0 → 3.738.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.
Files changed (28) hide show
  1. package/dist-cjs/index.js +37 -5
  2. package/dist-es/models/models_0.js +24 -4
  3. package/dist-es/models/models_1.js +5 -1
  4. package/dist-es/protocols/Aws_restJson1.js +6 -0
  5. package/dist-types/commands/CreateAgentAliasCommand.d.ts +1 -1
  6. package/dist-types/commands/CreateFlowCommand.d.ts +16 -0
  7. package/dist-types/commands/CreateFlowVersionCommand.d.ts +8 -0
  8. package/dist-types/commands/CreatePromptCommand.d.ts +16 -0
  9. package/dist-types/commands/CreatePromptVersionCommand.d.ts +8 -0
  10. package/dist-types/commands/DeleteAgentAliasCommand.d.ts +1 -1
  11. package/dist-types/commands/DeleteKnowledgeBaseDocumentsCommand.d.ts +2 -1
  12. package/dist-types/commands/GetAgentAliasCommand.d.ts +1 -1
  13. package/dist-types/commands/GetFlowCommand.d.ts +17 -1
  14. package/dist-types/commands/GetFlowVersionCommand.d.ts +8 -0
  15. package/dist-types/commands/GetKnowledgeBaseDocumentsCommand.d.ts +1 -1
  16. package/dist-types/commands/GetPromptCommand.d.ts +8 -0
  17. package/dist-types/commands/ListAgentAliasesCommand.d.ts +1 -1
  18. package/dist-types/commands/UpdateAgentAliasCommand.d.ts +1 -1
  19. package/dist-types/commands/UpdateFlowCommand.d.ts +16 -0
  20. package/dist-types/commands/UpdatePromptCommand.d.ts +16 -0
  21. package/dist-types/commands/ValidateFlowDefinitionCommand.d.ts +17 -1
  22. package/dist-types/models/models_0.d.ts +227 -126
  23. package/dist-types/models/models_1.d.ts +123 -1
  24. package/dist-types/ts3.4/commands/DeleteKnowledgeBaseDocumentsCommand.d.ts +2 -4
  25. package/dist-types/ts3.4/commands/GetKnowledgeBaseDocumentsCommand.d.ts +1 -1
  26. package/dist-types/ts3.4/models/models_0.d.ts +166 -19
  27. package/dist-types/ts3.4/models/models_1.d.ts +19 -1
  28. package/package.json +2 -2
@@ -1,5 +1,123 @@
1
1
  import { DocumentType as __DocumentType } from "@smithy/types";
2
- import { AgentKnowledgeBase, AgentKnowledgeBaseSummary, AgentStatus, AgentVersion, AgentVersionSummary, ByteContentDoc, ContentDataSourceType, CustomDocumentIdentifier, FlowDefinition, FlowValidation, KnowledgeBaseDocumentDetail, KnowledgeBaseState, PromptInferenceConfiguration, PromptTemplateConfiguration, PromptTemplateType, S3Location } from "./models_0";
2
+ import { AgentKnowledgeBase, AgentKnowledgeBaseSummary, AgentStatus, AgentVersion, AgentVersionSummary, ContentDataSourceType, CustomDocumentIdentifier, DocumentIdentifier, FlowDefinition, FlowValidation, KnowledgeBaseDocumentDetail, KnowledgeBaseState, PromptInferenceConfiguration, PromptTemplateConfiguration, PromptTemplateType, S3Location } from "./models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export interface DeleteKnowledgeBaseDocumentsResponse {
7
+ /**
8
+ * <p>A list of objects, each of which contains information about the documents that were deleted.</p>
9
+ * @public
10
+ */
11
+ documentDetails?: KnowledgeBaseDocumentDetail[] | undefined;
12
+ }
13
+ /**
14
+ * @public
15
+ */
16
+ export interface GetKnowledgeBaseDocumentsRequest {
17
+ /**
18
+ * <p>The unique identifier of the knowledge base that is connected to the data source.</p>
19
+ * @public
20
+ */
21
+ knowledgeBaseId: string | undefined;
22
+ /**
23
+ * <p>The unique identifier of the data source that contains the documents.</p>
24
+ * @public
25
+ */
26
+ dataSourceId: string | undefined;
27
+ /**
28
+ * <p>A list of objects, each of which contains information to identify a document for which to retrieve information.</p>
29
+ * @public
30
+ */
31
+ documentIdentifiers: DocumentIdentifier[] | undefined;
32
+ }
33
+ /**
34
+ * @public
35
+ */
36
+ export interface GetKnowledgeBaseDocumentsResponse {
37
+ /**
38
+ * <p>A list of objects, each of which contains information about the documents that were retrieved.</p>
39
+ * @public
40
+ */
41
+ documentDetails?: KnowledgeBaseDocumentDetail[] | undefined;
42
+ }
43
+ /**
44
+ * <p>Contains information about content defined inline in bytes.</p>
45
+ * @public
46
+ */
47
+ export interface ByteContentDoc {
48
+ /**
49
+ * <p>The MIME type of the content. For a list of MIME types, see <a href="https://www.iana.org/assignments/media-types/media-types.xhtml">Media Types</a>. The following MIME types are supported:</p>
50
+ * <ul>
51
+ * <li>
52
+ * <p>text/plain</p>
53
+ * </li>
54
+ * <li>
55
+ * <p>text/html</p>
56
+ * </li>
57
+ * <li>
58
+ * <p>text/csv</p>
59
+ * </li>
60
+ * <li>
61
+ * <p>text/vtt</p>
62
+ * </li>
63
+ * <li>
64
+ * <p>message/rfc822</p>
65
+ * </li>
66
+ * <li>
67
+ * <p>application/xhtml+xml</p>
68
+ * </li>
69
+ * <li>
70
+ * <p>application/pdf</p>
71
+ * </li>
72
+ * <li>
73
+ * <p>application/msword</p>
74
+ * </li>
75
+ * <li>
76
+ * <p>application/vnd.ms-word.document.macroenabled.12</p>
77
+ * </li>
78
+ * <li>
79
+ * <p>application/vnd.ms-word.template.macroenabled.12</p>
80
+ * </li>
81
+ * <li>
82
+ * <p>application/vnd.ms-excel</p>
83
+ * </li>
84
+ * <li>
85
+ * <p>application/vnd.ms-excel.addin.macroenabled.12</p>
86
+ * </li>
87
+ * <li>
88
+ * <p>application/vnd.ms-excel.sheet.macroenabled.12</p>
89
+ * </li>
90
+ * <li>
91
+ * <p>application/vnd.ms-excel.template.macroenabled.12</p>
92
+ * </li>
93
+ * <li>
94
+ * <p>application/vnd.ms-excel.sheet.binary.macroenabled.12</p>
95
+ * </li>
96
+ * <li>
97
+ * <p>application/vnd.ms-spreadsheetml</p>
98
+ * </li>
99
+ * <li>
100
+ * <p>application/vnd.openxmlformats-officedocument.spreadsheetml.sheet</p>
101
+ * </li>
102
+ * <li>
103
+ * <p>application/vnd.openxmlformats-officedocument.spreadsheetml.template</p>
104
+ * </li>
105
+ * <li>
106
+ * <p>application/vnd.openxmlformats-officedocument.wordprocessingml.document</p>
107
+ * </li>
108
+ * <li>
109
+ * <p>application/vnd.openxmlformats-officedocument.wordprocessingml.template</p>
110
+ * </li>
111
+ * </ul>
112
+ * @public
113
+ */
114
+ mimeType: string | undefined;
115
+ /**
116
+ * <p>The base64-encoded string of the content.</p>
117
+ * @public
118
+ */
119
+ data: Uint8Array | undefined;
120
+ }
3
121
  /**
4
122
  * <p>Contains information about content defined inline in text.</p>
5
123
  * @public
@@ -2311,6 +2429,10 @@ export interface ListAgentVersionsResponse {
2311
2429
  */
2312
2430
  nextToken?: string | undefined;
2313
2431
  }
2432
+ /**
2433
+ * @internal
2434
+ */
2435
+ export declare const ByteContentDocFilterSensitiveLog: (obj: ByteContentDoc) => any;
2314
2436
  /**
2315
2437
  * @internal
2316
2438
  */
@@ -5,10 +5,8 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../BedrockAgentClient";
8
- import {
9
- DeleteKnowledgeBaseDocumentsRequest,
10
- DeleteKnowledgeBaseDocumentsResponse,
11
- } from "../models/models_0";
8
+ import { DeleteKnowledgeBaseDocumentsRequest } from "../models/models_0";
9
+ import { DeleteKnowledgeBaseDocumentsResponse } from "../models/models_1";
12
10
  export { __MetadataBearer };
13
11
  export { $Command };
14
12
  export interface DeleteKnowledgeBaseDocumentsCommandInput
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  GetKnowledgeBaseDocumentsRequest,
10
10
  GetKnowledgeBaseDocumentsResponse,
11
- } from "../models/models_0";
11
+ } from "../models/models_1";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface GetKnowledgeBaseDocumentsCommandInput
@@ -384,6 +384,7 @@ export interface AgentAliasHistoryEvent {
384
384
  export declare const AgentAliasStatus: {
385
385
  readonly CREATING: "CREATING";
386
386
  readonly DELETING: "DELETING";
387
+ readonly DISSOCIATED: "DISSOCIATED";
387
388
  readonly FAILED: "FAILED";
388
389
  readonly PREPARED: "PREPARED";
389
390
  readonly UPDATING: "UPDATING";
@@ -1103,20 +1104,37 @@ export declare namespace PromptInferenceConfiguration {
1103
1104
  export interface PromptInputVariable {
1104
1105
  name?: string | undefined;
1105
1106
  }
1107
+ export declare const CachePointType: {
1108
+ readonly DEFAULT: "default";
1109
+ };
1110
+ export type CachePointType =
1111
+ (typeof CachePointType)[keyof typeof CachePointType];
1112
+ export interface CachePointBlock {
1113
+ type: CachePointType | undefined;
1114
+ }
1106
1115
  export type ContentBlock =
1116
+ | ContentBlock.CachePointMember
1107
1117
  | ContentBlock.TextMember
1108
1118
  | ContentBlock.$UnknownMember;
1109
1119
  export declare namespace ContentBlock {
1110
1120
  interface TextMember {
1111
1121
  text: string;
1122
+ cachePoint?: never;
1123
+ $unknown?: never;
1124
+ }
1125
+ interface CachePointMember {
1126
+ text?: never;
1127
+ cachePoint: CachePointBlock;
1112
1128
  $unknown?: never;
1113
1129
  }
1114
1130
  interface $UnknownMember {
1115
1131
  text?: never;
1132
+ cachePoint?: never;
1116
1133
  $unknown: [string, any];
1117
1134
  }
1118
1135
  interface Visitor<T> {
1119
1136
  text: (value: string) => T;
1137
+ cachePoint: (value: CachePointBlock) => T;
1120
1138
  _: (name: string, value: any) => T;
1121
1139
  }
1122
1140
  const visit: <T>(value: ContentBlock, visitor: Visitor<T>) => T;
@@ -1132,19 +1150,28 @@ export interface Message {
1132
1150
  content: ContentBlock[] | undefined;
1133
1151
  }
1134
1152
  export type SystemContentBlock =
1153
+ | SystemContentBlock.CachePointMember
1135
1154
  | SystemContentBlock.TextMember
1136
1155
  | SystemContentBlock.$UnknownMember;
1137
1156
  export declare namespace SystemContentBlock {
1138
1157
  interface TextMember {
1139
1158
  text: string;
1159
+ cachePoint?: never;
1160
+ $unknown?: never;
1161
+ }
1162
+ interface CachePointMember {
1163
+ text?: never;
1164
+ cachePoint: CachePointBlock;
1140
1165
  $unknown?: never;
1141
1166
  }
1142
1167
  interface $UnknownMember {
1143
1168
  text?: never;
1169
+ cachePoint?: never;
1144
1170
  $unknown: [string, any];
1145
1171
  }
1146
1172
  interface Visitor<T> {
1147
1173
  text: (value: string) => T;
1174
+ cachePoint: (value: CachePointBlock) => T;
1148
1175
  _: (name: string, value: any) => T;
1149
1176
  }
1150
1177
  const visit: <T>(value: SystemContentBlock, visitor: Visitor<T>) => T;
@@ -1215,18 +1242,29 @@ export interface ToolSpecification {
1215
1242
  description?: string | undefined;
1216
1243
  inputSchema: ToolInputSchema | undefined;
1217
1244
  }
1218
- export type Tool = Tool.ToolSpecMember | Tool.$UnknownMember;
1245
+ export type Tool =
1246
+ | Tool.CachePointMember
1247
+ | Tool.ToolSpecMember
1248
+ | Tool.$UnknownMember;
1219
1249
  export declare namespace Tool {
1220
1250
  interface ToolSpecMember {
1221
1251
  toolSpec: ToolSpecification;
1252
+ cachePoint?: never;
1253
+ $unknown?: never;
1254
+ }
1255
+ interface CachePointMember {
1256
+ toolSpec?: never;
1257
+ cachePoint: CachePointBlock;
1222
1258
  $unknown?: never;
1223
1259
  }
1224
1260
  interface $UnknownMember {
1225
1261
  toolSpec?: never;
1262
+ cachePoint?: never;
1226
1263
  $unknown: [string, any];
1227
1264
  }
1228
1265
  interface Visitor<T> {
1229
1266
  toolSpec: (value: ToolSpecification) => T;
1267
+ cachePoint: (value: CachePointBlock) => T;
1230
1268
  _: (name: string, value: any) => T;
1231
1269
  }
1232
1270
  const visit: <T>(value: Tool, visitor: Visitor<T>) => T;
@@ -1243,6 +1281,7 @@ export interface ChatPromptTemplateConfiguration {
1243
1281
  }
1244
1282
  export interface TextPromptTemplateConfiguration {
1245
1283
  text: string | undefined;
1284
+ cachePoint?: CachePointBlock | undefined;
1246
1285
  inputVariables?: PromptInputVariable[] | undefined;
1247
1286
  }
1248
1287
  export type PromptTemplateConfiguration =
@@ -1902,6 +1941,14 @@ export interface UnknownConnectionTargetFlowValidationDetails {
1902
1941
  export interface UnknownConnectionTargetInputFlowValidationDetails {
1903
1942
  connection: string | undefined;
1904
1943
  }
1944
+ export interface UnknownNodeInputFlowValidationDetails {
1945
+ node: string | undefined;
1946
+ input: string | undefined;
1947
+ }
1948
+ export interface UnknownNodeOutputFlowValidationDetails {
1949
+ node: string | undefined;
1950
+ output: string | undefined;
1951
+ }
1905
1952
  export interface UnreachableNodeFlowValidationDetails {
1906
1953
  node: string | undefined;
1907
1954
  }
@@ -1932,6 +1979,8 @@ export type FlowValidationDetails =
1932
1979
  | FlowValidationDetails.UnknownConnectionSourceOutputMember
1933
1980
  | FlowValidationDetails.UnknownConnectionTargetMember
1934
1981
  | FlowValidationDetails.UnknownConnectionTargetInputMember
1982
+ | FlowValidationDetails.UnknownNodeInputMember
1983
+ | FlowValidationDetails.UnknownNodeOutputMember
1935
1984
  | FlowValidationDetails.UnreachableNodeMember
1936
1985
  | FlowValidationDetails.UnsatisfiedConnectionConditionsMember
1937
1986
  | FlowValidationDetails.UnspecifiedMember
@@ -1963,6 +2012,8 @@ export declare namespace FlowValidationDetails {
1963
2012
  unfulfilledNodeInput?: never;
1964
2013
  unsatisfiedConnectionConditions?: never;
1965
2014
  unspecified?: never;
2015
+ unknownNodeInput?: never;
2016
+ unknownNodeOutput?: never;
1966
2017
  $unknown?: never;
1967
2018
  }
1968
2019
  interface DuplicateConnectionsMember {
@@ -1991,6 +2042,8 @@ export declare namespace FlowValidationDetails {
1991
2042
  unfulfilledNodeInput?: never;
1992
2043
  unsatisfiedConnectionConditions?: never;
1993
2044
  unspecified?: never;
2045
+ unknownNodeInput?: never;
2046
+ unknownNodeOutput?: never;
1994
2047
  $unknown?: never;
1995
2048
  }
1996
2049
  interface DuplicateConditionExpressionMember {
@@ -2019,6 +2072,8 @@ export declare namespace FlowValidationDetails {
2019
2072
  unfulfilledNodeInput?: never;
2020
2073
  unsatisfiedConnectionConditions?: never;
2021
2074
  unspecified?: never;
2075
+ unknownNodeInput?: never;
2076
+ unknownNodeOutput?: never;
2022
2077
  $unknown?: never;
2023
2078
  }
2024
2079
  interface UnreachableNodeMember {
@@ -2047,6 +2102,8 @@ export declare namespace FlowValidationDetails {
2047
2102
  unfulfilledNodeInput?: never;
2048
2103
  unsatisfiedConnectionConditions?: never;
2049
2104
  unspecified?: never;
2105
+ unknownNodeInput?: never;
2106
+ unknownNodeOutput?: never;
2050
2107
  $unknown?: never;
2051
2108
  }
2052
2109
  interface UnknownConnectionSourceMember {
@@ -2075,6 +2132,8 @@ export declare namespace FlowValidationDetails {
2075
2132
  unfulfilledNodeInput?: never;
2076
2133
  unsatisfiedConnectionConditions?: never;
2077
2134
  unspecified?: never;
2135
+ unknownNodeInput?: never;
2136
+ unknownNodeOutput?: never;
2078
2137
  $unknown?: never;
2079
2138
  }
2080
2139
  interface UnknownConnectionSourceOutputMember {
@@ -2103,6 +2162,8 @@ export declare namespace FlowValidationDetails {
2103
2162
  unfulfilledNodeInput?: never;
2104
2163
  unsatisfiedConnectionConditions?: never;
2105
2164
  unspecified?: never;
2165
+ unknownNodeInput?: never;
2166
+ unknownNodeOutput?: never;
2106
2167
  $unknown?: never;
2107
2168
  }
2108
2169
  interface UnknownConnectionTargetMember {
@@ -2131,6 +2192,8 @@ export declare namespace FlowValidationDetails {
2131
2192
  unfulfilledNodeInput?: never;
2132
2193
  unsatisfiedConnectionConditions?: never;
2133
2194
  unspecified?: never;
2195
+ unknownNodeInput?: never;
2196
+ unknownNodeOutput?: never;
2134
2197
  $unknown?: never;
2135
2198
  }
2136
2199
  interface UnknownConnectionTargetInputMember {
@@ -2159,6 +2222,8 @@ export declare namespace FlowValidationDetails {
2159
2222
  unfulfilledNodeInput?: never;
2160
2223
  unsatisfiedConnectionConditions?: never;
2161
2224
  unspecified?: never;
2225
+ unknownNodeInput?: never;
2226
+ unknownNodeOutput?: never;
2162
2227
  $unknown?: never;
2163
2228
  }
2164
2229
  interface UnknownConnectionConditionMember {
@@ -2187,6 +2252,8 @@ export declare namespace FlowValidationDetails {
2187
2252
  unfulfilledNodeInput?: never;
2188
2253
  unsatisfiedConnectionConditions?: never;
2189
2254
  unspecified?: never;
2255
+ unknownNodeInput?: never;
2256
+ unknownNodeOutput?: never;
2190
2257
  $unknown?: never;
2191
2258
  }
2192
2259
  interface MalformedConditionExpressionMember {
@@ -2215,6 +2282,8 @@ export declare namespace FlowValidationDetails {
2215
2282
  unfulfilledNodeInput?: never;
2216
2283
  unsatisfiedConnectionConditions?: never;
2217
2284
  unspecified?: never;
2285
+ unknownNodeInput?: never;
2286
+ unknownNodeOutput?: never;
2218
2287
  $unknown?: never;
2219
2288
  }
2220
2289
  interface MalformedNodeInputExpressionMember {
@@ -2243,6 +2312,8 @@ export declare namespace FlowValidationDetails {
2243
2312
  unfulfilledNodeInput?: never;
2244
2313
  unsatisfiedConnectionConditions?: never;
2245
2314
  unspecified?: never;
2315
+ unknownNodeInput?: never;
2316
+ unknownNodeOutput?: never;
2246
2317
  $unknown?: never;
2247
2318
  }
2248
2319
  interface MismatchedNodeInputTypeMember {
@@ -2271,6 +2342,8 @@ export declare namespace FlowValidationDetails {
2271
2342
  unfulfilledNodeInput?: never;
2272
2343
  unsatisfiedConnectionConditions?: never;
2273
2344
  unspecified?: never;
2345
+ unknownNodeInput?: never;
2346
+ unknownNodeOutput?: never;
2274
2347
  $unknown?: never;
2275
2348
  }
2276
2349
  interface MismatchedNodeOutputTypeMember {
@@ -2299,6 +2372,8 @@ export declare namespace FlowValidationDetails {
2299
2372
  unfulfilledNodeInput?: never;
2300
2373
  unsatisfiedConnectionConditions?: never;
2301
2374
  unspecified?: never;
2375
+ unknownNodeInput?: never;
2376
+ unknownNodeOutput?: never;
2302
2377
  $unknown?: never;
2303
2378
  }
2304
2379
  interface IncompatibleConnectionDataTypeMember {
@@ -2327,6 +2402,8 @@ export declare namespace FlowValidationDetails {
2327
2402
  unfulfilledNodeInput?: never;
2328
2403
  unsatisfiedConnectionConditions?: never;
2329
2404
  unspecified?: never;
2405
+ unknownNodeInput?: never;
2406
+ unknownNodeOutput?: never;
2330
2407
  $unknown?: never;
2331
2408
  }
2332
2409
  interface MissingConnectionConfigurationMember {
@@ -2355,6 +2432,8 @@ export declare namespace FlowValidationDetails {
2355
2432
  unfulfilledNodeInput?: never;
2356
2433
  unsatisfiedConnectionConditions?: never;
2357
2434
  unspecified?: never;
2435
+ unknownNodeInput?: never;
2436
+ unknownNodeOutput?: never;
2358
2437
  $unknown?: never;
2359
2438
  }
2360
2439
  interface MissingDefaultConditionMember {
@@ -2383,6 +2462,8 @@ export declare namespace FlowValidationDetails {
2383
2462
  unfulfilledNodeInput?: never;
2384
2463
  unsatisfiedConnectionConditions?: never;
2385
2464
  unspecified?: never;
2465
+ unknownNodeInput?: never;
2466
+ unknownNodeOutput?: never;
2386
2467
  $unknown?: never;
2387
2468
  }
2388
2469
  interface MissingEndingNodesMember {
@@ -2411,6 +2492,8 @@ export declare namespace FlowValidationDetails {
2411
2492
  unfulfilledNodeInput?: never;
2412
2493
  unsatisfiedConnectionConditions?: never;
2413
2494
  unspecified?: never;
2495
+ unknownNodeInput?: never;
2496
+ unknownNodeOutput?: never;
2414
2497
  $unknown?: never;
2415
2498
  }
2416
2499
  interface MissingNodeConfigurationMember {
@@ -2439,6 +2522,8 @@ export declare namespace FlowValidationDetails {
2439
2522
  unfulfilledNodeInput?: never;
2440
2523
  unsatisfiedConnectionConditions?: never;
2441
2524
  unspecified?: never;
2525
+ unknownNodeInput?: never;
2526
+ unknownNodeOutput?: never;
2442
2527
  $unknown?: never;
2443
2528
  }
2444
2529
  interface MissingNodeInputMember {
@@ -2467,6 +2552,8 @@ export declare namespace FlowValidationDetails {
2467
2552
  unfulfilledNodeInput?: never;
2468
2553
  unsatisfiedConnectionConditions?: never;
2469
2554
  unspecified?: never;
2555
+ unknownNodeInput?: never;
2556
+ unknownNodeOutput?: never;
2470
2557
  $unknown?: never;
2471
2558
  }
2472
2559
  interface MissingNodeOutputMember {
@@ -2495,6 +2582,8 @@ export declare namespace FlowValidationDetails {
2495
2582
  unfulfilledNodeInput?: never;
2496
2583
  unsatisfiedConnectionConditions?: never;
2497
2584
  unspecified?: never;
2585
+ unknownNodeInput?: never;
2586
+ unknownNodeOutput?: never;
2498
2587
  $unknown?: never;
2499
2588
  }
2500
2589
  interface MissingStartingNodesMember {
@@ -2523,6 +2612,8 @@ export declare namespace FlowValidationDetails {
2523
2612
  unfulfilledNodeInput?: never;
2524
2613
  unsatisfiedConnectionConditions?: never;
2525
2614
  unspecified?: never;
2615
+ unknownNodeInput?: never;
2616
+ unknownNodeOutput?: never;
2526
2617
  $unknown?: never;
2527
2618
  }
2528
2619
  interface MultipleNodeInputConnectionsMember {
@@ -2551,6 +2642,8 @@ export declare namespace FlowValidationDetails {
2551
2642
  unfulfilledNodeInput?: never;
2552
2643
  unsatisfiedConnectionConditions?: never;
2553
2644
  unspecified?: never;
2645
+ unknownNodeInput?: never;
2646
+ unknownNodeOutput?: never;
2554
2647
  $unknown?: never;
2555
2648
  }
2556
2649
  interface UnfulfilledNodeInputMember {
@@ -2579,6 +2672,8 @@ export declare namespace FlowValidationDetails {
2579
2672
  unfulfilledNodeInput: UnfulfilledNodeInputFlowValidationDetails;
2580
2673
  unsatisfiedConnectionConditions?: never;
2581
2674
  unspecified?: never;
2675
+ unknownNodeInput?: never;
2676
+ unknownNodeOutput?: never;
2582
2677
  $unknown?: never;
2583
2678
  }
2584
2679
  interface UnsatisfiedConnectionConditionsMember {
@@ -2607,6 +2702,8 @@ export declare namespace FlowValidationDetails {
2607
2702
  unfulfilledNodeInput?: never;
2608
2703
  unsatisfiedConnectionConditions: UnsatisfiedConnectionConditionsFlowValidationDetails;
2609
2704
  unspecified?: never;
2705
+ unknownNodeInput?: never;
2706
+ unknownNodeOutput?: never;
2610
2707
  $unknown?: never;
2611
2708
  }
2612
2709
  interface UnspecifiedMember {
@@ -2635,6 +2732,68 @@ export declare namespace FlowValidationDetails {
2635
2732
  unfulfilledNodeInput?: never;
2636
2733
  unsatisfiedConnectionConditions?: never;
2637
2734
  unspecified: UnspecifiedFlowValidationDetails;
2735
+ unknownNodeInput?: never;
2736
+ unknownNodeOutput?: never;
2737
+ $unknown?: never;
2738
+ }
2739
+ interface UnknownNodeInputMember {
2740
+ cyclicConnection?: never;
2741
+ duplicateConnections?: never;
2742
+ duplicateConditionExpression?: never;
2743
+ unreachableNode?: never;
2744
+ unknownConnectionSource?: never;
2745
+ unknownConnectionSourceOutput?: never;
2746
+ unknownConnectionTarget?: never;
2747
+ unknownConnectionTargetInput?: never;
2748
+ unknownConnectionCondition?: never;
2749
+ malformedConditionExpression?: never;
2750
+ malformedNodeInputExpression?: never;
2751
+ mismatchedNodeInputType?: never;
2752
+ mismatchedNodeOutputType?: never;
2753
+ incompatibleConnectionDataType?: never;
2754
+ missingConnectionConfiguration?: never;
2755
+ missingDefaultCondition?: never;
2756
+ missingEndingNodes?: never;
2757
+ missingNodeConfiguration?: never;
2758
+ missingNodeInput?: never;
2759
+ missingNodeOutput?: never;
2760
+ missingStartingNodes?: never;
2761
+ multipleNodeInputConnections?: never;
2762
+ unfulfilledNodeInput?: never;
2763
+ unsatisfiedConnectionConditions?: never;
2764
+ unspecified?: never;
2765
+ unknownNodeInput: UnknownNodeInputFlowValidationDetails;
2766
+ unknownNodeOutput?: never;
2767
+ $unknown?: never;
2768
+ }
2769
+ interface UnknownNodeOutputMember {
2770
+ cyclicConnection?: never;
2771
+ duplicateConnections?: never;
2772
+ duplicateConditionExpression?: never;
2773
+ unreachableNode?: never;
2774
+ unknownConnectionSource?: never;
2775
+ unknownConnectionSourceOutput?: never;
2776
+ unknownConnectionTarget?: never;
2777
+ unknownConnectionTargetInput?: never;
2778
+ unknownConnectionCondition?: never;
2779
+ malformedConditionExpression?: never;
2780
+ malformedNodeInputExpression?: never;
2781
+ mismatchedNodeInputType?: never;
2782
+ mismatchedNodeOutputType?: never;
2783
+ incompatibleConnectionDataType?: never;
2784
+ missingConnectionConfiguration?: never;
2785
+ missingDefaultCondition?: never;
2786
+ missingEndingNodes?: never;
2787
+ missingNodeConfiguration?: never;
2788
+ missingNodeInput?: never;
2789
+ missingNodeOutput?: never;
2790
+ missingStartingNodes?: never;
2791
+ multipleNodeInputConnections?: never;
2792
+ unfulfilledNodeInput?: never;
2793
+ unsatisfiedConnectionConditions?: never;
2794
+ unspecified?: never;
2795
+ unknownNodeInput?: never;
2796
+ unknownNodeOutput: UnknownNodeOutputFlowValidationDetails;
2638
2797
  $unknown?: never;
2639
2798
  }
2640
2799
  interface $UnknownMember {
@@ -2663,6 +2822,8 @@ export declare namespace FlowValidationDetails {
2663
2822
  unfulfilledNodeInput?: never;
2664
2823
  unsatisfiedConnectionConditions?: never;
2665
2824
  unspecified?: never;
2825
+ unknownNodeInput?: never;
2826
+ unknownNodeOutput?: never;
2666
2827
  $unknown: [string, any];
2667
2828
  }
2668
2829
  interface Visitor<T> {
@@ -2729,6 +2890,8 @@ export declare namespace FlowValidationDetails {
2729
2890
  value: UnsatisfiedConnectionConditionsFlowValidationDetails
2730
2891
  ) => T;
2731
2892
  unspecified: (value: UnspecifiedFlowValidationDetails) => T;
2893
+ unknownNodeInput: (value: UnknownNodeInputFlowValidationDetails) => T;
2894
+ unknownNodeOutput: (value: UnknownNodeOutputFlowValidationDetails) => T;
2732
2895
  _: (name: string, value: any) => T;
2733
2896
  }
2734
2897
  const visit: <T>(value: FlowValidationDetails, visitor: Visitor<T>) => T;
@@ -2762,6 +2925,8 @@ export declare const FlowValidationType: {
2762
2925
  readonly UNKNOWN_CONNECTION_SOURCE_OUTPUT: "UnknownConnectionSourceOutput";
2763
2926
  readonly UNKNOWN_CONNECTION_TARGET: "UnknownConnectionTarget";
2764
2927
  readonly UNKNOWN_CONNECTION_TARGET_INPUT: "UnknownConnectionTargetInput";
2928
+ readonly UNKNOWN_NODE_INPUT: "UnknownNodeInput";
2929
+ readonly UNKNOWN_NODE_OUTPUT: "UnknownNodeOutput";
2765
2930
  readonly UNREACHABLE_NODE: "UnreachableNode";
2766
2931
  readonly UNSATISFIED_CONNECTION_CONDITIONS: "UnsatisfiedConnectionConditions";
2767
2932
  readonly UNSPECIFIED: "Unspecified";
@@ -2985,21 +3150,6 @@ export interface KnowledgeBaseDocumentDetail {
2985
3150
  statusReason?: string | undefined;
2986
3151
  updatedAt?: Date | undefined;
2987
3152
  }
2988
- export interface DeleteKnowledgeBaseDocumentsResponse {
2989
- documentDetails?: KnowledgeBaseDocumentDetail[] | undefined;
2990
- }
2991
- export interface GetKnowledgeBaseDocumentsRequest {
2992
- knowledgeBaseId: string | undefined;
2993
- dataSourceId: string | undefined;
2994
- documentIdentifiers: DocumentIdentifier[] | undefined;
2995
- }
2996
- export interface GetKnowledgeBaseDocumentsResponse {
2997
- documentDetails?: KnowledgeBaseDocumentDetail[] | undefined;
2998
- }
2999
- export interface ByteContentDoc {
3000
- mimeType: string | undefined;
3001
- data: Uint8Array | undefined;
3002
- }
3003
3153
  export declare const APISchemaFilterSensitiveLog: (obj: APISchema) => any;
3004
3154
  export declare const CreateAgentActionGroupRequestFilterSensitiveLog: (
3005
3155
  obj: CreateAgentActionGroupRequest
@@ -3194,6 +3344,3 @@ export declare const UpdateFlowRequestFilterSensitiveLog: (
3194
3344
  export declare const UpdateFlowResponseFilterSensitiveLog: (
3195
3345
  obj: UpdateFlowResponse
3196
3346
  ) => any;
3197
- export declare const ByteContentDocFilterSensitiveLog: (
3198
- obj: ByteContentDoc
3199
- ) => any;
@@ -5,9 +5,9 @@ import {
5
5
  AgentStatus,
6
6
  AgentVersion,
7
7
  AgentVersionSummary,
8
- ByteContentDoc,
9
8
  ContentDataSourceType,
10
9
  CustomDocumentIdentifier,
10
+ DocumentIdentifier,
11
11
  FlowDefinition,
12
12
  FlowValidation,
13
13
  KnowledgeBaseDocumentDetail,
@@ -17,6 +17,21 @@ import {
17
17
  PromptTemplateType,
18
18
  S3Location,
19
19
  } from "./models_0";
20
+ export interface DeleteKnowledgeBaseDocumentsResponse {
21
+ documentDetails?: KnowledgeBaseDocumentDetail[] | undefined;
22
+ }
23
+ export interface GetKnowledgeBaseDocumentsRequest {
24
+ knowledgeBaseId: string | undefined;
25
+ dataSourceId: string | undefined;
26
+ documentIdentifiers: DocumentIdentifier[] | undefined;
27
+ }
28
+ export interface GetKnowledgeBaseDocumentsResponse {
29
+ documentDetails?: KnowledgeBaseDocumentDetail[] | undefined;
30
+ }
31
+ export interface ByteContentDoc {
32
+ mimeType: string | undefined;
33
+ data: Uint8Array | undefined;
34
+ }
20
35
  export interface TextContentDoc {
21
36
  data: string | undefined;
22
37
  }
@@ -648,6 +663,9 @@ export interface ListAgentVersionsResponse {
648
663
  agentVersionSummaries: AgentVersionSummary[] | undefined;
649
664
  nextToken?: string | undefined;
650
665
  }
666
+ export declare const ByteContentDocFilterSensitiveLog: (
667
+ obj: ByteContentDoc
668
+ ) => any;
651
669
  export declare const TextContentDocFilterSensitiveLog: (
652
670
  obj: TextContentDoc
653
671
  ) => any;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-bedrock-agent",
3
3
  "description": "AWS SDK for JavaScript Bedrock Agent Client for Node.js, Browser and React Native",
4
- "version": "3.734.0",
4
+ "version": "3.738.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-bedrock-agent",
@@ -21,7 +21,7 @@
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
23
  "@aws-sdk/core": "3.734.0",
24
- "@aws-sdk/credential-provider-node": "3.734.0",
24
+ "@aws-sdk/credential-provider-node": "3.738.0",
25
25
  "@aws-sdk/middleware-host-header": "3.734.0",
26
26
  "@aws-sdk/middleware-logger": "3.734.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.734.0",