@aws-sdk/client-bedrock-agent 3.1023.0 → 3.1025.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.
@@ -926,6 +926,7 @@ const _sq = "sql";
926
926
  const _st = "status";
927
927
  const _sta = "statistics";
928
928
  const _sto = "storage";
929
+ const _str = "strict";
929
930
  const _sy = "system";
930
931
  const _t = "type";
931
932
  const _tC = "toolConfiguration";
@@ -2632,8 +2633,8 @@ exports.ToolConfiguration$ = [3, n0, _TC,
2632
2633
  ];
2633
2634
  exports.ToolSpecification$ = [3, n0, _TS,
2634
2635
  0,
2635
- [_n, _iSn, _d],
2636
- [0, () => exports.ToolInputSchema$, 0], 2
2636
+ [_n, _iSn, _d, _str],
2637
+ [0, () => exports.ToolInputSchema$, 0, 2], 2
2637
2638
  ];
2638
2639
  exports.Transformation$ = [3, n0, _T,
2639
2640
  0,
@@ -914,6 +914,7 @@ const _sq = "sql";
914
914
  const _st = "status";
915
915
  const _sta = "statistics";
916
916
  const _sto = "storage";
917
+ const _str = "strict";
917
918
  const _sy = "system";
918
919
  const _t = "type";
919
920
  const _tC = "toolConfiguration";
@@ -2620,8 +2621,8 @@ export var ToolConfiguration$ = [3, n0, _TC,
2620
2621
  ];
2621
2622
  export var ToolSpecification$ = [3, n0, _TS,
2622
2623
  0,
2623
- [_n, _iSn, _d],
2624
- [0, () => ToolInputSchema$, 0], 2
2624
+ [_n, _iSn, _d, _str],
2625
+ [0, () => ToolInputSchema$, 0, 2], 2
2625
2626
  ];
2626
2627
  export var Transformation$ = [3, n0, _T,
2627
2628
  0,
@@ -184,6 +184,7 @@ declare const CreateFlowCommand_base: {
184
184
  * inputSchema: { // ToolInputSchema Union: only one key present
185
185
  * json: "DOCUMENT_VALUE",
186
186
  * },
187
+ * strict: true || false,
187
188
  * },
188
189
  * cachePoint: "<CachePointBlock>",
189
190
  * },
@@ -348,6 +349,7 @@ declare const CreateFlowCommand_base: {
348
349
  * inputSchema: {// Union: only one key present
349
350
  * json: "DOCUMENT_VALUE",
350
351
  * },
352
+ * strict: true || false,
351
353
  * },
352
354
  * cachePoint: "<CachePointBlock>",
353
355
  * },
