@aws-sdk/client-bedrock-agentcore-control 3.1038.0 → 3.1040.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 +84 -0
- package/dist-cjs/index.js +239 -0
- package/dist-cjs/schemas/schemas_0.js +674 -138
- package/dist-es/BedrockAgentCoreControl.js +30 -0
- package/dist-es/commands/CreateConfigurationBundleCommand.js +16 -0
- package/dist-es/commands/CreateGatewayRuleCommand.js +16 -0
- package/dist-es/commands/DeleteConfigurationBundleCommand.js +16 -0
- package/dist-es/commands/DeleteGatewayRuleCommand.js +16 -0
- package/dist-es/commands/GetConfigurationBundleCommand.js +16 -0
- package/dist-es/commands/GetConfigurationBundleVersionCommand.js +16 -0
- package/dist-es/commands/GetGatewayRuleCommand.js +16 -0
- package/dist-es/commands/ListConfigurationBundleVersionsCommand.js +16 -0
- package/dist-es/commands/ListConfigurationBundlesCommand.js +16 -0
- package/dist-es/commands/ListGatewayRulesCommand.js +16 -0
- package/dist-es/commands/UpdateConfigurationBundleCommand.js +16 -0
- package/dist-es/commands/UpdateGatewayRuleCommand.js +16 -0
- package/dist-es/commands/index.js +12 -0
- package/dist-es/models/enums.js +50 -0
- package/dist-es/pagination/ListConfigurationBundleVersionsPaginator.js +4 -0
- package/dist-es/pagination/ListConfigurationBundlesPaginator.js +4 -0
- package/dist-es/pagination/ListGatewayRulesPaginator.js +4 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/schemas/schemas_0.js +660 -126
- package/dist-types/BedrockAgentCoreControl.d.ts +106 -0
- package/dist-types/BedrockAgentCoreControlClient.d.ts +14 -2
- package/dist-types/commands/CreateConfigurationBundleCommand.d.ts +111 -0
- package/dist-types/commands/CreateEvaluatorCommand.d.ts +1 -0
- package/dist-types/commands/CreateGatewayCommand.d.ts +4 -4
- package/dist-types/commands/CreateGatewayRuleCommand.d.ts +232 -0
- package/dist-types/commands/CreateGatewayTargetCommand.d.ts +19 -6
- package/dist-types/commands/CreateHarnessCommand.d.ts +2 -2
- package/dist-types/commands/CreateMemoryCommand.d.ts +233 -1
- package/dist-types/commands/CreateOauth2CredentialProviderCommand.d.ts +22 -2
- package/dist-types/commands/DeleteConfigurationBundleCommand.d.ts +93 -0
- package/dist-types/commands/DeleteGatewayRuleCommand.d.ts +94 -0
- package/dist-types/commands/DeleteHarnessCommand.d.ts +1 -1
- package/dist-types/commands/DeleteMemoryCommand.d.ts +1 -1
- package/dist-types/commands/GetConfigurationBundleCommand.d.ts +112 -0
- package/dist-types/commands/GetConfigurationBundleVersionCommand.d.ts +112 -0
- package/dist-types/commands/GetEvaluatorCommand.d.ts +2 -0
- package/dist-types/commands/GetGatewayCommand.d.ts +2 -2
- package/dist-types/commands/GetGatewayRuleCommand.d.ts +162 -0
- package/dist-types/commands/GetGatewayTargetCommand.d.ts +10 -3
- package/dist-types/commands/GetHarnessCommand.d.ts +1 -1
- package/dist-types/commands/GetMemoryCommand.d.ts +70 -1
- package/dist-types/commands/GetOauth2CredentialProviderCommand.d.ts +10 -0
- package/dist-types/commands/ListConfigurationBundleVersionsCommand.d.ts +115 -0
- package/dist-types/commands/ListConfigurationBundlesCommand.d.ts +95 -0
- package/dist-types/commands/ListEvaluatorsCommand.d.ts +1 -0
- package/dist-types/commands/ListGatewayRulesCommand.d.ts +168 -0
- package/dist-types/commands/ListGatewaysCommand.d.ts +2 -2
- package/dist-types/commands/ListMemoriesCommand.d.ts +1 -1
- package/dist-types/commands/SynchronizeGatewayTargetsCommand.d.ts +10 -3
- package/dist-types/commands/UpdateConfigurationBundleCommand.d.ts +112 -0
- package/dist-types/commands/UpdateEvaluatorCommand.d.ts +1 -0
- package/dist-types/commands/UpdateGatewayCommand.d.ts +4 -4
- package/dist-types/commands/UpdateGatewayRuleCommand.d.ts +230 -0
- package/dist-types/commands/UpdateGatewayTargetCommand.d.ts +19 -6
- package/dist-types/commands/UpdateHarnessCommand.d.ts +2 -2
- package/dist-types/commands/UpdateMemoryCommand.d.ts +236 -1
- package/dist-types/commands/UpdateOauth2CredentialProviderCommand.d.ts +22 -2
- package/dist-types/commands/index.d.ts +12 -0
- package/dist-types/models/enums.d.ts +130 -0
- package/dist-types/models/models_0.d.ts +2979 -3024
- package/dist-types/models/models_1.d.ts +1742 -4
- package/dist-types/pagination/ListConfigurationBundleVersionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListConfigurationBundlesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListGatewayRulesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/schemas/schemas_0.d.ts +72 -0
- package/dist-types/ts3.4/BedrockAgentCoreControl.d.ts +226 -0
- package/dist-types/ts3.4/BedrockAgentCoreControlClient.d.ts +72 -0
- package/dist-types/ts3.4/commands/CreateConfigurationBundleCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateGatewayRuleCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateMemoryCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteConfigurationBundleCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteGatewayRuleCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteMemoryCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetConfigurationBundleCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetConfigurationBundleVersionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetGatewayRuleCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetMemoryCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListConfigurationBundleVersionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListConfigurationBundlesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListGatewayRulesCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListMemoriesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateConfigurationBundleCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateGatewayRuleCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateMemoryCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +12 -0
- package/dist-types/ts3.4/models/enums.d.ts +67 -0
- package/dist-types/ts3.4/models/models_0.d.ts +495 -674
- package/dist-types/ts3.4/models/models_1.d.ts +718 -7
- package/dist-types/ts3.4/pagination/ListConfigurationBundleVersionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListConfigurationBundlesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListGatewayRulesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +72 -0
- package/package.json +7 -7
|
@@ -0,0 +1,232 @@
|
|
|
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 { CreateGatewayRuleRequest, CreateGatewayRuleResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateGatewayRuleCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateGatewayRuleCommandInput extends CreateGatewayRuleRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateGatewayRuleCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateGatewayRuleCommandOutput extends CreateGatewayRuleResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateGatewayRuleCommand_base: {
|
|
25
|
+
new (input: CreateGatewayRuleCommandInput): import("@smithy/smithy-client").CommandImpl<CreateGatewayRuleCommandInput, CreateGatewayRuleCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateGatewayRuleCommandInput): import("@smithy/smithy-client").CommandImpl<CreateGatewayRuleCommandInput, CreateGatewayRuleCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Creates a rule for a gateway. Rules define conditions and actions that control how requests are routed and processed through the gateway, including principal-based access control and path-based routing.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BedrockAgentCoreControlClient, CreateGatewayRuleCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
|
|
35
|
+
* // const { BedrockAgentCoreControlClient, CreateGatewayRuleCommand } = 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 = { // CreateGatewayRuleRequest
|
|
40
|
+
* gatewayIdentifier: "STRING_VALUE", // required
|
|
41
|
+
* clientToken: "STRING_VALUE",
|
|
42
|
+
* priority: Number("int"), // required
|
|
43
|
+
* conditions: [ // Conditions
|
|
44
|
+
* { // Condition Union: only one key present
|
|
45
|
+
* matchPrincipals: { // MatchPrincipals
|
|
46
|
+
* anyOf: [ // MatchPrincipalEntries // required
|
|
47
|
+
* { // MatchPrincipalEntry Union: only one key present
|
|
48
|
+
* iamPrincipal: { // IamPrincipal
|
|
49
|
+
* arn: "STRING_VALUE", // required
|
|
50
|
+
* operator: "StringEquals" || "StringLike",
|
|
51
|
+
* },
|
|
52
|
+
* },
|
|
53
|
+
* ],
|
|
54
|
+
* },
|
|
55
|
+
* matchPaths: { // MatchPaths
|
|
56
|
+
* anyOf: [ // MatchPathPatterns // required
|
|
57
|
+
* "STRING_VALUE",
|
|
58
|
+
* ],
|
|
59
|
+
* },
|
|
60
|
+
* },
|
|
61
|
+
* ],
|
|
62
|
+
* actions: [ // Actions // required
|
|
63
|
+
* { // Action Union: only one key present
|
|
64
|
+
* configurationBundle: { // ConfigurationBundleAction Union: only one key present
|
|
65
|
+
* staticOverride: { // StaticOverride
|
|
66
|
+
* bundleArn: "STRING_VALUE", // required
|
|
67
|
+
* bundleVersion: "STRING_VALUE", // required
|
|
68
|
+
* },
|
|
69
|
+
* weightedOverride: { // WeightedOverride
|
|
70
|
+
* trafficSplit: [ // TrafficSplitEntries // required
|
|
71
|
+
* { // TrafficSplitEntry
|
|
72
|
+
* name: "STRING_VALUE", // required
|
|
73
|
+
* weight: Number("int"), // required
|
|
74
|
+
* configurationBundle: { // ConfigurationBundleReference
|
|
75
|
+
* bundleArn: "STRING_VALUE", // required
|
|
76
|
+
* bundleVersion: "STRING_VALUE", // required
|
|
77
|
+
* },
|
|
78
|
+
* description: "STRING_VALUE",
|
|
79
|
+
* metadata: { // TrafficSplitMetadataMap
|
|
80
|
+
* "<keys>": "STRING_VALUE",
|
|
81
|
+
* },
|
|
82
|
+
* },
|
|
83
|
+
* ],
|
|
84
|
+
* },
|
|
85
|
+
* },
|
|
86
|
+
* routeToTarget: { // RouteToTargetAction Union: only one key present
|
|
87
|
+
* staticRoute: { // StaticRoute
|
|
88
|
+
* targetName: "STRING_VALUE", // required
|
|
89
|
+
* },
|
|
90
|
+
* weightedRoute: { // WeightedRoute
|
|
91
|
+
* trafficSplit: [ // TargetTrafficSplitEntries // required
|
|
92
|
+
* { // TargetTrafficSplitEntry
|
|
93
|
+
* name: "STRING_VALUE", // required
|
|
94
|
+
* weight: Number("int"), // required
|
|
95
|
+
* targetName: "STRING_VALUE", // required
|
|
96
|
+
* description: "STRING_VALUE",
|
|
97
|
+
* metadata: {
|
|
98
|
+
* "<keys>": "STRING_VALUE",
|
|
99
|
+
* },
|
|
100
|
+
* },
|
|
101
|
+
* ],
|
|
102
|
+
* },
|
|
103
|
+
* },
|
|
104
|
+
* },
|
|
105
|
+
* ],
|
|
106
|
+
* description: "STRING_VALUE",
|
|
107
|
+
* };
|
|
108
|
+
* const command = new CreateGatewayRuleCommand(input);
|
|
109
|
+
* const response = await client.send(command);
|
|
110
|
+
* // { // CreateGatewayRuleResponse
|
|
111
|
+
* // ruleId: "STRING_VALUE", // required
|
|
112
|
+
* // gatewayArn: "STRING_VALUE", // required
|
|
113
|
+
* // priority: Number("int"), // required
|
|
114
|
+
* // conditions: [ // Conditions
|
|
115
|
+
* // { // Condition Union: only one key present
|
|
116
|
+
* // matchPrincipals: { // MatchPrincipals
|
|
117
|
+
* // anyOf: [ // MatchPrincipalEntries // required
|
|
118
|
+
* // { // MatchPrincipalEntry Union: only one key present
|
|
119
|
+
* // iamPrincipal: { // IamPrincipal
|
|
120
|
+
* // arn: "STRING_VALUE", // required
|
|
121
|
+
* // operator: "StringEquals" || "StringLike",
|
|
122
|
+
* // },
|
|
123
|
+
* // },
|
|
124
|
+
* // ],
|
|
125
|
+
* // },
|
|
126
|
+
* // matchPaths: { // MatchPaths
|
|
127
|
+
* // anyOf: [ // MatchPathPatterns // required
|
|
128
|
+
* // "STRING_VALUE",
|
|
129
|
+
* // ],
|
|
130
|
+
* // },
|
|
131
|
+
* // },
|
|
132
|
+
* // ],
|
|
133
|
+
* // actions: [ // Actions // required
|
|
134
|
+
* // { // Action Union: only one key present
|
|
135
|
+
* // configurationBundle: { // ConfigurationBundleAction Union: only one key present
|
|
136
|
+
* // staticOverride: { // StaticOverride
|
|
137
|
+
* // bundleArn: "STRING_VALUE", // required
|
|
138
|
+
* // bundleVersion: "STRING_VALUE", // required
|
|
139
|
+
* // },
|
|
140
|
+
* // weightedOverride: { // WeightedOverride
|
|
141
|
+
* // trafficSplit: [ // TrafficSplitEntries // required
|
|
142
|
+
* // { // TrafficSplitEntry
|
|
143
|
+
* // name: "STRING_VALUE", // required
|
|
144
|
+
* // weight: Number("int"), // required
|
|
145
|
+
* // configurationBundle: { // ConfigurationBundleReference
|
|
146
|
+
* // bundleArn: "STRING_VALUE", // required
|
|
147
|
+
* // bundleVersion: "STRING_VALUE", // required
|
|
148
|
+
* // },
|
|
149
|
+
* // description: "STRING_VALUE",
|
|
150
|
+
* // metadata: { // TrafficSplitMetadataMap
|
|
151
|
+
* // "<keys>": "STRING_VALUE",
|
|
152
|
+
* // },
|
|
153
|
+
* // },
|
|
154
|
+
* // ],
|
|
155
|
+
* // },
|
|
156
|
+
* // },
|
|
157
|
+
* // routeToTarget: { // RouteToTargetAction Union: only one key present
|
|
158
|
+
* // staticRoute: { // StaticRoute
|
|
159
|
+
* // targetName: "STRING_VALUE", // required
|
|
160
|
+
* // },
|
|
161
|
+
* // weightedRoute: { // WeightedRoute
|
|
162
|
+
* // trafficSplit: [ // TargetTrafficSplitEntries // required
|
|
163
|
+
* // { // TargetTrafficSplitEntry
|
|
164
|
+
* // name: "STRING_VALUE", // required
|
|
165
|
+
* // weight: Number("int"), // required
|
|
166
|
+
* // targetName: "STRING_VALUE", // required
|
|
167
|
+
* // description: "STRING_VALUE",
|
|
168
|
+
* // metadata: {
|
|
169
|
+
* // "<keys>": "STRING_VALUE",
|
|
170
|
+
* // },
|
|
171
|
+
* // },
|
|
172
|
+
* // ],
|
|
173
|
+
* // },
|
|
174
|
+
* // },
|
|
175
|
+
* // },
|
|
176
|
+
* // ],
|
|
177
|
+
* // description: "STRING_VALUE",
|
|
178
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
179
|
+
* // status: "CREATING" || "ACTIVE" || "UPDATING" || "DELETING", // required
|
|
180
|
+
* // system: { // SystemManagedBlock
|
|
181
|
+
* // managedBy: "STRING_VALUE", // required
|
|
182
|
+
* // },
|
|
183
|
+
* // };
|
|
184
|
+
*
|
|
185
|
+
* ```
|
|
186
|
+
*
|
|
187
|
+
* @param CreateGatewayRuleCommandInput - {@link CreateGatewayRuleCommandInput}
|
|
188
|
+
* @returns {@link CreateGatewayRuleCommandOutput}
|
|
189
|
+
* @see {@link CreateGatewayRuleCommandInput} for command's `input` shape.
|
|
190
|
+
* @see {@link CreateGatewayRuleCommandOutput} for command's `response` shape.
|
|
191
|
+
* @see {@link BedrockAgentCoreControlClientResolvedConfig | config} for BedrockAgentCoreControlClient's `config` shape.
|
|
192
|
+
*
|
|
193
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
194
|
+
* <p>This exception is thrown when a request is denied per access permissions</p>
|
|
195
|
+
*
|
|
196
|
+
* @throws {@link ConflictException} (client fault)
|
|
197
|
+
* <p>This exception is thrown when there is a conflict performing an operation</p>
|
|
198
|
+
*
|
|
199
|
+
* @throws {@link InternalServerException} (server fault)
|
|
200
|
+
* <p>This exception is thrown if there was an unexpected error during processing of request</p>
|
|
201
|
+
*
|
|
202
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
203
|
+
* <p>This exception is thrown when a resource referenced by the operation does not exist</p>
|
|
204
|
+
*
|
|
205
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
206
|
+
* <p>This exception is thrown when a request is made beyond the service quota</p>
|
|
207
|
+
*
|
|
208
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
209
|
+
* <p>This exception is thrown when the number of requests exceeds the limit</p>
|
|
210
|
+
*
|
|
211
|
+
* @throws {@link ValidationException} (client fault)
|
|
212
|
+
* <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
213
|
+
*
|
|
214
|
+
* @throws {@link BedrockAgentCoreControlServiceException}
|
|
215
|
+
* <p>Base exception class for all service exceptions from BedrockAgentCoreControl service.</p>
|
|
216
|
+
*
|
|
217
|
+
*
|
|
218
|
+
* @public
|
|
219
|
+
*/
|
|
220
|
+
export declare class CreateGatewayRuleCommand extends CreateGatewayRuleCommand_base {
|
|
221
|
+
/** @internal type navigation helper, not in runtime. */
|
|
222
|
+
protected static __types: {
|
|
223
|
+
api: {
|
|
224
|
+
input: CreateGatewayRuleRequest;
|
|
225
|
+
output: CreateGatewayRuleResponse;
|
|
226
|
+
};
|
|
227
|
+
sdk: {
|
|
228
|
+
input: CreateGatewayRuleCommandInput;
|
|
229
|
+
output: CreateGatewayRuleCommandOutput;
|
|
230
|
+
};
|
|
231
|
+
};
|
|
232
|
+
}
|
|
@@ -103,8 +103,8 @@ declare const CreateGatewayTargetCommand_base: {
|
|
|
103
103
|
* },
|
|
104
104
|
* inlinePayload: "STRING_VALUE",
|
|
105
105
|
* },
|
|
106
|
-
* resourcePriority: Number("int"),
|
|
107
106
|
* listingMode: "DEFAULT" || "DYNAMIC",
|
|
107
|
+
* resourcePriority: Number("int"),
|
|
108
108
|
* },
|
|
109
109
|
* apiGateway: { // ApiGatewayTargetConfiguration
|
|
110
110
|
* restApiId: "STRING_VALUE", // required
|
|
@@ -129,10 +129,16 @@ declare const CreateGatewayTargetCommand_base: {
|
|
|
129
129
|
* },
|
|
130
130
|
* },
|
|
131
131
|
* },
|
|
132
|
+
* http: { // HttpTargetConfiguration Union: only one key present
|
|
133
|
+
* agentcoreRuntime: { // RuntimeTargetConfiguration
|
|
134
|
+
* arn: "STRING_VALUE", // required
|
|
135
|
+
* qualifier: "STRING_VALUE",
|
|
136
|
+
* },
|
|
137
|
+
* },
|
|
132
138
|
* },
|
|
133
139
|
* credentialProviderConfigurations: [ // CredentialProviderConfigurations
|
|
134
140
|
* { // CredentialProviderConfiguration
|
|
135
|
-
* credentialProviderType: "GATEWAY_IAM_ROLE" || "OAUTH" || "API_KEY", // required
|
|
141
|
+
* credentialProviderType: "GATEWAY_IAM_ROLE" || "OAUTH" || "API_KEY" || "CALLER_IAM_CREDENTIALS" || "JWT_PASSTHROUGH", // required
|
|
136
142
|
* credentialProvider: { // CredentialProvider Union: only one key present
|
|
137
143
|
* oauthCredentialProvider: { // OAuthCredentialProvider
|
|
138
144
|
* providerArn: "STRING_VALUE", // required
|
|
@@ -142,7 +148,7 @@ declare const CreateGatewayTargetCommand_base: {
|
|
|
142
148
|
* customParameters: { // OAuthCustomParameters
|
|
143
149
|
* "<keys>": "STRING_VALUE",
|
|
144
150
|
* },
|
|
145
|
-
* grantType: "CLIENT_CREDENTIALS" || "AUTHORIZATION_CODE",
|
|
151
|
+
* grantType: "CLIENT_CREDENTIALS" || "AUTHORIZATION_CODE" || "TOKEN_EXCHANGE",
|
|
146
152
|
* defaultReturnUrl: "STRING_VALUE",
|
|
147
153
|
* },
|
|
148
154
|
* apiKeyCredentialProvider: { // GatewayApiKeyCredentialProvider
|
|
@@ -264,8 +270,8 @@ declare const CreateGatewayTargetCommand_base: {
|
|
|
264
270
|
* // },
|
|
265
271
|
* // inlinePayload: "STRING_VALUE",
|
|
266
272
|
* // },
|
|
267
|
-
* // resourcePriority: Number("int"),
|
|
268
273
|
* // listingMode: "DEFAULT" || "DYNAMIC",
|
|
274
|
+
* // resourcePriority: Number("int"),
|
|
269
275
|
* // },
|
|
270
276
|
* // apiGateway: { // ApiGatewayTargetConfiguration
|
|
271
277
|
* // restApiId: "STRING_VALUE", // required
|
|
@@ -290,10 +296,16 @@ declare const CreateGatewayTargetCommand_base: {
|
|
|
290
296
|
* // },
|
|
291
297
|
* // },
|
|
292
298
|
* // },
|
|
299
|
+
* // http: { // HttpTargetConfiguration Union: only one key present
|
|
300
|
+
* // agentcoreRuntime: { // RuntimeTargetConfiguration
|
|
301
|
+
* // arn: "STRING_VALUE", // required
|
|
302
|
+
* // qualifier: "STRING_VALUE",
|
|
303
|
+
* // },
|
|
304
|
+
* // },
|
|
293
305
|
* // },
|
|
294
306
|
* // credentialProviderConfigurations: [ // CredentialProviderConfigurations // required
|
|
295
307
|
* // { // CredentialProviderConfiguration
|
|
296
|
-
* // credentialProviderType: "GATEWAY_IAM_ROLE" || "OAUTH" || "API_KEY", // required
|
|
308
|
+
* // credentialProviderType: "GATEWAY_IAM_ROLE" || "OAUTH" || "API_KEY" || "CALLER_IAM_CREDENTIALS" || "JWT_PASSTHROUGH", // required
|
|
297
309
|
* // credentialProvider: { // CredentialProvider Union: only one key present
|
|
298
310
|
* // oauthCredentialProvider: { // OAuthCredentialProvider
|
|
299
311
|
* // providerArn: "STRING_VALUE", // required
|
|
@@ -303,7 +315,7 @@ declare const CreateGatewayTargetCommand_base: {
|
|
|
303
315
|
* // customParameters: { // OAuthCustomParameters
|
|
304
316
|
* // "<keys>": "STRING_VALUE",
|
|
305
317
|
* // },
|
|
306
|
-
* // grantType: "CLIENT_CREDENTIALS" || "AUTHORIZATION_CODE",
|
|
318
|
+
* // grantType: "CLIENT_CREDENTIALS" || "AUTHORIZATION_CODE" || "TOKEN_EXCHANGE",
|
|
307
319
|
* // defaultReturnUrl: "STRING_VALUE",
|
|
308
320
|
* // },
|
|
309
321
|
* // apiKeyCredentialProvider: { // GatewayApiKeyCredentialProvider
|
|
@@ -363,6 +375,7 @@ declare const CreateGatewayTargetCommand_base: {
|
|
|
363
375
|
* // userId: "STRING_VALUE",
|
|
364
376
|
* // },
|
|
365
377
|
* // },
|
|
378
|
+
* // protocolType: "MCP" || "HTTP",
|
|
366
379
|
* // };
|
|
367
380
|
*
|
|
368
381
|
* ```
|
|
@@ -201,7 +201,7 @@ declare const CreateHarnessCommand_base: {
|
|
|
201
201
|
* customParameters: { // OAuthCustomParameters
|
|
202
202
|
* "<keys>": "STRING_VALUE",
|
|
203
203
|
* },
|
|
204
|
-
* grantType: "CLIENT_CREDENTIALS" || "AUTHORIZATION_CODE",
|
|
204
|
+
* grantType: "CLIENT_CREDENTIALS" || "AUTHORIZATION_CODE" || "TOKEN_EXCHANGE",
|
|
205
205
|
* defaultReturnUrl: "STRING_VALUE",
|
|
206
206
|
* },
|
|
207
207
|
* },
|
|
@@ -322,7 +322,7 @@ declare const CreateHarnessCommand_base: {
|
|
|
322
322
|
* // customParameters: { // OAuthCustomParameters
|
|
323
323
|
* // "<keys>": "STRING_VALUE",
|
|
324
324
|
* // },
|
|
325
|
-
* // grantType: "CLIENT_CREDENTIALS" || "AUTHORIZATION_CODE",
|
|
325
|
+
* // grantType: "CLIENT_CREDENTIALS" || "AUTHORIZATION_CODE" || "TOKEN_EXCHANGE",
|
|
326
326
|
* // defaultReturnUrl: "STRING_VALUE",
|
|
327
327
|
* // },
|
|
328
328
|
* // },
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
|
|
4
|
-
import type { CreateMemoryInput, CreateMemoryOutput } from "../models/
|
|
4
|
+
import type { CreateMemoryInput, CreateMemoryOutput } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -54,6 +54,37 @@ declare const CreateMemoryCommand_base: {
|
|
|
54
54
|
* namespaceTemplates: [
|
|
55
55
|
* "STRING_VALUE",
|
|
56
56
|
* ],
|
|
57
|
+
* memoryRecordSchema: { // MemoryRecordSchema
|
|
58
|
+
* metadataSchema: [ // MetadataSchemaList
|
|
59
|
+
* { // MetadataSchemaEntry
|
|
60
|
+
* key: "STRING_VALUE", // required
|
|
61
|
+
* type: "STRING" || "STRINGLIST" || "NUMBER",
|
|
62
|
+
* extractionConfig: { // ExtractionConfig Union: only one key present
|
|
63
|
+
* llmExtractionConfig: { // LlmExtractionConfig
|
|
64
|
+
* llmExtractionInstruction: "STRING_VALUE",
|
|
65
|
+
* definition: "STRING_VALUE", // required
|
|
66
|
+
* validation: { // Validation Union: only one key present
|
|
67
|
+
* stringValidation: { // StringValidation
|
|
68
|
+
* allowedValues: [ // AllowedStringValuesList // required
|
|
69
|
+
* "STRING_VALUE",
|
|
70
|
+
* ],
|
|
71
|
+
* },
|
|
72
|
+
* stringListValidation: { // StringListValidation
|
|
73
|
+
* allowedValues: [ // AllowedStringListValuesList
|
|
74
|
+
* "STRING_VALUE",
|
|
75
|
+
* ],
|
|
76
|
+
* maxItems: Number("int"),
|
|
77
|
+
* },
|
|
78
|
+
* numberValidation: { // NumberValidation
|
|
79
|
+
* minValue: Number("double"),
|
|
80
|
+
* maxValue: Number("double"),
|
|
81
|
+
* },
|
|
82
|
+
* },
|
|
83
|
+
* },
|
|
84
|
+
* },
|
|
85
|
+
* },
|
|
86
|
+
* ],
|
|
87
|
+
* },
|
|
57
88
|
* },
|
|
58
89
|
* summaryMemoryStrategy: { // SummaryMemoryStrategyInput
|
|
59
90
|
* name: "STRING_VALUE", // required
|
|
@@ -64,6 +95,37 @@ declare const CreateMemoryCommand_base: {
|
|
|
64
95
|
* namespaceTemplates: [
|
|
65
96
|
* "STRING_VALUE",
|
|
66
97
|
* ],
|
|
98
|
+
* memoryRecordSchema: {
|
|
99
|
+
* metadataSchema: [
|
|
100
|
+
* {
|
|
101
|
+
* key: "STRING_VALUE", // required
|
|
102
|
+
* type: "STRING" || "STRINGLIST" || "NUMBER",
|
|
103
|
+
* extractionConfig: {// Union: only one key present
|
|
104
|
+
* llmExtractionConfig: {
|
|
105
|
+
* llmExtractionInstruction: "STRING_VALUE",
|
|
106
|
+
* definition: "STRING_VALUE", // required
|
|
107
|
+
* validation: {// Union: only one key present
|
|
108
|
+
* stringValidation: {
|
|
109
|
+
* allowedValues: [ // required
|
|
110
|
+
* "STRING_VALUE",
|
|
111
|
+
* ],
|
|
112
|
+
* },
|
|
113
|
+
* stringListValidation: {
|
|
114
|
+
* allowedValues: [
|
|
115
|
+
* "STRING_VALUE",
|
|
116
|
+
* ],
|
|
117
|
+
* maxItems: Number("int"),
|
|
118
|
+
* },
|
|
119
|
+
* numberValidation: {
|
|
120
|
+
* minValue: Number("double"),
|
|
121
|
+
* maxValue: Number("double"),
|
|
122
|
+
* },
|
|
123
|
+
* },
|
|
124
|
+
* },
|
|
125
|
+
* },
|
|
126
|
+
* },
|
|
127
|
+
* ],
|
|
128
|
+
* },
|
|
67
129
|
* },
|
|
68
130
|
* userPreferenceMemoryStrategy: { // UserPreferenceMemoryStrategyInput
|
|
69
131
|
* name: "STRING_VALUE", // required
|
|
@@ -72,6 +134,37 @@ declare const CreateMemoryCommand_base: {
|
|
|
72
134
|
* "STRING_VALUE",
|
|
73
135
|
* ],
|
|
74
136
|
* namespaceTemplates: "<NamespacesList>",
|
|
137
|
+
* memoryRecordSchema: {
|
|
138
|
+
* metadataSchema: [
|
|
139
|
+
* {
|
|
140
|
+
* key: "STRING_VALUE", // required
|
|
141
|
+
* type: "STRING" || "STRINGLIST" || "NUMBER",
|
|
142
|
+
* extractionConfig: {// Union: only one key present
|
|
143
|
+
* llmExtractionConfig: {
|
|
144
|
+
* llmExtractionInstruction: "STRING_VALUE",
|
|
145
|
+
* definition: "STRING_VALUE", // required
|
|
146
|
+
* validation: {// Union: only one key present
|
|
147
|
+
* stringValidation: {
|
|
148
|
+
* allowedValues: [ // required
|
|
149
|
+
* "STRING_VALUE",
|
|
150
|
+
* ],
|
|
151
|
+
* },
|
|
152
|
+
* stringListValidation: {
|
|
153
|
+
* allowedValues: [
|
|
154
|
+
* "STRING_VALUE",
|
|
155
|
+
* ],
|
|
156
|
+
* maxItems: Number("int"),
|
|
157
|
+
* },
|
|
158
|
+
* numberValidation: {
|
|
159
|
+
* minValue: Number("double"),
|
|
160
|
+
* maxValue: Number("double"),
|
|
161
|
+
* },
|
|
162
|
+
* },
|
|
163
|
+
* },
|
|
164
|
+
* },
|
|
165
|
+
* },
|
|
166
|
+
* ],
|
|
167
|
+
* },
|
|
75
168
|
* },
|
|
76
169
|
* customMemoryStrategy: { // CustomMemoryStrategyInput
|
|
77
170
|
* name: "STRING_VALUE", // required
|
|
@@ -119,6 +212,37 @@ declare const CreateMemoryCommand_base: {
|
|
|
119
212
|
* modelId: "STRING_VALUE", // required
|
|
120
213
|
* namespaces: "<NamespacesList>",
|
|
121
214
|
* namespaceTemplates: "<NamespacesList>",
|
|
215
|
+
* memoryRecordSchema: {
|
|
216
|
+
* metadataSchema: [
|
|
217
|
+
* {
|
|
218
|
+
* key: "STRING_VALUE", // required
|
|
219
|
+
* type: "STRING" || "STRINGLIST" || "NUMBER",
|
|
220
|
+
* extractionConfig: {// Union: only one key present
|
|
221
|
+
* llmExtractionConfig: {
|
|
222
|
+
* llmExtractionInstruction: "STRING_VALUE",
|
|
223
|
+
* definition: "STRING_VALUE", // required
|
|
224
|
+
* validation: {// Union: only one key present
|
|
225
|
+
* stringValidation: {
|
|
226
|
+
* allowedValues: [ // required
|
|
227
|
+
* "STRING_VALUE",
|
|
228
|
+
* ],
|
|
229
|
+
* },
|
|
230
|
+
* stringListValidation: {
|
|
231
|
+
* allowedValues: [
|
|
232
|
+
* "STRING_VALUE",
|
|
233
|
+
* ],
|
|
234
|
+
* maxItems: Number("int"),
|
|
235
|
+
* },
|
|
236
|
+
* numberValidation: {
|
|
237
|
+
* minValue: Number("double"),
|
|
238
|
+
* maxValue: Number("double"),
|
|
239
|
+
* },
|
|
240
|
+
* },
|
|
241
|
+
* },
|
|
242
|
+
* },
|
|
243
|
+
* },
|
|
244
|
+
* ],
|
|
245
|
+
* },
|
|
122
246
|
* },
|
|
123
247
|
* },
|
|
124
248
|
* selfManagedConfiguration: { // SelfManagedConfigurationInput
|
|
@@ -142,6 +266,37 @@ declare const CreateMemoryCommand_base: {
|
|
|
142
266
|
* historicalContextWindowSize: Number("int"),
|
|
143
267
|
* },
|
|
144
268
|
* },
|
|
269
|
+
* memoryRecordSchema: {
|
|
270
|
+
* metadataSchema: [
|
|
271
|
+
* {
|
|
272
|
+
* key: "STRING_VALUE", // required
|
|
273
|
+
* type: "STRING" || "STRINGLIST" || "NUMBER",
|
|
274
|
+
* extractionConfig: {// Union: only one key present
|
|
275
|
+
* llmExtractionConfig: {
|
|
276
|
+
* llmExtractionInstruction: "STRING_VALUE",
|
|
277
|
+
* definition: "STRING_VALUE", // required
|
|
278
|
+
* validation: {// Union: only one key present
|
|
279
|
+
* stringValidation: {
|
|
280
|
+
* allowedValues: [ // required
|
|
281
|
+
* "STRING_VALUE",
|
|
282
|
+
* ],
|
|
283
|
+
* },
|
|
284
|
+
* stringListValidation: {
|
|
285
|
+
* allowedValues: [
|
|
286
|
+
* "STRING_VALUE",
|
|
287
|
+
* ],
|
|
288
|
+
* maxItems: Number("int"),
|
|
289
|
+
* },
|
|
290
|
+
* numberValidation: {
|
|
291
|
+
* minValue: Number("double"),
|
|
292
|
+
* maxValue: Number("double"),
|
|
293
|
+
* },
|
|
294
|
+
* },
|
|
295
|
+
* },
|
|
296
|
+
* },
|
|
297
|
+
* },
|
|
298
|
+
* ],
|
|
299
|
+
* },
|
|
145
300
|
* },
|
|
146
301
|
* episodicMemoryStrategy: { // EpisodicMemoryStrategyInput
|
|
147
302
|
* name: "STRING_VALUE", // required
|
|
@@ -151,10 +306,18 @@ declare const CreateMemoryCommand_base: {
|
|
|
151
306
|
* reflectionConfiguration: { // EpisodicReflectionConfigurationInput
|
|
152
307
|
* namespaces: "<NamespacesList>",
|
|
153
308
|
* namespaceTemplates: "<NamespacesList>",
|
|
309
|
+
* memoryRecordSchema: "<MemoryRecordSchema>",
|
|
154
310
|
* },
|
|
311
|
+
* memoryRecordSchema: "<MemoryRecordSchema>",
|
|
155
312
|
* },
|
|
156
313
|
* },
|
|
157
314
|
* ],
|
|
315
|
+
* indexedKeys: [ // IndexedKeysList
|
|
316
|
+
* { // IndexedKey
|
|
317
|
+
* key: "STRING_VALUE", // required
|
|
318
|
+
* type: "STRING" || "STRINGLIST" || "NUMBER", // required
|
|
319
|
+
* },
|
|
320
|
+
* ],
|
|
158
321
|
* streamDeliveryResources: { // StreamDeliveryResources
|
|
159
322
|
* resources: [ // StreamDeliveryResourcesList // required
|
|
160
323
|
* { // StreamDeliveryResource Union: only one key present
|
|
@@ -243,6 +406,37 @@ declare const CreateMemoryCommand_base: {
|
|
|
243
406
|
* // namespaceTemplates: [
|
|
244
407
|
* // "STRING_VALUE",
|
|
245
408
|
* // ],
|
|
409
|
+
* // memoryRecordSchema: { // MemoryRecordSchema
|
|
410
|
+
* // metadataSchema: [ // MetadataSchemaList
|
|
411
|
+
* // { // MetadataSchemaEntry
|
|
412
|
+
* // key: "STRING_VALUE", // required
|
|
413
|
+
* // type: "STRING" || "STRINGLIST" || "NUMBER",
|
|
414
|
+
* // extractionConfig: { // ExtractionConfig Union: only one key present
|
|
415
|
+
* // llmExtractionConfig: { // LlmExtractionConfig
|
|
416
|
+
* // llmExtractionInstruction: "STRING_VALUE",
|
|
417
|
+
* // definition: "STRING_VALUE", // required
|
|
418
|
+
* // validation: { // Validation Union: only one key present
|
|
419
|
+
* // stringValidation: { // StringValidation
|
|
420
|
+
* // allowedValues: [ // AllowedStringValuesList // required
|
|
421
|
+
* // "STRING_VALUE",
|
|
422
|
+
* // ],
|
|
423
|
+
* // },
|
|
424
|
+
* // stringListValidation: { // StringListValidation
|
|
425
|
+
* // allowedValues: [ // AllowedStringListValuesList
|
|
426
|
+
* // "STRING_VALUE",
|
|
427
|
+
* // ],
|
|
428
|
+
* // maxItems: Number("int"),
|
|
429
|
+
* // },
|
|
430
|
+
* // numberValidation: { // NumberValidation
|
|
431
|
+
* // minValue: Number("double"),
|
|
432
|
+
* // maxValue: Number("double"),
|
|
433
|
+
* // },
|
|
434
|
+
* // },
|
|
435
|
+
* // },
|
|
436
|
+
* // },
|
|
437
|
+
* // },
|
|
438
|
+
* // ],
|
|
439
|
+
* // },
|
|
246
440
|
* // },
|
|
247
441
|
* // },
|
|
248
442
|
* // episodicReflectionConfiguration: { // EpisodicReflectionConfiguration
|
|
@@ -252,6 +446,37 @@ declare const CreateMemoryCommand_base: {
|
|
|
252
446
|
* // namespaceTemplates: [
|
|
253
447
|
* // "STRING_VALUE",
|
|
254
448
|
* // ],
|
|
449
|
+
* // memoryRecordSchema: {
|
|
450
|
+
* // metadataSchema: [
|
|
451
|
+
* // {
|
|
452
|
+
* // key: "STRING_VALUE", // required
|
|
453
|
+
* // type: "STRING" || "STRINGLIST" || "NUMBER",
|
|
454
|
+
* // extractionConfig: {// Union: only one key present
|
|
455
|
+
* // llmExtractionConfig: {
|
|
456
|
+
* // llmExtractionInstruction: "STRING_VALUE",
|
|
457
|
+
* // definition: "STRING_VALUE", // required
|
|
458
|
+
* // validation: {// Union: only one key present
|
|
459
|
+
* // stringValidation: {
|
|
460
|
+
* // allowedValues: [ // required
|
|
461
|
+
* // "STRING_VALUE",
|
|
462
|
+
* // ],
|
|
463
|
+
* // },
|
|
464
|
+
* // stringListValidation: {
|
|
465
|
+
* // allowedValues: [
|
|
466
|
+
* // "STRING_VALUE",
|
|
467
|
+
* // ],
|
|
468
|
+
* // maxItems: Number("int"),
|
|
469
|
+
* // },
|
|
470
|
+
* // numberValidation: {
|
|
471
|
+
* // minValue: Number("double"),
|
|
472
|
+
* // maxValue: Number("double"),
|
|
473
|
+
* // },
|
|
474
|
+
* // },
|
|
475
|
+
* // },
|
|
476
|
+
* // },
|
|
477
|
+
* // },
|
|
478
|
+
* // ],
|
|
479
|
+
* // },
|
|
255
480
|
* // },
|
|
256
481
|
* // },
|
|
257
482
|
* // selfManagedConfiguration: { // SelfManagedConfiguration
|
|
@@ -281,6 +506,13 @@ declare const CreateMemoryCommand_base: {
|
|
|
281
506
|
* // createdAt: new Date("TIMESTAMP"),
|
|
282
507
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
283
508
|
* // status: "CREATING" || "ACTIVE" || "DELETING" || "FAILED",
|
|
509
|
+
* // memoryRecordSchema: "<MemoryRecordSchema>",
|
|
510
|
+
* // },
|
|
511
|
+
* // ],
|
|
512
|
+
* // indexedKeys: [ // IndexedKeysList
|
|
513
|
+
* // { // IndexedKey
|
|
514
|
+
* // key: "STRING_VALUE", // required
|
|
515
|
+
* // type: "STRING" || "STRINGLIST" || "NUMBER", // required
|
|
284
516
|
* // },
|
|
285
517
|
* // ],
|
|
286
518
|
* // streamDeliveryResources: { // StreamDeliveryResources
|