@aws-sdk/client-bedrock-agent 3.934.0 → 3.936.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.
Files changed (39) hide show
  1. package/dist-cjs/index.js +373 -373
  2. package/dist-es/index.js +2 -1
  3. package/dist-es/models/enums.js +372 -0
  4. package/dist-es/models/errors.js +87 -0
  5. package/dist-es/models/models_0.js +1 -347
  6. package/dist-es/models/models_1.js +1 -112
  7. package/dist-es/schemas/schemas_0.js +1 -1
  8. package/dist-types/commands/AssociateAgentKnowledgeBaseCommand.d.ts +1 -1
  9. package/dist-types/commands/DeleteKnowledgeBaseDocumentsCommand.d.ts +1 -1
  10. package/dist-types/commands/GetIngestionJobCommand.d.ts +1 -2
  11. package/dist-types/commands/GetKnowledgeBaseDocumentsCommand.d.ts +1 -1
  12. package/dist-types/commands/IngestKnowledgeBaseDocumentsCommand.d.ts +1 -1
  13. package/dist-types/commands/ListIngestionJobsCommand.d.ts +1 -1
  14. package/dist-types/commands/ListKnowledgeBaseDocumentsCommand.d.ts +1 -1
  15. package/dist-types/commands/StartIngestionJobCommand.d.ts +1 -1
  16. package/dist-types/commands/StopIngestionJobCommand.d.ts +1 -1
  17. package/dist-types/index.d.ts +4 -1
  18. package/dist-types/models/enums.d.ts +938 -0
  19. package/dist-types/models/errors.d.ts +92 -0
  20. package/dist-types/models/models_0.d.ts +1045 -742
  21. package/dist-types/models/models_1.d.ts +2 -1332
  22. package/dist-types/ts3.4/commands/AssociateAgentKnowledgeBaseCommand.d.ts +1 -1
  23. package/dist-types/ts3.4/commands/DeleteKnowledgeBaseDocumentsCommand.d.ts +1 -1
  24. package/dist-types/ts3.4/commands/GetIngestionJobCommand.d.ts +4 -2
  25. package/dist-types/ts3.4/commands/GetKnowledgeBaseDocumentsCommand.d.ts +1 -1
  26. package/dist-types/ts3.4/commands/IngestKnowledgeBaseDocumentsCommand.d.ts +1 -1
  27. package/dist-types/ts3.4/commands/ListIngestionJobsCommand.d.ts +1 -1
  28. package/dist-types/ts3.4/commands/ListKnowledgeBaseDocumentsCommand.d.ts +1 -1
  29. package/dist-types/ts3.4/commands/StartIngestionJobCommand.d.ts +1 -1
  30. package/dist-types/ts3.4/commands/StopIngestionJobCommand.d.ts +1 -1
  31. package/dist-types/ts3.4/index.d.ts +4 -1
  32. package/dist-types/ts3.4/models/enums.d.ts +501 -0
  33. package/dist-types/ts3.4/models/errors.d.ts +51 -0
  34. package/dist-types/ts3.4/models/models_0.d.ts +330 -396
  35. package/dist-types/ts3.4/models/models_1.d.ts +14 -424
  36. package/package.json +19 -19
  37. package/dist-es/models/index.js +0 -2
  38. package/dist-types/models/index.d.ts +0 -2
  39. package/dist-types/ts3.4/models/index.d.ts +0 -2
@@ -1,18 +1,72 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
1
  import { DocumentType as __DocumentType } from "@smithy/types";
3
- import { BedrockAgentServiceException as __BaseException } from "./BedrockAgentServiceException";
4
- export declare class AccessDeniedException extends __BaseException {
5
- readonly name: "AccessDeniedException";
6
- readonly $fault: "client";
7
- constructor(
8
- opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
9
- );
10
- }
11
- export declare const CustomControlMethod: {
12
- readonly RETURN_CONTROL: "RETURN_CONTROL";
13
- };
14
- export type CustomControlMethod =
15
- (typeof CustomControlMethod)[keyof typeof CustomControlMethod];
2
+ import {
3
+ ActionGroupSignature,
4
+ ActionGroupState,
5
+ AgentAliasStatus,
6
+ AgentCollaboration,
7
+ AgentStatus,
8
+ AliasInvocationState,
9
+ CachePointType,
10
+ ChunkingStrategy,
11
+ ConcurrencyType,
12
+ ConfluenceAuthType,
13
+ ConfluenceHostType,
14
+ ContentDataSourceType,
15
+ ContextEnrichmentType,
16
+ ConversationRole,
17
+ CrawlFilterConfigurationType,
18
+ CreationMode,
19
+ CustomControlMethod,
20
+ CustomSourceType,
21
+ DataDeletionPolicy,
22
+ DataSourceStatus,
23
+ DataSourceType,
24
+ DocumentStatus,
25
+ EmbeddingDataType,
26
+ EnrichmentStrategyMethod,
27
+ FlowConnectionType,
28
+ FlowNodeInputCategory,
29
+ FlowNodeIODataType,
30
+ FlowStatus,
31
+ FlowValidationSeverity,
32
+ FlowValidationType,
33
+ IncludeExclude,
34
+ IncompatibleLoopNodeType,
35
+ IngestionJobFilterAttribute,
36
+ IngestionJobFilterOperator,
37
+ IngestionJobSortByAttribute,
38
+ IngestionJobStatus,
39
+ InlineContentType,
40
+ KnowledgeBaseState,
41
+ MemoryType,
42
+ MetadataSourceType,
43
+ MetadataValueType,
44
+ OrchestrationType,
45
+ ParsingModality,
46
+ ParsingStrategy,
47
+ PerformanceConfigLatency,
48
+ PromptState,
49
+ PromptTemplateType,
50
+ PromptType,
51
+ QueryEngineType,
52
+ RedshiftProvisionedAuthType,
53
+ RedshiftQueryEngineStorageType,
54
+ RedshiftQueryEngineType,
55
+ RedshiftServerlessAuthType,
56
+ RelayConversationHistory,
57
+ RequireConfirmation,
58
+ RerankingMetadataSelectionMode,
59
+ SalesforceAuthType,
60
+ SharePointAuthType,
61
+ SharePointHostType,
62
+ SortOrder,
63
+ StepType,
64
+ SupplementalDataStorageLocationType,
65
+ SupportedLanguages,
66
+ Type,
67
+ VectorSearchRerankingConfigurationType,
68
+ WebScopeType,
69
+ } from "./enums";
16
70
  export type ActionGroupExecutor =
17
71
  | ActionGroupExecutor.CustomControlMember
18
72
  | ActionGroupExecutor.LambdaMember
@@ -39,17 +93,6 @@ export declare namespace ActionGroupExecutor {
39
93
  _: (name: string, value: any) => T;
40
94
  }
41
95
  }