@@ -643,6 +645,7 @@ declare const CreateFlowCommand_base: {
643
645
  * // inputSchema: { // ToolInputSchema Union: only one key present
644
646
  * // json: "DOCUMENT_VALUE",
645
647
  * // },
648
+ * // strict: true || false,
646
649
  * // },
647
650
  * // cachePoint: "<CachePointBlock>",
648
651
  * // },
@@ -807,6 +810,7 @@ declare const CreateFlowCommand_base: {
807
810
  * // inputSchema: {// Union: only one key present
808
811
  * // json: "DOCUMENT_VALUE",
809
812
  * // },
813
+ * // strict: true || false,
810
814
  * // },
811
815
  * // cachePoint: "<CachePointBlock>",
812
816
  * // },
@@ -197,6 +197,7 @@ declare const CreateFlowVersionCommand_base: {
197
197
  * // inputSchema: { // ToolInputSchema Union: only one key present
198
198
  * // json: "DOCUMENT_VALUE",
199
199
  * // },
200
+ * // strict: true || false,
200
201
  * // },
201
202
  * // cachePoint: "<CachePointBlock>",
202
203
  * // },
@@ -361,6 +362,7 @@ declare const CreateFlowVersionCommand_base: {
361
362
  * // inputSchema: {// Union: only one key present
362
363
  * // json: "DOCUMENT_VALUE",
363
364
  * // },
365
+ * // strict: true || false,
364
366
  * // },
365
367
  * // cachePoint: "<CachePointBlock>",
366
368
  * // },
@@ -91,6 +91,7 @@ declare const CreatePromptCommand_base: {
91
91
  * inputSchema: { // ToolInputSchema Union: only one key present
92
92
  * json: "DOCUMENT_VALUE",
93
93
  * },
94
+ * strict: true || false,
94
95
  * },
95
96
  * cachePoint: "<CachePointBlock>",
96
97
  * },
@@ -192,6 +193,7 @@ declare const CreatePromptCommand_base: {
192
193
  * // inputSchema: { // ToolInputSchema Union: only one key present
193
194
  * // json: "DOCUMENT_VALUE",
194
195
  * // },
196
+ * // strict: true || false,
195
197
  * // },
196
198
  * // cachePoint: "<CachePointBlock>",
197
199
  * // },
@@ -101,6 +101,7 @@ declare const CreatePromptVersionCommand_base: {
101
101
  * // inputSchema: { // ToolInputSchema Union: only one key present
102
102
  * // json: "DOCUMENT_VALUE",
103
103
  * // },
104
+ * // strict: true || false,
104
105
  * // },
105
106
  * // cachePoint: "<CachePointBlock>",
106
107
  * // },
@@ -196,6 +196,7 @@ declare const GetFlowCommand_base: {
196
196
  * // inputSchema: { // ToolInputSchema Union: only one key present
197
197
  * // json: "DOCUMENT_VALUE",
198
198
  * // },
199
+ * // strict: true || false,
199
200
  * // },
200
201
  * // cachePoint: "<CachePointBlock>",
201
202
  * // },
@@ -360,6 +361,7 @@ declare const GetFlowCommand_base: {
360
361
  * // inputSchema: {// Union: only one key present
361
362
  * // json: "DOCUMENT_VALUE",
362
363
  * // },
364
+ * // strict: true || false,
363
365
  * // },
364
366
  * // cachePoint: "<CachePointBlock>",
365
367
  * // },
@@ -196,6 +196,7 @@ declare const GetFlowVersionCommand_base: {
196
196
  * // inputSchema: { // ToolInputSchema Union: only one key present
197
197
  * // json: "DOCUMENT_VALUE",
198
198
  * // },
199
+ * // strict: true || false,
199
200
  * // },
200
201
  * // cachePoint: "<CachePointBlock>",
201
202
  * // },
@@ -360,6 +361,7 @@ declare const GetFlowVersionCommand_base: {
360
361
  * // inputSchema: {// Union: only one key present
361
362
  * // json: "DOCUMENT_VALUE",
362
363
  * // },
364
+ * // strict: true || false,
363
365
  * // },
364
366
  * // cachePoint: "<CachePointBlock>",
365
367
  * // },
@@ -97,6 +97,7 @@ declare const GetPromptCommand_base: {
97
97
  * // inputSchema: { // ToolInputSchema Union: only one key present
98
98
  * // json: "DOCUMENT_VALUE",
99
99
  * // },
100
+ * // strict: true || false,
100
101
  * // },
101
102
  * // cachePoint: "<CachePointBlock>",
102
103
  * // },
@@ -184,6 +184,7 @@ declare const UpdateFlowCommand_base: {
184
184
  * inputSchema: { // ToolInputSchema Union: only one key present
185
185
  * json: "DOCUMENT_VALUE",
186
186
  * },
187
+ * strict: true || false,
187
188
  * },
188
189
  * cachePoint: "<CachePointBlock>",
189
190
  * },
@@ -348,6 +349,7 @@ declare const UpdateFlowCommand_base: {
348
349
  * inputSchema: {// Union: only one key present
349
350
  * json: "DOCUMENT_VALUE",
350
351
  * },
352
+ * strict: true || false,
351
353
  * },
352
354
  * cachePoint: "<CachePointBlock>",
353
355
  * },
@@ -640,6 +642,7 @@ declare const UpdateFlowCommand_base: {
640
642
  * // inputSchema: { // ToolInputSchema Union: only one key present
641
643
  * // json: "DOCUMENT_VALUE",
642
644
  * // },
645
+ * // strict: true || false,
643
646
  * // },
644
647
  * // cachePoint: "<CachePointBlock>",
645
648
  * // },
@@ -804,6 +807,7 @@ declare const UpdateFlowCommand_base: {
804
807
  * // inputSchema: {// Union: only one key present
805
808
  * // json: "DOCUMENT_VALUE",
806
809
  * // },
810
+ * // strict: true || false,
807
811
  * // },
808
812
  * // cachePoint: "<CachePointBlock>",
809
813
  * // },
@@ -91,6 +91,7 @@ declare const UpdatePromptCommand_base: {
91
91
  * inputSchema: { // ToolInputSchema Union: only one key present
92
92
  * json: "DOCUMENT_VALUE",
93
93
  * },
94
+ * strict: true || false,
94
95
  * },
95
96
  * cachePoint: "<CachePointBlock>",
96
97
  * },
@@ -189,6 +190,7 @@ declare const UpdatePromptCommand_base: {
189
190
  * // inputSchema: { // ToolInputSchema Union: only one key present
190
191
  * // json: "DOCUMENT_VALUE",
191
192
  * // },
193
+ * // strict: true || false,
192
194
  * // },
193
195
  * // cachePoint: "<CachePointBlock>",
194
196
  * // },
@@ -180,6 +180,7 @@ declare const ValidateFlowDefinitionCommand_base: {
180
180
  * inputSchema: { // ToolInputSchema Union: only one key present
181
181
  * json: "DOCUMENT_VALUE",
182
182
  * },
183
+ * strict: true || false,
183
184
  * },
184
185
  * cachePoint: "<CachePointBlock>",
185
186
  * },
@@ -344,6 +345,7 @@ declare const ValidateFlowDefinitionCommand_base: {
344
345
  * inputSchema: {// Union: only one key present
345
346
  * json: "DOCUMENT_VALUE",
346
347
  * },
348
+ * strict: true || false,
347
349
  * },
348
350
  * cachePoint: "<CachePointBlock>",
349
351
  * },
@@ -3805,6 +3805,11 @@ export interface ToolSpecification {
3805
3805
  * @public
3806
3806
  */
3807
3807
  inputSchema: ToolInputSchema | undefined;
3808
+ /**
3809
+ * Whether to enforce strict JSON schema adherence for the tool input
3810
+ * @public
3811
+ */
3812
+ strict?: boolean | undefined;
3808
3813
  }
3809
3814
  /**
3810
3815
  * <p>Contains configurations for a tool that a model can use when generating a response. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/tool-use.html">Use a tool to complete an Amazon Bedrock model response</a>.</p>
@@ -1143,6 +1143,7 @@ export interface ToolSpecification {
1143
1143
  name: string | undefined;
1144
1144
  description?: string | undefined;
1145
1145
  inputSchema: ToolInputSchema | undefined;
1146
+ strict?: boolean | undefined;
1146
1147
  }
1147
1148
  export type Tool =
1148
1149
  | Tool.CachePointMember
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.1023.0",
4
+ "version": "3.1025.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-bedrock-agent",