@aws-sdk/client-bedrock-agentcore-control 3.1038.0 → 3.1039.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 +215 -0
- package/dist-cjs/schemas/schemas_0.js +529 -98
- 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 +30 -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 +516 -86
- 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 +17 -4
- package/dist-types/commands/CreateMemoryCommand.d.ts +2 -1
- package/dist-types/commands/DeleteConfigurationBundleCommand.d.ts +93 -0
- package/dist-types/commands/DeleteGatewayRuleCommand.d.ts +94 -0
- 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 +9 -2
- package/dist-types/commands/GetMemoryCommand.d.ts +1 -1
- 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 +9 -2
- 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 +17 -4
- package/dist-types/commands/UpdateMemoryCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +12 -0
- package/dist-types/models/enums.d.ts +70 -0
- package/dist-types/models/models_0.d.ts +2866 -2901
- package/dist-types/models/models_1.d.ts +1406 -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 +61 -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 +2 -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 +39 -0
- package/dist-types/ts3.4/models/models_0.d.ts +405 -571
- package/dist-types/ts3.4/models/models_1.d.ts +592 -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 +61 -0
- package/package.json +7 -7
|
@@ -1,5 +1,1375 @@
|
|
|
1
|
-
import type { CredentialProviderVendorType, DescriptorType, FilterOperator, FindingType, OnlineEvaluationConfigStatus, OnlineEvaluationExecutionStatus, PolicyEngineStatus, PolicyGenerationStatus, PolicyStatus, PolicyValidationMode, RegistryAuthorizerType, RegistryRecordCredentialProviderType, RegistryRecordOAuthGrantType, RegistryRecordStatus, RegistryStatus, SchemaType, Status, SynchronizationType, TargetStatus } from "./enums";
|
|
2
|
-
import type { A2aDescriptor, AgentSkillsDescriptor, ApiGatewayTargetConfiguration, ApiSchemaConfiguration,
|
|
1
|
+
import type { CredentialProviderVendorType, DescriptorType, FilterOperator, FindingType, MemoryStatus, MemoryStrategyStatus, MemoryStrategyType, MemoryView, OnlineEvaluationConfigStatus, OnlineEvaluationExecutionStatus, OverrideType, PolicyEngineStatus, PolicyGenerationStatus, PolicyStatus, PolicyValidationMode, RegistryAuthorizerType, RegistryRecordCredentialProviderType, RegistryRecordOAuthGrantType, RegistryRecordStatus, RegistryStatus, SchemaType, Status, SynchronizationType, TargetProtocolType, TargetStatus } from "./enums";
|
|
2
|
+
import type { A2aDescriptor, AgentSkillsDescriptor, ApiGatewayTargetConfiguration, ApiSchemaConfiguration, AuthorizationData, AuthorizerConfiguration, CredentialProviderConfiguration, CustomConsolidationConfiguration, EpisodicOverrideConsolidationConfigurationInput, EpisodicOverrideExtractionConfigurationInput, EpisodicOverrideReflectionConfigurationInput, EpisodicReflectionConfigurationInput, HttpTargetConfiguration, KmsConfiguration, ManagedResourceDetails, McpServerTargetConfiguration, MemoryStrategyInput, MetadataConfiguration, PrivateEndpoint, PrivateEndpointOverride, S3Configuration, Secret, SemanticOverrideConsolidationConfigurationInput, SemanticOverrideExtractionConfigurationInput, SkillDefinition, SkillMdDefinition, StreamDeliveryResources, SummaryOverrideConsolidationConfigurationInput, TriggerConditionInput, UpdatedAuthorizerConfiguration, UserPreferenceOverrideConsolidationConfigurationInput, UserPreferenceOverrideExtractionConfigurationInput } from "./models_0";
|
|
3
|
+
/**
|
|
4
|
+
* <p>Contains consolidation configuration information for a memory strategy.</p>
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export type ConsolidationConfiguration = ConsolidationConfiguration.CustomConsolidationConfigurationMember | ConsolidationConfiguration.$UnknownMember;
|
|
8
|
+
/**
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
export declare namespace ConsolidationConfiguration {
|
|
12
|
+
/**
|
|
13
|
+
* <p>The custom consolidation configuration.</p>
|
|
14
|
+
* @public
|
|
15
|
+
*/
|
|
16
|
+
interface CustomConsolidationConfigurationMember {
|
|
17
|
+
customConsolidationConfiguration: CustomConsolidationConfiguration;
|
|
18
|
+
$unknown?: never;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
23
|
+
interface $UnknownMember {
|
|
24
|
+
customConsolidationConfiguration?: never;
|
|
25
|
+
$unknown: [string, any];
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* @deprecated unused in schema-serde mode.
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
interface Visitor<T> {
|
|
32
|
+
customConsolidationConfiguration: (value: CustomConsolidationConfiguration) => T;
|
|
33
|
+
_: (name: string, value: any) => T;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* <p>Contains configurations to override the default extraction step for the episodic memory strategy.</p>
|
|
38
|
+
* @public
|
|
39
|
+
*/
|
|
40
|
+
export interface EpisodicExtractionOverride {
|
|
41
|
+
/**
|
|
42
|
+
* <p>The text appended to the prompt for the extraction step of the episodic memory strategy.</p>
|
|
43
|
+
* @public
|
|
44
|
+
*/
|
|
45
|
+
appendToPrompt: string | undefined;
|
|
46
|
+
/**
|
|
47
|
+
* <p>The model ID used for the extraction step of the episodic memory strategy.</p>
|
|
48
|
+
* @public
|
|
49
|
+
*/
|
|
50
|
+
modelId: string | undefined;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* <p>Contains semantic extraction override configuration.</p>
|
|
54
|
+
* @public
|
|
55
|
+
*/
|
|
56
|
+
export interface SemanticExtractionOverride {
|
|
57
|
+
/**
|
|
58
|
+
* <p>The text to append to the prompt for semantic extraction.</p>
|
|
59
|
+
* @public
|
|
60
|
+
*/
|
|
61
|
+
appendToPrompt: string | undefined;
|
|
62
|
+
/**
|
|
63
|
+
* <p>The model ID to use for semantic extraction.</p>
|
|
64
|
+
* @public
|
|
65
|
+
*/
|
|
66
|
+
modelId: string | undefined;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* <p>Contains user preference extraction override configuration.</p>
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
export interface UserPreferenceExtractionOverride {
|
|
73
|
+
/**
|
|
74
|
+
* <p>The text to append to the prompt for user preference extraction.</p>
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
77
|
+
appendToPrompt: string | undefined;
|
|
78
|
+
/**
|
|
79
|
+
* <p>The model ID to use for user preference extraction.</p>
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
modelId: string | undefined;
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* <p>Contains custom extraction configuration information.</p>
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
88
|
+
export type CustomExtractionConfiguration = CustomExtractionConfiguration.EpisodicExtractionOverrideMember | CustomExtractionConfiguration.SemanticExtractionOverrideMember | CustomExtractionConfiguration.UserPreferenceExtractionOverrideMember | CustomExtractionConfiguration.$UnknownMember;
|
|
89
|
+
/**
|
|
90
|
+
* @public
|
|
91
|
+
*/
|
|
92
|
+
export declare namespace CustomExtractionConfiguration {
|
|
93
|
+
/**
|
|
94
|
+
* <p>The semantic extraction override configuration.</p>
|
|
95
|
+
* @public
|
|
96
|
+
*/
|
|
97
|
+
interface SemanticExtractionOverrideMember {
|
|
98
|
+
semanticExtractionOverride: SemanticExtractionOverride;
|
|
99
|
+
userPreferenceExtractionOverride?: never;
|
|
100
|
+
episodicExtractionOverride?: never;
|
|
101
|
+
$unknown?: never;
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* <p>The user preference extraction override configuration.</p>
|
|
105
|
+
* @public
|
|
106
|
+
*/
|
|
107
|
+
interface UserPreferenceExtractionOverrideMember {
|
|
108
|
+
semanticExtractionOverride?: never;
|
|
109
|
+
userPreferenceExtractionOverride: UserPreferenceExtractionOverride;
|
|
110
|
+
episodicExtractionOverride?: never;
|
|
111
|
+
$unknown?: never;
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* <p>The configurations to override the default extraction step for the episodic memory strategy.</p>
|
|
115
|
+
* @public
|
|
116
|
+
*/
|
|
117
|
+
interface EpisodicExtractionOverrideMember {
|
|
118
|
+
semanticExtractionOverride?: never;
|
|
119
|
+
userPreferenceExtractionOverride?: never;
|
|
120
|
+
episodicExtractionOverride: EpisodicExtractionOverride;
|
|
121
|
+
$unknown?: never;
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* @public
|
|
125
|
+
*/
|
|
126
|
+
interface $UnknownMember {
|
|
127
|
+
semanticExtractionOverride?: never;
|
|
128
|
+
userPreferenceExtractionOverride?: never;
|
|
129
|
+
episodicExtractionOverride?: never;
|
|
130
|
+
$unknown: [string, any];
|
|
131
|
+
}
|
|
132
|
+
/**
|
|
133
|
+
* @deprecated unused in schema-serde mode.
|
|
134
|
+
*
|
|
135
|
+
*/
|
|
136
|
+
interface Visitor<T> {
|
|
137
|
+
semanticExtractionOverride: (value: SemanticExtractionOverride) => T;
|
|
138
|
+
userPreferenceExtractionOverride: (value: UserPreferenceExtractionOverride) => T;
|
|
139
|
+
episodicExtractionOverride: (value: EpisodicExtractionOverride) => T;
|
|
140
|
+
_: (name: string, value: any) => T;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* <p>Contains extraction configuration information for a memory strategy.</p>
|
|
145
|
+
* @public
|
|
146
|
+
*/
|
|
147
|
+
export type ExtractionConfiguration = ExtractionConfiguration.CustomExtractionConfigurationMember | ExtractionConfiguration.$UnknownMember;
|
|
148
|
+
/**
|
|
149
|
+
* @public
|
|
150
|
+
*/
|
|
151
|
+
export declare namespace ExtractionConfiguration {
|
|
152
|
+
/**
|
|
153
|
+
* <p>The custom extraction configuration.</p>
|
|
154
|
+
* @public
|
|
155
|
+
*/
|
|
156
|
+
interface CustomExtractionConfigurationMember {
|
|
157
|
+
customExtractionConfiguration: CustomExtractionConfiguration;
|
|
158
|
+
$unknown?: never;
|
|
159
|
+
}
|
|
160
|
+
/**
|
|
161
|
+
* @public
|
|
162
|
+
*/
|
|
163
|
+
interface $UnknownMember {
|
|
164
|
+
customExtractionConfiguration?: never;
|
|
165
|
+
$unknown: [string, any];
|
|
166
|
+
}
|
|
167
|
+
/**
|
|
168
|
+
* @deprecated unused in schema-serde mode.
|
|
169
|
+
*
|
|
170
|
+
*/
|
|
171
|
+
interface Visitor<T> {
|
|
172
|
+
customExtractionConfiguration: (value: CustomExtractionConfiguration) => T;
|
|
173
|
+
_: (name: string, value: any) => T;
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
/**
|
|
177
|
+
* <p>Contains configurations to override the default reflection step for the episodic memory strategy.</p>
|
|
178
|
+
* @public
|
|
179
|
+
*/
|
|
180
|
+
export interface EpisodicReflectionOverride {
|
|
181
|
+
/**
|
|
182
|
+
* <p>The text appended to the prompt for the reflection step of the episodic memory strategy.</p>
|
|
183
|
+
* @public
|
|
184
|
+
*/
|
|
185
|
+
appendToPrompt: string | undefined;
|
|
186
|
+
/**
|
|
187
|
+
* <p>The model ID used for the reflection step of the episodic memory strategy.</p>
|
|
188
|
+
* @public
|
|
189
|
+
*/
|
|
190
|
+
modelId: string | undefined;
|
|
191
|
+
/**
|
|
192
|
+
* <p>The namespaces over which reflections were created. Can be less nested than the episodic namespaces.</p>
|
|
193
|
+
*
|
|
194
|
+
* @deprecated (since 2026-03-02) Use namespaceTemplates instead.
|
|
195
|
+
* @public
|
|
196
|
+
*/
|
|
197
|
+
namespaces?: string[] | undefined;
|
|
198
|
+
/**
|
|
199
|
+
* <p>The namespaceTemplates over which reflections were created. Can be less nested than the episodic namespaces.</p>
|
|
200
|
+
* @public
|
|
201
|
+
*/
|
|
202
|
+
namespaceTemplates?: string[] | undefined;
|
|
203
|
+
}
|
|
204
|
+
/**
|
|
205
|
+
* <p>Contains configurations for a custom reflection strategy.</p>
|
|
206
|
+
* @public
|
|
207
|
+
*/
|
|
208
|
+
export type CustomReflectionConfiguration = CustomReflectionConfiguration.EpisodicReflectionOverrideMember | CustomReflectionConfiguration.$UnknownMember;
|
|
209
|
+
/**
|
|
210
|
+
* @public
|
|
211
|
+
*/
|
|
212
|
+
export declare namespace CustomReflectionConfiguration {
|
|
213
|
+
/**
|
|
214
|
+
* <p>The configuration for a reflection strategy to override the default one.</p>
|
|
215
|
+
* @public
|
|
216
|
+
*/
|
|
217
|
+
interface EpisodicReflectionOverrideMember {
|
|
218
|
+
episodicReflectionOverride: EpisodicReflectionOverride;
|
|
219
|
+
$unknown?: never;
|
|
220
|
+
}
|
|
221
|
+
/**
|
|
222
|
+
* @public
|
|
223
|
+
*/
|
|
224
|
+
interface $UnknownMember {
|
|
225
|
+
episodicReflectionOverride?: never;
|
|
226
|
+
$unknown: [string, any];
|
|
227
|
+
}
|
|
228
|
+
/**
|
|
229
|
+
* @deprecated unused in schema-serde mode.
|
|
230
|
+
*
|
|
231
|
+
*/
|
|
232
|
+
interface Visitor<T> {
|
|
233
|
+
episodicReflectionOverride: (value: EpisodicReflectionOverride) => T;
|
|
234
|
+
_: (name: string, value: any) => T;
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
/**
|
|
238
|
+
* <p>The configuration for the reflections created with the episodic memory strategy.</p>
|
|
239
|
+
* @public
|
|
240
|
+
*/
|
|
241
|
+
export interface EpisodicReflectionConfiguration {
|
|
242
|
+
/**
|
|
243
|
+
* <p>The namespaces for which to create reflections. Can be less nested than the episodic namespaces.</p>
|
|
244
|
+
*
|
|
245
|
+
* @deprecated (since 2026-03-02) Use namespaceTemplates instead.
|
|
246
|
+
* @public
|
|
247
|
+
*/
|
|
248
|
+
namespaces?: string[] | undefined;
|
|
249
|
+
/**
|
|
250
|
+
* <p>The namespaceTemplates for which to create reflections. Can be less nested than the episodic namespaces.</p>
|
|
251
|
+
* @public
|
|
252
|
+
*/
|
|
253
|
+
namespaceTemplates?: string[] | undefined;
|
|
254
|
+
}
|
|
255
|
+
/**
|
|
256
|
+
* <p>Contains reflection configuration information for a memory strategy.</p>
|
|
257
|
+
* @public
|
|
258
|
+
*/
|
|
259
|
+
export type ReflectionConfiguration = ReflectionConfiguration.CustomReflectionConfigurationMember | ReflectionConfiguration.EpisodicReflectionConfigurationMember | ReflectionConfiguration.$UnknownMember;
|
|
260
|
+
/**
|
|
261
|
+
* @public
|
|
262
|
+
*/
|
|
263
|
+
export declare namespace ReflectionConfiguration {
|
|
264
|
+
/**
|
|
265
|
+
* <p>The configuration for a custom reflection strategy.</p>
|
|
266
|
+
* @public
|
|
267
|
+
*/
|
|
268
|
+
interface CustomReflectionConfigurationMember {
|
|
269
|
+
customReflectionConfiguration: CustomReflectionConfiguration;
|
|
270
|
+
episodicReflectionConfiguration?: never;
|
|
271
|
+
$unknown?: never;
|
|
272
|
+
}
|
|
273
|
+
/**
|
|
274
|
+
* <p>The configuration for the episodic reflection strategy.</p>
|
|
275
|
+
* @public
|
|
276
|
+
*/
|
|
277
|
+
interface EpisodicReflectionConfigurationMember {
|
|
278
|
+
customReflectionConfiguration?: never;
|
|
279
|
+
episodicReflectionConfiguration: EpisodicReflectionConfiguration;
|
|
280
|
+
$unknown?: never;
|
|
281
|
+
}
|
|
282
|
+
/**
|
|
283
|
+
* @public
|
|
284
|
+
*/
|
|
285
|
+
interface $UnknownMember {
|
|
286
|
+
customReflectionConfiguration?: never;
|
|
287
|
+
episodicReflectionConfiguration?: never;
|
|
288
|
+
$unknown: [string, any];
|
|
289
|
+
}
|
|
290
|
+
/**
|
|
291
|
+
* @deprecated unused in schema-serde mode.
|
|
292
|
+
*
|
|
293
|
+
*/
|
|
294
|
+
interface Visitor<T> {
|
|
295
|
+
customReflectionConfiguration: (value: CustomReflectionConfiguration) => T;
|
|
296
|
+
episodicReflectionConfiguration: (value: EpisodicReflectionConfiguration) => T;
|
|
297
|
+
_: (name: string, value: any) => T;
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
/**
|
|
301
|
+
* <p>The configuration to invoke a self-managed memory processing pipeline with.</p>
|
|
302
|
+
* @public
|
|
303
|
+
*/
|
|
304
|
+
export interface InvocationConfiguration {
|
|
305
|
+
/**
|
|
306
|
+
* <p>The ARN of the SNS topic for job notifications.</p>
|
|
307
|
+
* @public
|
|
308
|
+
*/
|
|
309
|
+
topicArn: string | undefined;
|
|
310
|
+
/**
|
|
311
|
+
* <p>The S3 bucket name for event payload delivery.</p>
|
|
312
|
+
* @public
|
|
313
|
+
*/
|
|
314
|
+
payloadDeliveryBucketName: string | undefined;
|
|
315
|
+
}
|
|
316
|
+
/**
|
|
317
|
+
* <p>The trigger configuration based on a message.</p>
|
|
318
|
+
* @public
|
|
319
|
+
*/
|
|
320
|
+
export interface MessageBasedTrigger {
|
|
321
|
+
/**
|
|
322
|
+
* <p>The number of messages that trigger memory processing.</p>
|
|
323
|
+
* @public
|
|
324
|
+
*/
|
|
325
|
+
messageCount?: number | undefined;
|
|
326
|
+
}
|
|
327
|
+
/**
|
|
328
|
+
* <p>Trigger configuration based on time.</p>
|
|
329
|
+
* @public
|
|
330
|
+
*/
|
|
331
|
+
export interface TimeBasedTrigger {
|
|
332
|
+
/**
|
|
333
|
+
* <p>Idle session timeout (seconds) that triggers memory processing.</p>
|
|
334
|
+
* @public
|
|
335
|
+
*/
|
|
336
|
+
idleSessionTimeout?: number | undefined;
|
|
337
|
+
}
|
|
338
|
+
/**
|
|
339
|
+
* <p>Trigger configuration based on tokens.</p>
|
|
340
|
+
* @public
|
|
341
|
+
*/
|
|
342
|
+
export interface TokenBasedTrigger {
|
|
343
|
+
/**
|
|
344
|
+
* <p>Number of tokens that trigger memory processing.</p>
|
|
345
|
+
* @public
|
|
346
|
+
*/
|
|
347
|
+
tokenCount?: number | undefined;
|
|
348
|
+
}
|
|
349
|
+
/**
|
|
350
|
+
* <p>Condition that triggers memory processing.</p>
|
|
351
|
+
* @public
|
|
352
|
+
*/
|
|
353
|
+
export type TriggerCondition = TriggerCondition.MessageBasedTriggerMember | TriggerCondition.TimeBasedTriggerMember | TriggerCondition.TokenBasedTriggerMember | TriggerCondition.$UnknownMember;
|
|
354
|
+
/**
|
|
355
|
+
* @public
|
|
356
|
+
*/
|
|
357
|
+
export declare namespace TriggerCondition {
|
|
358
|
+
/**
|
|
359
|
+
* <p>Message based trigger configuration.</p>
|
|
360
|
+
* @public
|
|
361
|
+
*/
|
|
362
|
+
interface MessageBasedTriggerMember {
|
|
363
|
+
messageBasedTrigger: MessageBasedTrigger;
|
|
364
|
+
tokenBasedTrigger?: never;
|
|
365
|
+
timeBasedTrigger?: never;
|
|
366
|
+
$unknown?: never;
|
|
367
|
+
}
|
|
368
|
+
/**
|
|
369
|
+
* <p>Token based trigger configuration.</p>
|
|
370
|
+
* @public
|
|
371
|
+
*/
|
|
372
|
+
interface TokenBasedTriggerMember {
|
|
373
|
+
messageBasedTrigger?: never;
|
|
374
|
+
tokenBasedTrigger: TokenBasedTrigger;
|
|
375
|
+
timeBasedTrigger?: never;
|
|
376
|
+
$unknown?: never;
|
|
377
|
+
}
|
|
378
|
+
/**
|
|
379
|
+
* <p>Time based trigger configuration.</p>
|
|
380
|
+
* @public
|
|
381
|
+
*/
|
|
382
|
+
interface TimeBasedTriggerMember {
|
|
383
|
+
messageBasedTrigger?: never;
|
|
384
|
+
tokenBasedTrigger?: never;
|
|
385
|
+
timeBasedTrigger: TimeBasedTrigger;
|
|
386
|
+
$unknown?: never;
|
|
387
|
+
}
|
|
388
|
+
/**
|
|
389
|
+
* @public
|
|
390
|
+
*/
|
|
391
|
+
interface $UnknownMember {
|
|
392
|
+
messageBasedTrigger?: never;
|
|
393
|
+
tokenBasedTrigger?: never;
|
|
394
|
+
timeBasedTrigger?: never;
|
|
395
|
+
$unknown: [string, any];
|
|
396
|
+
}
|
|
397
|
+
/**
|
|
398
|
+
* @deprecated unused in schema-serde mode.
|
|
399
|
+
*
|
|
400
|
+
*/
|
|
401
|
+
interface Visitor<T> {
|
|
402
|
+
messageBasedTrigger: (value: MessageBasedTrigger) => T;
|
|
403
|
+
tokenBasedTrigger: (value: TokenBasedTrigger) => T;
|
|
404
|
+
timeBasedTrigger: (value: TimeBasedTrigger) => T;
|
|
405
|
+
_: (name: string, value: any) => T;
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
/**
|
|
409
|
+
* <p>A configuration for a self-managed memory strategy.</p>
|
|
410
|
+
* @public
|
|
411
|
+
*/
|
|
412
|
+
export interface SelfManagedConfiguration {
|
|
413
|
+
/**
|
|
414
|
+
* <p>A list of conditions that trigger memory processing.</p>
|
|
415
|
+
* @public
|
|
416
|
+
*/
|
|
417
|
+
triggerConditions: TriggerCondition[] | undefined;
|
|
418
|
+
/**
|
|
419
|
+
* <p>The configuration to use when invoking memory processing.</p>
|
|
420
|
+
* @public
|
|
421
|
+
*/
|
|
422
|
+
invocationConfiguration: InvocationConfiguration | undefined;
|
|
423
|
+
/**
|
|
424
|
+
* <p>The number of historical messages to include in processing context.</p>
|
|
425
|
+
* @public
|
|
426
|
+
*/
|
|
427
|
+
historicalContextWindowSize: number | undefined;
|
|
428
|
+
}
|
|
429
|
+
/**
|
|
430
|
+
* <p>Contains configuration information for a memory strategy.</p>
|
|
431
|
+
* @public
|
|
432
|
+
*/
|
|
433
|
+
export interface StrategyConfiguration {
|
|
434
|
+
/**
|
|
435
|
+
* <p>The type of override for the strategy configuration.</p>
|
|
436
|
+
* @public
|
|
437
|
+
*/
|
|
438
|
+
type?: OverrideType | undefined;
|
|
439
|
+
/**
|
|
440
|
+
* <p>The extraction configuration for the memory strategy.</p>
|
|
441
|
+
* @public
|
|
442
|
+
*/
|
|
443
|
+
extraction?: ExtractionConfiguration | undefined;
|
|
444
|
+
/**
|
|
445
|
+
* <p>The consolidation configuration for the memory strategy.</p>
|
|
446
|
+
* @public
|
|
447
|
+
*/
|
|
448
|
+
consolidation?: ConsolidationConfiguration | undefined;
|
|
449
|
+
/**
|
|
450
|
+
* <p>The reflection configuration for the memory strategy.</p>
|
|
451
|
+
* @public
|
|
452
|
+
*/
|
|
453
|
+
reflection?: ReflectionConfiguration | undefined;
|
|
454
|
+
/**
|
|
455
|
+
* <p>Self-managed configuration settings.</p>
|
|
456
|
+
* @public
|
|
457
|
+
*/
|
|
458
|
+
selfManagedConfiguration?: SelfManagedConfiguration | undefined;
|
|
459
|
+
}
|
|
460
|
+
/**
|
|
461
|
+
* <p>Contains information about a memory strategy.</p>
|
|
462
|
+
* @public
|
|
463
|
+
*/
|
|
464
|
+
export interface MemoryStrategy {
|
|
465
|
+
/**
|
|
466
|
+
* <p>The unique identifier of the memory strategy.</p>
|
|
467
|
+
* @public
|
|
468
|
+
*/
|
|
469
|
+
strategyId: string | undefined;
|
|
470
|
+
/**
|
|
471
|
+
* <p>The name of the memory strategy.</p>
|
|
472
|
+
* @public
|
|
473
|
+
*/
|
|
474
|
+
name: string | undefined;
|
|
475
|
+
/**
|
|
476
|
+
* <p>The description of the memory strategy.</p>
|
|
477
|
+
* @public
|
|
478
|
+
*/
|
|
479
|
+
description?: string | undefined;
|
|
480
|
+
/**
|
|
481
|
+
* <p>The configuration of the memory strategy.</p>
|
|
482
|
+
* @public
|
|
483
|
+
*/
|
|
484
|
+
configuration?: StrategyConfiguration | undefined;
|
|
485
|
+
/**
|
|
486
|
+
* <p>The type of the memory strategy.</p>
|
|
487
|
+
* @public
|
|
488
|
+
*/
|
|
489
|
+
type: MemoryStrategyType | undefined;
|
|
490
|
+
/**
|
|
491
|
+
* <p>The namespaces associated with the memory strategy.</p>
|
|
492
|
+
*
|
|
493
|
+
* @deprecated (since 2026-03-02) Use namespaceTemplates instead.
|
|
494
|
+
* @public
|
|
495
|
+
*/
|
|
496
|
+
namespaces: string[] | undefined;
|
|
497
|
+
/**
|
|
498
|
+
* <p>The namespaceTemplates associated with the memory strategy.</p>
|
|
499
|
+
* @public
|
|
500
|
+
*/
|
|
501
|
+
namespaceTemplates: string[] | undefined;
|
|
502
|
+
/**
|
|
503
|
+
* <p>The timestamp when the memory strategy was created.</p>
|
|
504
|
+
* @public
|
|
505
|
+
*/
|
|
506
|
+
createdAt?: Date | undefined;
|
|
507
|
+
/**
|
|
508
|
+
* <p>The timestamp when the memory strategy was last updated.</p>
|
|
509
|
+
* @public
|
|
510
|
+
*/
|
|
511
|
+
updatedAt?: Date | undefined;
|
|
512
|
+
/**
|
|
513
|
+
* <p>The current status of the memory strategy.</p>
|
|
514
|
+
* @public
|
|
515
|
+
*/
|
|
516
|
+
status?: MemoryStrategyStatus | undefined;
|
|
517
|
+
}
|
|
518
|
+
/**
|
|
519
|
+
* <p>Contains information about a memory resource.</p>
|
|
520
|
+
* @public
|
|
521
|
+
*/
|
|
522
|
+
export interface Memory {
|
|
523
|
+
/**
|
|
524
|
+
* <p>The Amazon Resource Name (ARN) of the memory.</p>
|
|
525
|
+
* @public
|
|
526
|
+
*/
|
|
527
|
+
arn: string | undefined;
|
|
528
|
+
/**
|
|
529
|
+
* <p>The unique identifier of the memory.</p>
|
|
530
|
+
* @public
|
|
531
|
+
*/
|
|
532
|
+
id: string | undefined;
|
|
533
|
+
/**
|
|
534
|
+
* <p>The name of the memory.</p>
|
|
535
|
+
* @public
|
|
536
|
+
*/
|
|
537
|
+
name: string | undefined;
|
|
538
|
+
/**
|
|
539
|
+
* <p>The description of the memory.</p>
|
|
540
|
+
* @public
|
|
541
|
+
*/
|
|
542
|
+
description?: string | undefined;
|
|
543
|
+
/**
|
|
544
|
+
* <p>The ARN of the KMS key used to encrypt the memory.</p>
|
|
545
|
+
* @public
|
|
546
|
+
*/
|
|
547
|
+
encryptionKeyArn?: string | undefined;
|
|
548
|
+
/**
|
|
549
|
+
* <p>The ARN of the IAM role that provides permissions for the memory.</p>
|
|
550
|
+
* @public
|
|
551
|
+
*/
|
|
552
|
+
memoryExecutionRoleArn?: string | undefined;
|
|
553
|
+
/**
|
|
554
|
+
* <p>The number of days after which memory events will expire.</p>
|
|
555
|
+
* @public
|
|
556
|
+
*/
|
|
557
|
+
eventExpiryDuration: number | undefined;
|
|
558
|
+
/**
|
|
559
|
+
* <p>The current status of the memory.</p>
|
|
560
|
+
* @public
|
|
561
|
+
*/
|
|
562
|
+
status: MemoryStatus | undefined;
|
|
563
|
+
/**
|
|
564
|
+
* <p>The reason for failure if the memory is in a failed state.</p>
|
|
565
|
+
* @public
|
|
566
|
+
*/
|
|
567
|
+
failureReason?: string | undefined;
|
|
568
|
+
/**
|
|
569
|
+
* <p>The timestamp when the memory was created.</p>
|
|
570
|
+
* @public
|
|
571
|
+
*/
|
|
572
|
+
createdAt: Date | undefined;
|
|
573
|
+
/**
|
|
574
|
+
* <p>The timestamp when the memory was last updated.</p>
|
|
575
|
+
* @public
|
|
576
|
+
*/
|
|
577
|
+
updatedAt: Date | undefined;
|
|
578
|
+
/**
|
|
579
|
+
* <p>The list of memory strategies associated with this memory.</p>
|
|
580
|
+
* @public
|
|
581
|
+
*/
|
|
582
|
+
strategies?: MemoryStrategy[] | undefined;
|
|
583
|
+
/**
|
|
584
|
+
* <p>Configuration for streaming memory record data to external resources.</p>
|
|
585
|
+
* @public
|
|
586
|
+
*/
|
|
587
|
+
streamDeliveryResources?: StreamDeliveryResources | undefined;
|
|
588
|
+
}
|
|
589
|
+
/**
|
|
590
|
+
* @public
|
|
591
|
+
*/
|
|
592
|
+
export interface CreateMemoryOutput {
|
|
593
|
+
/**
|
|
594
|
+
* <p>The details of the created memory, including its ID, ARN, name, description, and configuration settings.</p>
|
|
595
|
+
* @public
|
|
596
|
+
*/
|
|
597
|
+
memory?: Memory | undefined;
|
|
598
|
+
}
|
|
599
|
+
/**
|
|
600
|
+
* @public
|
|
601
|
+
*/
|
|
602
|
+
export interface DeleteMemoryInput {
|
|
603
|
+
/**
|
|
604
|
+
* <p>A client token is used for keeping track of idempotent requests. It can contain a session id which can be around 250 chars, combined with a unique AWS identifier.</p>
|
|
605
|
+
* @public
|
|
606
|
+
*/
|
|
607
|
+
clientToken?: string | undefined;
|
|
608
|
+
/**
|
|
609
|
+
* <p>The unique identifier of the memory to delete.</p>
|
|
610
|
+
* @public
|
|
611
|
+
*/
|
|
612
|
+
memoryId: string | undefined;
|
|
613
|
+
}
|
|
614
|
+
/**
|
|
615
|
+
* @public
|
|
616
|
+
*/
|
|
617
|
+
export interface DeleteMemoryOutput {
|
|
618
|
+
/**
|
|
619
|
+
* <p>The unique identifier of the deleted AgentCore Memory resource.</p>
|
|
620
|
+
* @public
|
|
621
|
+
*/
|
|
622
|
+
memoryId: string | undefined;
|
|
623
|
+
/**
|
|
624
|
+
* <p>The current status of the AgentCore Memory resource deletion.</p>
|
|
625
|
+
* @public
|
|
626
|
+
*/
|
|
627
|
+
status?: MemoryStatus | undefined;
|
|
628
|
+
}
|
|
629
|
+
/**
|
|
630
|
+
* @public
|
|
631
|
+
*/
|
|
632
|
+
export interface GetMemoryInput {
|
|
633
|
+
/**
|
|
634
|
+
* <p>The unique identifier of the memory to retrieve.</p>
|
|
635
|
+
* @public
|
|
636
|
+
*/
|
|
637
|
+
memoryId: string | undefined;
|
|
638
|
+
/**
|
|
639
|
+
* <p>The level of detail to return for the memory.</p>
|
|
640
|
+
* @public
|
|
641
|
+
*/
|
|
642
|
+
view?: MemoryView | undefined;
|
|
643
|
+
}
|
|
644
|
+
/**
|
|
645
|
+
* @public
|
|
646
|
+
*/
|
|
647
|
+
export interface GetMemoryOutput {
|
|
648
|
+
/**
|
|
649
|
+
* <p>The retrieved AgentCore Memory resource details.</p>
|
|
650
|
+
* @public
|
|
651
|
+
*/
|
|
652
|
+
memory: Memory | undefined;
|
|
653
|
+
}
|
|
654
|
+
/**
|
|
655
|
+
* @public
|
|
656
|
+
*/
|
|
657
|
+
export interface ListMemoriesInput {
|
|
658
|
+
/**
|
|
659
|
+
* <p>The maximum number of results to return in a single call. The default value is 10. The maximum value is 50.</p>
|
|
660
|
+
* @public
|
|
661
|
+
*/
|
|
662
|
+
maxResults?: number | undefined;
|
|
663
|
+
/**
|
|
664
|
+
* <p>The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.</p>
|
|
665
|
+
* @public
|
|
666
|
+
*/
|
|
667
|
+
nextToken?: string | undefined;
|
|
668
|
+
}
|
|
669
|
+
/**
|
|
670
|
+
* <p>Contains summary information about a memory resource.</p>
|
|
671
|
+
* @public
|
|
672
|
+
*/
|
|
673
|
+
export interface MemorySummary {
|
|
674
|
+
/**
|
|
675
|
+
* <p>The Amazon Resource Name (ARN) of the memory.</p>
|
|
676
|
+
* @public
|
|
677
|
+
*/
|
|
678
|
+
arn?: string | undefined;
|
|
679
|
+
/**
|
|
680
|
+
* <p>The unique identifier of the memory.</p>
|
|
681
|
+
* @public
|
|
682
|
+
*/
|
|
683
|
+
id?: string | undefined;
|
|
684
|
+
/**
|
|
685
|
+
* <p>The current status of the memory.</p>
|
|
686
|
+
* @public
|
|
687
|
+
*/
|
|
688
|
+
status?: MemoryStatus | undefined;
|
|
689
|
+
/**
|
|
690
|
+
* <p>The timestamp when the memory was created.</p>
|
|
691
|
+
* @public
|
|
692
|
+
*/
|
|
693
|
+
createdAt: Date | undefined;
|
|
694
|
+
/**
|
|
695
|
+
* <p>The timestamp when the memory was last updated.</p>
|
|
696
|
+
* @public
|
|
697
|
+
*/
|
|
698
|
+
updatedAt: Date | undefined;
|
|
699
|
+
}
|
|
700
|
+
/**
|
|
701
|
+
* @public
|
|
702
|
+
*/
|
|
703
|
+
export interface ListMemoriesOutput {
|
|
704
|
+
/**
|
|
705
|
+
* <p>The list of AgentCore Memory resource summaries.</p>
|
|
706
|
+
* @public
|
|
707
|
+
*/
|
|
708
|
+
memories: MemorySummary[] | undefined;
|
|
709
|
+
/**
|
|
710
|
+
* <p>A token to retrieve the next page of results.</p>
|
|
711
|
+
* @public
|
|
712
|
+
*/
|
|
713
|
+
nextToken?: string | undefined;
|
|
714
|
+
}
|
|
715
|
+
/**
|
|
716
|
+
* <p>Input for deleting a memory strategy.</p>
|
|
717
|
+
* @public
|
|
718
|
+
*/
|
|
719
|
+
export interface DeleteMemoryStrategyInput {
|
|
720
|
+
/**
|
|
721
|
+
* <p>The unique identifier of the memory strategy to delete.</p>
|
|
722
|
+
* @public
|
|
723
|
+
*/
|
|
724
|
+
memoryStrategyId: string | undefined;
|
|
725
|
+
}
|
|
726
|
+
/**
|
|
727
|
+
* <p>Input for a custom consolidation configuration.</p>
|
|
728
|
+
* @public
|
|
729
|
+
*/
|
|
730
|
+
export type CustomConsolidationConfigurationInput = CustomConsolidationConfigurationInput.EpisodicConsolidationOverrideMember | CustomConsolidationConfigurationInput.SemanticConsolidationOverrideMember | CustomConsolidationConfigurationInput.SummaryConsolidationOverrideMember | CustomConsolidationConfigurationInput.UserPreferenceConsolidationOverrideMember | CustomConsolidationConfigurationInput.$UnknownMember;
|
|
731
|
+
/**
|
|
732
|
+
* @public
|
|
733
|
+
*/
|
|
734
|
+
export declare namespace CustomConsolidationConfigurationInput {
|
|
735
|
+
/**
|
|
736
|
+
* <p>The semantic consolidation override configuration input.</p>
|
|
737
|
+
* @public
|
|
738
|
+
*/
|
|
739
|
+
interface SemanticConsolidationOverrideMember {
|
|
740
|
+
semanticConsolidationOverride: SemanticOverrideConsolidationConfigurationInput;
|
|
741
|
+
summaryConsolidationOverride?: never;
|
|
742
|
+
userPreferenceConsolidationOverride?: never;
|
|
743
|
+
episodicConsolidationOverride?: never;
|
|
744
|
+
$unknown?: never;
|
|
745
|
+
}
|
|
746
|
+
/**
|
|
747
|
+
* <p>The summary consolidation override configuration input.</p>
|
|
748
|
+
* @public
|
|
749
|
+
*/
|
|
750
|
+
interface SummaryConsolidationOverrideMember {
|
|
751
|
+
semanticConsolidationOverride?: never;
|
|
752
|
+
summaryConsolidationOverride: SummaryOverrideConsolidationConfigurationInput;
|
|
753
|
+
userPreferenceConsolidationOverride?: never;
|
|
754
|
+
episodicConsolidationOverride?: never;
|
|
755
|
+
$unknown?: never;
|
|
756
|
+
}
|
|
757
|
+
/**
|
|
758
|
+
* <p>The user preference consolidation override configuration input.</p>
|
|
759
|
+
* @public
|
|
760
|
+
*/
|
|
761
|
+
interface UserPreferenceConsolidationOverrideMember {
|
|
762
|
+
semanticConsolidationOverride?: never;
|
|
763
|
+
summaryConsolidationOverride?: never;
|
|
764
|
+
userPreferenceConsolidationOverride: UserPreferenceOverrideConsolidationConfigurationInput;
|
|
765
|
+
episodicConsolidationOverride?: never;
|
|
766
|
+
$unknown?: never;
|
|
767
|
+
}
|
|
768
|
+
/**
|
|
769
|
+
* <p>Configurations to override the consolidation step of the episodic strategy.</p>
|
|
770
|
+
* @public
|
|
771
|
+
*/
|
|
772
|
+
interface EpisodicConsolidationOverrideMember {
|
|
773
|
+
semanticConsolidationOverride?: never;
|
|
774
|
+
summaryConsolidationOverride?: never;
|
|
775
|
+
userPreferenceConsolidationOverride?: never;
|
|
776
|
+
episodicConsolidationOverride: EpisodicOverrideConsolidationConfigurationInput;
|
|
777
|
+
$unknown?: never;
|
|
778
|
+
}
|
|
779
|
+
/**
|
|
780
|
+
* @public
|
|
781
|
+
*/
|
|
782
|
+
interface $UnknownMember {
|
|
783
|
+
semanticConsolidationOverride?: never;
|
|
784
|
+
summaryConsolidationOverride?: never;
|
|
785
|
+
userPreferenceConsolidationOverride?: never;
|
|
786
|
+
episodicConsolidationOverride?: never;
|
|
787
|
+
$unknown: [string, any];
|
|
788
|
+
}
|
|
789
|
+
/**
|
|
790
|
+
* @deprecated unused in schema-serde mode.
|
|
791
|
+
*
|
|
792
|
+
*/
|
|
793
|
+
interface Visitor<T> {
|
|
794
|
+
semanticConsolidationOverride: (value: SemanticOverrideConsolidationConfigurationInput) => T;
|
|
795
|
+
summaryConsolidationOverride: (value: SummaryOverrideConsolidationConfigurationInput) => T;
|
|
796
|
+
userPreferenceConsolidationOverride: (value: UserPreferenceOverrideConsolidationConfigurationInput) => T;
|
|
797
|
+
episodicConsolidationOverride: (value: EpisodicOverrideConsolidationConfigurationInput) => T;
|
|
798
|
+
_: (name: string, value: any) => T;
|
|
799
|
+
}
|
|
800
|
+
}
|
|
801
|
+
/**
|
|
802
|
+
* <p>Contains information for modifying a consolidation configuration.</p>
|
|
803
|
+
* @public
|
|
804
|
+
*/
|
|
805
|
+
export type ModifyConsolidationConfiguration = ModifyConsolidationConfiguration.CustomConsolidationConfigurationMember | ModifyConsolidationConfiguration.$UnknownMember;
|
|
806
|
+
/**
|
|
807
|
+
* @public
|
|
808
|
+
*/
|
|
809
|
+
export declare namespace ModifyConsolidationConfiguration {
|
|
810
|
+
/**
|
|
811
|
+
* <p>The updated custom consolidation configuration.</p>
|
|
812
|
+
* @public
|
|
813
|
+
*/
|
|
814
|
+
interface CustomConsolidationConfigurationMember {
|
|
815
|
+
customConsolidationConfiguration: CustomConsolidationConfigurationInput;
|
|
816
|
+
$unknown?: never;
|
|
817
|
+
}
|
|
818
|
+
/**
|
|
819
|
+
* @public
|
|
820
|
+
*/
|
|
821
|
+
interface $UnknownMember {
|
|
822
|
+
customConsolidationConfiguration?: never;
|
|
823
|
+
$unknown: [string, any];
|
|
824
|
+
}
|
|
825
|
+
/**
|
|
826
|
+
* @deprecated unused in schema-serde mode.
|
|
827
|
+
*
|
|
828
|
+
*/
|
|
829
|
+
interface Visitor<T> {
|
|
830
|
+
customConsolidationConfiguration: (value: CustomConsolidationConfigurationInput) => T;
|
|
831
|
+
_: (name: string, value: any) => T;
|
|
832
|
+
}
|
|
833
|
+
}
|
|
834
|
+
/**
|
|
835
|
+
* <p>Input for a custom extraction configuration.</p>
|
|
836
|
+
* @public
|
|
837
|
+
*/
|
|
838
|
+
export type CustomExtractionConfigurationInput = CustomExtractionConfigurationInput.EpisodicExtractionOverrideMember | CustomExtractionConfigurationInput.SemanticExtractionOverrideMember | CustomExtractionConfigurationInput.UserPreferenceExtractionOverrideMember | CustomExtractionConfigurationInput.$UnknownMember;
|
|
839
|
+
/**
|
|
840
|
+
* @public
|
|
841
|
+
*/
|
|
842
|
+
export declare namespace CustomExtractionConfigurationInput {
|
|
843
|
+
/**
|
|
844
|
+
* <p>The semantic extraction override configuration input.</p>
|
|
845
|
+
* @public
|
|
846
|
+
*/
|
|
847
|
+
interface SemanticExtractionOverrideMember {
|
|
848
|
+
semanticExtractionOverride: SemanticOverrideExtractionConfigurationInput;
|
|
849
|
+
userPreferenceExtractionOverride?: never;
|
|
850
|
+
episodicExtractionOverride?: never;
|
|
851
|
+
$unknown?: never;
|
|
852
|
+
}
|
|
853
|
+
/**
|
|
854
|
+
* <p>The user preference extraction override configuration input.</p>
|
|
855
|
+
* @public
|
|
856
|
+
*/
|
|
857
|
+
interface UserPreferenceExtractionOverrideMember {
|
|
858
|
+
semanticExtractionOverride?: never;
|
|
859
|
+
userPreferenceExtractionOverride: UserPreferenceOverrideExtractionConfigurationInput;
|
|
860
|
+
episodicExtractionOverride?: never;
|
|
861
|
+
$unknown?: never;
|
|
862
|
+
}
|
|
863
|
+
/**
|
|
864
|
+
* <p>Configurations to override the extraction step of the episodic strategy.</p>
|
|
865
|
+
* @public
|
|
866
|
+
*/
|
|
867
|
+
interface EpisodicExtractionOverrideMember {
|
|
868
|
+
semanticExtractionOverride?: never;
|
|
869
|
+
userPreferenceExtractionOverride?: never;
|
|
870
|
+
episodicExtractionOverride: EpisodicOverrideExtractionConfigurationInput;
|
|
871
|
+
$unknown?: never;
|
|
872
|
+
}
|
|
873
|
+
/**
|
|
874
|
+
* @public
|
|
875
|
+
*/
|
|
876
|
+
interface $UnknownMember {
|
|
877
|
+
semanticExtractionOverride?: never;
|
|
878
|
+
userPreferenceExtractionOverride?: never;
|
|
879
|
+
episodicExtractionOverride?: never;
|
|
880
|
+
$unknown: [string, any];
|
|
881
|
+
}
|
|
882
|
+
/**
|
|
883
|
+
* @deprecated unused in schema-serde mode.
|
|
884
|
+
*
|
|
885
|
+
*/
|
|
886
|
+
interface Visitor<T> {
|
|
887
|
+
semanticExtractionOverride: (value: SemanticOverrideExtractionConfigurationInput) => T;
|
|
888
|
+
userPreferenceExtractionOverride: (value: UserPreferenceOverrideExtractionConfigurationInput) => T;
|
|
889
|
+
episodicExtractionOverride: (value: EpisodicOverrideExtractionConfigurationInput) => T;
|
|
890
|
+
_: (name: string, value: any) => T;
|
|
891
|
+
}
|
|
892
|
+
}
|
|
893
|
+
/**
|
|
894
|
+
* <p>Contains information for modifying an extraction configuration.</p>
|
|
895
|
+
* @public
|
|
896
|
+
*/
|
|
897
|
+
export type ModifyExtractionConfiguration = ModifyExtractionConfiguration.CustomExtractionConfigurationMember | ModifyExtractionConfiguration.$UnknownMember;
|
|
898
|
+
/**
|
|
899
|
+
* @public
|
|
900
|
+
*/
|
|
901
|
+
export declare namespace ModifyExtractionConfiguration {
|
|
902
|
+
/**
|
|
903
|
+
* <p>The updated custom extraction configuration.</p>
|
|
904
|
+
* @public
|
|
905
|
+
*/
|
|
906
|
+
interface CustomExtractionConfigurationMember {
|
|
907
|
+
customExtractionConfiguration: CustomExtractionConfigurationInput;
|
|
908
|
+
$unknown?: never;
|
|
909
|
+
}
|
|
910
|
+
/**
|
|
911
|
+
* @public
|
|
912
|
+
*/
|
|
913
|
+
interface $UnknownMember {
|
|
914
|
+
customExtractionConfiguration?: never;
|
|
915
|
+
$unknown: [string, any];
|
|
916
|
+
}
|
|
917
|
+
/**
|
|
918
|
+
* @deprecated unused in schema-serde mode.
|
|
919
|
+
*
|
|
920
|
+
*/
|
|
921
|
+
interface Visitor<T> {
|
|
922
|
+
customExtractionConfiguration: (value: CustomExtractionConfigurationInput) => T;
|
|
923
|
+
_: (name: string, value: any) => T;
|
|
924
|
+
}
|
|
925
|
+
}
|
|
926
|
+
/**
|
|
927
|
+
* <p>Input for a custom reflection configuration.</p>
|
|
928
|
+
* @public
|
|
929
|
+
*/
|
|
930
|
+
export type CustomReflectionConfigurationInput = CustomReflectionConfigurationInput.EpisodicReflectionOverrideMember | CustomReflectionConfigurationInput.$UnknownMember;
|
|
931
|
+
/**
|
|
932
|
+
* @public
|
|
933
|
+
*/
|
|
934
|
+
export declare namespace CustomReflectionConfigurationInput {
|
|
935
|
+
/**
|
|
936
|
+
* <p>The reflection override configuration input.</p>
|
|
937
|
+
* @public
|
|
938
|
+
*/
|
|
939
|
+
interface EpisodicReflectionOverrideMember {
|
|
940
|
+
episodicReflectionOverride: EpisodicOverrideReflectionConfigurationInput;
|
|
941
|
+
$unknown?: never;
|
|
942
|
+
}
|
|
943
|
+
/**
|
|
944
|
+
* @public
|
|
945
|
+
*/
|
|
946
|
+
interface $UnknownMember {
|
|
947
|
+
episodicReflectionOverride?: never;
|
|
948
|
+
$unknown: [string, any];
|
|
949
|
+
}
|
|
950
|
+
/**
|
|
951
|
+
* @deprecated unused in schema-serde mode.
|
|
952
|
+
*
|
|
953
|
+
*/
|
|
954
|
+
interface Visitor<T> {
|
|
955
|
+
episodicReflectionOverride: (value: EpisodicOverrideReflectionConfigurationInput) => T;
|
|
956
|
+
_: (name: string, value: any) => T;
|
|
957
|
+
}
|
|
958
|
+
}
|
|
959
|
+
/**
|
|
960
|
+
* <p>Contains information for modifying a reflection configuration.</p>
|
|
961
|
+
* @public
|
|
962
|
+
*/
|
|
963
|
+
export type ModifyReflectionConfiguration = ModifyReflectionConfiguration.CustomReflectionConfigurationMember | ModifyReflectionConfiguration.EpisodicReflectionConfigurationMember | ModifyReflectionConfiguration.$UnknownMember;
|
|
964
|
+
/**
|
|
965
|
+
* @public
|
|
966
|
+
*/
|
|
967
|
+
export declare namespace ModifyReflectionConfiguration {
|
|
968
|
+
/**
|
|
969
|
+
* <p>The updated episodic reflection configuration.</p>
|
|
970
|
+
* @public
|
|
971
|
+
*/
|
|
972
|
+
interface EpisodicReflectionConfigurationMember {
|
|
973
|
+
episodicReflectionConfiguration: EpisodicReflectionConfigurationInput;
|
|
974
|
+
customReflectionConfiguration?: never;
|
|
975
|
+
$unknown?: never;
|
|
976
|
+
}
|
|
977
|
+
/**
|
|
978
|
+
* <p>The updated custom reflection configuration.</p>
|
|
979
|
+
* @public
|
|
980
|
+
*/
|
|
981
|
+
interface CustomReflectionConfigurationMember {
|
|
982
|
+
episodicReflectionConfiguration?: never;
|
|
983
|
+
customReflectionConfiguration: CustomReflectionConfigurationInput;
|
|
984
|
+
$unknown?: never;
|
|
985
|
+
}
|
|
986
|
+
/**
|
|
987
|
+
* @public
|
|
988
|
+
*/
|
|
989
|
+
interface $UnknownMember {
|
|
990
|
+
episodicReflectionConfiguration?: never;
|
|
991
|
+
customReflectionConfiguration?: never;
|
|
992
|
+
$unknown: [string, any];
|
|
993
|
+
}
|
|
994
|
+
/**
|
|
995
|
+
* @deprecated unused in schema-serde mode.
|
|
996
|
+
*
|
|
997
|
+
*/
|
|
998
|
+
interface Visitor<T> {
|
|
999
|
+
episodicReflectionConfiguration: (value: EpisodicReflectionConfigurationInput) => T;
|
|
1000
|
+
customReflectionConfiguration: (value: CustomReflectionConfigurationInput) => T;
|
|
1001
|
+
_: (name: string, value: any) => T;
|
|
1002
|
+
}
|
|
1003
|
+
}
|
|
1004
|
+
/**
|
|
1005
|
+
* <p>The configuration for updating invocation settings.</p>
|
|
1006
|
+
* @public
|
|
1007
|
+
*/
|
|
1008
|
+
export interface ModifyInvocationConfigurationInput {
|
|
1009
|
+
/**
|
|
1010
|
+
* <p>The updated ARN of the SNS topic for job notifications.</p>
|
|
1011
|
+
* @public
|
|
1012
|
+
*/
|
|
1013
|
+
topicArn?: string | undefined;
|
|
1014
|
+
/**
|
|
1015
|
+
* <p>The updated S3 bucket name for event payload delivery.</p>
|
|
1016
|
+
* @public
|
|
1017
|
+
*/
|
|
1018
|
+
payloadDeliveryBucketName?: string | undefined;
|
|
1019
|
+
}
|
|
1020
|
+
/**
|
|
1021
|
+
* <p>The configuration for updating the self-managed memory strategy.</p>
|
|
1022
|
+
* @public
|
|
1023
|
+
*/
|
|
1024
|
+
export interface ModifySelfManagedConfiguration {
|
|
1025
|
+
/**
|
|
1026
|
+
* <p>The updated list of conditions that trigger memory processing.</p>
|
|
1027
|
+
* @public
|
|
1028
|
+
*/
|
|
1029
|
+
triggerConditions?: TriggerConditionInput[] | undefined;
|
|
1030
|
+
/**
|
|
1031
|
+
* <p>The updated configuration to invoke self-managed memory processing pipeline.</p>
|
|
1032
|
+
* @public
|
|
1033
|
+
*/
|
|
1034
|
+
invocationConfiguration?: ModifyInvocationConfigurationInput | undefined;
|
|
1035
|
+
/**
|
|
1036
|
+
* <p>The updated number of historical messages to include in processing context.</p>
|
|
1037
|
+
* @public
|
|
1038
|
+
*/
|
|
1039
|
+
historicalContextWindowSize?: number | undefined;
|
|
1040
|
+
}
|
|
1041
|
+
/**
|
|
1042
|
+
* <p>Contains information for modifying a strategy configuration.</p>
|
|
1043
|
+
* @public
|
|
1044
|
+
*/
|
|
1045
|
+
export interface ModifyStrategyConfiguration {
|
|
1046
|
+
/**
|
|
1047
|
+
* <p>The updated extraction configuration.</p>
|
|
1048
|
+
* @public
|
|
1049
|
+
*/
|
|
1050
|
+
extraction?: ModifyExtractionConfiguration | undefined;
|
|
1051
|
+
/**
|
|
1052
|
+
* <p>The updated consolidation configuration.</p>
|
|
1053
|
+
* @public
|
|
1054
|
+
*/
|
|
1055
|
+
consolidation?: ModifyConsolidationConfiguration | undefined;
|
|
1056
|
+
/**
|
|
1057
|
+
* <p>The updated reflection configuration.</p>
|
|
1058
|
+
* @public
|
|
1059
|
+
*/
|
|
1060
|
+
reflection?: ModifyReflectionConfiguration | undefined;
|
|
1061
|
+
/**
|
|
1062
|
+
* <p>The updated self-managed configuration.</p>
|
|
1063
|
+
* @public
|
|
1064
|
+
*/
|
|
1065
|
+
selfManagedConfiguration?: ModifySelfManagedConfiguration | undefined;
|
|
1066
|
+
}
|
|
1067
|
+
/**
|
|
1068
|
+
* <p>Input for modifying a memory strategy.</p>
|
|
1069
|
+
* @public
|
|
1070
|
+
*/
|
|
1071
|
+
export interface ModifyMemoryStrategyInput {
|
|
1072
|
+
/**
|
|
1073
|
+
* <p>The unique identifier of the memory strategy to modify.</p>
|
|
1074
|
+
* @public
|
|
1075
|
+
*/
|
|
1076
|
+
memoryStrategyId: string | undefined;
|
|
1077
|
+
/**
|
|
1078
|
+
* <p>The updated description of the memory strategy.</p>
|
|
1079
|
+
* @public
|
|
1080
|
+
*/
|
|
1081
|
+
description?: string | undefined;
|
|
1082
|
+
/**
|
|
1083
|
+
* <p>The updated namespaces for the memory strategy.</p>
|
|
1084
|
+
*
|
|
1085
|
+
* @deprecated (since 2026-03-02) Use namespaceTemplates instead.
|
|
1086
|
+
* @public
|
|
1087
|
+
*/
|
|
1088
|
+
namespaces?: string[] | undefined;
|
|
1089
|
+
/**
|
|
1090
|
+
* <p>The updated namespaceTemplates for the memory strategy.</p>
|
|
1091
|
+
* @public
|
|
1092
|
+
*/
|
|
1093
|
+
namespaceTemplates?: string[] | undefined;
|
|
1094
|
+
/**
|
|
1095
|
+
* <p>The updated configuration for the memory strategy.</p>
|
|
1096
|
+
* @public
|
|
1097
|
+
*/
|
|
1098
|
+
configuration?: ModifyStrategyConfiguration | undefined;
|
|
1099
|
+
}
|
|
1100
|
+
/**
|
|
1101
|
+
* <p>Contains information for modifying memory strategies.</p>
|
|
1102
|
+
* @public
|
|
1103
|
+
*/
|
|
1104
|
+
export interface ModifyMemoryStrategies {
|
|
1105
|
+
/**
|
|
1106
|
+
* <p>The list of memory strategies to add.</p>
|
|
1107
|
+
* @public
|
|
1108
|
+
*/
|
|
1109
|
+
addMemoryStrategies?: MemoryStrategyInput[] | undefined;
|
|
1110
|
+
/**
|
|
1111
|
+
* <p>The list of memory strategies to modify.</p>
|
|
1112
|
+
* @public
|
|
1113
|
+
*/
|
|
1114
|
+
modifyMemoryStrategies?: ModifyMemoryStrategyInput[] | undefined;
|
|
1115
|
+
/**
|
|
1116
|
+
* <p>The list of memory strategies to delete.</p>
|
|
1117
|
+
* @public
|
|
1118
|
+
*/
|
|
1119
|
+
deleteMemoryStrategies?: DeleteMemoryStrategyInput[] | undefined;
|
|
1120
|
+
}
|
|
1121
|
+
/**
|
|
1122
|
+
* @public
|
|
1123
|
+
*/
|
|
1124
|
+
export interface UpdateMemoryInput {
|
|
1125
|
+
/**
|
|
1126
|
+
* <p>A client token is used for keeping track of idempotent requests. It can contain a session id which can be around 250 chars, combined with a unique AWS identifier.</p>
|
|
1127
|
+
* @public
|
|
1128
|
+
*/
|
|
1129
|
+
clientToken?: string | undefined;
|
|
1130
|
+
/**
|
|
1131
|
+
* <p>The unique identifier of the memory to update.</p>
|
|
1132
|
+
* @public
|
|
1133
|
+
*/
|
|
1134
|
+
memoryId: string | undefined;
|
|
1135
|
+
/**
|
|
1136
|
+
* <p>The updated description of the AgentCore Memory resource.</p>
|
|
1137
|
+
* @public
|
|
1138
|
+
*/
|
|
1139
|
+
description?: string | undefined;
|
|
1140
|
+
/**
|
|
1141
|
+
* <p>The number of days after which memory events will expire, between 7 and 365 days.</p>
|
|
1142
|
+
* @public
|
|
1143
|
+
*/
|
|
1144
|
+
eventExpiryDuration?: number | undefined;
|
|
1145
|
+
/**
|
|
1146
|
+
* <p>The ARN of the IAM role that provides permissions for the AgentCore Memory resource.</p>
|
|
1147
|
+
* @public
|
|
1148
|
+
*/
|
|
1149
|
+
memoryExecutionRoleArn?: string | undefined;
|
|
1150
|
+
/**
|
|
1151
|
+
* <p>The memory strategies to add, modify, or delete.</p>
|
|
1152
|
+
* @public
|
|
1153
|
+
*/
|
|
1154
|
+
memoryStrategies?: ModifyMemoryStrategies | undefined;
|
|
1155
|
+
/**
|
|
1156
|
+
* <p>Configuration for streaming memory record data to external resources.</p>
|
|
1157
|
+
* @public
|
|
1158
|
+
*/
|
|
1159
|
+
streamDeliveryResources?: StreamDeliveryResources | undefined;
|
|
1160
|
+
}
|
|
1161
|
+
/**
|
|
1162
|
+
* @public
|
|
1163
|
+
*/
|
|
1164
|
+
export interface UpdateMemoryOutput {
|
|
1165
|
+
/**
|
|
1166
|
+
* <p>The updated AgentCore Memory resource details.</p>
|
|
1167
|
+
* @public
|
|
1168
|
+
*/
|
|
1169
|
+
memory?: Memory | undefined;
|
|
1170
|
+
}
|
|
1171
|
+
/**
|
|
1172
|
+
* <p>Configuration settings for connecting to Atlassian services using OAuth2 authentication. This includes the client credentials required to authenticate with Atlassian's OAuth2 authorization server.</p>
|
|
1173
|
+
* @public
|
|
1174
|
+
*/
|
|
1175
|
+
export interface AtlassianOauth2ProviderConfigInput {
|
|
1176
|
+
/**
|
|
1177
|
+
* <p>The client ID for the Atlassian OAuth2 provider. This identifier is assigned by Atlassian when you register your application.</p>
|
|
1178
|
+
* @public
|
|
1179
|
+
*/
|
|
1180
|
+
clientId: string | undefined;
|
|
1181
|
+
/**
|
|
1182
|
+
* <p>The client secret for the Atlassian OAuth2 provider. This secret is assigned by Atlassian and used along with the client ID to authenticate your application.</p>
|
|
1183
|
+
* @public
|
|
1184
|
+
*/
|
|
1185
|
+
clientSecret: string | undefined;
|
|
1186
|
+
}
|
|
1187
|
+
/**
|
|
1188
|
+
* <p>Contains the authorization server metadata for an OAuth2 provider.</p>
|
|
1189
|
+
* @public
|
|
1190
|
+
*/
|
|
1191
|
+
export interface Oauth2AuthorizationServerMetadata {
|
|
1192
|
+
/**
|
|
1193
|
+
* <p>The issuer URL for the OAuth2 authorization server.</p>
|
|
1194
|
+
* @public
|
|
1195
|
+
*/
|
|
1196
|
+
issuer: string | undefined;
|
|
1197
|
+
/**
|
|
1198
|
+
* <p>The authorization endpoint URL for the OAuth2 authorization server.</p>
|
|
1199
|
+
* @public
|
|
1200
|
+
*/
|
|
1201
|
+
authorizationEndpoint: string | undefined;
|
|
1202
|
+
/**
|
|
1203
|
+
* <p>The token endpoint URL for the OAuth2 authorization server.</p>
|
|
1204
|
+
* @public
|
|
1205
|
+
*/
|
|
1206
|
+
tokenEndpoint: string | undefined;
|
|
1207
|
+
/**
|
|
1208
|
+
* <p>The supported response types for the OAuth2 authorization server.</p>
|
|
1209
|
+
* @public
|
|
1210
|
+
*/
|
|
1211
|
+
responseTypes?: string[] | undefined;
|
|
1212
|
+
/**
|
|
1213
|
+
* <p>The authentication methods supported by the token endpoint. This specifies how clients can authenticate when requesting tokens from the authorization server.</p>
|
|
1214
|
+
* @public
|
|
1215
|
+
*/
|
|
1216
|
+
tokenEndpointAuthMethods?: string[] | undefined;
|
|
1217
|
+
}
|
|
1218
|
+
/**
|
|
1219
|
+
* <p>Contains the discovery information for an OAuth2 provider.</p>
|
|
1220
|
+
* @public
|
|
1221
|
+
*/
|
|
1222
|
+
export type Oauth2Discovery = Oauth2Discovery.AuthorizationServerMetadataMember | Oauth2Discovery.DiscoveryUrlMember | Oauth2Discovery.$UnknownMember;
|
|
1223
|
+
/**
|
|
1224
|
+
* @public
|
|
1225
|
+
*/
|
|
1226
|
+
export declare namespace Oauth2Discovery {
|
|
1227
|
+
/**
|
|
1228
|
+
* <p>The discovery URL for the OAuth2 provider.</p>
|
|
1229
|
+
* @public
|
|
1230
|
+
*/
|
|
1231
|
+
interface DiscoveryUrlMember {
|
|
1232
|
+
discoveryUrl: string;
|
|
1233
|
+
authorizationServerMetadata?: never;
|
|
1234
|
+
$unknown?: never;
|
|
1235
|
+
}
|
|
1236
|
+
/**
|
|
1237
|
+
* <p>The authorization server metadata for the OAuth2 provider.</p>
|
|
1238
|
+
* @public
|
|
1239
|
+
*/
|
|
1240
|
+
interface AuthorizationServerMetadataMember {
|
|
1241
|
+
discoveryUrl?: never;
|
|
1242
|
+
authorizationServerMetadata: Oauth2AuthorizationServerMetadata;
|
|
1243
|
+
$unknown?: never;
|
|
1244
|
+
}
|
|
1245
|
+
/**
|
|
1246
|
+
* @public
|
|
1247
|
+
*/
|
|
1248
|
+
interface $UnknownMember {
|
|
1249
|
+
discoveryUrl?: never;
|
|
1250
|
+
authorizationServerMetadata?: never;
|
|
1251
|
+
$unknown: [string, any];
|
|
1252
|
+
}
|
|
1253
|
+
/**
|
|
1254
|
+
* @deprecated unused in schema-serde mode.
|
|
1255
|
+
*
|
|
1256
|
+
*/
|
|
1257
|
+
interface Visitor<T> {
|
|
1258
|
+
discoveryUrl: (value: string) => T;
|
|
1259
|
+
authorizationServerMetadata: (value: Oauth2AuthorizationServerMetadata) => T;
|
|
1260
|
+
_: (name: string, value: any) => T;
|
|
1261
|
+
}
|
|
1262
|
+
}
|
|
1263
|
+
/**
|
|
1264
|
+
* <p>Input configuration for a custom OAuth2 provider.</p>
|
|
1265
|
+
* @public
|
|
1266
|
+
*/
|
|
1267
|
+
export interface CustomOauth2ProviderConfigInput {
|
|
1268
|
+
/**
|
|
1269
|
+
* <p>The OAuth2 discovery information for the custom provider.</p>
|
|
1270
|
+
* @public
|
|
1271
|
+
*/
|
|
1272
|
+
oauthDiscovery: Oauth2Discovery | undefined;
|
|
1273
|
+
/**
|
|
1274
|
+
* <p>The client ID for the custom OAuth2 provider.</p>
|
|
1275
|
+
* @public
|
|
1276
|
+
*/
|
|
1277
|
+
clientId: string | undefined;
|
|
1278
|
+
/**
|
|
1279
|
+
* <p>The client secret for the custom OAuth2 provider.</p>
|
|
1280
|
+
* @public
|
|
1281
|
+
*/
|
|
1282
|
+
clientSecret: string | undefined;
|
|
1283
|
+
/**
|
|
1284
|
+
* <p>The default private endpoint for the custom OAuth2 provider, enabling secure connectivity through a VPC Lattice resource configuration.</p>
|
|
1285
|
+
* @public
|
|
1286
|
+
*/
|
|
1287
|
+
privateEndpoint?: PrivateEndpoint | undefined;
|
|
1288
|
+
/**
|
|
1289
|
+
* <p>The list of private endpoint overrides for the custom OAuth2 provider. Each override maps a specific domain to a private endpoint, enabling secure connectivity through VPC Lattice resource configurations.</p>
|
|
1290
|
+
* @public
|
|
1291
|
+
*/
|
|
1292
|
+
privateEndpointOverrides?: PrivateEndpointOverride[] | undefined;
|
|
1293
|
+
}
|
|
1294
|
+
/**
|
|
1295
|
+
* <p>Input configuration for a GitHub OAuth2 provider.</p>
|
|
1296
|
+
* @public
|
|
1297
|
+
*/
|
|
1298
|
+
export interface GithubOauth2ProviderConfigInput {
|
|
1299
|
+
/**
|
|
1300
|
+
* <p>The client ID for the GitHub OAuth2 provider.</p>
|
|
1301
|
+
* @public
|
|
1302
|
+
*/
|
|
1303
|
+
clientId: string | undefined;
|
|
1304
|
+
/**
|
|
1305
|
+
* <p>The client secret for the GitHub OAuth2 provider.</p>
|
|
1306
|
+
* @public
|
|
1307
|
+
*/
|
|
1308
|
+
clientSecret: string | undefined;
|
|
1309
|
+
}
|
|
1310
|
+
/**
|
|
1311
|
+
* <p>Input configuration for a Google OAuth2 provider.</p>
|
|
1312
|
+
* @public
|
|
1313
|
+
*/
|
|
1314
|
+
export interface GoogleOauth2ProviderConfigInput {
|
|
1315
|
+
/**
|
|
1316
|
+
* <p>The client ID for the Google OAuth2 provider.</p>
|
|
1317
|
+
* @public
|
|
1318
|
+
*/
|
|
1319
|
+
clientId: string | undefined;
|
|
1320
|
+
/**
|
|
1321
|
+
* <p>The client secret for the Google OAuth2 provider.</p>
|
|
1322
|
+
* @public
|
|
1323
|
+
*/
|
|
1324
|
+
clientSecret: string | undefined;
|
|
1325
|
+
}
|
|
1326
|
+
/**
|
|
1327
|
+
* <p>Configuration settings for connecting to a supported OAuth2 provider. This includes client credentials and OAuth2 discovery information for providers that have built-in support.</p>
|
|
1328
|
+
* @public
|
|
1329
|
+
*/
|
|
1330
|
+
export interface IncludedOauth2ProviderConfigInput {
|
|
1331
|
+
/**
|
|
1332
|
+
* <p>The client ID for the supported OAuth2 provider. This identifier is assigned by the OAuth2 provider when you register your application.</p>
|
|
1333
|
+
* @public
|
|
1334
|
+
*/
|
|
1335
|
+
clientId: string | undefined;
|
|
1336
|
+
/**
|
|
1337
|
+
* <p>The client secret for the supported OAuth2 provider. This secret is assigned by the OAuth2 provider and used along with the client ID to authenticate your application.</p>
|
|
1338
|
+
* @public
|
|
1339
|
+
*/
|
|
1340
|
+
clientSecret: string | undefined;
|
|
1341
|
+
/**
|
|
1342
|
+
* <p>Token issuer of your isolated OAuth2 application tenant. This URL identifies the authorization server that issues tokens for this provider.</p>
|
|
1343
|
+
* @public
|
|
1344
|
+
*/
|
|
1345
|
+
issuer?: string | undefined;
|
|
1346
|
+
/**
|
|
1347
|
+
* <p>OAuth2 authorization endpoint for your isolated OAuth2 application tenant. This is where users are redirected to authenticate and authorize access to their resources.</p>
|
|
1348
|
+
* @public
|
|
1349
|
+
*/
|
|
1350
|
+
authorizationEndpoint?: string | undefined;
|
|
1351
|
+
/**
|
|
1352
|
+
* <p>OAuth2 token endpoint for your isolated OAuth2 application tenant. This is where authorization codes are exchanged for access tokens.</p>
|
|
1353
|
+
* @public
|
|
1354
|
+
*/
|
|
1355
|
+
tokenEndpoint?: string | undefined;
|
|
1356
|
+
}
|
|
1357
|
+
/**
|
|
1358
|
+
* <p>Configuration settings for connecting to LinkedIn services using OAuth2 authentication. This includes the client credentials required to authenticate with LinkedIn's OAuth2 authorization server.</p>
|
|
1359
|
+
* @public
|
|
1360
|
+
*/
|
|
1361
|
+
export interface LinkedinOauth2ProviderConfigInput {
|
|
1362
|
+
/**
|
|
1363
|
+
* <p>The client ID for the LinkedIn OAuth2 provider. This identifier is assigned by LinkedIn when you register your application.</p>
|
|
1364
|
+
* @public
|
|
1365
|
+
*/
|
|
1366
|
+
clientId: string | undefined;
|
|
1367
|
+
/**
|
|
1368
|
+
* <p>The client secret for the LinkedIn OAuth2 provider. This secret is assigned by LinkedIn and used along with the client ID to authenticate your application.</p>
|
|
1369
|
+
* @public
|
|
1370
|
+
*/
|
|
1371
|
+
clientSecret: string | undefined;
|
|
1372
|
+
}
|
|
3
1373
|
/**
|
|
4
1374
|
* <p>Input configuration for a Microsoft OAuth2 provider.</p>
|
|
5
1375
|
* @public
|
|
@@ -1088,7 +2458,7 @@ export interface CreateOnlineEvaluationConfigRequest {
|
|
|
1088
2458
|
*/
|
|
1089
2459
|
evaluators: EvaluatorReference[] | undefined;
|
|
1090
2460
|
/**
|
|
1091
|
-
* <p> The Amazon Resource Name (ARN) of the IAM role that grants permissions to read from CloudWatch logs, write evaluation results, and invoke Amazon Bedrock models for evaluation. </p>
|
|
2461
|
+
* <p> The Amazon Resource Name (ARN) of the IAM role that grants permissions to read from CloudWatch logs, write evaluation results, and invoke Amazon Bedrock models for evaluation. If the configuration references evaluators encrypted with a customer managed KMS key, this role must also have <code>kms:Decrypt</code> permission on the KMS key. The service validates this permission at configuration creation time. For more information, see <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/evaluations-encryption.html">Encryption at rest for AgentCore Evaluations</a>. </p>
|
|
1092
2462
|
* @public
|
|
1093
2463
|
*/
|
|
1094
2464
|
evaluationExecutionRoleArn: string | undefined;
|
|
@@ -4424,7 +5794,7 @@ export declare namespace McpTargetConfiguration {
|
|
|
4424
5794
|
* <p>The configuration for a gateway target. This structure defines how the gateway connects to and interacts with the target endpoint.</p>
|
|
4425
5795
|
* @public
|
|
4426
5796
|
*/
|
|
4427
|
-
export type TargetConfiguration = TargetConfiguration.McpMember | TargetConfiguration.$UnknownMember;
|
|
5797
|
+
export type TargetConfiguration = TargetConfiguration.HttpMember | TargetConfiguration.McpMember | TargetConfiguration.$UnknownMember;
|
|
4428
5798
|
/**
|
|
4429
5799
|
* @public
|
|
4430
5800
|
*/
|
|
@@ -4435,6 +5805,16 @@ export declare namespace TargetConfiguration {
|
|
|
4435
5805
|
*/
|
|
4436
5806
|
interface McpMember {
|
|
4437
5807
|
mcp: McpTargetConfiguration;
|
|
5808
|
+
http?: never;
|
|
5809
|
+
$unknown?: never;
|
|
5810
|
+
}
|
|
5811
|
+
/**
|
|
5812
|
+
* <p>The HTTP target configuration. Use this to route gateway requests to an HTTP-based endpoint such as an AgentCore Runtime.</p>
|
|
5813
|
+
* @public
|
|
5814
|
+
*/
|
|
5815
|
+
interface HttpMember {
|
|
5816
|
+
mcp?: never;
|
|
5817
|
+
http: HttpTargetConfiguration;
|
|
4438
5818
|
$unknown?: never;
|
|
4439
5819
|
}
|
|
4440
5820
|
/**
|
|
@@ -4442,6 +5822,7 @@ export declare namespace TargetConfiguration {
|
|
|
4442
5822
|
*/
|
|
4443
5823
|
interface $UnknownMember {
|
|
4444
5824
|
mcp?: never;
|
|
5825
|
+
http?: never;
|
|
4445
5826
|
$unknown: [string, any];
|
|
4446
5827
|
}
|
|
4447
5828
|
/**
|
|
@@ -4450,6 +5831,7 @@ export declare namespace TargetConfiguration {
|
|
|
4450
5831
|
*/
|
|
4451
5832
|
interface Visitor<T> {
|
|
4452
5833
|
mcp: (value: McpTargetConfiguration) => T;
|
|
5834
|
+
http: (value: HttpTargetConfiguration) => T;
|
|
4453
5835
|
_: (name: string, value: any) => T;
|
|
4454
5836
|
}
|
|
4455
5837
|
}
|
|
@@ -4577,6 +5959,11 @@ export interface CreateGatewayTargetResponse {
|
|
|
4577
5959
|
* @public
|
|
4578
5960
|
*/
|
|
4579
5961
|
authorizationData?: AuthorizationData | undefined;
|
|
5962
|
+
/**
|
|
5963
|
+
* <p>The protocol type of the created gateway target.</p>
|
|
5964
|
+
* @public
|
|
5965
|
+
*/
|
|
5966
|
+
protocolType?: TargetProtocolType | undefined;
|
|
4580
5967
|
}
|
|
4581
5968
|
/**
|
|
4582
5969
|
* <p>The gateway target.</p>
|
|
@@ -4658,6 +6045,11 @@ export interface GatewayTarget {
|
|
|
4658
6045
|
* @public
|
|
4659
6046
|
*/
|
|
4660
6047
|
authorizationData?: AuthorizationData | undefined;
|
|
6048
|
+
/**
|
|
6049
|
+
* <p>The protocol type of the gateway target.</p>
|
|
6050
|
+
* @public
|
|
6051
|
+
*/
|
|
6052
|
+
protocolType?: TargetProtocolType | undefined;
|
|
4661
6053
|
}
|
|
4662
6054
|
/**
|
|
4663
6055
|
* @public
|
|
@@ -4738,6 +6130,11 @@ export interface GetGatewayTargetResponse {
|
|
|
4738
6130
|
* @public
|
|
4739
6131
|
*/
|
|
4740
6132
|
authorizationData?: AuthorizationData | undefined;
|
|
6133
|
+
/**
|
|
6134
|
+
* <p>The protocol type of the gateway target.</p>
|
|
6135
|
+
* @public
|
|
6136
|
+
*/
|
|
6137
|
+
protocolType?: TargetProtocolType | undefined;
|
|
4741
6138
|
}
|
|
4742
6139
|
/**
|
|
4743
6140
|
* @public
|
|
@@ -4863,6 +6260,11 @@ export interface UpdateGatewayTargetResponse {
|
|
|
4863
6260
|
* @public
|
|
4864
6261
|
*/
|
|
4865
6262
|
authorizationData?: AuthorizationData | undefined;
|
|
6263
|
+
/**
|
|
6264
|
+
* <p>The protocol type of the updated gateway target.</p>
|
|
6265
|
+
* @public
|
|
6266
|
+
*/
|
|
6267
|
+
protocolType?: TargetProtocolType | undefined;
|
|
4866
6268
|
}
|
|
4867
6269
|
/**
|
|
4868
6270
|
* @public
|