@aws-sdk/client-bedrock-agentcore-control 3.1039.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/dist-cjs/index.js +24 -0
- package/dist-cjs/schemas/schemas_0.js +154 -49
- package/dist-es/models/enums.js +20 -0
- package/dist-es/schemas/schemas_0.js +144 -40
- package/dist-types/commands/CreateGatewayTargetCommand.d.ts +2 -2
- package/dist-types/commands/CreateHarnessCommand.d.ts +2 -2
- package/dist-types/commands/CreateMemoryCommand.d.ts +233 -2
- package/dist-types/commands/CreateOauth2CredentialProviderCommand.d.ts +22 -2
- package/dist-types/commands/DeleteHarnessCommand.d.ts +1 -1
- package/dist-types/commands/GetGatewayTargetCommand.d.ts +1 -1
- package/dist-types/commands/GetHarnessCommand.d.ts +1 -1
- package/dist-types/commands/GetMemoryCommand.d.ts +69 -0
- package/dist-types/commands/GetOauth2CredentialProviderCommand.d.ts +10 -0
- package/dist-types/commands/SynchronizeGatewayTargetsCommand.d.ts +1 -1
- package/dist-types/commands/UpdateGatewayTargetCommand.d.ts +2 -2
- package/dist-types/commands/UpdateHarnessCommand.d.ts +2 -2
- package/dist-types/commands/UpdateMemoryCommand.d.ts +235 -0
- package/dist-types/commands/UpdateOauth2CredentialProviderCommand.d.ts +22 -2
- package/dist-types/models/enums.d.ts +60 -0
- package/dist-types/models/models_0.d.ts +240 -250
- package/dist-types/models/models_1.d.ts +340 -4
- package/dist-types/schemas/schemas_0.d.ts +11 -0
- package/dist-types/ts3.4/commands/CreateMemoryCommand.d.ts +1 -2
- package/dist-types/ts3.4/models/enums.d.ts +28 -0
- package/dist-types/ts3.4/models/models_0.d.ts +90 -103
- package/dist-types/ts3.4/models/models_1.d.ts +130 -4
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +11 -0
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { DocumentType as __DocumentType } from "@smithy/types";
|
|
2
|
-
import type { AgentManagedRuntimeType, AgentRuntimeEndpointStatus, AgentRuntimeStatus, ApiKeyCredentialLocation, AuthorizerType, BrowserEnterprisePolicyType, BrowserNetworkMode, BrowserProfileStatus, BrowserStatus, ClaimMatchOperatorType, CodeInterpreterNetworkMode, CodeInterpreterStatus, ConfigurationBundleStatus, ContentLevel, ContentType, CredentialProviderType, EndpointIpAddressType, EvaluatorLevel, EvaluatorStatus, EvaluatorType, ExceptionLevel, GatewayInterceptionPoint, GatewayPolicyEngineMode, GatewayProtocolType, GatewayRuleStatus, GatewayStatus, HarnessStatus, HarnessToolType, HarnessTruncationStrategy, InboundTokenClaimValueType, IncludedData, KeyType, ListingMode, NetworkMode, OAuthGrantType, PrincipalMatchOperator, ResourceType, RestApiMethod, SearchType, ServerProtocol, TargetStatus } from "./enums";
|
|
2
|
+
import type { AgentManagedRuntimeType, AgentRuntimeEndpointStatus, AgentRuntimeStatus, ApiKeyCredentialLocation, AuthorizerType, BrowserEnterprisePolicyType, BrowserNetworkMode, BrowserProfileStatus, BrowserStatus, ClaimMatchOperatorType, CodeInterpreterNetworkMode, CodeInterpreterStatus, ConfigurationBundleStatus, ContentLevel, ContentType, CredentialProviderType, EndpointIpAddressType, EvaluatorLevel, EvaluatorStatus, EvaluatorType, ExceptionLevel, GatewayInterceptionPoint, GatewayPolicyEngineMode, GatewayProtocolType, GatewayRuleStatus, GatewayStatus, HarnessStatus, HarnessToolType, HarnessTruncationStrategy, InboundTokenClaimValueType, IncludedData, KeyType, ListingMode, MetadataValueType, NetworkMode, OAuthGrantType, PrincipalMatchOperator, ResourceType, RestApiMethod, SearchType, ServerProtocol, TargetStatus } from "./enums";
|
|
3
3
|
/**
|
|
4
4
|
* <p>The agent card definition for an A2A descriptor. Contains the schema version and inline content for the agent card.</p>
|
|
5
5
|
* @public
|
|
@@ -7199,6 +7199,22 @@ export interface ListTagsForResourceResponse {
|
|
|
7199
7199
|
*/
|
|
7200
7200
|
tags?: Record<string, string> | undefined;
|
|
7201
7201
|
}
|
|
7202
|
+
/**
|
|
7203
|
+
* <p>A metadata key indexed for filtering.</p>
|
|
7204
|
+
* @public
|
|
7205
|
+
*/
|
|
7206
|
+
export interface IndexedKey {
|
|
7207
|
+
/**
|
|
7208
|
+
* <p>The metadata key name to index.</p>
|
|
7209
|
+
* @public
|
|
7210
|
+
*/
|
|
7211
|
+
key: string | undefined;
|
|
7212
|
+
/**
|
|
7213
|
+
* <p>The data type of the indexed key.</p>
|
|
7214
|
+
* @public
|
|
7215
|
+
*/
|
|
7216
|
+
type: MetadataValueType | undefined;
|
|
7217
|
+
}
|
|
7202
7218
|
/**
|
|
7203
7219
|
* <p>Configurations for overriding the consolidation step of the episodic memory strategy.</p>
|
|
7204
7220
|
* @public
|
|
@@ -7231,6 +7247,194 @@ export interface EpisodicOverrideExtractionConfigurationInput {
|
|
|
7231
7247
|
*/
|
|
7232
7248
|
modelId: string | undefined;
|
|
7233
7249
|
}
|
|
7250
|
+
/**
|
|
7251
|
+
* <p>Validation for NUMBER fields.</p>
|
|
7252
|
+
* @public
|
|
7253
|
+
*/
|
|
7254
|
+
export interface NumberValidation {
|
|
7255
|
+
/**
|
|
7256
|
+
* <p>Minimum allowed value.</p>
|
|
7257
|
+
* @public
|
|
7258
|
+
*/
|
|
7259
|
+
minValue?: number | undefined;
|
|
7260
|
+
/**
|
|
7261
|
+
* <p>Maximum allowed value.</p>
|
|
7262
|
+
* @public
|
|
7263
|
+
*/
|
|
7264
|
+
maxValue?: number | undefined;
|
|
7265
|
+
}
|
|
7266
|
+
/**
|
|
7267
|
+
* <p>Validation for STRINGLIST fields.</p>
|
|
7268
|
+
* @public
|
|
7269
|
+
*/
|
|
7270
|
+
export interface StringListValidation {
|
|
7271
|
+
/**
|
|
7272
|
+
* <p>Allowed values for items in this STRINGLIST field.</p>
|
|
7273
|
+
* @public
|
|
7274
|
+
*/
|
|
7275
|
+
allowedValues?: string[] | undefined;
|
|
7276
|
+
/**
|
|
7277
|
+
* <p>Maximum number of items in the string list.</p>
|
|
7278
|
+
* @public
|
|
7279
|
+
*/
|
|
7280
|
+
maxItems?: number | undefined;
|
|
7281
|
+
}
|
|
7282
|
+
/**
|
|
7283
|
+
* <p>Validation for STRING fields.</p>
|
|
7284
|
+
* @public
|
|
7285
|
+
*/
|
|
7286
|
+
export interface StringValidation {
|
|
7287
|
+
/**
|
|
7288
|
+
* <p>Allowed values for this STRING field.</p>
|
|
7289
|
+
* @public
|
|
7290
|
+
*/
|
|
7291
|
+
allowedValues: string[] | undefined;
|
|
7292
|
+
}
|
|
7293
|
+
/**
|
|
7294
|
+
* <p>Validation rules for extracted metadata values. Only one type can be specified, matching the field's data type.</p>
|
|
7295
|
+
* @public
|
|
7296
|
+
*/
|
|
7297
|
+
export type Validation = Validation.NumberValidationMember | Validation.StringListValidationMember | Validation.StringValidationMember | Validation.$UnknownMember;
|
|
7298
|
+
/**
|
|
7299
|
+
* @public
|
|
7300
|
+
*/
|
|
7301
|
+
export declare namespace Validation {
|
|
7302
|
+
/**
|
|
7303
|
+
* <p>Validation for STRING fields.</p>
|
|
7304
|
+
* @public
|
|
7305
|
+
*/
|
|
7306
|
+
interface StringValidationMember {
|
|
7307
|
+
stringValidation: StringValidation;
|
|
7308
|
+
stringListValidation?: never;
|
|
7309
|
+
numberValidation?: never;
|
|
7310
|
+
$unknown?: never;
|
|
7311
|
+
}
|
|
7312
|
+
/**
|
|
7313
|
+
* <p>Validation for STRINGLIST fields.</p>
|
|
7314
|
+
* @public
|
|
7315
|
+
*/
|
|
7316
|
+
interface StringListValidationMember {
|
|
7317
|
+
stringValidation?: never;
|
|
7318
|
+
stringListValidation: StringListValidation;
|
|
7319
|
+
numberValidation?: never;
|
|
7320
|
+
$unknown?: never;
|
|
7321
|
+
}
|
|
7322
|
+
/**
|
|
7323
|
+
* <p>Validation for NUMBER fields.</p>
|
|
7324
|
+
* @public
|
|
7325
|
+
*/
|
|
7326
|
+
interface NumberValidationMember {
|
|
7327
|
+
stringValidation?: never;
|
|
7328
|
+
stringListValidation?: never;
|
|
7329
|
+
numberValidation: NumberValidation;
|
|
7330
|
+
$unknown?: never;
|
|
7331
|
+
}
|
|
7332
|
+
/**
|
|
7333
|
+
* @public
|
|
7334
|
+
*/
|
|
7335
|
+
interface $UnknownMember {
|
|
7336
|
+
stringValidation?: never;
|
|
7337
|
+
stringListValidation?: never;
|
|
7338
|
+
numberValidation?: never;
|
|
7339
|
+
$unknown: [string, any];
|
|
7340
|
+
}
|
|
7341
|
+
/**
|
|
7342
|
+
* @deprecated unused in schema-serde mode.
|
|
7343
|
+
*
|
|
7344
|
+
*/
|
|
7345
|
+
interface Visitor<T> {
|
|
7346
|
+
stringValidation: (value: StringValidation) => T;
|
|
7347
|
+
stringListValidation: (value: StringListValidation) => T;
|
|
7348
|
+
numberValidation: (value: NumberValidation) => T;
|
|
7349
|
+
_: (name: string, value: any) => T;
|
|
7350
|
+
}
|
|
7351
|
+
}
|
|
7352
|
+
/**
|
|
7353
|
+
* <p>Model-based metadata extraction configuration.</p>
|
|
7354
|
+
* @public
|
|
7355
|
+
*/
|
|
7356
|
+
export interface LlmExtractionConfig {
|
|
7357
|
+
/**
|
|
7358
|
+
* <p>Instructions for extraction. Supports built-in operators like LATEST_VALUE or custom natural-language instructions.</p>
|
|
7359
|
+
* @public
|
|
7360
|
+
*/
|
|
7361
|
+
llmExtractionInstruction?: string | undefined;
|
|
7362
|
+
/**
|
|
7363
|
+
* <p>Description of what this metadata field represents.</p>
|
|
7364
|
+
* @public
|
|
7365
|
+
*/
|
|
7366
|
+
definition: string | undefined;
|
|
7367
|
+
/**
|
|
7368
|
+
* <p>Validation rules to constrain extracted values.</p>
|
|
7369
|
+
* @public
|
|
7370
|
+
*/
|
|
7371
|
+
validation?: Validation | undefined;
|
|
7372
|
+
}
|
|
7373
|
+
/**
|
|
7374
|
+
* <p>Configuration for metadata extraction from conversational content.</p>
|
|
7375
|
+
* @public
|
|
7376
|
+
*/
|
|
7377
|
+
export type ExtractionConfig = ExtractionConfig.LlmExtractionConfigMember | ExtractionConfig.$UnknownMember;
|
|
7378
|
+
/**
|
|
7379
|
+
* @public
|
|
7380
|
+
*/
|
|
7381
|
+
export declare namespace ExtractionConfig {
|
|
7382
|
+
/**
|
|
7383
|
+
* <p>Model-based extraction using a definition and instructions.</p>
|
|
7384
|
+
* @public
|
|
7385
|
+
*/
|
|
7386
|
+
interface LlmExtractionConfigMember {
|
|
7387
|
+
llmExtractionConfig: LlmExtractionConfig;
|
|
7388
|
+
$unknown?: never;
|
|
7389
|
+
}
|
|
7390
|
+
/**
|
|
7391
|
+
* @public
|
|
7392
|
+
*/
|
|
7393
|
+
interface $UnknownMember {
|
|
7394
|
+
llmExtractionConfig?: never;
|
|
7395
|
+
$unknown: [string, any];
|
|
7396
|
+
}
|
|
7397
|
+
/**
|
|
7398
|
+
* @deprecated unused in schema-serde mode.
|
|
7399
|
+
*
|
|
7400
|
+
*/
|
|
7401
|
+
interface Visitor<T> {
|
|
7402
|
+
llmExtractionConfig: (value: LlmExtractionConfig) => T;
|
|
7403
|
+
_: (name: string, value: any) => T;
|
|
7404
|
+
}
|
|
7405
|
+
}
|
|
7406
|
+
/**
|
|
7407
|
+
* <p>A metadata field definition within a strategy's schema.</p>
|
|
7408
|
+
* @public
|
|
7409
|
+
*/
|
|
7410
|
+
export interface MetadataSchemaEntry {
|
|
7411
|
+
/**
|
|
7412
|
+
* <p>The metadata field name. Must match an indexed key to be queryable via metadata filters.</p>
|
|
7413
|
+
* @public
|
|
7414
|
+
*/
|
|
7415
|
+
key: string | undefined;
|
|
7416
|
+
/**
|
|
7417
|
+
* <p>The MetadataValueType.</p>
|
|
7418
|
+
* @public
|
|
7419
|
+
*/
|
|
7420
|
+
type?: MetadataValueType | undefined;
|
|
7421
|
+
/**
|
|
7422
|
+
* <p>Configuration for extracting this metadata value from conversational content.</p>
|
|
7423
|
+
* @public
|
|
7424
|
+
*/
|
|
7425
|
+
extractionConfig?: ExtractionConfig | undefined;
|
|
7426
|
+
}
|
|
7427
|
+
/**
|
|
7428
|
+
* <p>Schema for metadata on memory records generated by a strategy.</p>
|
|
7429
|
+
* @public
|
|
7430
|
+
*/
|
|
7431
|
+
export interface MemoryRecordSchema {
|
|
7432
|
+
/**
|
|
7433
|
+
* <p>The metadata field definitions for this strategy.</p>
|
|
7434
|
+
* @public
|
|
7435
|
+
*/
|
|
7436
|
+
metadataSchema?: MetadataSchemaEntry[] | undefined;
|
|
7437
|
+
}
|
|
7234
7438
|
/**
|
|
7235
7439
|
* <p>Configurations for overriding the reflection step of the episodic memory strategy.</p>
|
|
7236
7440
|
* @public
|
|
@@ -7258,6 +7462,11 @@ export interface EpisodicOverrideReflectionConfigurationInput {
|
|
|
7258
7462
|
* @public
|
|
7259
7463
|
*/
|
|
7260
7464
|
namespaceTemplates?: string[] | undefined;
|
|
7465
|
+
/**
|
|
7466
|
+
* <p>Schema for metadata fields on records generated by this reflection override.</p>
|
|
7467
|
+
* @public
|
|
7468
|
+
*/
|
|
7469
|
+
memoryRecordSchema?: MemoryRecordSchema | undefined;
|
|
7261
7470
|
}
|
|
7262
7471
|
/**
|
|
7263
7472
|
* <p>Input for the configuration to override the episodic memory strategy.</p>
|
|
@@ -7657,6 +7866,11 @@ export interface CustomMemoryStrategyInput {
|
|
|
7657
7866
|
* @public
|
|
7658
7867
|
*/
|
|
7659
7868
|
configuration?: CustomConfigurationInput | undefined;
|
|
7869
|
+
/**
|
|
7870
|
+
* <p>Schema for metadata fields on records generated by this strategy.</p>
|
|
7871
|
+
* @public
|
|
7872
|
+
*/
|
|
7873
|
+
memoryRecordSchema?: MemoryRecordSchema | undefined;
|
|
7660
7874
|
}
|
|
7661
7875
|
/**
|
|
7662
7876
|
* <p>An episodic reflection configuration input.</p>
|
|
@@ -7675,6 +7889,11 @@ export interface EpisodicReflectionConfigurationInput {
|
|
|
7675
7889
|
* @public
|
|
7676
7890
|
*/
|
|
7677
7891
|
namespaceTemplates?: string[] | undefined;
|
|
7892
|
+
/**
|
|
7893
|
+
* <p>Schema for metadata fields on records generated by reflections.</p>
|
|
7894
|
+
* @public
|
|
7895
|
+
*/
|
|
7896
|
+
memoryRecordSchema?: MemoryRecordSchema | undefined;
|
|
7678
7897
|
}
|
|
7679
7898
|
/**
|
|
7680
7899
|
* <p>Input for creating an episodic memory strategy.</p>
|
|
@@ -7708,6 +7927,11 @@ export interface EpisodicMemoryStrategyInput {
|
|
|
7708
7927
|
* @public
|
|
7709
7928
|
*/
|
|
7710
7929
|
reflectionConfiguration?: EpisodicReflectionConfigurationInput | undefined;
|
|
7930
|
+
/**
|
|
7931
|
+
* <p>Schema for metadata fields on records generated by this strategy.</p>
|
|
7932
|
+
* @public
|
|
7933
|
+
*/
|
|
7934
|
+
memoryRecordSchema?: MemoryRecordSchema | undefined;
|
|
7711
7935
|
}
|
|
7712
7936
|
/**
|
|
7713
7937
|
* <p>Input for creating a semantic memory strategy.</p>
|
|
@@ -7736,6 +7960,11 @@ export interface SemanticMemoryStrategyInput {
|
|
|
7736
7960
|
* @public
|
|
7737
7961
|
*/
|
|
7738
7962
|
namespaceTemplates?: string[] | undefined;
|
|
7963
|
+
/**
|
|
7964
|
+
* <p>Schema for metadata on memory records generated by a strategy.</p>
|
|
7965
|
+
* @public
|
|
7966
|
+
*/
|
|
7967
|
+
memoryRecordSchema?: MemoryRecordSchema | undefined;
|
|
7739
7968
|
}
|
|
7740
7969
|
/**
|
|
7741
7970
|
* <p>Input for creating a summary memory strategy.</p>
|
|
@@ -7764,6 +7993,11 @@ export interface SummaryMemoryStrategyInput {
|
|
|
7764
7993
|
* @public
|
|
7765
7994
|
*/
|
|
7766
7995
|
namespaceTemplates?: string[] | undefined;
|
|
7996
|
+
/**
|
|
7997
|
+
* <p>Schema for metadata fields on records generated by this strategy.</p>
|
|
7998
|
+
* @public
|
|
7999
|
+
*/
|
|
8000
|
+
memoryRecordSchema?: MemoryRecordSchema | undefined;
|
|
7767
8001
|
}
|
|
7768
8002
|
/**
|
|
7769
8003
|
* <p>Input for creating a user preference memory strategy.</p>
|
|
@@ -7792,6 +8026,11 @@ export interface UserPreferenceMemoryStrategyInput {
|
|
|
7792
8026
|
* @public
|
|
7793
8027
|
*/
|
|
7794
8028
|
namespaceTemplates?: string[] | undefined;
|
|
8029
|
+
/**
|
|
8030
|
+
* <p>Schema for metadata fields on records generated by this strategy.</p>
|
|
8031
|
+
* @public
|
|
8032
|
+
*/
|
|
8033
|
+
memoryRecordSchema?: MemoryRecordSchema | undefined;
|
|
7795
8034
|
}
|
|
7796
8035
|
/**
|
|
7797
8036
|
* <p>Contains input information for creating a memory strategy.</p>
|
|
@@ -7902,252 +8141,3 @@ export interface ContentConfiguration {
|
|
|
7902
8141
|
*/
|
|
7903
8142
|
level?: ContentLevel | undefined;
|
|
7904
8143
|
}
|
|
7905
|
-
/**
|
|
7906
|
-
* <p>Configuration for Kinesis Data Stream delivery.</p>
|
|
7907
|
-
* @public
|
|
7908
|
-
*/
|
|
7909
|
-
export interface KinesisResource {
|
|
7910
|
-
/**
|
|
7911
|
-
* <p>ARN of the Kinesis Data Stream.</p>
|
|
7912
|
-
* @public
|
|
7913
|
-
*/
|
|
7914
|
-
dataStreamArn: string | undefined;
|
|
7915
|
-
/**
|
|
7916
|
-
* <p>Content configurations for stream delivery.</p>
|
|
7917
|
-
* @public
|
|
7918
|
-
*/
|
|
7919
|
-
contentConfigurations: ContentConfiguration[] | undefined;
|
|
7920
|
-
}
|
|
7921
|
-
/**
|
|
7922
|
-
* <p>Supported stream delivery resource types.</p>
|
|
7923
|
-
* @public
|
|
7924
|
-
*/
|
|
7925
|
-
export type StreamDeliveryResource = StreamDeliveryResource.KinesisMember | StreamDeliveryResource.$UnknownMember;
|
|
7926
|
-
/**
|
|
7927
|
-
* @public
|
|
7928
|
-
*/
|
|
7929
|
-
export declare namespace StreamDeliveryResource {
|
|
7930
|
-
/**
|
|
7931
|
-
* <p>Kinesis Data Stream configuration.</p>
|
|
7932
|
-
* @public
|
|
7933
|
-
*/
|
|
7934
|
-
interface KinesisMember {
|
|
7935
|
-
kinesis: KinesisResource;
|
|
7936
|
-
$unknown?: never;
|
|
7937
|
-
}
|
|
7938
|
-
/**
|
|
7939
|
-
* @public
|
|
7940
|
-
*/
|
|
7941
|
-
interface $UnknownMember {
|
|
7942
|
-
kinesis?: never;
|
|
7943
|
-
$unknown: [string, any];
|
|
7944
|
-
}
|
|
7945
|
-
/**
|
|
7946
|
-
* @deprecated unused in schema-serde mode.
|
|
7947
|
-
*
|
|
7948
|
-
*/
|
|
7949
|
-
interface Visitor<T> {
|
|
7950
|
-
kinesis: (value: KinesisResource) => T;
|
|
7951
|
-
_: (name: string, value: any) => T;
|
|
7952
|
-
}
|
|
7953
|
-
}
|
|
7954
|
-
/**
|
|
7955
|
-
* <p>Configuration for streaming memory record data to external resources.</p>
|
|
7956
|
-
* @public
|
|
7957
|
-
*/
|
|
7958
|
-
export interface StreamDeliveryResources {
|
|
7959
|
-
/**
|
|
7960
|
-
* <p>List of stream delivery resource configurations.</p>
|
|
7961
|
-
* @public
|
|
7962
|
-
*/
|
|
7963
|
-
resources: StreamDeliveryResource[] | undefined;
|
|
7964
|
-
}
|
|
7965
|
-
/**
|
|
7966
|
-
* @public
|
|
7967
|
-
*/
|
|
7968
|
-
export interface CreateMemoryInput {
|
|
7969
|
-
/**
|
|
7970
|
-
* <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>
|
|
7971
|
-
* @public
|
|
7972
|
-
*/
|
|
7973
|
-
clientToken?: string | undefined;
|
|
7974
|
-
/**
|
|
7975
|
-
* <p>The name of the memory. The name must be unique within your account.</p>
|
|
7976
|
-
* @public
|
|
7977
|
-
*/
|
|
7978
|
-
name: string | undefined;
|
|
7979
|
-
/**
|
|
7980
|
-
* <p>The description of the memory.</p>
|
|
7981
|
-
* @public
|
|
7982
|
-
*/
|
|
7983
|
-
description?: string | undefined;
|
|
7984
|
-
/**
|
|
7985
|
-
* <p>The Amazon Resource Name (ARN) of the KMS key used to encrypt the memory data.</p>
|
|
7986
|
-
* @public
|
|
7987
|
-
*/
|
|
7988
|
-
encryptionKeyArn?: string | undefined;
|
|
7989
|
-
/**
|
|
7990
|
-
* <p>The Amazon Resource Name (ARN) of the IAM role that provides permissions for the memory to access Amazon Web Services services.</p>
|
|
7991
|
-
* @public
|
|
7992
|
-
*/
|
|
7993
|
-
memoryExecutionRoleArn?: string | undefined;
|
|
7994
|
-
/**
|
|
7995
|
-
* <p>The duration after which memory events expire. Specified as an ISO 8601 duration.</p>
|
|
7996
|
-
* @public
|
|
7997
|
-
*/
|
|
7998
|
-
eventExpiryDuration: number | undefined;
|
|
7999
|
-
/**
|
|
8000
|
-
* <p>The memory strategies to use for this memory. Strategies define how information is extracted, processed, and consolidated.</p>
|
|
8001
|
-
* @public
|
|
8002
|
-
*/
|
|
8003
|
-
memoryStrategies?: MemoryStrategyInput[] | undefined;
|
|
8004
|
-
/**
|
|
8005
|
-
* <p>Configuration for streaming memory record data to external resources.</p>
|
|
8006
|
-
* @public
|
|
8007
|
-
*/
|
|
8008
|
-
streamDeliveryResources?: StreamDeliveryResources | undefined;
|
|
8009
|
-
/**
|
|
8010
|
-
* <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>
|
|
8011
|
-
* @public
|
|
8012
|
-
*/
|
|
8013
|
-
tags?: Record<string, string> | undefined;
|
|
8014
|
-
}
|
|
8015
|
-
/**
|
|
8016
|
-
* <p>Contains configurations to override the default consolidation step for the episodic memory strategy.</p>
|
|
8017
|
-
* @public
|
|
8018
|
-
*/
|
|
8019
|
-
export interface EpisodicConsolidationOverride {
|
|
8020
|
-
/**
|
|
8021
|
-
* <p>The text appended to the prompt for the consolidation step of the episodic memory strategy.</p>
|
|
8022
|
-
* @public
|
|
8023
|
-
*/
|
|
8024
|
-
appendToPrompt: string | undefined;
|
|
8025
|
-
/**
|
|
8026
|
-
* <p>The model ID used for the consolidation step of the episodic memory strategy.</p>
|
|
8027
|
-
* @public
|
|
8028
|
-
*/
|
|
8029
|
-
modelId: string | undefined;
|
|
8030
|
-
}
|
|
8031
|
-
/**
|
|
8032
|
-
* <p>Contains semantic consolidation override configuration.</p>
|
|
8033
|
-
* @public
|
|
8034
|
-
*/
|
|
8035
|
-
export interface SemanticConsolidationOverride {
|
|
8036
|
-
/**
|
|
8037
|
-
* <p>The text to append to the prompt for semantic consolidation.</p>
|
|
8038
|
-
* @public
|
|
8039
|
-
*/
|
|
8040
|
-
appendToPrompt: string | undefined;
|
|
8041
|
-
/**
|
|
8042
|
-
* <p>The model ID to use for semantic consolidation.</p>
|
|
8043
|
-
* @public
|
|
8044
|
-
*/
|
|
8045
|
-
modelId: string | undefined;
|
|
8046
|
-
}
|
|
8047
|
-
/**
|
|
8048
|
-
* <p>Contains summary consolidation override configuration.</p>
|
|
8049
|
-
* @public
|
|
8050
|
-
*/
|
|
8051
|
-
export interface SummaryConsolidationOverride {
|
|
8052
|
-
/**
|
|
8053
|
-
* <p>The text to append to the prompt for summary consolidation.</p>
|
|
8054
|
-
* @public
|
|
8055
|
-
*/
|
|
8056
|
-
appendToPrompt: string | undefined;
|
|
8057
|
-
/**
|
|
8058
|
-
* <p>The model ID to use for summary consolidation.</p>
|
|
8059
|
-
* @public
|
|
8060
|
-
*/
|
|
8061
|
-
modelId: string | undefined;
|
|
8062
|
-
}
|
|
8063
|
-
/**
|
|
8064
|
-
* <p>Contains user preference consolidation override configuration.</p>
|
|
8065
|
-
* @public
|
|
8066
|
-
*/
|
|
8067
|
-
export interface UserPreferenceConsolidationOverride {
|
|
8068
|
-
/**
|
|
8069
|
-
* <p>The text to append to the prompt for user preference consolidation.</p>
|
|
8070
|
-
* @public
|
|
8071
|
-
*/
|
|
8072
|
-
appendToPrompt: string | undefined;
|
|
8073
|
-
/**
|
|
8074
|
-
* <p>The model ID to use for user preference consolidation.</p>
|
|
8075
|
-
* @public
|
|
8076
|
-
*/
|
|
8077
|
-
modelId: string | undefined;
|
|
8078
|
-
}
|
|
8079
|
-
/**
|
|
8080
|
-
* <p>Contains custom consolidation configuration information.</p>
|
|
8081
|
-
* @public
|
|
8082
|
-
*/
|
|
8083
|
-
export type CustomConsolidationConfiguration = CustomConsolidationConfiguration.EpisodicConsolidationOverrideMember | CustomConsolidationConfiguration.SemanticConsolidationOverrideMember | CustomConsolidationConfiguration.SummaryConsolidationOverrideMember | CustomConsolidationConfiguration.UserPreferenceConsolidationOverrideMember | CustomConsolidationConfiguration.$UnknownMember;
|
|
8084
|
-
/**
|
|
8085
|
-
* @public
|
|
8086
|
-
*/
|
|
8087
|
-
export declare namespace CustomConsolidationConfiguration {
|
|
8088
|
-
/**
|
|
8089
|
-
* <p>The semantic consolidation override configuration.</p>
|
|
8090
|
-
* @public
|
|
8091
|
-
*/
|
|
8092
|
-
interface SemanticConsolidationOverrideMember {
|
|
8093
|
-
semanticConsolidationOverride: SemanticConsolidationOverride;
|
|
8094
|
-
summaryConsolidationOverride?: never;
|
|
8095
|
-
userPreferenceConsolidationOverride?: never;
|
|
8096
|
-
episodicConsolidationOverride?: never;
|
|
8097
|
-
$unknown?: never;
|
|
8098
|
-
}
|
|
8099
|
-
/**
|
|
8100
|
-
* <p>The summary consolidation override configuration.</p>
|
|
8101
|
-
* @public
|
|
8102
|
-
*/
|
|
8103
|
-
interface SummaryConsolidationOverrideMember {
|
|
8104
|
-
semanticConsolidationOverride?: never;
|
|
8105
|
-
summaryConsolidationOverride: SummaryConsolidationOverride;
|
|
8106
|
-
userPreferenceConsolidationOverride?: never;
|
|
8107
|
-
episodicConsolidationOverride?: never;
|
|
8108
|
-
$unknown?: never;
|
|
8109
|
-
}
|
|
8110
|
-
/**
|
|
8111
|
-
* <p>The user preference consolidation override configuration.</p>
|
|
8112
|
-
* @public
|
|
8113
|
-
*/
|
|
8114
|
-
interface UserPreferenceConsolidationOverrideMember {
|
|
8115
|
-
semanticConsolidationOverride?: never;
|
|
8116
|
-
summaryConsolidationOverride?: never;
|
|
8117
|
-
userPreferenceConsolidationOverride: UserPreferenceConsolidationOverride;
|
|
8118
|
-
episodicConsolidationOverride?: never;
|
|
8119
|
-
$unknown?: never;
|
|
8120
|
-
}
|
|
8121
|
-
/**
|
|
8122
|
-
* <p>The configurations to override the default consolidation step for the episodic memory strategy.</p>
|
|
8123
|
-
* @public
|
|
8124
|
-
*/
|
|
8125
|
-
interface EpisodicConsolidationOverrideMember {
|
|
8126
|
-
semanticConsolidationOverride?: never;
|
|
8127
|
-
summaryConsolidationOverride?: never;
|
|
8128
|
-
userPreferenceConsolidationOverride?: never;
|
|
8129
|
-
episodicConsolidationOverride: EpisodicConsolidationOverride;
|
|
8130
|
-
$unknown?: never;
|
|
8131
|
-
}
|
|
8132
|
-
/**
|
|
8133
|
-
* @public
|
|
8134
|
-
*/
|
|
8135
|
-
interface $UnknownMember {
|
|
8136
|
-
semanticConsolidationOverride?: never;
|
|
8137
|
-
summaryConsolidationOverride?: never;
|
|
8138
|
-
userPreferenceConsolidationOverride?: never;
|
|
8139
|
-
episodicConsolidationOverride?: never;
|
|
8140
|
-
$unknown: [string, any];
|
|
8141
|
-
}
|
|
8142
|
-
/**
|
|
8143
|
-
* @deprecated unused in schema-serde mode.
|
|
8144
|
-
*
|
|
8145
|
-
*/
|
|
8146
|
-
interface Visitor<T> {
|
|
8147
|
-
semanticConsolidationOverride: (value: SemanticConsolidationOverride) => T;
|
|
8148
|
-
summaryConsolidationOverride: (value: SummaryConsolidationOverride) => T;
|
|
8149
|
-
userPreferenceConsolidationOverride: (value: UserPreferenceConsolidationOverride) => T;
|
|
8150
|
-
episodicConsolidationOverride: (value: EpisodicConsolidationOverride) => T;
|
|
8151
|
-
_: (name: string, value: any) => T;
|
|
8152
|
-
}
|
|
8153
|
-
}
|