@aws-sdk/client-bedrock-agent 3.731.1 → 3.736.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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 +33 -33
package/dist-cjs/index.js CHANGED
@@ -43,6 +43,7 @@ __export(src_exports, {
43
43
  BedrockAgentClient: () => BedrockAgentClient,
44
44
  BedrockAgentServiceException: () => BedrockAgentServiceException,
45
45
  ByteContentDocFilterSensitiveLog: () => ByteContentDocFilterSensitiveLog,
46
+ CachePointType: () => CachePointType,
46
47
  ChatPromptTemplateConfigurationFilterSensitiveLog: () => ChatPromptTemplateConfigurationFilterSensitiveLog,
47
48
  ChunkingStrategy: () => ChunkingStrategy,
48
49
  ConditionFlowNodeConfigurationFilterSensitiveLog: () => ConditionFlowNodeConfigurationFilterSensitiveLog,
@@ -701,6 +702,7 @@ var PromptType = {
701
702
  var AgentAliasStatus = {
702
703
  CREATING: "CREATING",
703
704
  DELETING: "DELETING",
705
+ DISSOCIATED: "DISSOCIATED",
704
706
  FAILED: "FAILED",
705
707
  PREPARED: "PREPARED",
706
708
  UPDATING: "UPDATING"
@@ -793,11 +795,16 @@ var PromptInferenceConfiguration;
793
795
  return visitor._(value.$unknown[0], value.$unknown[1]);
794
796
  }, "visit");
795
797
  })(PromptInferenceConfiguration || (PromptInferenceConfiguration = {}));
798
+ var CachePointType = {
799
+ DEFAULT: "default"
800
+ };
796
801
  var ContentBlock;
797
802
  ((ContentBlock3) => {
798
803
  ContentBlock3.visit = /* @__PURE__ */ __name((value, visitor) => {
799
804
  if (value.text !== void 0)
800
805
  return visitor.text(value.text);
806
+ if (value.cachePoint !== void 0)
807
+ return visitor.cachePoint(value.cachePoint);
801
808
  return visitor._(value.$unknown[0], value.$unknown[1]);
802
809
  }, "visit");
803
810
  })(ContentBlock || (ContentBlock = {}));
@@ -810,6 +817,8 @@ var SystemContentBlock;
810
817
  SystemContentBlock3.visit = /* @__PURE__ */ __name((value, visitor) => {
811
818
  if (value.text !== void 0)
812
819
  return visitor.text(value.text);
820
+ if (value.cachePoint !== void 0)
821
+ return visitor.cachePoint(value.cachePoint);
813
822
  return visitor._(value.$unknown[0], value.$unknown[1]);
814
823
  }, "visit");
815
824
  })(SystemContentBlock || (SystemContentBlock = {}));
@@ -838,6 +847,8 @@ var Tool;
838
847
  Tool2.visit = /* @__PURE__ */ __name((value, visitor) => {
839
848
  if (value.toolSpec !== void 0)
840
849
  return visitor.toolSpec(value.toolSpec);
850
+ if (value.cachePoint !== void 0)
851
+ return visitor.cachePoint(value.cachePoint);
841
852
  return visitor._(value.$unknown[0], value.$unknown[1]);
842
853
  }, "visit");
843
854
  })(Tool || (Tool = {}));
@@ -991,6 +1002,10 @@ var FlowValidationDetails;
991
1002
  return visitor.unsatisfiedConnectionConditions(value.unsatisfiedConnectionConditions);
992
1003
  if (value.unspecified !== void 0)
993
1004
  return visitor.unspecified(value.unspecified);
1005
+ if (value.unknownNodeInput !== void 0)
1006
+ return visitor.unknownNodeInput(value.unknownNodeInput);
1007
+ if (value.unknownNodeOutput !== void 0)
1008
+ return visitor.unknownNodeOutput(value.unknownNodeOutput);
994
1009
  return visitor._(value.$unknown[0], value.$unknown[1]);
995
1010
  }, "visit");
996
1011
  })(FlowValidationDetails || (FlowValidationDetails = {}));