42
- export declare class ConflictException extends __BaseException {
43
- readonly name: "ConflictException";
44
- readonly $fault: "client";
45
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
46
- }
47
- export declare const ActionGroupState: {
48
- readonly DISABLED: "DISABLED";
49
- readonly ENABLED: "ENABLED";
50
- };
51
- export type ActionGroupState =
52
- (typeof ActionGroupState)[keyof typeof ActionGroupState];
53
96
  export interface S3Identifier {
54
97
  s3BucketName?: string | undefined;
55
98
  s3ObjectKey?: string | undefined;
@@ -80,25 +123,11 @@ export declare namespace APISchema {
80
123
  _: (name: string, value: any) => T;
81
124
  }
82
125
  }
83
- export declare const Type: {
84
- readonly ARRAY: "array";
85
- readonly BOOLEAN: "boolean";
86
- readonly INTEGER: "integer";
87
- readonly NUMBER: "number";
88
- readonly STRING: "string";
89
- };
90
- export type Type = (typeof Type)[keyof typeof Type];
91
126
  export interface ParameterDetail {
92
127
  description?: string | undefined;
93
128
  type: Type | undefined;
94
129
  required?: boolean | undefined;
95
130
  }
96
- export declare const RequireConfirmation: {
97
- readonly DISABLED: "DISABLED";
98
- readonly ENABLED: "ENABLED";
99
- };
100
- export type RequireConfirmation =
101
- (typeof RequireConfirmation)[keyof typeof RequireConfirmation];
102
131
  export interface Function {
103
132
  name: string | undefined;
104
133
  description?: string | undefined;
@@ -122,15 +151,6 @@ export declare namespace FunctionSchema {
122
151
  _: (name: string, value: any) => T;
123
152
  }
124
153
  }
