@aws-sdk/client-bedrock-runtime 3.777.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 +2 -0
- package/dist-types/commands/ConverseCommand.d.ts +2 -0
- package/dist-types/commands/ConverseStreamCommand.d.ts +2 -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 +1 -1
|
@@ -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
|
|
@@ -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: {
|
|
@@ -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: {
|
|
@@ -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",
|