@@ -1021,6 +1036,8 @@ var FlowValidationType = {
1021
1036
  UNKNOWN_CONNECTION_SOURCE_OUTPUT: "UnknownConnectionSourceOutput",
1022
1037
  UNKNOWN_CONNECTION_TARGET: "UnknownConnectionTarget",
1023
1038
  UNKNOWN_CONNECTION_TARGET_INPUT: "UnknownConnectionTargetInput",
1039
+ UNKNOWN_NODE_INPUT: "UnknownNodeInput",
1040
+ UNKNOWN_NODE_OUTPUT: "UnknownNodeOutput",
1024
1041
  UNREACHABLE_NODE: "UnreachableNode",
1025
1042
  UNSATISFIED_CONNECTION_CONDITIONS: "UnsatisfiedConnectionConditions",
1026
1043
  UNSPECIFIED: "Unspecified"
@@ -1307,6 +1324,8 @@ var ConditionFlowNodeConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((o
1307
1324
  var ContentBlockFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
1308
1325
  if (obj.text !== void 0)
1309
1326
  return { text: obj.text };
1327
+ if (obj.cachePoint !== void 0)
1328
+ return { cachePoint: obj.cachePoint };
1310
1329
  if (obj.$unknown !== void 0)
1311
1330
  return { [obj.$unknown[0]]: "UNKNOWN" };
1312
1331
  }, "ContentBlockFilterSensitiveLog");
@@ -1317,6 +1336,8 @@ var MessageFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1317
1336
  var SystemContentBlockFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
1318
1337
  if (obj.text !== void 0)
1319
1338
  return { text: obj.text };
1339
+ if (obj.cachePoint !== void 0)
1340
+ return { cachePoint: obj.cachePoint };
1320
1341
  if (obj.$unknown !== void 0)
1321
1342
  return { [obj.$unknown[0]]: "UNKNOWN" };
1322
1343
  }, "SystemContentBlockFilterSensitiveLog");
@@ -1493,6 +1514,10 @@ var FlowValidationDetailsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
1493
1514
  return { unsatisfiedConnectionConditions: obj.unsatisfiedConnectionConditions };
1494
1515
  if (obj.unspecified !== void 0)
1495
1516
  return { unspecified: obj.unspecified };
1517
+ if (obj.unknownNodeInput !== void 0)
1518
+ return { unknownNodeInput: obj.unknownNodeInput };
1519
+ if (obj.unknownNodeOutput !== void 0)
1520
+ return { unknownNodeOutput: obj.unknownNodeOutput };
1496
1521
  if (obj.$unknown !== void 0)
1497
1522
  return { [obj.$unknown[0]]: "UNKNOWN" };
1498
1523
  }, "FlowValidationDetailsFilterSensitiveLog");
@@ -1513,10 +1538,6 @@ var UpdateFlowResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1513
1538
  ...obj,
1514
1539
  ...obj.definition && { definition: import_smithy_client.SENSITIVE_STRING }
1515
1540
  }), "UpdateFlowResponseFilterSensitiveLog");
1516
- var ByteContentDocFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1517
- ...obj,
1518
- ...obj.data && { data: import_smithy_client.SENSITIVE_STRING }
1519
- }), "ByteContentDocFilterSensitiveLog");
1520
1541
 
1521
1542
  // src/protocols/Aws_restJson1.ts
1522
1543
  var import_core2 = require("@aws-sdk/core");
@@ -4093,6 +4114,7 @@ var se_PromptVariantList = /* @__PURE__ */ __name((input, context) => {
4093
4114
  }, "se_PromptVariantList");
4094
4115
  var se_Tool = /* @__PURE__ */ __name((input, context) => {
4095
4116
  return Tool.visit(input, {
4117
+ cachePoint: (value) => ({ cachePoint: (0, import_smithy_client._json)(value) }),
4096
4118
  toolSpec: (value) => ({ toolSpec: se_ToolSpecification(value, context) }),
4097
4119
  _: (name, value) => ({ name: value })
4098
4120
  });
@@ -4721,6 +4743,11 @@ var de_PromptVariantList = /* @__PURE__ */ __name((output, context) => {
4721
4743
  return retVal;
4722
4744
  }, "de_PromptVariantList");
4723
4745
  var de_Tool = /* @__PURE__ */ __name((output, context) => {
4746
+ if (output.cachePoint != null) {
4747
+ return {
4748
+ cachePoint: (0, import_smithy_client._json)(output.cachePoint)
4749
+ };
4750
+ }
4724
4751
  if (output.toolSpec != null) {
4725
4752
  return {
4726
4753
  toolSpec: de_ToolSpecification(output.toolSpec, context)
@@ -4987,6 +5014,10 @@ var PromptGenAiResource;
4987
5014
  return visitor._(value.$unknown[0], value.$unknown[1]);
4988
5015
  }, "visit");
4989
5016
  })(PromptGenAiResource || (PromptGenAiResource = {}));
5017
+ var ByteContentDocFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
5018
+ ...obj,
5019
+ ...obj.data && { data: import_smithy_client.SENSITIVE_STRING }
5020
+ }), "ByteContentDocFilterSensitiveLog");
4990
5021
  var TextContentDocFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
4991
5022
  ...obj,
4992
5023
  ...obj.data && { data: import_smithy_client.SENSITIVE_STRING }
