@aws-sdk/client-bedrock-agentcore-control 3.939.0 → 3.943.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 +2140 -143
- package/dist-es/BedrockAgentCoreControl.js +54 -0
- 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/schemas/schemas_0.js +1320 -97
- 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 +192 -0
- package/dist-types/BedrockAgentCoreControlClient.d.ts +29 -2
- package/dist-types/commands/CreateAgentRuntimeCommand.d.ts +18 -0
- package/dist-types/commands/CreateEvaluatorCommand.d.ts +132 -0
- package/dist-types/commands/CreateGatewayCommand.d.ts +44 -0
- package/dist-types/commands/CreateGatewayTargetCommand.d.ts +49 -1
- package/dist-types/commands/CreateMemoryCommand.d.ts +52 -5
- 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 +1 -1
- package/dist-types/commands/DeleteEvaluatorCommand.d.ts +94 -0
- package/dist-types/commands/DeleteMemoryCommand.d.ts +3 -0
- 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 +1 -1
- package/dist-types/commands/GetAgentRuntimeCommand.d.ts +19 -0
- package/dist-types/commands/GetEvaluatorCommand.d.ts +131 -0
- package/dist-types/commands/GetGatewayCommand.d.ts +22 -0
- package/dist-types/commands/GetGatewayTargetCommand.d.ts +26 -1
- package/dist-types/commands/GetMemoryCommand.d.ts +27 -5
- 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/GetWorkloadIdentityCommand.d.ts +1 -1
- package/dist-types/commands/ListEvaluatorsCommand.d.ts +101 -0
- 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/ListWorkloadIdentitiesCommand.d.ts +1 -1
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +90 -0
- package/dist-types/commands/SetTokenVaultCMKCommand.d.ts +1 -1
- package/dist-types/commands/StartPolicyGenerationCommand.d.ts +116 -0
- package/dist-types/commands/SynchronizeGatewayTargetsCommand.d.ts +26 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAgentRuntimeCommand.d.ts +18 -0
- package/dist-types/commands/UpdateEvaluatorCommand.d.ts +135 -0
- package/dist-types/commands/UpdateGatewayCommand.d.ts +44 -0
- package/dist-types/commands/UpdateGatewayTargetCommand.d.ts +49 -1
- package/dist-types/commands/UpdateMemoryCommand.d.ts +73 -8
- 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 +1 -1
- package/dist-types/commands/index.d.ts +27 -0
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +232 -0
- package/dist-types/models/models_0.d.ts +4160 -2169
- package/dist-types/models/models_1.d.ts +1009 -0
- package/dist-types/pagination/ListEvaluatorsPaginator.d.ts +7 -0
- 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/index.d.ts +6 -0
- package/dist-types/schemas/schemas_0.d.ts +156 -0
- package/dist-types/ts3.4/BedrockAgentCoreControl.d.ts +462 -0
- package/dist-types/ts3.4/BedrockAgentCoreControlClient.d.ts +162 -0
- 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/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 +5 -5
|
@@ -0,0 +1,116 @@
|
|
|
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 { StartPolicyGenerationRequest, StartPolicyGenerationResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link StartPolicyGenerationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface StartPolicyGenerationCommandInput extends StartPolicyGenerationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link StartPolicyGenerationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface StartPolicyGenerationCommandOutput extends StartPolicyGenerationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const StartPolicyGenerationCommand_base: {
|
|
25
|
+
new (input: StartPolicyGenerationCommandInput): import("@smithy/smithy-client").CommandImpl<StartPolicyGenerationCommandInput, StartPolicyGenerationCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: StartPolicyGenerationCommandInput): import("@smithy/smithy-client").CommandImpl<StartPolicyGenerationCommandInput, StartPolicyGenerationCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Initiates the AI-powered generation of Cedar policies from natural language descriptions within the AgentCore Policy system. This feature enables both technical and non-technical users to create policies by describing their authorization requirements in plain English, which is then automatically translated into formal Cedar policy statements. The generation process analyzes the natural language input along with the Gateway's tool context to produce validated policy options. Generated policy assets are automatically deleted after 7 days, so you should review and create policies from the generated assets within this timeframe. Once created, policies are permanent and not subject to this expiration. Generated policies should be reviewed and tested in log-only mode before deploying to production. Use this when you want to describe policy intent naturally rather than learning Cedar syntax, though generated policies may require refinement for complex scenarios.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BedrockAgentCoreControlClient, StartPolicyGenerationCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
|
|
35
|
+
* // const { BedrockAgentCoreControlClient, StartPolicyGenerationCommand } = 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 = { // StartPolicyGenerationRequest
|
|
40
|
+
* policyEngineId: "STRING_VALUE", // required
|
|
41
|
+
* resource: { // Resource Union: only one key present
|
|
42
|
+
* arn: "STRING_VALUE",
|
|
43
|
+
* },
|
|
44
|
+
* content: { // Content Union: only one key present
|
|
45
|
+
* rawText: "STRING_VALUE",
|
|
46
|
+
* },
|
|
47
|
+
* name: "STRING_VALUE", // required
|
|
48
|
+
* clientToken: "STRING_VALUE",
|
|
49
|
+
* };
|
|
50
|
+
* const command = new StartPolicyGenerationCommand(input);
|
|
51
|
+
* const response = await client.send(command);
|
|
52
|
+
* // { // StartPolicyGenerationResponse
|
|
53
|
+
* // policyEngineId: "STRING_VALUE", // required
|
|
54
|
+
* // policyGenerationId: "STRING_VALUE", // required
|
|
55
|
+
* // name: "STRING_VALUE", // required
|
|
56
|
+
* // policyGenerationArn: "STRING_VALUE", // required
|
|
57
|
+
* // resource: { // Resource Union: only one key present
|
|
58
|
+
* // arn: "STRING_VALUE",
|
|
59
|
+
* // },
|
|
60
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
61
|
+
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
62
|
+
* // status: "GENERATING" || "GENERATED" || "GENERATE_FAILED" || "DELETE_FAILED", // required
|
|
63
|
+
* // statusReasons: [ // PolicyStatusReasons // required
|
|
64
|
+
* // "STRING_VALUE",
|
|
65
|
+
* // ],
|
|
66
|
+
* // findings: "STRING_VALUE",
|
|
67
|
+
* // };
|
|
68
|
+
*
|
|
69
|
+
* ```
|
|
70
|
+
*
|
|
71
|
+
* @param StartPolicyGenerationCommandInput - {@link StartPolicyGenerationCommandInput}
|
|
72
|
+
* @returns {@link StartPolicyGenerationCommandOutput}
|
|
73
|
+
* @see {@link StartPolicyGenerationCommandInput} for command's `input` shape.
|
|
74
|
+
* @see {@link StartPolicyGenerationCommandOutput} for command's `response` shape.
|
|
75
|
+
* @see {@link BedrockAgentCoreControlClientResolvedConfig | config} for BedrockAgentCoreControlClient's `config` shape.
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
78
|
+
* <p>This exception is thrown when a request is denied per access permissions</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ConflictException} (client fault)
|
|
81
|
+
* <p>This exception is thrown when there is a conflict performing an operation</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link InternalServerException} (server fault)
|
|
84
|
+
* <p>This exception is thrown if there was an unexpected error during processing of request</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
87
|
+
* <p>This exception is thrown when a resource referenced by the operation does not exist</p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
90
|
+
* <p>This exception is thrown when a request is made beyond the service quota</p>
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
93
|
+
* <p>This exception is thrown when the number of requests exceeds the limit</p>
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link ValidationException} (client fault)
|
|
96
|
+
* <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
97
|
+
*
|
|
98
|
+
* @throws {@link BedrockAgentCoreControlServiceException}
|
|
99
|
+
* <p>Base exception class for all service exceptions from BedrockAgentCoreControl service.</p>
|
|
100
|
+
*
|
|
101
|
+
*
|
|
102
|
+
* @public
|
|
103
|
+
*/
|
|
104
|
+
export declare class StartPolicyGenerationCommand extends StartPolicyGenerationCommand_base {
|
|
105
|
+
/** @internal type navigation helper, not in runtime. */
|
|
106
|
+
protected static __types: {
|
|
107
|
+
api: {
|
|
108
|
+
input: StartPolicyGenerationRequest;
|
|
109
|
+
output: StartPolicyGenerationResponse;
|
|
110
|
+
};
|
|
111
|
+
sdk: {
|
|
112
|
+
input: StartPolicyGenerationCommandInput;
|
|
113
|
+
output: StartPolicyGenerationCommandOutput;
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
|
|
4
|
-
import { SynchronizeGatewayTargetsRequest
|
|
4
|
+
import { SynchronizeGatewayTargetsRequest } from "../models/models_0";
|
|
5
|
+
import { SynchronizeGatewayTargetsResponse } from "../models/models_1";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
7
8
|
*/
|
|
@@ -113,6 +114,28 @@ declare const SynchronizeGatewayTargetsCommand_base: {
|
|
|
113
114
|
* // mcpServer: { // McpServerTargetConfiguration
|
|
114
115
|
* // endpoint: "STRING_VALUE", // required
|
|
115
116
|
* // },
|
|
117
|
+
* // apiGateway: { // ApiGatewayTargetConfiguration
|
|
118
|
+
* // restApiId: "STRING_VALUE", // required
|
|
119
|
+
* // stage: "STRING_VALUE", // required
|
|
120
|
+
* // apiGatewayToolConfiguration: { // ApiGatewayToolConfiguration
|
|
121
|
+
* // toolOverrides: [ // ApiGatewayToolOverrides
|
|
122
|
+
* // { // ApiGatewayToolOverride
|
|
123
|
+
* // name: "STRING_VALUE", // required
|
|
124
|
+
* // description: "STRING_VALUE",
|
|
125
|
+
* // path: "STRING_VALUE", // required
|
|
126
|
+
* // method: "GET" || "DELETE" || "HEAD" || "OPTIONS" || "PATCH" || "PUT" || "POST", // required
|
|
127
|
+
* // },
|
|
128
|
+
* // ],
|
|
129
|
+
* // toolFilters: [ // ApiGatewayToolFilters // required
|
|
130
|
+
* // { // ApiGatewayToolFilter
|
|
131
|
+
* // filterPath: "STRING_VALUE", // required
|
|
132
|
+
* // methods: [ // RestApiMethods // required
|
|
133
|
+
* // "GET" || "DELETE" || "HEAD" || "OPTIONS" || "PATCH" || "PUT" || "POST",
|
|
134
|
+
* // ],
|
|
135
|
+
* // },
|
|
136
|
+
* // ],
|
|
137
|
+
* // },
|
|
138
|
+
* // },
|
|
116
139
|
* // },
|
|
117
140
|
* // },
|
|
118
141
|
* // credentialProviderConfigurations: [ // CredentialProviderConfigurations // required
|
|
@@ -127,6 +150,8 @@ declare const SynchronizeGatewayTargetsCommand_base: {
|
|
|
127
150
|
* // customParameters: { // OAuthCustomParameters
|
|
128
151
|
* // "<keys>": "STRING_VALUE",
|
|
129
152
|
* // },
|
|
153
|
+
* // grantType: "CLIENT_CREDENTIALS" || "AUTHORIZATION_CODE",
|
|
154
|
+
* // defaultReturnUrl: "STRING_VALUE",
|
|
130
155
|
* // },
|
|
131
156
|
* // apiKeyCredentialProvider: { // GatewayApiKeyCredentialProvider
|
|
132
157
|
* // providerArn: "STRING_VALUE", // required
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
|
|
4
|
-
import { TagResourceRequest, TagResourceResponse } from "../models/
|
|
4
|
+
import { TagResourceRequest, TagResourceResponse } 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
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
|
|
4
|
-
import { UntagResourceRequest, UntagResourceResponse } from "../models/
|
|
4
|
+
import { UntagResourceRequest, UntagResourceResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -78,6 +78,24 @@ declare const UpdateAgentRuntimeCommand_base: {
|
|
|
78
78
|
* allowedClients: [ // AllowedClientsList
|
|
79
79
|
* "STRING_VALUE",
|
|
80
80
|
* ],
|
|
81
|
+
* allowedScopes: [ // AllowedScopesType
|
|
82
|
+
* "STRING_VALUE",
|
|
83
|
+
* ],
|
|
84
|
+
* customClaims: [ // CustomClaimValidationsType
|
|
85
|
+
* { // CustomClaimValidationType
|
|
86
|
+
* inboundTokenClaimName: "STRING_VALUE", // required
|
|
87
|
+
* inboundTokenClaimValueType: "STRING" || "STRING_ARRAY", // required
|
|
88
|
+
* authorizingClaimMatchValue: { // AuthorizingClaimMatchValueType
|
|
89
|
+
* claimMatchValue: { // ClaimMatchValueType Union: only one key present
|
|
90
|
+
* matchValueString: "STRING_VALUE",
|
|
91
|
+
* matchValueStringList: [ // MatchValueStringList
|
|
92
|
+
* "STRING_VALUE",
|
|
93
|
+
* ],
|
|
94
|
+
* },
|
|
95
|
+
* claimMatchOperator: "EQUALS" || "CONTAINS" || "CONTAINS_ANY", // required
|
|
96
|
+
* },
|
|
97
|
+
* },
|
|
98
|
+
* ],
|
|
81
99
|
* },
|
|
82
100
|
* },
|
|
83
101
|
* requestHeaderConfiguration: { // RequestHeaderConfiguration Union: only one key present
|
|
@@ -0,0 +1,135 @@
|
|
|
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 { UpdateEvaluatorRequest, UpdateEvaluatorResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UpdateEvaluatorCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateEvaluatorCommandInput extends UpdateEvaluatorRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateEvaluatorCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateEvaluatorCommandOutput extends UpdateEvaluatorResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdateEvaluatorCommand_base: {
|
|
25
|
+
new (input: UpdateEvaluatorCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateEvaluatorCommandInput, UpdateEvaluatorCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdateEvaluatorCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateEvaluatorCommandInput, UpdateEvaluatorCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p> Updates a custom evaluator's configuration, description, or evaluation level. Built-in evaluators cannot be updated. The evaluator must not be locked for modification. </p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BedrockAgentCoreControlClient, UpdateEvaluatorCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
|
|
35
|
+
* // const { BedrockAgentCoreControlClient, UpdateEvaluatorCommand } = 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 = { // UpdateEvaluatorRequest
|
|
40
|
+
* clientToken: "STRING_VALUE",
|
|
41
|
+
* evaluatorId: "STRING_VALUE", // required
|
|
42
|
+
* description: "STRING_VALUE",
|
|
43
|
+
* evaluatorConfig: { // EvaluatorConfig Union: only one key present
|
|
44
|
+
* llmAsAJudge: { // LlmAsAJudgeEvaluatorConfig
|
|
45
|
+
* instructions: "STRING_VALUE", // required
|
|
46
|
+
* ratingScale: { // RatingScale Union: only one key present
|
|
47
|
+
* numerical: [ // NumericalScaleDefinitions
|
|
48
|
+
* { // NumericalScaleDefinition
|
|
49
|
+
* definition: "STRING_VALUE", // required
|
|
50
|
+
* value: Number("double"), // required
|
|
51
|
+
* label: "STRING_VALUE", // required
|
|
52
|
+
* },
|
|
53
|
+
* ],
|
|
54
|
+
* categorical: [ // CategoricalScaleDefinitions
|
|
55
|
+
* { // CategoricalScaleDefinition
|
|
56
|
+
* definition: "STRING_VALUE", // required
|
|
57
|
+
* label: "STRING_VALUE", // required
|
|
58
|
+
* },
|
|
59
|
+
* ],
|
|
60
|
+
* },
|
|
61
|
+
* modelConfig: { // EvaluatorModelConfig Union: only one key present
|
|
62
|
+
* bedrockEvaluatorModelConfig: { // BedrockEvaluatorModelConfig
|
|
63
|
+
* modelId: "STRING_VALUE", // required
|
|
64
|
+
* inferenceConfig: { // InferenceConfiguration
|
|
65
|
+
* maxTokens: Number("int"),
|
|
66
|
+
* temperature: Number("float"),
|
|
67
|
+
* topP: Number("float"),
|
|
68
|
+
* stopSequences: [ // NonEmptyStringList
|
|
69
|
+
* "STRING_VALUE",
|
|
70
|
+
* ],
|
|
71
|
+
* },
|
|
72
|
+
* additionalModelRequestFields: "DOCUMENT_VALUE",
|
|
73
|
+
* },
|
|
74
|
+
* },
|
|
75
|
+
* },
|
|
76
|
+
* },
|
|
77
|
+
* level: "TOOL_CALL" || "TRACE" || "SESSION",
|
|
78
|
+
* };
|
|
79
|
+
* const command = new UpdateEvaluatorCommand(input);
|
|
80
|
+
* const response = await client.send(command);
|
|
81
|
+
* // { // UpdateEvaluatorResponse
|
|
82
|
+
* // evaluatorArn: "STRING_VALUE", // required
|
|
83
|
+
* // evaluatorId: "STRING_VALUE", // required
|
|
84
|
+
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
85
|
+
* // status: "ACTIVE" || "CREATING" || "CREATE_FAILED" || "UPDATING" || "UPDATE_FAILED" || "DELETING", // required
|
|
86
|
+
* // };
|
|
87
|
+
*
|
|
88
|
+
* ```
|
|
89
|
+
*
|
|
90
|
+
* @param UpdateEvaluatorCommandInput - {@link UpdateEvaluatorCommandInput}
|
|
91
|
+
* @returns {@link UpdateEvaluatorCommandOutput}
|
|
92
|
+
* @see {@link UpdateEvaluatorCommandInput} for command's `input` shape.
|
|
93
|
+
* @see {@link UpdateEvaluatorCommandOutput} for command's `response` shape.
|
|
94
|
+
* @see {@link BedrockAgentCoreControlClientResolvedConfig | config} for BedrockAgentCoreControlClient's `config` shape.
|
|
95
|
+
*
|
|
96
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
97
|
+
* <p>This exception is thrown when a request is denied per access permissions</p>
|
|
98
|
+
*
|
|
99
|
+
* @throws {@link ConflictException} (client fault)
|
|
100
|
+
* <p>This exception is thrown when there is a conflict performing an operation</p>
|
|
101
|
+
*
|
|
102
|
+
* @throws {@link InternalServerException} (server fault)
|
|
103
|
+
* <p>This exception is thrown if there was an unexpected error during processing of request</p>
|
|
104
|
+
*
|
|
105
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
106
|
+
* <p>This exception is thrown when a resource referenced by the operation does not exist</p>
|
|
107
|
+
*
|
|
108
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
109
|
+
* <p>This exception is thrown when a request is made beyond the service quota</p>
|
|
110
|
+
*
|
|
111
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
112
|
+
* <p>This exception is thrown when the number of requests exceeds the limit</p>
|
|
113
|
+
*
|
|
114
|
+
* @throws {@link ValidationException} (client fault)
|
|
115
|
+
* <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
116
|
+
*
|
|
117
|
+
* @throws {@link BedrockAgentCoreControlServiceException}
|
|
118
|
+
* <p>Base exception class for all service exceptions from BedrockAgentCoreControl service.</p>
|
|
119
|
+
*
|
|
120
|
+
*
|
|
121
|
+
* @public
|
|
122
|
+
*/
|
|
123
|
+
export declare class UpdateEvaluatorCommand extends UpdateEvaluatorCommand_base {
|
|
124
|
+
/** @internal type navigation helper, not in runtime. */
|
|
125
|
+
protected static __types: {
|
|
126
|
+
api: {
|
|
127
|
+
input: UpdateEvaluatorRequest;
|
|
128
|
+
output: UpdateEvaluatorResponse;
|
|
129
|
+
};
|
|
130
|
+
sdk: {
|
|
131
|
+
input: UpdateEvaluatorCommandInput;
|
|
132
|
+
output: UpdateEvaluatorCommandOutput;
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
}
|
|
@@ -61,6 +61,24 @@ declare const UpdateGatewayCommand_base: {
|
|
|
61
61
|
* allowedClients: [ // AllowedClientsList
|
|
62
62
|
* "STRING_VALUE",
|
|
63
63
|
* ],
|
|
64
|
+
* allowedScopes: [ // AllowedScopesType
|
|
65
|
+
* "STRING_VALUE",
|
|
66
|
+
* ],
|
|
67
|
+
* customClaims: [ // CustomClaimValidationsType
|
|
68
|
+
* { // CustomClaimValidationType
|
|
69
|
+
* inboundTokenClaimName: "STRING_VALUE", // required
|
|
70
|
+
* inboundTokenClaimValueType: "STRING" || "STRING_ARRAY", // required
|
|
71
|
+
* authorizingClaimMatchValue: { // AuthorizingClaimMatchValueType
|
|
72
|
+
* claimMatchValue: { // ClaimMatchValueType Union: only one key present
|
|
73
|
+
* matchValueString: "STRING_VALUE",
|
|
74
|
+
* matchValueStringList: [ // MatchValueStringList
|
|
75
|
+
* "STRING_VALUE",
|
|
76
|
+
* ],
|
|
77
|
+
* },
|
|
78
|
+
* claimMatchOperator: "EQUALS" || "CONTAINS" || "CONTAINS_ANY", // required
|
|
79
|
+
* },
|
|
80
|
+
* },
|
|
81
|
+
* ],
|
|
64
82
|
* },
|
|
65
83
|
* },
|
|
66
84
|
* kmsKeyArn: "STRING_VALUE",
|
|
@@ -79,6 +97,10 @@ declare const UpdateGatewayCommand_base: {
|
|
|
79
97
|
* },
|
|
80
98
|
* },
|
|
81
99
|
* ],
|
|
100
|
+
* policyEngineConfiguration: { // GatewayPolicyEngineConfiguration
|
|
101
|
+
* arn: "STRING_VALUE", // required
|
|
102
|
+
* mode: "LOG_ONLY" || "ENFORCE", // required
|
|
103
|
+
* },
|
|
82
104
|
* exceptionLevel: "DEBUG",
|
|
83
105
|
* };
|
|
84
106
|
* const command = new UpdateGatewayCommand(input);
|
|
@@ -116,6 +138,24 @@ declare const UpdateGatewayCommand_base: {
|
|
|
116
138
|
* // allowedClients: [ // AllowedClientsList
|
|
117
139
|
* // "STRING_VALUE",
|
|
118
140
|
* // ],
|
|
141
|
+
* // allowedScopes: [ // AllowedScopesType
|
|
142
|
+
* // "STRING_VALUE",
|
|
143
|
+
* // ],
|
|
144
|
+
* // customClaims: [ // CustomClaimValidationsType
|
|
145
|
+
* // { // CustomClaimValidationType
|
|
146
|
+
* // inboundTokenClaimName: "STRING_VALUE", // required
|
|
147
|
+
* // inboundTokenClaimValueType: "STRING" || "STRING_ARRAY", // required
|
|
148
|
+
* // authorizingClaimMatchValue: { // AuthorizingClaimMatchValueType
|
|
149
|
+
* // claimMatchValue: { // ClaimMatchValueType Union: only one key present
|
|
150
|
+
* // matchValueString: "STRING_VALUE",
|
|
151
|
+
* // matchValueStringList: [ // MatchValueStringList
|
|
152
|
+
* // "STRING_VALUE",
|
|
153
|
+
* // ],
|
|
154
|
+
* // },
|
|
155
|
+
* // claimMatchOperator: "EQUALS" || "CONTAINS" || "CONTAINS_ANY", // required
|
|
156
|
+
* // },
|
|
157
|
+
* // },
|
|
158
|
+
* // ],
|
|
119
159
|
* // },
|
|
120
160
|
* // },
|
|
121
161
|
* // kmsKeyArn: "STRING_VALUE",
|
|
@@ -134,6 +174,10 @@ declare const UpdateGatewayCommand_base: {
|
|
|
134
174
|
* // },
|
|
135
175
|
* // },
|
|
136
176
|
* // ],
|
|
177
|
+
* // policyEngineConfiguration: { // GatewayPolicyEngineConfiguration
|
|
178
|
+
* // arn: "STRING_VALUE", // required
|
|
179
|
+
* // mode: "LOG_ONLY" || "ENFORCE", // required
|
|
180
|
+
* // },
|
|
137
181
|
* // workloadIdentityDetails: { // WorkloadIdentityDetails
|
|
138
182
|
* // workloadIdentityArn: "STRING_VALUE", // required
|
|
139
183
|
* // },
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
|
|
4
|
-
import { UpdateGatewayTargetRequest, UpdateGatewayTargetResponse } from "../models/
|
|
4
|
+
import { UpdateGatewayTargetRequest, UpdateGatewayTargetResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -97,6 +97,28 @@ declare const UpdateGatewayTargetCommand_base: {
|
|
|
97
97
|
* mcpServer: { // McpServerTargetConfiguration
|
|
98
98
|
* endpoint: "STRING_VALUE", // required
|
|
99
99
|
* },
|
|
100
|
+
* apiGateway: { // ApiGatewayTargetConfiguration
|
|
101
|
+
* restApiId: "STRING_VALUE", // required
|
|
102
|
+
* stage: "STRING_VALUE", // required
|
|
103
|
+
* apiGatewayToolConfiguration: { // ApiGatewayToolConfiguration
|
|
104
|
+
* toolOverrides: [ // ApiGatewayToolOverrides
|
|
105
|
+
* { // ApiGatewayToolOverride
|
|
106
|
+
* name: "STRING_VALUE", // required
|
|
107
|
+
* description: "STRING_VALUE",
|
|
108
|
+
* path: "STRING_VALUE", // required
|
|
109
|
+
* method: "GET" || "DELETE" || "HEAD" || "OPTIONS" || "PATCH" || "PUT" || "POST", // required
|
|
110
|
+
* },
|
|
111
|
+
* ],
|
|
112
|
+
* toolFilters: [ // ApiGatewayToolFilters // required
|
|
113
|
+
* { // ApiGatewayToolFilter
|
|
114
|
+
* filterPath: "STRING_VALUE", // required
|
|
115
|
+
* methods: [ // RestApiMethods // required
|
|
116
|
+
* "GET" || "DELETE" || "HEAD" || "OPTIONS" || "PATCH" || "PUT" || "POST",
|
|
117
|
+
* ],
|
|
118
|
+
* },
|
|
119
|
+
* ],
|
|
120
|
+
* },
|
|
121
|
+
* },
|
|
100
122
|
* },
|
|
101
123
|
* },
|
|
102
124
|
* credentialProviderConfigurations: [ // CredentialProviderConfigurations
|
|
@@ -111,6 +133,8 @@ declare const UpdateGatewayTargetCommand_base: {
|
|
|
111
133
|
* customParameters: { // OAuthCustomParameters
|
|
112
134
|
* "<keys>": "STRING_VALUE",
|
|
113
135
|
* },
|
|
136
|
+
* grantType: "CLIENT_CREDENTIALS" || "AUTHORIZATION_CODE",
|
|
137
|
+
* defaultReturnUrl: "STRING_VALUE",
|
|
114
138
|
* },
|
|
115
139
|
* apiKeyCredentialProvider: { // GatewayApiKeyCredentialProvider
|
|
116
140
|
* providerArn: "STRING_VALUE", // required
|
|
@@ -191,6 +215,28 @@ declare const UpdateGatewayTargetCommand_base: {
|
|
|
191
215
|
* // mcpServer: { // McpServerTargetConfiguration
|
|
192
216
|
* // endpoint: "STRING_VALUE", // required
|
|
193
217
|
* // },
|
|
218
|
+
* // apiGateway: { // ApiGatewayTargetConfiguration
|
|
219
|
+
* // restApiId: "STRING_VALUE", // required
|
|
220
|
+
* // stage: "STRING_VALUE", // required
|
|
221
|
+
* // apiGatewayToolConfiguration: { // ApiGatewayToolConfiguration
|
|
222
|
+
* // toolOverrides: [ // ApiGatewayToolOverrides
|
|
223
|
+
* // { // ApiGatewayToolOverride
|
|
224
|
+
* // name: "STRING_VALUE", // required
|
|
225
|
+
* // description: "STRING_VALUE",
|
|
226
|
+
* // path: "STRING_VALUE", // required
|
|
227
|
+
* // method: "GET" || "DELETE" || "HEAD" || "OPTIONS" || "PATCH" || "PUT" || "POST", // required
|
|
228
|
+
* // },
|
|
229
|
+
* // ],
|
|
230
|
+
* // toolFilters: [ // ApiGatewayToolFilters // required
|
|
231
|
+
* // { // ApiGatewayToolFilter
|
|
232
|
+
* // filterPath: "STRING_VALUE", // required
|
|
233
|
+
* // methods: [ // RestApiMethods // required
|
|
234
|
+
* // "GET" || "DELETE" || "HEAD" || "OPTIONS" || "PATCH" || "PUT" || "POST",
|
|
235
|
+
* // ],
|
|
236
|
+
* // },
|
|
237
|
+
* // ],
|
|
238
|
+
* // },
|
|
239
|
+
* // },
|
|
194
240
|
* // },
|
|
195
241
|
* // },
|
|
196
242
|
* // credentialProviderConfigurations: [ // CredentialProviderConfigurations // required
|
|
@@ -205,6 +251,8 @@ declare const UpdateGatewayTargetCommand_base: {
|
|
|
205
251
|
* // customParameters: { // OAuthCustomParameters
|
|
206
252
|
* // "<keys>": "STRING_VALUE",
|
|
207
253
|
* // },
|
|
254
|
+
* // grantType: "CLIENT_CREDENTIALS" || "AUTHORIZATION_CODE",
|
|
255
|
+
* // defaultReturnUrl: "STRING_VALUE",
|
|
208
256
|
* // },
|
|
209
257
|
* // apiKeyCredentialProvider: { // GatewayApiKeyCredentialProvider
|
|
210
258
|
* // providerArn: "STRING_VALUE", // required
|
|
@@ -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",
|