@aws-sdk/client-bedrock 3.891.0 → 3.893.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 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.891.0",
4
+ "version": "3.893.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",
@@ -20,39 +20,39 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.890.0",
24
- "@aws-sdk/credential-provider-node": "3.891.0",
25
- "@aws-sdk/middleware-host-header": "3.891.0",
26
- "@aws-sdk/middleware-logger": "3.891.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.891.0",
28
- "@aws-sdk/middleware-user-agent": "3.891.0",
29
- "@aws-sdk/region-config-resolver": "3.890.0",
30
- "@aws-sdk/token-providers": "3.891.0",
31
- "@aws-sdk/types": "3.887.0",
32
- "@aws-sdk/util-endpoints": "3.891.0",
33
- "@aws-sdk/util-user-agent-browser": "3.887.0",
34
- "@aws-sdk/util-user-agent-node": "3.891.0",
23
+ "@aws-sdk/core": "3.893.0",
24
+ "@aws-sdk/credential-provider-node": "3.893.0",
25
+ "@aws-sdk/middleware-host-header": "3.893.0",
26
+ "@aws-sdk/middleware-logger": "3.893.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.893.0",
28
+ "@aws-sdk/middleware-user-agent": "3.893.0",
29
+ "@aws-sdk/region-config-resolver": "3.893.0",
30
+ "@aws-sdk/token-providers": "3.893.0",
31
+ "@aws-sdk/types": "3.893.0",
32
+ "@aws-sdk/util-endpoints": "3.893.0",
33
+ "@aws-sdk/util-user-agent-browser": "3.893.0",
34
+ "@aws-sdk/util-user-agent-node": "3.893.0",
35
35
  "@smithy/config-resolver": "^4.2.2",
36
- "@smithy/core": "^3.11.0",
36
+ "@smithy/core": "^3.11.1",
37
37
  "@smithy/fetch-http-handler": "^5.2.1",
38
38
  "@smithy/hash-node": "^4.1.1",
39
39
  "@smithy/invalid-dependency": "^4.1.1",
40
40
  "@smithy/middleware-content-length": "^4.1.1",
41
- "@smithy/middleware-endpoint": "^4.2.2",
42
- "@smithy/middleware-retry": "^4.2.3",
41
+ "@smithy/middleware-endpoint": "^4.2.3",
42
+ "@smithy/middleware-retry": "^4.2.4",
43
43
  "@smithy/middleware-serde": "^4.1.1",
44
44
  "@smithy/middleware-stack": "^4.1.1",
45
45
  "@smithy/node-config-provider": "^4.2.2",
46
46
  "@smithy/node-http-handler": "^4.2.1",
47
47
  "@smithy/protocol-http": "^5.2.1",
48
- "@smithy/smithy-client": "^4.6.2",
48
+ "@smithy/smithy-client": "^4.6.3",
49
49
  "@smithy/types": "^4.5.0",
50
50
  "@smithy/url-parser": "^4.1.1",
51
51
  "@smithy/util-base64": "^4.1.0",
52
52
  "@smithy/util-body-length-browser": "^4.1.0",
53
53
  "@smithy/util-body-length-node": "^4.1.0",
54
- "@smithy/util-defaults-mode-browser": "^4.1.2",
55
- "@smithy/util-defaults-mode-node": "^4.1.2",
54
+ "@smithy/util-defaults-mode-browser": "^4.1.3",
55
+ "@smithy/util-defaults-mode-node": "^4.1.3",
56
56
  "@smithy/util-endpoints": "^3.1.2",
57
57
  "@smithy/util-middleware": "^4.1.1",
58
58
  "@smithy/util-retry": "^4.1.2",