@aws-sdk/client-bedrock 3.891.0 → 3.892.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-cjs/index.js +1 -1
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +0 -1
- package/dist-types/commands/DeleteAutomatedReasoningPolicyBuildWorkflowCommand.d.ts +3 -0
- package/dist-types/commands/UpdateAutomatedReasoningPolicyTestCaseCommand.d.ts +0 -1
- package/dist-types/models/models_0.d.ts +12 -17
- package/dist-types/ts3.4/models/models_0.d.ts +6 -7
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -1673,6 +1673,7 @@ var ListAutomatedReasoningPolicyTestResultsResponseFilterSensitiveLog = /* @__PU
|
|
|
1673
1673
|
}), "ListAutomatedReasoningPolicyTestResultsResponseFilterSensitiveLog");
|
|
1674
1674
|
var AutomatedReasoningPolicyBuildWorkflowDocumentFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1675
1675
|
...obj,
|
|
1676
|
+
...obj.document && { document: import_smithy_client.SENSITIVE_STRING },
|
|
1676
1677
|
...obj.documentName && { documentName: import_smithy_client.SENSITIVE_STRING },
|
|
1677
1678
|
...obj.documentDescription && { documentDescription: import_smithy_client.SENSITIVE_STRING }
|
|
1678
1679
|
}), "AutomatedReasoningPolicyBuildWorkflowDocumentFilterSensitiveLog");
|
|
@@ -3760,7 +3761,6 @@ var se_UpdateAutomatedReasoningPolicyTestCaseCommand = /* @__PURE__ */ __name(as
|
|
|
3760
3761
|
confidenceThreshold: /* @__PURE__ */ __name((_) => (0, import_smithy_client.serializeFloat)(_), "confidenceThreshold"),
|
|
3761
3762
|
expectedAggregatedFindingsResult: [],
|
|
3762
3763
|
guardContent: [],
|
|
3763
|
-
kmsKeyArn: [],
|
|
3764
3764
|
lastUpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.serializeDateTime)(_), "lastUpdatedAt"),
|
|
3765
3765
|
queryContent: []
|
|
3766
3766
|
})
|
|
@@ -1075,6 +1075,7 @@ export const ListAutomatedReasoningPolicyTestResultsResponseFilterSensitiveLog =
|
|
|
1075
1075
|
});
|
|
1076
1076
|
export const AutomatedReasoningPolicyBuildWorkflowDocumentFilterSensitiveLog = (obj) => ({
|
|
1077
1077
|
...obj,
|
|
1078
|
+
...(obj.document && { document: SENSITIVE_STRING }),
|
|
1078
1079
|
...(obj.documentName && { documentName: SENSITIVE_STRING }),
|
|
1079
1080
|
...(obj.documentDescription && { documentDescription: SENSITIVE_STRING }),
|
|
1080
1081
|
});
|
|
@@ -1221,7 +1221,6 @@ export const se_UpdateAutomatedReasoningPolicyTestCaseCommand = async (input, co
|
|
|
1221
1221
|
confidenceThreshold: (_) => __serializeFloat(_),
|
|
1222
1222
|
expectedAggregatedFindingsResult: [],
|
|
1223
1223
|
guardContent: [],
|
|
1224
|
-
kmsKeyArn: [],
|
|
1225
1224
|
lastUpdatedAt: (_) => __serializeDateTime(_),
|
|
1226
1225
|
queryContent: [],
|
|
1227
1226
|
}));
|
|
@@ -62,6 +62,9 @@ declare const DeleteAutomatedReasoningPolicyBuildWorkflowCommand_base: {
|
|
|
62
62
|
* @throws {@link InternalServerException} (server fault)
|
|
63
63
|
* <p>An internal server error occurred. Retry your request.</p>
|
|
64
64
|
*
|
|
65
|
+
* @throws {@link ResourceInUseException} (client fault)
|
|
66
|
+
* <p>Thrown when attempting to delete or modify a resource that is currently being used by other resources or operations. For example, trying to delete an Automated Reasoning policy that is referenced by an active guardrail.</p>
|
|
67
|
+
*
|
|
65
68
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
66
69
|
* <p>The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.</p>
|
|
67
70
|
*
|
|
@@ -44,7 +44,6 @@ declare const UpdateAutomatedReasoningPolicyTestCaseCommand_base: {
|
|
|
44
44
|
* lastUpdatedAt: new Date("TIMESTAMP"), // required
|
|
45
45
|
* expectedAggregatedFindingsResult: "VALID" || "INVALID" || "SATISFIABLE" || "IMPOSSIBLE" || "TRANSLATION_AMBIGUOUS" || "TOO_COMPLEX" || "NO_TRANSLATION", // required
|
|
46
46
|
* confidenceThreshold: Number("double"),
|
|
47
|
-
* kmsKeyArn: "STRING_VALUE",
|
|
48
47
|
* clientRequestToken: "STRING_VALUE",
|
|
49
48
|
* };
|
|
50
49
|
* const command = new UpdateAutomatedReasoningPolicyTestCaseCommand(input);
|
|
@@ -540,6 +540,18 @@ export interface DeleteAutomatedReasoningPolicyBuildWorkflowRequest {
|
|
|
540
540
|
*/
|
|
541
541
|
export interface DeleteAutomatedReasoningPolicyBuildWorkflowResponse {
|
|
542
542
|
}
|
|
543
|
+
/**
|
|
544
|
+
* <p>Thrown when attempting to delete or modify a resource that is currently being used by other resources or operations. For example, trying to delete an Automated Reasoning policy that is referenced by an active guardrail.</p>
|
|
545
|
+
* @public
|
|
546
|
+
*/
|
|
547
|
+
export declare class ResourceInUseException extends __BaseException {
|
|
548
|
+
readonly name: "ResourceInUseException";
|
|
549
|
+
readonly $fault: "client";
|
|
550
|
+
/**
|
|
551
|
+
* @internal
|
|
552
|
+
*/
|
|
553
|
+
constructor(opts: __ExceptionOptionType<ResourceInUseException, __BaseException>);
|
|
554
|
+
}
|
|
543
555
|
/**
|
|
544
556
|
* @public
|
|
545
557
|
*/
|
|
@@ -565,18 +577,6 @@ export interface DeleteAutomatedReasoningPolicyTestCaseRequest {
|
|
|
565
577
|
*/
|
|
566
578
|
export interface DeleteAutomatedReasoningPolicyTestCaseResponse {
|
|
567
579
|
}
|
|
568
|
-
/**
|
|
569
|
-
* <p>Thrown when attempting to delete or modify a resource that is currently being used by other resources or operations. For example, trying to delete an Automated Reasoning policy that is referenced by an active guardrail.</p>
|
|
570
|
-
* @public
|
|
571
|
-
*/
|
|
572
|
-
export declare class ResourceInUseException extends __BaseException {
|
|
573
|
-
readonly name: "ResourceInUseException";
|
|
574
|
-
readonly $fault: "client";
|
|
575
|
-
/**
|
|
576
|
-
* @internal
|
|
577
|
-
*/
|
|
578
|
-
constructor(opts: __ExceptionOptionType<ResourceInUseException, __BaseException>);
|
|
579
|
-
}
|
|
580
580
|
/**
|
|
581
581
|
* @public
|
|
582
582
|
*/
|
|
@@ -3233,11 +3233,6 @@ export interface UpdateAutomatedReasoningPolicyTestCaseRequest {
|
|
|
3233
3233
|
* @public
|
|
3234
3234
|
*/
|
|
3235
3235
|
confidenceThreshold?: number | undefined;
|
|
3236
|
-
/**
|
|
3237
|
-
* <p>The KMS key ARN for encrypting the test at rest. If not provided, the key will not be updated. Use <code>DISCARD</code> to remove the key.</p>
|
|
3238
|
-
* @public
|
|
3239
|
-
*/
|
|
3240
|
-
kmsKeyArn?: string | undefined;
|
|
3241
3236
|
/**
|
|
3242
3237
|
* <p>A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error.</p>
|
|
3243
3238
|
* @public
|
|
@@ -173,12 +173,6 @@ export interface DeleteAutomatedReasoningPolicyBuildWorkflowRequest {
|
|
|
173
173
|
lastUpdatedAt: Date | undefined;
|
|
174
174
|
}
|
|
175
175
|
export interface DeleteAutomatedReasoningPolicyBuildWorkflowResponse {}
|
|
176
|
-
export interface DeleteAutomatedReasoningPolicyTestCaseRequest {
|
|
177
|
-
policyArn: string | undefined;
|
|
178
|
-
testCaseId: string | undefined;
|
|
179
|
-
lastUpdatedAt: Date | undefined;
|
|
180
|
-
}
|
|
181
|
-
export interface DeleteAutomatedReasoningPolicyTestCaseResponse {}
|
|
182
176
|
export declare class ResourceInUseException extends __BaseException {
|
|
183
177
|
readonly name: "ResourceInUseException";
|
|
184
178
|
readonly $fault: "client";
|
|
@@ -186,6 +180,12 @@ export declare class ResourceInUseException extends __BaseException {
|
|
|
186
180
|
opts: __ExceptionOptionType<ResourceInUseException, __BaseException>
|
|
187
181
|
);
|
|
188
182
|
}
|
|
183
|
+
export interface DeleteAutomatedReasoningPolicyTestCaseRequest {
|
|
184
|
+
policyArn: string | undefined;
|
|
185
|
+
testCaseId: string | undefined;
|
|
186
|
+
lastUpdatedAt: Date | undefined;
|
|
187
|
+
}
|
|
188
|
+
export interface DeleteAutomatedReasoningPolicyTestCaseResponse {}
|
|
189
189
|
export interface ExportAutomatedReasoningPolicyVersionRequest {
|
|
190
190
|
policyArn: string | undefined;
|
|
191
191
|
}
|
|
@@ -1392,7 +1392,6 @@ export interface UpdateAutomatedReasoningPolicyTestCaseRequest {
|
|
|
1392
1392
|
lastUpdatedAt: Date | undefined;
|
|
1393
1393
|
expectedAggregatedFindingsResult: AutomatedReasoningCheckResult | undefined;
|
|
1394
1394
|
confidenceThreshold?: number | undefined;
|
|
1395
|
-
kmsKeyArn?: string | undefined;
|
|
1396
1395
|
clientRequestToken?: string | undefined;
|
|
1397
1396
|
}
|
|
1398
1397
|
export interface UpdateAutomatedReasoningPolicyTestCaseResponse {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-bedrock",
|
|
3
3
|
"description": "AWS SDK for JavaScript Bedrock Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.892.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",
|