@aws-sdk/client-bedrock 3.859.0 → 3.861.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.
Files changed (192) hide show
  1. package/README.md +192 -0
  2. package/dist-cjs/index.js +2684 -369
  3. package/dist-es/Bedrock.js +48 -0
  4. package/dist-es/commands/CancelAutomatedReasoningPolicyBuildWorkflowCommand.js +22 -0
  5. package/dist-es/commands/CreateAutomatedReasoningPolicyCommand.js +23 -0
  6. package/dist-es/commands/CreateAutomatedReasoningPolicyTestCaseCommand.js +23 -0
  7. package/dist-es/commands/CreateAutomatedReasoningPolicyVersionCommand.js +23 -0
  8. package/dist-es/commands/CreateGuardrailCommand.js +1 -1
  9. package/dist-es/commands/CreateGuardrailVersionCommand.js +1 -1
  10. package/dist-es/commands/CreateInferenceProfileCommand.js +1 -1
  11. package/dist-es/commands/CreatePromptRouterCommand.js +1 -1
  12. package/dist-es/commands/DeleteAutomatedReasoningPolicyBuildWorkflowCommand.js +22 -0
  13. package/dist-es/commands/DeleteAutomatedReasoningPolicyCommand.js +22 -0
  14. package/dist-es/commands/DeleteAutomatedReasoningPolicyTestCaseCommand.js +22 -0
  15. package/dist-es/commands/ExportAutomatedReasoningPolicyVersionCommand.js +23 -0
  16. package/dist-es/commands/GetAutomatedReasoningPolicyAnnotationsCommand.js +23 -0
  17. package/dist-es/commands/GetAutomatedReasoningPolicyBuildWorkflowCommand.js +23 -0
  18. package/dist-es/commands/GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommand.js +23 -0
  19. package/dist-es/commands/GetAutomatedReasoningPolicyCommand.js +23 -0
  20. package/dist-es/commands/GetAutomatedReasoningPolicyNextScenarioCommand.js +23 -0
  21. package/dist-es/commands/GetAutomatedReasoningPolicyTestCaseCommand.js +23 -0
  22. package/dist-es/commands/GetAutomatedReasoningPolicyTestResultCommand.js +23 -0
  23. package/dist-es/commands/GetGuardrailCommand.js +1 -1
  24. package/dist-es/commands/GetInferenceProfileCommand.js +1 -1
  25. package/dist-es/commands/GetModelInvocationJobCommand.js +1 -1
  26. package/dist-es/commands/GetPromptRouterCommand.js +1 -1
  27. package/dist-es/commands/ListAutomatedReasoningPoliciesCommand.js +23 -0
  28. package/dist-es/commands/ListAutomatedReasoningPolicyBuildWorkflowsCommand.js +22 -0
  29. package/dist-es/commands/ListAutomatedReasoningPolicyTestCasesCommand.js +23 -0
  30. package/dist-es/commands/ListAutomatedReasoningPolicyTestResultsCommand.js +23 -0
  31. package/dist-es/commands/ListGuardrailsCommand.js +1 -1
  32. package/dist-es/commands/ListInferenceProfilesCommand.js +1 -1
  33. package/dist-es/commands/ListModelInvocationJobsCommand.js +1 -1
  34. package/dist-es/commands/ListPromptRoutersCommand.js +1 -1
  35. package/dist-es/commands/StartAutomatedReasoningPolicyBuildWorkflowCommand.js +23 -0
  36. package/dist-es/commands/StartAutomatedReasoningPolicyTestWorkflowCommand.js +22 -0
  37. package/dist-es/commands/UpdateAutomatedReasoningPolicyAnnotationsCommand.js +23 -0
  38. package/dist-es/commands/UpdateAutomatedReasoningPolicyCommand.js +23 -0
  39. package/dist-es/commands/UpdateAutomatedReasoningPolicyTestCaseCommand.js +23 -0
  40. package/dist-es/commands/UpdateGuardrailCommand.js +1 -1
  41. package/dist-es/commands/index.js +24 -0
  42. package/dist-es/models/models_0.js +742 -315
  43. package/dist-es/models/models_1.js +300 -1
  44. package/dist-es/pagination/ListAutomatedReasoningPoliciesPaginator.js +4 -0
  45. package/dist-es/pagination/ListAutomatedReasoningPolicyBuildWorkflowsPaginator.js +4 -0
  46. package/dist-es/pagination/ListAutomatedReasoningPolicyTestCasesPaginator.js +4 -0
  47. package/dist-es/pagination/ListAutomatedReasoningPolicyTestResultsPaginator.js +4 -0
  48. package/dist-es/pagination/index.js +4 -0
  49. package/dist-es/protocols/Aws_restJson1.js +997 -31
  50. package/dist-types/Bedrock.d.ts +169 -0
  51. package/dist-types/BedrockClient.d.ts +26 -2
  52. package/dist-types/commands/CancelAutomatedReasoningPolicyBuildWorkflowCommand.d.ts +86 -0
  53. package/dist-types/commands/CreateAutomatedReasoningPolicyCommand.d.ts +139 -0
  54. package/dist-types/commands/CreateAutomatedReasoningPolicyTestCaseCommand.d.ts +99 -0
  55. package/dist-types/commands/CreateAutomatedReasoningPolicyVersionCommand.d.ts +106 -0
  56. package/dist-types/commands/CreateGuardrailCommand.d.ts +7 -1
  57. package/dist-types/commands/CreateGuardrailVersionCommand.d.ts +1 -1
  58. package/dist-types/commands/CreateInferenceProfileCommand.d.ts +1 -1
  59. package/dist-types/commands/CreateModelCopyJobCommand.d.ts +1 -1
  60. package/dist-types/commands/CreateModelImportJobCommand.d.ts +1 -1
  61. package/dist-types/commands/CreateModelInvocationJobCommand.d.ts +1 -1
  62. package/dist-types/commands/CreatePromptRouterCommand.d.ts +1 -1
  63. package/dist-types/commands/CreateProvisionedModelThroughputCommand.d.ts +1 -1
  64. package/dist-types/commands/DeleteAutomatedReasoningPolicyBuildWorkflowCommand.d.ts +90 -0
  65. package/dist-types/commands/DeleteAutomatedReasoningPolicyCommand.d.ts +85 -0
  66. package/dist-types/commands/DeleteAutomatedReasoningPolicyTestCaseCommand.d.ts +93 -0
  67. package/dist-types/commands/DeleteGuardrailCommand.d.ts +1 -1
  68. package/dist-types/commands/DeleteImportedModelCommand.d.ts +1 -1
  69. package/dist-types/commands/DeleteInferenceProfileCommand.d.ts +1 -1
  70. package/dist-types/commands/DeleteModelInvocationLoggingConfigurationCommand.d.ts +1 -1
  71. package/dist-types/commands/DeletePromptRouterCommand.d.ts +1 -1
  72. package/dist-types/commands/DeleteProvisionedModelThroughputCommand.d.ts +1 -1
  73. package/dist-types/commands/ExportAutomatedReasoningPolicyVersionCommand.d.ts +115 -0
  74. package/dist-types/commands/GetAutomatedReasoningPolicyAnnotationsCommand.d.ts +172 -0
  75. package/dist-types/commands/GetAutomatedReasoningPolicyBuildWorkflowCommand.d.ts +96 -0
  76. package/dist-types/commands/GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommand.d.ts +307 -0
  77. package/dist-types/commands/GetAutomatedReasoningPolicyCommand.d.ts +94 -0
  78. package/dist-types/commands/GetAutomatedReasoningPolicyNextScenarioCommand.d.ts +96 -0
  79. package/dist-types/commands/GetAutomatedReasoningPolicyTestCaseCommand.d.ts +97 -0
  80. package/dist-types/commands/GetAutomatedReasoningPolicyTestResultCommand.d.ts +258 -0
  81. package/dist-types/commands/GetFoundationModelCommand.d.ts +1 -1
  82. package/dist-types/commands/GetGuardrailCommand.d.ts +7 -1
  83. package/dist-types/commands/GetImportedModelCommand.d.ts +1 -1
  84. package/dist-types/commands/GetInferenceProfileCommand.d.ts +1 -1
  85. package/dist-types/commands/GetModelCopyJobCommand.d.ts +1 -1
  86. package/dist-types/commands/GetModelImportJobCommand.d.ts +1 -1
  87. package/dist-types/commands/GetModelInvocationJobCommand.d.ts +1 -1
  88. package/dist-types/commands/GetModelInvocationLoggingConfigurationCommand.d.ts +1 -1
  89. package/dist-types/commands/GetPromptRouterCommand.d.ts +1 -1
  90. package/dist-types/commands/GetProvisionedModelThroughputCommand.d.ts +1 -1
  91. package/dist-types/commands/ListAutomatedReasoningPoliciesCommand.d.ts +100 -0
  92. package/dist-types/commands/ListAutomatedReasoningPolicyBuildWorkflowsCommand.d.ts +99 -0
  93. package/dist-types/commands/ListAutomatedReasoningPolicyTestCasesCommand.d.ts +100 -0
  94. package/dist-types/commands/ListAutomatedReasoningPolicyTestResultsCommand.d.ts +265 -0
  95. package/dist-types/commands/ListFoundationModelsCommand.d.ts +1 -1
  96. package/dist-types/commands/ListGuardrailsCommand.d.ts +1 -1
  97. package/dist-types/commands/ListImportedModelsCommand.d.ts +1 -1
  98. package/dist-types/commands/ListInferenceProfilesCommand.d.ts +1 -1
  99. package/dist-types/commands/ListModelCopyJobsCommand.d.ts +1 -1
  100. package/dist-types/commands/ListModelImportJobsCommand.d.ts +1 -1
  101. package/dist-types/commands/ListModelInvocationJobsCommand.d.ts +1 -1
  102. package/dist-types/commands/ListPromptRoutersCommand.d.ts +1 -1
  103. package/dist-types/commands/ListProvisionedModelThroughputsCommand.d.ts +1 -2
  104. package/dist-types/commands/PutModelInvocationLoggingConfigurationCommand.d.ts +1 -1
  105. package/dist-types/commands/StartAutomatedReasoningPolicyBuildWorkflowCommand.d.ts +222 -0
  106. package/dist-types/commands/StartAutomatedReasoningPolicyTestWorkflowCommand.d.ts +95 -0
  107. package/dist-types/commands/StopModelInvocationJobCommand.d.ts +1 -1
  108. package/dist-types/commands/UpdateAutomatedReasoningPolicyAnnotationsCommand.d.ts +175 -0
  109. package/dist-types/commands/UpdateAutomatedReasoningPolicyCommand.d.ts +127 -0
  110. package/dist-types/commands/UpdateAutomatedReasoningPolicyTestCaseCommand.d.ts +102 -0
  111. package/dist-types/commands/UpdateGuardrailCommand.d.ts +7 -1
  112. package/dist-types/commands/index.d.ts +24 -0
  113. package/dist-types/models/models_0.d.ts +3899 -3774
  114. package/dist-types/models/models_1.d.ts +3320 -1
  115. package/dist-types/pagination/ListAutomatedReasoningPoliciesPaginator.d.ts +7 -0
  116. package/dist-types/pagination/ListAutomatedReasoningPolicyBuildWorkflowsPaginator.d.ts +7 -0
  117. package/dist-types/pagination/ListAutomatedReasoningPolicyTestCasesPaginator.d.ts +7 -0
  118. package/dist-types/pagination/ListAutomatedReasoningPolicyTestResultsPaginator.d.ts +7 -0
  119. package/dist-types/pagination/index.d.ts +4 -0
  120. package/dist-types/protocols/Aws_restJson1.d.ts +216 -0
  121. package/dist-types/ts3.4/Bedrock.d.ts +523 -0
  122. package/dist-types/ts3.4/BedrockClient.d.ts +144 -0
  123. package/dist-types/ts3.4/commands/CancelAutomatedReasoningPolicyBuildWorkflowCommand.d.ts +51 -0
  124. package/dist-types/ts3.4/commands/CreateAutomatedReasoningPolicyCommand.d.ts +51 -0
  125. package/dist-types/ts3.4/commands/CreateAutomatedReasoningPolicyTestCaseCommand.d.ts +51 -0
  126. package/dist-types/ts3.4/commands/CreateAutomatedReasoningPolicyVersionCommand.d.ts +51 -0
  127. package/dist-types/ts3.4/commands/CreateGuardrailCommand.d.ts +1 -1
  128. package/dist-types/ts3.4/commands/CreateGuardrailVersionCommand.d.ts +1 -1
  129. package/dist-types/ts3.4/commands/CreateInferenceProfileCommand.d.ts +1 -1
  130. package/dist-types/ts3.4/commands/CreateModelCopyJobCommand.d.ts +1 -1
  131. package/dist-types/ts3.4/commands/CreateModelImportJobCommand.d.ts +1 -1
  132. package/dist-types/ts3.4/commands/CreateModelInvocationJobCommand.d.ts +1 -1
  133. package/dist-types/ts3.4/commands/CreatePromptRouterCommand.d.ts +1 -1
  134. package/dist-types/ts3.4/commands/CreateProvisionedModelThroughputCommand.d.ts +1 -1
  135. package/dist-types/ts3.4/commands/DeleteAutomatedReasoningPolicyBuildWorkflowCommand.d.ts +51 -0
  136. package/dist-types/ts3.4/commands/DeleteAutomatedReasoningPolicyCommand.d.ts +51 -0
  137. package/dist-types/ts3.4/commands/DeleteAutomatedReasoningPolicyTestCaseCommand.d.ts +51 -0
  138. package/dist-types/ts3.4/commands/DeleteGuardrailCommand.d.ts +1 -1
  139. package/dist-types/ts3.4/commands/DeleteImportedModelCommand.d.ts +1 -1
  140. package/dist-types/ts3.4/commands/DeleteInferenceProfileCommand.d.ts +1 -1
  141. package/dist-types/ts3.4/commands/DeleteModelInvocationLoggingConfigurationCommand.d.ts +1 -1
  142. package/dist-types/ts3.4/commands/DeletePromptRouterCommand.d.ts +1 -1
  143. package/dist-types/ts3.4/commands/DeleteProvisionedModelThroughputCommand.d.ts +1 -1
  144. package/dist-types/ts3.4/commands/ExportAutomatedReasoningPolicyVersionCommand.d.ts +51 -0
  145. package/dist-types/ts3.4/commands/GetAutomatedReasoningPolicyAnnotationsCommand.d.ts +51 -0
  146. package/dist-types/ts3.4/commands/GetAutomatedReasoningPolicyBuildWorkflowCommand.d.ts +51 -0
  147. package/dist-types/ts3.4/commands/GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommand.d.ts +51 -0
  148. package/dist-types/ts3.4/commands/GetAutomatedReasoningPolicyCommand.d.ts +51 -0
  149. package/dist-types/ts3.4/commands/GetAutomatedReasoningPolicyNextScenarioCommand.d.ts +51 -0
  150. package/dist-types/ts3.4/commands/GetAutomatedReasoningPolicyTestCaseCommand.d.ts +51 -0
  151. package/dist-types/ts3.4/commands/GetAutomatedReasoningPolicyTestResultCommand.d.ts +51 -0
  152. package/dist-types/ts3.4/commands/GetFoundationModelCommand.d.ts +1 -1
  153. package/dist-types/ts3.4/commands/GetGuardrailCommand.d.ts +1 -1
  154. package/dist-types/ts3.4/commands/GetImportedModelCommand.d.ts +1 -1
  155. package/dist-types/ts3.4/commands/GetInferenceProfileCommand.d.ts +1 -1
  156. package/dist-types/ts3.4/commands/GetModelCopyJobCommand.d.ts +1 -1
  157. package/dist-types/ts3.4/commands/GetModelImportJobCommand.d.ts +1 -1
  158. package/dist-types/ts3.4/commands/GetModelInvocationJobCommand.d.ts +1 -1
  159. package/dist-types/ts3.4/commands/GetModelInvocationLoggingConfigurationCommand.d.ts +1 -1
  160. package/dist-types/ts3.4/commands/GetPromptRouterCommand.d.ts +1 -1
  161. package/dist-types/ts3.4/commands/GetProvisionedModelThroughputCommand.d.ts +1 -1
  162. package/dist-types/ts3.4/commands/ListAutomatedReasoningPoliciesCommand.d.ts +51 -0
  163. package/dist-types/ts3.4/commands/ListAutomatedReasoningPolicyBuildWorkflowsCommand.d.ts +51 -0
  164. package/dist-types/ts3.4/commands/ListAutomatedReasoningPolicyTestCasesCommand.d.ts +51 -0
  165. package/dist-types/ts3.4/commands/ListAutomatedReasoningPolicyTestResultsCommand.d.ts +51 -0
  166. package/dist-types/ts3.4/commands/ListFoundationModelsCommand.d.ts +1 -1
  167. package/dist-types/ts3.4/commands/ListGuardrailsCommand.d.ts +1 -1
  168. package/dist-types/ts3.4/commands/ListImportedModelsCommand.d.ts +1 -1
  169. package/dist-types/ts3.4/commands/ListInferenceProfilesCommand.d.ts +1 -1
  170. package/dist-types/ts3.4/commands/ListModelCopyJobsCommand.d.ts +1 -1
  171. package/dist-types/ts3.4/commands/ListModelImportJobsCommand.d.ts +1 -1
  172. package/dist-types/ts3.4/commands/ListModelInvocationJobsCommand.d.ts +1 -1
  173. package/dist-types/ts3.4/commands/ListPromptRoutersCommand.d.ts +1 -1
  174. package/dist-types/ts3.4/commands/ListProvisionedModelThroughputsCommand.d.ts +4 -2
  175. package/dist-types/ts3.4/commands/PutModelInvocationLoggingConfigurationCommand.d.ts +1 -1
  176. package/dist-types/ts3.4/commands/StartAutomatedReasoningPolicyBuildWorkflowCommand.d.ts +51 -0
  177. package/dist-types/ts3.4/commands/StartAutomatedReasoningPolicyTestWorkflowCommand.d.ts +51 -0
  178. package/dist-types/ts3.4/commands/StopModelInvocationJobCommand.d.ts +1 -1
  179. package/dist-types/ts3.4/commands/UpdateAutomatedReasoningPolicyAnnotationsCommand.d.ts +51 -0
  180. package/dist-types/ts3.4/commands/UpdateAutomatedReasoningPolicyCommand.d.ts +51 -0
  181. package/dist-types/ts3.4/commands/UpdateAutomatedReasoningPolicyTestCaseCommand.d.ts +51 -0
  182. package/dist-types/ts3.4/commands/UpdateGuardrailCommand.d.ts +1 -1
  183. package/dist-types/ts3.4/commands/index.d.ts +24 -0
  184. package/dist-types/ts3.4/models/models_0.d.ts +2324 -1702
  185. package/dist-types/ts3.4/models/models_1.d.ts +970 -2
  186. package/dist-types/ts3.4/pagination/ListAutomatedReasoningPoliciesPaginator.d.ts +11 -0
  187. package/dist-types/ts3.4/pagination/ListAutomatedReasoningPolicyBuildWorkflowsPaginator.d.ts +11 -0
  188. package/dist-types/ts3.4/pagination/ListAutomatedReasoningPolicyTestCasesPaginator.d.ts +11 -0
  189. package/dist-types/ts3.4/pagination/ListAutomatedReasoningPolicyTestResultsPaginator.d.ts +11 -0
  190. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  191. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +288 -0
  192. package/package.json +1 -1
@@ -0,0 +1,100 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
4
+ import { ListAutomatedReasoningPolicyTestCasesRequest, ListAutomatedReasoningPolicyTestCasesResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListAutomatedReasoningPolicyTestCasesCommand}.
14
+ */
15
+ export interface ListAutomatedReasoningPolicyTestCasesCommandInput extends ListAutomatedReasoningPolicyTestCasesRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListAutomatedReasoningPolicyTestCasesCommand}.
21
+ */
22
+ export interface ListAutomatedReasoningPolicyTestCasesCommandOutput extends ListAutomatedReasoningPolicyTestCasesResponse, __MetadataBearer {
23
+ }
24
+ declare const ListAutomatedReasoningPolicyTestCasesCommand_base: {
25
+ new (input: ListAutomatedReasoningPolicyTestCasesCommandInput): import("@smithy/smithy-client").CommandImpl<ListAutomatedReasoningPolicyTestCasesCommandInput, ListAutomatedReasoningPolicyTestCasesCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListAutomatedReasoningPolicyTestCasesCommandInput): import("@smithy/smithy-client").CommandImpl<ListAutomatedReasoningPolicyTestCasesCommandInput, ListAutomatedReasoningPolicyTestCasesCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Lists tests for an Automated Reasoning policy. We recommend using pagination to ensure that the operation returns quickly and successfully.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { BedrockClient, ListAutomatedReasoningPolicyTestCasesCommand } from "@aws-sdk/client-bedrock"; // ES Modules import
35
+ * // const { BedrockClient, ListAutomatedReasoningPolicyTestCasesCommand } = require("@aws-sdk/client-bedrock"); // CommonJS import
36
+ * const client = new BedrockClient(config);
37
+ * const input = { // ListAutomatedReasoningPolicyTestCasesRequest
38
+ * policyArn: "STRING_VALUE", // required
39
+ * nextToken: "STRING_VALUE",
40
+ * maxResults: Number("int"),
41
+ * };
42
+ * const command = new ListAutomatedReasoningPolicyTestCasesCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // ListAutomatedReasoningPolicyTestCasesResponse
45
+ * // testCases: [ // AutomatedReasoningPolicyTestCaseList // required
46
+ * // { // AutomatedReasoningPolicyTestCase
47
+ * // testCaseId: "STRING_VALUE", // required
48
+ * // guardContent: "STRING_VALUE", // required
49
+ * // queryContent: "STRING_VALUE",
50
+ * // expectedAggregatedFindingsResult: "VALID" || "INVALID" || "SATISFIABLE" || "IMPOSSIBLE" || "TRANSLATION_AMBIGUOUS" || "TOO_COMPLEX" || "NO_TRANSLATION",
51
+ * // createdAt: new Date("TIMESTAMP"), // required
52
+ * // updatedAt: new Date("TIMESTAMP"), // required
53
+ * // confidenceThreshold: Number("double"),
54
+ * // },
55
+ * // ],
56
+ * // nextToken: "STRING_VALUE",
57
+ * // };
58
+ *
59
+ * ```
60
+ *
61
+ * @param ListAutomatedReasoningPolicyTestCasesCommandInput - {@link ListAutomatedReasoningPolicyTestCasesCommandInput}
62
+ * @returns {@link ListAutomatedReasoningPolicyTestCasesCommandOutput}
63
+ * @see {@link ListAutomatedReasoningPolicyTestCasesCommandInput} for command's `input` shape.
64
+ * @see {@link ListAutomatedReasoningPolicyTestCasesCommandOutput} for command's `response` shape.
65
+ * @see {@link BedrockClientResolvedConfig | config} for BedrockClient's `config` shape.
66
+ *
67
+ * @throws {@link AccessDeniedException} (client fault)
68
+ * <p>The request is denied because of missing access permissions.</p>
69
+ *
70
+ * @throws {@link InternalServerException} (server fault)
71
+ * <p>An internal server error occurred. Retry your request.</p>
72
+ *
73
+ * @throws {@link ResourceNotFoundException} (client fault)
74
+ * <p>The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.</p>
75
+ *
76
+ * @throws {@link ThrottlingException} (client fault)
77
+ * <p>The number of requests exceeds the limit. Resubmit your request later.</p>
78
+ *
79
+ * @throws {@link ValidationException} (client fault)
80
+ * <p>Input validation failed. Check your request parameters and retry the request.</p>
81
+ *
82
+ * @throws {@link BedrockServiceException}
83
+ * <p>Base exception class for all service exceptions from Bedrock service.</p>
84
+ *
85
+ *
86
+ * @public
87
+ */
88
+ export declare class ListAutomatedReasoningPolicyTestCasesCommand extends ListAutomatedReasoningPolicyTestCasesCommand_base {
89
+ /** @internal type navigation helper, not in runtime. */
90
+ protected static __types: {
91
+ api: {
92
+ input: ListAutomatedReasoningPolicyTestCasesRequest;
93
+ output: ListAutomatedReasoningPolicyTestCasesResponse;
94
+ };
95
+ sdk: {
96
+ input: ListAutomatedReasoningPolicyTestCasesCommandInput;
97
+ output: ListAutomatedReasoningPolicyTestCasesCommandOutput;
98
+ };
99
+ };
100
+ }
@@ -0,0 +1,265 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
4
+ import { ListAutomatedReasoningPolicyTestResultsRequest, ListAutomatedReasoningPolicyTestResultsResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListAutomatedReasoningPolicyTestResultsCommand}.
14
+ */
15
+ export interface ListAutomatedReasoningPolicyTestResultsCommandInput extends ListAutomatedReasoningPolicyTestResultsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListAutomatedReasoningPolicyTestResultsCommand}.
21
+ */
22
+ export interface ListAutomatedReasoningPolicyTestResultsCommandOutput extends ListAutomatedReasoningPolicyTestResultsResponse, __MetadataBearer {
23
+ }
24
+ declare const ListAutomatedReasoningPolicyTestResultsCommand_base: {
25
+ new (input: ListAutomatedReasoningPolicyTestResultsCommandInput): import("@smithy/smithy-client").CommandImpl<ListAutomatedReasoningPolicyTestResultsCommandInput, ListAutomatedReasoningPolicyTestResultsCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListAutomatedReasoningPolicyTestResultsCommandInput): import("@smithy/smithy-client").CommandImpl<ListAutomatedReasoningPolicyTestResultsCommandInput, ListAutomatedReasoningPolicyTestResultsCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Lists test results for an Automated Reasoning policy, showing how the policy performed against various test scenarios and validation checks.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { BedrockClient, ListAutomatedReasoningPolicyTestResultsCommand } from "@aws-sdk/client-bedrock"; // ES Modules import
35
+ * // const { BedrockClient, ListAutomatedReasoningPolicyTestResultsCommand } = require("@aws-sdk/client-bedrock"); // CommonJS import
36
+ * const client = new BedrockClient(config);
37
+ * const input = { // ListAutomatedReasoningPolicyTestResultsRequest
38
+ * policyArn: "STRING_VALUE", // required
39
+ * buildWorkflowId: "STRING_VALUE", // required
40
+ * nextToken: "STRING_VALUE",
41
+ * maxResults: Number("int"),
42
+ * };
43
+ * const command = new ListAutomatedReasoningPolicyTestResultsCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // ListAutomatedReasoningPolicyTestResultsResponse
46
+ * // testResults: [ // AutomatedReasoningPolicyTestList // required
47
+ * // { // AutomatedReasoningPolicyTestResult
48
+ * // testCase: { // AutomatedReasoningPolicyTestCase
49
+ * // testCaseId: "STRING_VALUE", // required
50
+ * // guardContent: "STRING_VALUE", // required
51
+ * // queryContent: "STRING_VALUE",
52
+ * // expectedAggregatedFindingsResult: "VALID" || "INVALID" || "SATISFIABLE" || "IMPOSSIBLE" || "TRANSLATION_AMBIGUOUS" || "TOO_COMPLEX" || "NO_TRANSLATION",
53
+ * // createdAt: new Date("TIMESTAMP"), // required
54
+ * // updatedAt: new Date("TIMESTAMP"), // required
55
+ * // confidenceThreshold: Number("double"),
56
+ * // },
57
+ * // policyArn: "STRING_VALUE", // required
58
+ * // testRunStatus: "NOT_STARTED" || "SCHEDULED" || "IN_PROGRESS" || "COMPLETED" || "FAILED", // required
59
+ * // testFindings: [ // AutomatedReasoningCheckFindingList
60
+ * // { // AutomatedReasoningCheckFinding Union: only one key present
61
+ * // valid: { // AutomatedReasoningCheckValidFinding
62
+ * // translation: { // AutomatedReasoningCheckTranslation
63
+ * // premises: [ // AutomatedReasoningLogicStatementList
64
+ * // { // AutomatedReasoningLogicStatement
65
+ * // logic: "STRING_VALUE", // required
66
+ * // naturalLanguage: "STRING_VALUE",
67
+ * // },
68
+ * // ],
69
+ * // claims: [ // required
70
+ * // {
71
+ * // logic: "STRING_VALUE", // required
72
+ * // naturalLanguage: "STRING_VALUE",
73
+ * // },
74
+ * // ],
75
+ * // untranslatedPremises: [ // AutomatedReasoningCheckInputTextReferenceList
76
+ * // { // AutomatedReasoningCheckInputTextReference
77
+ * // text: "STRING_VALUE",
78
+ * // },
79
+ * // ],
80
+ * // untranslatedClaims: [
81
+ * // {
82
+ * // text: "STRING_VALUE",
83
+ * // },
84
+ * // ],
85
+ * // confidence: Number("double"), // required
86
+ * // },
87
+ * // claimsTrueScenario: { // AutomatedReasoningCheckScenario
88
+ * // statements: [
89
+ * // {
90
+ * // logic: "STRING_VALUE", // required
91
+ * // naturalLanguage: "STRING_VALUE",
92
+ * // },
93
+ * // ],
94
+ * // },
95
+ * // supportingRules: [ // AutomatedReasoningCheckRuleList
96
+ * // { // AutomatedReasoningCheckRule
97
+ * // id: "STRING_VALUE",
98
+ * // policyVersionArn: "STRING_VALUE",
99
+ * // },
100
+ * // ],
101
+ * // logicWarning: { // AutomatedReasoningCheckLogicWarning
102
+ * // type: "ALWAYS_TRUE" || "ALWAYS_FALSE",
103
+ * // premises: [
104
+ * // {
105
+ * // logic: "STRING_VALUE", // required
106
+ * // naturalLanguage: "STRING_VALUE",
107
+ * // },
108
+ * // ],
109
+ * // claims: [
110
+ * // {
111
+ * // logic: "STRING_VALUE", // required
112
+ * // naturalLanguage: "STRING_VALUE",
113
+ * // },
114
+ * // ],
115
+ * // },
116
+ * // },
117
+ * // invalid: { // AutomatedReasoningCheckInvalidFinding
118
+ * // translation: {
119
+ * // premises: "<AutomatedReasoningLogicStatementList>",
120
+ * // claims: "<AutomatedReasoningLogicStatementList>", // required
121
+ * // untranslatedPremises: [
122
+ * // {
123
+ * // text: "STRING_VALUE",
124
+ * // },
125
+ * // ],
126
+ * // untranslatedClaims: [
127
+ * // {
128
+ * // text: "STRING_VALUE",
129
+ * // },
130
+ * // ],
131
+ * // confidence: Number("double"), // required
132
+ * // },
133
+ * // contradictingRules: [
134
+ * // {
135
+ * // id: "STRING_VALUE",
136
+ * // policyVersionArn: "STRING_VALUE",
137
+ * // },
138
+ * // ],
139
+ * // logicWarning: {
140
+ * // type: "ALWAYS_TRUE" || "ALWAYS_FALSE",
141
+ * // premises: "<AutomatedReasoningLogicStatementList>",
142
+ * // claims: "<AutomatedReasoningLogicStatementList>",
143
+ * // },
144
+ * // },
145
+ * // satisfiable: { // AutomatedReasoningCheckSatisfiableFinding
146
+ * // translation: {
147
+ * // premises: "<AutomatedReasoningLogicStatementList>",
148
+ * // claims: "<AutomatedReasoningLogicStatementList>", // required
149
+ * // untranslatedPremises: [
150
+ * // {
151
+ * // text: "STRING_VALUE",
152
+ * // },
153
+ * // ],
154
+ * // untranslatedClaims: "<AutomatedReasoningCheckInputTextReferenceList>",
155
+ * // confidence: Number("double"), // required
156
+ * // },
157
+ * // claimsTrueScenario: {
158
+ * // statements: "<AutomatedReasoningLogicStatementList>",
159
+ * // },
160
+ * // claimsFalseScenario: {
161
+ * // statements: "<AutomatedReasoningLogicStatementList>",
162
+ * // },
163
+ * // logicWarning: {
164
+ * // type: "ALWAYS_TRUE" || "ALWAYS_FALSE",
165
+ * // premises: "<AutomatedReasoningLogicStatementList>",
166
+ * // claims: "<AutomatedReasoningLogicStatementList>",
167
+ * // },
168
+ * // },
169
+ * // impossible: { // AutomatedReasoningCheckImpossibleFinding
170
+ * // translation: {
171
+ * // premises: "<AutomatedReasoningLogicStatementList>",
172
+ * // claims: "<AutomatedReasoningLogicStatementList>", // required
173
+ * // untranslatedPremises: "<AutomatedReasoningCheckInputTextReferenceList>",
174
+ * // untranslatedClaims: "<AutomatedReasoningCheckInputTextReferenceList>",
175
+ * // confidence: Number("double"), // required
176
+ * // },
177
+ * // contradictingRules: [
178
+ * // {
179
+ * // id: "STRING_VALUE",
180
+ * // policyVersionArn: "STRING_VALUE",
181
+ * // },
182
+ * // ],
183
+ * // logicWarning: {
184
+ * // type: "ALWAYS_TRUE" || "ALWAYS_FALSE",
185
+ * // premises: "<AutomatedReasoningLogicStatementList>",
186
+ * // claims: "<AutomatedReasoningLogicStatementList>",
187
+ * // },
188
+ * // },
189
+ * // translationAmbiguous: { // AutomatedReasoningCheckTranslationAmbiguousFinding
190
+ * // options: [ // AutomatedReasoningCheckTranslationOptionList
191
+ * // { // AutomatedReasoningCheckTranslationOption
192
+ * // translations: [ // AutomatedReasoningCheckTranslationList
193
+ * // {
194
+ * // premises: "<AutomatedReasoningLogicStatementList>",
195
+ * // claims: "<AutomatedReasoningLogicStatementList>", // required
196
+ * // untranslatedPremises: "<AutomatedReasoningCheckInputTextReferenceList>",
197
+ * // untranslatedClaims: "<AutomatedReasoningCheckInputTextReferenceList>",
198
+ * // confidence: Number("double"), // required
199
+ * // },
200
+ * // ],
201
+ * // },
202
+ * // ],
203
+ * // differenceScenarios: [ // AutomatedReasoningCheckDifferenceScenarioList
204
+ * // {
205
+ * // statements: "<AutomatedReasoningLogicStatementList>",
206
+ * // },
207
+ * // ],
208
+ * // },
209
+ * // tooComplex: {},
210
+ * // noTranslations: {},
211
+ * // },
212
+ * // ],
213
+ * // testRunResult: "PASSED" || "FAILED",
214
+ * // aggregatedTestFindingsResult: "VALID" || "INVALID" || "SATISFIABLE" || "IMPOSSIBLE" || "TRANSLATION_AMBIGUOUS" || "TOO_COMPLEX" || "NO_TRANSLATION",
215
+ * // updatedAt: new Date("TIMESTAMP"), // required
216
+ * // },
217
+ * // ],
218
+ * // nextToken: "STRING_VALUE",
219
+ * // };
220
+ *
221
+ * ```
222
+ *
223
+ * @param ListAutomatedReasoningPolicyTestResultsCommandInput - {@link ListAutomatedReasoningPolicyTestResultsCommandInput}
224
+ * @returns {@link ListAutomatedReasoningPolicyTestResultsCommandOutput}
225
+ * @see {@link ListAutomatedReasoningPolicyTestResultsCommandInput} for command's `input` shape.
226
+ * @see {@link ListAutomatedReasoningPolicyTestResultsCommandOutput} for command's `response` shape.
227
+ * @see {@link BedrockClientResolvedConfig | config} for BedrockClient's `config` shape.
228
+ *
229
+ * @throws {@link AccessDeniedException} (client fault)
230
+ * <p>The request is denied because of missing access permissions.</p>
231
+ *
232
+ * @throws {@link InternalServerException} (server fault)
233
+ * <p>An internal server error occurred. Retry your request.</p>
234
+ *
235
+ * @throws {@link ResourceNotFoundException} (client fault)
236
+ * <p>The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.</p>
237
+ *
238
+ * @throws {@link ServiceQuotaExceededException} (client fault)
239
+ * <p>The number of requests exceeds the service quota. Resubmit your request later.</p>
240
+ *
241
+ * @throws {@link ThrottlingException} (client fault)
242
+ * <p>The number of requests exceeds the limit. Resubmit your request later.</p>
243
+ *
244
+ * @throws {@link ValidationException} (client fault)
245
+ * <p>Input validation failed. Check your request parameters and retry the request.</p>
246
+ *
247
+ * @throws {@link BedrockServiceException}
248
+ * <p>Base exception class for all service exceptions from Bedrock service.</p>
249
+ *
250
+ *
251
+ * @public
252
+ */
253
+ export declare class ListAutomatedReasoningPolicyTestResultsCommand extends ListAutomatedReasoningPolicyTestResultsCommand_base {
254
+ /** @internal type navigation helper, not in runtime. */
255
+ protected static __types: {
256
+ api: {
257
+ input: ListAutomatedReasoningPolicyTestResultsRequest;
258
+ output: ListAutomatedReasoningPolicyTestResultsResponse;
259
+ };
260
+ sdk: {
261
+ input: ListAutomatedReasoningPolicyTestResultsCommandInput;
262
+ output: ListAutomatedReasoningPolicyTestResultsCommandOutput;
263
+ };
264
+ };
265
+ }
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
4
- import { ListFoundationModelsRequest, ListFoundationModelsResponse } from "../models/models_0";
4
+ import { ListFoundationModelsRequest, ListFoundationModelsResponse } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
4
- import { ListGuardrailsRequest, ListGuardrailsResponse } from "../models/models_0";
4
+ import { ListGuardrailsRequest, ListGuardrailsResponse } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
4
- import { ListImportedModelsRequest, ListImportedModelsResponse } from "../models/models_0";
4
+ import { ListImportedModelsRequest, ListImportedModelsResponse } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
4
- import { ListInferenceProfilesRequest, ListInferenceProfilesResponse } from "../models/models_0";
4
+ import { ListInferenceProfilesRequest, ListInferenceProfilesResponse } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
4
- import { ListModelCopyJobsRequest, ListModelCopyJobsResponse } from "../models/models_0";
4
+ import { ListModelCopyJobsRequest, ListModelCopyJobsResponse } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
4
- import { ListModelImportJobsRequest, ListModelImportJobsResponse } from "../models/models_0";
4
+ import { ListModelImportJobsRequest, ListModelImportJobsResponse } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
4
- import { ListModelInvocationJobsRequest, ListModelInvocationJobsResponse } from "../models/models_0";
4
+ import { ListModelInvocationJobsRequest, ListModelInvocationJobsResponse } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
4
- import { ListPromptRoutersRequest, ListPromptRoutersResponse } from "../models/models_0";
4
+ import { ListPromptRoutersRequest, ListPromptRoutersResponse } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,8 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
4
- import { ListProvisionedModelThroughputsRequest } from "../models/models_0";
5
- import { ListProvisionedModelThroughputsResponse } from "../models/models_1";
4
+ import { ListProvisionedModelThroughputsRequest, ListProvisionedModelThroughputsResponse } from "../models/models_1";
6
5
  /**
7
6
  * @public
8
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
4
- import { PutModelInvocationLoggingConfigurationRequest, PutModelInvocationLoggingConfigurationResponse } from "../models/models_0";
4
+ import { PutModelInvocationLoggingConfigurationRequest, PutModelInvocationLoggingConfigurationResponse } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */