@aws-sdk/client-bedrock-agent 3.758.0 → 3.765.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.
@@ -128,6 +128,9 @@ export declare namespace FunctionSchema {
128
128
  export declare const ActionGroupSignature: {
129
129
  readonly AMAZON_CODEINTERPRETER: "AMAZON.CodeInterpreter";
130
130
  readonly AMAZON_USERINPUT: "AMAZON.UserInput";
131
+ readonly ANTHROPIC_BASH: "ANTHROPIC.Bash";
132
+ readonly ANTHROPIC_COMPUTER: "ANTHROPIC.Computer";
133
+ readonly ANTHROPIC_TEXTEDITOR: "ANTHROPIC.TextEditor";
131
134
  };
132
135
  export type ActionGroupSignature =
133
136
  (typeof ActionGroupSignature)[keyof typeof ActionGroupSignature];
@@ -138,6 +141,7 @@ export interface CreateAgentActionGroupRequest {
138
141
  clientToken?: string | undefined;
139
142
  description?: string | undefined;
140
143
  parentActionGroupSignature?: ActionGroupSignature | undefined;
144
+ parentActionGroupSignatureParams?: Record<string, string> | undefined;
141
145
  actionGroupExecutor?: ActionGroupExecutor | undefined;
142
146
  apiSchema?: APISchema | undefined;
143
147
  actionGroupState?: ActionGroupState | undefined;
@@ -153,6 +157,7 @@ export interface AgentActionGroup {
153
157
  createdAt: Date | undefined;
154
158
  updatedAt: Date | undefined;
155
159
  parentActionSignature?: ActionGroupSignature | undefined;
160
+ parentActionGroupSignatureParams?: Record<string, string> | undefined;
156
161
  actionGroupExecutor?: ActionGroupExecutor | undefined;
157
162
  apiSchema?: APISchema | undefined;
158
163
  functionSchema?: FunctionSchema | undefined;
@@ -240,6 +245,7 @@ export interface UpdateAgentActionGroupRequest {
240
245
  actionGroupName: string | undefined;
241
246
  description?: string | undefined;
242
247
  parentActionGroupSignature?: ActionGroupSignature | undefined;
248
+ parentActionGroupSignatureParams?: Record<string, string> | undefined;
243
249
  actionGroupExecutor?: ActionGroupExecutor | undefined;
244
250
  actionGroupState?: ActionGroupState | undefined;
245
251
  apiSchema?: APISchema | undefined;
@@ -853,6 +859,29 @@ export interface ChunkingConfiguration {
853
859
  | undefined;
854
860
  semanticChunkingConfiguration?: SemanticChunkingConfiguration | undefined;
855
861
  }
862
+ export declare const EnrichmentStrategyMethod: {
863
+ readonly CHUNK_ENTITY_EXTRACTION: "CHUNK_ENTITY_EXTRACTION";
864
+ };
865
+ export type EnrichmentStrategyMethod =
866
+ (typeof EnrichmentStrategyMethod)[keyof typeof EnrichmentStrategyMethod];
867
+ export interface EnrichmentStrategyConfiguration {
868
+ method: EnrichmentStrategyMethod | undefined;
869
+ }
870
+ export interface BedrockFoundationModelContextEnrichmentConfiguration {
871
+ enrichmentStrategyConfiguration: EnrichmentStrategyConfiguration | undefined;
872
+ modelArn: string | undefined;
873
+ }
874
+ export declare const ContextEnrichmentType: {
875
+ readonly BEDROCK_FOUNDATION_MODEL: "BEDROCK_FOUNDATION_MODEL";
876
+ };
877
+ export type ContextEnrichmentType =
878
+ (typeof ContextEnrichmentType)[keyof typeof ContextEnrichmentType];
879
+ export interface ContextEnrichmentConfiguration {
880
+ type: ContextEnrichmentType | undefined;
881
+ bedrockFoundationModelConfiguration?:
882
+ | BedrockFoundationModelContextEnrichmentConfiguration
883
+ | undefined;
884
+ }
856
885
  export interface S3Location {
857
886
  uri: string | undefined;
858
887
  }
@@ -916,6 +945,7 @@ export interface VectorIngestionConfiguration {
916
945
  | CustomTransformationConfiguration
917
946
  | undefined;
918
947
  parsingConfiguration?: ParsingConfiguration | undefined;
948
+ contextEnrichmentConfiguration?: ContextEnrichmentConfiguration | undefined;
919
949
  }
920
950
  export interface CreateDataSourceRequest {
921
951
  knowledgeBaseId: string | undefined;
@@ -3111,47 +3141,6 @@ export interface StopIngestionJobResponse {
3111
3141
  export interface CustomDocumentIdentifier {
3112
3142
  id: string | undefined;
3113
3143
  }
3114
- export declare const ContentDataSourceType: {
3115
- readonly CUSTOM: "CUSTOM";
3116
- readonly S3: "S3";
3117
- };
3118
- export type ContentDataSourceType =
3119
- (typeof ContentDataSourceType)[keyof typeof ContentDataSourceType];
3120
- export interface DocumentIdentifier {
3121
- dataSourceType: ContentDataSourceType | undefined;
3122
- s3?: S3Location | undefined;
3123
- custom?: CustomDocumentIdentifier | undefined;
3124
- }
3125
- export interface DeleteKnowledgeBaseDocumentsRequest {
3126
- knowledgeBaseId: string | undefined;
3127
- dataSourceId: string | undefined;
3128
- clientToken?: string | undefined;
3129
- documentIdentifiers: DocumentIdentifier[] | undefined;
3130
- }
3131
- export declare const DocumentStatus: {
3132
- readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
3133
- readonly DELETING: "DELETING";
3134
- readonly FAILED: "FAILED";
3135
- readonly IGNORED: "IGNORED";
3136
- readonly INDEXED: "INDEXED";
3137
- readonly IN_PROGRESS: "IN_PROGRESS";
3138
- readonly METADATA_PARTIALLY_INDEXED: "METADATA_PARTIALLY_INDEXED";
3139
- readonly METADATA_UPDATE_FAILED: "METADATA_UPDATE_FAILED";
3140
- readonly NOT_FOUND: "NOT_FOUND";
3141
- readonly PARTIALLY_INDEXED: "PARTIALLY_INDEXED";
3142
- readonly PENDING: "PENDING";
3143
- readonly STARTING: "STARTING";
3144
- };
3145
- export type DocumentStatus =
3146
- (typeof DocumentStatus)[keyof typeof DocumentStatus];
3147
- export interface KnowledgeBaseDocumentDetail {
3148
- knowledgeBaseId: string | undefined;
3149
- dataSourceId: string | undefined;
3150
- status: DocumentStatus | undefined;
3151
- identifier: DocumentIdentifier | undefined;
3152
- statusReason?: string | undefined;
3153
- updatedAt?: Date | undefined;
3154
- }
3155
3144
  export declare const APISchemaFilterSensitiveLog: (obj: APISchema) => any;
3156
3145
  export declare const CreateAgentActionGroupRequestFilterSensitiveLog: (
3157
3146
  obj: CreateAgentActionGroupRequest
@@ -5,18 +5,56 @@ import {
5
5
  AgentStatus,
6
6
  AgentVersion,
7
7
  AgentVersionSummary,
8
- ContentDataSourceType,
9
8
  CustomDocumentIdentifier,
10
- DocumentIdentifier,
11
9
  FlowDefinition,
12
10
  FlowValidation,
13
- KnowledgeBaseDocumentDetail,
14
11
  KnowledgeBaseState,
15
12
  PromptInferenceConfiguration,
16
13
  PromptTemplateConfiguration,
17
14
  PromptTemplateType,
18
15
  S3Location,
19
16
  } from "./models_0";
17
+ export declare const ContentDataSourceType: {
18
+ readonly CUSTOM: "CUSTOM";
19
+ readonly S3: "S3";
20
+ };
21
+ export type ContentDataSourceType =
22
+ (typeof ContentDataSourceType)[keyof typeof ContentDataSourceType];
23
+ export interface DocumentIdentifier {
24
+ dataSourceType: ContentDataSourceType | undefined;
25
+ s3?: S3Location | undefined;
26
+ custom?: CustomDocumentIdentifier | undefined;
27
+ }
28
+ export interface DeleteKnowledgeBaseDocumentsRequest {
29
+ knowledgeBaseId: string | undefined;
30
+ dataSourceId: string | undefined;
31
+ clientToken?: string | undefined;
32
+ documentIdentifiers: DocumentIdentifier[] | undefined;
33
+ }
34
+ export declare const DocumentStatus: {
35
+ readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
36
+ readonly DELETING: "DELETING";
37
+ readonly FAILED: "FAILED";
38
+ readonly IGNORED: "IGNORED";
39
+ readonly INDEXED: "INDEXED";
40
+ readonly IN_PROGRESS: "IN_PROGRESS";
41
+ readonly METADATA_PARTIALLY_INDEXED: "METADATA_PARTIALLY_INDEXED";
42
+ readonly METADATA_UPDATE_FAILED: "METADATA_UPDATE_FAILED";
43
+ readonly NOT_FOUND: "NOT_FOUND";
44
+ readonly PARTIALLY_INDEXED: "PARTIALLY_INDEXED";
45
+ readonly PENDING: "PENDING";
46
+ readonly STARTING: "STARTING";
47
+ };
48
+ export type DocumentStatus =
49
+ (typeof DocumentStatus)[keyof typeof DocumentStatus];
50
+ export interface KnowledgeBaseDocumentDetail {
51
+ knowledgeBaseId: string | undefined;
52
+ dataSourceId: string | undefined;
53
+ status: DocumentStatus | undefined;
54
+ identifier: DocumentIdentifier | undefined;
55
+ statusReason?: string | undefined;
56
+ updatedAt?: Date | undefined;
57
+ }
20
58
  export interface DeleteKnowledgeBaseDocumentsResponse {
21
59
  documentDetails?: KnowledgeBaseDocumentDetail[] | undefined;
22
60
  }
@@ -306,6 +344,14 @@ export interface MongoDbAtlasConfiguration {
306
344
  fieldMapping: MongoDbAtlasFieldMapping | undefined;
307
345
  endpointServiceName?: string | undefined;
308
346
  }
347
+ export interface NeptuneAnalyticsFieldMapping {
348
+ textField: string | undefined;
349
+ metadataField: string | undefined;
350
+ }
351
+ export interface NeptuneAnalyticsConfiguration {
352
+ graphArn: string | undefined;
353
+ fieldMapping: NeptuneAnalyticsFieldMapping | undefined;
354
+ }
309
355
  export interface OpenSearchServerlessFieldMapping {
310
356
  vectorField: string | undefined;
311
357
  textField: string | undefined;
@@ -352,6 +398,7 @@ export interface RedisEnterpriseCloudConfiguration {
352
398
  }
353
399
  export declare const KnowledgeBaseStorageType: {
354
400
  readonly MONGO_DB_ATLAS: "MONGO_DB_ATLAS";
401
+ readonly NEPTUNE_ANALYTICS: "NEPTUNE_ANALYTICS";
355
402
  readonly OPENSEARCH_SERVERLESS: "OPENSEARCH_SERVERLESS";
356
403
  readonly PINECONE: "PINECONE";
357
404
  readonly RDS: "RDS";
@@ -370,6 +417,7 @@ export interface StorageConfiguration {
370
417
  | undefined;
371
418
  rdsConfiguration?: RdsConfiguration | undefined;
372
419
  mongoDbAtlasConfiguration?: MongoDbAtlasConfiguration | undefined;
420
+ neptuneAnalyticsConfiguration?: NeptuneAnalyticsConfiguration | undefined;
373
421
  }
374
422
  export interface CreateKnowledgeBaseRequest {
375
423
  clientToken?: string | undefined;
@@ -708,6 +756,12 @@ export declare const SqlKnowledgeBaseConfigurationFilterSensitiveLog: (
708
756
  export declare const KnowledgeBaseConfigurationFilterSensitiveLog: (
709
757
  obj: KnowledgeBaseConfiguration
710
758
  ) => any;
759
+ export declare const NeptuneAnalyticsConfigurationFilterSensitiveLog: (
760
+ obj: NeptuneAnalyticsConfiguration
761
+ ) => any;
762
+ export declare const StorageConfigurationFilterSensitiveLog: (
763
+ obj: StorageConfiguration
764
+ ) => any;
711
765
  export declare const CreateKnowledgeBaseRequestFilterSensitiveLog: (
712
766
  obj: CreateKnowledgeBaseRequest
713
767
  ) => any;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-bedrock-agent",
3
3
  "description": "AWS SDK for JavaScript Bedrock Agent Client for Node.js, Browser and React Native",
4
- "version": "3.758.0",
4
+ "version": "3.765.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-bedrock-agent",