@aws-sdk/client-bedrock 3.859.0 → 3.862.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 +34 -34
@@ -0,0 +1,222 @@
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 { StartAutomatedReasoningPolicyBuildWorkflowRequest, StartAutomatedReasoningPolicyBuildWorkflowResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link StartAutomatedReasoningPolicyBuildWorkflowCommand}.
14
+ */
15
+ export interface StartAutomatedReasoningPolicyBuildWorkflowCommandInput extends StartAutomatedReasoningPolicyBuildWorkflowRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link StartAutomatedReasoningPolicyBuildWorkflowCommand}.
21
+ */
22
+ export interface StartAutomatedReasoningPolicyBuildWorkflowCommandOutput extends StartAutomatedReasoningPolicyBuildWorkflowResponse, __MetadataBearer {
23
+ }
24
+ declare const StartAutomatedReasoningPolicyBuildWorkflowCommand_base: {
25
+ new (input: StartAutomatedReasoningPolicyBuildWorkflowCommandInput): import("@smithy/smithy-client").CommandImpl<StartAutomatedReasoningPolicyBuildWorkflowCommandInput, StartAutomatedReasoningPolicyBuildWorkflowCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: StartAutomatedReasoningPolicyBuildWorkflowCommandInput): import("@smithy/smithy-client").CommandImpl<StartAutomatedReasoningPolicyBuildWorkflowCommandInput, StartAutomatedReasoningPolicyBuildWorkflowCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Starts a new build workflow for an Automated Reasoning policy. This initiates the process of analyzing source documents and generating policy rules, variables, and types.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { BedrockClient, StartAutomatedReasoningPolicyBuildWorkflowCommand } from "@aws-sdk/client-bedrock"; // ES Modules import
35
+ * // const { BedrockClient, StartAutomatedReasoningPolicyBuildWorkflowCommand } = require("@aws-sdk/client-bedrock"); // CommonJS import
36
+ * const client = new BedrockClient(config);
37
+ * const input = { // StartAutomatedReasoningPolicyBuildWorkflowRequest
38
+ * policyArn: "STRING_VALUE", // required
39
+ * buildWorkflowType: "INGEST_CONTENT" || "REFINE_POLICY" || "IMPORT_POLICY", // required
40
+ * clientRequestToken: "STRING_VALUE",
41
+ * sourceContent: { // AutomatedReasoningPolicyBuildWorkflowSource
42
+ * policyDefinition: { // AutomatedReasoningPolicyDefinition
43
+ * version: "STRING_VALUE",
44
+ * types: [ // AutomatedReasoningPolicyDefinitionTypeList
45
+ * { // AutomatedReasoningPolicyDefinitionType
46
+ * name: "STRING_VALUE", // required
47
+ * description: "STRING_VALUE",
48
+ * values: [ // AutomatedReasoningPolicyDefinitionTypeValueList // required
49
+ * { // AutomatedReasoningPolicyDefinitionTypeValue
50
+ * value: "STRING_VALUE", // required
51
+ * description: "STRING_VALUE",
52
+ * },
53
+ * ],
54
+ * },
55
+ * ],
56
+ * rules: [ // AutomatedReasoningPolicyDefinitionRuleList
57
+ * { // AutomatedReasoningPolicyDefinitionRule
58
+ * id: "STRING_VALUE", // required
59
+ * expression: "STRING_VALUE", // required
60
+ * alternateExpression: "STRING_VALUE",
61
+ * },
62
+ * ],
63
+ * variables: [ // AutomatedReasoningPolicyDefinitionVariableList
64
+ * { // AutomatedReasoningPolicyDefinitionVariable
65
+ * name: "STRING_VALUE", // required
66
+ * type: "STRING_VALUE", // required
67
+ * description: "STRING_VALUE", // required
68
+ * },
69
+ * ],
70
+ * },
71
+ * workflowContent: { // AutomatedReasoningPolicyWorkflowTypeContent Union: only one key present
72
+ * documents: [ // AutomatedReasoningPolicyBuildWorkflowDocumentList
73
+ * { // AutomatedReasoningPolicyBuildWorkflowDocument
74
+ * document: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") // required
75
+ * documentContentType: "pdf" || "txt", // required
76
+ * documentName: "STRING_VALUE", // required
77
+ * documentDescription: "STRING_VALUE",
78
+ * },
79
+ * ],
80
+ * policyRepairAssets: { // AutomatedReasoningPolicyBuildWorkflowRepairContent
81
+ * annotations: [ // AutomatedReasoningPolicyAnnotationList // required
82
+ * { // AutomatedReasoningPolicyAnnotation Union: only one key present
83
+ * addType: { // AutomatedReasoningPolicyAddTypeAnnotation
84
+ * name: "STRING_VALUE", // required
85
+ * description: "STRING_VALUE", // required
86
+ * values: [ // required
87
+ * {
88
+ * value: "STRING_VALUE", // required
89
+ * description: "STRING_VALUE",
90
+ * },
91
+ * ],
92
+ * },
93
+ * updateType: { // AutomatedReasoningPolicyUpdateTypeAnnotation
94
+ * name: "STRING_VALUE", // required
95
+ * newName: "STRING_VALUE",
96
+ * description: "STRING_VALUE",
97
+ * values: [ // AutomatedReasoningPolicyTypeValueAnnotationList // required
98
+ * { // AutomatedReasoningPolicyTypeValueAnnotation Union: only one key present
99
+ * addTypeValue: { // AutomatedReasoningPolicyAddTypeValue
100
+ * value: "STRING_VALUE", // required
101
+ * description: "STRING_VALUE",
102
+ * },
103
+ * updateTypeValue: { // AutomatedReasoningPolicyUpdateTypeValue
104
+ * value: "STRING_VALUE", // required
105
+ * newValue: "STRING_VALUE",
106
+ * description: "STRING_VALUE",
107
+ * },
108
+ * deleteTypeValue: { // AutomatedReasoningPolicyDeleteTypeValue
109
+ * value: "STRING_VALUE", // required
110
+ * },
111
+ * },
112
+ * ],
113
+ * },
114
+ * deleteType: { // AutomatedReasoningPolicyDeleteTypeAnnotation
115
+ * name: "STRING_VALUE", // required
116
+ * },
117
+ * addVariable: { // AutomatedReasoningPolicyAddVariableAnnotation
118
+ * name: "STRING_VALUE", // required
119
+ * type: "STRING_VALUE", // required
120
+ * description: "STRING_VALUE", // required
121
+ * },
122
+ * updateVariable: { // AutomatedReasoningPolicyUpdateVariableAnnotation
123
+ * name: "STRING_VALUE", // required
124
+ * newName: "STRING_VALUE",
125
+ * description: "STRING_VALUE",
126
+ * },
127
+ * deleteVariable: { // AutomatedReasoningPolicyDeleteVariableAnnotation
128
+ * name: "STRING_VALUE", // required
129
+ * },
130
+ * addRule: { // AutomatedReasoningPolicyAddRuleAnnotation
131
+ * expression: "STRING_VALUE", // required
132
+ * },
133
+ * updateRule: { // AutomatedReasoningPolicyUpdateRuleAnnotation
134
+ * ruleId: "STRING_VALUE", // required
135
+ * expression: "STRING_VALUE", // required
136
+ * },
137
+ * deleteRule: { // AutomatedReasoningPolicyDeleteRuleAnnotation
138
+ * ruleId: "STRING_VALUE", // required
139
+ * },
140
+ * addRuleFromNaturalLanguage: { // AutomatedReasoningPolicyAddRuleFromNaturalLanguageAnnotation
141
+ * naturalLanguage: "STRING_VALUE", // required
142
+ * },
143
+ * updateFromRulesFeedback: { // AutomatedReasoningPolicyUpdateFromRuleFeedbackAnnotation
144
+ * ruleIds: [ // AutomatedReasoningPolicyDefinitionRuleIdList
145
+ * "STRING_VALUE",
146
+ * ],
147
+ * feedback: "STRING_VALUE", // required
148
+ * },
149
+ * updateFromScenarioFeedback: { // AutomatedReasoningPolicyUpdateFromScenarioFeedbackAnnotation
150
+ * ruleIds: [
151
+ * "STRING_VALUE",
152
+ * ],
153
+ * scenarioExpression: "STRING_VALUE", // required
154
+ * feedback: "STRING_VALUE",
155
+ * },
156
+ * ingestContent: { // AutomatedReasoningPolicyIngestContentAnnotation
157
+ * content: "STRING_VALUE", // required
158
+ * },
159
+ * },
160
+ * ],
161
+ * },
162
+ * },
163
+ * },
164
+ * };
165
+ * const command = new StartAutomatedReasoningPolicyBuildWorkflowCommand(input);
166
+ * const response = await client.send(command);
167
+ * // { // StartAutomatedReasoningPolicyBuildWorkflowResponse
168
+ * // policyArn: "STRING_VALUE", // required
169
+ * // buildWorkflowId: "STRING_VALUE", // required
170
+ * // };
171
+ *
172
+ * ```
173
+ *
174
+ * @param StartAutomatedReasoningPolicyBuildWorkflowCommandInput - {@link StartAutomatedReasoningPolicyBuildWorkflowCommandInput}
175
+ * @returns {@link StartAutomatedReasoningPolicyBuildWorkflowCommandOutput}
176
+ * @see {@link StartAutomatedReasoningPolicyBuildWorkflowCommandInput} for command's `input` shape.
177
+ * @see {@link StartAutomatedReasoningPolicyBuildWorkflowCommandOutput} for command's `response` shape.
178
+ * @see {@link BedrockClientResolvedConfig | config} for BedrockClient's `config` shape.
179
+ *
180
+ * @throws {@link AccessDeniedException} (client fault)
181
+ * <p>The request is denied because of missing access permissions.</p>
182
+ *
183
+ * @throws {@link ConflictException} (client fault)
184
+ * <p>Error occurred because of a conflict while performing an operation.</p>
185
+ *
186
+ * @throws {@link InternalServerException} (server fault)
187
+ * <p>An internal server error occurred. Retry your request.</p>
188
+ *
189
+ * @throws {@link ResourceInUseException} (client fault)
190
+ * <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>
191
+ *
192
+ * @throws {@link ResourceNotFoundException} (client fault)
193
+ * <p>The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.</p>
194
+ *
195
+ * @throws {@link ServiceQuotaExceededException} (client fault)
196
+ * <p>The number of requests exceeds the service quota. Resubmit your request later.</p>
197
+ *
198
+ * @throws {@link ThrottlingException} (client fault)
199
+ * <p>The number of requests exceeds the limit. Resubmit your request later.</p>
200
+ *
201
+ * @throws {@link ValidationException} (client fault)
202
+ * <p>Input validation failed. Check your request parameters and retry the request.</p>
203
+ *
204
+ * @throws {@link BedrockServiceException}
205
+ * <p>Base exception class for all service exceptions from Bedrock service.</p>
206
+ *
207
+ *
208
+ * @public
209
+ */
210
+ export declare class StartAutomatedReasoningPolicyBuildWorkflowCommand extends StartAutomatedReasoningPolicyBuildWorkflowCommand_base {
211
+ /** @internal type navigation helper, not in runtime. */
212
+ protected static __types: {
213
+ api: {
214
+ input: StartAutomatedReasoningPolicyBuildWorkflowRequest;
215
+ output: StartAutomatedReasoningPolicyBuildWorkflowResponse;
216
+ };
217
+ sdk: {
218
+ input: StartAutomatedReasoningPolicyBuildWorkflowCommandInput;
219
+ output: StartAutomatedReasoningPolicyBuildWorkflowCommandOutput;
220
+ };
221
+ };
222
+ }
@@ -0,0 +1,95 @@
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 { StartAutomatedReasoningPolicyTestWorkflowRequest, StartAutomatedReasoningPolicyTestWorkflowResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link StartAutomatedReasoningPolicyTestWorkflowCommand}.
14
+ */
15
+ export interface StartAutomatedReasoningPolicyTestWorkflowCommandInput extends StartAutomatedReasoningPolicyTestWorkflowRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link StartAutomatedReasoningPolicyTestWorkflowCommand}.
21
+ */
22
+ export interface StartAutomatedReasoningPolicyTestWorkflowCommandOutput extends StartAutomatedReasoningPolicyTestWorkflowResponse, __MetadataBearer {
23
+ }
24
+ declare const StartAutomatedReasoningPolicyTestWorkflowCommand_base: {
25
+ new (input: StartAutomatedReasoningPolicyTestWorkflowCommandInput): import("@smithy/smithy-client").CommandImpl<StartAutomatedReasoningPolicyTestWorkflowCommandInput, StartAutomatedReasoningPolicyTestWorkflowCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: StartAutomatedReasoningPolicyTestWorkflowCommandInput): import("@smithy/smithy-client").CommandImpl<StartAutomatedReasoningPolicyTestWorkflowCommandInput, StartAutomatedReasoningPolicyTestWorkflowCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Initiates a test workflow to validate Automated Reasoning policy tests. The workflow executes the specified tests against the policy and generates validation results.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { BedrockClient, StartAutomatedReasoningPolicyTestWorkflowCommand } from "@aws-sdk/client-bedrock"; // ES Modules import
35
+ * // const { BedrockClient, StartAutomatedReasoningPolicyTestWorkflowCommand } = require("@aws-sdk/client-bedrock"); // CommonJS import
36
+ * const client = new BedrockClient(config);
37
+ * const input = { // StartAutomatedReasoningPolicyTestWorkflowRequest
38
+ * policyArn: "STRING_VALUE", // required
39
+ * buildWorkflowId: "STRING_VALUE", // required
40
+ * testCaseIds: [ // AutomatedReasoningPolicyTestCaseIdList
41
+ * "STRING_VALUE",
42
+ * ],
43
+ * clientRequestToken: "STRING_VALUE",
44
+ * };
45
+ * const command = new StartAutomatedReasoningPolicyTestWorkflowCommand(input);
46
+ * const response = await client.send(command);
47
+ * // { // StartAutomatedReasoningPolicyTestWorkflowResponse
48
+ * // policyArn: "STRING_VALUE", // required
49
+ * // };
50
+ *
51
+ * ```
52
+ *
53
+ * @param StartAutomatedReasoningPolicyTestWorkflowCommandInput - {@link StartAutomatedReasoningPolicyTestWorkflowCommandInput}
54
+ * @returns {@link StartAutomatedReasoningPolicyTestWorkflowCommandOutput}
55
+ * @see {@link StartAutomatedReasoningPolicyTestWorkflowCommandInput} for command's `input` shape.
56
+ * @see {@link StartAutomatedReasoningPolicyTestWorkflowCommandOutput} for command's `response` shape.
57
+ * @see {@link BedrockClientResolvedConfig | config} for BedrockClient's `config` shape.
58
+ *
59
+ * @throws {@link AccessDeniedException} (client fault)
60
+ * <p>The request is denied because of missing access permissions.</p>
61
+ *
62
+ * @throws {@link InternalServerException} (server fault)
63
+ * <p>An internal server error occurred. Retry your request.</p>
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
+ *
68
+ * @throws {@link ResourceNotFoundException} (client fault)
69
+ * <p>The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.</p>
70
+ *
71
+ * @throws {@link ThrottlingException} (client fault)
72
+ * <p>The number of requests exceeds the limit. Resubmit your request later.</p>
73
+ *
74
+ * @throws {@link ValidationException} (client fault)
75
+ * <p>Input validation failed. Check your request parameters and retry the request.</p>
76
+ *
77
+ * @throws {@link BedrockServiceException}
78
+ * <p>Base exception class for all service exceptions from Bedrock service.</p>
79
+ *
80
+ *
81
+ * @public
82
+ */
83
+ export declare class StartAutomatedReasoningPolicyTestWorkflowCommand extends StartAutomatedReasoningPolicyTestWorkflowCommand_base {
84
+ /** @internal type navigation helper, not in runtime. */
85
+ protected static __types: {
86
+ api: {
87
+ input: StartAutomatedReasoningPolicyTestWorkflowRequest;
88
+ output: StartAutomatedReasoningPolicyTestWorkflowResponse;
89
+ };
90
+ sdk: {
91
+ input: StartAutomatedReasoningPolicyTestWorkflowCommandInput;
92
+ output: StartAutomatedReasoningPolicyTestWorkflowCommandOutput;
93
+ };
94
+ };
95
+ }
@@ -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 { StopModelInvocationJobRequest, StopModelInvocationJobResponse } from "../models/models_0";
4
+ import { StopModelInvocationJobRequest, StopModelInvocationJobResponse } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -0,0 +1,175 @@
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 { UpdateAutomatedReasoningPolicyAnnotationsRequest, UpdateAutomatedReasoningPolicyAnnotationsResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateAutomatedReasoningPolicyAnnotationsCommand}.
14
+ */
15
+ export interface UpdateAutomatedReasoningPolicyAnnotationsCommandInput extends UpdateAutomatedReasoningPolicyAnnotationsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateAutomatedReasoningPolicyAnnotationsCommand}.
21
+ */
22
+ export interface UpdateAutomatedReasoningPolicyAnnotationsCommandOutput extends UpdateAutomatedReasoningPolicyAnnotationsResponse, __MetadataBearer {
23
+ }
24
+ declare const UpdateAutomatedReasoningPolicyAnnotationsCommand_base: {
25
+ new (input: UpdateAutomatedReasoningPolicyAnnotationsCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateAutomatedReasoningPolicyAnnotationsCommandInput, UpdateAutomatedReasoningPolicyAnnotationsCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: UpdateAutomatedReasoningPolicyAnnotationsCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateAutomatedReasoningPolicyAnnotationsCommandInput, UpdateAutomatedReasoningPolicyAnnotationsCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Updates the annotations for an Automated Reasoning policy build workflow. This allows you to modify extracted rules, variables, and types before finalizing the policy.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { BedrockClient, UpdateAutomatedReasoningPolicyAnnotationsCommand } from "@aws-sdk/client-bedrock"; // ES Modules import
35
+ * // const { BedrockClient, UpdateAutomatedReasoningPolicyAnnotationsCommand } = require("@aws-sdk/client-bedrock"); // CommonJS import
36
+ * const client = new BedrockClient(config);
37
+ * const input = { // UpdateAutomatedReasoningPolicyAnnotationsRequest
38
+ * policyArn: "STRING_VALUE", // required
39
+ * buildWorkflowId: "STRING_VALUE", // required
40
+ * annotations: [ // AutomatedReasoningPolicyAnnotationList // required
41
+ * { // AutomatedReasoningPolicyAnnotation Union: only one key present
42
+ * addType: { // AutomatedReasoningPolicyAddTypeAnnotation
43
+ * name: "STRING_VALUE", // required
44
+ * description: "STRING_VALUE", // required
45
+ * values: [ // AutomatedReasoningPolicyDefinitionTypeValueList // required
46
+ * { // AutomatedReasoningPolicyDefinitionTypeValue
47
+ * value: "STRING_VALUE", // required
48
+ * description: "STRING_VALUE",
49
+ * },
50
+ * ],
51
+ * },
52
+ * updateType: { // AutomatedReasoningPolicyUpdateTypeAnnotation
53
+ * name: "STRING_VALUE", // required
54
+ * newName: "STRING_VALUE",
55
+ * description: "STRING_VALUE",
56
+ * values: [ // AutomatedReasoningPolicyTypeValueAnnotationList // required
57
+ * { // AutomatedReasoningPolicyTypeValueAnnotation Union: only one key present
58
+ * addTypeValue: { // AutomatedReasoningPolicyAddTypeValue
59
+ * value: "STRING_VALUE", // required
60
+ * description: "STRING_VALUE",
61
+ * },
62
+ * updateTypeValue: { // AutomatedReasoningPolicyUpdateTypeValue
63
+ * value: "STRING_VALUE", // required
64
+ * newValue: "STRING_VALUE",
65
+ * description: "STRING_VALUE",
66
+ * },
67
+ * deleteTypeValue: { // AutomatedReasoningPolicyDeleteTypeValue
68
+ * value: "STRING_VALUE", // required
69
+ * },
70
+ * },
71
+ * ],
72
+ * },
73
+ * deleteType: { // AutomatedReasoningPolicyDeleteTypeAnnotation
74
+ * name: "STRING_VALUE", // required
75
+ * },
76
+ * addVariable: { // AutomatedReasoningPolicyAddVariableAnnotation
77
+ * name: "STRING_VALUE", // required
78
+ * type: "STRING_VALUE", // required
79
+ * description: "STRING_VALUE", // required
80
+ * },
81
+ * updateVariable: { // AutomatedReasoningPolicyUpdateVariableAnnotation
82
+ * name: "STRING_VALUE", // required
83
+ * newName: "STRING_VALUE",
84
+ * description: "STRING_VALUE",
85
+ * },
86
+ * deleteVariable: { // AutomatedReasoningPolicyDeleteVariableAnnotation
87
+ * name: "STRING_VALUE", // required
88
+ * },
89
+ * addRule: { // AutomatedReasoningPolicyAddRuleAnnotation
90
+ * expression: "STRING_VALUE", // required
91
+ * },
92
+ * updateRule: { // AutomatedReasoningPolicyUpdateRuleAnnotation
93
+ * ruleId: "STRING_VALUE", // required
94
+ * expression: "STRING_VALUE", // required
95
+ * },
96
+ * deleteRule: { // AutomatedReasoningPolicyDeleteRuleAnnotation
97
+ * ruleId: "STRING_VALUE", // required
98
+ * },
99
+ * addRuleFromNaturalLanguage: { // AutomatedReasoningPolicyAddRuleFromNaturalLanguageAnnotation
100
+ * naturalLanguage: "STRING_VALUE", // required
101
+ * },
102
+ * updateFromRulesFeedback: { // AutomatedReasoningPolicyUpdateFromRuleFeedbackAnnotation
103
+ * ruleIds: [ // AutomatedReasoningPolicyDefinitionRuleIdList
104
+ * "STRING_VALUE",
105
+ * ],
106
+ * feedback: "STRING_VALUE", // required
107
+ * },
108
+ * updateFromScenarioFeedback: { // AutomatedReasoningPolicyUpdateFromScenarioFeedbackAnnotation
109
+ * ruleIds: [
110
+ * "STRING_VALUE",
111
+ * ],
112
+ * scenarioExpression: "STRING_VALUE", // required
113
+ * feedback: "STRING_VALUE",
114
+ * },
115
+ * ingestContent: { // AutomatedReasoningPolicyIngestContentAnnotation
116
+ * content: "STRING_VALUE", // required
117
+ * },
118
+ * },
119
+ * ],
120
+ * lastUpdatedAnnotationSetHash: "STRING_VALUE", // required
121
+ * };
122
+ * const command = new UpdateAutomatedReasoningPolicyAnnotationsCommand(input);
123
+ * const response = await client.send(command);
124
+ * // { // UpdateAutomatedReasoningPolicyAnnotationsResponse
125
+ * // policyArn: "STRING_VALUE", // required
126
+ * // buildWorkflowId: "STRING_VALUE", // required
127
+ * // annotationSetHash: "STRING_VALUE", // required
128
+ * // updatedAt: new Date("TIMESTAMP"), // required
129
+ * // };
130
+ *
131
+ * ```
132
+ *
133
+ * @param UpdateAutomatedReasoningPolicyAnnotationsCommandInput - {@link UpdateAutomatedReasoningPolicyAnnotationsCommandInput}
134
+ * @returns {@link UpdateAutomatedReasoningPolicyAnnotationsCommandOutput}
135
+ * @see {@link UpdateAutomatedReasoningPolicyAnnotationsCommandInput} for command's `input` shape.
136
+ * @see {@link UpdateAutomatedReasoningPolicyAnnotationsCommandOutput} for command's `response` shape.
137
+ * @see {@link BedrockClientResolvedConfig | config} for BedrockClient's `config` shape.
138
+ *
139
+ * @throws {@link AccessDeniedException} (client fault)
140
+ * <p>The request is denied because of missing access permissions.</p>
141
+ *
142
+ * @throws {@link ConflictException} (client fault)
143
+ * <p>Error occurred because of a conflict while performing an operation.</p>
144
+ *
145
+ * @throws {@link InternalServerException} (server fault)
146
+ * <p>An internal server error occurred. Retry your request.</p>
147
+ *
148
+ * @throws {@link ResourceNotFoundException} (client fault)
149
+ * <p>The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.</p>
150
+ *
151
+ * @throws {@link ThrottlingException} (client fault)
152
+ * <p>The number of requests exceeds the limit. Resubmit your request later.</p>
153
+ *
154
+ * @throws {@link ValidationException} (client fault)
155
+ * <p>Input validation failed. Check your request parameters and retry the request.</p>
156
+ *
157
+ * @throws {@link BedrockServiceException}
158
+ * <p>Base exception class for all service exceptions from Bedrock service.</p>
159
+ *
160
+ *
161
+ * @public
162
+ */
163
+ export declare class UpdateAutomatedReasoningPolicyAnnotationsCommand extends UpdateAutomatedReasoningPolicyAnnotationsCommand_base {
164
+ /** @internal type navigation helper, not in runtime. */
165
+ protected static __types: {
166
+ api: {
167
+ input: UpdateAutomatedReasoningPolicyAnnotationsRequest;
168
+ output: UpdateAutomatedReasoningPolicyAnnotationsResponse;
169
+ };
170
+ sdk: {
171
+ input: UpdateAutomatedReasoningPolicyAnnotationsCommandInput;
172
+ output: UpdateAutomatedReasoningPolicyAnnotationsCommandOutput;
173
+ };
174
+ };
175
+ }
@@ -0,0 +1,127 @@
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 { UpdateAutomatedReasoningPolicyRequest, UpdateAutomatedReasoningPolicyResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateAutomatedReasoningPolicyCommand}.
14
+ */
15
+ export interface UpdateAutomatedReasoningPolicyCommandInput extends UpdateAutomatedReasoningPolicyRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateAutomatedReasoningPolicyCommand}.
21
+ */
22
+ export interface UpdateAutomatedReasoningPolicyCommandOutput extends UpdateAutomatedReasoningPolicyResponse, __MetadataBearer {
23
+ }
24
+ declare const UpdateAutomatedReasoningPolicyCommand_base: {
25
+ new (input: UpdateAutomatedReasoningPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateAutomatedReasoningPolicyCommandInput, UpdateAutomatedReasoningPolicyCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: UpdateAutomatedReasoningPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateAutomatedReasoningPolicyCommandInput, UpdateAutomatedReasoningPolicyCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Updates an existing Automated Reasoning policy with new rules, variables, or configuration. This creates a new version of the policy while preserving the previous version.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { BedrockClient, UpdateAutomatedReasoningPolicyCommand } from "@aws-sdk/client-bedrock"; // ES Modules import
35
+ * // const { BedrockClient, UpdateAutomatedReasoningPolicyCommand } = require("@aws-sdk/client-bedrock"); // CommonJS import
36
+ * const client = new BedrockClient(config);
37
+ * const input = { // UpdateAutomatedReasoningPolicyRequest
38
+ * policyArn: "STRING_VALUE", // required
39
+ * policyDefinition: { // AutomatedReasoningPolicyDefinition
40
+ * version: "STRING_VALUE",
41
+ * types: [ // AutomatedReasoningPolicyDefinitionTypeList
42
+ * { // AutomatedReasoningPolicyDefinitionType
43
+ * name: "STRING_VALUE", // required
44
+ * description: "STRING_VALUE",
45
+ * values: [ // AutomatedReasoningPolicyDefinitionTypeValueList // required
46
+ * { // AutomatedReasoningPolicyDefinitionTypeValue
47
+ * value: "STRING_VALUE", // required
48
+ * description: "STRING_VALUE",
49
+ * },
50
+ * ],
51
+ * },
52
+ * ],
53
+ * rules: [ // AutomatedReasoningPolicyDefinitionRuleList
54
+ * { // AutomatedReasoningPolicyDefinitionRule
55
+ * id: "STRING_VALUE", // required
56
+ * expression: "STRING_VALUE", // required
57
+ * alternateExpression: "STRING_VALUE",
58
+ * },
59
+ * ],
60
+ * variables: [ // AutomatedReasoningPolicyDefinitionVariableList
61
+ * { // AutomatedReasoningPolicyDefinitionVariable
62
+ * name: "STRING_VALUE", // required
63
+ * type: "STRING_VALUE", // required
64
+ * description: "STRING_VALUE", // required
65
+ * },
66
+ * ],
67
+ * },
68
+ * name: "STRING_VALUE",
69
+ * description: "STRING_VALUE",
70
+ * };
71
+ * const command = new UpdateAutomatedReasoningPolicyCommand(input);
72
+ * const response = await client.send(command);
73
+ * // { // UpdateAutomatedReasoningPolicyResponse
74
+ * // policyArn: "STRING_VALUE", // required
75
+ * // name: "STRING_VALUE", // required
76
+ * // definitionHash: "STRING_VALUE", // required
77
+ * // updatedAt: new Date("TIMESTAMP"), // required
78
+ * // };
79
+ *
80
+ * ```
81
+ *
82
+ * @param UpdateAutomatedReasoningPolicyCommandInput - {@link UpdateAutomatedReasoningPolicyCommandInput}
83
+ * @returns {@link UpdateAutomatedReasoningPolicyCommandOutput}
84
+ * @see {@link UpdateAutomatedReasoningPolicyCommandInput} for command's `input` shape.
85
+ * @see {@link UpdateAutomatedReasoningPolicyCommandOutput} for command's `response` shape.
86
+ * @see {@link BedrockClientResolvedConfig | config} for BedrockClient's `config` shape.
87
+ *
88
+ * @throws {@link AccessDeniedException} (client fault)
89
+ * <p>The request is denied because of missing access permissions.</p>
90
+ *
91
+ * @throws {@link ConflictException} (client fault)
92
+ * <p>Error occurred because of a conflict while performing an operation.</p>
93
+ *
94
+ * @throws {@link InternalServerException} (server fault)
95
+ * <p>An internal server error occurred. Retry your request.</p>
96
+ *
97
+ * @throws {@link ResourceNotFoundException} (client fault)
98
+ * <p>The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.</p>
99
+ *
100
+ * @throws {@link ThrottlingException} (client fault)
101
+ * <p>The number of requests exceeds the limit. Resubmit your request later.</p>
102
+ *
103
+ * @throws {@link TooManyTagsException} (client fault)
104
+ * <p>The request contains more tags than can be associated with a resource (50 tags per resource). The maximum number of tags includes both existing tags and those included in your current request. </p>
105
+ *
106
+ * @throws {@link ValidationException} (client fault)
107
+ * <p>Input validation failed. Check your request parameters and retry the request.</p>
108
+ *
109
+ * @throws {@link BedrockServiceException}
110
+ * <p>Base exception class for all service exceptions from Bedrock service.</p>
111
+ *
112
+ *
113
+ * @public
114
+ */
115
+ export declare class UpdateAutomatedReasoningPolicyCommand extends UpdateAutomatedReasoningPolicyCommand_base {
116
+ /** @internal type navigation helper, not in runtime. */
117
+ protected static __types: {
118
+ api: {
119
+ input: UpdateAutomatedReasoningPolicyRequest;
120
+ output: UpdateAutomatedReasoningPolicyResponse;
121
+ };
122
+ sdk: {
123
+ input: UpdateAutomatedReasoningPolicyCommandInput;
124
+ output: UpdateAutomatedReasoningPolicyCommandOutput;
125
+ };
126
+ };
127
+ }