@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 { UpdateMemoryInput, UpdateMemoryOutput } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
|
|
4
|
+
import type { UpdateMemoryInput, UpdateMemoryOutput } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -99,6 +99,23 @@ declare const UpdateMemoryCommand_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,15 +138,21 @@ declare const UpdateMemoryCommand_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
|
* modifyMemoryStrategies: [ // ModifyMemoryStrategiesList
|
|
127
152
|
* { // ModifyMemoryStrategyInput
|
|
128
153
|
* memoryStrategyId: "STRING_VALUE", // required
|
|
129
154
|
* description: "STRING_VALUE",
|
|
130
|
-
* namespaces:
|
|
131
|
-
* "STRING_VALUE",
|
|
132
|
-
* ],
|
|
155
|
+
* namespaces: "<NamespacesList>",
|
|
133
156
|
* configuration: { // ModifyStrategyConfiguration
|
|
134
157
|
* extraction: { // ModifyExtractionConfiguration Union: only one key present
|
|
135
158
|
* customExtractionConfiguration: { // CustomExtractionConfigurationInput Union: only one key present
|
|
@@ -141,6 +164,10 @@ declare const UpdateMemoryCommand_base: {
|
|
|
141
164
|
* appendToPrompt: "STRING_VALUE", // required
|
|
142
165
|
* modelId: "STRING_VALUE", // required
|
|
143
166
|
* },
|
|
167
|
+
* episodicExtractionOverride: {
|
|
168
|
+
* appendToPrompt: "STRING_VALUE", // required
|
|
169
|
+
* modelId: "STRING_VALUE", // required
|
|
170
|
+
* },
|
|
144
171
|
* },
|
|
145
172
|
* },
|
|
146
173
|
* consolidation: { // ModifyConsolidationConfiguration Union: only one key present
|
|
@@ -157,6 +184,22 @@ declare const UpdateMemoryCommand_base: {
|
|
|
157
184
|
* appendToPrompt: "STRING_VALUE", // required
|
|
158
185
|
* modelId: "STRING_VALUE", // required
|
|
159
186
|
* },
|
|
187
|
+
* episodicConsolidationOverride: {
|
|
188
|
+
* appendToPrompt: "STRING_VALUE", // required
|
|
189
|
+
* modelId: "STRING_VALUE", // required
|
|
190
|
+
* },
|
|
191
|
+
* },
|
|
192
|
+
* },
|
|
193
|
+
* reflection: { // ModifyReflectionConfiguration Union: only one key present
|
|
194
|
+
* episodicReflectionConfiguration: {
|
|
195
|
+
* namespaces: "<NamespacesList>", // required
|
|
196
|
+
* },
|
|
197
|
+
* customReflectionConfiguration: { // CustomReflectionConfigurationInput Union: only one key present
|
|
198
|
+
* episodicReflectionOverride: {
|
|
199
|
+
* appendToPrompt: "STRING_VALUE", // required
|
|
200
|
+
* modelId: "STRING_VALUE", // required
|
|
201
|
+
* namespaces: "<NamespacesList>",
|
|
202
|
+
* },
|
|
160
203
|
* },
|
|
161
204
|
* },
|
|
162
205
|
* selfManagedConfiguration: { // ModifySelfManagedConfiguration
|
|
@@ -210,7 +253,7 @@ declare const UpdateMemoryCommand_base: {
|
|
|
210
253
|
* // name: "STRING_VALUE", // required
|
|
211
254
|
* // description: "STRING_VALUE",
|
|
212
255
|
* // configuration: { // StrategyConfiguration
|
|
213
|
-
* // type: "SEMANTIC_OVERRIDE" || "SUMMARY_OVERRIDE" || "USER_PREFERENCE_OVERRIDE" || "SELF_MANAGED",
|
|
256
|
+
* // type: "SEMANTIC_OVERRIDE" || "SUMMARY_OVERRIDE" || "USER_PREFERENCE_OVERRIDE" || "SELF_MANAGED" || "EPISODIC_OVERRIDE",
|
|
214
257
|
* // extraction: { // ExtractionConfiguration Union: only one key present
|
|
215
258
|
* // customExtractionConfiguration: { // CustomExtractionConfiguration Union: only one key present
|
|
216
259
|
* // semanticExtractionOverride: { // SemanticExtractionOverride
|
|
@@ -221,6 +264,10 @@ declare const UpdateMemoryCommand_base: {
|
|
|
221
264
|
* // appendToPrompt: "STRING_VALUE", // required
|
|
222
265
|
* // modelId: "STRING_VALUE", // required
|
|
223
266
|
* // },
|
|
267
|
+
* // episodicExtractionOverride: { // EpisodicExtractionOverride
|
|
268
|
+
* // appendToPrompt: "STRING_VALUE", // required
|
|
269
|
+
* // modelId: "STRING_VALUE", // required
|
|
270
|
+
* // },
|
|
224
271
|
* // },
|
|
225
272
|
* // },
|
|
226
273
|
* // consolidation: { // ConsolidationConfiguration Union: only one key present
|
|
@@ -237,6 +284,26 @@ declare const UpdateMemoryCommand_base: {
|
|
|
237
284
|
* // appendToPrompt: "STRING_VALUE", // required
|
|
238
285
|
* // modelId: "STRING_VALUE", // required
|
|
239
286
|
* // },
|
|
287
|
+
* // episodicConsolidationOverride: { // EpisodicConsolidationOverride
|
|
288
|
+
* // appendToPrompt: "STRING_VALUE", // required
|
|
289
|
+
* // modelId: "STRING_VALUE", // required
|
|
290
|
+
* // },
|
|
291
|
+
* // },
|
|
292
|
+
* // },
|
|
293
|
+
* // reflection: { // ReflectionConfiguration Union: only one key present
|
|
294
|
+
* // customReflectionConfiguration: { // CustomReflectionConfiguration Union: only one key present
|
|
295
|
+
* // episodicReflectionOverride: { // EpisodicReflectionOverride
|
|
296
|
+
* // appendToPrompt: "STRING_VALUE", // required
|
|
297
|
+
* // modelId: "STRING_VALUE", // required
|
|
298
|
+
* // namespaces: [ // NamespacesList
|
|
299
|
+
* // "STRING_VALUE",
|
|
300
|
+
* // ],
|
|
301
|
+
* // },
|
|
302
|
+
* // },
|
|
303
|
+
* // episodicReflectionConfiguration: { // EpisodicReflectionConfiguration
|
|
304
|
+
* // namespaces: [ // required
|
|
305
|
+
* // "STRING_VALUE",
|
|
306
|
+
* // ],
|
|
240
307
|
* // },
|
|
241
308
|
* // },
|
|
242
309
|
* // selfManagedConfiguration: { // SelfManagedConfiguration
|
|
@@ -260,10 +327,8 @@ declare const UpdateMemoryCommand_base: {
|
|
|
260
327
|
* // historicalContextWindowSize: Number("int"), // required
|
|
261
328
|
* // },
|
|
262
329
|
* // },
|
|
263
|
-
* // type: "SEMANTIC" || "SUMMARIZATION" || "USER_PREFERENCE" || "CUSTOM", // required
|
|
264
|
-
* // namespaces:
|
|
265
|
-
* // "STRING_VALUE",
|
|
266
|
-
* // ],
|
|
330
|
+
* // type: "SEMANTIC" || "SUMMARIZATION" || "USER_PREFERENCE" || "CUSTOM" || "EPISODIC", // required
|
|
331
|
+
* // namespaces: "<NamespacesList>", // required
|
|
267
332
|
* // createdAt: new Date("TIMESTAMP"),
|
|
268
333
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
269
334
|
* // 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 { UpdateOauth2CredentialProviderRequest, UpdateOauth2CredentialProviderResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
|
|
4
|
+
import type { UpdateOauth2CredentialProviderRequest, UpdateOauth2CredentialProviderResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -0,0 +1,138 @@
|
|
|
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 { UpdateOnlineEvaluationConfigRequest, UpdateOnlineEvaluationConfigResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UpdateOnlineEvaluationConfigCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateOnlineEvaluationConfigCommandInput extends UpdateOnlineEvaluationConfigRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateOnlineEvaluationConfigCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateOnlineEvaluationConfigCommandOutput extends UpdateOnlineEvaluationConfigResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdateOnlineEvaluationConfigCommand_base: {
|
|
25
|
+
new (input: UpdateOnlineEvaluationConfigCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateOnlineEvaluationConfigCommandInput, UpdateOnlineEvaluationConfigCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdateOnlineEvaluationConfigCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateOnlineEvaluationConfigCommandInput, UpdateOnlineEvaluationConfigCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p> Updates an online evaluation configuration's settings, including rules, data sources, evaluators, and execution status. Changes take effect immediately for ongoing evaluations. </p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BedrockAgentCoreControlClient, UpdateOnlineEvaluationConfigCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
|
|
35
|
+
* // const { BedrockAgentCoreControlClient, UpdateOnlineEvaluationConfigCommand } = 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 = { // UpdateOnlineEvaluationConfigRequest
|
|
40
|
+
* clientToken: "STRING_VALUE",
|
|
41
|
+
* onlineEvaluationConfigId: "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
|
|
73
|
+
* { // EvaluatorReference Union: only one key present
|
|
74
|
+
* evaluatorId: "STRING_VALUE",
|
|
75
|
+
* },
|
|
76
|
+
* ],
|
|
77
|
+
* evaluationExecutionRoleArn: "STRING_VALUE",
|
|
78
|
+
* executionStatus: "ENABLED" || "DISABLED",
|
|
79
|
+
* };
|
|
80
|
+
* const command = new UpdateOnlineEvaluationConfigCommand(input);
|
|
81
|
+
* const response = await client.send(command);
|
|
82
|
+
* // { // UpdateOnlineEvaluationConfigResponse
|
|
83
|
+
* // onlineEvaluationConfigArn: "STRING_VALUE", // required
|
|
84
|
+
* // onlineEvaluationConfigId: "STRING_VALUE", // required
|
|
85
|
+
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
86
|
+
* // status: "ACTIVE" || "CREATING" || "CREATE_FAILED" || "UPDATING" || "UPDATE_FAILED" || "DELETING", // required
|
|
87
|
+
* // executionStatus: "ENABLED" || "DISABLED", // required
|
|
88
|
+
* // failureReason: "STRING_VALUE",
|
|
89
|
+
* // };
|
|
90
|
+
*
|
|
91
|
+
* ```
|
|
92
|
+
*
|
|
93
|
+
* @param UpdateOnlineEvaluationConfigCommandInput - {@link UpdateOnlineEvaluationConfigCommandInput}
|
|
94
|
+
* @returns {@link UpdateOnlineEvaluationConfigCommandOutput}
|
|
95
|
+
* @see {@link UpdateOnlineEvaluationConfigCommandInput} for command's `input` shape.
|
|
96
|
+
* @see {@link UpdateOnlineEvaluationConfigCommandOutput} for command's `response` shape.
|
|
97
|
+
* @see {@link BedrockAgentCoreControlClientResolvedConfig | config} for BedrockAgentCoreControlClient's `config` shape.
|
|
98
|
+
*
|
|
99
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
100
|
+
* <p>This exception is thrown when a request is denied per access permissions</p>
|
|
101
|
+
*
|
|
102
|
+
* @throws {@link ConflictException} (client fault)
|
|
103
|
+
* <p>This exception is thrown when there is a conflict performing an operation</p>
|
|
104
|
+
*
|
|
105
|
+
* @throws {@link InternalServerException} (server fault)
|
|
106
|
+
* <p>This exception is thrown if there was an unexpected error during processing of request</p>
|
|
107
|
+
*
|
|
108
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
109
|
+
* <p>This exception is thrown when a resource referenced by the operation does not exist</p>
|
|
110
|
+
*
|
|
111
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
112
|
+
* <p>This exception is thrown when a request is made beyond the service quota</p>
|
|
113
|
+
*
|
|
114
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
115
|
+
* <p>This exception is thrown when the number of requests exceeds the limit</p>
|
|
116
|
+
*
|
|
117
|
+
* @throws {@link ValidationException} (client fault)
|
|
118
|
+
* <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
119
|
+
*
|
|
120
|
+
* @throws {@link BedrockAgentCoreControlServiceException}
|
|
121
|
+
* <p>Base exception class for all service exceptions from BedrockAgentCoreControl service.</p>
|
|
122
|
+
*
|
|
123
|
+
*
|
|
124
|
+
* @public
|
|
125
|
+
*/
|
|
126
|
+
export declare class UpdateOnlineEvaluationConfigCommand extends UpdateOnlineEvaluationConfigCommand_base {
|
|
127
|
+
/** @internal type navigation helper, not in runtime. */
|
|
128
|
+
protected static __types: {
|
|
129
|
+
api: {
|
|
130
|
+
input: UpdateOnlineEvaluationConfigRequest;
|
|
131
|
+
output: UpdateOnlineEvaluationConfigResponse;
|
|
132
|
+
};
|
|
133
|
+
sdk: {
|
|
134
|
+
input: UpdateOnlineEvaluationConfigCommandInput;
|
|
135
|
+
output: UpdateOnlineEvaluationConfigCommandOutput;
|
|
136
|
+
};
|
|
137
|
+
};
|
|
138
|
+
}
|
|
@@ -0,0 +1,115 @@
|
|
|
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 { UpdatePolicyRequest, UpdatePolicyResponse } from "../models/models_1";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UpdatePolicyCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdatePolicyCommandInput extends UpdatePolicyRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdatePolicyCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdatePolicyCommandOutput extends UpdatePolicyResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdatePolicyCommand_base: {
|
|
25
|
+
new (input: UpdatePolicyCommandInput): import("@smithy/smithy-client").CommandImpl<UpdatePolicyCommandInput, UpdatePolicyCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdatePolicyCommandInput): import("@smithy/smithy-client").CommandImpl<UpdatePolicyCommandInput, UpdatePolicyCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Updates an existing policy within the AgentCore Policy system. This operation allows modification of the policy description and definition while maintaining the policy's identity. The updated policy is validated against the Cedar schema before being applied. This is an asynchronous operation. Use the <code>GetPolicy</code> 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, UpdatePolicyCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
|
|
35
|
+
* // const { BedrockAgentCoreControlClient, UpdatePolicyCommand } = 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 = { // UpdatePolicyRequest
|
|
40
|
+
* policyEngineId: "STRING_VALUE", // required
|
|
41
|
+
* policyId: "STRING_VALUE", // required
|
|
42
|
+
* description: "STRING_VALUE",
|
|
43
|
+
* definition: { // PolicyDefinition Union: only one key present
|
|
44
|
+
* cedar: { // CedarPolicy
|
|
45
|
+
* statement: "STRING_VALUE", // required
|
|
46
|
+
* },
|
|
47
|
+
* },
|
|
48
|
+
* validationMode: "FAIL_ON_ANY_FINDINGS" || "IGNORE_ALL_FINDINGS",
|
|
49
|
+
* };
|
|
50
|
+
* const command = new UpdatePolicyCommand(input);
|
|
51
|
+
* const response = await client.send(command);
|
|
52
|
+
* // { // UpdatePolicyResponse
|
|
53
|
+
* // policyId: "STRING_VALUE", // required
|
|
54
|
+
* // name: "STRING_VALUE", // required
|
|
55
|
+
* // policyEngineId: "STRING_VALUE", // required
|
|
56
|
+
* // definition: { // PolicyDefinition Union: only one key present
|
|
57
|
+
* // cedar: { // CedarPolicy
|
|
58
|
+
* // statement: "STRING_VALUE", // required
|
|
59
|
+
* // },
|
|
60
|
+
* // },
|
|
61
|
+
* // description: "STRING_VALUE",
|
|
62
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
63
|
+
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
64
|
+
* // policyArn: "STRING_VALUE", // required
|
|
65
|
+
* // status: "CREATING" || "ACTIVE" || "UPDATING" || "DELETING" || "CREATE_FAILED" || "UPDATE_FAILED" || "DELETE_FAILED", // required
|
|
66
|
+
* // statusReasons: [ // PolicyStatusReasons // required
|
|
67
|
+
* // "STRING_VALUE",
|
|
68
|
+
* // ],
|
|
69
|
+
* // };
|
|
70
|
+
*
|
|
71
|
+
* ```
|
|
72
|
+
*
|
|
73
|
+
* @param UpdatePolicyCommandInput - {@link UpdatePolicyCommandInput}
|
|
74
|
+
* @returns {@link UpdatePolicyCommandOutput}
|
|
75
|
+
* @see {@link UpdatePolicyCommandInput} for command's `input` shape.
|
|
76
|
+
* @see {@link UpdatePolicyCommandOutput} for command's `response` shape.
|
|
77
|
+
* @see {@link BedrockAgentCoreControlClientResolvedConfig | config} for BedrockAgentCoreControlClient's `config` shape.
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
80
|
+
* <p>This exception is thrown when a request is denied per access permissions</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link ConflictException} (client fault)
|
|
83
|
+
* <p>This exception is thrown when there is a conflict performing an operation</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link InternalServerException} (server fault)
|
|
86
|
+
* <p>This exception is thrown if there was an unexpected error during processing of request</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
89
|
+
* <p>This exception is thrown when a resource referenced by the operation does not exist</p>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
92
|
+
* <p>This exception is thrown when the number of requests exceeds the limit</p>
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link ValidationException} (client fault)
|
|
95
|
+
* <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
96
|
+
*
|
|
97
|
+
* @throws {@link BedrockAgentCoreControlServiceException}
|
|
98
|
+
* <p>Base exception class for all service exceptions from BedrockAgentCoreControl service.</p>
|
|
99
|
+
*
|
|
100
|
+
*
|
|
101
|
+
* @public
|
|
102
|
+
*/
|
|
103
|
+
export declare class UpdatePolicyCommand extends UpdatePolicyCommand_base {
|
|
104
|
+
/** @internal type navigation helper, not in runtime. */
|
|
105
|
+
protected static __types: {
|
|
106
|
+
api: {
|
|
107
|
+
input: UpdatePolicyRequest;
|
|
108
|
+
output: UpdatePolicyResponse;
|
|
109
|
+
};
|
|
110
|
+
sdk: {
|
|
111
|
+
input: UpdatePolicyCommandInput;
|
|
112
|
+
output: UpdatePolicyCommandOutput;
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
}
|
|
@@ -0,0 +1,102 @@
|
|
|
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 { UpdatePolicyEngineRequest, UpdatePolicyEngineResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UpdatePolicyEngineCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdatePolicyEngineCommandInput extends UpdatePolicyEngineRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdatePolicyEngineCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdatePolicyEngineCommandOutput extends UpdatePolicyEngineResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdatePolicyEngineCommand_base: {
|
|
25
|
+
new (input: UpdatePolicyEngineCommandInput): import("@smithy/smithy-client").CommandImpl<UpdatePolicyEngineCommandInput, UpdatePolicyEngineCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdatePolicyEngineCommandInput): import("@smithy/smithy-client").CommandImpl<UpdatePolicyEngineCommandInput, UpdatePolicyEngineCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Updates an existing policy engine within the AgentCore Policy system. This operation allows modification of the policy engine description while maintaining its identity. This is an asynchronous operation. Use the <code>GetPolicyEngine</code> 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, UpdatePolicyEngineCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
|
|
35
|
+
* // const { BedrockAgentCoreControlClient, UpdatePolicyEngineCommand } = 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 = { // UpdatePolicyEngineRequest
|
|
40
|
+
* policyEngineId: "STRING_VALUE", // required
|
|
41
|
+
* description: "STRING_VALUE",
|
|
42
|
+
* };
|
|
43
|
+
* const command = new UpdatePolicyEngineCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // UpdatePolicyEngineResponse
|
|
46
|
+
* // policyEngineId: "STRING_VALUE", // required
|
|
47
|
+
* // name: "STRING_VALUE", // required
|
|
48
|
+
* // description: "STRING_VALUE",
|
|
49
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
50
|
+
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
51
|
+
* // policyEngineArn: "STRING_VALUE", // required
|
|
52
|
+
* // status: "CREATING" || "ACTIVE" || "UPDATING" || "DELETING" || "CREATE_FAILED" || "UPDATE_FAILED" || "DELETE_FAILED", // required
|
|
53
|
+
* // statusReasons: [ // PolicyStatusReasons // required
|
|
54
|
+
* // "STRING_VALUE",
|
|
55
|
+
* // ],
|
|
56
|
+
* // };
|
|
57
|
+
*
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
60
|
+
* @param UpdatePolicyEngineCommandInput - {@link UpdatePolicyEngineCommandInput}
|
|
61
|
+
* @returns {@link UpdatePolicyEngineCommandOutput}
|
|
62
|
+
* @see {@link UpdatePolicyEngineCommandInput} for command's `input` shape.
|
|
63
|
+
* @see {@link UpdatePolicyEngineCommandOutput} for command's `response` shape.
|
|
64
|
+
* @see {@link BedrockAgentCoreControlClientResolvedConfig | config} for BedrockAgentCoreControlClient's `config` shape.
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
67
|
+
* <p>This exception is thrown when a request is denied per access permissions</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ConflictException} (client fault)
|
|
70
|
+
* <p>This exception is thrown when there is a conflict performing an operation</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link InternalServerException} (server fault)
|
|
73
|
+
* <p>This exception is thrown if there was an unexpected error during processing of request</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
76
|
+
* <p>This exception is thrown when a resource referenced by the operation does not exist</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
79
|
+
* <p>This exception is thrown when the number of requests exceeds the limit</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ValidationException} (client fault)
|
|
82
|
+
* <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link BedrockAgentCoreControlServiceException}
|
|
85
|
+
* <p>Base exception class for all service exceptions from BedrockAgentCoreControl service.</p>
|
|
86
|
+
*
|
|
87
|
+
*
|
|
88
|
+
* @public
|
|
89
|
+
*/
|
|
90
|
+
export declare class UpdatePolicyEngineCommand extends UpdatePolicyEngineCommand_base {
|
|
91
|
+
/** @internal type navigation helper, not in runtime. */
|
|
92
|
+
protected static __types: {
|
|
93
|
+
api: {
|
|
94
|
+
input: UpdatePolicyEngineRequest;
|
|
95
|
+
output: UpdatePolicyEngineResponse;
|
|
96
|
+
};
|
|
97
|
+
sdk: {
|
|
98
|
+
input: UpdatePolicyEngineCommandInput;
|
|
99
|
+
output: UpdatePolicyEngineCommandOutput;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
}
|
|
@@ -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 { UpdateWorkloadIdentityRequest, UpdateWorkloadIdentityResponse } from "../models/
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
|
|
4
|
+
import type { UpdateWorkloadIdentityRequest, UpdateWorkloadIdentityResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -3,30 +3,45 @@ export * from "./CreateAgentRuntimeEndpointCommand";
|
|
|
3
3
|
export * from "./CreateApiKeyCredentialProviderCommand";
|
|
4
4
|
export * from "./CreateBrowserCommand";
|
|
5
5
|
export * from "./CreateCodeInterpreterCommand";
|
|
6
|
+
export * from "./CreateEvaluatorCommand";
|
|
6
7
|
export * from "./CreateGatewayCommand";
|
|
7
8
|
export * from "./CreateGatewayTargetCommand";
|
|
8
9
|
export * from "./CreateMemoryCommand";
|
|
9
10
|
export * from "./CreateOauth2CredentialProviderCommand";
|
|
11
|
+
export * from "./CreateOnlineEvaluationConfigCommand";
|
|
12
|
+
export * from "./CreatePolicyCommand";
|
|
13
|
+
export * from "./CreatePolicyEngineCommand";
|
|
10
14
|
export * from "./CreateWorkloadIdentityCommand";
|
|
11
15
|
export * from "./DeleteAgentRuntimeCommand";
|
|
12
16
|
export * from "./DeleteAgentRuntimeEndpointCommand";
|
|
13
17
|
export * from "./DeleteApiKeyCredentialProviderCommand";
|
|
14
18
|
export * from "./DeleteBrowserCommand";
|
|
15
19
|
export * from "./DeleteCodeInterpreterCommand";
|
|
20
|
+
export * from "./DeleteEvaluatorCommand";
|
|
16
21
|
export * from "./DeleteGatewayCommand";
|
|
17
22
|
export * from "./DeleteGatewayTargetCommand";
|
|
18
23
|
export * from "./DeleteMemoryCommand";
|
|
19
24
|
export * from "./DeleteOauth2CredentialProviderCommand";
|
|
25
|
+
export * from "./DeleteOnlineEvaluationConfigCommand";
|
|
26
|
+
export * from "./DeletePolicyCommand";
|
|
27
|
+
export * from "./DeletePolicyEngineCommand";
|
|
28
|
+
export * from "./DeleteResourcePolicyCommand";
|
|
20
29
|
export * from "./DeleteWorkloadIdentityCommand";
|
|
21
30
|
export * from "./GetAgentRuntimeCommand";
|
|
22
31
|
export * from "./GetAgentRuntimeEndpointCommand";
|
|
23
32
|
export * from "./GetApiKeyCredentialProviderCommand";
|
|
24
33
|
export * from "./GetBrowserCommand";
|
|
25
34
|
export * from "./GetCodeInterpreterCommand";
|
|
35
|
+
export * from "./GetEvaluatorCommand";
|
|
26
36
|
export * from "./GetGatewayCommand";
|
|
27
37
|
export * from "./GetGatewayTargetCommand";
|
|
28
38
|
export * from "./GetMemoryCommand";
|
|
29
39
|
export * from "./GetOauth2CredentialProviderCommand";
|
|
40
|
+
export * from "./GetOnlineEvaluationConfigCommand";
|
|
41
|
+
export * from "./GetPolicyCommand";
|
|
42
|
+
export * from "./GetPolicyEngineCommand";
|
|
43
|
+
export * from "./GetPolicyGenerationCommand";
|
|
44
|
+
export * from "./GetResourcePolicyCommand";
|
|
30
45
|
export * from "./GetTokenVaultCommand";
|
|
31
46
|
export * from "./GetWorkloadIdentityCommand";
|
|
32
47
|
export * from "./ListAgentRuntimeEndpointsCommand";
|
|
@@ -35,21 +50,33 @@ export * from "./ListAgentRuntimesCommand";
|
|
|
35
50
|
export * from "./ListApiKeyCredentialProvidersCommand";
|
|
36
51
|
export * from "./ListBrowsersCommand";
|
|
37
52
|
export * from "./ListCodeInterpretersCommand";
|
|
53
|
+
export * from "./ListEvaluatorsCommand";
|
|
38
54
|
export * from "./ListGatewayTargetsCommand";
|
|
39
55
|
export * from "./ListGatewaysCommand";
|
|
40
56
|
export * from "./ListMemoriesCommand";
|
|
41
57
|
export * from "./ListOauth2CredentialProvidersCommand";
|
|
58
|
+
export * from "./ListOnlineEvaluationConfigsCommand";
|
|
59
|
+
export * from "./ListPoliciesCommand";
|
|
60
|
+
export * from "./ListPolicyEnginesCommand";
|
|
61
|
+
export * from "./ListPolicyGenerationAssetsCommand";
|
|
62
|
+
export * from "./ListPolicyGenerationsCommand";
|
|
42
63
|
export * from "./ListTagsForResourceCommand";
|
|
43
64
|
export * from "./ListWorkloadIdentitiesCommand";
|
|
65
|
+
export * from "./PutResourcePolicyCommand";
|
|
44
66
|
export * from "./SetTokenVaultCMKCommand";
|
|
67
|
+
export * from "./StartPolicyGenerationCommand";
|
|
45
68
|
export * from "./SynchronizeGatewayTargetsCommand";
|
|
46
69
|
export * from "./TagResourceCommand";
|
|
47
70
|
export * from "./UntagResourceCommand";
|
|
48
71
|
export * from "./UpdateAgentRuntimeCommand";
|
|
49
72
|
export * from "./UpdateAgentRuntimeEndpointCommand";
|
|
50
73
|
export * from "./UpdateApiKeyCredentialProviderCommand";
|
|
74
|
+
export * from "./UpdateEvaluatorCommand";
|
|
51
75
|
export * from "./UpdateGatewayCommand";
|
|
52
76
|
export * from "./UpdateGatewayTargetCommand";
|
|
53
77
|
export * from "./UpdateMemoryCommand";
|
|
54
78
|
export * from "./UpdateOauth2CredentialProviderCommand";
|
|
79
|
+
export * from "./UpdateOnlineEvaluationConfigCommand";
|
|
80
|
+
export * from "./UpdatePolicyCommand";
|
|
81
|
+
export * from "./UpdatePolicyEngineCommand";
|
|
55
82
|
export * from "./UpdateWorkloadIdentityCommand";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
|
|
1
|
+
import type { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
|
|
2
2
|
/**
|
|
3
3
|
* @public
|
|
4
4
|
*/
|
|
@@ -8,10 +8,19 @@ export interface ClientInputEndpointParameters {
|
|
|
8
8
|
useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
9
9
|
endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
|
|
10
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
11
14
|
export type ClientResolvedEndpointParameters = Omit<ClientInputEndpointParameters, "endpoint"> & {
|
|
12
15
|
defaultSigningName: string;
|
|
13
16
|
};
|
|
17
|
+
/**
|
|
18
|
+
* @internal
|
|
19
|
+
*/
|
|
14
20
|
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters;
|
|
21
|
+
/**
|
|
22
|
+
* @internal
|
|
23
|
+
*/
|
|
15
24
|
export declare const commonParams: {
|
|
16
25
|
readonly UseFIPS: {
|
|
17
26
|
readonly type: "builtInParams";
|
|
@@ -30,6 +39,9 @@ export declare const commonParams: {
|
|
|
30
39
|
readonly name: "useDualstackEndpoint";
|
|
31
40
|
};
|
|
32
41
|
};
|
|
42
|
+
/**
|
|
43
|
+
* @internal
|
|
44
|
+
*/
|
|
33
45
|
export interface EndpointParameters extends __EndpointParameters {
|
|
34
46
|
Region?: string | undefined;
|
|
35
47
|
UseDualStack?: boolean | undefined;
|