@@ -6361,6 +6392,7 @@ var paginateListPrompts = (0, import_core.createPaginator)(BedrockAgentClient, L
6361
6392
  FlowConnectionConfiguration,
6362
6393
  FlowConnectionType,
6363
6394
  PromptInferenceConfiguration,
6395
+ CachePointType,
6364
6396
  ContentBlock,
6365
6397
  ConversationRole,
6366
6398
  SystemContentBlock,
@@ -6456,7 +6488,6 @@ var paginateListPrompts = (0, import_core.createPaginator)(BedrockAgentClient, L
6456
6488
  GetFlowResponseFilterSensitiveLog,
6457
6489
  UpdateFlowRequestFilterSensitiveLog,
6458
6490
  UpdateFlowResponseFilterSensitiveLog,
6459
- ByteContentDocFilterSensitiveLog,
6460
6491
  InlineContentType,
6461
6492
  CustomSourceType,
6462
6493
  MetadataValueType,
@@ -6473,6 +6504,7 @@ var paginateListPrompts = (0, import_core.createPaginator)(BedrockAgentClient, L
6473
6504
  KnowledgeBaseStorageType,
6474
6505
  KnowledgeBaseStatus,
6475
6506
  PromptGenAiResource,
6507
+ ByteContentDocFilterSensitiveLog,
6476
6508
  TextContentDocFilterSensitiveLog,
6477
6509
  InlineContentFilterSensitiveLog,
6478
6510
  CustomContentFilterSensitiveLog,
@@ -184,6 +184,7 @@ export const PromptType = {
184
184
  export const AgentAliasStatus = {
185
185
  CREATING: "CREATING",
186
186
  DELETING: "DELETING",
187
+ DISSOCIATED: "DISSOCIATED",
187
188
  FAILED: "FAILED",
188
189
  PREPARED: "PREPARED",
189
190
  UPDATING: "UPDATING",
@@ -276,11 +277,16 @@ export var PromptInferenceConfiguration;
276
277
  return visitor._(value.$unknown[0], value.$unknown[1]);
277
278
  };
278
279
  })(PromptInferenceConfiguration || (PromptInferenceConfiguration = {}));
280
+ export const CachePointType = {
281
+ DEFAULT: "default",
282
+ };
279
283
  export var ContentBlock;
280
284
  (function (ContentBlock) {
281
285
  ContentBlock.visit = (value, visitor) => {
282
286
  if (value.text !== undefined)
283
287
  return visitor.text(value.text);
288
+ if (value.cachePoint !== undefined)
289
+ return visitor.cachePoint(value.cachePoint);
284
290
  return visitor._(value.$unknown[0], value.$unknown[1]);
285
291
  };
286
292
  })(ContentBlock || (ContentBlock = {}));
@@ -293,6 +299,8 @@ export var SystemContentBlock;
293
299
  SystemContentBlock.visit = (value, visitor) => {
294
300
  if (value.text !== undefined)
295
301
  return visitor.text(value.text);
302
+ if (value.cachePoint !== undefined)
303
+ return visitor.cachePoint(value.cachePoint);
296
304
  return visitor._(value.$unknown[0], value.$unknown[1]);
297
305
  };
298
306
  })(SystemContentBlock || (SystemContentBlock = {}));
@@ -321,6 +329,8 @@ export var Tool;
321
329
  Tool.visit = (value, visitor) => {
322
330
  if (value.toolSpec !== undefined)
323
331
  return visitor.toolSpec(value.toolSpec);
332
+ if (value.cachePoint !== undefined)
333
+ return visitor.cachePoint(value.cachePoint);
324
334
  return visitor._(value.$unknown[0], value.$unknown[1]);
325
335
  };
326
336
  })(Tool || (Tool = {}));
@@ -474,6 +484,10 @@ export var FlowValidationDetails;
474
484
  return visitor.unsatisfiedConnectionConditions(value.unsatisfiedConnectionConditions);
475
485
  if (value.unspecified !== undefined)
476
486
  return visitor.unspecified(value.unspecified);
487
+ if (value.unknownNodeInput !== undefined)
488
+ return visitor.unknownNodeInput(value.unknownNodeInput);
489
+ if (value.unknownNodeOutput !== undefined)
490
+ return visitor.unknownNodeOutput(value.unknownNodeOutput);
477
491
  return visitor._(value.$unknown[0], value.$unknown[1]);
478
492
  };
479
493
  })(FlowValidationDetails || (FlowValidationDetails = {}));