125
- export declare const ActionGroupSignature: {
126
- readonly AMAZON_CODEINTERPRETER: "AMAZON.CodeInterpreter";
127
- readonly AMAZON_USERINPUT: "AMAZON.UserInput";
128
- readonly ANTHROPIC_BASH: "ANTHROPIC.Bash";
129
- readonly ANTHROPIC_COMPUTER: "ANTHROPIC.Computer";
130
- readonly ANTHROPIC_TEXTEDITOR: "ANTHROPIC.TextEditor";
131
- };
132
- export type ActionGroupSignature =
133
- (typeof ActionGroupSignature)[keyof typeof ActionGroupSignature];
134
154
  export interface CreateAgentActionGroupRequest {
135
155
  agentId: string | undefined;
136
156
  agentVersion: string | undefined;
@@ -163,46 +183,10 @@ export interface AgentActionGroup {
163
183
  export interface CreateAgentActionGroupResponse {
164
184
  agentActionGroup: AgentActionGroup | undefined;
165
185
  }
166
- export declare class InternalServerException extends __BaseException {
167
- readonly name: "InternalServerException";
168
- readonly $fault: "server";
169
- constructor(
170
- opts: __ExceptionOptionType<InternalServerException, __BaseException>
171
- );
172
- }
173
- export declare class ResourceNotFoundException extends __BaseException {
174
- readonly name: "ResourceNotFoundException";
175
- readonly $fault: "client";
176
- constructor(
177
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
178
- );
179
- }
180
- export declare class ServiceQuotaExceededException extends __BaseException {
181
- readonly name: "ServiceQuotaExceededException";
182
- readonly $fault: "client";
183
- constructor(
184
- opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
185
- );
186
- }
187
- export declare class ThrottlingException extends __BaseException {
188
- readonly name: "ThrottlingException";
189
- readonly $fault: "client";
190
- constructor(
191
- opts: __ExceptionOptionType<ThrottlingException, __BaseException>
192
- );
193
- }
194
186
  export interface ValidationExceptionField {
195
187
  name: string | undefined;
196
188
  message: string | undefined;
197
189
  }
198
- export declare class ValidationException extends __BaseException {
199
- readonly name: "ValidationException";
200
- readonly $fault: "client";
201
- fieldList?: ValidationExceptionField[] | undefined;
202
- constructor(
203
- opts: __ExceptionOptionType<ValidationException, __BaseException>
204
- );
205
- }
206
190
  export interface DeleteAgentActionGroupRequest {
207
191
  agentId: string | undefined;
208
192
  agentVersion: string | undefined;
@@ -251,24 +235,6 @@ export interface UpdateAgentActionGroupRequest {
251
235
  export interface UpdateAgentActionGroupResponse {
252
236
  agentActionGroup: AgentActionGroup | undefined;
253
237
  }
254
- export declare const AgentCollaboration: {
255
- readonly DISABLED: "DISABLED";
256
- readonly SUPERVISOR: "SUPERVISOR";
257
- readonly SUPERVISOR_ROUTER: "SUPERVISOR_ROUTER";
258
- };
259
- export type AgentCollaboration =
260
- (typeof AgentCollaboration)[keyof typeof AgentCollaboration];
261
- export declare const AgentStatus: {
262
- readonly CREATING: "CREATING";
263
- readonly DELETING: "DELETING";
264
- readonly FAILED: "FAILED";
265
- readonly NOT_PREPARED: "NOT_PREPARED";
266
- readonly PREPARED: "PREPARED";
267
- readonly PREPARING: "PREPARING";
268
- readonly UPDATING: "UPDATING";
269
- readonly VERSIONING: "VERSIONING";
270
- };
271
- export type AgentStatus = (typeof AgentStatus)[keyof typeof AgentStatus];
272
238
  export type OrchestrationExecutor =
273
239
  | OrchestrationExecutor.LambdaMember
274
240
  | OrchestrationExecutor.$UnknownMember;
@@ -293,10 +259,6 @@ export interface GuardrailConfiguration {
293
259
  guardrailIdentifier?: string | undefined;
294
260
  guardrailVersion?: string | undefined;
295
261
  }
296
- export declare const MemoryType: {
297
- readonly SESSION_SUMMARY: "SESSION_SUMMARY";
298
- };
299
- export type MemoryType = (typeof MemoryType)[keyof typeof MemoryType];
300
262
  export interface SessionSummaryConfiguration {
301
263
  maxRecentSessions?: number | undefined;
302
264
  }
@@ -305,12 +267,6 @@ export interface MemoryConfiguration {
305
267
  storageDays?: number | undefined;
306
268
  sessionSummaryConfiguration?: SessionSummaryConfiguration | undefined;
307
269
  }
308
- export declare const OrchestrationType: {
309
- readonly CUSTOM_ORCHESTRATION: "CUSTOM_ORCHESTRATION";
310
- readonly DEFAULT: "DEFAULT";
311
- };
312
- export type OrchestrationType =
313
- (typeof OrchestrationType)[keyof typeof OrchestrationType];
314
270
  export interface InferenceConfiguration {
315
271
  temperature?: number | undefined;
316
272
  topP?: number | undefined;
@@ -318,24 +274,6 @@ export interface InferenceConfiguration {
318
274
  maximumLength?: number | undefined;
319
275
  stopSequences?: string[] | undefined;
320
276
  }
321
- export declare const CreationMode: {
322
- readonly DEFAULT: "DEFAULT";
323
- readonly OVERRIDDEN: "OVERRIDDEN";
324
- };
325
- export type CreationMode = (typeof CreationMode)[keyof typeof CreationMode];
326
- export declare const PromptState: {
327
- readonly DISABLED: "DISABLED";
328
- readonly ENABLED: "ENABLED";
329
- };
330
- export type PromptState = (typeof PromptState)[keyof typeof PromptState];
331
- export declare const PromptType: {
332
- readonly KNOWLEDGE_BASE_RESPONSE_GENERATION: "KNOWLEDGE_BASE_RESPONSE_GENERATION";
333
- readonly MEMORY_SUMMARIZATION: "MEMORY_SUMMARIZATION";
334
- readonly ORCHESTRATION: "ORCHESTRATION";
335
- readonly POST_PROCESSING: "POST_PROCESSING";
336
- readonly PRE_PROCESSING: "PRE_PROCESSING";
337
- };
338
- export type PromptType = (typeof PromptType)[keyof typeof PromptType];
339
277
  export interface PromptConfiguration {
340
278
  promptType?: PromptType | undefined;
341
279
  promptCreationMode?: CreationMode | undefined;
@@ -384,22 +322,6 @@ export interface AgentAliasHistoryEvent {
384
322
  endDate?: Date | undefined;
385
323
  startDate?: Date | undefined;
386
324
  }
387
- export declare const AgentAliasStatus: {
388
- readonly CREATING: "CREATING";
389
- readonly DELETING: "DELETING";
390
- readonly DISSOCIATED: "DISSOCIATED";
391
- readonly FAILED: "FAILED";
392
- readonly PREPARED: "PREPARED";
393
- readonly UPDATING: "UPDATING";
394
- };
395
- export type AgentAliasStatus =
396
- (typeof AgentAliasStatus)[keyof typeof AgentAliasStatus];
397
- export declare const AliasInvocationState: {
398
- readonly ACCEPT_INVOCATIONS: "ACCEPT_INVOCATIONS";
399
- readonly REJECT_INVOCATIONS: "REJECT_INVOCATIONS";
400
- };
401
- export type AliasInvocationState =
402
- (typeof AliasInvocationState)[keyof typeof AliasInvocationState];
403
325
  export interface AgentAlias {
404
326
  agentId: string | undefined;
405
327
  agentAliasId: string | undefined;
@@ -428,12 +350,6 @@ export interface AgentAliasSummary {
428
350
  export interface AgentDescriptor {
429
351
  aliasArn?: string | undefined;
430
352
  }
431
- export declare const RelayConversationHistory: {
432
- readonly DISABLED: "DISABLED";
433
- readonly TO_COLLABORATOR: "TO_COLLABORATOR";
434
- };
435
- export type RelayConversationHistory =
436
- (typeof RelayConversationHistory)[keyof typeof RelayConversationHistory];
437
353
  export interface AgentCollaborator {
438
354
  agentId: string | undefined;
439
355
  agentVersion: string | undefined;
@@ -508,12 +424,6 @@ export interface UpdateAgentCollaboratorResponse {
508
424
  export interface AgentFlowNodeConfiguration {
509
425
  agentAliasArn: string | undefined;
510
426
  }
511
- export declare const KnowledgeBaseState: {
512
- readonly DISABLED: "DISABLED";
513
- readonly ENABLED: "ENABLED";
514
- };
515
- export type KnowledgeBaseState =
516
- (typeof KnowledgeBaseState)[keyof typeof KnowledgeBaseState];
517
427
  export interface AgentKnowledgeBase {
518
428
  agentId: string | undefined;
519
429
  agentVersion: string | undefined;
@@ -685,12 +595,6 @@ export interface UpdateAgentAliasRequest {
685
595
  export interface UpdateAgentAliasResponse {
686
596
  agentAlias: AgentAlias | undefined;
687
597
  }
688
- export declare const DataDeletionPolicy: {
689
- readonly DELETE: "DELETE";
690
- readonly RETAIN: "RETAIN";
691
- };
692
- export type DataDeletionPolicy =
693
- (typeof DataDeletionPolicy)[keyof typeof DataDeletionPolicy];
694
598
  export interface PatternObjectFilter {
695
599
  objectType: string | undefined;
696
600
  inclusionFilters?: string[] | undefined;
@@ -699,11 +603,6 @@ export interface PatternObjectFilter {
699
603
  export interface PatternObjectFilterConfiguration {
700
604
  filters: PatternObjectFilter[] | undefined;
701
605
  }
702
- export declare const CrawlFilterConfigurationType: {
703
- readonly PATTERN: "PATTERN";
704
- };
705
- export type CrawlFilterConfigurationType =
706
- (typeof CrawlFilterConfigurationType)[keyof typeof CrawlFilterConfigurationType];
707
606
  export interface CrawlFilterConfiguration {
708
607
  type: CrawlFilterConfigurationType | undefined;
709
608
  patternObjectFilter?: PatternObjectFilterConfiguration | undefined;
@@ -711,17 +610,6 @@ export interface CrawlFilterConfiguration {
711
610
  export interface ConfluenceCrawlerConfiguration {
712
611
  filterConfiguration?: CrawlFilterConfiguration | undefined;
713
612
  }
714
- export declare const ConfluenceAuthType: {
715
- readonly BASIC: "BASIC";
716
- readonly OAUTH2_CLIENT_CREDENTIALS: "OAUTH2_CLIENT_CREDENTIALS";
717
- };
718
- export type ConfluenceAuthType =
719
- (typeof ConfluenceAuthType)[keyof typeof ConfluenceAuthType];
720
- export declare const ConfluenceHostType: {
721
- readonly SAAS: "SAAS";
722
- };
723
- export type ConfluenceHostType =
724
- (typeof ConfluenceHostType)[keyof typeof ConfluenceHostType];
725
613
  export interface ConfluenceSourceConfiguration {
726
614
  hostUrl: string | undefined;
727
615
  hostType: ConfluenceHostType | undefined;
@@ -740,11 +628,6 @@ export interface S3DataSourceConfiguration {
740
628
  export interface SalesforceCrawlerConfiguration {
741
629
  filterConfiguration?: CrawlFilterConfiguration | undefined;
742
630
  }
743
- export declare const SalesforceAuthType: {
744
- readonly OAUTH2_CLIENT_CREDENTIALS: "OAUTH2_CLIENT_CREDENTIALS";
745
- };
746
- export type SalesforceAuthType =
747
- (typeof SalesforceAuthType)[keyof typeof SalesforceAuthType];
748
631
  export interface SalesforceSourceConfiguration {
749
632
  hostUrl: string | undefined;
750
633
  authType: SalesforceAuthType | undefined;
@@ -757,17 +640,6 @@ export interface SalesforceDataSourceConfiguration {
757
640
  export interface SharePointCrawlerConfiguration {
758
641
  filterConfiguration?: CrawlFilterConfiguration | undefined;
759
642
  }
760
- export declare const SharePointAuthType: {
761
- readonly OAUTH2_CLIENT_CREDENTIALS: "OAUTH2_CLIENT_CREDENTIALS";
762
- readonly OAUTH2_SHAREPOINT_APP_ONLY_CLIENT_CREDENTIALS: "OAUTH2_SHAREPOINT_APP_ONLY_CLIENT_CREDENTIALS";
763
- };
764
- export type SharePointAuthType =
765
- (typeof SharePointAuthType)[keyof typeof SharePointAuthType];
766
- export declare const SharePointHostType: {
767
- readonly ONLINE: "ONLINE";
768
- };
769
- export type SharePointHostType =
770
- (typeof SharePointHostType)[keyof typeof SharePointHostType];
771
643
  export interface SharePointSourceConfiguration {
772
644
  tenantId?: string | undefined;
773
645
  domain: string | undefined;
@@ -780,26 +652,10 @@ export interface SharePointDataSourceConfiguration {
780
652
  sourceConfiguration: SharePointSourceConfiguration | undefined;
781
653
  crawlerConfiguration?: SharePointCrawlerConfiguration | undefined;
782
654
  }
783
- export declare const DataSourceType: {
784
- readonly CONFLUENCE: "CONFLUENCE";
785
- readonly CUSTOM: "CUSTOM";
786
- readonly REDSHIFT_METADATA: "REDSHIFT_METADATA";
787
- readonly S3: "S3";
788
- readonly SALESFORCE: "SALESFORCE";
789
- readonly SHAREPOINT: "SHAREPOINT";
790
- readonly WEB: "WEB";
791
- };
792
- export type DataSourceType =
793
- (typeof DataSourceType)[keyof typeof DataSourceType];
794
655
  export interface WebCrawlerLimits {
795
656
  rateLimit?: number | undefined;
796
657
  maxPages?: number | undefined;
797
658
  }
798
- export declare const WebScopeType: {
799
- readonly HOST_ONLY: "HOST_ONLY";
800
- readonly SUBDOMAINS: "SUBDOMAINS";
801
- };
802
- export type WebScopeType = (typeof WebScopeType)[keyof typeof WebScopeType];
803
659
  export interface WebCrawlerConfiguration {
804
660
  crawlerLimits?: WebCrawlerLimits | undefined;
805
661
  inclusionFilters?: string[] | undefined;
@@ -832,14 +688,6 @@ export interface DataSourceConfiguration {
832
688
  export interface ServerSideEncryptionConfiguration {
833
689
  kmsKeyArn?: string | undefined;
834
690
  }
835
- export declare const ChunkingStrategy: {
836
- readonly FIXED_SIZE: "FIXED_SIZE";
837
- readonly HIERARCHICAL: "HIERARCHICAL";
838
- readonly NONE: "NONE";
839
- readonly SEMANTIC: "SEMANTIC";
840
- };
841
- export type ChunkingStrategy =
842
- (typeof ChunkingStrategy)[keyof typeof ChunkingStrategy];
843
691
  export interface FixedSizeChunkingConfiguration {
844
692
  maxTokens: number | undefined;
845
693
  overlapPercentage: number | undefined;
@@ -864,11 +712,6 @@ export interface ChunkingConfiguration {
864
712
  | undefined;
865
713
  semanticChunkingConfiguration?: SemanticChunkingConfiguration | undefined;
866
714
  }
867
- export declare const EnrichmentStrategyMethod: {
868
- readonly CHUNK_ENTITY_EXTRACTION: "CHUNK_ENTITY_EXTRACTION";
869
- };
870
- export type EnrichmentStrategyMethod =
871
- (typeof EnrichmentStrategyMethod)[keyof typeof EnrichmentStrategyMethod];
872
715
  export interface EnrichmentStrategyConfiguration {
873
716
  method: EnrichmentStrategyMethod | undefined;
874
717
  }
@@ -876,11 +719,6 @@ export interface BedrockFoundationModelContextEnrichmentConfiguration {
876
719
  enrichmentStrategyConfiguration: EnrichmentStrategyConfiguration | undefined;
877
720
  modelArn: string | undefined;
878
721
  }
879
- export declare const ContextEnrichmentType: {
880
- readonly BEDROCK_FOUNDATION_MODEL: "BEDROCK_FOUNDATION_MODEL";
881
- };
882
- export type ContextEnrichmentType =
883
- (typeof ContextEnrichmentType)[keyof typeof ContextEnrichmentType];
884
722
  export interface ContextEnrichmentConfiguration {
885
723
  type: ContextEnrichmentType | undefined;
886
724
  bedrockFoundationModelConfiguration?:
@@ -893,10 +731,6 @@ export interface S3Location {
893
731
  export interface IntermediateStorage {
894
732
  s3Location: S3Location | undefined;
895
733
  }
896
- export declare const StepType: {
897
- readonly POST_CHUNKING: "POST_CHUNKING";
898
- };
899
- export type StepType = (typeof StepType)[keyof typeof StepType];
900
734
  export interface TransformationLambdaConfiguration {
901
735
  lambdaArn: string | undefined;
902
736
  }
@@ -913,11 +747,6 @@ export interface CustomTransformationConfiguration {
913
747
  intermediateStorage: IntermediateStorage | undefined;
914
748
  transformations: Transformation[] | undefined;
915
749
  }
916
- export declare const ParsingModality: {
917
- readonly MULTIMODAL: "MULTIMODAL";
918
- };
919
- export type ParsingModality =
920
- (typeof ParsingModality)[keyof typeof ParsingModality];
921
750
  export interface BedrockDataAutomationConfiguration {
922
751
  parsingModality?: ParsingModality | undefined;
923
752
  }
@@ -929,12 +758,6 @@ export interface BedrockFoundationModelConfiguration {
929
758
  parsingPrompt?: ParsingPrompt | undefined;
930
759
  parsingModality?: ParsingModality | undefined;
931
760
  }
932
- export declare const ParsingStrategy: {
933
- readonly BEDROCK_DATA_AUTOMATION: "BEDROCK_DATA_AUTOMATION";
934
- readonly BEDROCK_FOUNDATION_MODEL: "BEDROCK_FOUNDATION_MODEL";
935
- };
936
- export type ParsingStrategy =
937
- (typeof ParsingStrategy)[keyof typeof ParsingStrategy];
938
761
  export interface ParsingConfiguration {
939
762
  parsingStrategy: ParsingStrategy | undefined;
940
763
  bedrockFoundationModelConfiguration?:
@@ -964,13 +787,6 @@ export interface CreateDataSourceRequest {
964
787
  | undefined;
965
788
  vectorIngestionConfiguration?: VectorIngestionConfiguration | undefined;
966
789
  }
967
- export declare const DataSourceStatus: {
968
- readonly AVAILABLE: "AVAILABLE";
969
- readonly DELETE_UNSUCCESSFUL: "DELETE_UNSUCCESSFUL";
970
- readonly DELETING: "DELETING";
971
- };
972
- export type DataSourceStatus =
973
- (typeof DataSourceStatus)[keyof typeof DataSourceStatus];
974
790
  export interface DataSource {
975
791
  knowledgeBaseId: string | undefined;
976
792
  dataSourceId: string | undefined;
@@ -1071,12 +887,6 @@ export declare namespace FlowConnectionConfiguration {
1071
887
  _: (name: string, value: any) => T;
1072
888
  }
1073
889
  }
1074
- export declare const FlowConnectionType: {
1075
- readonly CONDITIONAL: "Conditional";
1076
- readonly DATA: "Data";
1077
- };
1078
- export type FlowConnectionType =
1079
- (typeof FlowConnectionType)[keyof typeof FlowConnectionType];
1080
890
  export interface FlowConnection {
1081
891
  type: FlowConnectionType | undefined;
1082
892
  name: string | undefined;
@@ -1092,11 +902,6 @@ export interface FlowCondition {
1092
902
  export interface ConditionFlowNodeConfiguration {
1093
903
  conditions: FlowCondition[] | undefined;
1094
904
  }
1095
- export declare const SupportedLanguages: {
1096
- readonly PYTHON_3: "Python_3";
1097
- };
1098
- export type SupportedLanguages =
1099
- (typeof SupportedLanguages)[keyof typeof SupportedLanguages];
1100
905
  export interface InlineCodeFlowNodeConfiguration {
1101
906
  code: string | undefined;
1102
907
  language: SupportedLanguages | undefined;
@@ -1126,12 +931,6 @@ export declare namespace PromptInferenceConfiguration {
1126
931
  _: (name: string, value: any) => T;
1127
932
  }
1128
933
  }
1129
- export declare const PerformanceConfigLatency: {
1130
- readonly OPTIMIZED: "optimized";
1131
- readonly STANDARD: "standard";
1132
- };
1133
- export type PerformanceConfigLatency =
1134
- (typeof PerformanceConfigLatency)[keyof typeof PerformanceConfigLatency];
1135
934
  export interface PerformanceConfiguration {
1136
935
  latency?: PerformanceConfigLatency | undefined;
1137
936
  }
@@ -1144,12 +943,6 @@ export interface KnowledgeBaseOrchestrationConfiguration {
1144
943
  additionalModelRequestFields?: Record<string, __DocumentType> | undefined;
1145
944
  performanceConfig?: PerformanceConfiguration | undefined;
1146
945
  }
1147
- export declare const RerankingMetadataSelectionMode: {
1148
- readonly ALL: "ALL";
1149
- readonly SELECTIVE: "SELECTIVE";
1150
- };
1151
- export type RerankingMetadataSelectionMode =
1152
- (typeof RerankingMetadataSelectionMode)[keyof typeof RerankingMetadataSelectionMode];
1153
946
  export interface FieldForReranking {
1154
947
  fieldName: string | undefined;
1155
948
  }
@@ -1196,11 +989,6 @@ export interface VectorSearchBedrockRerankingConfiguration {
1196
989
  numberOfRerankedResults?: number | undefined;
1197
990
  metadataConfiguration?: MetadataConfigurationForReranking | undefined;
1198
991
  }
1199
- export declare const VectorSearchRerankingConfigurationType: {
1200
- readonly BEDROCK_RERANKING_MODEL: "BEDROCK_RERANKING_MODEL";
1201
- };
1202
- export type VectorSearchRerankingConfigurationType =
1203
- (typeof VectorSearchRerankingConfigurationType)[keyof typeof VectorSearchRerankingConfigurationType];
1204
992
  export interface VectorSearchRerankingConfiguration {
1205
993
  type: VectorSearchRerankingConfigurationType | undefined;
1206
994
  bedrockRerankingConfiguration?:
@@ -1235,11 +1023,6 @@ export interface OutputFlowNodeConfiguration {}
1235
1023
  export interface PromptInputVariable {
1236
1024
  name?: string | undefined;
1237
1025
  }
1238
- export declare const CachePointType: {
1239
- readonly DEFAULT: "default";
1240
- };
1241
- export type CachePointType =
1242
- (typeof CachePointType)[keyof typeof CachePointType];
1243
1026
  export interface CachePointBlock {
1244
1027
  type: CachePointType | undefined;
1245
1028
  }
@@ -1269,12 +1052,6 @@ export declare namespace ContentBlock {
1269
1052
  _: (name: string, value: any) => T;
1270
1053
  }
1271
1054
  }
1272
- export declare const ConversationRole: {
1273
- readonly ASSISTANT: "assistant";
1274
- readonly USER: "user";
1275
- };
1276
- export type ConversationRole =
1277
- (typeof ConversationRole)[keyof typeof ConversationRole];
1278
1055
  export interface Message {
1279
1056
  role: ConversationRole | undefined;
1280
1057
  content: ContentBlock[] | undefined;
@@ -1436,12 +1213,6 @@ export declare namespace PromptTemplateConfiguration {
1436
1213
  _: (name: string, value: any) => T;
1437
1214
  }
1438
1215
  }
1439
- export declare const PromptTemplateType: {
1440
- readonly CHAT: "CHAT";
1441
- readonly TEXT: "TEXT";
1442
- };
1443
- export type PromptTemplateType =
1444
- (typeof PromptTemplateType)[keyof typeof PromptTemplateType];
1445
1216
  export interface PromptFlowNodeInlineConfiguration {
1446
1217
  templateType: PromptTemplateType | undefined;
1447
1218
  templateConfiguration: PromptTemplateConfiguration | undefined;
@@ -1528,22 +1299,6 @@ export declare namespace StorageFlowNodeServiceConfiguration {
1528
1299
  export interface StorageFlowNodeConfiguration {
1529
1300
  serviceConfiguration: StorageFlowNodeServiceConfiguration | undefined;
1530
1301
  }
1531
- export declare const FlowNodeInputCategory: {
1532
- readonly EXIT_LOOP: "ExitLoop";
1533
- readonly LOOP_CONDITION: "LoopCondition";
1534
- readonly RETURN_VALUE_TO_LOOP_START: "ReturnValueToLoopStart";
1535
- };
1536
- export type FlowNodeInputCategory =
1537
- (typeof FlowNodeInputCategory)[keyof typeof FlowNodeInputCategory];
1538
- export declare const FlowNodeIODataType: {
1539
- readonly ARRAY: "Array";
1540
- readonly BOOLEAN: "Boolean";
1541
- readonly NUMBER: "Number";
1542
- readonly OBJECT: "Object";
1543
- readonly STRING: "String";
1544
- };
1545
- export type FlowNodeIODataType =
1546
- (typeof FlowNodeIODataType)[keyof typeof FlowNodeIODataType];
1547
1302
  export interface FlowNodeInput {
1548
1303
  name: string | undefined;
1549
1304
  type: FlowNodeIODataType | undefined;
@@ -1554,32 +1309,6 @@ export interface FlowNodeOutput {
1554
1309
  name: string | undefined;
1555
1310
  type: FlowNodeIODataType | undefined;
1556
1311
  }
1557
- export declare const FlowNodeType: {
1558
- readonly AGENT: "Agent";
1559
- readonly COLLECTOR: "Collector";
1560
- readonly CONDITION: "Condition";
1561
- readonly INLINE_CODE: "InlineCode";
1562
- readonly INPUT: "Input";
1563
- readonly ITERATOR: "Iterator";
1564
- readonly KNOWLEDGE_BASE: "KnowledgeBase";
1565
- readonly LAMBDA_FUNCTION: "LambdaFunction";
1566
- readonly LEX: "Lex";
1567
- readonly LOOP: "Loop";
1568
- readonly LOOP_CONTROLLER: "LoopController";
1569
- readonly LOOP_INPUT: "LoopInput";
1570
- readonly OUTPUT: "Output";
1571
- readonly PROMPT: "Prompt";
1572
- readonly RETRIEVAL: "Retrieval";
1573
- readonly STORAGE: "Storage";
1574
- };
1575
- export type FlowNodeType = (typeof FlowNodeType)[keyof typeof FlowNodeType];
1576
- export declare const FlowStatus: {
1577
- readonly FAILED: "Failed";
1578
- readonly NOT_PREPARED: "NotPrepared";
1579
- readonly PREPARED: "Prepared";
1580
- readonly PREPARING: "Preparing";
1581
- };
1582
- export type FlowStatus = (typeof FlowStatus)[keyof typeof FlowStatus];
1583
1312
  export interface DeleteFlowRequest {
1584
1313
  flowIdentifier: string | undefined;
1585
1314
  skipResourceInUseCheck?: boolean | undefined;
@@ -1587,12 +1316,6 @@ export interface DeleteFlowRequest {
1587
1316
  export interface DeleteFlowResponse {
1588
1317
  id: string | undefined;
1589
1318
  }
1590
- export declare const ConcurrencyType: {
1591
- readonly AUTOMATIC: "Automatic";
1592
- readonly MANUAL: "Manual";
1593
- };
1594
- export type ConcurrencyType =
1595
- (typeof ConcurrencyType)[keyof typeof ConcurrencyType];
1596
1319
  export interface FlowAliasConcurrencyConfiguration {
1597
1320
  type: ConcurrencyType | undefined;
1598
1321
  maxConcurrency?: number | undefined;
@@ -1738,14 +1461,6 @@ export interface InvalidLoopBoundaryFlowValidationDetails {
1738
1461
  source: string | undefined;
1739
1462
  target: string | undefined;
1740
1463
  }
1741
- export declare const IncompatibleLoopNodeType: {
1742
- readonly COLLECTOR: "Collector";
1743
- readonly CONDITION: "Condition";
1744
- readonly INPUT: "Input";
1745
- readonly ITERATOR: "Iterator";
1746
- };
1747
- export type IncompatibleLoopNodeType =
1748
- (typeof IncompatibleLoopNodeType)[keyof typeof IncompatibleLoopNodeType];
1749
1464
  export interface LoopIncompatibleNodeTypeFlowValidationDetails {
1750
1465
  node: string | undefined;
1751
1466
  incompatibleNodeType: IncompatibleLoopNodeType | undefined;
@@ -3185,49 +2900,6 @@ export declare namespace FlowValidationDetails {
3185
2900
  _: (name: string, value: any) => T;
3186
2901
  }
3187
2902
  }
3188
- export declare const FlowValidationSeverity: {
3189
- readonly ERROR: "Error";
3190
- readonly WARNING: "Warning";
3191
- };
3192
- export type FlowValidationSeverity =
3193
- (typeof FlowValidationSeverity)[keyof typeof FlowValidationSeverity];
3194
- export declare const FlowValidationType: {
3195
- readonly CYCLIC_CONNECTION: "CyclicConnection";
3196
- readonly DUPLICATE_CONDITION_EXPRESSION: "DuplicateConditionExpression";
3197
- readonly DUPLICATE_CONNECTIONS: "DuplicateConnections";
3198
- readonly INCOMPATIBLE_CONNECTION_DATA_TYPE: "IncompatibleConnectionDataType";
3199
- readonly INVALID_LOOP_BOUNDARY: "InvalidLoopBoundary";
3200
- readonly LOOP_INCOMPATIBLE_NODE_TYPE: "LoopIncompatibleNodeType";
3201
- readonly MALFORMED_CONDITION_EXPRESSION: "MalformedConditionExpression";
3202
- readonly MALFORMED_NODE_INPUT_EXPRESSION: "MalformedNodeInputExpression";
3203
- readonly MISMATCHED_NODE_INPUT_TYPE: "MismatchedNodeInputType";
3204
- readonly MISMATCHED_NODE_OUTPUT_TYPE: "MismatchedNodeOutputType";
3205
- readonly MISSING_CONNECTION_CONFIGURATION: "MissingConnectionConfiguration";
3206
- readonly MISSING_DEFAULT_CONDITION: "MissingDefaultCondition";
3207
- readonly MISSING_ENDING_NODES: "MissingEndingNodes";
3208
- readonly MISSING_LOOP_CONTROLLER_NODE: "MissingLoopControllerNode";
3209
- readonly MISSING_LOOP_INPUT_NODE: "MissingLoopInputNode";
3210
- readonly MISSING_NODE_CONFIGURATION: "MissingNodeConfiguration";
3211
- readonly MISSING_NODE_INPUT: "MissingNodeInput";
3212
- readonly MISSING_NODE_OUTPUT: "MissingNodeOutput";
3213
- readonly MISSING_STARTING_NODES: "MissingStartingNodes";
3214
- readonly MULTIPLE_LOOP_CONTROLLER_NODES: "MultipleLoopControllerNodes";
3215
- readonly MULTIPLE_LOOP_INPUT_NODES: "MultipleLoopInputNodes";
3216
- readonly MULTIPLE_NODE_INPUT_CONNECTIONS: "MultipleNodeInputConnections";
3217
- readonly UNFULFILLED_NODE_INPUT: "UnfulfilledNodeInput";
3218
- readonly UNKNOWN_CONNECTION_CONDITION: "UnknownConnectionCondition";
3219
- readonly UNKNOWN_CONNECTION_SOURCE: "UnknownConnectionSource";
3220
- readonly UNKNOWN_CONNECTION_SOURCE_OUTPUT: "UnknownConnectionSourceOutput";
3221
- readonly UNKNOWN_CONNECTION_TARGET: "UnknownConnectionTarget";
3222
- readonly UNKNOWN_CONNECTION_TARGET_INPUT: "UnknownConnectionTargetInput";
3223
- readonly UNKNOWN_NODE_INPUT: "UnknownNodeInput";
3224
- readonly UNKNOWN_NODE_OUTPUT: "UnknownNodeOutput";
3225
- readonly UNREACHABLE_NODE: "UnreachableNode";
3226
- readonly UNSATISFIED_CONNECTION_CONDITIONS: "UnsatisfiedConnectionConditions";
3227
- readonly UNSPECIFIED: "Unspecified";
3228
- };
3229
- export type FlowValidationType =
3230
- (typeof FlowValidationType)[keyof typeof FlowValidationType];
3231
2903
  export interface FlowValidation {
3232
2904
  message: string | undefined;
3233
2905
  severity: FlowValidationSeverity | undefined;
@@ -3273,3 +2945,265 @@ export interface IngestionJobStatistics {
3273
2945
  numberOfDocumentsDeleted?: number | undefined;
3274
2946
  numberOfDocumentsFailed?: number | undefined;
3275
2947
  }
2948
+ export interface IngestionJob {
2949
+ knowledgeBaseId: string | undefined;
2950
+ dataSourceId: string | undefined;
2951
+ ingestionJobId: string | undefined;
2952
+ description?: string | undefined;
2953
+ status: IngestionJobStatus | undefined;
2954
+ statistics?: IngestionJobStatistics | undefined;
2955
+ failureReasons?: string[] | undefined;
2956
+ startedAt: Date | undefined;
2957
+ updatedAt: Date | undefined;
2958
+ }
2959
+ export interface GetIngestionJobResponse {
2960
+ ingestionJob: IngestionJob | undefined;
2961
+ }
2962
+ export interface IngestionJobFilter {
2963
+ attribute: IngestionJobFilterAttribute | undefined;
2964
+ operator: IngestionJobFilterOperator | undefined;
2965
+ values: string[] | undefined;
2966
+ }
2967
+ export interface IngestionJobSortBy {
2968
+ attribute: IngestionJobSortByAttribute | undefined;
2969
+ order: SortOrder | undefined;
2970
+ }
2971
+ export interface ListIngestionJobsRequest {
2972
+ knowledgeBaseId: string | undefined;
2973
+ dataSourceId: string | undefined;
2974
+ filters?: IngestionJobFilter[] | undefined;
2975
+ sortBy?: IngestionJobSortBy | undefined;
2976
+ maxResults?: number | undefined;
2977
+ nextToken?: string | undefined;
2978
+ }
2979
+ export interface IngestionJobSummary {
2980
+ knowledgeBaseId: string | undefined;
2981
+ dataSourceId: string | undefined;
2982
+ ingestionJobId: string | undefined;
2983
+ description?: string | undefined;
2984
+ status: IngestionJobStatus | undefined;
2985
+ startedAt: Date | undefined;
2986
+ updatedAt: Date | undefined;
2987
+ statistics?: IngestionJobStatistics | undefined;
2988
+ }
2989
+ export interface ListIngestionJobsResponse {
2990
+ ingestionJobSummaries: IngestionJobSummary[] | undefined;
2991
+ nextToken?: string | undefined;
2992
+ }
2993
+ export interface StartIngestionJobRequest {
2994
+ knowledgeBaseId: string | undefined;
2995
+ dataSourceId: string | undefined;
2996
+ clientToken?: string | undefined;
2997
+ description?: string | undefined;
2998
+ }
2999
+ export interface StartIngestionJobResponse {
3000
+ ingestionJob: IngestionJob | undefined;
3001
+ }
3002
+ export interface StopIngestionJobRequest {
3003
+ knowledgeBaseId: string | undefined;
3004
+ dataSourceId: string | undefined;
3005
+ ingestionJobId: string | undefined;
3006
+ }
3007
+ export interface StopIngestionJobResponse {
3008
+ ingestionJob: IngestionJob | undefined;
3009
+ }
3010
+ export interface CustomDocumentIdentifier {
3011
+ id: string | undefined;
3012
+ }
3013
+ export interface DocumentIdentifier {
3014
+ dataSourceType: ContentDataSourceType | undefined;
3015
+ s3?: S3Location | undefined;
3016
+ custom?: CustomDocumentIdentifier | undefined;
3017
+ }
3018
+ export interface DeleteKnowledgeBaseDocumentsRequest {
3019
+ knowledgeBaseId: string | undefined;
3020
+ dataSourceId: string | undefined;
3021
+ clientToken?: string | undefined;
3022
+ documentIdentifiers: DocumentIdentifier[] | undefined;
3023
+ }
3024
+ export interface KnowledgeBaseDocumentDetail {
3025
+ knowledgeBaseId: string | undefined;
3026
+ dataSourceId: string | undefined;
3027
+ status: DocumentStatus | undefined;
3028
+ identifier: DocumentIdentifier | undefined;
3029
+ statusReason?: string | undefined;
3030
+ updatedAt?: Date | undefined;
3031
+ }
3032
+ export interface DeleteKnowledgeBaseDocumentsResponse {
3033
+ documentDetails?: KnowledgeBaseDocumentDetail[] | undefined;
3034
+ }
3035
+ export interface GetKnowledgeBaseDocumentsRequest {
3036
+ knowledgeBaseId: string | undefined;
3037
+ dataSourceId: string | undefined;
3038
+ documentIdentifiers: DocumentIdentifier[] | undefined;
3039
+ }
3040
+ export interface GetKnowledgeBaseDocumentsResponse {
3041
+ documentDetails?: KnowledgeBaseDocumentDetail[] | undefined;
3042
+ }
3043
+ export interface ByteContentDoc {
3044
+ mimeType: string | undefined;
3045
+ data: Uint8Array | undefined;
3046
+ }
3047
+ export interface TextContentDoc {
3048
+ data: string | undefined;
3049
+ }
3050
+ export interface InlineContent {
3051
+ type: InlineContentType | undefined;
3052
+ byteContent?: ByteContentDoc | undefined;
3053
+ textContent?: TextContentDoc | undefined;
3054
+ }
3055
+ export interface CustomS3Location {
3056
+ uri: string | undefined;
3057
+ bucketOwnerAccountId?: string | undefined;
3058
+ }
3059
+ export interface CustomContent {
3060
+ customDocumentIdentifier: CustomDocumentIdentifier | undefined;
3061
+ sourceType: CustomSourceType | undefined;
3062
+ s3Location?: CustomS3Location | undefined;
3063
+ inlineContent?: InlineContent | undefined;
3064
+ }
3065
+ export interface S3Content {
3066
+ s3Location: S3Location | undefined;
3067
+ }
3068
+ export interface DocumentContent {
3069
+ dataSourceType: ContentDataSourceType | undefined;
3070
+ custom?: CustomContent | undefined;
3071
+ s3?: S3Content | undefined;
3072
+ }
3073
+ export interface MetadataAttributeValue {
3074
+ type: MetadataValueType | undefined;
3075
+ numberValue?: number | undefined;
3076
+ booleanValue?: boolean | undefined;
3077
+ stringValue?: string | undefined;
3078
+ stringListValue?: string[] | undefined;
3079
+ }
3080
+ export interface MetadataAttribute {
3081
+ key: string | undefined;
3082
+ value: MetadataAttributeValue | undefined;
3083
+ }
3084
+ export interface DocumentMetadata {
3085
+ type: MetadataSourceType | undefined;
3086
+ inlineAttributes?: MetadataAttribute[] | undefined;
3087
+ s3Location?: CustomS3Location | undefined;
3088
+ }
3089
+ export interface KnowledgeBaseDocument {
3090
+ metadata?: DocumentMetadata | undefined;
3091
+ content: DocumentContent | undefined;
3092
+ }
3093
+ export interface IngestKnowledgeBaseDocumentsRequest {
3094
+ knowledgeBaseId: string | undefined;
3095
+ dataSourceId: string | undefined;
3096
+ clientToken?: string | undefined;
3097
+ documents: KnowledgeBaseDocument[] | undefined;
3098
+ }
3099
+ export interface IngestKnowledgeBaseDocumentsResponse {
3100
+ documentDetails?: KnowledgeBaseDocumentDetail[] | undefined;
3101
+ }
3102
+ export interface ListKnowledgeBaseDocumentsRequest {
3103
+ knowledgeBaseId: string | undefined;
3104
+ dataSourceId: string | undefined;
3105
+ maxResults?: number | undefined;
3106
+ nextToken?: string | undefined;
3107
+ }
3108
+ export interface ListKnowledgeBaseDocumentsResponse {
3109
+ documentDetails: KnowledgeBaseDocumentDetail[] | undefined;
3110
+ nextToken?: string | undefined;
3111
+ }
3112
+ export interface AssociateAgentKnowledgeBaseRequest {
3113
+ agentId: string | undefined;
3114
+ agentVersion: string | undefined;
3115
+ knowledgeBaseId: string | undefined;
3116
+ description: string | undefined;
3117
+ knowledgeBaseState?: KnowledgeBaseState | undefined;
3118
+ }
3119
+ export interface AssociateAgentKnowledgeBaseResponse {
3120
+ agentKnowledgeBase: AgentKnowledgeBase | undefined;
3121
+ }
3122
+ export interface KendraKnowledgeBaseConfiguration {
3123
+ kendraIndexArn: string | undefined;
3124
+ }
3125
+ export interface RedshiftProvisionedAuthConfiguration {
3126
+ type: RedshiftProvisionedAuthType | undefined;
3127
+ databaseUser?: string | undefined;
3128
+ usernamePasswordSecretArn?: string | undefined;
3129
+ }
3130
+ export interface RedshiftProvisionedConfiguration {
3131
+ clusterIdentifier: string | undefined;
3132
+ authConfiguration: RedshiftProvisionedAuthConfiguration | undefined;
3133
+ }
3134
+ export interface RedshiftServerlessAuthConfiguration {
3135
+ type: RedshiftServerlessAuthType | undefined;
3136
+ usernamePasswordSecretArn?: string | undefined;
3137
+ }
3138
+ export interface RedshiftServerlessConfiguration {
3139
+ workgroupArn: string | undefined;
3140
+ authConfiguration: RedshiftServerlessAuthConfiguration | undefined;
3141
+ }
3142
+ export interface RedshiftQueryEngineConfiguration {
3143
+ type: RedshiftQueryEngineType | undefined;
3144
+ serverlessConfiguration?: RedshiftServerlessConfiguration | undefined;
3145
+ provisionedConfiguration?: RedshiftProvisionedConfiguration | undefined;
3146
+ }
3147
+ export interface CuratedQuery {
3148
+ naturalLanguage: string | undefined;
3149
+ sql: string | undefined;
3150
+ }
3151
+ export interface QueryGenerationColumn {
3152
+ name?: string | undefined;
3153
+ description?: string | undefined;
3154
+ inclusion?: IncludeExclude | undefined;
3155
+ }
3156
+ export interface QueryGenerationTable {
3157
+ name: string | undefined;
3158
+ description?: string | undefined;
3159
+ inclusion?: IncludeExclude | undefined;
3160
+ columns?: QueryGenerationColumn[] | undefined;
3161
+ }
3162
+ export interface QueryGenerationContext {
3163
+ tables?: QueryGenerationTable[] | undefined;
3164
+ curatedQueries?: CuratedQuery[] | undefined;
3165
+ }
3166
+ export interface QueryGenerationConfiguration {
3167
+ executionTimeoutSeconds?: number | undefined;
3168
+ generationContext?: QueryGenerationContext | undefined;
3169
+ }
3170
+ export interface RedshiftQueryEngineAwsDataCatalogStorageConfiguration {
3171
+ tableNames: string[] | undefined;
3172
+ }
3173
+ export interface RedshiftQueryEngineRedshiftStorageConfiguration {
3174
+ databaseName: string | undefined;
3175
+ }
3176
+ export interface RedshiftQueryEngineStorageConfiguration {
3177
+ type: RedshiftQueryEngineStorageType | undefined;
3178
+ awsDataCatalogConfiguration?:
3179
+ | RedshiftQueryEngineAwsDataCatalogStorageConfiguration
3180
+ | undefined;
3181
+ redshiftConfiguration?:
3182
+ | RedshiftQueryEngineRedshiftStorageConfiguration
3183
+ | undefined;
3184
+ }
3185
+ export interface RedshiftConfiguration {
3186
+ storageConfigurations: RedshiftQueryEngineStorageConfiguration[] | undefined;
3187
+ queryEngineConfiguration: RedshiftQueryEngineConfiguration | undefined;
3188
+ queryGenerationConfiguration?: QueryGenerationConfiguration | undefined;
3189
+ }
3190
+ export interface SqlKnowledgeBaseConfiguration {
3191
+ type: QueryEngineType | undefined;
3192
+ redshiftConfiguration?: RedshiftConfiguration | undefined;
3193
+ }
3194
+ export interface BedrockEmbeddingModelConfiguration {
3195
+ dimensions?: number | undefined;
3196
+ embeddingDataType?: EmbeddingDataType | undefined;
3197
+ }
3198
+ export interface EmbeddingModelConfiguration {
3199
+ bedrockEmbeddingModelConfiguration?:
3200
+ | BedrockEmbeddingModelConfiguration
3201
+ | undefined;
3202
+ }
3203
+ export interface SupplementalDataStorageLocation {
3204
+ type: SupplementalDataStorageLocationType | undefined;
3205
+ s3Location?: S3Location | undefined;
3206
+ }
3207
+ export interface SupplementalDataStorageConfiguration {
3208
+ storageLocations: SupplementalDataStorageLocation[] | undefined;
3209
+ }