@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
|
@@ -1,5 +1,1701 @@
|
|
|
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 { ActorTokenContentType, ClientAuthenticationMethodType, CredentialProviderVendorType, DescriptorType, FilterOperator, FindingType, MemoryStatus, MemoryStrategyStatus, MemoryStrategyType, MemoryView, OnBehalfOfTokenExchangeGrantTypeType, 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, ContentConfiguration, CredentialProviderConfiguration, EpisodicOverrideConsolidationConfigurationInput, EpisodicOverrideExtractionConfigurationInput, EpisodicOverrideReflectionConfigurationInput, EpisodicReflectionConfigurationInput, HttpTargetConfiguration, IndexedKey, KmsConfiguration, ManagedResourceDetails, McpServerTargetConfiguration, MemoryRecordSchema, MemoryStrategyInput, MetadataConfiguration, PrivateEndpoint, PrivateEndpointOverride, S3Configuration, Secret, SemanticOverrideConsolidationConfigurationInput, SemanticOverrideExtractionConfigurationInput, SkillDefinition, SkillMdDefinition, SummaryOverrideConsolidationConfigurationInput, TriggerConditionInput, UpdatedAuthorizerConfiguration, UserPreferenceOverrideConsolidationConfigurationInput, UserPreferenceOverrideExtractionConfigurationInput } from "./models_0";
|
|
3
|
+
/**
|
|
4
|
+
* <p>Configuration for Kinesis Data Stream delivery.</p>
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface KinesisResource {
|
|
8
|
+
/**
|
|
9
|
+
* <p>ARN of the Kinesis Data Stream.</p>
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
dataStreamArn: string | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* <p>Content configurations for stream delivery.</p>
|
|
15
|
+
* @public
|
|
16
|
+
*/
|
|
17
|
+
contentConfigurations: ContentConfiguration[] | undefined;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* <p>Supported stream delivery resource types.</p>
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
23
|
+
export type StreamDeliveryResource = StreamDeliveryResource.KinesisMember | StreamDeliveryResource.$UnknownMember;
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
*/
|
|
27
|
+
export declare namespace StreamDeliveryResource {
|
|
28
|
+
/**
|
|
29
|
+
* <p>Kinesis Data Stream configuration.</p>
|
|
30
|
+
* @public
|
|
31
|
+
*/
|
|
32
|
+
interface KinesisMember {
|
|
33
|
+
kinesis: KinesisResource;
|
|
34
|
+
$unknown?: never;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* @public
|
|
38
|
+
*/
|
|
39
|
+
interface $UnknownMember {
|
|
40
|
+
kinesis?: never;
|
|
41
|
+
$unknown: [string, any];
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @deprecated unused in schema-serde mode.
|
|
45
|
+
*
|
|
46
|
+
*/
|
|
47
|
+
interface Visitor<T> {
|
|
48
|
+
kinesis: (value: KinesisResource) => T;
|
|
49
|
+
_: (name: string, value: any) => T;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* <p>Configuration for streaming memory record data to external resources.</p>
|
|
54
|
+
* @public
|
|
55
|
+
*/
|
|
56
|
+
export interface StreamDeliveryResources {
|
|
57
|
+
/**
|
|
58
|
+
* <p>List of stream delivery resource configurations.</p>
|
|
59
|
+
* @public
|
|
60
|
+
*/
|
|
61
|
+
resources: StreamDeliveryResource[] | undefined;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* @public
|
|
65
|
+
*/
|
|
66
|
+
export interface CreateMemoryInput {
|
|
67
|
+
/**
|
|
68
|
+
* <p>A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request but does not return an error.</p>
|
|
69
|
+
* @public
|
|
70
|
+
*/
|
|
71
|
+
clientToken?: string | undefined;
|
|
72
|
+
/**
|
|
73
|
+
* <p>The name of the memory. The name must be unique within your account.</p>
|
|
74
|
+
* @public
|
|
75
|
+
*/
|
|
76
|
+
name: string | undefined;
|
|
77
|
+
/**
|
|
78
|
+
* <p>The description of the memory.</p>
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
description?: string | undefined;
|
|
82
|
+
/**
|
|
83
|
+
* <p>The Amazon Resource Name (ARN) of the KMS key used to encrypt the memory data.</p>
|
|
84
|
+
* @public
|
|
85
|
+
*/
|
|
86
|
+
encryptionKeyArn?: string | undefined;
|
|
87
|
+
/**
|
|
88
|
+
* <p>The Amazon Resource Name (ARN) of the IAM role that provides permissions for the memory to access Amazon Web Services services.</p>
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
memoryExecutionRoleArn?: string | undefined;
|
|
92
|
+
/**
|
|
93
|
+
* <p>The duration after which memory events expire. Specified as an ISO 8601 duration.</p>
|
|
94
|
+
* @public
|
|
95
|
+
*/
|
|
96
|
+
eventExpiryDuration: number | undefined;
|
|
97
|
+
/**
|
|
98
|
+
* <p>The memory strategies to use for this memory. Strategies define how information is extracted, processed, and consolidated.</p>
|
|
99
|
+
* @public
|
|
100
|
+
*/
|
|
101
|
+
memoryStrategies?: MemoryStrategyInput[] | undefined;
|
|
102
|
+
/**
|
|
103
|
+
* <p>Metadata keys to index for filtering. Once declared, indexed keys cannot be removed.</p>
|
|
104
|
+
* @public
|
|
105
|
+
*/
|
|
106
|
+
indexedKeys?: IndexedKey[] | undefined;
|
|
107
|
+
/**
|
|
108
|
+
* <p>Configuration for streaming memory record data to external resources.</p>
|
|
109
|
+
* @public
|
|
110
|
+
*/
|
|
111
|
+
streamDeliveryResources?: StreamDeliveryResources | undefined;
|
|
112
|
+
/**
|
|
113
|
+
* <p>A map of tag keys and values to assign to an AgentCore Memory. Tags enable you to categorize your resources in different ways, for example, by purpose, owner, or environment.</p>
|
|
114
|
+
* @public
|
|
115
|
+
*/
|
|
116
|
+
tags?: Record<string, string> | undefined;
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* <p>Contains configurations to override the default consolidation step for the episodic memory strategy.</p>
|
|
120
|
+
* @public
|
|
121
|
+
*/
|
|
122
|
+
export interface EpisodicConsolidationOverride {
|
|
123
|
+
/**
|
|
124
|
+
* <p>The text appended to the prompt for the consolidation step of the episodic memory strategy.</p>
|
|
125
|
+
* @public
|
|
126
|
+
*/
|
|
127
|
+
appendToPrompt: string | undefined;
|
|
128
|
+
/**
|
|
129
|
+
* <p>The model ID used for the consolidation step of the episodic memory strategy.</p>
|
|
130
|
+
* @public
|
|
131
|
+
*/
|
|
132
|
+
modelId: string | undefined;
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* <p>Contains semantic consolidation override configuration.</p>
|
|
136
|
+
* @public
|
|
137
|
+
*/
|
|
138
|
+
export interface SemanticConsolidationOverride {
|
|
139
|
+
/**
|
|
140
|
+
* <p>The text to append to the prompt for semantic consolidation.</p>
|
|
141
|
+
* @public
|
|
142
|
+
*/
|
|
143
|
+
appendToPrompt: string | undefined;
|
|
144
|
+
/**
|
|
145
|
+
* <p>The model ID to use for semantic consolidation.</p>
|
|
146
|
+
* @public
|
|
147
|
+
*/
|
|
148
|
+
modelId: string | undefined;
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* <p>Contains summary consolidation override configuration.</p>
|
|
152
|
+
* @public
|
|
153
|
+
*/
|
|
154
|
+
export interface SummaryConsolidationOverride {
|
|
155
|
+
/**
|
|
156
|
+
* <p>The text to append to the prompt for summary consolidation.</p>
|
|
157
|
+
* @public
|
|
158
|
+
*/
|
|
159
|
+
appendToPrompt: string | undefined;
|
|
160
|
+
/**
|
|
161
|
+
* <p>The model ID to use for summary consolidation.</p>
|
|
162
|
+
* @public
|
|
163
|
+
*/
|
|
164
|
+
modelId: string | undefined;
|
|
165
|
+
}
|
|
166
|
+
/**
|
|
167
|
+
* <p>Contains user preference consolidation override configuration.</p>
|
|
168
|
+
* @public
|
|
169
|
+
*/
|
|
170
|
+
export interface UserPreferenceConsolidationOverride {
|
|
171
|
+
/**
|
|
172
|
+
* <p>The text to append to the prompt for user preference consolidation.</p>
|
|
173
|
+
* @public
|
|
174
|
+
*/
|
|
175
|
+
appendToPrompt: string | undefined;
|
|
176
|
+
/**
|
|
177
|
+
* <p>The model ID to use for user preference consolidation.</p>
|
|
178
|
+
* @public
|
|
179
|
+
*/
|
|
180
|
+
modelId: string | undefined;
|
|
181
|
+
}
|
|
182
|
+
/**
|
|
183
|
+
* <p>Contains custom consolidation configuration information.</p>
|
|
184
|
+
* @public
|
|
185
|
+
*/
|
|
186
|
+
export type CustomConsolidationConfiguration = CustomConsolidationConfiguration.EpisodicConsolidationOverrideMember | CustomConsolidationConfiguration.SemanticConsolidationOverrideMember | CustomConsolidationConfiguration.SummaryConsolidationOverrideMember | CustomConsolidationConfiguration.UserPreferenceConsolidationOverrideMember | CustomConsolidationConfiguration.$UnknownMember;
|
|
187
|
+
/**
|
|
188
|
+
* @public
|
|
189
|
+
*/
|
|
190
|
+
export declare namespace CustomConsolidationConfiguration {
|
|
191
|
+
/**
|
|
192
|
+
* <p>The semantic consolidation override configuration.</p>
|
|
193
|
+
* @public
|
|
194
|
+
*/
|
|
195
|
+
interface SemanticConsolidationOverrideMember {
|
|
196
|
+
semanticConsolidationOverride: SemanticConsolidationOverride;
|
|
197
|
+
summaryConsolidationOverride?: never;
|
|
198
|
+
userPreferenceConsolidationOverride?: never;
|
|
199
|
+
episodicConsolidationOverride?: never;
|
|
200
|
+
$unknown?: never;
|
|
201
|
+
}
|
|
202
|
+
/**
|
|
203
|
+
* <p>The summary consolidation override configuration.</p>
|
|
204
|
+
* @public
|
|
205
|
+
*/
|
|
206
|
+
interface SummaryConsolidationOverrideMember {
|
|
207
|
+
semanticConsolidationOverride?: never;
|
|
208
|
+
summaryConsolidationOverride: SummaryConsolidationOverride;
|
|
209
|
+
userPreferenceConsolidationOverride?: never;
|
|
210
|
+
episodicConsolidationOverride?: never;
|
|
211
|
+
$unknown?: never;
|
|
212
|
+
}
|
|
213
|
+
/**
|
|
214
|
+
* <p>The user preference consolidation override configuration.</p>
|
|
215
|
+
* @public
|
|
216
|
+
*/
|
|
217
|
+
interface UserPreferenceConsolidationOverrideMember {
|
|
218
|
+
semanticConsolidationOverride?: never;
|
|
219
|
+
summaryConsolidationOverride?: never;
|
|
220
|
+
userPreferenceConsolidationOverride: UserPreferenceConsolidationOverride;
|
|
221
|
+
episodicConsolidationOverride?: never;
|
|
222
|
+
$unknown?: never;
|
|
223
|
+
}
|
|
224
|
+
/**
|
|
225
|
+
* <p>The configurations to override the default consolidation step for the episodic memory strategy.</p>
|
|
226
|
+
* @public
|
|
227
|
+
*/
|
|
228
|
+
interface EpisodicConsolidationOverrideMember {
|
|
229
|
+
semanticConsolidationOverride?: never;
|
|
230
|
+
summaryConsolidationOverride?: never;
|
|
231
|
+
userPreferenceConsolidationOverride?: never;
|
|
232
|
+
episodicConsolidationOverride: EpisodicConsolidationOverride;
|
|
233
|
+
$unknown?: never;
|
|
234
|
+
}
|
|
235
|
+
/**
|
|
236
|
+
* @public
|
|
237
|
+
*/
|
|
238
|
+
interface $UnknownMember {
|
|
239
|
+
semanticConsolidationOverride?: never;
|
|
240
|
+
summaryConsolidationOverride?: never;
|
|
241
|
+
userPreferenceConsolidationOverride?: never;
|
|
242
|
+
episodicConsolidationOverride?: never;
|
|
243
|
+
$unknown: [string, any];
|
|
244
|
+
}
|
|
245
|
+
/**
|
|
246
|
+
* @deprecated unused in schema-serde mode.
|
|
247
|
+
*
|
|
248
|
+
*/
|
|
249
|
+
interface Visitor<T> {
|
|
250
|
+
semanticConsolidationOverride: (value: SemanticConsolidationOverride) => T;
|
|
251
|
+
summaryConsolidationOverride: (value: SummaryConsolidationOverride) => T;
|
|
252
|
+
userPreferenceConsolidationOverride: (value: UserPreferenceConsolidationOverride) => T;
|
|
253
|
+
episodicConsolidationOverride: (value: EpisodicConsolidationOverride) => T;
|
|
254
|
+
_: (name: string, value: any) => T;
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
/**
|
|
258
|
+
* <p>Contains consolidation configuration information for a memory strategy.</p>
|
|
259
|
+
* @public
|
|
260
|
+
*/
|
|
261
|
+
export type ConsolidationConfiguration = ConsolidationConfiguration.CustomConsolidationConfigurationMember | ConsolidationConfiguration.$UnknownMember;
|
|
262
|
+
/**
|
|
263
|
+
* @public
|
|
264
|
+
*/
|
|
265
|
+
export declare namespace ConsolidationConfiguration {
|
|
266
|
+
/**
|
|
267
|
+
* <p>The custom consolidation configuration.</p>
|
|
268
|
+
* @public
|
|
269
|
+
*/
|
|
270
|
+
interface CustomConsolidationConfigurationMember {
|
|
271
|
+
customConsolidationConfiguration: CustomConsolidationConfiguration;
|
|
272
|
+
$unknown?: never;
|
|
273
|
+
}
|
|
274
|
+
/**
|
|
275
|
+
* @public
|
|
276
|
+
*/
|
|
277
|
+
interface $UnknownMember {
|
|
278
|
+
customConsolidationConfiguration?: never;
|
|
279
|
+
$unknown: [string, any];
|
|
280
|
+
}
|
|
281
|
+
/**
|
|
282
|
+
* @deprecated unused in schema-serde mode.
|
|
283
|
+
*
|
|
284
|
+
*/
|
|
285
|
+
interface Visitor<T> {
|
|
286
|
+
customConsolidationConfiguration: (value: CustomConsolidationConfiguration) => T;
|
|
287
|
+
_: (name: string, value: any) => T;
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
/**
|
|
291
|
+
* <p>Contains configurations to override the default extraction step for the episodic memory strategy.</p>
|
|
292
|
+
* @public
|
|
293
|
+
*/
|
|
294
|
+
export interface EpisodicExtractionOverride {
|
|
295
|
+
/**
|
|
296
|
+
* <p>The text appended to the prompt for the extraction step of the episodic memory strategy.</p>
|
|
297
|
+
* @public
|
|
298
|
+
*/
|
|
299
|
+
appendToPrompt: string | undefined;
|
|
300
|
+
/**
|
|
301
|
+
* <p>The model ID used for the extraction step of the episodic memory strategy.</p>
|
|
302
|
+
* @public
|
|
303
|
+
*/
|
|
304
|
+
modelId: string | undefined;
|
|
305
|
+
}
|
|
306
|
+
/**
|
|
307
|
+
* <p>Contains semantic extraction override configuration.</p>
|
|
308
|
+
* @public
|
|
309
|
+
*/
|
|
310
|
+
export interface SemanticExtractionOverride {
|
|
311
|
+
/**
|
|
312
|
+
* <p>The text to append to the prompt for semantic extraction.</p>
|
|
313
|
+
* @public
|
|
314
|
+
*/
|
|
315
|
+
appendToPrompt: string | undefined;
|
|
316
|
+
/**
|
|
317
|
+
* <p>The model ID to use for semantic extraction.</p>
|
|
318
|
+
* @public
|
|
319
|
+
*/
|
|
320
|
+
modelId: string | undefined;
|
|
321
|
+
}
|
|
322
|
+
/**
|
|
323
|
+
* <p>Contains user preference extraction override configuration.</p>
|
|
324
|
+
* @public
|
|
325
|
+
*/
|
|
326
|
+
export interface UserPreferenceExtractionOverride {
|
|
327
|
+
/**
|
|
328
|
+
* <p>The text to append to the prompt for user preference extraction.</p>
|
|
329
|
+
* @public
|
|
330
|
+
*/
|
|
331
|
+
appendToPrompt: string | undefined;
|
|
332
|
+
/**
|
|
333
|
+
* <p>The model ID to use for user preference extraction.</p>
|
|
334
|
+
* @public
|
|
335
|
+
*/
|
|
336
|
+
modelId: string | undefined;
|
|
337
|
+
}
|
|
338
|
+
/**
|
|
339
|
+
* <p>Contains custom extraction configuration information.</p>
|
|
340
|
+
* @public
|
|
341
|
+
*/
|
|
342
|
+
export type CustomExtractionConfiguration = CustomExtractionConfiguration.EpisodicExtractionOverrideMember | CustomExtractionConfiguration.SemanticExtractionOverrideMember | CustomExtractionConfiguration.UserPreferenceExtractionOverrideMember | CustomExtractionConfiguration.$UnknownMember;
|
|
343
|
+
/**
|
|
344
|
+
* @public
|
|
345
|
+
*/
|
|
346
|
+
export declare namespace CustomExtractionConfiguration {
|
|
347
|
+
/**
|
|
348
|
+
* <p>The semantic extraction override configuration.</p>
|
|
349
|
+
* @public
|
|
350
|
+
*/
|
|
351
|
+
interface SemanticExtractionOverrideMember {
|
|
352
|
+
semanticExtractionOverride: SemanticExtractionOverride;
|
|
353
|
+
userPreferenceExtractionOverride?: never;
|
|
354
|
+
episodicExtractionOverride?: never;
|
|
355
|
+
$unknown?: never;
|
|
356
|
+
}
|
|
357
|
+
/**
|
|
358
|
+
* <p>The user preference extraction override configuration.</p>
|
|
359
|
+
* @public
|
|
360
|
+
*/
|
|
361
|
+
interface UserPreferenceExtractionOverrideMember {
|
|
362
|
+
semanticExtractionOverride?: never;
|
|
363
|
+
userPreferenceExtractionOverride: UserPreferenceExtractionOverride;
|
|
364
|
+
episodicExtractionOverride?: never;
|
|
365
|
+
$unknown?: never;
|
|
366
|
+
}
|
|
367
|
+
/**
|
|
368
|
+
* <p>The configurations to override the default extraction step for the episodic memory strategy.</p>
|
|
369
|
+
* @public
|
|
370
|
+
*/
|
|
371
|
+
interface EpisodicExtractionOverrideMember {
|
|
372
|
+
semanticExtractionOverride?: never;
|
|
373
|
+
userPreferenceExtractionOverride?: never;
|
|
374
|
+
episodicExtractionOverride: EpisodicExtractionOverride;
|
|
375
|
+
$unknown?: never;
|
|
376
|
+
}
|
|
377
|
+
/**
|
|
378
|
+
* @public
|
|
379
|
+
*/
|
|
380
|
+
interface $UnknownMember {
|
|
381
|
+
semanticExtractionOverride?: never;
|
|
382
|
+
userPreferenceExtractionOverride?: never;
|
|
383
|
+
episodicExtractionOverride?: never;
|
|
384
|
+
$unknown: [string, any];
|
|
385
|
+
}
|
|
386
|
+
/**
|
|
387
|
+
* @deprecated unused in schema-serde mode.
|
|
388
|
+
*
|
|
389
|
+
*/
|
|
390
|
+
interface Visitor<T> {
|
|
391
|
+
semanticExtractionOverride: (value: SemanticExtractionOverride) => T;
|
|
392
|
+
userPreferenceExtractionOverride: (value: UserPreferenceExtractionOverride) => T;
|
|
393
|
+
episodicExtractionOverride: (value: EpisodicExtractionOverride) => T;
|
|
394
|
+
_: (name: string, value: any) => T;
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
/**
|
|
398
|
+
* <p>Contains extraction configuration information for a memory strategy.</p>
|
|
399
|
+
* @public
|
|
400
|
+
*/
|
|
401
|
+
export type ExtractionConfiguration = ExtractionConfiguration.CustomExtractionConfigurationMember | ExtractionConfiguration.$UnknownMember;
|
|
402
|
+
/**
|
|
403
|
+
* @public
|
|
404
|
+
*/
|
|
405
|
+
export declare namespace ExtractionConfiguration {
|
|
406
|
+
/**
|
|
407
|
+
* <p>The custom extraction configuration.</p>
|
|
408
|
+
* @public
|
|
409
|
+
*/
|
|
410
|
+
interface CustomExtractionConfigurationMember {
|
|
411
|
+
customExtractionConfiguration: CustomExtractionConfiguration;
|
|
412
|
+
$unknown?: never;
|
|
413
|
+
}
|
|
414
|
+
/**
|
|
415
|
+
* @public
|
|
416
|
+
*/
|
|
417
|
+
interface $UnknownMember {
|
|
418
|
+
customExtractionConfiguration?: never;
|
|
419
|
+
$unknown: [string, any];
|
|
420
|
+
}
|
|
421
|
+
/**
|
|
422
|
+
* @deprecated unused in schema-serde mode.
|
|
423
|
+
*
|
|
424
|
+
*/
|
|
425
|
+
interface Visitor<T> {
|
|
426
|
+
customExtractionConfiguration: (value: CustomExtractionConfiguration) => T;
|
|
427
|
+
_: (name: string, value: any) => T;
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
/**
|
|
431
|
+
* <p>Contains configurations to override the default reflection step for the episodic memory strategy.</p>
|
|
432
|
+
* @public
|
|
433
|
+
*/
|
|
434
|
+
export interface EpisodicReflectionOverride {
|
|
435
|
+
/**
|
|
436
|
+
* <p>The text appended to the prompt for the reflection step of the episodic memory strategy.</p>
|
|
437
|
+
* @public
|
|
438
|
+
*/
|
|
439
|
+
appendToPrompt: string | undefined;
|
|
440
|
+
/**
|
|
441
|
+
* <p>The model ID used for the reflection step of the episodic memory strategy.</p>
|
|
442
|
+
* @public
|
|
443
|
+
*/
|
|
444
|
+
modelId: string | undefined;
|
|
445
|
+
/**
|
|
446
|
+
* <p>The namespaces over which reflections were created. Can be less nested than the episodic namespaces.</p>
|
|
447
|
+
*
|
|
448
|
+
* @deprecated (since 2026-03-02) Use namespaceTemplates instead.
|
|
449
|
+
* @public
|
|
450
|
+
*/
|
|
451
|
+
namespaces?: string[] | undefined;
|
|
452
|
+
/**
|
|
453
|
+
* <p>The namespaceTemplates over which reflections were created. Can be less nested than the episodic namespaces.</p>
|
|
454
|
+
* @public
|
|
455
|
+
*/
|
|
456
|
+
namespaceTemplates?: string[] | undefined;
|
|
457
|
+
/**
|
|
458
|
+
* <p>Schema for metadata fields on records generated by this reflection override.</p>
|
|
459
|
+
* @public
|
|
460
|
+
*/
|
|
461
|
+
memoryRecordSchema?: MemoryRecordSchema | undefined;
|
|
462
|
+
}
|
|
463
|
+
/**
|
|
464
|
+
* <p>Contains configurations for a custom reflection strategy.</p>
|
|
465
|
+
* @public
|
|
466
|
+
*/
|
|
467
|
+
export type CustomReflectionConfiguration = CustomReflectionConfiguration.EpisodicReflectionOverrideMember | CustomReflectionConfiguration.$UnknownMember;
|
|
468
|
+
/**
|
|
469
|
+
* @public
|
|
470
|
+
*/
|
|
471
|
+
export declare namespace CustomReflectionConfiguration {
|
|
472
|
+
/**
|
|
473
|
+
* <p>The configuration for a reflection strategy to override the default one.</p>
|
|
474
|
+
* @public
|
|
475
|
+
*/
|
|
476
|
+
interface EpisodicReflectionOverrideMember {
|
|
477
|
+
episodicReflectionOverride: EpisodicReflectionOverride;
|
|
478
|
+
$unknown?: never;
|
|
479
|
+
}
|
|
480
|
+
/**
|
|
481
|
+
* @public
|
|
482
|
+
*/
|
|
483
|
+
interface $UnknownMember {
|
|
484
|
+
episodicReflectionOverride?: never;
|
|
485
|
+
$unknown: [string, any];
|
|
486
|
+
}
|
|
487
|
+
/**
|
|
488
|
+
* @deprecated unused in schema-serde mode.
|
|
489
|
+
*
|
|
490
|
+
*/
|
|
491
|
+
interface Visitor<T> {
|
|
492
|
+
episodicReflectionOverride: (value: EpisodicReflectionOverride) => T;
|
|
493
|
+
_: (name: string, value: any) => T;
|
|
494
|
+
}
|
|
495
|
+
}
|
|
496
|
+
/**
|
|
497
|
+
* <p>The configuration for the reflections created with the episodic memory strategy.</p>
|
|
498
|
+
* @public
|
|
499
|
+
*/
|
|
500
|
+
export interface EpisodicReflectionConfiguration {
|
|
501
|
+
/**
|
|
502
|
+
* <p>The namespaces for which to create reflections. Can be less nested than the episodic namespaces.</p>
|
|
503
|
+
*
|
|
504
|
+
* @deprecated (since 2026-03-02) Use namespaceTemplates instead.
|
|
505
|
+
* @public
|
|
506
|
+
*/
|
|
507
|
+
namespaces?: string[] | undefined;
|
|
508
|
+
/**
|
|
509
|
+
* <p>The namespaceTemplates for which to create reflections. Can be less nested than the episodic namespaces.</p>
|
|
510
|
+
* @public
|
|
511
|
+
*/
|
|
512
|
+
namespaceTemplates?: string[] | undefined;
|
|
513
|
+
/**
|
|
514
|
+
* <p>"Schema for metadata fields on records generated by reflections.</p>
|
|
515
|
+
* @public
|
|
516
|
+
*/
|
|
517
|
+
memoryRecordSchema?: MemoryRecordSchema | undefined;
|
|
518
|
+
}
|
|
519
|
+
/**
|
|
520
|
+
* <p>Contains reflection configuration information for a memory strategy.</p>
|
|
521
|
+
* @public
|
|
522
|
+
*/
|
|
523
|
+
export type ReflectionConfiguration = ReflectionConfiguration.CustomReflectionConfigurationMember | ReflectionConfiguration.EpisodicReflectionConfigurationMember | ReflectionConfiguration.$UnknownMember;
|
|
524
|
+
/**
|
|
525
|
+
* @public
|
|
526
|
+
*/
|
|
527
|
+
export declare namespace ReflectionConfiguration {
|
|
528
|
+
/**
|
|
529
|
+
* <p>The configuration for a custom reflection strategy.</p>
|
|
530
|
+
* @public
|
|
531
|
+
*/
|
|
532
|
+
interface CustomReflectionConfigurationMember {
|
|
533
|
+
customReflectionConfiguration: CustomReflectionConfiguration;
|
|
534
|
+
episodicReflectionConfiguration?: never;
|
|
535
|
+
$unknown?: never;
|
|
536
|
+
}
|
|
537
|
+
/**
|
|
538
|
+
* <p>The configuration for the episodic reflection strategy.</p>
|
|
539
|
+
* @public
|
|
540
|
+
*/
|
|
541
|
+
interface EpisodicReflectionConfigurationMember {
|
|
542
|
+
customReflectionConfiguration?: never;
|
|
543
|
+
episodicReflectionConfiguration: EpisodicReflectionConfiguration;
|
|
544
|
+
$unknown?: never;
|
|
545
|
+
}
|
|
546
|
+
/**
|
|
547
|
+
* @public
|
|
548
|
+
*/
|
|
549
|
+
interface $UnknownMember {
|
|
550
|
+
customReflectionConfiguration?: never;
|
|
551
|
+
episodicReflectionConfiguration?: never;
|
|
552
|
+
$unknown: [string, any];
|
|
553
|
+
}
|
|
554
|
+
/**
|
|
555
|
+
* @deprecated unused in schema-serde mode.
|
|
556
|
+
*
|
|
557
|
+
*/
|
|
558
|
+
interface Visitor<T> {
|
|
559
|
+
customReflectionConfiguration: (value: CustomReflectionConfiguration) => T;
|
|
560
|
+
episodicReflectionConfiguration: (value: EpisodicReflectionConfiguration) => T;
|
|
561
|
+
_: (name: string, value: any) => T;
|
|
562
|
+
}
|
|
563
|
+
}
|
|
564
|
+
/**
|
|
565
|
+
* <p>The configuration to invoke a self-managed memory processing pipeline with.</p>
|
|
566
|
+
* @public
|
|
567
|
+
*/
|
|
568
|
+
export interface InvocationConfiguration {
|
|
569
|
+
/**
|
|
570
|
+
* <p>The ARN of the SNS topic for job notifications.</p>
|
|
571
|
+
* @public
|
|
572
|
+
*/
|
|
573
|
+
topicArn: string | undefined;
|
|
574
|
+
/**
|
|
575
|
+
* <p>The S3 bucket name for event payload delivery.</p>
|
|
576
|
+
* @public
|
|
577
|
+
*/
|
|
578
|
+
payloadDeliveryBucketName: string | undefined;
|
|
579
|
+
}
|
|
580
|
+
/**
|
|
581
|
+
* <p>The trigger configuration based on a message.</p>
|
|
582
|
+
* @public
|
|
583
|
+
*/
|
|
584
|
+
export interface MessageBasedTrigger {
|
|
585
|
+
/**
|
|
586
|
+
* <p>The number of messages that trigger memory processing.</p>
|
|
587
|
+
* @public
|
|
588
|
+
*/
|
|
589
|
+
messageCount?: number | undefined;
|
|
590
|
+
}
|
|
591
|
+
/**
|
|
592
|
+
* <p>Trigger configuration based on time.</p>
|
|
593
|
+
* @public
|
|
594
|
+
*/
|
|
595
|
+
export interface TimeBasedTrigger {
|
|
596
|
+
/**
|
|
597
|
+
* <p>Idle session timeout (seconds) that triggers memory processing.</p>
|
|
598
|
+
* @public
|
|
599
|
+
*/
|
|
600
|
+
idleSessionTimeout?: number | undefined;
|
|
601
|
+
}
|
|
602
|
+
/**
|
|
603
|
+
* <p>Trigger configuration based on tokens.</p>
|
|
604
|
+
* @public
|
|
605
|
+
*/
|
|
606
|
+
export interface TokenBasedTrigger {
|
|
607
|
+
/**
|
|
608
|
+
* <p>Number of tokens that trigger memory processing.</p>
|
|
609
|
+
* @public
|
|
610
|
+
*/
|
|
611
|
+
tokenCount?: number | undefined;
|
|
612
|
+
}
|
|
613
|
+
/**
|
|
614
|
+
* <p>Condition that triggers memory processing.</p>
|
|
615
|
+
* @public
|
|
616
|
+
*/
|
|
617
|
+
export type TriggerCondition = TriggerCondition.MessageBasedTriggerMember | TriggerCondition.TimeBasedTriggerMember | TriggerCondition.TokenBasedTriggerMember | TriggerCondition.$UnknownMember;
|
|
618
|
+
/**
|
|
619
|
+
* @public
|
|
620
|
+
*/
|
|
621
|
+
export declare namespace TriggerCondition {
|
|
622
|
+
/**
|
|
623
|
+
* <p>Message based trigger configuration.</p>
|
|
624
|
+
* @public
|
|
625
|
+
*/
|
|
626
|
+
interface MessageBasedTriggerMember {
|
|
627
|
+
messageBasedTrigger: MessageBasedTrigger;
|
|
628
|
+
tokenBasedTrigger?: never;
|
|
629
|
+
timeBasedTrigger?: never;
|
|
630
|
+
$unknown?: never;
|
|
631
|
+
}
|
|
632
|
+
/**
|
|
633
|
+
* <p>Token based trigger configuration.</p>
|
|
634
|
+
* @public
|
|
635
|
+
*/
|
|
636
|
+
interface TokenBasedTriggerMember {
|
|
637
|
+
messageBasedTrigger?: never;
|
|
638
|
+
tokenBasedTrigger: TokenBasedTrigger;
|
|
639
|
+
timeBasedTrigger?: never;
|
|
640
|
+
$unknown?: never;
|
|
641
|
+
}
|
|
642
|
+
/**
|
|
643
|
+
* <p>Time based trigger configuration.</p>
|
|
644
|
+
* @public
|
|
645
|
+
*/
|
|
646
|
+
interface TimeBasedTriggerMember {
|
|
647
|
+
messageBasedTrigger?: never;
|
|
648
|
+
tokenBasedTrigger?: never;
|
|
649
|
+
timeBasedTrigger: TimeBasedTrigger;
|
|
650
|
+
$unknown?: never;
|
|
651
|
+
}
|
|
652
|
+
/**
|
|
653
|
+
* @public
|
|
654
|
+
*/
|
|
655
|
+
interface $UnknownMember {
|
|
656
|
+
messageBasedTrigger?: never;
|
|
657
|
+
tokenBasedTrigger?: never;
|
|
658
|
+
timeBasedTrigger?: never;
|
|
659
|
+
$unknown: [string, any];
|
|
660
|
+
}
|
|
661
|
+
/**
|
|
662
|
+
* @deprecated unused in schema-serde mode.
|
|
663
|
+
*
|
|
664
|
+
*/
|
|
665
|
+
interface Visitor<T> {
|
|
666
|
+
messageBasedTrigger: (value: MessageBasedTrigger) => T;
|
|
667
|
+
tokenBasedTrigger: (value: TokenBasedTrigger) => T;
|
|
668
|
+
timeBasedTrigger: (value: TimeBasedTrigger) => T;
|
|
669
|
+
_: (name: string, value: any) => T;
|
|
670
|
+
}
|
|
671
|
+
}
|
|
672
|
+
/**
|
|
673
|
+
* <p>A configuration for a self-managed memory strategy.</p>
|
|
674
|
+
* @public
|
|
675
|
+
*/
|
|
676
|
+
export interface SelfManagedConfiguration {
|
|
677
|
+
/**
|
|
678
|
+
* <p>A list of conditions that trigger memory processing.</p>
|
|
679
|
+
* @public
|
|
680
|
+
*/
|
|
681
|
+
triggerConditions: TriggerCondition[] | undefined;
|
|
682
|
+
/**
|
|
683
|
+
* <p>The configuration to use when invoking memory processing.</p>
|
|
684
|
+
* @public
|
|
685
|
+
*/
|
|
686
|
+
invocationConfiguration: InvocationConfiguration | undefined;
|
|
687
|
+
/**
|
|
688
|
+
* <p>The number of historical messages to include in processing context.</p>
|
|
689
|
+
* @public
|
|
690
|
+
*/
|
|
691
|
+
historicalContextWindowSize: number | undefined;
|
|
692
|
+
}
|
|
693
|
+
/**
|
|
694
|
+
* <p>Contains configuration information for a memory strategy.</p>
|
|
695
|
+
* @public
|
|
696
|
+
*/
|
|
697
|
+
export interface StrategyConfiguration {
|
|
698
|
+
/**
|
|
699
|
+
* <p>The type of override for the strategy configuration.</p>
|
|
700
|
+
* @public
|
|
701
|
+
*/
|
|
702
|
+
type?: OverrideType | undefined;
|
|
703
|
+
/**
|
|
704
|
+
* <p>The extraction configuration for the memory strategy.</p>
|
|
705
|
+
* @public
|
|
706
|
+
*/
|
|
707
|
+
extraction?: ExtractionConfiguration | undefined;
|
|
708
|
+
/**
|
|
709
|
+
* <p>The consolidation configuration for the memory strategy.</p>
|
|
710
|
+
* @public
|
|
711
|
+
*/
|
|
712
|
+
consolidation?: ConsolidationConfiguration | undefined;
|
|
713
|
+
/**
|
|
714
|
+
* <p>The reflection configuration for the memory strategy.</p>
|
|
715
|
+
* @public
|
|
716
|
+
*/
|
|
717
|
+
reflection?: ReflectionConfiguration | undefined;
|
|
718
|
+
/**
|
|
719
|
+
* <p>Self-managed configuration settings.</p>
|
|
720
|
+
* @public
|
|
721
|
+
*/
|
|
722
|
+
selfManagedConfiguration?: SelfManagedConfiguration | undefined;
|
|
723
|
+
}
|
|
724
|
+
/**
|
|
725
|
+
* <p>Contains information about a memory strategy.</p>
|
|
726
|
+
* @public
|
|
727
|
+
*/
|
|
728
|
+
export interface MemoryStrategy {
|
|
729
|
+
/**
|
|
730
|
+
* <p>The unique identifier of the memory strategy.</p>
|
|
731
|
+
* @public
|
|
732
|
+
*/
|
|
733
|
+
strategyId: string | undefined;
|
|
734
|
+
/**
|
|
735
|
+
* <p>The name of the memory strategy.</p>
|
|
736
|
+
* @public
|
|
737
|
+
*/
|
|
738
|
+
name: string | undefined;
|
|
739
|
+
/**
|
|
740
|
+
* <p>The description of the memory strategy.</p>
|
|
741
|
+
* @public
|
|
742
|
+
*/
|
|
743
|
+
description?: string | undefined;
|
|
744
|
+
/**
|
|
745
|
+
* <p>The configuration of the memory strategy.</p>
|
|
746
|
+
* @public
|
|
747
|
+
*/
|
|
748
|
+
configuration?: StrategyConfiguration | undefined;
|
|
749
|
+
/**
|
|
750
|
+
* <p>The type of the memory strategy.</p>
|
|
751
|
+
* @public
|
|
752
|
+
*/
|
|
753
|
+
type: MemoryStrategyType | undefined;
|
|
754
|
+
/**
|
|
755
|
+
* <p>The namespaces associated with the memory strategy.</p>
|
|
756
|
+
*
|
|
757
|
+
* @deprecated (since 2026-03-02) Use namespaceTemplates instead.
|
|
758
|
+
* @public
|
|
759
|
+
*/
|
|
760
|
+
namespaces: string[] | undefined;
|
|
761
|
+
/**
|
|
762
|
+
* <p>The namespaceTemplates associated with the memory strategy.</p>
|
|
763
|
+
* @public
|
|
764
|
+
*/
|
|
765
|
+
namespaceTemplates: string[] | undefined;
|
|
766
|
+
/**
|
|
767
|
+
* <p>The timestamp when the memory strategy was created.</p>
|
|
768
|
+
* @public
|
|
769
|
+
*/
|
|
770
|
+
createdAt?: Date | undefined;
|
|
771
|
+
/**
|
|
772
|
+
* <p>The timestamp when the memory strategy was last updated.</p>
|
|
773
|
+
* @public
|
|
774
|
+
*/
|
|
775
|
+
updatedAt?: Date | undefined;
|
|
776
|
+
/**
|
|
777
|
+
* <p>The current status of the memory strategy.</p>
|
|
778
|
+
* @public
|
|
779
|
+
*/
|
|
780
|
+
status?: MemoryStrategyStatus | undefined;
|
|
781
|
+
/**
|
|
782
|
+
* <p>Schema for metadata fields on records generated by this strategy.</p>
|
|
783
|
+
* @public
|
|
784
|
+
*/
|
|
785
|
+
memoryRecordSchema?: MemoryRecordSchema | undefined;
|
|
786
|
+
}
|
|
787
|
+
/**
|
|
788
|
+
* <p>Contains information about a memory resource.</p>
|
|
789
|
+
* @public
|
|
790
|
+
*/
|
|
791
|
+
export interface Memory {
|
|
792
|
+
/**
|
|
793
|
+
* <p>The Amazon Resource Name (ARN) of the memory.</p>
|
|
794
|
+
* @public
|
|
795
|
+
*/
|
|
796
|
+
arn: string | undefined;
|
|
797
|
+
/**
|
|
798
|
+
* <p>The unique identifier of the memory.</p>
|
|
799
|
+
* @public
|
|
800
|
+
*/
|
|
801
|
+
id: string | undefined;
|
|
802
|
+
/**
|
|
803
|
+
* <p>The name of the memory.</p>
|
|
804
|
+
* @public
|
|
805
|
+
*/
|
|
806
|
+
name: string | undefined;
|
|
807
|
+
/**
|
|
808
|
+
* <p>The description of the memory.</p>
|
|
809
|
+
* @public
|
|
810
|
+
*/
|
|
811
|
+
description?: string | undefined;
|
|
812
|
+
/**
|
|
813
|
+
* <p>The ARN of the KMS key used to encrypt the memory.</p>
|
|
814
|
+
* @public
|
|
815
|
+
*/
|
|
816
|
+
encryptionKeyArn?: string | undefined;
|
|
817
|
+
/**
|
|
818
|
+
* <p>The ARN of the IAM role that provides permissions for the memory.</p>
|
|
819
|
+
* @public
|
|
820
|
+
*/
|
|
821
|
+
memoryExecutionRoleArn?: string | undefined;
|
|
822
|
+
/**
|
|
823
|
+
* <p>The number of days after which memory events will expire.</p>
|
|
824
|
+
* @public
|
|
825
|
+
*/
|
|
826
|
+
eventExpiryDuration: number | undefined;
|
|
827
|
+
/**
|
|
828
|
+
* <p>The current status of the memory.</p>
|
|
829
|
+
* @public
|
|
830
|
+
*/
|
|
831
|
+
status: MemoryStatus | undefined;
|
|
832
|
+
/**
|
|
833
|
+
* <p>The reason for failure if the memory is in a failed state.</p>
|
|
834
|
+
* @public
|
|
835
|
+
*/
|
|
836
|
+
failureReason?: string | undefined;
|
|
837
|
+
/**
|
|
838
|
+
* <p>The timestamp when the memory was created.</p>
|
|
839
|
+
* @public
|
|
840
|
+
*/
|
|
841
|
+
createdAt: Date | undefined;
|
|
842
|
+
/**
|
|
843
|
+
* <p>The timestamp when the memory was last updated.</p>
|
|
844
|
+
* @public
|
|
845
|
+
*/
|
|
846
|
+
updatedAt: Date | undefined;
|
|
847
|
+
/**
|
|
848
|
+
* <p>The list of memory strategies associated with this memory.</p>
|
|
849
|
+
* @public
|
|
850
|
+
*/
|
|
851
|
+
strategies?: MemoryStrategy[] | undefined;
|
|
852
|
+
/**
|
|
853
|
+
* <p>The indexed metadata keys for this memory. Only indexed keys can be used in metadata filters.</p>
|
|
854
|
+
* @public
|
|
855
|
+
*/
|
|
856
|
+
indexedKeys?: IndexedKey[] | undefined;
|
|
857
|
+
/**
|
|
858
|
+
* <p>Configuration for streaming memory record data to external resources.</p>
|
|
859
|
+
* @public
|
|
860
|
+
*/
|
|
861
|
+
streamDeliveryResources?: StreamDeliveryResources | undefined;
|
|
862
|
+
}
|
|
863
|
+
/**
|
|
864
|
+
* @public
|
|
865
|
+
*/
|
|
866
|
+
export interface CreateMemoryOutput {
|
|
867
|
+
/**
|
|
868
|
+
* <p>The details of the created memory, including its ID, ARN, name, description, and configuration settings.</p>
|
|
869
|
+
* @public
|
|
870
|
+
*/
|
|
871
|
+
memory?: Memory | undefined;
|
|
872
|
+
}
|
|
873
|
+
/**
|
|
874
|
+
* @public
|
|
875
|
+
*/
|
|
876
|
+
export interface DeleteMemoryInput {
|
|
877
|
+
/**
|
|
878
|
+
* <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>
|
|
879
|
+
* @public
|
|
880
|
+
*/
|
|
881
|
+
clientToken?: string | undefined;
|
|
882
|
+
/**
|
|
883
|
+
* <p>The unique identifier of the memory to delete.</p>
|
|
884
|
+
* @public
|
|
885
|
+
*/
|
|
886
|
+
memoryId: string | undefined;
|
|
887
|
+
}
|
|
888
|
+
/**
|
|
889
|
+
* @public
|
|
890
|
+
*/
|
|
891
|
+
export interface DeleteMemoryOutput {
|
|
892
|
+
/**
|
|
893
|
+
* <p>The unique identifier of the deleted AgentCore Memory resource.</p>
|
|
894
|
+
* @public
|
|
895
|
+
*/
|
|
896
|
+
memoryId: string | undefined;
|
|
897
|
+
/**
|
|
898
|
+
* <p>The current status of the AgentCore Memory resource deletion.</p>
|
|
899
|
+
* @public
|
|
900
|
+
*/
|
|
901
|
+
status?: MemoryStatus | undefined;
|
|
902
|
+
}
|
|
903
|
+
/**
|
|
904
|
+
* @public
|
|
905
|
+
*/
|
|
906
|
+
export interface GetMemoryInput {
|
|
907
|
+
/**
|
|
908
|
+
* <p>The unique identifier of the memory to retrieve.</p>
|
|
909
|
+
* @public
|
|
910
|
+
*/
|
|
911
|
+
memoryId: string | undefined;
|
|
912
|
+
/**
|
|
913
|
+
* <p>The level of detail to return for the memory.</p>
|
|
914
|
+
* @public
|
|
915
|
+
*/
|
|
916
|
+
view?: MemoryView | undefined;
|
|
917
|
+
}
|
|
918
|
+
/**
|
|
919
|
+
* @public
|
|
920
|
+
*/
|
|
921
|
+
export interface GetMemoryOutput {
|
|
922
|
+
/**
|
|
923
|
+
* <p>The retrieved AgentCore Memory resource details.</p>
|
|
924
|
+
* @public
|
|
925
|
+
*/
|
|
926
|
+
memory: Memory | undefined;
|
|
927
|
+
}
|
|
928
|
+
/**
|
|
929
|
+
* @public
|
|
930
|
+
*/
|
|
931
|
+
export interface ListMemoriesInput {
|
|
932
|
+
/**
|
|
933
|
+
* <p>The maximum number of results to return in a single call. The default value is 10. The maximum value is 50.</p>
|
|
934
|
+
* @public
|
|
935
|
+
*/
|
|
936
|
+
maxResults?: number | undefined;
|
|
937
|
+
/**
|
|
938
|
+
* <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>
|
|
939
|
+
* @public
|
|
940
|
+
*/
|
|
941
|
+
nextToken?: string | undefined;
|
|
942
|
+
}
|
|
943
|
+
/**
|
|
944
|
+
* <p>Contains summary information about a memory resource.</p>
|
|
945
|
+
* @public
|
|
946
|
+
*/
|
|
947
|
+
export interface MemorySummary {
|
|
948
|
+
/**
|
|
949
|
+
* <p>The Amazon Resource Name (ARN) of the memory.</p>
|
|
950
|
+
* @public
|
|
951
|
+
*/
|
|
952
|
+
arn?: string | undefined;
|
|
953
|
+
/**
|
|
954
|
+
* <p>The unique identifier of the memory.</p>
|
|
955
|
+
* @public
|
|
956
|
+
*/
|
|
957
|
+
id?: string | undefined;
|
|
958
|
+
/**
|
|
959
|
+
* <p>The current status of the memory.</p>
|
|
960
|
+
* @public
|
|
961
|
+
*/
|
|
962
|
+
status?: MemoryStatus | undefined;
|
|
963
|
+
/**
|
|
964
|
+
* <p>The timestamp when the memory was created.</p>
|
|
965
|
+
* @public
|
|
966
|
+
*/
|
|
967
|
+
createdAt: Date | undefined;
|
|
968
|
+
/**
|
|
969
|
+
* <p>The timestamp when the memory was last updated.</p>
|
|
970
|
+
* @public
|
|
971
|
+
*/
|
|
972
|
+
updatedAt: Date | undefined;
|
|
973
|
+
}
|
|
974
|
+
/**
|
|
975
|
+
* @public
|
|
976
|
+
*/
|
|
977
|
+
export interface ListMemoriesOutput {
|
|
978
|
+
/**
|
|
979
|
+
* <p>The list of AgentCore Memory resource summaries.</p>
|
|
980
|
+
* @public
|
|
981
|
+
*/
|
|
982
|
+
memories: MemorySummary[] | undefined;
|
|
983
|
+
/**
|
|
984
|
+
* <p>A token to retrieve the next page of results.</p>
|
|
985
|
+
* @public
|
|
986
|
+
*/
|
|
987
|
+
nextToken?: string | undefined;
|
|
988
|
+
}
|
|
989
|
+
/**
|
|
990
|
+
* <p>Input for deleting a memory strategy.</p>
|
|
991
|
+
* @public
|
|
992
|
+
*/
|
|
993
|
+
export interface DeleteMemoryStrategyInput {
|
|
994
|
+
/**
|
|
995
|
+
* <p>The unique identifier of the memory strategy to delete.</p>
|
|
996
|
+
* @public
|
|
997
|
+
*/
|
|
998
|
+
memoryStrategyId: string | undefined;
|
|
999
|
+
}
|
|
1000
|
+
/**
|
|
1001
|
+
* <p>Input for a custom consolidation configuration.</p>
|
|
1002
|
+
* @public
|
|
1003
|
+
*/
|
|
1004
|
+
export type CustomConsolidationConfigurationInput = CustomConsolidationConfigurationInput.EpisodicConsolidationOverrideMember | CustomConsolidationConfigurationInput.SemanticConsolidationOverrideMember | CustomConsolidationConfigurationInput.SummaryConsolidationOverrideMember | CustomConsolidationConfigurationInput.UserPreferenceConsolidationOverrideMember | CustomConsolidationConfigurationInput.$UnknownMember;
|
|
1005
|
+
/**
|
|
1006
|
+
* @public
|
|
1007
|
+
*/
|
|
1008
|
+
export declare namespace CustomConsolidationConfigurationInput {
|
|
1009
|
+
/**
|
|
1010
|
+
* <p>The semantic consolidation override configuration input.</p>
|
|
1011
|
+
* @public
|
|
1012
|
+
*/
|
|
1013
|
+
interface SemanticConsolidationOverrideMember {
|
|
1014
|
+
semanticConsolidationOverride: SemanticOverrideConsolidationConfigurationInput;
|
|
1015
|
+
summaryConsolidationOverride?: never;
|
|
1016
|
+
userPreferenceConsolidationOverride?: never;
|
|
1017
|
+
episodicConsolidationOverride?: never;
|
|
1018
|
+
$unknown?: never;
|
|
1019
|
+
}
|
|
1020
|
+
/**
|
|
1021
|
+
* <p>The summary consolidation override configuration input.</p>
|
|
1022
|
+
* @public
|
|
1023
|
+
*/
|
|
1024
|
+
interface SummaryConsolidationOverrideMember {
|
|
1025
|
+
semanticConsolidationOverride?: never;
|
|
1026
|
+
summaryConsolidationOverride: SummaryOverrideConsolidationConfigurationInput;
|
|
1027
|
+
userPreferenceConsolidationOverride?: never;
|
|
1028
|
+
episodicConsolidationOverride?: never;
|
|
1029
|
+
$unknown?: never;
|
|
1030
|
+
}
|
|
1031
|
+
/**
|
|
1032
|
+
* <p>The user preference consolidation override configuration input.</p>
|
|
1033
|
+
* @public
|
|
1034
|
+
*/
|
|
1035
|
+
interface UserPreferenceConsolidationOverrideMember {
|
|
1036
|
+
semanticConsolidationOverride?: never;
|
|
1037
|
+
summaryConsolidationOverride?: never;
|
|
1038
|
+
userPreferenceConsolidationOverride: UserPreferenceOverrideConsolidationConfigurationInput;
|
|
1039
|
+
episodicConsolidationOverride?: never;
|
|
1040
|
+
$unknown?: never;
|
|
1041
|
+
}
|
|
1042
|
+
/**
|
|
1043
|
+
* <p>Configurations to override the consolidation step of the episodic strategy.</p>
|
|
1044
|
+
* @public
|
|
1045
|
+
*/
|
|
1046
|
+
interface EpisodicConsolidationOverrideMember {
|
|
1047
|
+
semanticConsolidationOverride?: never;
|
|
1048
|
+
summaryConsolidationOverride?: never;
|
|
1049
|
+
userPreferenceConsolidationOverride?: never;
|
|
1050
|
+
episodicConsolidationOverride: EpisodicOverrideConsolidationConfigurationInput;
|
|
1051
|
+
$unknown?: never;
|
|
1052
|
+
}
|
|
1053
|
+
/**
|
|
1054
|
+
* @public
|
|
1055
|
+
*/
|
|
1056
|
+
interface $UnknownMember {
|
|
1057
|
+
semanticConsolidationOverride?: never;
|
|
1058
|
+
summaryConsolidationOverride?: never;
|
|
1059
|
+
userPreferenceConsolidationOverride?: never;
|
|
1060
|
+
episodicConsolidationOverride?: never;
|
|
1061
|
+
$unknown: [string, any];
|
|
1062
|
+
}
|
|
1063
|
+
/**
|
|
1064
|
+
* @deprecated unused in schema-serde mode.
|
|
1065
|
+
*
|
|
1066
|
+
*/
|
|
1067
|
+
interface Visitor<T> {
|
|
1068
|
+
semanticConsolidationOverride: (value: SemanticOverrideConsolidationConfigurationInput) => T;
|
|
1069
|
+
summaryConsolidationOverride: (value: SummaryOverrideConsolidationConfigurationInput) => T;
|
|
1070
|
+
userPreferenceConsolidationOverride: (value: UserPreferenceOverrideConsolidationConfigurationInput) => T;
|
|
1071
|
+
episodicConsolidationOverride: (value: EpisodicOverrideConsolidationConfigurationInput) => T;
|
|
1072
|
+
_: (name: string, value: any) => T;
|
|
1073
|
+
}
|
|
1074
|
+
}
|
|
1075
|
+
/**
|
|
1076
|
+
* <p>Contains information for modifying a consolidation configuration.</p>
|
|
1077
|
+
* @public
|
|
1078
|
+
*/
|
|
1079
|
+
export type ModifyConsolidationConfiguration = ModifyConsolidationConfiguration.CustomConsolidationConfigurationMember | ModifyConsolidationConfiguration.$UnknownMember;
|
|
1080
|
+
/**
|
|
1081
|
+
* @public
|
|
1082
|
+
*/
|
|
1083
|
+
export declare namespace ModifyConsolidationConfiguration {
|
|
1084
|
+
/**
|
|
1085
|
+
* <p>The updated custom consolidation configuration.</p>
|
|
1086
|
+
* @public
|
|
1087
|
+
*/
|
|
1088
|
+
interface CustomConsolidationConfigurationMember {
|
|
1089
|
+
customConsolidationConfiguration: CustomConsolidationConfigurationInput;
|
|
1090
|
+
$unknown?: never;
|
|
1091
|
+
}
|
|
1092
|
+
/**
|
|
1093
|
+
* @public
|
|
1094
|
+
*/
|
|
1095
|
+
interface $UnknownMember {
|
|
1096
|
+
customConsolidationConfiguration?: never;
|
|
1097
|
+
$unknown: [string, any];
|
|
1098
|
+
}
|
|
1099
|
+
/**
|
|
1100
|
+
* @deprecated unused in schema-serde mode.
|
|
1101
|
+
*
|
|
1102
|
+
*/
|
|
1103
|
+
interface Visitor<T> {
|
|
1104
|
+
customConsolidationConfiguration: (value: CustomConsolidationConfigurationInput) => T;
|
|
1105
|
+
_: (name: string, value: any) => T;
|
|
1106
|
+
}
|
|
1107
|
+
}
|
|
1108
|
+
/**
|
|
1109
|
+
* <p>Input for a custom extraction configuration.</p>
|
|
1110
|
+
* @public
|
|
1111
|
+
*/
|
|
1112
|
+
export type CustomExtractionConfigurationInput = CustomExtractionConfigurationInput.EpisodicExtractionOverrideMember | CustomExtractionConfigurationInput.SemanticExtractionOverrideMember | CustomExtractionConfigurationInput.UserPreferenceExtractionOverrideMember | CustomExtractionConfigurationInput.$UnknownMember;
|
|
1113
|
+
/**
|
|
1114
|
+
* @public
|
|
1115
|
+
*/
|
|
1116
|
+
export declare namespace CustomExtractionConfigurationInput {
|
|
1117
|
+
/**
|
|
1118
|
+
* <p>The semantic extraction override configuration input.</p>
|
|
1119
|
+
* @public
|
|
1120
|
+
*/
|
|
1121
|
+
interface SemanticExtractionOverrideMember {
|
|
1122
|
+
semanticExtractionOverride: SemanticOverrideExtractionConfigurationInput;
|
|
1123
|
+
userPreferenceExtractionOverride?: never;
|
|
1124
|
+
episodicExtractionOverride?: never;
|
|
1125
|
+
$unknown?: never;
|
|
1126
|
+
}
|
|
1127
|
+
/**
|
|
1128
|
+
* <p>The user preference extraction override configuration input.</p>
|
|
1129
|
+
* @public
|
|
1130
|
+
*/
|
|
1131
|
+
interface UserPreferenceExtractionOverrideMember {
|
|
1132
|
+
semanticExtractionOverride?: never;
|
|
1133
|
+
userPreferenceExtractionOverride: UserPreferenceOverrideExtractionConfigurationInput;
|
|
1134
|
+
episodicExtractionOverride?: never;
|
|
1135
|
+
$unknown?: never;
|
|
1136
|
+
}
|
|
1137
|
+
/**
|
|
1138
|
+
* <p>Configurations to override the extraction step of the episodic strategy.</p>
|
|
1139
|
+
* @public
|
|
1140
|
+
*/
|
|
1141
|
+
interface EpisodicExtractionOverrideMember {
|
|
1142
|
+
semanticExtractionOverride?: never;
|
|
1143
|
+
userPreferenceExtractionOverride?: never;
|
|
1144
|
+
episodicExtractionOverride: EpisodicOverrideExtractionConfigurationInput;
|
|
1145
|
+
$unknown?: never;
|
|
1146
|
+
}
|
|
1147
|
+
/**
|
|
1148
|
+
* @public
|
|
1149
|
+
*/
|
|
1150
|
+
interface $UnknownMember {
|
|
1151
|
+
semanticExtractionOverride?: never;
|
|
1152
|
+
userPreferenceExtractionOverride?: never;
|
|
1153
|
+
episodicExtractionOverride?: never;
|
|
1154
|
+
$unknown: [string, any];
|
|
1155
|
+
}
|
|
1156
|
+
/**
|
|
1157
|
+
* @deprecated unused in schema-serde mode.
|
|
1158
|
+
*
|
|
1159
|
+
*/
|
|
1160
|
+
interface Visitor<T> {
|
|
1161
|
+
semanticExtractionOverride: (value: SemanticOverrideExtractionConfigurationInput) => T;
|
|
1162
|
+
userPreferenceExtractionOverride: (value: UserPreferenceOverrideExtractionConfigurationInput) => T;
|
|
1163
|
+
episodicExtractionOverride: (value: EpisodicOverrideExtractionConfigurationInput) => T;
|
|
1164
|
+
_: (name: string, value: any) => T;
|
|
1165
|
+
}
|
|
1166
|
+
}
|
|
1167
|
+
/**
|
|
1168
|
+
* <p>Contains information for modifying an extraction configuration.</p>
|
|
1169
|
+
* @public
|
|
1170
|
+
*/
|
|
1171
|
+
export type ModifyExtractionConfiguration = ModifyExtractionConfiguration.CustomExtractionConfigurationMember | ModifyExtractionConfiguration.$UnknownMember;
|
|
1172
|
+
/**
|
|
1173
|
+
* @public
|
|
1174
|
+
*/
|
|
1175
|
+
export declare namespace ModifyExtractionConfiguration {
|
|
1176
|
+
/**
|
|
1177
|
+
* <p>The updated custom extraction configuration.</p>
|
|
1178
|
+
* @public
|
|
1179
|
+
*/
|
|
1180
|
+
interface CustomExtractionConfigurationMember {
|
|
1181
|
+
customExtractionConfiguration: CustomExtractionConfigurationInput;
|
|
1182
|
+
$unknown?: never;
|
|
1183
|
+
}
|
|
1184
|
+
/**
|
|
1185
|
+
* @public
|
|
1186
|
+
*/
|
|
1187
|
+
interface $UnknownMember {
|
|
1188
|
+
customExtractionConfiguration?: never;
|
|
1189
|
+
$unknown: [string, any];
|
|
1190
|
+
}
|
|
1191
|
+
/**
|
|
1192
|
+
* @deprecated unused in schema-serde mode.
|
|
1193
|
+
*
|
|
1194
|
+
*/
|
|
1195
|
+
interface Visitor<T> {
|
|
1196
|
+
customExtractionConfiguration: (value: CustomExtractionConfigurationInput) => T;
|
|
1197
|
+
_: (name: string, value: any) => T;
|
|
1198
|
+
}
|
|
1199
|
+
}
|
|
1200
|
+
/**
|
|
1201
|
+
* <p>Input for a custom reflection configuration.</p>
|
|
1202
|
+
* @public
|
|
1203
|
+
*/
|
|
1204
|
+
export type CustomReflectionConfigurationInput = CustomReflectionConfigurationInput.EpisodicReflectionOverrideMember | CustomReflectionConfigurationInput.$UnknownMember;
|
|
1205
|
+
/**
|
|
1206
|
+
* @public
|
|
1207
|
+
*/
|
|
1208
|
+
export declare namespace CustomReflectionConfigurationInput {
|
|
1209
|
+
/**
|
|
1210
|
+
* <p>The reflection override configuration input.</p>
|
|
1211
|
+
* @public
|
|
1212
|
+
*/
|
|
1213
|
+
interface EpisodicReflectionOverrideMember {
|
|
1214
|
+
episodicReflectionOverride: EpisodicOverrideReflectionConfigurationInput;
|
|
1215
|
+
$unknown?: never;
|
|
1216
|
+
}
|
|
1217
|
+
/**
|
|
1218
|
+
* @public
|
|
1219
|
+
*/
|
|
1220
|
+
interface $UnknownMember {
|
|
1221
|
+
episodicReflectionOverride?: never;
|
|
1222
|
+
$unknown: [string, any];
|
|
1223
|
+
}
|
|
1224
|
+
/**
|
|
1225
|
+
* @deprecated unused in schema-serde mode.
|
|
1226
|
+
*
|
|
1227
|
+
*/
|
|
1228
|
+
interface Visitor<T> {
|
|
1229
|
+
episodicReflectionOverride: (value: EpisodicOverrideReflectionConfigurationInput) => T;
|
|
1230
|
+
_: (name: string, value: any) => T;
|
|
1231
|
+
}
|
|
1232
|
+
}
|
|
1233
|
+
/**
|
|
1234
|
+
* <p>Contains information for modifying a reflection configuration.</p>
|
|
1235
|
+
* @public
|
|
1236
|
+
*/
|
|
1237
|
+
export type ModifyReflectionConfiguration = ModifyReflectionConfiguration.CustomReflectionConfigurationMember | ModifyReflectionConfiguration.EpisodicReflectionConfigurationMember | ModifyReflectionConfiguration.$UnknownMember;
|
|
1238
|
+
/**
|
|
1239
|
+
* @public
|
|
1240
|
+
*/
|
|
1241
|
+
export declare namespace ModifyReflectionConfiguration {
|
|
1242
|
+
/**
|
|
1243
|
+
* <p>The updated episodic reflection configuration.</p>
|
|
1244
|
+
* @public
|
|
1245
|
+
*/
|
|
1246
|
+
interface EpisodicReflectionConfigurationMember {
|
|
1247
|
+
episodicReflectionConfiguration: EpisodicReflectionConfigurationInput;
|
|
1248
|
+
customReflectionConfiguration?: never;
|
|
1249
|
+
$unknown?: never;
|
|
1250
|
+
}
|
|
1251
|
+
/**
|
|
1252
|
+
* <p>The updated custom reflection configuration.</p>
|
|
1253
|
+
* @public
|
|
1254
|
+
*/
|
|
1255
|
+
interface CustomReflectionConfigurationMember {
|
|
1256
|
+
episodicReflectionConfiguration?: never;
|
|
1257
|
+
customReflectionConfiguration: CustomReflectionConfigurationInput;
|
|
1258
|
+
$unknown?: never;
|
|
1259
|
+
}
|
|
1260
|
+
/**
|
|
1261
|
+
* @public
|
|
1262
|
+
*/
|
|
1263
|
+
interface $UnknownMember {
|
|
1264
|
+
episodicReflectionConfiguration?: never;
|
|
1265
|
+
customReflectionConfiguration?: never;
|
|
1266
|
+
$unknown: [string, any];
|
|
1267
|
+
}
|
|
1268
|
+
/**
|
|
1269
|
+
* @deprecated unused in schema-serde mode.
|
|
1270
|
+
*
|
|
1271
|
+
*/
|
|
1272
|
+
interface Visitor<T> {
|
|
1273
|
+
episodicReflectionConfiguration: (value: EpisodicReflectionConfigurationInput) => T;
|
|
1274
|
+
customReflectionConfiguration: (value: CustomReflectionConfigurationInput) => T;
|
|
1275
|
+
_: (name: string, value: any) => T;
|
|
1276
|
+
}
|
|
1277
|
+
}
|
|
1278
|
+
/**
|
|
1279
|
+
* <p>The configuration for updating invocation settings.</p>
|
|
1280
|
+
* @public
|
|
1281
|
+
*/
|
|
1282
|
+
export interface ModifyInvocationConfigurationInput {
|
|
1283
|
+
/**
|
|
1284
|
+
* <p>The updated ARN of the SNS topic for job notifications.</p>
|
|
1285
|
+
* @public
|
|
1286
|
+
*/
|
|
1287
|
+
topicArn?: string | undefined;
|
|
1288
|
+
/**
|
|
1289
|
+
* <p>The updated S3 bucket name for event payload delivery.</p>
|
|
1290
|
+
* @public
|
|
1291
|
+
*/
|
|
1292
|
+
payloadDeliveryBucketName?: string | undefined;
|
|
1293
|
+
}
|
|
1294
|
+
/**
|
|
1295
|
+
* <p>The configuration for updating the self-managed memory strategy.</p>
|
|
1296
|
+
* @public
|
|
1297
|
+
*/
|
|
1298
|
+
export interface ModifySelfManagedConfiguration {
|
|
1299
|
+
/**
|
|
1300
|
+
* <p>The updated list of conditions that trigger memory processing.</p>
|
|
1301
|
+
* @public
|
|
1302
|
+
*/
|
|
1303
|
+
triggerConditions?: TriggerConditionInput[] | undefined;
|
|
1304
|
+
/**
|
|
1305
|
+
* <p>The updated configuration to invoke self-managed memory processing pipeline.</p>
|
|
1306
|
+
* @public
|
|
1307
|
+
*/
|
|
1308
|
+
invocationConfiguration?: ModifyInvocationConfigurationInput | undefined;
|
|
1309
|
+
/**
|
|
1310
|
+
* <p>The updated number of historical messages to include in processing context.</p>
|
|
1311
|
+
* @public
|
|
1312
|
+
*/
|
|
1313
|
+
historicalContextWindowSize?: number | undefined;
|
|
1314
|
+
}
|
|
1315
|
+
/**
|
|
1316
|
+
* <p>Contains information for modifying a strategy configuration.</p>
|
|
1317
|
+
* @public
|
|
1318
|
+
*/
|
|
1319
|
+
export interface ModifyStrategyConfiguration {
|
|
1320
|
+
/**
|
|
1321
|
+
* <p>The updated extraction configuration.</p>
|
|
1322
|
+
* @public
|
|
1323
|
+
*/
|
|
1324
|
+
extraction?: ModifyExtractionConfiguration | undefined;
|
|
1325
|
+
/**
|
|
1326
|
+
* <p>The updated consolidation configuration.</p>
|
|
1327
|
+
* @public
|
|
1328
|
+
*/
|
|
1329
|
+
consolidation?: ModifyConsolidationConfiguration | undefined;
|
|
1330
|
+
/**
|
|
1331
|
+
* <p>The updated reflection configuration.</p>
|
|
1332
|
+
* @public
|
|
1333
|
+
*/
|
|
1334
|
+
reflection?: ModifyReflectionConfiguration | undefined;
|
|
1335
|
+
/**
|
|
1336
|
+
* <p>The updated self-managed configuration.</p>
|
|
1337
|
+
* @public
|
|
1338
|
+
*/
|
|
1339
|
+
selfManagedConfiguration?: ModifySelfManagedConfiguration | undefined;
|
|
1340
|
+
}
|
|
1341
|
+
/**
|
|
1342
|
+
* <p>Input for modifying a memory strategy.</p>
|
|
1343
|
+
* @public
|
|
1344
|
+
*/
|
|
1345
|
+
export interface ModifyMemoryStrategyInput {
|
|
1346
|
+
/**
|
|
1347
|
+
* <p>The unique identifier of the memory strategy to modify.</p>
|
|
1348
|
+
* @public
|
|
1349
|
+
*/
|
|
1350
|
+
memoryStrategyId: string | undefined;
|
|
1351
|
+
/**
|
|
1352
|
+
* <p>The updated description of the memory strategy.</p>
|
|
1353
|
+
* @public
|
|
1354
|
+
*/
|
|
1355
|
+
description?: string | undefined;
|
|
1356
|
+
/**
|
|
1357
|
+
* <p>The updated namespaces for the memory strategy.</p>
|
|
1358
|
+
*
|
|
1359
|
+
* @deprecated (since 2026-03-02) Use namespaceTemplates instead.
|
|
1360
|
+
* @public
|
|
1361
|
+
*/
|
|
1362
|
+
namespaces?: string[] | undefined;
|
|
1363
|
+
/**
|
|
1364
|
+
* <p>The updated namespaceTemplates for the memory strategy.</p>
|
|
1365
|
+
* @public
|
|
1366
|
+
*/
|
|
1367
|
+
namespaceTemplates?: string[] | undefined;
|
|
1368
|
+
/**
|
|
1369
|
+
* <p>The updated configuration for the memory strategy.</p>
|
|
1370
|
+
* @public
|
|
1371
|
+
*/
|
|
1372
|
+
configuration?: ModifyStrategyConfiguration | undefined;
|
|
1373
|
+
/**
|
|
1374
|
+
* <p>Updated metadata schema for records generated by this strategy.</p>
|
|
1375
|
+
* @public
|
|
1376
|
+
*/
|
|
1377
|
+
memoryRecordSchema?: MemoryRecordSchema | undefined;
|
|
1378
|
+
}
|
|
1379
|
+
/**
|
|
1380
|
+
* <p>Contains information for modifying memory strategies.</p>
|
|
1381
|
+
* @public
|
|
1382
|
+
*/
|
|
1383
|
+
export interface ModifyMemoryStrategies {
|
|
1384
|
+
/**
|
|
1385
|
+
* <p>The list of memory strategies to add.</p>
|
|
1386
|
+
* @public
|
|
1387
|
+
*/
|
|
1388
|
+
addMemoryStrategies?: MemoryStrategyInput[] | undefined;
|
|
1389
|
+
/**
|
|
1390
|
+
* <p>The list of memory strategies to modify.</p>
|
|
1391
|
+
* @public
|
|
1392
|
+
*/
|
|
1393
|
+
modifyMemoryStrategies?: ModifyMemoryStrategyInput[] | undefined;
|
|
1394
|
+
/**
|
|
1395
|
+
* <p>The list of memory strategies to delete.</p>
|
|
1396
|
+
* @public
|
|
1397
|
+
*/
|
|
1398
|
+
deleteMemoryStrategies?: DeleteMemoryStrategyInput[] | undefined;
|
|
1399
|
+
}
|
|
1400
|
+
/**
|
|
1401
|
+
* @public
|
|
1402
|
+
*/
|
|
1403
|
+
export interface UpdateMemoryInput {
|
|
1404
|
+
/**
|
|
1405
|
+
* <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>
|
|
1406
|
+
* @public
|
|
1407
|
+
*/
|
|
1408
|
+
clientToken?: string | undefined;
|
|
1409
|
+
/**
|
|
1410
|
+
* <p>The unique identifier of the memory to update.</p>
|
|
1411
|
+
* @public
|
|
1412
|
+
*/
|
|
1413
|
+
memoryId: string | undefined;
|
|
1414
|
+
/**
|
|
1415
|
+
* <p>The updated description of the AgentCore Memory resource.</p>
|
|
1416
|
+
* @public
|
|
1417
|
+
*/
|
|
1418
|
+
description?: string | undefined;
|
|
1419
|
+
/**
|
|
1420
|
+
* <p>The number of days after which memory events will expire, between 7 and 365 days.</p>
|
|
1421
|
+
* @public
|
|
1422
|
+
*/
|
|
1423
|
+
eventExpiryDuration?: number | undefined;
|
|
1424
|
+
/**
|
|
1425
|
+
* <p>The ARN of the IAM role that provides permissions for the AgentCore Memory resource.</p>
|
|
1426
|
+
* @public
|
|
1427
|
+
*/
|
|
1428
|
+
memoryExecutionRoleArn?: string | undefined;
|
|
1429
|
+
/**
|
|
1430
|
+
* <p>The memory strategies to add, modify, or delete.</p>
|
|
1431
|
+
* @public
|
|
1432
|
+
*/
|
|
1433
|
+
memoryStrategies?: ModifyMemoryStrategies | undefined;
|
|
1434
|
+
/**
|
|
1435
|
+
* <p>Additional metadata keys to index. Previously indexed keys cannot be removed.</p>
|
|
1436
|
+
* @public
|
|
1437
|
+
*/
|
|
1438
|
+
addIndexedKeys?: IndexedKey[] | undefined;
|
|
1439
|
+
/**
|
|
1440
|
+
* <p>Configuration for streaming memory record data to external resources.</p>
|
|
1441
|
+
* @public
|
|
1442
|
+
*/
|
|
1443
|
+
streamDeliveryResources?: StreamDeliveryResources | undefined;
|
|
1444
|
+
}
|
|
1445
|
+
/**
|
|
1446
|
+
* @public
|
|
1447
|
+
*/
|
|
1448
|
+
export interface UpdateMemoryOutput {
|
|
1449
|
+
/**
|
|
1450
|
+
* <p>The updated AgentCore Memory resource details.</p>
|
|
1451
|
+
* @public
|
|
1452
|
+
*/
|
|
1453
|
+
memory?: Memory | undefined;
|
|
1454
|
+
}
|
|
1455
|
+
/**
|
|
1456
|
+
* <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>
|
|
1457
|
+
* @public
|
|
1458
|
+
*/
|
|
1459
|
+
export interface AtlassianOauth2ProviderConfigInput {
|
|
1460
|
+
/**
|
|
1461
|
+
* <p>The client ID for the Atlassian OAuth2 provider. This identifier is assigned by Atlassian when you register your application.</p>
|
|
1462
|
+
* @public
|
|
1463
|
+
*/
|
|
1464
|
+
clientId: string | undefined;
|
|
1465
|
+
/**
|
|
1466
|
+
* <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>
|
|
1467
|
+
* @public
|
|
1468
|
+
*/
|
|
1469
|
+
clientSecret: string | undefined;
|
|
1470
|
+
}
|
|
1471
|
+
/**
|
|
1472
|
+
* <p>Contains the authorization server metadata for an OAuth2 provider.</p>
|
|
1473
|
+
* @public
|
|
1474
|
+
*/
|
|
1475
|
+
export interface Oauth2AuthorizationServerMetadata {
|
|
1476
|
+
/**
|
|
1477
|
+
* <p>The issuer URL for the OAuth2 authorization server.</p>
|
|
1478
|
+
* @public
|
|
1479
|
+
*/
|
|
1480
|
+
issuer: string | undefined;
|
|
1481
|
+
/**
|
|
1482
|
+
* <p>The authorization endpoint URL for the OAuth2 authorization server.</p>
|
|
1483
|
+
* @public
|
|
1484
|
+
*/
|
|
1485
|
+
authorizationEndpoint: string | undefined;
|
|
1486
|
+
/**
|
|
1487
|
+
* <p>The token endpoint URL for the OAuth2 authorization server.</p>
|
|
1488
|
+
* @public
|
|
1489
|
+
*/
|
|
1490
|
+
tokenEndpoint: string | undefined;
|
|
1491
|
+
/**
|
|
1492
|
+
* <p>The supported response types for the OAuth2 authorization server.</p>
|
|
1493
|
+
* @public
|
|
1494
|
+
*/
|
|
1495
|
+
responseTypes?: string[] | undefined;
|
|
1496
|
+
/**
|
|
1497
|
+
* <p>The authentication methods supported by the token endpoint. This specifies how clients can authenticate when requesting tokens from the authorization server.</p>
|
|
1498
|
+
* @public
|
|
1499
|
+
*/
|
|
1500
|
+
tokenEndpointAuthMethods?: string[] | undefined;
|
|
1501
|
+
}
|
|
1502
|
+
/**
|
|
1503
|
+
* <p>Contains the discovery information for an OAuth2 provider.</p>
|
|
1504
|
+
* @public
|
|
1505
|
+
*/
|
|
1506
|
+
export type Oauth2Discovery = Oauth2Discovery.AuthorizationServerMetadataMember | Oauth2Discovery.DiscoveryUrlMember | Oauth2Discovery.$UnknownMember;
|
|
1507
|
+
/**
|
|
1508
|
+
* @public
|
|
1509
|
+
*/
|
|
1510
|
+
export declare namespace Oauth2Discovery {
|
|
1511
|
+
/**
|
|
1512
|
+
* <p>The discovery URL for the OAuth2 provider.</p>
|
|
1513
|
+
* @public
|
|
1514
|
+
*/
|
|
1515
|
+
interface DiscoveryUrlMember {
|
|
1516
|
+
discoveryUrl: string;
|
|
1517
|
+
authorizationServerMetadata?: never;
|
|
1518
|
+
$unknown?: never;
|
|
1519
|
+
}
|
|
1520
|
+
/**
|
|
1521
|
+
* <p>The authorization server metadata for the OAuth2 provider.</p>
|
|
1522
|
+
* @public
|
|
1523
|
+
*/
|
|
1524
|
+
interface AuthorizationServerMetadataMember {
|
|
1525
|
+
discoveryUrl?: never;
|
|
1526
|
+
authorizationServerMetadata: Oauth2AuthorizationServerMetadata;
|
|
1527
|
+
$unknown?: never;
|
|
1528
|
+
}
|
|
1529
|
+
/**
|
|
1530
|
+
* @public
|
|
1531
|
+
*/
|
|
1532
|
+
interface $UnknownMember {
|
|
1533
|
+
discoveryUrl?: never;
|
|
1534
|
+
authorizationServerMetadata?: never;
|
|
1535
|
+
$unknown: [string, any];
|
|
1536
|
+
}
|
|
1537
|
+
/**
|
|
1538
|
+
* @deprecated unused in schema-serde mode.
|
|
1539
|
+
*
|
|
1540
|
+
*/
|
|
1541
|
+
interface Visitor<T> {
|
|
1542
|
+
discoveryUrl: (value: string) => T;
|
|
1543
|
+
authorizationServerMetadata: (value: Oauth2AuthorizationServerMetadata) => T;
|
|
1544
|
+
_: (name: string, value: any) => T;
|
|
1545
|
+
}
|
|
1546
|
+
}
|
|
1547
|
+
/**
|
|
1548
|
+
* Configuration for RFC 8693 Token Exchange
|
|
1549
|
+
* @public
|
|
1550
|
+
*/
|
|
1551
|
+
export interface TokenExchangeGrantTypeConfigType {
|
|
1552
|
+
/**
|
|
1553
|
+
* <p>The content type for the actor token in the token exchange.</p>
|
|
1554
|
+
* @public
|
|
1555
|
+
*/
|
|
1556
|
+
actorTokenContent: ActorTokenContentType | undefined;
|
|
1557
|
+
/**
|
|
1558
|
+
* Only valid when actorTokenContent is M2M
|
|
1559
|
+
* @public
|
|
1560
|
+
*/
|
|
1561
|
+
actorTokenScopes?: string[] | undefined;
|
|
1562
|
+
}
|
|
1563
|
+
/**
|
|
1564
|
+
* Configuration for on-behalf-of token exchange
|
|
1565
|
+
* @public
|
|
1566
|
+
*/
|
|
1567
|
+
export interface OnBehalfOfTokenExchangeConfigType {
|
|
1568
|
+
/**
|
|
1569
|
+
* <p>The grant type for the on-behalf-of token exchange.</p>
|
|
1570
|
+
* @public
|
|
1571
|
+
*/
|
|
1572
|
+
grantType: OnBehalfOfTokenExchangeGrantTypeType | undefined;
|
|
1573
|
+
/**
|
|
1574
|
+
* Configuration specific to TOKEN_EXCHANGE grant type (RFC 8693)
|
|
1575
|
+
* @public
|
|
1576
|
+
*/
|
|
1577
|
+
tokenExchangeGrantTypeConfig?: TokenExchangeGrantTypeConfigType | undefined;
|
|
1578
|
+
}
|
|
1579
|
+
/**
|
|
1580
|
+
* <p>Input configuration for a custom OAuth2 provider.</p>
|
|
1581
|
+
* @public
|
|
1582
|
+
*/
|
|
1583
|
+
export interface CustomOauth2ProviderConfigInput {
|
|
1584
|
+
/**
|
|
1585
|
+
* <p>The OAuth2 discovery information for the custom provider.</p>
|
|
1586
|
+
* @public
|
|
1587
|
+
*/
|
|
1588
|
+
oauthDiscovery: Oauth2Discovery | undefined;
|
|
1589
|
+
/**
|
|
1590
|
+
* <p>The client ID for the custom OAuth2 provider.</p>
|
|
1591
|
+
* @public
|
|
1592
|
+
*/
|
|
1593
|
+
clientId?: string | undefined;
|
|
1594
|
+
/**
|
|
1595
|
+
* <p>The client secret for the custom OAuth2 provider.</p>
|
|
1596
|
+
* @public
|
|
1597
|
+
*/
|
|
1598
|
+
clientSecret?: string | undefined;
|
|
1599
|
+
/**
|
|
1600
|
+
* <p>The default private endpoint for the custom OAuth2 provider, enabling secure connectivity through a VPC Lattice resource configuration.</p>
|
|
1601
|
+
* @public
|
|
1602
|
+
*/
|
|
1603
|
+
privateEndpoint?: PrivateEndpoint | undefined;
|
|
1604
|
+
/**
|
|
1605
|
+
* <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>
|
|
1606
|
+
* @public
|
|
1607
|
+
*/
|
|
1608
|
+
privateEndpointOverrides?: PrivateEndpointOverride[] | undefined;
|
|
1609
|
+
/**
|
|
1610
|
+
* <p>The configuration for on-behalf-of token exchange. This enables authentication flows that use RFC 8693 token exchange or RFC 7523 JWT authorization grants.</p>
|
|
1611
|
+
* @public
|
|
1612
|
+
*/
|
|
1613
|
+
onBehalfOfTokenExchangeConfig?: OnBehalfOfTokenExchangeConfigType | undefined;
|
|
1614
|
+
/**
|
|
1615
|
+
* <p>The client authentication method to use when authenticating with the token endpoint.</p>
|
|
1616
|
+
* @public
|
|
1617
|
+
*/
|
|
1618
|
+
clientAuthenticationMethod?: ClientAuthenticationMethodType | undefined;
|
|
1619
|
+
}
|
|
1620
|
+
/**
|
|
1621
|
+
* <p>Input configuration for a GitHub OAuth2 provider.</p>
|
|
1622
|
+
* @public
|
|
1623
|
+
*/
|
|
1624
|
+
export interface GithubOauth2ProviderConfigInput {
|
|
1625
|
+
/**
|
|
1626
|
+
* <p>The client ID for the GitHub OAuth2 provider.</p>
|
|
1627
|
+
* @public
|
|
1628
|
+
*/
|
|
1629
|
+
clientId: string | undefined;
|
|
1630
|
+
/**
|
|
1631
|
+
* <p>The client secret for the GitHub OAuth2 provider.</p>
|
|
1632
|
+
* @public
|
|
1633
|
+
*/
|
|
1634
|
+
clientSecret: string | undefined;
|
|
1635
|
+
}
|
|
1636
|
+
/**
|
|
1637
|
+
* <p>Input configuration for a Google OAuth2 provider.</p>
|
|
1638
|
+
* @public
|
|
1639
|
+
*/
|
|
1640
|
+
export interface GoogleOauth2ProviderConfigInput {
|
|
1641
|
+
/**
|
|
1642
|
+
* <p>The client ID for the Google OAuth2 provider.</p>
|
|
1643
|
+
* @public
|
|
1644
|
+
*/
|
|
1645
|
+
clientId: string | undefined;
|
|
1646
|
+
/**
|
|
1647
|
+
* <p>The client secret for the Google OAuth2 provider.</p>
|
|
1648
|
+
* @public
|
|
1649
|
+
*/
|
|
1650
|
+
clientSecret: string | undefined;
|
|
1651
|
+
}
|
|
1652
|
+
/**
|
|
1653
|
+
* <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>
|
|
1654
|
+
* @public
|
|
1655
|
+
*/
|
|
1656
|
+
export interface IncludedOauth2ProviderConfigInput {
|
|
1657
|
+
/**
|
|
1658
|
+
* <p>The client ID for the supported OAuth2 provider. This identifier is assigned by the OAuth2 provider when you register your application.</p>
|
|
1659
|
+
* @public
|
|
1660
|
+
*/
|
|
1661
|
+
clientId: string | undefined;
|
|
1662
|
+
/**
|
|
1663
|
+
* <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>
|
|
1664
|
+
* @public
|
|
1665
|
+
*/
|
|
1666
|
+
clientSecret: string | undefined;
|
|
1667
|
+
/**
|
|
1668
|
+
* <p>Token issuer of your isolated OAuth2 application tenant. This URL identifies the authorization server that issues tokens for this provider.</p>
|
|
1669
|
+
* @public
|
|
1670
|
+
*/
|
|
1671
|
+
issuer?: string | undefined;
|
|
1672
|
+
/**
|
|
1673
|
+
* <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>
|
|
1674
|
+
* @public
|
|
1675
|
+
*/
|
|
1676
|
+
authorizationEndpoint?: string | undefined;
|
|
1677
|
+
/**
|
|
1678
|
+
* <p>OAuth2 token endpoint for your isolated OAuth2 application tenant. This is where authorization codes are exchanged for access tokens.</p>
|
|
1679
|
+
* @public
|
|
1680
|
+
*/
|
|
1681
|
+
tokenEndpoint?: string | undefined;
|
|
1682
|
+
}
|
|
1683
|
+
/**
|
|
1684
|
+
* <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>
|
|
1685
|
+
* @public
|
|
1686
|
+
*/
|
|
1687
|
+
export interface LinkedinOauth2ProviderConfigInput {
|
|
1688
|
+
/**
|
|
1689
|
+
* <p>The client ID for the LinkedIn OAuth2 provider. This identifier is assigned by LinkedIn when you register your application.</p>
|
|
1690
|
+
* @public
|
|
1691
|
+
*/
|
|
1692
|
+
clientId: string | undefined;
|
|
1693
|
+
/**
|
|
1694
|
+
* <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>
|
|
1695
|
+
* @public
|
|
1696
|
+
*/
|
|
1697
|
+
clientSecret: string | undefined;
|
|
1698
|
+
}
|
|
3
1699
|
/**
|
|
4
1700
|
* <p>Input configuration for a Microsoft OAuth2 provider.</p>
|
|
5
1701
|
* @public
|
|
@@ -304,6 +2000,16 @@ export interface CustomOauth2ProviderConfigOutput {
|
|
|
304
2000
|
* @public
|
|
305
2001
|
*/
|
|
306
2002
|
privateEndpointOverrides?: PrivateEndpointOverride[] | undefined;
|
|
2003
|
+
/**
|
|
2004
|
+
* <p>The configuration for on-behalf-of token exchange.</p>
|
|
2005
|
+
* @public
|
|
2006
|
+
*/
|
|
2007
|
+
onBehalfOfTokenExchangeConfig?: OnBehalfOfTokenExchangeConfigType | undefined;
|
|
2008
|
+
/**
|
|
2009
|
+
* <p>The client authentication method used when authenticating with the token endpoint.</p>
|
|
2010
|
+
* @public
|
|
2011
|
+
*/
|
|
2012
|
+
clientAuthenticationMethod?: ClientAuthenticationMethodType | undefined;
|
|
307
2013
|
}
|
|
308
2014
|
/**
|
|
309
2015
|
* <p>Output configuration for a GitHub OAuth2 provider.</p>
|
|
@@ -1088,7 +2794,7 @@ export interface CreateOnlineEvaluationConfigRequest {
|
|
|
1088
2794
|
*/
|
|
1089
2795
|
evaluators: EvaluatorReference[] | undefined;
|
|
1090
2796
|
/**
|
|
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>
|
|
2797
|
+
* <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
2798
|
* @public
|
|
1093
2799
|
*/
|
|
1094
2800
|
evaluationExecutionRoleArn: string | undefined;
|
|
@@ -4424,7 +6130,7 @@ export declare namespace McpTargetConfiguration {
|
|
|
4424
6130
|
* <p>The configuration for a gateway target. This structure defines how the gateway connects to and interacts with the target endpoint.</p>
|
|
4425
6131
|
* @public
|
|
4426
6132
|
*/
|
|
4427
|
-
export type TargetConfiguration = TargetConfiguration.McpMember | TargetConfiguration.$UnknownMember;
|
|
6133
|
+
export type TargetConfiguration = TargetConfiguration.HttpMember | TargetConfiguration.McpMember | TargetConfiguration.$UnknownMember;
|
|
4428
6134
|
/**
|
|
4429
6135
|
* @public
|
|
4430
6136
|
*/
|
|
@@ -4435,6 +6141,16 @@ export declare namespace TargetConfiguration {
|
|
|
4435
6141
|
*/
|
|
4436
6142
|
interface McpMember {
|
|
4437
6143
|
mcp: McpTargetConfiguration;
|
|
6144
|
+
http?: never;
|
|
6145
|
+
$unknown?: never;
|
|
6146
|
+
}
|
|
6147
|
+
/**
|
|
6148
|
+
* <p>The HTTP target configuration. Use this to route gateway requests to an HTTP-based endpoint such as an AgentCore Runtime.</p>
|
|
6149
|
+
* @public
|
|
6150
|
+
*/
|
|
6151
|
+
interface HttpMember {
|
|
6152
|
+
mcp?: never;
|
|
6153
|
+
http: HttpTargetConfiguration;
|
|
4438
6154
|
$unknown?: never;
|
|
4439
6155
|
}
|
|
4440
6156
|
/**
|
|
@@ -4442,6 +6158,7 @@ export declare namespace TargetConfiguration {
|
|
|
4442
6158
|
*/
|
|
4443
6159
|
interface $UnknownMember {
|
|
4444
6160
|
mcp?: never;
|
|
6161
|
+
http?: never;
|
|
4445
6162
|
$unknown: [string, any];
|
|
4446
6163
|
}
|
|
4447
6164
|
/**
|
|
@@ -4450,6 +6167,7 @@ export declare namespace TargetConfiguration {
|
|
|
4450
6167
|
*/
|
|
4451
6168
|
interface Visitor<T> {
|
|
4452
6169
|
mcp: (value: McpTargetConfiguration) => T;
|
|
6170
|
+
http: (value: HttpTargetConfiguration) => T;
|
|
4453
6171
|
_: (name: string, value: any) => T;
|
|
4454
6172
|
}
|
|
4455
6173
|
}
|
|
@@ -4577,6 +6295,11 @@ export interface CreateGatewayTargetResponse {
|
|
|
4577
6295
|
* @public
|
|
4578
6296
|
*/
|
|
4579
6297
|
authorizationData?: AuthorizationData | undefined;
|
|
6298
|
+
/**
|
|
6299
|
+
* <p>The protocol type of the created gateway target.</p>
|
|
6300
|
+
* @public
|
|
6301
|
+
*/
|
|
6302
|
+
protocolType?: TargetProtocolType | undefined;
|
|
4580
6303
|
}
|
|
4581
6304
|
/**
|
|
4582
6305
|
* <p>The gateway target.</p>
|
|
@@ -4658,6 +6381,11 @@ export interface GatewayTarget {
|
|
|
4658
6381
|
* @public
|
|
4659
6382
|
*/
|
|
4660
6383
|
authorizationData?: AuthorizationData | undefined;
|
|
6384
|
+
/**
|
|
6385
|
+
* <p>The protocol type of the gateway target.</p>
|
|
6386
|
+
* @public
|
|
6387
|
+
*/
|
|
6388
|
+
protocolType?: TargetProtocolType | undefined;
|
|
4661
6389
|
}
|
|
4662
6390
|
/**
|
|
4663
6391
|
* @public
|
|
@@ -4738,6 +6466,11 @@ export interface GetGatewayTargetResponse {
|
|
|
4738
6466
|
* @public
|
|
4739
6467
|
*/
|
|
4740
6468
|
authorizationData?: AuthorizationData | undefined;
|
|
6469
|
+
/**
|
|
6470
|
+
* <p>The protocol type of the gateway target.</p>
|
|
6471
|
+
* @public
|
|
6472
|
+
*/
|
|
6473
|
+
protocolType?: TargetProtocolType | undefined;
|
|
4741
6474
|
}
|
|
4742
6475
|
/**
|
|
4743
6476
|
* @public
|
|
@@ -4863,6 +6596,11 @@ export interface UpdateGatewayTargetResponse {
|
|
|
4863
6596
|
* @public
|
|
4864
6597
|
*/
|
|
4865
6598
|
authorizationData?: AuthorizationData | undefined;
|
|
6599
|
+
/**
|
|
6600
|
+
* <p>The protocol type of the updated gateway target.</p>
|
|
6601
|
+
* @public
|
|
6602
|
+
*/
|
|
6603
|
+
protocolType?: TargetProtocolType | undefined;
|
|
4866
6604
|
}
|
|
4867
6605
|
/**
|
|
4868
6606
|
* @public
|