@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,113 @@
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 { ListPoliciesRequest } from "../models/models_0";
5
+ import type { ListPoliciesResponse } from "../models/models_1";
6
+ /**
7
+ * @public
8
+ */
9
+ export type { __MetadataBearer };
10
+ export { $Command };
11
+ /**
12
+ * @public
13
+ *
14
+ * The input for {@link ListPoliciesCommand}.
15
+ */
16
+ export interface ListPoliciesCommandInput extends ListPoliciesRequest {
17
+ }
18
+ /**
19
+ * @public
20
+ *
21
+ * The output of {@link ListPoliciesCommand}.
22
+ */
23
+ export interface ListPoliciesCommandOutput extends ListPoliciesResponse, __MetadataBearer {
24
+ }
25
+ declare const ListPoliciesCommand_base: {
26
+ new (input: ListPoliciesCommandInput): import("@smithy/smithy-client").CommandImpl<ListPoliciesCommandInput, ListPoliciesCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ new (input: ListPoliciesCommandInput): import("@smithy/smithy-client").CommandImpl<ListPoliciesCommandInput, ListPoliciesCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
28
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
+ };
30
+ /**
31
+ * <p>Retrieves a list of policies within the AgentCore Policy engine. This operation supports pagination and filtering to help administrators manage and discover policies across policy engines. Results can be filtered by policy engine or resource associations.</p>
32
+ * @example
33
+ * Use a bare-bones client and the command you need to make an API call.
34
+ * ```javascript
35
+ * import { BedrockAgentCoreControlClient, ListPoliciesCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
36
+ * // const { BedrockAgentCoreControlClient, ListPoliciesCommand } = require("@aws-sdk/client-bedrock-agentcore-control"); // CommonJS import
37
+ * // import type { BedrockAgentCoreControlClientConfig } from "@aws-sdk/client-bedrock-agentcore-control";
38
+ * const config = {}; // type is BedrockAgentCoreControlClientConfig
39
+ * const client = new BedrockAgentCoreControlClient(config);
40
+ * const input = { // ListPoliciesRequest
41
+ * nextToken: "STRING_VALUE",
42
+ * maxResults: Number("int"),
43
+ * policyEngineId: "STRING_VALUE", // required
44
+ * targetResourceScope: "STRING_VALUE",
45
+ * };
46
+ * const command = new ListPoliciesCommand(input);
47
+ * const response = await client.send(command);
48
+ * // { // ListPoliciesResponse
49
+ * // policies: [ // Policies // required
50
+ * // { // Policy
51
+ * // policyId: "STRING_VALUE", // required
52
+ * // name: "STRING_VALUE", // required
53
+ * // policyEngineId: "STRING_VALUE", // required
54
+ * // definition: { // PolicyDefinition Union: only one key present
55
+ * // cedar: { // CedarPolicy
56
+ * // statement: "STRING_VALUE", // required
57
+ * // },
58
+ * // },
59
+ * // description: "STRING_VALUE",
60
+ * // createdAt: new Date("TIMESTAMP"), // required
61
+ * // updatedAt: new Date("TIMESTAMP"), // required
62
+ * // policyArn: "STRING_VALUE", // required
63
+ * // status: "CREATING" || "ACTIVE" || "UPDATING" || "DELETING" || "CREATE_FAILED" || "UPDATE_FAILED" || "DELETE_FAILED", // required
64
+ * // statusReasons: [ // PolicyStatusReasons // required
65
+ * // "STRING_VALUE",
66
+ * // ],
67
+ * // },
68
+ * // ],
69
+ * // nextToken: "STRING_VALUE",
70
+ * // };
71
+ *
72
+ * ```
73
+ *
74
+ * @param ListPoliciesCommandInput - {@link ListPoliciesCommandInput}
75
+ * @returns {@link ListPoliciesCommandOutput}
76
+ * @see {@link ListPoliciesCommandInput} for command's `input` shape.
77
+ * @see {@link ListPoliciesCommandOutput} for command's `response` shape.
78
+ * @see {@link BedrockAgentCoreControlClientResolvedConfig | config} for BedrockAgentCoreControlClient's `config` shape.
79
+ *
80
+ * @throws {@link AccessDeniedException} (client fault)
81
+ * <p>This exception is thrown when a request is denied per access permissions</p>
82
+ *
83
+ * @throws {@link InternalServerException} (server fault)
84
+ * <p>This exception is thrown if there was an unexpected error during processing of request</p>
85
+ *
86
+ * @throws {@link ResourceNotFoundException} (client fault)
87
+ * <p>This exception is thrown when a resource referenced by the operation does not exist</p>
88
+ *
89
+ * @throws {@link ThrottlingException} (client fault)
90
+ * <p>This exception is thrown when the number of requests exceeds the limit</p>
91
+ *
92
+ * @throws {@link ValidationException} (client fault)
93
+ * <p>The input fails to satisfy the constraints specified by the service.</p>
94
+ *
95
+ * @throws {@link BedrockAgentCoreControlServiceException}
96
+ * <p>Base exception class for all service exceptions from BedrockAgentCoreControl service.</p>
97
+ *
98
+ *
99
+ * @public
100
+ */
101
+ export declare class ListPoliciesCommand extends ListPoliciesCommand_base {
102
+ /** @internal type navigation helper, not in runtime. */
103
+ protected static __types: {
104
+ api: {
105
+ input: ListPoliciesRequest;
106
+ output: ListPoliciesResponse;
107
+ };
108
+ sdk: {
109
+ input: ListPoliciesCommandInput;
110
+ output: ListPoliciesCommandOutput;
111
+ };
112
+ };
113
+ }
@@ -0,0 +1,101 @@
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 { ListPolicyEnginesRequest, ListPolicyEnginesResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListPolicyEnginesCommand}.
14
+ */
15
+ export interface ListPolicyEnginesCommandInput extends ListPolicyEnginesRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListPolicyEnginesCommand}.
21
+ */
22
+ export interface ListPolicyEnginesCommandOutput extends ListPolicyEnginesResponse, __MetadataBearer {
23
+ }
24
+ declare const ListPolicyEnginesCommand_base: {
25
+ new (input: ListPolicyEnginesCommandInput): import("@smithy/smithy-client").CommandImpl<ListPolicyEnginesCommandInput, ListPolicyEnginesCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [ListPolicyEnginesCommandInput]): import("@smithy/smithy-client").CommandImpl<ListPolicyEnginesCommandInput, ListPolicyEnginesCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Retrieves a list of policy engines within the AgentCore Policy system. This operation supports pagination to help administrators discover and manage policy engines across their account. Each policy engine serves as a container for related policies.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { BedrockAgentCoreControlClient, ListPolicyEnginesCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
35
+ * // const { BedrockAgentCoreControlClient, ListPolicyEnginesCommand } = 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 = { // ListPolicyEnginesRequest
40
+ * nextToken: "STRING_VALUE",
41
+ * maxResults: Number("int"),
42
+ * };
43
+ * const command = new ListPolicyEnginesCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // ListPolicyEnginesResponse
46
+ * // policyEngines: [ // PolicyEngines // required
47
+ * // { // PolicyEngine
48
+ * // policyEngineId: "STRING_VALUE", // required
49
+ * // name: "STRING_VALUE", // required
50
+ * // description: "STRING_VALUE",
51
+ * // createdAt: new Date("TIMESTAMP"), // required
52
+ * // updatedAt: new Date("TIMESTAMP"), // required
53
+ * // policyEngineArn: "STRING_VALUE", // required
54
+ * // status: "CREATING" || "ACTIVE" || "UPDATING" || "DELETING" || "CREATE_FAILED" || "UPDATE_FAILED" || "DELETE_FAILED", // required
55
+ * // statusReasons: [ // PolicyStatusReasons // required
56
+ * // "STRING_VALUE",
57
+ * // ],
58
+ * // },
59
+ * // ],
60
+ * // nextToken: "STRING_VALUE",
61
+ * // };
62
+ *
63
+ * ```
64
+ *
65
+ * @param ListPolicyEnginesCommandInput - {@link ListPolicyEnginesCommandInput}
66
+ * @returns {@link ListPolicyEnginesCommandOutput}
67
+ * @see {@link ListPolicyEnginesCommandInput} for command's `input` shape.
68
+ * @see {@link ListPolicyEnginesCommandOutput} for command's `response` shape.
69
+ * @see {@link BedrockAgentCoreControlClientResolvedConfig | config} for BedrockAgentCoreControlClient's `config` shape.
70
+ *
71
+ * @throws {@link AccessDeniedException} (client fault)
72
+ * <p>This exception is thrown when a request is denied per access permissions</p>
73
+ *
74
+ * @throws {@link InternalServerException} (server fault)
75
+ * <p>This exception is thrown if there was an unexpected error during processing of request</p>
76
+ *
77
+ * @throws {@link ThrottlingException} (client fault)
78
+ * <p>This exception is thrown when the number of requests exceeds the limit</p>
79
+ *
80
+ * @throws {@link ValidationException} (client fault)
81
+ * <p>The input fails to satisfy the constraints specified by the service.</p>
82
+ *
83
+ * @throws {@link BedrockAgentCoreControlServiceException}
84
+ * <p>Base exception class for all service exceptions from BedrockAgentCoreControl service.</p>
85
+ *
86
+ *
87
+ * @public
88
+ */
89
+ export declare class ListPolicyEnginesCommand extends ListPolicyEnginesCommand_base {
90
+ /** @internal type navigation helper, not in runtime. */
91
+ protected static __types: {
92
+ api: {
93
+ input: ListPolicyEnginesRequest;
94
+ output: ListPolicyEnginesResponse;
95
+ };
96
+ sdk: {
97
+ input: ListPolicyEnginesCommandInput;
98
+ output: ListPolicyEnginesCommandOutput;
99
+ };
100
+ };
101
+ }
@@ -0,0 +1,109 @@
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 { ListPolicyGenerationAssetsRequest, ListPolicyGenerationAssetsResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListPolicyGenerationAssetsCommand}.
14
+ */
15
+ export interface ListPolicyGenerationAssetsCommandInput extends ListPolicyGenerationAssetsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListPolicyGenerationAssetsCommand}.
21
+ */
22
+ export interface ListPolicyGenerationAssetsCommandOutput extends ListPolicyGenerationAssetsResponse, __MetadataBearer {
23
+ }
24
+ declare const ListPolicyGenerationAssetsCommand_base: {
25
+ new (input: ListPolicyGenerationAssetsCommandInput): import("@smithy/smithy-client").CommandImpl<ListPolicyGenerationAssetsCommandInput, ListPolicyGenerationAssetsCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListPolicyGenerationAssetsCommandInput): import("@smithy/smithy-client").CommandImpl<ListPolicyGenerationAssetsCommandInput, ListPolicyGenerationAssetsCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Retrieves a list of generated policy assets from a policy generation request within the AgentCore Policy system. This operation returns the actual Cedar policies and related artifacts produced by the AI-powered policy generation process, allowing users to review and select from multiple generated policy options.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { BedrockAgentCoreControlClient, ListPolicyGenerationAssetsCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
35
+ * // const { BedrockAgentCoreControlClient, ListPolicyGenerationAssetsCommand } = 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 = { // ListPolicyGenerationAssetsRequest
40
+ * policyGenerationId: "STRING_VALUE", // required
41
+ * policyEngineId: "STRING_VALUE", // required
42
+ * nextToken: "STRING_VALUE",
43
+ * maxResults: Number("int"),
44
+ * };
45
+ * const command = new ListPolicyGenerationAssetsCommand(input);
46
+ * const response = await client.send(command);
47
+ * // { // ListPolicyGenerationAssetsResponse
48
+ * // policyGenerationAssets: [ // PolicyGenerationAssets
49
+ * // { // PolicyGenerationAsset
50
+ * // policyGenerationAssetId: "STRING_VALUE", // required
51
+ * // definition: { // PolicyDefinition Union: only one key present
52
+ * // cedar: { // CedarPolicy
53
+ * // statement: "STRING_VALUE", // required
54
+ * // },
55
+ * // },
56
+ * // rawTextFragment: "STRING_VALUE", // required
57
+ * // findings: [ // Findings // required
58
+ * // { // Finding
59
+ * // type: "VALID" || "INVALID" || "NOT_TRANSLATABLE" || "ALLOW_ALL" || "ALLOW_NONE" || "DENY_ALL" || "DENY_NONE",
60
+ * // description: "STRING_VALUE",
61
+ * // },
62
+ * // ],
63
+ * // },
64
+ * // ],
65
+ * // nextToken: "STRING_VALUE",
66
+ * // };
67
+ *
68
+ * ```
69
+ *
70
+ * @param ListPolicyGenerationAssetsCommandInput - {@link ListPolicyGenerationAssetsCommandInput}
71
+ * @returns {@link ListPolicyGenerationAssetsCommandOutput}
72
+ * @see {@link ListPolicyGenerationAssetsCommandInput} for command's `input` shape.
73
+ * @see {@link ListPolicyGenerationAssetsCommandOutput} for command's `response` shape.
74
+ * @see {@link BedrockAgentCoreControlClientResolvedConfig | config} for BedrockAgentCoreControlClient's `config` shape.
75
+ *
76
+ * @throws {@link AccessDeniedException} (client fault)
77
+ * <p>This exception is thrown when a request is denied per access permissions</p>
78
+ *
79
+ * @throws {@link InternalServerException} (server fault)
80
+ * <p>This exception is thrown if there was an unexpected error during processing of request</p>
81
+ *
82
+ * @throws {@link ResourceNotFoundException} (client fault)
83
+ * <p>This exception is thrown when a resource referenced by the operation does not exist</p>
84
+ *
85
+ * @throws {@link ThrottlingException} (client fault)
86
+ * <p>This exception is thrown when the number of requests exceeds the limit</p>
87
+ *
88
+ * @throws {@link ValidationException} (client fault)
89
+ * <p>The input fails to satisfy the constraints specified by the service.</p>
90
+ *
91
+ * @throws {@link BedrockAgentCoreControlServiceException}
92
+ * <p>Base exception class for all service exceptions from BedrockAgentCoreControl service.</p>
93
+ *
94
+ *
95
+ * @public
96
+ */
97
+ export declare class ListPolicyGenerationAssetsCommand extends ListPolicyGenerationAssetsCommand_base {
98
+ /** @internal type navigation helper, not in runtime. */
99
+ protected static __types: {
100
+ api: {
101
+ input: ListPolicyGenerationAssetsRequest;
102
+ output: ListPolicyGenerationAssetsResponse;
103
+ };
104
+ sdk: {
105
+ input: ListPolicyGenerationAssetsCommandInput;
106
+ output: ListPolicyGenerationAssetsCommandOutput;
107
+ };
108
+ };
109
+ }
@@ -0,0 +1,109 @@
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 { ListPolicyGenerationsRequest, ListPolicyGenerationsResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListPolicyGenerationsCommand}.
14
+ */
15
+ export interface ListPolicyGenerationsCommandInput extends ListPolicyGenerationsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListPolicyGenerationsCommand}.
21
+ */
22
+ export interface ListPolicyGenerationsCommandOutput extends ListPolicyGenerationsResponse, __MetadataBearer {
23
+ }
24
+ declare const ListPolicyGenerationsCommand_base: {
25
+ new (input: ListPolicyGenerationsCommandInput): import("@smithy/smithy-client").CommandImpl<ListPolicyGenerationsCommandInput, ListPolicyGenerationsCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListPolicyGenerationsCommandInput): import("@smithy/smithy-client").CommandImpl<ListPolicyGenerationsCommandInput, ListPolicyGenerationsCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Retrieves a list of policy generation requests within the AgentCore Policy system. This operation supports pagination and filtering to help track and manage AI-powered policy generation operations.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { BedrockAgentCoreControlClient, ListPolicyGenerationsCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
35
+ * // const { BedrockAgentCoreControlClient, ListPolicyGenerationsCommand } = 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 = { // ListPolicyGenerationsRequest
40
+ * nextToken: "STRING_VALUE",
41
+ * maxResults: Number("int"),
42
+ * policyEngineId: "STRING_VALUE", // required
43
+ * };
44
+ * const command = new ListPolicyGenerationsCommand(input);
45
+ * const response = await client.send(command);
46
+ * // { // ListPolicyGenerationsResponse
47
+ * // policyGenerations: [ // PolicyGenerations // required
48
+ * // { // PolicyGeneration
49
+ * // policyEngineId: "STRING_VALUE", // required
50
+ * // policyGenerationId: "STRING_VALUE", // required
51
+ * // name: "STRING_VALUE", // required
52
+ * // policyGenerationArn: "STRING_VALUE", // required
53
+ * // resource: { // Resource Union: only one key present
54
+ * // arn: "STRING_VALUE",
55
+ * // },
56
+ * // createdAt: new Date("TIMESTAMP"), // required
57
+ * // updatedAt: new Date("TIMESTAMP"), // required
58
+ * // status: "GENERATING" || "GENERATED" || "GENERATE_FAILED" || "DELETE_FAILED", // required
59
+ * // statusReasons: [ // PolicyStatusReasons // required
60
+ * // "STRING_VALUE",
61
+ * // ],
62
+ * // findings: "STRING_VALUE",
63
+ * // },
64
+ * // ],
65
+ * // nextToken: "STRING_VALUE",
66
+ * // };
67
+ *
68
+ * ```
69
+ *
70
+ * @param ListPolicyGenerationsCommandInput - {@link ListPolicyGenerationsCommandInput}
71
+ * @returns {@link ListPolicyGenerationsCommandOutput}
72
+ * @see {@link ListPolicyGenerationsCommandInput} for command's `input` shape.
73
+ * @see {@link ListPolicyGenerationsCommandOutput} for command's `response` shape.
74
+ * @see {@link BedrockAgentCoreControlClientResolvedConfig | config} for BedrockAgentCoreControlClient's `config` shape.
75
+ *
76
+ * @throws {@link AccessDeniedException} (client fault)
77
+ * <p>This exception is thrown when a request is denied per access permissions</p>
78
+ *
79
+ * @throws {@link InternalServerException} (server fault)
80
+ * <p>This exception is thrown if there was an unexpected error during processing of request</p>
81
+ *
82
+ * @throws {@link ResourceNotFoundException} (client fault)
83
+ * <p>This exception is thrown when a resource referenced by the operation does not exist</p>
84
+ *
85
+ * @throws {@link ThrottlingException} (client fault)
86
+ * <p>This exception is thrown when the number of requests exceeds the limit</p>
87
+ *
88
+ * @throws {@link ValidationException} (client fault)
89
+ * <p>The input fails to satisfy the constraints specified by the service.</p>
90
+ *
91
+ * @throws {@link BedrockAgentCoreControlServiceException}
92
+ * <p>Base exception class for all service exceptions from BedrockAgentCoreControl service.</p>
93
+ *
94
+ *
95
+ * @public
96
+ */
97
+ export declare class ListPolicyGenerationsCommand extends ListPolicyGenerationsCommand_base {
98
+ /** @internal type navigation helper, not in runtime. */
99
+ protected static __types: {
100
+ api: {
101
+ input: ListPolicyGenerationsRequest;
102
+ output: ListPolicyGenerationsResponse;
103
+ };
104
+ sdk: {
105
+ input: ListPolicyGenerationsCommandInput;
106
+ output: ListPolicyGenerationsCommandOutput;
107
+ };
108
+ };
109
+ }
@@ -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 { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
4
+ import type { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -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 { ListWorkloadIdentitiesRequest, ListWorkloadIdentitiesResponse } from "../models/models_0";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
4
+ import type { ListWorkloadIdentitiesRequest, ListWorkloadIdentitiesResponse } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -0,0 +1,90 @@
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 { PutResourcePolicyRequest, PutResourcePolicyResponse } from "../models/models_1";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link PutResourcePolicyCommand}.
14
+ */
15
+ export interface PutResourcePolicyCommandInput extends PutResourcePolicyRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link PutResourcePolicyCommand}.
21
+ */
22
+ export interface PutResourcePolicyCommandOutput extends PutResourcePolicyResponse, __MetadataBearer {
23
+ }
24
+ declare const PutResourcePolicyCommand_base: {
25
+ new (input: PutResourcePolicyCommandInput): import("@smithy/smithy-client").CommandImpl<PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: PutResourcePolicyCommandInput): import("@smithy/smithy-client").CommandImpl<PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Creates or updates a resource-based policy for a resource with the specified resourceArn.</p> <note> <p>This feature is currently available only for AgentCore Runtime and Gateway.</p> </note>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { BedrockAgentCoreControlClient, PutResourcePolicyCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
35
+ * // const { BedrockAgentCoreControlClient, PutResourcePolicyCommand } = 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 = { // PutResourcePolicyRequest
40
+ * resourceArn: "STRING_VALUE", // required
41
+ * policy: "STRING_VALUE", // required
42
+ * };
43
+ * const command = new PutResourcePolicyCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // PutResourcePolicyResponse
46
+ * // policy: "STRING_VALUE", // required
47
+ * // };
48
+ *
49
+ * ```
50
+ *
51
+ * @param PutResourcePolicyCommandInput - {@link PutResourcePolicyCommandInput}
52
+ * @returns {@link PutResourcePolicyCommandOutput}
53
+ * @see {@link PutResourcePolicyCommandInput} for command's `input` shape.
54
+ * @see {@link PutResourcePolicyCommandOutput} for command's `response` shape.
55
+ * @see {@link BedrockAgentCoreControlClientResolvedConfig | config} for BedrockAgentCoreControlClient's `config` shape.
56
+ *
57
+ * @throws {@link AccessDeniedException} (client fault)
58
+ * <p>This exception is thrown when a request is denied per access permissions</p>
59
+ *
60
+ * @throws {@link InternalServerException} (server fault)
61
+ * <p>This exception is thrown if there was an unexpected error during processing of request</p>
62
+ *
63
+ * @throws {@link ResourceNotFoundException} (client fault)
64
+ * <p>This exception is thrown when a resource referenced by the operation does not exist</p>
65
+ *
66
+ * @throws {@link ThrottlingException} (client fault)
67
+ * <p>This exception is thrown when the number of requests exceeds the limit</p>
68
+ *
69
+ * @throws {@link ValidationException} (client fault)
70
+ * <p>The input fails to satisfy the constraints specified by the service.</p>
71
+ *
72
+ * @throws {@link BedrockAgentCoreControlServiceException}
73
+ * <p>Base exception class for all service exceptions from BedrockAgentCoreControl service.</p>
74
+ *
75
+ *
76
+ * @public
77
+ */
78
+ export declare class PutResourcePolicyCommand extends PutResourcePolicyCommand_base {
79
+ /** @internal type navigation helper, not in runtime. */
80
+ protected static __types: {
81
+ api: {
82
+ input: PutResourcePolicyRequest;
83
+ output: PutResourcePolicyResponse;
84
+ };
85
+ sdk: {
86
+ input: PutResourcePolicyCommandInput;
87
+ output: PutResourcePolicyCommandOutput;
88
+ };
89
+ };
90
+ }
@@ -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 { SetTokenVaultCMKRequest, SetTokenVaultCMKResponse } from "../models/models_0";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
4
+ import type { SetTokenVaultCMKRequest, SetTokenVaultCMKResponse } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */