@aws-sdk/client-bedrock-runtime 3.775.0 → 3.778.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-types/commands/ApplyGuardrailCommand.d.ts +3 -0
- package/dist-types/commands/ConverseCommand.d.ts +3 -0
- package/dist-types/commands/ConverseStreamCommand.d.ts +3 -0
- package/dist-types/commands/GetAsyncInvokeCommand.d.ts +1 -0
- package/dist-types/commands/InvokeModelCommand.d.ts +1 -0
- package/dist-types/commands/InvokeModelWithResponseStreamCommand.d.ts +1 -0
- package/dist-types/commands/ListAsyncInvokesCommand.d.ts +1 -0
- package/dist-types/commands/StartAsyncInvokeCommand.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/package.json +2 -2
|
@@ -67,6 +67,7 @@ declare const ApplyGuardrailCommand_base: {
|
|
|
67
67
|
* // sensitiveInformationPolicyUnits: Number("int"), // required
|
|
68
68
|
* // sensitiveInformationPolicyFreeUnits: Number("int"), // required
|
|
69
69
|
* // contextualGroundingPolicyUnits: Number("int"), // required
|
|
70
|
+
* // contentPolicyImageUnits: Number("int"),
|
|
70
71
|
* // },
|
|
71
72
|
* // action: "NONE" || "GUARDRAIL_INTERVENED", // required
|
|
72
73
|
* // outputs: [ // GuardrailOutputContentList // required
|
|
@@ -146,6 +147,7 @@ declare const ApplyGuardrailCommand_base: {
|
|
|
146
147
|
* // sensitiveInformationPolicyUnits: Number("int"), // required
|
|
147
148
|
* // sensitiveInformationPolicyFreeUnits: Number("int"), // required
|
|
148
149
|
* // contextualGroundingPolicyUnits: Number("int"), // required
|
|
150
|
+
* // contentPolicyImageUnits: Number("int"),
|
|
149
151
|
* // },
|
|
150
152
|
* // guardrailCoverage: { // GuardrailCoverage
|
|
151
153
|
* // textCharacters: { // GuardrailTextCharactersCoverage
|
|
@@ -206,6 +208,7 @@ declare const ApplyGuardrailCommand_base: {
|
|
|
206
208
|
* @throws {@link BedrockRuntimeServiceException}
|
|
207
209
|
* <p>Base exception class for all service exceptions from BedrockRuntime service.</p>
|
|
208
210
|
*
|
|
211
|
+
*
|
|
209
212
|
* @public
|
|
210
213
|
*/
|
|
211
214
|
export declare class ApplyGuardrailCommand extends ApplyGuardrailCommand_base {
|
|
@@ -401,6 +401,7 @@ declare const ConverseCommand_base: {
|
|
|
401
401
|
* // sensitiveInformationPolicyUnits: Number("int"), // required
|
|
402
402
|
* // sensitiveInformationPolicyFreeUnits: Number("int"), // required
|
|
403
403
|
* // contextualGroundingPolicyUnits: Number("int"), // required
|
|
404
|
+
* // contentPolicyImageUnits: Number("int"),
|
|
404
405
|
* // },
|
|
405
406
|
* // guardrailCoverage: { // GuardrailCoverage
|
|
406
407
|
* // textCharacters: { // GuardrailTextCharactersCoverage
|
|
@@ -488,6 +489,7 @@ declare const ConverseCommand_base: {
|
|
|
488
489
|
* // sensitiveInformationPolicyUnits: Number("int"), // required
|
|
489
490
|
* // sensitiveInformationPolicyFreeUnits: Number("int"), // required
|
|
490
491
|
* // contextualGroundingPolicyUnits: Number("int"), // required
|
|
492
|
+
* // contentPolicyImageUnits: Number("int"),
|
|
491
493
|
* // },
|
|
492
494
|
* // guardrailCoverage: {
|
|
493
495
|
* // textCharacters: {
|
|
@@ -560,6 +562,7 @@ declare const ConverseCommand_base: {
|
|
|
560
562
|
* @throws {@link BedrockRuntimeServiceException}
|
|
561
563
|
* <p>Base exception class for all service exceptions from BedrockRuntime service.</p>
|
|
562
564
|
*
|
|
565
|
+
*
|
|
563
566
|
* @public
|
|
564
567
|
*/
|
|
565
568
|
export declare class ConverseCommand extends ConverseCommand_base {
|
|
@@ -349,6 +349,7 @@ declare const ConverseStreamCommand_base: {
|
|
|
349
349
|
* // sensitiveInformationPolicyUnits: Number("int"), // required
|
|
350
350
|
* // sensitiveInformationPolicyFreeUnits: Number("int"), // required
|
|
351
351
|
* // contextualGroundingPolicyUnits: Number("int"), // required
|
|
352
|
+
* // contentPolicyImageUnits: Number("int"),
|
|
352
353
|
* // },
|
|
353
354
|
* // guardrailCoverage: { // GuardrailCoverage
|
|
354
355
|
* // textCharacters: { // GuardrailTextCharactersCoverage
|
|
@@ -436,6 +437,7 @@ declare const ConverseStreamCommand_base: {
|
|
|
436
437
|
* // sensitiveInformationPolicyUnits: Number("int"), // required
|
|
437
438
|
* // sensitiveInformationPolicyFreeUnits: Number("int"), // required
|
|
438
439
|
* // contextualGroundingPolicyUnits: Number("int"), // required
|
|
440
|
+
* // contentPolicyImageUnits: Number("int"),
|
|
439
441
|
* // },
|
|
440
442
|
* // guardrailCoverage: {
|
|
441
443
|
* // textCharacters: {
|
|
@@ -527,6 +529,7 @@ declare const ConverseStreamCommand_base: {
|
|
|
527
529
|
* @throws {@link BedrockRuntimeServiceException}
|
|
528
530
|
* <p>Base exception class for all service exceptions from BedrockRuntime service.</p>
|
|
529
531
|
*
|
|
532
|
+
*
|
|
530
533
|
* @public
|
|
531
534
|
*/
|
|
532
535
|
export declare class ConverseStreamCommand extends ConverseStreamCommand_base {
|
|
@@ -84,6 +84,7 @@ declare const GetAsyncInvokeCommand_base: {
|
|
|
84
84
|
* @throws {@link BedrockRuntimeServiceException}
|
|
85
85
|
* <p>Base exception class for all service exceptions from BedrockRuntime service.</p>
|
|
86
86
|
*
|
|
87
|
+
*
|
|
87
88
|
* @public
|
|
88
89
|
*/
|
|
89
90
|
export declare class GetAsyncInvokeCommand extends GetAsyncInvokeCommand_base {
|
|
@@ -128,6 +128,7 @@ declare const InvokeModelCommand_base: {
|
|
|
128
128
|
* @throws {@link BedrockRuntimeServiceException}
|
|
129
129
|
* <p>Base exception class for all service exceptions from BedrockRuntime service.</p>
|
|
130
130
|
*
|
|
131
|
+
*
|
|
131
132
|
* @public
|
|
132
133
|
*/
|
|
133
134
|
export declare class InvokeModelCommand extends InvokeModelCommand_base {
|
|
@@ -153,6 +153,7 @@ declare const InvokeModelWithResponseStreamCommand_base: {
|
|
|
153
153
|
* @throws {@link BedrockRuntimeServiceException}
|
|
154
154
|
* <p>Base exception class for all service exceptions from BedrockRuntime service.</p>
|
|
155
155
|
*
|
|
156
|
+
*
|
|
156
157
|
* @public
|
|
157
158
|
*/
|
|
158
159
|
export declare class InvokeModelWithResponseStreamCommand extends InvokeModelWithResponseStreamCommand_base {
|
|
@@ -95,6 +95,7 @@ declare const ListAsyncInvokesCommand_base: {
|
|
|
95
95
|
* @throws {@link BedrockRuntimeServiceException}
|
|
96
96
|
* <p>Base exception class for all service exceptions from BedrockRuntime service.</p>
|
|
97
97
|
*
|
|
98
|
+
*
|
|
98
99
|
* @public
|
|
99
100
|
*/
|
|
100
101
|
export declare class ListAsyncInvokesCommand extends ListAsyncInvokesCommand_base {
|
|
@@ -107,6 +107,7 @@ declare const StartAsyncInvokeCommand_base: {
|
|
|
107
107
|
* @throws {@link BedrockRuntimeServiceException}
|
|
108
108
|
* <p>Base exception class for all service exceptions from BedrockRuntime service.</p>
|
|
109
109
|
*
|
|
110
|
+
*
|
|
110
111
|
* @public
|
|
111
112
|
*/
|
|
112
113
|
export declare class StartAsyncInvokeCommand extends StartAsyncInvokeCommand_base {
|
|
@@ -826,6 +826,11 @@ export interface GuardrailUsage {
|
|
|
826
826
|
* @public
|
|
827
827
|
*/
|
|
828
828
|
contextualGroundingPolicyUnits: number | undefined;
|
|
829
|
+
/**
|
|
830
|
+
* <p>The content policy image units processed by the guardrail.</p>
|
|
831
|
+
* @public
|
|
832
|
+
*/
|
|
833
|
+
contentPolicyImageUnits?: number | undefined;
|
|
829
834
|
}
|
|
830
835
|
/**
|
|
831
836
|
* <p>The invocation metrics for the guardrail.</p>
|
|
@@ -314,6 +314,7 @@ export interface GuardrailUsage {
|
|
|
314
314
|
sensitiveInformationPolicyUnits: number | undefined;
|
|
315
315
|
sensitiveInformationPolicyFreeUnits: number | undefined;
|
|
316
316
|
contextualGroundingPolicyUnits: number | undefined;
|
|
317
|
+
contentPolicyImageUnits?: number | undefined;
|
|
317
318
|
}
|
|
318
319
|
export interface GuardrailInvocationMetrics {
|
|
319
320
|
guardrailProcessingLatency?: number | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-bedrock-runtime",
|
|
3
3
|
"description": "AWS SDK for JavaScript Bedrock Runtime Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.778.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-runtime",
|
|
@@ -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.775.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.777.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.775.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.775.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.775.0",
|