@@ -504,6 +518,8 @@ export const FlowValidationType = {
504
518
  UNKNOWN_CONNECTION_SOURCE_OUTPUT: "UnknownConnectionSourceOutput",
505
519
  UNKNOWN_CONNECTION_TARGET: "UnknownConnectionTarget",
506
520
  UNKNOWN_CONNECTION_TARGET_INPUT: "UnknownConnectionTargetInput",
521
+ UNKNOWN_NODE_INPUT: "UnknownNodeInput",
522
+ UNKNOWN_NODE_OUTPUT: "UnknownNodeOutput",
507
523
  UNREACHABLE_NODE: "UnreachableNode",
508
524
  UNSATISFIED_CONNECTION_CONDITIONS: "UnsatisfiedConnectionConditions",
509
525
  UNSPECIFIED: "Unspecified",
@@ -788,6 +804,8 @@ export const ConditionFlowNodeConfigurationFilterSensitiveLog = (obj) => ({
788
804
  export const ContentBlockFilterSensitiveLog = (obj) => {
789
805
  if (obj.text !== undefined)
790
806
  return { text: obj.text };
807
+ if (obj.cachePoint !== undefined)
808
+ return { cachePoint: obj.cachePoint };
791
809
  if (obj.$unknown !== undefined)
792
810
  return { [obj.$unknown[0]]: "UNKNOWN" };
793
811
  };
@@ -798,6 +816,8 @@ export const MessageFilterSensitiveLog = (obj) => ({
798
816
  export const SystemContentBlockFilterSensitiveLog = (obj) => {
799
817
  if (obj.text !== undefined)
800
818
  return { text: obj.text };
819
+ if (obj.cachePoint !== undefined)
820
+ return { cachePoint: obj.cachePoint };
801
821
  if (obj.$unknown !== undefined)
802
822
  return { [obj.$unknown[0]]: "UNKNOWN" };
803
823
  };
@@ -972,6 +992,10 @@ export const FlowValidationDetailsFilterSensitiveLog = (obj) => {
972
992
  return { unsatisfiedConnectionConditions: obj.unsatisfiedConnectionConditions };
973
993
  if (obj.unspecified !== undefined)
974
994
  return { unspecified: obj.unspecified };
995
+ if (obj.unknownNodeInput !== undefined)
996
+ return { unknownNodeInput: obj.unknownNodeInput };
997
+ if (obj.unknownNodeOutput !== undefined)
998
+ return { unknownNodeOutput: obj.unknownNodeOutput };
975
999
  if (obj.$unknown !== undefined)
976
1000
  return { [obj.$unknown[0]]: "UNKNOWN" };
977
1001
  };
@@ -992,7 +1016,3 @@ export const UpdateFlowResponseFilterSensitiveLog = (obj) => ({
992
1016
  ...obj,
993
1017
  ...(obj.definition && { definition: SENSITIVE_STRING }),
994
1018
  });
995
- export const ByteContentDocFilterSensitiveLog = (obj) => ({
996
- ...obj,
997
- ...(obj.data && { data: SENSITIVE_STRING }),
998
- });
@@ -1,5 +1,5 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
- import { AgentVersionFilterSensitiveLog, ByteContentDocFilterSensitiveLog, FlowValidationFilterSensitiveLog, PromptTemplateConfigurationFilterSensitiveLog, } from "./models_0";
2
+ import { AgentVersionFilterSensitiveLog, FlowValidationFilterSensitiveLog, PromptTemplateConfigurationFilterSensitiveLog, } from "./models_0";
3
3
  export const InlineContentType = {
4
4
  BYTE: "BYTE",
5
5
  TEXT: "TEXT",
@@ -77,6 +77,10 @@ export var PromptGenAiResource;
77
77
  return visitor._(value.$unknown[0], value.$unknown[1]);
78
78
  };
79
79
  })(PromptGenAiResource || (PromptGenAiResource = {}));
80
+ export const ByteContentDocFilterSensitiveLog = (obj) => ({
81
+ ...obj,
82
+ ...(obj.data && { data: SENSITIVE_STRING }),
83
+ });
80
84
  export const TextContentDocFilterSensitiveLog = (obj) => ({
81
85
  ...obj,
82
86
  ...(obj.data && { data: SENSITIVE_STRING }),
@@ -2508,6 +2508,7 @@ const se_PromptVariantList = (input, context) => {
2508
2508
  };
2509
2509
  const se_Tool = (input, context) => {
2510
2510
  return Tool.visit(input, {
2511
+ cachePoint: (value) => ({ cachePoint: _json(value) }),
2511
2512
  toolSpec: (value) => ({ toolSpec: se_ToolSpecification(value, context) }),
2512
2513
  _: (name, value) => ({ name: value }),
2513
2514
  });
@@ -3174,6 +3175,11 @@ const de_PromptVariantList = (output, context) => {
3174
3175
  return retVal;
3175
3176
  };
3176
3177
  const de_Tool = (output, context) => {
3178
+ if (output.cachePoint != null) {
3179
+ return {
3180
+ cachePoint: _json(output.cachePoint),
3181
+ };
3182
+ }
3177
3183
  if (output.toolSpec != null) {
3178
3184
  return {
3179
3185
  toolSpec: de_ToolSpecification(output.toolSpec, context),
@@ -79,7 +79,7 @@ declare const CreateAgentAliasCommand_base: {
79
79
  * // startDate: new Date("TIMESTAMP"),
80
80
  * // },
81
81
  * // ],
82
- * // agentAliasStatus: "CREATING" || "PREPARED" || "FAILED" || "UPDATING" || "DELETING", // required
82
+ * // agentAliasStatus: "CREATING" || "PREPARED" || "FAILED" || "UPDATING" || "DELETING" || "DISSOCIATED", // required
83
83
  * // failureReasons: [ // FailureReasons
84
84
  * // "STRING_VALUE",
85
85
  * // ],
@@ -77,6 +77,9 @@ declare const CreateFlowCommand_base: {
77
77
  * templateConfiguration: { // PromptTemplateConfiguration Union: only one key present
78
78
  * text: { // TextPromptTemplateConfiguration
79
79
  * text: "STRING_VALUE", // required
80
+ * cachePoint: { // CachePointBlock
81
+ * type: "default", // required
82
+ * },
80
83
  * inputVariables: [ // PromptInputVariablesList
81
84
  * { // PromptInputVariable
82
85
  * name: "STRING_VALUE",
@@ -90,6 +93,9 @@ declare const CreateFlowCommand_base: {
90
93
  * content: [ // ContentBlocks // required
91
94
  * { // ContentBlock Union: only one key present
92
95
  * text: "STRING_VALUE",
96
+ * cachePoint: {
97
+ * type: "default", // required
98
+ * },
93
99
  * },
94
100
  * ],
95
101
  * },
@@ -97,6 +103,7 @@ declare const CreateFlowCommand_base: {
97
103
  * system: [ // SystemContentBlocks
98
104
  * { // SystemContentBlock Union: only one key present
99
105
  * text: "STRING_VALUE",
106
+ * cachePoint: "<CachePointBlock>",
100
107
  * },
101
108
  * ],
102
109
  * inputVariables: [
@@ -114,6 +121,7 @@ declare const CreateFlowCommand_base: {
114
121
  * json: "DOCUMENT_VALUE",
115
122
  * },
116
123
  * },
124
+ * cachePoint: "<CachePointBlock>",
117
125
  * },
118
126
  * ],
119
127
  * toolChoice: { // ToolChoice Union: only one key present
@@ -257,6 +265,9 @@ declare const CreateFlowCommand_base: {
257
265
  * // templateConfiguration: { // PromptTemplateConfiguration Union: only one key present
258
266
  * // text: { // TextPromptTemplateConfiguration
259
267
  * // text: "STRING_VALUE", // required
268
+ * // cachePoint: { // CachePointBlock
269
+ * // type: "default", // required
270
+ * // },
260
271
  * // inputVariables: [ // PromptInputVariablesList
261
272
  * // { // PromptInputVariable
262
273
  * // name: "STRING_VALUE",
@@ -270,6 +281,9 @@ declare const CreateFlowCommand_base: {
270
281
  * // content: [ // ContentBlocks // required
271
282
  * // { // ContentBlock Union: only one key present
272
283
  * // text: "STRING_VALUE",
284
+ * // cachePoint: {
285
+ * // type: "default", // required
286
+ * // },
273
287
  * // },
274
288
  * // ],
275
289
  * // },
@@ -277,6 +291,7 @@ declare const CreateFlowCommand_base: {
277
291
  * // system: [ // SystemContentBlocks
278
292
  * // { // SystemContentBlock Union: only one key present
279
293
  * // text: "STRING_VALUE",
294
+ * // cachePoint: "<CachePointBlock>",
280
295
  * // },
281
296
  * // ],
282
297
  * // inputVariables: [
@@ -294,6 +309,7 @@ declare const CreateFlowCommand_base: {
294
309
  * // json: "DOCUMENT_VALUE",
295
310
  * // },
296
311
  * // },
312
+ * // cachePoint: "<CachePointBlock>",
297
313
  * // },
298
314
  * // ],
299
315
  * // toolChoice: { // ToolChoice Union: only one key present
@@ -89,6 +89,9 @@ declare const CreateFlowVersionCommand_base: {
89
89
  * // templateConfiguration: { // PromptTemplateConfiguration Union: only one key present
90
90
  * // text: { // TextPromptTemplateConfiguration
91
91
  * // text: "STRING_VALUE", // required
92
+ * // cachePoint: { // CachePointBlock
93
+ * // type: "default", // required
94
+ * // },
92
95
  * // inputVariables: [ // PromptInputVariablesList
93
96
  * // { // PromptInputVariable
94
97
  * // name: "STRING_VALUE",
@@ -102,6 +105,9 @@ declare const CreateFlowVersionCommand_base: {
102
105
  * // content: [ // ContentBlocks // required
103
106
  * // { // ContentBlock Union: only one key present
104
107
  * // text: "STRING_VALUE",
108
+ * // cachePoint: {
109
+ * // type: "default", // required
110
+ * // },
105
111
  * // },
106
112
  * // ],
107
113
  * // },
@@ -109,6 +115,7 @@ declare const CreateFlowVersionCommand_base: {
109
115
  * // system: [ // SystemContentBlocks
110
116
  * // { // SystemContentBlock Union: only one key present
111
117
  * // text: "STRING_VALUE",
118
+ * // cachePoint: "<CachePointBlock>",
112
119
  * // },
113
120
  * // ],
114
121
  * // inputVariables: [
@@ -126,6 +133,7 @@ declare const CreateFlowVersionCommand_base: {
126
133
  * // json: "DOCUMENT_VALUE",
127
134
  * // },
128
135
  * // },
136
+ * // cachePoint: "<CachePointBlock>",
129
137
  * // },
130
138
  * // ],
131
139
  * // toolChoice: { // ToolChoice Union: only one key present
@@ -46,6 +46,9 @@ declare const CreatePromptCommand_base: {
46
46
  * templateConfiguration: { // PromptTemplateConfiguration Union: only one key present
47
47
  * text: { // TextPromptTemplateConfiguration
48
48
  * text: "STRING_VALUE", // required
49
+ * cachePoint: { // CachePointBlock
50
+ * type: "default", // required
51
+ * },
49
52
  * inputVariables: [ // PromptInputVariablesList
50
53
  * { // PromptInputVariable
51
54
  * name: "STRING_VALUE",
@@ -59,6 +62,9 @@ declare const CreatePromptCommand_base: {
59
62
  * content: [ // ContentBlocks // required
60
63
  * { // ContentBlock Union: only one key present
61
64
  * text: "STRING_VALUE",
65
+ * cachePoint: {
66
+ * type: "default", // required
67
+ * },
62
68
  * },
63
69
  * ],
64
70
  * },
@@ -66,6 +72,7 @@ declare const CreatePromptCommand_base: {
66
72
  * system: [ // SystemContentBlocks
67
73
  * { // SystemContentBlock Union: only one key present
68
74
  * text: "STRING_VALUE",
75
+ * cachePoint: "<CachePointBlock>",
69
76
  * },
70
77
  * ],
71
78
  * inputVariables: [
@@ -83,6 +90,7 @@ declare const CreatePromptCommand_base: {
83
90
  * json: "DOCUMENT_VALUE",
84
91
  * },
85
92
  * },
93
+ * cachePoint: "<CachePointBlock>",
86
94
  * },
87
95
  * ],
88
96
  * toolChoice: { // ToolChoice Union: only one key present
@@ -139,6 +147,9 @@ declare const CreatePromptCommand_base: {
139
147
  * // templateConfiguration: { // PromptTemplateConfiguration Union: only one key present
140
148
  * // text: { // TextPromptTemplateConfiguration
141
149
  * // text: "STRING_VALUE", // required
150
+ * // cachePoint: { // CachePointBlock
151
+ * // type: "default", // required
152
+ * // },
142
153
  * // inputVariables: [ // PromptInputVariablesList
143
154
  * // { // PromptInputVariable
144
155
  * // name: "STRING_VALUE",
@@ -152,6 +163,9 @@ declare const CreatePromptCommand_base: {
152
163
  * // content: [ // ContentBlocks // required
153
164
  * // { // ContentBlock Union: only one key present
154
165
  * // text: "STRING_VALUE",
166
+ * // cachePoint: {
167
+ * // type: "default", // required
168
+ * // },
155
169
  * // },
156
170
  * // ],
157
171
  * // },
@@ -159,6 +173,7 @@ declare const CreatePromptCommand_base: {
159
173
  * // system: [ // SystemContentBlocks
160
174
  * // { // SystemContentBlock Union: only one key present
161
175
  * // text: "STRING_VALUE",
176
+ * // cachePoint: "<CachePointBlock>",
162
177
  * // },
163
178
  * // ],
164
179
  * // inputVariables: [
@@ -176,6 +191,7 @@ declare const CreatePromptCommand_base: {
176
191
  * // json: "DOCUMENT_VALUE",
177
192
  * // },
178
193
  * // },
194
+ * // cachePoint: "<CachePointBlock>",
179
195
  * // },
180
196
  * // ],
181
197
  * // toolChoice: { // ToolChoice Union: only one key present
@@ -56,6 +56,9 @@ declare const CreatePromptVersionCommand_base: {
56
56
  * // templateConfiguration: { // PromptTemplateConfiguration Union: only one key present
57
57
  * // text: { // TextPromptTemplateConfiguration
58
58
  * // text: "STRING_VALUE", // required
59
+ * // cachePoint: { // CachePointBlock
60
+ * // type: "default", // required
61
+ * // },
59
62
  * // inputVariables: [ // PromptInputVariablesList
60
63
  * // { // PromptInputVariable
61
64
  * // name: "STRING_VALUE",
@@ -69,6 +72,9 @@ declare const CreatePromptVersionCommand_base: {
69
72
  * // content: [ // ContentBlocks // required
70
73
  * // { // ContentBlock Union: only one key present
71
74
  * // text: "STRING_VALUE",
75
+ * // cachePoint: {
76
+ * // type: "default", // required
77
+ * // },
72
78
  * // },
73
79
  * // ],
74
80
  * // },
@@ -76,6 +82,7 @@ declare const CreatePromptVersionCommand_base: {
76
82
  * // system: [ // SystemContentBlocks
77
83
  * // { // SystemContentBlock Union: only one key present
78
84
  * // text: "STRING_VALUE",
85
+ * // cachePoint: "<CachePointBlock>",
79
86
  * // },
80
87
  * // ],
81
88
  * // inputVariables: [
@@ -93,6 +100,7 @@ declare const CreatePromptVersionCommand_base: {
93
100
  * // json: "DOCUMENT_VALUE",
94
101
  * // },
95
102
  * // },
103
+ * // cachePoint: "<CachePointBlock>",
96
104
  * // },
97
105
  * // ],
98
106
  * // toolChoice: { // ToolChoice Union: only one key present
@@ -43,7 +43,7 @@ declare const DeleteAgentAliasCommand_base: {
43
43
  * // { // DeleteAgentAliasResponse
44
44
  * // agentId: "STRING_VALUE", // required
45
45
  * // agentAliasId: "STRING_VALUE", // required
46
- * // agentAliasStatus: "CREATING" || "PREPARED" || "FAILED" || "UPDATING" || "DELETING", // required
46
+ * // agentAliasStatus: "CREATING" || "PREPARED" || "FAILED" || "UPDATING" || "DELETING" || "DISSOCIATED", // required
47
47
  * // };
48
48
  *
49
49
  * ```
@@ -1,7 +1,8 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentClient";
4
- import { DeleteKnowledgeBaseDocumentsRequest, DeleteKnowledgeBaseDocumentsResponse } from "../models/models_0";
4
+ import { DeleteKnowledgeBaseDocumentsRequest } from "../models/models_0";
5
+ import { DeleteKnowledgeBaseDocumentsResponse } from "../models/models_1";
5
6
  /**
6
7
  * @public
7
8
  */
@@ -68,7 +68,7 @@ declare const GetAgentAliasCommand_base: {
68
68
  * // startDate: new Date("TIMESTAMP"),
69
69
  * // },
70
70
  * // ],
71
- * // agentAliasStatus: "CREATING" || "PREPARED" || "FAILED" || "UPDATING" || "DELETING", // required
71
+ * // agentAliasStatus: "CREATING" || "PREPARED" || "FAILED" || "UPDATING" || "DELETING" || "DISSOCIATED", // required
72
72
  * // failureReasons: [ // FailureReasons
73
73
  * // "STRING_VALUE",
74
74
  * // ],
@@ -88,6 +88,9 @@ declare const GetFlowCommand_base: {
88
88
  * // templateConfiguration: { // PromptTemplateConfiguration Union: only one key present
89
89
  * // text: { // TextPromptTemplateConfiguration
90
90
  * // text: "STRING_VALUE", // required
91
+ * // cachePoint: { // CachePointBlock
92
+ * // type: "default", // required
93
+ * // },
91
94
  * // inputVariables: [ // PromptInputVariablesList
92
95
  * // { // PromptInputVariable
93
96
  * // name: "STRING_VALUE",
@@ -101,6 +104,9 @@ declare const GetFlowCommand_base: {
101
104
  * // content: [ // ContentBlocks // required
102
105
  * // { // ContentBlock Union: only one key present
103
106
  * // text: "STRING_VALUE",
107
+ * // cachePoint: {
108
+ * // type: "default", // required
109
+ * // },
104
110
  * // },
105
111
  * // ],
106
112
  * // },
@@ -108,6 +114,7 @@ declare const GetFlowCommand_base: {
108
114
  * // system: [ // SystemContentBlocks
109
115
  * // { // SystemContentBlock Union: only one key present
110
116
  * // text: "STRING_VALUE",
117
+ * // cachePoint: "<CachePointBlock>",
111
118
  * // },
112
119
  * // ],
113
120
  * // inputVariables: [
@@ -125,6 +132,7 @@ declare const GetFlowCommand_base: {
125
132
  * // json: "DOCUMENT_VALUE",
126
133
  * // },
127
134
  * // },
135
+ * // cachePoint: "<CachePointBlock>",
128
136
  * // },
129
137
  * // ],
130
138
  * // toolChoice: { // ToolChoice Union: only one key present
@@ -300,8 +308,16 @@ declare const GetFlowCommand_base: {
300
308
  * // connection: "STRING_VALUE", // required
301
309
  * // },
302
310
  * // unspecified: {},
311
+ * // unknownNodeInput: { // UnknownNodeInputFlowValidationDetails
312
+ * // node: "STRING_VALUE", // required
313
+ * // input: "STRING_VALUE", // required
314
+ * // },
315
+ * // unknownNodeOutput: { // UnknownNodeOutputFlowValidationDetails
316
+ * // node: "STRING_VALUE", // required
317
+ * // output: "STRING_VALUE", // required
318
+ * // },
303
319
  * // },
304
- * // type: "CyclicConnection" || "DuplicateConnections" || "DuplicateConditionExpression" || "UnreachableNode" || "UnknownConnectionSource" || "UnknownConnectionSourceOutput" || "UnknownConnectionTarget" || "UnknownConnectionTargetInput" || "UnknownConnectionCondition" || "MalformedConditionExpression" || "MalformedNodeInputExpression" || "MismatchedNodeInputType" || "MismatchedNodeOutputType" || "IncompatibleConnectionDataType" || "MissingConnectionConfiguration" || "MissingDefaultCondition" || "MissingEndingNodes" || "MissingNodeConfiguration" || "MissingNodeInput" || "MissingNodeOutput" || "MissingStartingNodes" || "MultipleNodeInputConnections" || "UnfulfilledNodeInput" || "UnsatisfiedConnectionConditions" || "Unspecified",
320
+ * // type: "CyclicConnection" || "DuplicateConnections" || "DuplicateConditionExpression" || "UnreachableNode" || "UnknownConnectionSource" || "UnknownConnectionSourceOutput" || "UnknownConnectionTarget" || "UnknownConnectionTargetInput" || "UnknownConnectionCondition" || "MalformedConditionExpression" || "MalformedNodeInputExpression" || "MismatchedNodeInputType" || "MismatchedNodeOutputType" || "IncompatibleConnectionDataType" || "MissingConnectionConfiguration" || "MissingDefaultCondition" || "MissingEndingNodes" || "MissingNodeConfiguration" || "MissingNodeInput" || "MissingNodeOutput" || "MissingStartingNodes" || "MultipleNodeInputConnections" || "UnfulfilledNodeInput" || "UnsatisfiedConnectionConditions" || "Unspecified" || "UnknownNodeInput" || "UnknownNodeOutput",
305
321
  * // },
306
322
  * // ],
307
323
  * // };
@@ -88,6 +88,9 @@ declare const GetFlowVersionCommand_base: {
88
88
  * // templateConfiguration: { // PromptTemplateConfiguration Union: only one key present
89
89
  * // text: { // TextPromptTemplateConfiguration
90
90
  * // text: "STRING_VALUE", // required
91
+ * // cachePoint: { // CachePointBlock
92
+ * // type: "default", // required
93
+ * // },
91
94
  * // inputVariables: [ // PromptInputVariablesList
92
95
  * // { // PromptInputVariable
93
96
  * // name: "STRING_VALUE",
@@ -101,6 +104,9 @@ declare const GetFlowVersionCommand_base: {
101
104
  * // content: [ // ContentBlocks // required
102
105
  * // { // ContentBlock Union: only one key present
103
106
  * // text: "STRING_VALUE",
107
+ * // cachePoint: {
108
+ * // type: "default", // required
109
+ * // },
104
110
  * // },
105
111
  * // ],
106
112
  * // },
@@ -108,6 +114,7 @@ declare const GetFlowVersionCommand_base: {
108
114
  * // system: [ // SystemContentBlocks
109
115
  * // { // SystemContentBlock Union: only one key present
110
116
  * // text: "STRING_VALUE",
117
+ * // cachePoint: "<CachePointBlock>",
111
118
  * // },
112
119
  * // ],
113
120
  * // inputVariables: [
@@ -125,6 +132,7 @@ declare const GetFlowVersionCommand_base: {
125
132
  * // json: "DOCUMENT_VALUE",
126
133
  * // },
127
134
  * // },
135
+ * // cachePoint: "<CachePointBlock>",
128
136
  * // },
129
137
  * // ],
130
138
  * // toolChoice: { // ToolChoice Union: only one key present
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentClient";
4
- import { GetKnowledgeBaseDocumentsRequest, GetKnowledgeBaseDocumentsResponse } from "../models/models_0";
4
+ import { GetKnowledgeBaseDocumentsRequest, GetKnowledgeBaseDocumentsResponse } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */