@aws-sdk/client-bedrock-agentcore-control 3.940.0 → 3.946.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 (242) hide show
  1. package/README.md +216 -0
  2. package/dist-cjs/index.js +2060 -545
  3. package/dist-cjs/runtimeConfig.browser.js +2 -2
  4. package/dist-cjs/runtimeConfig.js +3 -4
  5. package/dist-es/BedrockAgentCoreControl.js +54 -0
  6. package/dist-es/BedrockAgentCoreControlClient.js +2 -2
  7. package/dist-es/commands/CreateEvaluatorCommand.js +16 -0
  8. package/dist-es/commands/CreateOnlineEvaluationConfigCommand.js +16 -0
  9. package/dist-es/commands/CreatePolicyCommand.js +16 -0
  10. package/dist-es/commands/CreatePolicyEngineCommand.js +16 -0
  11. package/dist-es/commands/DeleteEvaluatorCommand.js +16 -0
  12. package/dist-es/commands/DeleteOnlineEvaluationConfigCommand.js +16 -0
  13. package/dist-es/commands/DeletePolicyCommand.js +16 -0
  14. package/dist-es/commands/DeletePolicyEngineCommand.js +16 -0
  15. package/dist-es/commands/DeleteResourcePolicyCommand.js +16 -0
  16. package/dist-es/commands/GetEvaluatorCommand.js +16 -0
  17. package/dist-es/commands/GetOnlineEvaluationConfigCommand.js +16 -0
  18. package/dist-es/commands/GetPolicyCommand.js +16 -0
  19. package/dist-es/commands/GetPolicyEngineCommand.js +16 -0
  20. package/dist-es/commands/GetPolicyGenerationCommand.js +16 -0
  21. package/dist-es/commands/GetResourcePolicyCommand.js +16 -0
  22. package/dist-es/commands/ListEvaluatorsCommand.js +16 -0
  23. package/dist-es/commands/ListOnlineEvaluationConfigsCommand.js +16 -0
  24. package/dist-es/commands/ListPoliciesCommand.js +16 -0
  25. package/dist-es/commands/ListPolicyEnginesCommand.js +16 -0
  26. package/dist-es/commands/ListPolicyGenerationAssetsCommand.js +16 -0
  27. package/dist-es/commands/ListPolicyGenerationsCommand.js +16 -0
  28. package/dist-es/commands/PutResourcePolicyCommand.js +16 -0
  29. package/dist-es/commands/StartPolicyGenerationCommand.js +16 -0
  30. package/dist-es/commands/UpdateEvaluatorCommand.js +16 -0
  31. package/dist-es/commands/UpdateOnlineEvaluationConfigCommand.js +16 -0
  32. package/dist-es/commands/UpdatePolicyCommand.js +16 -0
  33. package/dist-es/commands/UpdatePolicyEngineCommand.js +16 -0
  34. package/dist-es/commands/index.js +27 -0
  35. package/dist-es/models/enums.js +104 -0
  36. package/dist-es/models/models_1.js +1 -0
  37. package/dist-es/pagination/ListEvaluatorsPaginator.js +4 -0
  38. package/dist-es/pagination/ListOnlineEvaluationConfigsPaginator.js +4 -0
  39. package/dist-es/pagination/ListPoliciesPaginator.js +4 -0
  40. package/dist-es/pagination/ListPolicyEnginesPaginator.js +4 -0
  41. package/dist-es/pagination/ListPolicyGenerationAssetsPaginator.js +4 -0
  42. package/dist-es/pagination/ListPolicyGenerationsPaginator.js +4 -0
  43. package/dist-es/pagination/index.js +6 -0
  44. package/dist-es/runtimeConfig.browser.js +2 -2
  45. package/dist-es/runtimeConfig.js +2 -3
  46. package/dist-es/schemas/schemas_0.js +1276 -535
  47. package/dist-es/waiters/index.js +5 -0
  48. package/dist-es/waiters/waitForPolicyActive.js +58 -0
  49. package/dist-es/waiters/waitForPolicyDeleted.js +43 -0
  50. package/dist-es/waiters/waitForPolicyEngineActive.js +58 -0
  51. package/dist-es/waiters/waitForPolicyEngineDeleted.js +43 -0
  52. package/dist-es/waiters/waitForPolicyGenerationCompleted.js +58 -0
  53. package/dist-types/BedrockAgentCoreControl.d.ts +193 -1
  54. package/dist-types/BedrockAgentCoreControlClient.d.ts +39 -12
  55. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +2 -2
  56. package/dist-types/auth/httpAuthSchemeProvider.d.ts +2 -2
  57. package/dist-types/commands/CreateAgentRuntimeCommand.d.ts +21 -3
  58. package/dist-types/commands/CreateAgentRuntimeEndpointCommand.d.ts +3 -3
  59. package/dist-types/commands/CreateApiKeyCredentialProviderCommand.d.ts +3 -3
  60. package/dist-types/commands/CreateBrowserCommand.d.ts +3 -3
  61. package/dist-types/commands/CreateCodeInterpreterCommand.d.ts +3 -3
  62. package/dist-types/commands/CreateEvaluatorCommand.d.ts +132 -0
  63. package/dist-types/commands/CreateGatewayCommand.d.ts +47 -3
  64. package/dist-types/commands/CreateGatewayTargetCommand.d.ts +51 -3
  65. package/dist-types/commands/CreateMemoryCommand.d.ts +55 -8
  66. package/dist-types/commands/CreateOauth2CredentialProviderCommand.d.ts +3 -3
  67. package/dist-types/commands/CreateOnlineEvaluationConfigCommand.d.ts +140 -0
  68. package/dist-types/commands/CreatePolicyCommand.d.ts +119 -0
  69. package/dist-types/commands/CreatePolicyEngineCommand.d.ts +103 -0
  70. package/dist-types/commands/CreateWorkloadIdentityCommand.d.ts +3 -3
  71. package/dist-types/commands/DeleteAgentRuntimeCommand.d.ts +3 -3
  72. package/dist-types/commands/DeleteAgentRuntimeEndpointCommand.d.ts +3 -3
  73. package/dist-types/commands/DeleteApiKeyCredentialProviderCommand.d.ts +3 -3
  74. package/dist-types/commands/DeleteBrowserCommand.d.ts +3 -3
  75. package/dist-types/commands/DeleteCodeInterpreterCommand.d.ts +3 -3
  76. package/dist-types/commands/DeleteEvaluatorCommand.d.ts +94 -0
  77. package/dist-types/commands/DeleteGatewayCommand.d.ts +3 -3
  78. package/dist-types/commands/DeleteGatewayTargetCommand.d.ts +3 -3
  79. package/dist-types/commands/DeleteMemoryCommand.d.ts +6 -3
  80. package/dist-types/commands/DeleteOauth2CredentialProviderCommand.d.ts +3 -3
  81. package/dist-types/commands/DeleteOnlineEvaluationConfigCommand.d.ts +94 -0
  82. package/dist-types/commands/DeletePolicyCommand.d.ts +108 -0
  83. package/dist-types/commands/DeletePolicyEngineCommand.d.ts +101 -0
  84. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +87 -0
  85. package/dist-types/commands/DeleteWorkloadIdentityCommand.d.ts +3 -3
  86. package/dist-types/commands/GetAgentRuntimeCommand.d.ts +22 -3
  87. package/dist-types/commands/GetAgentRuntimeEndpointCommand.d.ts +3 -3
  88. package/dist-types/commands/GetApiKeyCredentialProviderCommand.d.ts +3 -3
  89. package/dist-types/commands/GetBrowserCommand.d.ts +3 -3
  90. package/dist-types/commands/GetCodeInterpreterCommand.d.ts +3 -3
  91. package/dist-types/commands/GetEvaluatorCommand.d.ts +131 -0
  92. package/dist-types/commands/GetGatewayCommand.d.ts +25 -3
  93. package/dist-types/commands/GetGatewayTargetCommand.d.ts +28 -3
  94. package/dist-types/commands/GetMemoryCommand.d.ts +30 -8
  95. package/dist-types/commands/GetOauth2CredentialProviderCommand.d.ts +3 -3
  96. package/dist-types/commands/GetOnlineEvaluationConfigCommand.d.ts +137 -0
  97. package/dist-types/commands/GetPolicyCommand.d.ts +105 -0
  98. package/dist-types/commands/GetPolicyEngineCommand.d.ts +98 -0
  99. package/dist-types/commands/GetPolicyGenerationCommand.d.ts +103 -0
  100. package/dist-types/commands/GetResourcePolicyCommand.d.ts +89 -0
  101. package/dist-types/commands/GetTokenVaultCommand.d.ts +3 -3
  102. package/dist-types/commands/GetWorkloadIdentityCommand.d.ts +3 -3
  103. package/dist-types/commands/ListAgentRuntimeEndpointsCommand.d.ts +3 -3
  104. package/dist-types/commands/ListAgentRuntimeVersionsCommand.d.ts +3 -3
  105. package/dist-types/commands/ListAgentRuntimesCommand.d.ts +3 -3
  106. package/dist-types/commands/ListApiKeyCredentialProvidersCommand.d.ts +3 -3
  107. package/dist-types/commands/ListBrowsersCommand.d.ts +3 -3
  108. package/dist-types/commands/ListCodeInterpretersCommand.d.ts +3 -3
  109. package/dist-types/commands/ListEvaluatorsCommand.d.ts +101 -0
  110. package/dist-types/commands/ListGatewayTargetsCommand.d.ts +3 -3
  111. package/dist-types/commands/ListGatewaysCommand.d.ts +3 -3
  112. package/dist-types/commands/ListMemoriesCommand.d.ts +3 -3
  113. package/dist-types/commands/ListOauth2CredentialProvidersCommand.d.ts +3 -3
  114. package/dist-types/commands/ListOnlineEvaluationConfigsCommand.d.ts +100 -0
  115. package/dist-types/commands/ListPoliciesCommand.d.ts +113 -0
  116. package/dist-types/commands/ListPolicyEnginesCommand.d.ts +101 -0
  117. package/dist-types/commands/ListPolicyGenerationAssetsCommand.d.ts +109 -0
  118. package/dist-types/commands/ListPolicyGenerationsCommand.d.ts +109 -0
  119. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
  120. package/dist-types/commands/ListWorkloadIdentitiesCommand.d.ts +3 -3
  121. package/dist-types/commands/PutResourcePolicyCommand.d.ts +90 -0
  122. package/dist-types/commands/SetTokenVaultCMKCommand.d.ts +3 -3
  123. package/dist-types/commands/StartPolicyGenerationCommand.d.ts +116 -0
  124. package/dist-types/commands/SynchronizeGatewayTargetsCommand.d.ts +28 -3
  125. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  126. package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
  127. package/dist-types/commands/UpdateAgentRuntimeCommand.d.ts +21 -3
  128. package/dist-types/commands/UpdateAgentRuntimeEndpointCommand.d.ts +3 -3
  129. package/dist-types/commands/UpdateApiKeyCredentialProviderCommand.d.ts +3 -3
  130. package/dist-types/commands/UpdateEvaluatorCommand.d.ts +135 -0
  131. package/dist-types/commands/UpdateGatewayCommand.d.ts +47 -3
  132. package/dist-types/commands/UpdateGatewayTargetCommand.d.ts +51 -3
  133. package/dist-types/commands/UpdateMemoryCommand.d.ts +76 -11
  134. package/dist-types/commands/UpdateOauth2CredentialProviderCommand.d.ts +3 -3
  135. package/dist-types/commands/UpdateOnlineEvaluationConfigCommand.d.ts +138 -0
  136. package/dist-types/commands/UpdatePolicyCommand.d.ts +115 -0
  137. package/dist-types/commands/UpdatePolicyEngineCommand.d.ts +102 -0
  138. package/dist-types/commands/UpdateWorkloadIdentityCommand.d.ts +3 -3
  139. package/dist-types/commands/index.d.ts +27 -0
  140. package/dist-types/endpoint/EndpointParameters.d.ts +13 -1
  141. package/dist-types/endpoint/endpointResolver.d.ts +5 -2
  142. package/dist-types/extensionConfiguration.d.ts +4 -4
  143. package/dist-types/index.d.ts +1 -0
  144. package/dist-types/models/BedrockAgentCoreControlServiceException.d.ts +1 -1
  145. package/dist-types/models/enums.d.ts +232 -0
  146. package/dist-types/models/errors.d.ts +1 -1
  147. package/dist-types/models/models_0.d.ts +4160 -2169
  148. package/dist-types/models/models_1.d.ts +1009 -0
  149. package/dist-types/pagination/Interfaces.d.ts +1 -1
  150. package/dist-types/pagination/ListAgentRuntimeEndpointsPaginator.d.ts +1 -1
  151. package/dist-types/pagination/ListAgentRuntimeVersionsPaginator.d.ts +1 -1
  152. package/dist-types/pagination/ListAgentRuntimesPaginator.d.ts +1 -1
  153. package/dist-types/pagination/ListApiKeyCredentialProvidersPaginator.d.ts +1 -1
  154. package/dist-types/pagination/ListBrowsersPaginator.d.ts +1 -1
  155. package/dist-types/pagination/ListCodeInterpretersPaginator.d.ts +1 -1
  156. package/dist-types/pagination/ListEvaluatorsPaginator.d.ts +7 -0
  157. package/dist-types/pagination/ListGatewayTargetsPaginator.d.ts +1 -1
  158. package/dist-types/pagination/ListGatewaysPaginator.d.ts +1 -1
  159. package/dist-types/pagination/ListMemoriesPaginator.d.ts +1 -1
  160. package/dist-types/pagination/ListOauth2CredentialProvidersPaginator.d.ts +1 -1
  161. package/dist-types/pagination/ListOnlineEvaluationConfigsPaginator.d.ts +7 -0
  162. package/dist-types/pagination/ListPoliciesPaginator.d.ts +7 -0
  163. package/dist-types/pagination/ListPolicyEnginesPaginator.d.ts +7 -0
  164. package/dist-types/pagination/ListPolicyGenerationAssetsPaginator.d.ts +7 -0
  165. package/dist-types/pagination/ListPolicyGenerationsPaginator.d.ts +7 -0
  166. package/dist-types/pagination/ListWorkloadIdentitiesPaginator.d.ts +1 -1
  167. package/dist-types/pagination/index.d.ts +6 -0
  168. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  169. package/dist-types/runtimeConfig.d.ts +1 -1
  170. package/dist-types/runtimeConfig.native.d.ts +1 -1
  171. package/dist-types/runtimeConfig.shared.d.ts +1 -1
  172. package/dist-types/runtimeExtensions.d.ts +1 -1
  173. package/dist-types/schemas/schemas_0.d.ts +157 -1
  174. package/dist-types/ts3.4/BedrockAgentCoreControl.d.ts +462 -0
  175. package/dist-types/ts3.4/BedrockAgentCoreControlClient.d.ts +165 -3
  176. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  177. package/dist-types/ts3.4/commands/CreateEvaluatorCommand.d.ts +50 -0
  178. package/dist-types/ts3.4/commands/CreateGatewayTargetCommand.d.ts +1 -1
  179. package/dist-types/ts3.4/commands/CreateOnlineEvaluationConfigCommand.d.ts +51 -0
  180. package/dist-types/ts3.4/commands/CreatePolicyCommand.d.ts +47 -0
  181. package/dist-types/ts3.4/commands/CreatePolicyEngineCommand.d.ts +51 -0
  182. package/dist-types/ts3.4/commands/CreateWorkloadIdentityCommand.d.ts +1 -1
  183. package/dist-types/ts3.4/commands/DeleteEvaluatorCommand.d.ts +50 -0
  184. package/dist-types/ts3.4/commands/DeleteOnlineEvaluationConfigCommand.d.ts +51 -0
  185. package/dist-types/ts3.4/commands/DeletePolicyCommand.d.ts +47 -0
  186. package/dist-types/ts3.4/commands/DeletePolicyEngineCommand.d.ts +51 -0
  187. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +51 -0
  188. package/dist-types/ts3.4/commands/DeleteWorkloadIdentityCommand.d.ts +1 -1
  189. package/dist-types/ts3.4/commands/GetEvaluatorCommand.d.ts +47 -0
  190. package/dist-types/ts3.4/commands/GetGatewayTargetCommand.d.ts +2 -4
  191. package/dist-types/ts3.4/commands/GetOnlineEvaluationConfigCommand.d.ts +51 -0
  192. package/dist-types/ts3.4/commands/GetPolicyCommand.d.ts +47 -0
  193. package/dist-types/ts3.4/commands/GetPolicyEngineCommand.d.ts +50 -0
  194. package/dist-types/ts3.4/commands/GetPolicyGenerationCommand.d.ts +51 -0
  195. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +51 -0
  196. package/dist-types/ts3.4/commands/GetWorkloadIdentityCommand.d.ts +1 -1
  197. package/dist-types/ts3.4/commands/ListEvaluatorsCommand.d.ts +50 -0
  198. package/dist-types/ts3.4/commands/ListOnlineEvaluationConfigsCommand.d.ts +51 -0
  199. package/dist-types/ts3.4/commands/ListPoliciesCommand.d.ts +48 -0
  200. package/dist-types/ts3.4/commands/ListPolicyEnginesCommand.d.ts +51 -0
  201. package/dist-types/ts3.4/commands/ListPolicyGenerationAssetsCommand.d.ts +51 -0
  202. package/dist-types/ts3.4/commands/ListPolicyGenerationsCommand.d.ts +51 -0
  203. package/dist-types/ts3.4/commands/ListWorkloadIdentitiesCommand.d.ts +1 -1
  204. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +51 -0
  205. package/dist-types/ts3.4/commands/SetTokenVaultCMKCommand.d.ts +1 -1
  206. package/dist-types/ts3.4/commands/StartPolicyGenerationCommand.d.ts +51 -0
  207. package/dist-types/ts3.4/commands/SynchronizeGatewayTargetsCommand.d.ts +2 -4
  208. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  209. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
  210. package/dist-types/ts3.4/commands/UpdateEvaluatorCommand.d.ts +50 -0
  211. package/dist-types/ts3.4/commands/UpdateGatewayTargetCommand.d.ts +1 -1
  212. package/dist-types/ts3.4/commands/UpdateOnlineEvaluationConfigCommand.d.ts +51 -0
  213. package/dist-types/ts3.4/commands/UpdatePolicyCommand.d.ts +47 -0
  214. package/dist-types/ts3.4/commands/UpdatePolicyEngineCommand.d.ts +51 -0
  215. package/dist-types/ts3.4/commands/UpdateWorkloadIdentityCommand.d.ts +1 -1
  216. package/dist-types/ts3.4/commands/index.d.ts +27 -0
  217. package/dist-types/ts3.4/index.d.ts +1 -0
  218. package/dist-types/ts3.4/models/BedrockAgentCoreControlServiceException.d.ts +1 -1
  219. package/dist-types/ts3.4/models/enums.d.ts +132 -0
  220. package/dist-types/ts3.4/models/models_0.d.ts +835 -188
  221. package/dist-types/ts3.4/models/models_1.d.ts +331 -0
  222. package/dist-types/ts3.4/pagination/ListEvaluatorsPaginator.d.ts +11 -0
  223. package/dist-types/ts3.4/pagination/ListOnlineEvaluationConfigsPaginator.d.ts +11 -0
  224. package/dist-types/ts3.4/pagination/ListPoliciesPaginator.d.ts +11 -0
  225. package/dist-types/ts3.4/pagination/ListPolicyEnginesPaginator.d.ts +11 -0
  226. package/dist-types/ts3.4/pagination/ListPolicyGenerationAssetsPaginator.d.ts +11 -0
  227. package/dist-types/ts3.4/pagination/ListPolicyGenerationsPaginator.d.ts +11 -0
  228. package/dist-types/ts3.4/pagination/index.d.ts +6 -0
  229. package/dist-types/ts3.4/schemas/schemas_0.d.ts +156 -0
  230. package/dist-types/ts3.4/waiters/index.d.ts +5 -0
  231. package/dist-types/ts3.4/waiters/waitForPolicyActive.d.ts +11 -0
  232. package/dist-types/ts3.4/waiters/waitForPolicyDeleted.d.ts +11 -0
  233. package/dist-types/ts3.4/waiters/waitForPolicyEngineActive.d.ts +11 -0
  234. package/dist-types/ts3.4/waiters/waitForPolicyEngineDeleted.d.ts +11 -0
  235. package/dist-types/ts3.4/waiters/waitForPolicyGenerationCompleted.d.ts +11 -0
  236. package/dist-types/waiters/index.d.ts +5 -0
  237. package/dist-types/waiters/waitForPolicyActive.d.ts +14 -0
  238. package/dist-types/waiters/waitForPolicyDeleted.d.ts +14 -0
  239. package/dist-types/waiters/waitForPolicyEngineActive.d.ts +14 -0
  240. package/dist-types/waiters/waitForPolicyEngineDeleted.d.ts +14 -0
  241. package/dist-types/waiters/waitForPolicyGenerationCompleted.d.ts +14 -0
  242. package/package.json +13 -12
@@ -0,0 +1,131 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
4
+ import type { GetEvaluatorRequest, GetEvaluatorResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetEvaluatorCommand}.
14
+ */
15
+ export interface GetEvaluatorCommandInput extends GetEvaluatorRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetEvaluatorCommand}.
21
+ */
22
+ export interface GetEvaluatorCommandOutput extends GetEvaluatorResponse, __MetadataBearer {
23
+ }
24
+ declare const GetEvaluatorCommand_base: {
25
+ new (input: GetEvaluatorCommandInput): import("@smithy/smithy-client").CommandImpl<GetEvaluatorCommandInput, GetEvaluatorCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetEvaluatorCommandInput): import("@smithy/smithy-client").CommandImpl<GetEvaluatorCommandInput, GetEvaluatorCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p> Retrieves detailed information about an evaluator, including its configuration, status, and metadata. Works with both built-in and custom evaluators. </p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { BedrockAgentCoreControlClient, GetEvaluatorCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
35
+ * // const { BedrockAgentCoreControlClient, GetEvaluatorCommand } = require("@aws-sdk/client-bedrock-agentcore-control"); // CommonJS import
36
+ * // import type { BedrockAgentCoreControlClientConfig } from "@aws-sdk/client-bedrock-agentcore-control";
37
+ * const config = {}; // type is BedrockAgentCoreControlClientConfig
38
+ * const client = new BedrockAgentCoreControlClient(config);
39
+ * const input = { // GetEvaluatorRequest
40
+ * evaluatorId: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new GetEvaluatorCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // GetEvaluatorResponse
45
+ * // evaluatorArn: "STRING_VALUE", // required
46
+ * // evaluatorId: "STRING_VALUE", // required
47
+ * // evaluatorName: "STRING_VALUE", // required
48
+ * // description: "STRING_VALUE",
49
+ * // evaluatorConfig: { // EvaluatorConfig Union: only one key present
50
+ * // llmAsAJudge: { // LlmAsAJudgeEvaluatorConfig
51
+ * // instructions: "STRING_VALUE", // required
52
+ * // ratingScale: { // RatingScale Union: only one key present
53
+ * // numerical: [ // NumericalScaleDefinitions
54
+ * // { // NumericalScaleDefinition
55
+ * // definition: "STRING_VALUE", // required
56
+ * // value: Number("double"), // required
57
+ * // label: "STRING_VALUE", // required
58
+ * // },
59
+ * // ],
60
+ * // categorical: [ // CategoricalScaleDefinitions
61
+ * // { // CategoricalScaleDefinition
62
+ * // definition: "STRING_VALUE", // required
63
+ * // label: "STRING_VALUE", // required
64
+ * // },
65
+ * // ],
66
+ * // },
67
+ * // modelConfig: { // EvaluatorModelConfig Union: only one key present
68
+ * // bedrockEvaluatorModelConfig: { // BedrockEvaluatorModelConfig
69
+ * // modelId: "STRING_VALUE", // required
70
+ * // inferenceConfig: { // InferenceConfiguration
71
+ * // maxTokens: Number("int"),
72
+ * // temperature: Number("float"),
73
+ * // topP: Number("float"),
74
+ * // stopSequences: [ // NonEmptyStringList
75
+ * // "STRING_VALUE",
76
+ * // ],
77
+ * // },
78
+ * // additionalModelRequestFields: "DOCUMENT_VALUE",
79
+ * // },
80
+ * // },
81
+ * // },
82
+ * // },
83
+ * // level: "TOOL_CALL" || "TRACE" || "SESSION", // required
84
+ * // status: "ACTIVE" || "CREATING" || "CREATE_FAILED" || "UPDATING" || "UPDATE_FAILED" || "DELETING", // required
85
+ * // createdAt: new Date("TIMESTAMP"), // required
86
+ * // updatedAt: new Date("TIMESTAMP"), // required
87
+ * // lockedForModification: true || false,
88
+ * // };
89
+ *
90
+ * ```
91
+ *
92
+ * @param GetEvaluatorCommandInput - {@link GetEvaluatorCommandInput}
93
+ * @returns {@link GetEvaluatorCommandOutput}
94
+ * @see {@link GetEvaluatorCommandInput} for command's `input` shape.
95
+ * @see {@link GetEvaluatorCommandOutput} for command's `response` shape.
96
+ * @see {@link BedrockAgentCoreControlClientResolvedConfig | config} for BedrockAgentCoreControlClient's `config` shape.
97
+ *
98
+ * @throws {@link AccessDeniedException} (client fault)
99
+ * <p>This exception is thrown when a request is denied per access permissions</p>
100
+ *
101
+ * @throws {@link InternalServerException} (server fault)
102
+ * <p>This exception is thrown if there was an unexpected error during processing of request</p>
103
+ *
104
+ * @throws {@link ResourceNotFoundException} (client fault)
105
+ * <p>This exception is thrown when a resource referenced by the operation does not exist</p>
106
+ *
107
+ * @throws {@link ThrottlingException} (client fault)
108
+ * <p>This exception is thrown when the number of requests exceeds the limit</p>
109
+ *
110
+ * @throws {@link ValidationException} (client fault)
111
+ * <p>The input fails to satisfy the constraints specified by the service.</p>
112
+ *
113
+ * @throws {@link BedrockAgentCoreControlServiceException}
114
+ * <p>Base exception class for all service exceptions from BedrockAgentCoreControl service.</p>
115
+ *
116
+ *
117
+ * @public
118
+ */
119
+ export declare class GetEvaluatorCommand extends GetEvaluatorCommand_base {
120
+ /** @internal type navigation helper, not in runtime. */
121
+ protected static __types: {
122
+ api: {
123
+ input: GetEvaluatorRequest;
124
+ output: GetEvaluatorResponse;
125
+ };
126
+ sdk: {
127
+ input: GetEvaluatorCommandInput;
128
+ output: GetEvaluatorCommandOutput;
129
+ };
130
+ };
131
+ }
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
4
- import { GetGatewayRequest, GetGatewayResponse } from "../models/models_0";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
4
+ import type { GetGatewayRequest, GetGatewayResponse } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -74,6 +74,24 @@ declare const GetGatewayCommand_base: {
74
74
  * // allowedClients: [ // AllowedClientsList
75
75
  * // "STRING_VALUE",
76
76
  * // ],
77
+ * // allowedScopes: [ // AllowedScopesType
78
+ * // "STRING_VALUE",
79
+ * // ],
80
+ * // customClaims: [ // CustomClaimValidationsType
81
+ * // { // CustomClaimValidationType
82
+ * // inboundTokenClaimName: "STRING_VALUE", // required
83
+ * // inboundTokenClaimValueType: "STRING" || "STRING_ARRAY", // required
84
+ * // authorizingClaimMatchValue: { // AuthorizingClaimMatchValueType
85
+ * // claimMatchValue: { // ClaimMatchValueType Union: only one key present
86
+ * // matchValueString: "STRING_VALUE",
87
+ * // matchValueStringList: [ // MatchValueStringList
88
+ * // "STRING_VALUE",
89
+ * // ],
90
+ * // },
91
+ * // claimMatchOperator: "EQUALS" || "CONTAINS" || "CONTAINS_ANY", // required
92
+ * // },
93
+ * // },
94
+ * // ],
77
95
  * // },
78
96
  * // },
79
97
  * // kmsKeyArn: "STRING_VALUE",
@@ -92,6 +110,10 @@ declare const GetGatewayCommand_base: {
92
110
  * // },
93
111
  * // },
94
112
  * // ],
113
+ * // policyEngineConfiguration: { // GatewayPolicyEngineConfiguration
114
+ * // arn: "STRING_VALUE", // required
115
+ * // mode: "LOG_ONLY" || "ENFORCE", // required
116
+ * // },
95
117
  * // workloadIdentityDetails: { // WorkloadIdentityDetails
96
118
  * // workloadIdentityArn: "STRING_VALUE", // required
97
119
  * // },
@@ -1,7 +1,8 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
4
- import { GetGatewayTargetRequest, GetGatewayTargetResponse } from "../models/models_0";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
4
+ import type { GetGatewayTargetRequest } from "../models/models_0";
5
+ import type { GetGatewayTargetResponse } from "../models/models_1";
5
6
  /**
6
7
  * @public
7
8
  */
@@ -109,6 +110,28 @@ declare const GetGatewayTargetCommand_base: {
109
110
  * // mcpServer: { // McpServerTargetConfiguration
110
111
  * // endpoint: "STRING_VALUE", // required
111
112
  * // },
113
+ * // apiGateway: { // ApiGatewayTargetConfiguration
114
+ * // restApiId: "STRING_VALUE", // required
115
+ * // stage: "STRING_VALUE", // required
116
+ * // apiGatewayToolConfiguration: { // ApiGatewayToolConfiguration
117
+ * // toolOverrides: [ // ApiGatewayToolOverrides
118
+ * // { // ApiGatewayToolOverride
119
+ * // name: "STRING_VALUE", // required
120
+ * // description: "STRING_VALUE",
121
+ * // path: "STRING_VALUE", // required
122
+ * // method: "GET" || "DELETE" || "HEAD" || "OPTIONS" || "PATCH" || "PUT" || "POST", // required
123
+ * // },
124
+ * // ],
125
+ * // toolFilters: [ // ApiGatewayToolFilters // required
126
+ * // { // ApiGatewayToolFilter
127
+ * // filterPath: "STRING_VALUE", // required
128
+ * // methods: [ // RestApiMethods // required
129
+ * // "GET" || "DELETE" || "HEAD" || "OPTIONS" || "PATCH" || "PUT" || "POST",
130
+ * // ],
131
+ * // },
132
+ * // ],
133
+ * // },
134
+ * // },
112
135
  * // },
113
136
  * // },
114
137
  * // credentialProviderConfigurations: [ // CredentialProviderConfigurations // required
@@ -123,6 +146,8 @@ declare const GetGatewayTargetCommand_base: {
123
146
  * // customParameters: { // OAuthCustomParameters
124
147
  * // "<keys>": "STRING_VALUE",
125
148
  * // },
149
+ * // grantType: "CLIENT_CREDENTIALS" || "AUTHORIZATION_CODE",
150
+ * // defaultReturnUrl: "STRING_VALUE",
126
151
  * // },
127
152
  * // apiKeyCredentialProvider: { // GatewayApiKeyCredentialProvider
128
153
  * // providerArn: "STRING_VALUE", // required
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
4
- import { GetMemoryInput, GetMemoryOutput } from "../models/models_0";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
4
+ import type { GetMemoryInput, GetMemoryOutput } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -60,7 +60,7 @@ declare const GetMemoryCommand_base: {
60
60
  * // name: "STRING_VALUE", // required
61
61
  * // description: "STRING_VALUE",
62
62
  * // configuration: { // StrategyConfiguration
63
- * // type: "SEMANTIC_OVERRIDE" || "SUMMARY_OVERRIDE" || "USER_PREFERENCE_OVERRIDE" || "SELF_MANAGED",
63
+ * // type: "SEMANTIC_OVERRIDE" || "SUMMARY_OVERRIDE" || "USER_PREFERENCE_OVERRIDE" || "SELF_MANAGED" || "EPISODIC_OVERRIDE",
64
64
  * // extraction: { // ExtractionConfiguration Union: only one key present
65
65
  * // customExtractionConfiguration: { // CustomExtractionConfiguration Union: only one key present
66
66
  * // semanticExtractionOverride: { // SemanticExtractionOverride
@@ -71,6 +71,10 @@ declare const GetMemoryCommand_base: {
71
71
  * // appendToPrompt: "STRING_VALUE", // required
72
72
  * // modelId: "STRING_VALUE", // required
73
73
  * // },
74
+ * // episodicExtractionOverride: { // EpisodicExtractionOverride
75
+ * // appendToPrompt: "STRING_VALUE", // required
76
+ * // modelId: "STRING_VALUE", // required
77
+ * // },
74
78
  * // },
75
79
  * // },
76
80
  * // consolidation: { // ConsolidationConfiguration Union: only one key present
@@ -87,6 +91,26 @@ declare const GetMemoryCommand_base: {
87
91
  * // appendToPrompt: "STRING_VALUE", // required
88
92
  * // modelId: "STRING_VALUE", // required
89
93
  * // },
94
+ * // episodicConsolidationOverride: { // EpisodicConsolidationOverride
95
+ * // appendToPrompt: "STRING_VALUE", // required
96
+ * // modelId: "STRING_VALUE", // required
97
+ * // },
98
+ * // },
99
+ * // },
100
+ * // reflection: { // ReflectionConfiguration Union: only one key present
101
+ * // customReflectionConfiguration: { // CustomReflectionConfiguration Union: only one key present
102
+ * // episodicReflectionOverride: { // EpisodicReflectionOverride
103
+ * // appendToPrompt: "STRING_VALUE", // required
104
+ * // modelId: "STRING_VALUE", // required
105
+ * // namespaces: [ // NamespacesList
106
+ * // "STRING_VALUE",
107
+ * // ],
108
+ * // },
109
+ * // },
110
+ * // episodicReflectionConfiguration: { // EpisodicReflectionConfiguration
111
+ * // namespaces: [ // required
112
+ * // "STRING_VALUE",
113
+ * // ],
90
114
  * // },
91
115
  * // },
92
116
  * // selfManagedConfiguration: { // SelfManagedConfiguration
@@ -110,10 +134,8 @@ declare const GetMemoryCommand_base: {
110
134
  * // historicalContextWindowSize: Number("int"), // required
111
135
  * // },
112
136
  * // },
113
- * // type: "SEMANTIC" || "SUMMARIZATION" || "USER_PREFERENCE" || "CUSTOM", // required
114
- * // namespaces: [ // NamespacesList // required
115
- * // "STRING_VALUE",
116
- * // ],
137
+ * // type: "SEMANTIC" || "SUMMARIZATION" || "USER_PREFERENCE" || "CUSTOM" || "EPISODIC", // required
138
+ * // namespaces: "<NamespacesList>", // required
117
139
  * // createdAt: new Date("TIMESTAMP"),
118
140
  * // updatedAt: new Date("TIMESTAMP"),
119
141
  * // status: "CREATING" || "ACTIVE" || "DELETING" || "FAILED",
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
4
- import { GetOauth2CredentialProviderRequest, GetOauth2CredentialProviderResponse } from "../models/models_0";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
4
+ import type { GetOauth2CredentialProviderRequest, GetOauth2CredentialProviderResponse } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -0,0 +1,137 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
4
+ import type { GetOnlineEvaluationConfigRequest, GetOnlineEvaluationConfigResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetOnlineEvaluationConfigCommand}.
14
+ */
15
+ export interface GetOnlineEvaluationConfigCommandInput extends GetOnlineEvaluationConfigRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetOnlineEvaluationConfigCommand}.
21
+ */
22
+ export interface GetOnlineEvaluationConfigCommandOutput extends GetOnlineEvaluationConfigResponse, __MetadataBearer {
23
+ }
24
+ declare const GetOnlineEvaluationConfigCommand_base: {
25
+ new (input: GetOnlineEvaluationConfigCommandInput): import("@smithy/smithy-client").CommandImpl<GetOnlineEvaluationConfigCommandInput, GetOnlineEvaluationConfigCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetOnlineEvaluationConfigCommandInput): import("@smithy/smithy-client").CommandImpl<GetOnlineEvaluationConfigCommandInput, GetOnlineEvaluationConfigCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p> Retrieves detailed information about an online evaluation configuration, including its rules, data sources, evaluators, and execution status. </p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { BedrockAgentCoreControlClient, GetOnlineEvaluationConfigCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
35
+ * // const { BedrockAgentCoreControlClient, GetOnlineEvaluationConfigCommand } = require("@aws-sdk/client-bedrock-agentcore-control"); // CommonJS import
36
+ * // import type { BedrockAgentCoreControlClientConfig } from "@aws-sdk/client-bedrock-agentcore-control";
37
+ * const config = {}; // type is BedrockAgentCoreControlClientConfig
38
+ * const client = new BedrockAgentCoreControlClient(config);
39
+ * const input = { // GetOnlineEvaluationConfigRequest
40
+ * onlineEvaluationConfigId: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new GetOnlineEvaluationConfigCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // GetOnlineEvaluationConfigResponse
45
+ * // onlineEvaluationConfigArn: "STRING_VALUE", // required
46
+ * // onlineEvaluationConfigId: "STRING_VALUE", // required
47
+ * // onlineEvaluationConfigName: "STRING_VALUE", // required
48
+ * // description: "STRING_VALUE",
49
+ * // rule: { // Rule
50
+ * // samplingConfig: { // SamplingConfig
51
+ * // samplingPercentage: Number("double"), // required
52
+ * // },
53
+ * // filters: [ // FilterList
54
+ * // { // Filter
55
+ * // key: "STRING_VALUE", // required
56
+ * // operator: "Equals" || "NotEquals" || "GreaterThan" || "LessThan" || "GreaterThanOrEqual" || "LessThanOrEqual" || "Contains" || "NotContains", // required
57
+ * // value: { // FilterValue Union: only one key present
58
+ * // stringValue: "STRING_VALUE",
59
+ * // doubleValue: Number("double"),
60
+ * // booleanValue: true || false,
61
+ * // },
62
+ * // },
63
+ * // ],
64
+ * // sessionConfig: { // SessionConfig
65
+ * // sessionTimeoutMinutes: Number("int"), // required
66
+ * // },
67
+ * // },
68
+ * // dataSourceConfig: { // DataSourceConfig Union: only one key present
69
+ * // cloudWatchLogs: { // CloudWatchLogsInputConfig
70
+ * // logGroupNames: [ // LogGroupNamesList // required
71
+ * // "STRING_VALUE",
72
+ * // ],
73
+ * // serviceNames: [ // ServiceNamesList // required
74
+ * // "STRING_VALUE",
75
+ * // ],
76
+ * // },
77
+ * // },
78
+ * // evaluators: [ // EvaluatorList // required
79
+ * // { // EvaluatorReference Union: only one key present
80
+ * // evaluatorId: "STRING_VALUE",
81
+ * // },
82
+ * // ],
83
+ * // outputConfig: { // OutputConfig
84
+ * // cloudWatchConfig: { // CloudWatchOutputConfig
85
+ * // logGroupName: "STRING_VALUE", // required
86
+ * // },
87
+ * // },
88
+ * // evaluationExecutionRoleArn: "STRING_VALUE",
89
+ * // status: "ACTIVE" || "CREATING" || "CREATE_FAILED" || "UPDATING" || "UPDATE_FAILED" || "DELETING", // required
90
+ * // executionStatus: "ENABLED" || "DISABLED", // required
91
+ * // createdAt: new Date("TIMESTAMP"), // required
92
+ * // updatedAt: new Date("TIMESTAMP"), // required
93
+ * // failureReason: "STRING_VALUE",
94
+ * // };
95
+ *
96
+ * ```
97
+ *
98
+ * @param GetOnlineEvaluationConfigCommandInput - {@link GetOnlineEvaluationConfigCommandInput}
99
+ * @returns {@link GetOnlineEvaluationConfigCommandOutput}
100
+ * @see {@link GetOnlineEvaluationConfigCommandInput} for command's `input` shape.
101
+ * @see {@link GetOnlineEvaluationConfigCommandOutput} for command's `response` shape.
102
+ * @see {@link BedrockAgentCoreControlClientResolvedConfig | config} for BedrockAgentCoreControlClient's `config` shape.
103
+ *
104
+ * @throws {@link AccessDeniedException} (client fault)
105
+ * <p>This exception is thrown when a request is denied per access permissions</p>
106
+ *
107
+ * @throws {@link InternalServerException} (server fault)
108
+ * <p>This exception is thrown if there was an unexpected error during processing of request</p>
109
+ *
110
+ * @throws {@link ResourceNotFoundException} (client fault)
111
+ * <p>This exception is thrown when a resource referenced by the operation does not exist</p>
112
+ *
113
+ * @throws {@link ThrottlingException} (client fault)
114
+ * <p>This exception is thrown when the number of requests exceeds the limit</p>
115
+ *
116
+ * @throws {@link ValidationException} (client fault)
117
+ * <p>The input fails to satisfy the constraints specified by the service.</p>
118
+ *
119
+ * @throws {@link BedrockAgentCoreControlServiceException}
120
+ * <p>Base exception class for all service exceptions from BedrockAgentCoreControl service.</p>
121
+ *
122
+ *
123
+ * @public
124
+ */
125
+ export declare class GetOnlineEvaluationConfigCommand extends GetOnlineEvaluationConfigCommand_base {
126
+ /** @internal type navigation helper, not in runtime. */
127
+ protected static __types: {
128
+ api: {
129
+ input: GetOnlineEvaluationConfigRequest;
130
+ output: GetOnlineEvaluationConfigResponse;
131
+ };
132
+ sdk: {
133
+ input: GetOnlineEvaluationConfigCommandInput;
134
+ output: GetOnlineEvaluationConfigCommandOutput;
135
+ };
136
+ };
137
+ }
@@ -0,0 +1,105 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
4
+ import type { GetPolicyRequest, GetPolicyResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetPolicyCommand}.
14
+ */
15
+ export interface GetPolicyCommandInput extends GetPolicyRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetPolicyCommand}.
21
+ */
22
+ export interface GetPolicyCommandOutput extends GetPolicyResponse, __MetadataBearer {
23
+ }
24
+ declare const GetPolicyCommand_base: {
25
+ new (input: GetPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<GetPolicyCommandInput, GetPolicyCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<GetPolicyCommandInput, GetPolicyCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Retrieves detailed information about a specific policy within the AgentCore Policy system. This operation returns the complete policy definition, metadata, and current status, allowing administrators to review and manage policy configurations.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { BedrockAgentCoreControlClient, GetPolicyCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
35
+ * // const { BedrockAgentCoreControlClient, GetPolicyCommand } = require("@aws-sdk/client-bedrock-agentcore-control"); // CommonJS import
36
+ * // import type { BedrockAgentCoreControlClientConfig } from "@aws-sdk/client-bedrock-agentcore-control";
37
+ * const config = {}; // type is BedrockAgentCoreControlClientConfig
38
+ * const client = new BedrockAgentCoreControlClient(config);
39
+ * const input = { // GetPolicyRequest
40
+ * policyEngineId: "STRING_VALUE", // required
41
+ * policyId: "STRING_VALUE", // required
42
+ * };
43
+ * const command = new GetPolicyCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // GetPolicyResponse
46
+ * // policyId: "STRING_VALUE", // required
47
+ * // name: "STRING_VALUE", // required
48
+ * // policyEngineId: "STRING_VALUE", // required
49
+ * // definition: { // PolicyDefinition Union: only one key present
50
+ * // cedar: { // CedarPolicy
51
+ * // statement: "STRING_VALUE", // required
52
+ * // },
53
+ * // },
54
+ * // description: "STRING_VALUE",
55
+ * // createdAt: new Date("TIMESTAMP"), // required
56
+ * // updatedAt: new Date("TIMESTAMP"), // required
57
+ * // policyArn: "STRING_VALUE", // required
58
+ * // status: "CREATING" || "ACTIVE" || "UPDATING" || "DELETING" || "CREATE_FAILED" || "UPDATE_FAILED" || "DELETE_FAILED", // required
59
+ * // statusReasons: [ // PolicyStatusReasons // required
60
+ * // "STRING_VALUE",
61
+ * // ],
62
+ * // };
63
+ *
64
+ * ```
65
+ *
66
+ * @param GetPolicyCommandInput - {@link GetPolicyCommandInput}
67
+ * @returns {@link GetPolicyCommandOutput}
68
+ * @see {@link GetPolicyCommandInput} for command's `input` shape.
69
+ * @see {@link GetPolicyCommandOutput} for command's `response` shape.
70
+ * @see {@link BedrockAgentCoreControlClientResolvedConfig | config} for BedrockAgentCoreControlClient's `config` shape.
71
+ *
72
+ * @throws {@link AccessDeniedException} (client fault)
73
+ * <p>This exception is thrown when a request is denied per access permissions</p>
74
+ *
75
+ * @throws {@link InternalServerException} (server fault)
76
+ * <p>This exception is thrown if there was an unexpected error during processing of request</p>
77
+ *
78
+ * @throws {@link ResourceNotFoundException} (client fault)
79
+ * <p>This exception is thrown when a resource referenced by the operation does not exist</p>
80
+ *
81
+ * @throws {@link ThrottlingException} (client fault)
82
+ * <p>This exception is thrown when the number of requests exceeds the limit</p>
83
+ *
84
+ * @throws {@link ValidationException} (client fault)
85
+ * <p>The input fails to satisfy the constraints specified by the service.</p>
86
+ *
87
+ * @throws {@link BedrockAgentCoreControlServiceException}
88
+ * <p>Base exception class for all service exceptions from BedrockAgentCoreControl service.</p>
89
+ *
90
+ *
91
+ * @public
92
+ */
93
+ export declare class GetPolicyCommand extends GetPolicyCommand_base {
94
+ /** @internal type navigation helper, not in runtime. */
95
+ protected static __types: {
96
+ api: {
97
+ input: GetPolicyRequest;
98
+ output: GetPolicyResponse;
99
+ };
100
+ sdk: {
101
+ input: GetPolicyCommandInput;
102
+ output: GetPolicyCommandOutput;
103
+ };
104
+ };
105
+ }
@@ -0,0 +1,98 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
4
+ import type { GetPolicyEngineRequest, GetPolicyEngineResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetPolicyEngineCommand}.
14
+ */
15
+ export interface GetPolicyEngineCommandInput extends GetPolicyEngineRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetPolicyEngineCommand}.
21
+ */
22
+ export interface GetPolicyEngineCommandOutput extends GetPolicyEngineResponse, __MetadataBearer {
23
+ }
24
+ declare const GetPolicyEngineCommand_base: {
25
+ new (input: GetPolicyEngineCommandInput): import("@smithy/smithy-client").CommandImpl<GetPolicyEngineCommandInput, GetPolicyEngineCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetPolicyEngineCommandInput): import("@smithy/smithy-client").CommandImpl<GetPolicyEngineCommandInput, GetPolicyEngineCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Retrieves detailed information about a specific policy engine within the AgentCore Policy system. This operation returns the complete policy engine configuration, metadata, and current status, allowing administrators to review and manage policy engine settings.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { BedrockAgentCoreControlClient, GetPolicyEngineCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
35
+ * // const { BedrockAgentCoreControlClient, GetPolicyEngineCommand } = require("@aws-sdk/client-bedrock-agentcore-control"); // CommonJS import
36
+ * // import type { BedrockAgentCoreControlClientConfig } from "@aws-sdk/client-bedrock-agentcore-control";
37
+ * const config = {}; // type is BedrockAgentCoreControlClientConfig
38
+ * const client = new BedrockAgentCoreControlClient(config);
39
+ * const input = { // GetPolicyEngineRequest
40
+ * policyEngineId: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new GetPolicyEngineCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // GetPolicyEngineResponse
45
+ * // policyEngineId: "STRING_VALUE", // required
46
+ * // name: "STRING_VALUE", // required
47
+ * // description: "STRING_VALUE",
48
+ * // createdAt: new Date("TIMESTAMP"), // required
49
+ * // updatedAt: new Date("TIMESTAMP"), // required
50
+ * // policyEngineArn: "STRING_VALUE", // required
51
+ * // status: "CREATING" || "ACTIVE" || "UPDATING" || "DELETING" || "CREATE_FAILED" || "UPDATE_FAILED" || "DELETE_FAILED", // required
52
+ * // statusReasons: [ // PolicyStatusReasons // required
53
+ * // "STRING_VALUE",
54
+ * // ],
55
+ * // };
56
+ *
57
+ * ```
58
+ *
59
+ * @param GetPolicyEngineCommandInput - {@link GetPolicyEngineCommandInput}
60
+ * @returns {@link GetPolicyEngineCommandOutput}
61
+ * @see {@link GetPolicyEngineCommandInput} for command's `input` shape.
62
+ * @see {@link GetPolicyEngineCommandOutput} for command's `response` shape.
63
+ * @see {@link BedrockAgentCoreControlClientResolvedConfig | config} for BedrockAgentCoreControlClient's `config` shape.
64
+ *
65
+ * @throws {@link AccessDeniedException} (client fault)
66
+ * <p>This exception is thrown when a request is denied per access permissions</p>
67
+ *
68
+ * @throws {@link InternalServerException} (server fault)
69
+ * <p>This exception is thrown if there was an unexpected error during processing of request</p>
70
+ *
71
+ * @throws {@link ResourceNotFoundException} (client fault)
72
+ * <p>This exception is thrown when a resource referenced by the operation does not exist</p>
73
+ *
74
+ * @throws {@link ThrottlingException} (client fault)
75
+ * <p>This exception is thrown when the number of requests exceeds the limit</p>
76
+ *
77
+ * @throws {@link ValidationException} (client fault)
78
+ * <p>The input fails to satisfy the constraints specified by the service.</p>
79
+ *
80
+ * @throws {@link BedrockAgentCoreControlServiceException}
81
+ * <p>Base exception class for all service exceptions from BedrockAgentCoreControl service.</p>
82
+ *
83
+ *
84
+ * @public
85
+ */
86
+ export declare class GetPolicyEngineCommand extends GetPolicyEngineCommand_base {
87
+ /** @internal type navigation helper, not in runtime. */
88
+ protected static __types: {
89
+ api: {
90
+ input: GetPolicyEngineRequest;
91
+ output: GetPolicyEngineResponse;
92
+ };
93
+ sdk: {
94
+ input: GetPolicyEngineCommandInput;
95
+ output: GetPolicyEngineCommandOutput;
96
+ };
97
+ };
98
+ }