@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.
- package/README.md +216 -0
- package/dist-cjs/index.js +2060 -545
- package/dist-cjs/runtimeConfig.browser.js +2 -2
- package/dist-cjs/runtimeConfig.js +3 -4
- package/dist-es/BedrockAgentCoreControl.js +54 -0
- package/dist-es/BedrockAgentCoreControlClient.js +2 -2
- package/dist-es/commands/CreateEvaluatorCommand.js +16 -0
- package/dist-es/commands/CreateOnlineEvaluationConfigCommand.js +16 -0
- package/dist-es/commands/CreatePolicyCommand.js +16 -0
- package/dist-es/commands/CreatePolicyEngineCommand.js +16 -0
- package/dist-es/commands/DeleteEvaluatorCommand.js +16 -0
- package/dist-es/commands/DeleteOnlineEvaluationConfigCommand.js +16 -0
- package/dist-es/commands/DeletePolicyCommand.js +16 -0
- package/dist-es/commands/DeletePolicyEngineCommand.js +16 -0
- package/dist-es/commands/DeleteResourcePolicyCommand.js +16 -0
- package/dist-es/commands/GetEvaluatorCommand.js +16 -0
- package/dist-es/commands/GetOnlineEvaluationConfigCommand.js +16 -0
- package/dist-es/commands/GetPolicyCommand.js +16 -0
- package/dist-es/commands/GetPolicyEngineCommand.js +16 -0
- package/dist-es/commands/GetPolicyGenerationCommand.js +16 -0
- package/dist-es/commands/GetResourcePolicyCommand.js +16 -0
- package/dist-es/commands/ListEvaluatorsCommand.js +16 -0
- package/dist-es/commands/ListOnlineEvaluationConfigsCommand.js +16 -0
- package/dist-es/commands/ListPoliciesCommand.js +16 -0
- package/dist-es/commands/ListPolicyEnginesCommand.js +16 -0
- package/dist-es/commands/ListPolicyGenerationAssetsCommand.js +16 -0
- package/dist-es/commands/ListPolicyGenerationsCommand.js +16 -0
- package/dist-es/commands/PutResourcePolicyCommand.js +16 -0
- package/dist-es/commands/StartPolicyGenerationCommand.js +16 -0
- package/dist-es/commands/UpdateEvaluatorCommand.js +16 -0
- package/dist-es/commands/UpdateOnlineEvaluationConfigCommand.js +16 -0
- package/dist-es/commands/UpdatePolicyCommand.js +16 -0
- package/dist-es/commands/UpdatePolicyEngineCommand.js +16 -0
- package/dist-es/commands/index.js +27 -0
- package/dist-es/models/enums.js +104 -0
- package/dist-es/models/models_1.js +1 -0
- package/dist-es/pagination/ListEvaluatorsPaginator.js +4 -0
- package/dist-es/pagination/ListOnlineEvaluationConfigsPaginator.js +4 -0
- package/dist-es/pagination/ListPoliciesPaginator.js +4 -0
- package/dist-es/pagination/ListPolicyEnginesPaginator.js +4 -0
- package/dist-es/pagination/ListPolicyGenerationAssetsPaginator.js +4 -0
- package/dist-es/pagination/ListPolicyGenerationsPaginator.js +4 -0
- package/dist-es/pagination/index.js +6 -0
- package/dist-es/runtimeConfig.browser.js +2 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/schemas/schemas_0.js +1276 -535
- package/dist-es/waiters/index.js +5 -0
- package/dist-es/waiters/waitForPolicyActive.js +58 -0
- package/dist-es/waiters/waitForPolicyDeleted.js +43 -0
- package/dist-es/waiters/waitForPolicyEngineActive.js +58 -0
- package/dist-es/waiters/waitForPolicyEngineDeleted.js +43 -0
- package/dist-es/waiters/waitForPolicyGenerationCompleted.js +58 -0
- package/dist-types/BedrockAgentCoreControl.d.ts +193 -1
- package/dist-types/BedrockAgentCoreControlClient.d.ts +39 -12
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +2 -2
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +2 -2
- package/dist-types/commands/CreateAgentRuntimeCommand.d.ts +21 -3
- package/dist-types/commands/CreateAgentRuntimeEndpointCommand.d.ts +3 -3
- package/dist-types/commands/CreateApiKeyCredentialProviderCommand.d.ts +3 -3
- package/dist-types/commands/CreateBrowserCommand.d.ts +3 -3
- package/dist-types/commands/CreateCodeInterpreterCommand.d.ts +3 -3
- package/dist-types/commands/CreateEvaluatorCommand.d.ts +132 -0
- package/dist-types/commands/CreateGatewayCommand.d.ts +47 -3
- package/dist-types/commands/CreateGatewayTargetCommand.d.ts +51 -3
- package/dist-types/commands/CreateMemoryCommand.d.ts +55 -8
- package/dist-types/commands/CreateOauth2CredentialProviderCommand.d.ts +3 -3
- package/dist-types/commands/CreateOnlineEvaluationConfigCommand.d.ts +140 -0
- package/dist-types/commands/CreatePolicyCommand.d.ts +119 -0
- package/dist-types/commands/CreatePolicyEngineCommand.d.ts +103 -0
- package/dist-types/commands/CreateWorkloadIdentityCommand.d.ts +3 -3
- package/dist-types/commands/DeleteAgentRuntimeCommand.d.ts +3 -3
- package/dist-types/commands/DeleteAgentRuntimeEndpointCommand.d.ts +3 -3
- package/dist-types/commands/DeleteApiKeyCredentialProviderCommand.d.ts +3 -3
- package/dist-types/commands/DeleteBrowserCommand.d.ts +3 -3
- package/dist-types/commands/DeleteCodeInterpreterCommand.d.ts +3 -3
- package/dist-types/commands/DeleteEvaluatorCommand.d.ts +94 -0
- package/dist-types/commands/DeleteGatewayCommand.d.ts +3 -3
- package/dist-types/commands/DeleteGatewayTargetCommand.d.ts +3 -3
- package/dist-types/commands/DeleteMemoryCommand.d.ts +6 -3
- package/dist-types/commands/DeleteOauth2CredentialProviderCommand.d.ts +3 -3
- package/dist-types/commands/DeleteOnlineEvaluationConfigCommand.d.ts +94 -0
- package/dist-types/commands/DeletePolicyCommand.d.ts +108 -0
- package/dist-types/commands/DeletePolicyEngineCommand.d.ts +101 -0
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +87 -0
- package/dist-types/commands/DeleteWorkloadIdentityCommand.d.ts +3 -3
- package/dist-types/commands/GetAgentRuntimeCommand.d.ts +22 -3
- package/dist-types/commands/GetAgentRuntimeEndpointCommand.d.ts +3 -3
- package/dist-types/commands/GetApiKeyCredentialProviderCommand.d.ts +3 -3
- package/dist-types/commands/GetBrowserCommand.d.ts +3 -3
- package/dist-types/commands/GetCodeInterpreterCommand.d.ts +3 -3
- package/dist-types/commands/GetEvaluatorCommand.d.ts +131 -0
- package/dist-types/commands/GetGatewayCommand.d.ts +25 -3
- package/dist-types/commands/GetGatewayTargetCommand.d.ts +28 -3
- package/dist-types/commands/GetMemoryCommand.d.ts +30 -8
- package/dist-types/commands/GetOauth2CredentialProviderCommand.d.ts +3 -3
- package/dist-types/commands/GetOnlineEvaluationConfigCommand.d.ts +137 -0
- package/dist-types/commands/GetPolicyCommand.d.ts +105 -0
- package/dist-types/commands/GetPolicyEngineCommand.d.ts +98 -0
- package/dist-types/commands/GetPolicyGenerationCommand.d.ts +103 -0
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +89 -0
- package/dist-types/commands/GetTokenVaultCommand.d.ts +3 -3
- package/dist-types/commands/GetWorkloadIdentityCommand.d.ts +3 -3
- package/dist-types/commands/ListAgentRuntimeEndpointsCommand.d.ts +3 -3
- package/dist-types/commands/ListAgentRuntimeVersionsCommand.d.ts +3 -3
- package/dist-types/commands/ListAgentRuntimesCommand.d.ts +3 -3
- package/dist-types/commands/ListApiKeyCredentialProvidersCommand.d.ts +3 -3
- package/dist-types/commands/ListBrowsersCommand.d.ts +3 -3
- package/dist-types/commands/ListCodeInterpretersCommand.d.ts +3 -3
- package/dist-types/commands/ListEvaluatorsCommand.d.ts +101 -0
- package/dist-types/commands/ListGatewayTargetsCommand.d.ts +3 -3
- package/dist-types/commands/ListGatewaysCommand.d.ts +3 -3
- package/dist-types/commands/ListMemoriesCommand.d.ts +3 -3
- package/dist-types/commands/ListOauth2CredentialProvidersCommand.d.ts +3 -3
- package/dist-types/commands/ListOnlineEvaluationConfigsCommand.d.ts +100 -0
- package/dist-types/commands/ListPoliciesCommand.d.ts +113 -0
- package/dist-types/commands/ListPolicyEnginesCommand.d.ts +101 -0
- package/dist-types/commands/ListPolicyGenerationAssetsCommand.d.ts +109 -0
- package/dist-types/commands/ListPolicyGenerationsCommand.d.ts +109 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
- package/dist-types/commands/ListWorkloadIdentitiesCommand.d.ts +3 -3
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +90 -0
- package/dist-types/commands/SetTokenVaultCMKCommand.d.ts +3 -3
- package/dist-types/commands/StartPolicyGenerationCommand.d.ts +116 -0
- package/dist-types/commands/SynchronizeGatewayTargetsCommand.d.ts +28 -3
- package/dist-types/commands/TagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UpdateAgentRuntimeCommand.d.ts +21 -3
- package/dist-types/commands/UpdateAgentRuntimeEndpointCommand.d.ts +3 -3
- package/dist-types/commands/UpdateApiKeyCredentialProviderCommand.d.ts +3 -3
- package/dist-types/commands/UpdateEvaluatorCommand.d.ts +135 -0
- package/dist-types/commands/UpdateGatewayCommand.d.ts +47 -3
- package/dist-types/commands/UpdateGatewayTargetCommand.d.ts +51 -3
- package/dist-types/commands/UpdateMemoryCommand.d.ts +76 -11
- package/dist-types/commands/UpdateOauth2CredentialProviderCommand.d.ts +3 -3
- package/dist-types/commands/UpdateOnlineEvaluationConfigCommand.d.ts +138 -0
- package/dist-types/commands/UpdatePolicyCommand.d.ts +115 -0
- package/dist-types/commands/UpdatePolicyEngineCommand.d.ts +102 -0
- package/dist-types/commands/UpdateWorkloadIdentityCommand.d.ts +3 -3
- package/dist-types/commands/index.d.ts +27 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +13 -1
- package/dist-types/endpoint/endpointResolver.d.ts +5 -2
- package/dist-types/extensionConfiguration.d.ts +4 -4
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/BedrockAgentCoreControlServiceException.d.ts +1 -1
- package/dist-types/models/enums.d.ts +232 -0
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +4160 -2169
- package/dist-types/models/models_1.d.ts +1009 -0
- package/dist-types/pagination/Interfaces.d.ts +1 -1
- package/dist-types/pagination/ListAgentRuntimeEndpointsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListAgentRuntimeVersionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListAgentRuntimesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListApiKeyCredentialProvidersPaginator.d.ts +1 -1
- package/dist-types/pagination/ListBrowsersPaginator.d.ts +1 -1
- package/dist-types/pagination/ListCodeInterpretersPaginator.d.ts +1 -1
- package/dist-types/pagination/ListEvaluatorsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListGatewayTargetsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListGatewaysPaginator.d.ts +1 -1
- package/dist-types/pagination/ListMemoriesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListOauth2CredentialProvidersPaginator.d.ts +1 -1
- package/dist-types/pagination/ListOnlineEvaluationConfigsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPoliciesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPolicyEnginesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPolicyGenerationAssetsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPolicyGenerationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListWorkloadIdentitiesPaginator.d.ts +1 -1
- package/dist-types/pagination/index.d.ts +6 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +1 -1
- package/dist-types/runtimeExtensions.d.ts +1 -1
- package/dist-types/schemas/schemas_0.d.ts +157 -1
- package/dist-types/ts3.4/BedrockAgentCoreControl.d.ts +462 -0
- package/dist-types/ts3.4/BedrockAgentCoreControlClient.d.ts +165 -3
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateEvaluatorCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/CreateGatewayTargetCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateOnlineEvaluationConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreatePolicyCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/CreatePolicyEngineCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateWorkloadIdentityCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteEvaluatorCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/DeleteOnlineEvaluationConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeletePolicyCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeletePolicyEngineCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteWorkloadIdentityCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetEvaluatorCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetGatewayTargetCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/GetOnlineEvaluationConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetPolicyCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetPolicyEngineCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetPolicyGenerationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetWorkloadIdentityCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListEvaluatorsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListOnlineEvaluationConfigsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListPoliciesCommand.d.ts +48 -0
- package/dist-types/ts3.4/commands/ListPolicyEnginesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListPolicyGenerationAssetsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListPolicyGenerationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListWorkloadIdentitiesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/SetTokenVaultCMKCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartPolicyGenerationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/SynchronizeGatewayTargetsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateEvaluatorCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdateGatewayTargetCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateOnlineEvaluationConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdatePolicyCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UpdatePolicyEngineCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateWorkloadIdentityCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +27 -0
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/BedrockAgentCoreControlServiceException.d.ts +1 -1
- package/dist-types/ts3.4/models/enums.d.ts +132 -0
- package/dist-types/ts3.4/models/models_0.d.ts +835 -188
- package/dist-types/ts3.4/models/models_1.d.ts +331 -0
- package/dist-types/ts3.4/pagination/ListEvaluatorsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListOnlineEvaluationConfigsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPoliciesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPolicyEnginesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPolicyGenerationAssetsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPolicyGenerationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +6 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +156 -0
- package/dist-types/ts3.4/waiters/index.d.ts +5 -0
- package/dist-types/ts3.4/waiters/waitForPolicyActive.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForPolicyDeleted.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForPolicyEngineActive.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForPolicyEngineDeleted.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForPolicyGenerationCompleted.d.ts +11 -0
- package/dist-types/waiters/index.d.ts +5 -0
- package/dist-types/waiters/waitForPolicyActive.d.ts +14 -0
- package/dist-types/waiters/waitForPolicyDeleted.d.ts +14 -0
- package/dist-types/waiters/waitForPolicyEngineActive.d.ts +14 -0
- package/dist-types/waiters/waitForPolicyEngineDeleted.d.ts +14 -0
- package/dist-types/waiters/waitForPolicyGenerationCompleted.d.ts +14 -0
- package/package.json +13 -12
|
@@ -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 { CreateMemoryInput, CreateMemoryOutput } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
|
|
4
|
+
import type { CreateMemoryInput, CreateMemoryOutput } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -99,6 +99,23 @@ declare const CreateMemoryCommand_base: {
|
|
|
99
99
|
* modelId: "STRING_VALUE", // required
|
|
100
100
|
* },
|
|
101
101
|
* },
|
|
102
|
+
* episodicOverride: { // EpisodicOverrideConfigurationInput
|
|
103
|
+
* extraction: { // EpisodicOverrideExtractionConfigurationInput
|
|
104
|
+
* appendToPrompt: "STRING_VALUE", // required
|
|
105
|
+
* modelId: "STRING_VALUE", // required
|
|
106
|
+
* },
|
|
107
|
+
* consolidation: { // EpisodicOverrideConsolidationConfigurationInput
|
|
108
|
+
* appendToPrompt: "STRING_VALUE", // required
|
|
109
|
+
* modelId: "STRING_VALUE", // required
|
|
110
|
+
* },
|
|
111
|
+
* reflection: { // EpisodicOverrideReflectionConfigurationInput
|
|
112
|
+
* appendToPrompt: "STRING_VALUE", // required
|
|
113
|
+
* modelId: "STRING_VALUE", // required
|
|
114
|
+
* namespaces: [
|
|
115
|
+
* "STRING_VALUE",
|
|
116
|
+
* ],
|
|
117
|
+
* },
|
|
118
|
+
* },
|
|
102
119
|
* selfManagedConfiguration: { // SelfManagedConfigurationInput
|
|
103
120
|
* triggerConditions: [ // TriggerConditionInputList
|
|
104
121
|
* { // TriggerConditionInput Union: only one key present
|
|
@@ -121,6 +138,14 @@ declare const CreateMemoryCommand_base: {
|
|
|
121
138
|
* },
|
|
122
139
|
* },
|
|
123
140
|
* },
|
|
141
|
+
* episodicMemoryStrategy: { // EpisodicMemoryStrategyInput
|
|
142
|
+
* name: "STRING_VALUE", // required
|
|
143
|
+
* description: "STRING_VALUE",
|
|
144
|
+
* namespaces: "<NamespacesList>",
|
|
145
|
+
* reflectionConfiguration: { // EpisodicReflectionConfigurationInput
|
|
146
|
+
* namespaces: "<NamespacesList>", // required
|
|
147
|
+
* },
|
|
148
|
+
* },
|
|
124
149
|
* },
|
|
125
150
|
* ],
|
|
126
151
|
* tags: { // TagsMap
|
|
@@ -148,7 +173,7 @@ declare const CreateMemoryCommand_base: {
|
|
|
148
173
|
* // name: "STRING_VALUE", // required
|
|
149
174
|
* // description: "STRING_VALUE",
|
|
150
175
|
* // configuration: { // StrategyConfiguration
|
|
151
|
-
* // type: "SEMANTIC_OVERRIDE" || "SUMMARY_OVERRIDE" || "USER_PREFERENCE_OVERRIDE" || "SELF_MANAGED",
|
|
176
|
+
* // type: "SEMANTIC_OVERRIDE" || "SUMMARY_OVERRIDE" || "USER_PREFERENCE_OVERRIDE" || "SELF_MANAGED" || "EPISODIC_OVERRIDE",
|
|
152
177
|
* // extraction: { // ExtractionConfiguration Union: only one key present
|
|
153
178
|
* // customExtractionConfiguration: { // CustomExtractionConfiguration Union: only one key present
|
|
154
179
|
* // semanticExtractionOverride: { // SemanticExtractionOverride
|
|
@@ -159,6 +184,10 @@ declare const CreateMemoryCommand_base: {
|
|
|
159
184
|
* // appendToPrompt: "STRING_VALUE", // required
|
|
160
185
|
* // modelId: "STRING_VALUE", // required
|
|
161
186
|
* // },
|
|
187
|
+
* // episodicExtractionOverride: { // EpisodicExtractionOverride
|
|
188
|
+
* // appendToPrompt: "STRING_VALUE", // required
|
|
189
|
+
* // modelId: "STRING_VALUE", // required
|
|
190
|
+
* // },
|
|
162
191
|
* // },
|
|
163
192
|
* // },
|
|
164
193
|
* // consolidation: { // ConsolidationConfiguration Union: only one key present
|
|
@@ -175,6 +204,26 @@ declare const CreateMemoryCommand_base: {
|
|
|
175
204
|
* // appendToPrompt: "STRING_VALUE", // required
|
|
176
205
|
* // modelId: "STRING_VALUE", // required
|
|
177
206
|
* // },
|
|
207
|
+
* // episodicConsolidationOverride: { // EpisodicConsolidationOverride
|
|
208
|
+
* // appendToPrompt: "STRING_VALUE", // required
|
|
209
|
+
* // modelId: "STRING_VALUE", // required
|
|
210
|
+
* // },
|
|
211
|
+
* // },
|
|
212
|
+
* // },
|
|
213
|
+
* // reflection: { // ReflectionConfiguration Union: only one key present
|
|
214
|
+
* // customReflectionConfiguration: { // CustomReflectionConfiguration Union: only one key present
|
|
215
|
+
* // episodicReflectionOverride: { // EpisodicReflectionOverride
|
|
216
|
+
* // appendToPrompt: "STRING_VALUE", // required
|
|
217
|
+
* // modelId: "STRING_VALUE", // required
|
|
218
|
+
* // namespaces: [ // NamespacesList
|
|
219
|
+
* // "STRING_VALUE",
|
|
220
|
+
* // ],
|
|
221
|
+
* // },
|
|
222
|
+
* // },
|
|
223
|
+
* // episodicReflectionConfiguration: { // EpisodicReflectionConfiguration
|
|
224
|
+
* // namespaces: [ // required
|
|
225
|
+
* // "STRING_VALUE",
|
|
226
|
+
* // ],
|
|
178
227
|
* // },
|
|
179
228
|
* // },
|
|
180
229
|
* // selfManagedConfiguration: { // SelfManagedConfiguration
|
|
@@ -198,10 +247,8 @@ declare const CreateMemoryCommand_base: {
|
|
|
198
247
|
* // historicalContextWindowSize: Number("int"), // required
|
|
199
248
|
* // },
|
|
200
249
|
* // },
|
|
201
|
-
* // type: "SEMANTIC" || "SUMMARIZATION" || "USER_PREFERENCE" || "CUSTOM", // required
|
|
202
|
-
* // namespaces:
|
|
203
|
-
* // "STRING_VALUE",
|
|
204
|
-
* // ],
|
|
250
|
+
* // type: "SEMANTIC" || "SUMMARIZATION" || "USER_PREFERENCE" || "CUSTOM" || "EPISODIC", // required
|
|
251
|
+
* // namespaces: "<NamespacesList>", // required
|
|
205
252
|
* // createdAt: new Date("TIMESTAMP"),
|
|
206
253
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
207
254
|
* // 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 { CreateOauth2CredentialProviderRequest, CreateOauth2CredentialProviderResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
|
|
4
|
+
import type { CreateOauth2CredentialProviderRequest, CreateOauth2CredentialProviderResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -0,0 +1,140 @@
|
|
|
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 { CreateOnlineEvaluationConfigRequest, CreateOnlineEvaluationConfigResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateOnlineEvaluationConfigCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateOnlineEvaluationConfigCommandInput extends CreateOnlineEvaluationConfigRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateOnlineEvaluationConfigCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateOnlineEvaluationConfigCommandOutput extends CreateOnlineEvaluationConfigResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateOnlineEvaluationConfigCommand_base: {
|
|
25
|
+
new (input: CreateOnlineEvaluationConfigCommandInput): import("@smithy/smithy-client").CommandImpl<CreateOnlineEvaluationConfigCommandInput, CreateOnlineEvaluationConfigCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateOnlineEvaluationConfigCommandInput): import("@smithy/smithy-client").CommandImpl<CreateOnlineEvaluationConfigCommandInput, CreateOnlineEvaluationConfigCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p> Creates an online evaluation configuration for continuous monitoring of agent performance. Online evaluation automatically samples live traffic from CloudWatch logs at specified rates and applies evaluators to assess agent quality in production. </p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BedrockAgentCoreControlClient, CreateOnlineEvaluationConfigCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
|
|
35
|
+
* // const { BedrockAgentCoreControlClient, CreateOnlineEvaluationConfigCommand } = 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 = { // CreateOnlineEvaluationConfigRequest
|
|
40
|
+
* clientToken: "STRING_VALUE",
|
|
41
|
+
* onlineEvaluationConfigName: "STRING_VALUE", // required
|
|
42
|
+
* description: "STRING_VALUE",
|
|
43
|
+
* rule: { // Rule
|
|
44
|
+
* samplingConfig: { // SamplingConfig
|
|
45
|
+
* samplingPercentage: Number("double"), // required
|
|
46
|
+
* },
|
|
47
|
+
* filters: [ // FilterList
|
|
48
|
+
* { // Filter
|
|
49
|
+
* key: "STRING_VALUE", // required
|
|
50
|
+
* operator: "Equals" || "NotEquals" || "GreaterThan" || "LessThan" || "GreaterThanOrEqual" || "LessThanOrEqual" || "Contains" || "NotContains", // required
|
|
51
|
+
* value: { // FilterValue Union: only one key present
|
|
52
|
+
* stringValue: "STRING_VALUE",
|
|
53
|
+
* doubleValue: Number("double"),
|
|
54
|
+
* booleanValue: true || false,
|
|
55
|
+
* },
|
|
56
|
+
* },
|
|
57
|
+
* ],
|
|
58
|
+
* sessionConfig: { // SessionConfig
|
|
59
|
+
* sessionTimeoutMinutes: Number("int"), // required
|
|
60
|
+
* },
|
|
61
|
+
* },
|
|
62
|
+
* dataSourceConfig: { // DataSourceConfig Union: only one key present
|
|
63
|
+
* cloudWatchLogs: { // CloudWatchLogsInputConfig
|
|
64
|
+
* logGroupNames: [ // LogGroupNamesList // required
|
|
65
|
+
* "STRING_VALUE",
|
|
66
|
+
* ],
|
|
67
|
+
* serviceNames: [ // ServiceNamesList // required
|
|
68
|
+
* "STRING_VALUE",
|
|
69
|
+
* ],
|
|
70
|
+
* },
|
|
71
|
+
* },
|
|
72
|
+
* evaluators: [ // EvaluatorList // required
|
|
73
|
+
* { // EvaluatorReference Union: only one key present
|
|
74
|
+
* evaluatorId: "STRING_VALUE",
|
|
75
|
+
* },
|
|
76
|
+
* ],
|
|
77
|
+
* evaluationExecutionRoleArn: "STRING_VALUE", // required
|
|
78
|
+
* enableOnCreate: true || false, // required
|
|
79
|
+
* };
|
|
80
|
+
* const command = new CreateOnlineEvaluationConfigCommand(input);
|
|
81
|
+
* const response = await client.send(command);
|
|
82
|
+
* // { // CreateOnlineEvaluationConfigResponse
|
|
83
|
+
* // onlineEvaluationConfigArn: "STRING_VALUE", // required
|
|
84
|
+
* // onlineEvaluationConfigId: "STRING_VALUE", // required
|
|
85
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
86
|
+
* // outputConfig: { // OutputConfig
|
|
87
|
+
* // cloudWatchConfig: { // CloudWatchOutputConfig
|
|
88
|
+
* // logGroupName: "STRING_VALUE", // required
|
|
89
|
+
* // },
|
|
90
|
+
* // },
|
|
91
|
+
* // status: "ACTIVE" || "CREATING" || "CREATE_FAILED" || "UPDATING" || "UPDATE_FAILED" || "DELETING", // required
|
|
92
|
+
* // executionStatus: "ENABLED" || "DISABLED", // required
|
|
93
|
+
* // failureReason: "STRING_VALUE",
|
|
94
|
+
* // };
|
|
95
|
+
*
|
|
96
|
+
* ```
|
|
97
|
+
*
|
|
98
|
+
* @param CreateOnlineEvaluationConfigCommandInput - {@link CreateOnlineEvaluationConfigCommandInput}
|
|
99
|
+
* @returns {@link CreateOnlineEvaluationConfigCommandOutput}
|
|
100
|
+
* @see {@link CreateOnlineEvaluationConfigCommandInput} for command's `input` shape.
|
|
101
|
+
* @see {@link CreateOnlineEvaluationConfigCommandOutput} 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 ConflictException} (client fault)
|
|
108
|
+
* <p>This exception is thrown when there is a conflict performing an operation</p>
|
|
109
|
+
*
|
|
110
|
+
* @throws {@link InternalServerException} (server fault)
|
|
111
|
+
* <p>This exception is thrown if there was an unexpected error during processing of request</p>
|
|
112
|
+
*
|
|
113
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
114
|
+
* <p>This exception is thrown when a request is made beyond the service quota</p>
|
|
115
|
+
*
|
|
116
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
117
|
+
* <p>This exception is thrown when the number of requests exceeds the limit</p>
|
|
118
|
+
*
|
|
119
|
+
* @throws {@link ValidationException} (client fault)
|
|
120
|
+
* <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
121
|
+
*
|
|
122
|
+
* @throws {@link BedrockAgentCoreControlServiceException}
|
|
123
|
+
* <p>Base exception class for all service exceptions from BedrockAgentCoreControl service.</p>
|
|
124
|
+
*
|
|
125
|
+
*
|
|
126
|
+
* @public
|
|
127
|
+
*/
|
|
128
|
+
export declare class CreateOnlineEvaluationConfigCommand extends CreateOnlineEvaluationConfigCommand_base {
|
|
129
|
+
/** @internal type navigation helper, not in runtime. */
|
|
130
|
+
protected static __types: {
|
|
131
|
+
api: {
|
|
132
|
+
input: CreateOnlineEvaluationConfigRequest;
|
|
133
|
+
output: CreateOnlineEvaluationConfigResponse;
|
|
134
|
+
};
|
|
135
|
+
sdk: {
|
|
136
|
+
input: CreateOnlineEvaluationConfigCommandInput;
|
|
137
|
+
output: CreateOnlineEvaluationConfigCommandOutput;
|
|
138
|
+
};
|
|
139
|
+
};
|
|
140
|
+
}
|
|
@@ -0,0 +1,119 @@
|
|
|
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 { CreatePolicyRequest, CreatePolicyResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreatePolicyCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreatePolicyCommandInput extends CreatePolicyRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreatePolicyCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreatePolicyCommandOutput extends CreatePolicyResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreatePolicyCommand_base: {
|
|
25
|
+
new (input: CreatePolicyCommandInput): import("@smithy/smithy-client").CommandImpl<CreatePolicyCommandInput, CreatePolicyCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreatePolicyCommandInput): import("@smithy/smithy-client").CommandImpl<CreatePolicyCommandInput, CreatePolicyCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Creates a policy within the AgentCore Policy system. Policies provide real-time, deterministic control over agentic interactions with AgentCore Gateway. Using the Cedar policy language, you can define fine-grained policies that specify which interactions with Gateway tools are permitted based on input parameters and OAuth claims, ensuring agents operate within defined boundaries and business rules. The policy is validated during creation against the Cedar schema generated from the Gateway's tools' input schemas, which defines the available tools, their parameters, and expected data types. This is an asynchronous operation. Use the <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/API_GetPolicy.html">GetPolicy</a> operation to poll the <code>status</code> field to track completion.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BedrockAgentCoreControlClient, CreatePolicyCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
|
|
35
|
+
* // const { BedrockAgentCoreControlClient, CreatePolicyCommand } = 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 = { // CreatePolicyRequest
|
|
40
|
+
* name: "STRING_VALUE", // required
|
|
41
|
+
* definition: { // PolicyDefinition Union: only one key present
|
|
42
|
+
* cedar: { // CedarPolicy
|
|
43
|
+
* statement: "STRING_VALUE", // required
|
|
44
|
+
* },
|
|
45
|
+
* },
|
|
46
|
+
* description: "STRING_VALUE",
|
|
47
|
+
* validationMode: "FAIL_ON_ANY_FINDINGS" || "IGNORE_ALL_FINDINGS",
|
|
48
|
+
* policyEngineId: "STRING_VALUE", // required
|
|
49
|
+
* clientToken: "STRING_VALUE",
|
|
50
|
+
* };
|
|
51
|
+
* const command = new CreatePolicyCommand(input);
|
|
52
|
+
* const response = await client.send(command);
|
|
53
|
+
* // { // CreatePolicyResponse
|
|
54
|
+
* // policyId: "STRING_VALUE", // required
|
|
55
|
+
* // name: "STRING_VALUE", // required
|
|
56
|
+
* // policyEngineId: "STRING_VALUE", // required
|
|
57
|
+
* // definition: { // PolicyDefinition Union: only one key present
|
|
58
|
+
* // cedar: { // CedarPolicy
|
|
59
|
+
* // statement: "STRING_VALUE", // required
|
|
60
|
+
* // },
|
|
61
|
+
* // },
|
|
62
|
+
* // description: "STRING_VALUE",
|
|
63
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
64
|
+
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
65
|
+
* // policyArn: "STRING_VALUE", // required
|
|
66
|
+
* // status: "CREATING" || "ACTIVE" || "UPDATING" || "DELETING" || "CREATE_FAILED" || "UPDATE_FAILED" || "DELETE_FAILED", // required
|
|
67
|
+
* // statusReasons: [ // PolicyStatusReasons // required
|
|
68
|
+
* // "STRING_VALUE",
|
|
69
|
+
* // ],
|
|
70
|
+
* // };
|
|
71
|
+
*
|
|
72
|
+
* ```
|
|
73
|
+
*
|
|
74
|
+
* @param CreatePolicyCommandInput - {@link CreatePolicyCommandInput}
|
|
75
|
+
* @returns {@link CreatePolicyCommandOutput}
|
|
76
|
+
* @see {@link CreatePolicyCommandInput} for command's `input` shape.
|
|
77
|
+
* @see {@link CreatePolicyCommandOutput} 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 ConflictException} (client fault)
|
|
84
|
+
* <p>This exception is thrown when there is a conflict performing an operation</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link InternalServerException} (server fault)
|
|
87
|
+
* <p>This exception is thrown if there was an unexpected error during processing of request</p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
90
|
+
* <p>This exception is thrown when a resource referenced by the operation does not exist</p>
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
93
|
+
* <p>This exception is thrown when a request is made beyond the service quota</p>
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
96
|
+
* <p>This exception is thrown when the number of requests exceeds the limit</p>
|
|
97
|
+
*
|
|
98
|
+
* @throws {@link ValidationException} (client fault)
|
|
99
|
+
* <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
100
|
+
*
|
|
101
|
+
* @throws {@link BedrockAgentCoreControlServiceException}
|
|
102
|
+
* <p>Base exception class for all service exceptions from BedrockAgentCoreControl service.</p>
|
|
103
|
+
*
|
|
104
|
+
*
|
|
105
|
+
* @public
|
|
106
|
+
*/
|
|
107
|
+
export declare class CreatePolicyCommand extends CreatePolicyCommand_base {
|
|
108
|
+
/** @internal type navigation helper, not in runtime. */
|
|
109
|
+
protected static __types: {
|
|
110
|
+
api: {
|
|
111
|
+
input: CreatePolicyRequest;
|
|
112
|
+
output: CreatePolicyResponse;
|
|
113
|
+
};
|
|
114
|
+
sdk: {
|
|
115
|
+
input: CreatePolicyCommandInput;
|
|
116
|
+
output: CreatePolicyCommandOutput;
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
}
|
|
@@ -0,0 +1,103 @@
|
|
|
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 { CreatePolicyEngineRequest, CreatePolicyEngineResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreatePolicyEngineCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreatePolicyEngineCommandInput extends CreatePolicyEngineRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreatePolicyEngineCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreatePolicyEngineCommandOutput extends CreatePolicyEngineResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreatePolicyEngineCommand_base: {
|
|
25
|
+
new (input: CreatePolicyEngineCommandInput): import("@smithy/smithy-client").CommandImpl<CreatePolicyEngineCommandInput, CreatePolicyEngineCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreatePolicyEngineCommandInput): import("@smithy/smithy-client").CommandImpl<CreatePolicyEngineCommandInput, CreatePolicyEngineCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Creates a new policy engine within the AgentCore Policy system. A policy engine is a collection of policies that evaluates and authorizes agent tool calls. When associated with Gateways (each Gateway can be associated with at most one policy engine, but multiple Gateways can be associated with the same engine), the policy engine intercepts all agent requests and determines whether to allow or deny each action based on the defined policies. This is an asynchronous operation. Use the <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/API_GetPolicyEngine.html">GetPolicyEngine</a> operation to poll the <code>status</code> field to track completion.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BedrockAgentCoreControlClient, CreatePolicyEngineCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
|
|
35
|
+
* // const { BedrockAgentCoreControlClient, CreatePolicyEngineCommand } = 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 = { // CreatePolicyEngineRequest
|
|
40
|
+
* name: "STRING_VALUE", // required
|
|
41
|
+
* description: "STRING_VALUE",
|
|
42
|
+
* clientToken: "STRING_VALUE",
|
|
43
|
+
* };
|
|
44
|
+
* const command = new CreatePolicyEngineCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // CreatePolicyEngineResponse
|
|
47
|
+
* // policyEngineId: "STRING_VALUE", // required
|
|
48
|
+
* // name: "STRING_VALUE", // required
|
|
49
|
+
* // description: "STRING_VALUE",
|
|
50
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
51
|
+
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
52
|
+
* // policyEngineArn: "STRING_VALUE", // required
|
|
53
|
+
* // status: "CREATING" || "ACTIVE" || "UPDATING" || "DELETING" || "CREATE_FAILED" || "UPDATE_FAILED" || "DELETE_FAILED", // required
|
|
54
|
+
* // statusReasons: [ // PolicyStatusReasons // required
|
|
55
|
+
* // "STRING_VALUE",
|
|
56
|
+
* // ],
|
|
57
|
+
* // };
|
|
58
|
+
*
|
|
59
|
+
* ```
|
|
60
|
+
*
|
|
61
|
+
* @param CreatePolicyEngineCommandInput - {@link CreatePolicyEngineCommandInput}
|
|
62
|
+
* @returns {@link CreatePolicyEngineCommandOutput}
|
|
63
|
+
* @see {@link CreatePolicyEngineCommandInput} for command's `input` shape.
|
|
64
|
+
* @see {@link CreatePolicyEngineCommandOutput} for command's `response` shape.
|
|
65
|
+
* @see {@link BedrockAgentCoreControlClientResolvedConfig | config} for BedrockAgentCoreControlClient's `config` shape.
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
68
|
+
* <p>This exception is thrown when a request is denied per access permissions</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ConflictException} (client fault)
|
|
71
|
+
* <p>This exception is thrown when there is a conflict performing an operation</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link InternalServerException} (server fault)
|
|
74
|
+
* <p>This exception is thrown if there was an unexpected error during processing of request</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
77
|
+
* <p>This exception is thrown when a request is made beyond the service quota</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
80
|
+
* <p>This exception is thrown when the number of requests exceeds the limit</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link ValidationException} (client fault)
|
|
83
|
+
* <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link BedrockAgentCoreControlServiceException}
|
|
86
|
+
* <p>Base exception class for all service exceptions from BedrockAgentCoreControl service.</p>
|
|
87
|
+
*
|
|
88
|
+
*
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
export declare class CreatePolicyEngineCommand extends CreatePolicyEngineCommand_base {
|
|
92
|
+
/** @internal type navigation helper, not in runtime. */
|
|
93
|
+
protected static __types: {
|
|
94
|
+
api: {
|
|
95
|
+
input: CreatePolicyEngineRequest;
|
|
96
|
+
output: CreatePolicyEngineResponse;
|
|
97
|
+
};
|
|
98
|
+
sdk: {
|
|
99
|
+
input: CreatePolicyEngineCommandInput;
|
|
100
|
+
output: CreatePolicyEngineCommandOutput;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
}
|
|
@@ -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 { CreateWorkloadIdentityRequest, CreateWorkloadIdentityResponse } from "../models/
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
|
|
4
|
+
import type { CreateWorkloadIdentityRequest, CreateWorkloadIdentityResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
|
|
4
|
-
import { DeleteAgentRuntimeRequest, DeleteAgentRuntimeResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
|
|
4
|
+
import type { DeleteAgentRuntimeRequest, DeleteAgentRuntimeResponse } 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 { DeleteAgentRuntimeEndpointRequest, DeleteAgentRuntimeEndpointResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
|
|
4
|
+
import type { DeleteAgentRuntimeEndpointRequest, DeleteAgentRuntimeEndpointResponse } 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 { DeleteApiKeyCredentialProviderRequest, DeleteApiKeyCredentialProviderResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
|
|
4
|
+
import type { DeleteApiKeyCredentialProviderRequest, DeleteApiKeyCredentialProviderResponse } 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 { DeleteBrowserRequest, DeleteBrowserResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
|
|
4
|
+
import type { DeleteBrowserRequest, DeleteBrowserResponse } 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 { DeleteCodeInterpreterRequest, DeleteCodeInterpreterResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
|
|
4
|
+
import type { DeleteCodeInterpreterRequest, DeleteCodeInterpreterResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|