@aws-sdk/client-bedrock-agent 3.687.0 → 3.691.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.
@@ -52,8 +52,8 @@ export declare const ActionGroupState: {
52
52
  export type ActionGroupState =
53
53
  (typeof ActionGroupState)[keyof typeof ActionGroupState];
54
54
  export interface S3Identifier {
55
- s3BucketName?: string;
56
- s3ObjectKey?: string;
55
+ s3BucketName?: string | undefined;
56
+ s3ObjectKey?: string | undefined;
57
57
  }
58
58
  export type APISchema =
59
59
  | APISchema.PayloadMember
@@ -91,9 +91,9 @@ export declare const Type: {
91
91
  };
92
92
  export type Type = (typeof Type)[keyof typeof Type];
93
93
  export interface ParameterDetail {
94
- description?: string;
94
+ description?: string | undefined;
95
95
  type: Type | undefined;
96
- required?: boolean;
96
+ required?: boolean | undefined;
97
97
  }
98
98
  export declare const RequireConfirmation: {
99
99
  readonly DISABLED: "DISABLED";
@@ -103,9 +103,9 @@ export type RequireConfirmation =
103
103
  (typeof RequireConfirmation)[keyof typeof RequireConfirmation];
104
104
  export interface Function {
105
105
  name: string | undefined;
106
- description?: string;
107
- parameters?: Record<string, ParameterDetail>;
108
- requireConfirmation?: RequireConfirmation;
106
+ description?: string | undefined;
107
+ parameters?: Record<string, ParameterDetail> | undefined;
108
+ requireConfirmation?: RequireConfirmation | undefined;
109
109
  }
110
110
  export type FunctionSchema =
111
111
  | FunctionSchema.FunctionsMember
@@ -135,27 +135,27 @@ export interface CreateAgentActionGroupRequest {
135
135
  agentId: string | undefined;
136
136
  agentVersion: string | undefined;
137
137
  actionGroupName: string | undefined;
138
- clientToken?: string;
139
- description?: string;
140
- parentActionGroupSignature?: ActionGroupSignature;
141
- actionGroupExecutor?: ActionGroupExecutor;
142
- apiSchema?: APISchema;
143
- actionGroupState?: ActionGroupState;
144
- functionSchema?: FunctionSchema;
138
+ clientToken?: string | undefined;
139
+ description?: string | undefined;
140
+ parentActionGroupSignature?: ActionGroupSignature | undefined;
141
+ actionGroupExecutor?: ActionGroupExecutor | undefined;
142
+ apiSchema?: APISchema | undefined;
143
+ actionGroupState?: ActionGroupState | undefined;
144
+ functionSchema?: FunctionSchema | undefined;
145
145
  }
146
146
  export interface AgentActionGroup {
147
147
  agentId: string | undefined;
148
148
  agentVersion: string | undefined;
149
149
  actionGroupId: string | undefined;
150
150
  actionGroupName: string | undefined;
151
- clientToken?: string;
152
- description?: string;
151
+ clientToken?: string | undefined;
152
+ description?: string | undefined;
153
153
  createdAt: Date | undefined;
154
154
  updatedAt: Date | undefined;
155
- parentActionSignature?: ActionGroupSignature;
156
- actionGroupExecutor?: ActionGroupExecutor;
157
- apiSchema?: APISchema;
158
- functionSchema?: FunctionSchema;
155
+ parentActionSignature?: ActionGroupSignature | undefined;
156
+ actionGroupExecutor?: ActionGroupExecutor | undefined;
157
+ apiSchema?: APISchema | undefined;
158
+ functionSchema?: FunctionSchema | undefined;
159
159
  actionGroupState: ActionGroupState | undefined;
160
160
  }
161
161
  export interface CreateAgentActionGroupResponse {
@@ -196,7 +196,7 @@ export interface ValidationExceptionField {
196
196
  export declare class ValidationException extends __BaseException {
197
197
  readonly name: "ValidationException";
198
198
  readonly $fault: "client";
199
- fieldList?: ValidationExceptionField[];
199
+ fieldList?: ValidationExceptionField[] | undefined;
200
200
  constructor(
201
201
  opts: __ExceptionOptionType<ValidationException, __BaseException>
202
202
  );
@@ -205,7 +205,7 @@ export interface DeleteAgentActionGroupRequest {
205
205
  agentId: string | undefined;
206
206
  agentVersion: string | undefined;
207
207
  actionGroupId: string | undefined;
208
- skipResourceInUseCheck?: boolean;
208
+ skipResourceInUseCheck?: boolean | undefined;
209
209
  }
210
210
  export interface DeleteAgentActionGroupResponse {}
211
211
  export interface GetAgentActionGroupRequest {
@@ -219,31 +219,31 @@ export interface GetAgentActionGroupResponse {
219
219
  export interface ListAgentActionGroupsRequest {
220
220
  agentId: string | undefined;
221
221
  agentVersion: string | undefined;
222
- maxResults?: number;
223
- nextToken?: string;
222
+ maxResults?: number | undefined;
223
+ nextToken?: string | undefined;
224
224
  }
225
225
  export interface ActionGroupSummary {
226
226
  actionGroupId: string | undefined;
227
227
  actionGroupName: string | undefined;
228
228
  actionGroupState: ActionGroupState | undefined;
229
- description?: string;
229
+ description?: string | undefined;
230
230
  updatedAt: Date | undefined;
231
231
  }
232
232
  export interface ListAgentActionGroupsResponse {
233
233
  actionGroupSummaries: ActionGroupSummary[] | undefined;
234
- nextToken?: string;
234
+ nextToken?: string | undefined;
235
235
  }
236
236
  export interface UpdateAgentActionGroupRequest {
237
237
  agentId: string | undefined;
238
238
  agentVersion: string | undefined;
239
239
  actionGroupId: string | undefined;
240
240
  actionGroupName: string | undefined;
241
- description?: string;
242
- parentActionGroupSignature?: ActionGroupSignature;
243
- actionGroupExecutor?: ActionGroupExecutor;
244
- actionGroupState?: ActionGroupState;
245
- apiSchema?: APISchema;
246
- functionSchema?: FunctionSchema;
241
+ description?: string | undefined;
242
+ parentActionGroupSignature?: ActionGroupSignature | undefined;
243
+ actionGroupExecutor?: ActionGroupExecutor | undefined;
244
+ actionGroupState?: ActionGroupState | undefined;
245
+ apiSchema?: APISchema | undefined;
246
+ functionSchema?: FunctionSchema | undefined;
247
247
  }
248
248
  export interface UpdateAgentActionGroupResponse {
249
249
  agentActionGroup: AgentActionGroup | undefined;
@@ -260,8 +260,8 @@ export declare const AgentStatus: {
260
260
  };
261
261
  export type AgentStatus = (typeof AgentStatus)[keyof typeof AgentStatus];
262
262
  export interface GuardrailConfiguration {
263
- guardrailIdentifier?: string;
264
- guardrailVersion?: string;
263
+ guardrailIdentifier?: string | undefined;
264
+ guardrailVersion?: string | undefined;
265
265
  }
266
266
  export declare const MemoryType: {
267
267
  readonly SESSION_SUMMARY: "SESSION_SUMMARY";
@@ -269,14 +269,14 @@ export declare const MemoryType: {
269
269
  export type MemoryType = (typeof MemoryType)[keyof typeof MemoryType];
270
270
  export interface MemoryConfiguration {
271
271
  enabledMemoryTypes: MemoryType[] | undefined;
272
- storageDays?: number;
272
+ storageDays?: number | undefined;
273
273
  }
274
274
  export interface InferenceConfiguration {
275
- temperature?: number;
276
- topP?: number;
277
- topK?: number;
278
- maximumLength?: number;
279
- stopSequences?: string[];
275
+ temperature?: number | undefined;
276
+ topP?: number | undefined;
277
+ topK?: number | undefined;
278
+ maximumLength?: number | undefined;
279
+ stopSequences?: string[] | undefined;
280
280
  }
281
281
  export declare const CreationMode: {
282
282
  readonly DEFAULT: "DEFAULT";
@@ -296,47 +296,47 @@ export declare const PromptType: {
296
296
  };
297
297
  export type PromptType = (typeof PromptType)[keyof typeof PromptType];
298
298
  export interface PromptConfiguration {
299
- promptType?: PromptType;
300
- promptCreationMode?: CreationMode;
301
- promptState?: PromptState;
302
- basePromptTemplate?: string;
303
- inferenceConfiguration?: InferenceConfiguration;
304
- parserMode?: CreationMode;
299
+ promptType?: PromptType | undefined;
300
+ promptCreationMode?: CreationMode | undefined;
301
+ promptState?: PromptState | undefined;
302
+ basePromptTemplate?: string | undefined;
303
+ inferenceConfiguration?: InferenceConfiguration | undefined;
304
+ parserMode?: CreationMode | undefined;
305
305
  }
306
306
  export interface PromptOverrideConfiguration {
307
307
  promptConfigurations: PromptConfiguration[] | undefined;
308
- overrideLambda?: string;
308
+ overrideLambda?: string | undefined;
309
309
  }
310
310
  export interface Agent {
311
311
  agentId: string | undefined;
312
312
  agentName: string | undefined;
313
313
  agentArn: string | undefined;
314
314
  agentVersion: string | undefined;
315
- clientToken?: string;
316
- instruction?: string;
315
+ clientToken?: string | undefined;
316
+ instruction?: string | undefined;
317
317
  agentStatus: AgentStatus | undefined;
318
- foundationModel?: string;
319
- description?: string;
318
+ foundationModel?: string | undefined;
319
+ description?: string | undefined;
320
320
  idleSessionTTLInSeconds: number | undefined;
321
321
  agentResourceRoleArn: string | undefined;
322
- customerEncryptionKeyArn?: string;
322
+ customerEncryptionKeyArn?: string | undefined;
323
323
  createdAt: Date | undefined;
324
324
  updatedAt: Date | undefined;
325
- preparedAt?: Date;
326
- failureReasons?: string[];
327
- recommendedActions?: string[];
328
- promptOverrideConfiguration?: PromptOverrideConfiguration;
329
- guardrailConfiguration?: GuardrailConfiguration;
330
- memoryConfiguration?: MemoryConfiguration;
325
+ preparedAt?: Date | undefined;
326
+ failureReasons?: string[] | undefined;
327
+ recommendedActions?: string[] | undefined;
328
+ promptOverrideConfiguration?: PromptOverrideConfiguration | undefined;
329
+ guardrailConfiguration?: GuardrailConfiguration | undefined;
330
+ memoryConfiguration?: MemoryConfiguration | undefined;
331
331
  }
332
332
  export interface AgentAliasRoutingConfigurationListItem {
333
- agentVersion?: string;
334
- provisionedThroughput?: string;
333
+ agentVersion?: string | undefined;
334
+ provisionedThroughput?: string | undefined;
335
335
  }
336
336
  export interface AgentAliasHistoryEvent {
337
- routingConfiguration?: AgentAliasRoutingConfigurationListItem[];
338
- endDate?: Date;
339
- startDate?: Date;
337
+ routingConfiguration?: AgentAliasRoutingConfigurationListItem[] | undefined;
338
+ endDate?: Date | undefined;
339
+ startDate?: Date | undefined;
340
340
  }
341
341
  export declare const AgentAliasStatus: {
342
342
  readonly CREATING: "CREATING";
@@ -352,20 +352,20 @@ export interface AgentAlias {
352
352
  agentAliasId: string | undefined;
353
353
  agentAliasName: string | undefined;
354
354
  agentAliasArn: string | undefined;
355
- clientToken?: string;
356
- description?: string;
355
+ clientToken?: string | undefined;
356
+ description?: string | undefined;
357
357
  routingConfiguration: AgentAliasRoutingConfigurationListItem[] | undefined;
358
358
  createdAt: Date | undefined;
359
359
  updatedAt: Date | undefined;
360
- agentAliasHistoryEvents?: AgentAliasHistoryEvent[];
360
+ agentAliasHistoryEvents?: AgentAliasHistoryEvent[] | undefined;
361
361
  agentAliasStatus: AgentAliasStatus | undefined;
362
- failureReasons?: string[];
362
+ failureReasons?: string[] | undefined;
363
363
  }
364
364
  export interface AgentAliasSummary {
365
365
  agentAliasId: string | undefined;
366
366
  agentAliasName: string | undefined;
367
- description?: string;
368
- routingConfiguration?: AgentAliasRoutingConfigurationListItem[];
367
+ description?: string | undefined;
368
+ routingConfiguration?: AgentAliasRoutingConfigurationListItem[] | undefined;
369
369
  agentAliasStatus: AgentAliasStatus | undefined;
370
370
  createdAt: Date | undefined;
371
371
  updatedAt: Date | undefined;
@@ -390,30 +390,30 @@ export interface AgentKnowledgeBase {
390
390
  }
391
391
  export interface AgentKnowledgeBaseSummary {
392
392
  knowledgeBaseId: string | undefined;
393
- description?: string;
393
+ description?: string | undefined;
394
394
  knowledgeBaseState: KnowledgeBaseState | undefined;
395
395
  updatedAt: Date | undefined;
396
396
  }
397
397
  export interface CreateAgentRequest {
398
398
  agentName: string | undefined;
399
- clientToken?: string;
400
- instruction?: string;
401
- foundationModel?: string;
402
- description?: string;
403
- idleSessionTTLInSeconds?: number;
404
- agentResourceRoleArn?: string;
405
- customerEncryptionKeyArn?: string;
406
- tags?: Record<string, string>;
407
- promptOverrideConfiguration?: PromptOverrideConfiguration;
408
- guardrailConfiguration?: GuardrailConfiguration;
409
- memoryConfiguration?: MemoryConfiguration;
399
+ clientToken?: string | undefined;
400
+ instruction?: string | undefined;
401
+ foundationModel?: string | undefined;
402
+ description?: string | undefined;
403
+ idleSessionTTLInSeconds?: number | undefined;
404
+ agentResourceRoleArn?: string | undefined;
405
+ customerEncryptionKeyArn?: string | undefined;
406
+ tags?: Record<string, string> | undefined;
407
+ promptOverrideConfiguration?: PromptOverrideConfiguration | undefined;
408
+ guardrailConfiguration?: GuardrailConfiguration | undefined;
409
+ memoryConfiguration?: MemoryConfiguration | undefined;
410
410
  }
411
411
  export interface CreateAgentResponse {
412
412
  agent: Agent | undefined;
413
413
  }
414
414
  export interface DeleteAgentRequest {
415
415
  agentId: string | undefined;
416
- skipResourceInUseCheck?: boolean;
416
+ skipResourceInUseCheck?: boolean | undefined;
417
417
  }
418
418
  export interface DeleteAgentResponse {
419
419
  agentId: string | undefined;
@@ -426,21 +426,21 @@ export interface GetAgentResponse {
426
426
  agent: Agent | undefined;
427
427
  }
428
428
  export interface ListAgentsRequest {
429
- maxResults?: number;
430
- nextToken?: string;
429
+ maxResults?: number | undefined;
430
+ nextToken?: string | undefined;
431
431
  }
432
432
  export interface AgentSummary {
433
433
  agentId: string | undefined;
434
434
  agentName: string | undefined;
435
435
  agentStatus: AgentStatus | undefined;
436
- description?: string;
436
+ description?: string | undefined;
437
437
  updatedAt: Date | undefined;
438
- latestAgentVersion?: string;
439
- guardrailConfiguration?: GuardrailConfiguration;
438
+ latestAgentVersion?: string | undefined;
439
+ guardrailConfiguration?: GuardrailConfiguration | undefined;
440
440
  }
441
441
  export interface ListAgentsResponse {
442
442
  agentSummaries: AgentSummary[] | undefined;
443
- nextToken?: string;
443
+ nextToken?: string | undefined;
444
444
  }
445
445
  export interface PrepareAgentRequest {
446
446
  agentId: string | undefined;
@@ -454,15 +454,15 @@ export interface PrepareAgentResponse {
454
454
  export interface UpdateAgentRequest {
455
455
  agentId: string | undefined;
456
456
  agentName: string | undefined;
457
- instruction?: string;
457
+ instruction?: string | undefined;
458
458
  foundationModel: string | undefined;
459
- description?: string;
460
- idleSessionTTLInSeconds?: number;
459
+ description?: string | undefined;
460
+ idleSessionTTLInSeconds?: number | undefined;
461
461
  agentResourceRoleArn: string | undefined;
462
- customerEncryptionKeyArn?: string;
463
- promptOverrideConfiguration?: PromptOverrideConfiguration;
464
- guardrailConfiguration?: GuardrailConfiguration;
465
- memoryConfiguration?: MemoryConfiguration;
462
+ customerEncryptionKeyArn?: string | undefined;
463
+ promptOverrideConfiguration?: PromptOverrideConfiguration | undefined;
464
+ guardrailConfiguration?: GuardrailConfiguration | undefined;
465
+ memoryConfiguration?: MemoryConfiguration | undefined;
466
466
  }
467
467
  export interface UpdateAgentResponse {
468
468
  agent: Agent | undefined;
@@ -472,20 +472,20 @@ export interface AgentVersion {
472
472
  agentName: string | undefined;
473
473
  agentArn: string | undefined;
474
474
  version: string | undefined;
475
- instruction?: string;
475
+ instruction?: string | undefined;
476
476
  agentStatus: AgentStatus | undefined;
477
- foundationModel?: string;
478
- description?: string;
477
+ foundationModel?: string | undefined;
478
+ description?: string | undefined;
479
479
  idleSessionTTLInSeconds: number | undefined;
480
480
  agentResourceRoleArn: string | undefined;
481
- customerEncryptionKeyArn?: string;
481
+ customerEncryptionKeyArn?: string | undefined;
482
482
  createdAt: Date | undefined;
483
483
  updatedAt: Date | undefined;
484
- failureReasons?: string[];
485
- recommendedActions?: string[];
486
- promptOverrideConfiguration?: PromptOverrideConfiguration;
487
- guardrailConfiguration?: GuardrailConfiguration;
488
- memoryConfiguration?: MemoryConfiguration;
484
+ failureReasons?: string[] | undefined;
485
+ recommendedActions?: string[] | undefined;
486
+ promptOverrideConfiguration?: PromptOverrideConfiguration | undefined;
487
+ guardrailConfiguration?: GuardrailConfiguration | undefined;
488
+ memoryConfiguration?: MemoryConfiguration | undefined;
489
489
  }
490
490
  export interface AgentVersionSummary {
491
491
  agentName: string | undefined;
@@ -493,16 +493,16 @@ export interface AgentVersionSummary {
493
493
  agentVersion: string | undefined;
494
494
  createdAt: Date | undefined;
495
495
  updatedAt: Date | undefined;
496
- description?: string;
497
- guardrailConfiguration?: GuardrailConfiguration;
496
+ description?: string | undefined;
497
+ guardrailConfiguration?: GuardrailConfiguration | undefined;
498
498
  }
499
499
  export interface CreateAgentAliasRequest {
500
500
  agentId: string | undefined;
501
501
  agentAliasName: string | undefined;
502
- clientToken?: string;
503
- description?: string;
504
- routingConfiguration?: AgentAliasRoutingConfigurationListItem[];
505
- tags?: Record<string, string>;
502
+ clientToken?: string | undefined;
503
+ description?: string | undefined;
504
+ routingConfiguration?: AgentAliasRoutingConfigurationListItem[] | undefined;
505
+ tags?: Record<string, string> | undefined;
506
506
  }
507
507
  export interface CreateAgentAliasResponse {
508
508
  agentAlias: AgentAlias | undefined;
@@ -525,19 +525,19 @@ export interface GetAgentAliasResponse {
525
525
  }
526
526
  export interface ListAgentAliasesRequest {
527
527
  agentId: string | undefined;
528
- maxResults?: number;
529
- nextToken?: string;
528
+ maxResults?: number | undefined;
529
+ nextToken?: string | undefined;
530
530
  }
531
531
  export interface ListAgentAliasesResponse {
532
532
  agentAliasSummaries: AgentAliasSummary[] | undefined;
533
- nextToken?: string;
533
+ nextToken?: string | undefined;
534
534
  }
535
535
  export interface UpdateAgentAliasRequest {
536
536
  agentId: string | undefined;
537
537
  agentAliasId: string | undefined;
538
538
  agentAliasName: string | undefined;
539
- description?: string;
540
- routingConfiguration?: AgentAliasRoutingConfigurationListItem[];
539
+ description?: string | undefined;
540
+ routingConfiguration?: AgentAliasRoutingConfigurationListItem[] | undefined;
541
541
  }
542
542
  export interface UpdateAgentAliasResponse {
543
543
  agentAlias: AgentAlias | undefined;
@@ -550,8 +550,8 @@ export type DataDeletionPolicy =
550
550
  (typeof DataDeletionPolicy)[keyof typeof DataDeletionPolicy];
551
551
  export interface PatternObjectFilter {
552
552
  objectType: string | undefined;
553
- inclusionFilters?: string[];
554
- exclusionFilters?: string[];
553
+ inclusionFilters?: string[] | undefined;
554
+ exclusionFilters?: string[] | undefined;
555
555
  }
556
556
  export interface PatternObjectFilterConfiguration {
557
557
  filters: PatternObjectFilter[] | undefined;
@@ -563,10 +563,10 @@ export type CrawlFilterConfigurationType =
563
563
  (typeof CrawlFilterConfigurationType)[keyof typeof CrawlFilterConfigurationType];
564
564
  export interface CrawlFilterConfiguration {
565
565
  type: CrawlFilterConfigurationType | undefined;
566
- patternObjectFilter?: PatternObjectFilterConfiguration;
566
+ patternObjectFilter?: PatternObjectFilterConfiguration | undefined;
567
567
  }
568
568
  export interface ConfluenceCrawlerConfiguration {
569
- filterConfiguration?: CrawlFilterConfiguration;
569
+ filterConfiguration?: CrawlFilterConfiguration | undefined;
570
570
  }
571
571
  export declare const ConfluenceAuthType: {
572
572
  readonly BASIC: "BASIC";
@@ -587,15 +587,15 @@ export interface ConfluenceSourceConfiguration {
587
587
  }
588
588
  export interface ConfluenceDataSourceConfiguration {
589
589
  sourceConfiguration: ConfluenceSourceConfiguration | undefined;
590
- crawlerConfiguration?: ConfluenceCrawlerConfiguration;
590
+ crawlerConfiguration?: ConfluenceCrawlerConfiguration | undefined;
591
591
  }
592
592
  export interface S3DataSourceConfiguration {
593
593
  bucketArn: string | undefined;
594
- inclusionPrefixes?: string[];
595
- bucketOwnerAccountId?: string;
594
+ inclusionPrefixes?: string[] | undefined;
595
+ bucketOwnerAccountId?: string | undefined;
596
596
  }
597
597
  export interface SalesforceCrawlerConfiguration {
598
- filterConfiguration?: CrawlFilterConfiguration;
598
+ filterConfiguration?: CrawlFilterConfiguration | undefined;
599
599
  }
600
600
  export declare const SalesforceAuthType: {
601
601
  readonly OAUTH2_CLIENT_CREDENTIALS: "OAUTH2_CLIENT_CREDENTIALS";
@@ -609,10 +609,10 @@ export interface SalesforceSourceConfiguration {
609
609
  }
610
610
  export interface SalesforceDataSourceConfiguration {
611
611
  sourceConfiguration: SalesforceSourceConfiguration | undefined;
612
- crawlerConfiguration?: SalesforceCrawlerConfiguration;
612
+ crawlerConfiguration?: SalesforceCrawlerConfiguration | undefined;
613
613
  }
614
614
  export interface SharePointCrawlerConfiguration {
615
- filterConfiguration?: CrawlFilterConfiguration;
615
+ filterConfiguration?: CrawlFilterConfiguration | undefined;
616
616
  }
617
617
  export declare const SharePointAuthType: {
618
618
  readonly OAUTH2_CLIENT_CREDENTIALS: "OAUTH2_CLIENT_CREDENTIALS";
@@ -625,7 +625,7 @@ export declare const SharePointHostType: {
625
625
  export type SharePointHostType =
626
626
  (typeof SharePointHostType)[keyof typeof SharePointHostType];
627
627
  export interface SharePointSourceConfiguration {
628
- tenantId?: string;
628
+ tenantId?: string | undefined;
629
629
  domain: string | undefined;
630
630
  siteUrls: string[] | undefined;
631
631
  hostType: SharePointHostType | undefined;
@@ -634,7 +634,7 @@ export interface SharePointSourceConfiguration {
634
634
  }
635
635
  export interface SharePointDataSourceConfiguration {
636
636
  sourceConfiguration: SharePointSourceConfiguration | undefined;
637
- crawlerConfiguration?: SharePointCrawlerConfiguration;
637
+ crawlerConfiguration?: SharePointCrawlerConfiguration | undefined;
638
638
  }
639
639
  export declare const DataSourceType: {
640
640
  readonly CONFLUENCE: "CONFLUENCE";
@@ -646,7 +646,7 @@ export declare const DataSourceType: {
646
646
  export type DataSourceType =
647
647
  (typeof DataSourceType)[keyof typeof DataSourceType];
648
648
  export interface WebCrawlerLimits {
649
- rateLimit?: number;
649
+ rateLimit?: number | undefined;
650
650
  }
651
651
  export declare const WebScopeType: {
652
652
  readonly HOST_ONLY: "HOST_ONLY";
@@ -654,34 +654,34 @@ export declare const WebScopeType: {
654
654
  };
655
655
  export type WebScopeType = (typeof WebScopeType)[keyof typeof WebScopeType];
656
656
  export interface WebCrawlerConfiguration {
657
- crawlerLimits?: WebCrawlerLimits;
658
- inclusionFilters?: string[];
659
- exclusionFilters?: string[];
660
- scope?: WebScopeType;
657
+ crawlerLimits?: WebCrawlerLimits | undefined;
658
+ inclusionFilters?: string[] | undefined;
659
+ exclusionFilters?: string[] | undefined;
660
+ scope?: WebScopeType | undefined;
661
661
  }
662
662
  export interface SeedUrl {
663
- url?: string;
663
+ url?: string | undefined;
664
664
  }
665
665
  export interface UrlConfiguration {
666
- seedUrls?: SeedUrl[];
666
+ seedUrls?: SeedUrl[] | undefined;
667
667
  }
668
668
  export interface WebSourceConfiguration {
669
669
  urlConfiguration: UrlConfiguration | undefined;
670
670
  }
671
671
  export interface WebDataSourceConfiguration {
672
672
  sourceConfiguration: WebSourceConfiguration | undefined;
673
- crawlerConfiguration?: WebCrawlerConfiguration;
673
+ crawlerConfiguration?: WebCrawlerConfiguration | undefined;
674
674
  }
675
675
  export interface DataSourceConfiguration {
676
676
  type: DataSourceType | undefined;
677
- s3Configuration?: S3DataSourceConfiguration;
678
- webConfiguration?: WebDataSourceConfiguration;
679
- confluenceConfiguration?: ConfluenceDataSourceConfiguration;
680
- salesforceConfiguration?: SalesforceDataSourceConfiguration;
681
- sharePointConfiguration?: SharePointDataSourceConfiguration;
677
+ s3Configuration?: S3DataSourceConfiguration | undefined;
678
+ webConfiguration?: WebDataSourceConfiguration | undefined;
679
+ confluenceConfiguration?: ConfluenceDataSourceConfiguration | undefined;
680
+ salesforceConfiguration?: SalesforceDataSourceConfiguration | undefined;
681
+ sharePointConfiguration?: SharePointDataSourceConfiguration | undefined;
682
682
  }
683
683
  export interface ServerSideEncryptionConfiguration {
684
- kmsKeyArn?: string;
684
+ kmsKeyArn?: string | undefined;
685
685
  }
686
686
  export declare const ChunkingStrategy: {
687
687
  readonly FIXED_SIZE: "FIXED_SIZE";
@@ -709,9 +709,11 @@ export interface SemanticChunkingConfiguration {
709
709
  }
710
710
  export interface ChunkingConfiguration {
711
711
  chunkingStrategy: ChunkingStrategy | undefined;
712
- fixedSizeChunkingConfiguration?: FixedSizeChunkingConfiguration;
713
- hierarchicalChunkingConfiguration?: HierarchicalChunkingConfiguration;
714
- semanticChunkingConfiguration?: SemanticChunkingConfiguration;
712
+ fixedSizeChunkingConfiguration?: FixedSizeChunkingConfiguration | undefined;
713
+ hierarchicalChunkingConfiguration?:
714
+ | HierarchicalChunkingConfiguration
715
+ | undefined;
716
+ semanticChunkingConfiguration?: SemanticChunkingConfiguration | undefined;
715
717
  }
716
718
  export interface S3Location {
717
719
  uri: string | undefined;
@@ -744,7 +746,7 @@ export interface ParsingPrompt {
744
746
  }
745
747
  export interface BedrockFoundationModelConfiguration {
746
748
  modelArn: string | undefined;
747
- parsingPrompt?: ParsingPrompt;
749
+ parsingPrompt?: ParsingPrompt | undefined;
748
750
  }
749
751
  export declare const ParsingStrategy: {
750
752
  readonly BEDROCK_FOUNDATION_MODEL: "BEDROCK_FOUNDATION_MODEL";
@@ -753,22 +755,28 @@ export type ParsingStrategy =
753
755
  (typeof ParsingStrategy)[keyof typeof ParsingStrategy];
754
756
  export interface ParsingConfiguration {
755
757
  parsingStrategy: ParsingStrategy | undefined;
756
- bedrockFoundationModelConfiguration?: BedrockFoundationModelConfiguration;
758
+ bedrockFoundationModelConfiguration?:
759
+ | BedrockFoundationModelConfiguration
760
+ | undefined;
757
761
  }
758
762
  export interface VectorIngestionConfiguration {
759
- chunkingConfiguration?: ChunkingConfiguration;
760
- customTransformationConfiguration?: CustomTransformationConfiguration;
761
- parsingConfiguration?: ParsingConfiguration;
763
+ chunkingConfiguration?: ChunkingConfiguration | undefined;
764
+ customTransformationConfiguration?:
765
+ | CustomTransformationConfiguration
766
+ | undefined;
767
+ parsingConfiguration?: ParsingConfiguration | undefined;
762
768
  }
763
769
  export interface CreateDataSourceRequest {
764
770
  knowledgeBaseId: string | undefined;
765
- clientToken?: string;
771
+ clientToken?: string | undefined;
766
772
  name: string | undefined;
767
- description?: string;
773
+ description?: string | undefined;
768
774
  dataSourceConfiguration: DataSourceConfiguration | undefined;
769
- dataDeletionPolicy?: DataDeletionPolicy;
770
- serverSideEncryptionConfiguration?: ServerSideEncryptionConfiguration;
771
- vectorIngestionConfiguration?: VectorIngestionConfiguration;
775
+ dataDeletionPolicy?: DataDeletionPolicy | undefined;
776
+ serverSideEncryptionConfiguration?:
777
+ | ServerSideEncryptionConfiguration
778
+ | undefined;
779
+ vectorIngestionConfiguration?: VectorIngestionConfiguration | undefined;
772
780
  }
773
781
  export declare const DataSourceStatus: {
774
782
  readonly AVAILABLE: "AVAILABLE";
@@ -782,14 +790,16 @@ export interface DataSource {
782
790
  dataSourceId: string | undefined;
783
791
  name: string | undefined;
784
792
  status: DataSourceStatus | undefined;
785
- description?: string;
793
+ description?: string | undefined;
786
794
  dataSourceConfiguration: DataSourceConfiguration | undefined;
787
- serverSideEncryptionConfiguration?: ServerSideEncryptionConfiguration;
788
- vectorIngestionConfiguration?: VectorIngestionConfiguration;
789
- dataDeletionPolicy?: DataDeletionPolicy;
795
+ serverSideEncryptionConfiguration?:
796
+ | ServerSideEncryptionConfiguration
797
+ | undefined;
798
+ vectorIngestionConfiguration?: VectorIngestionConfiguration | undefined;
799
+ dataDeletionPolicy?: DataDeletionPolicy | undefined;
790
800
  createdAt: Date | undefined;
791
801
  updatedAt: Date | undefined;
792
- failureReasons?: string[];
802
+ failureReasons?: string[] | undefined;
793
803
  }
794
804
  export interface CreateDataSourceResponse {
795
805
  dataSource: DataSource | undefined;
@@ -812,30 +822,32 @@ export interface GetDataSourceResponse {
812
822
  }
813
823
  export interface ListDataSourcesRequest {
814
824
  knowledgeBaseId: string | undefined;
815
- maxResults?: number;
816
- nextToken?: string;
825
+ maxResults?: number | undefined;
826
+ nextToken?: string | undefined;
817
827
  }
818
828
  export interface DataSourceSummary {
819
829
  knowledgeBaseId: string | undefined;
820
830
  dataSourceId: string | undefined;
821
831
  name: string | undefined;
822
832
  status: DataSourceStatus | undefined;
823
- description?: string;
833
+ description?: string | undefined;
824
834
  updatedAt: Date | undefined;
825
835
  }
826
836
  export interface ListDataSourcesResponse {
827
837
  dataSourceSummaries: DataSourceSummary[] | undefined;
828
- nextToken?: string;
838
+ nextToken?: string | undefined;
829
839
  }
830
840
  export interface UpdateDataSourceRequest {
831
841
  knowledgeBaseId: string | undefined;
832
842
  dataSourceId: string | undefined;
833
843
  name: string | undefined;
834
- description?: string;
844
+ description?: string | undefined;
835
845
  dataSourceConfiguration: DataSourceConfiguration | undefined;
836
- dataDeletionPolicy?: DataDeletionPolicy;
837
- serverSideEncryptionConfiguration?: ServerSideEncryptionConfiguration;
838
- vectorIngestionConfiguration?: VectorIngestionConfiguration;
846
+ dataDeletionPolicy?: DataDeletionPolicy | undefined;
847
+ serverSideEncryptionConfiguration?:
848
+ | ServerSideEncryptionConfiguration
849
+ | undefined;
850
+ vectorIngestionConfiguration?: VectorIngestionConfiguration | undefined;
839
851
  }
840
852
  export interface UpdateDataSourceResponse {
841
853
  dataSource: DataSource | undefined;
@@ -888,12 +900,12 @@ export interface FlowConnection {
888
900
  name: string | undefined;
889
901
  source: string | undefined;
890
902
  target: string | undefined;
891
- configuration?: FlowConnectionConfiguration;
903
+ configuration?: FlowConnectionConfiguration | undefined;
892
904
  }
893
905
  export interface CollectorFlowNodeConfiguration {}
894
906
  export interface FlowCondition {
895
907
  name: string | undefined;
896
- expression?: string;
908
+ expression?: string | undefined;
897
909
  }
898
910
  export interface ConditionFlowNodeConfiguration {
899
911
  conditions: FlowCondition[] | undefined;
@@ -902,8 +914,8 @@ export interface InputFlowNodeConfiguration {}
902
914
  export interface IteratorFlowNodeConfiguration {}
903
915
  export interface KnowledgeBaseFlowNodeConfiguration {
904
916
  knowledgeBaseId: string | undefined;
905
- modelId?: string;
906
- guardrailConfiguration?: GuardrailConfiguration;
917
+ modelId?: string | undefined;
918
+ guardrailConfiguration?: GuardrailConfiguration | undefined;
907
919
  }
908
920
  export interface LambdaFunctionFlowNodeConfiguration {
909
921
  lambdaArn: string | undefined;
@@ -914,10 +926,10 @@ export interface LexFlowNodeConfiguration {
914
926
  }
915
927
  export interface OutputFlowNodeConfiguration {}
916
928
  export interface PromptModelInferenceConfiguration {
917
- temperature?: number;
918
- topP?: number;
919
- maxTokens?: number;
920
- stopSequences?: string[];
929
+ temperature?: number | undefined;
930
+ topP?: number | undefined;
931
+ maxTokens?: number | undefined;
932
+ stopSequences?: string[] | undefined;
921
933
  }
922
934
  export type PromptInferenceConfiguration =
923
935
  | PromptInferenceConfiguration.TextMember
@@ -941,7 +953,7 @@ export declare namespace PromptInferenceConfiguration {
941
953
  ) => T;
942
954
  }
943
955
  export interface PromptInputVariable {
944
- name?: string;
956
+ name?: string | undefined;
945
957
  }
946
958
  export type ContentBlock =
947
959
  | ContentBlock.TextMember
@@ -1052,7 +1064,7 @@ export declare namespace ToolInputSchema {
1052
1064
  }
1053
1065
  export interface ToolSpecification {
1054
1066
  name: string | undefined;
1055
- description?: string;
1067
+ description?: string | undefined;
1056
1068
  inputSchema: ToolInputSchema | undefined;
1057
1069
  }
1058
1070
  export type Tool = Tool.ToolSpecMember | Tool.$UnknownMember;
@@ -1073,17 +1085,17 @@ export declare namespace Tool {
1073
1085
  }
1074
1086
  export interface ToolConfiguration {
1075
1087
  tools: Tool[] | undefined;
1076
- toolChoice?: ToolChoice;
1088
+ toolChoice?: ToolChoice | undefined;
1077
1089
  }
1078
1090
  export interface ChatPromptTemplateConfiguration {
1079
1091
  messages: Message[] | undefined;
1080
- system?: SystemContentBlock[];
1081
- inputVariables?: PromptInputVariable[];
1082
- toolConfiguration?: ToolConfiguration;
1092
+ system?: SystemContentBlock[] | undefined;
1093
+ inputVariables?: PromptInputVariable[] | undefined;
1094
+ toolConfiguration?: ToolConfiguration | undefined;
1083
1095
  }
1084
1096
  export interface TextPromptTemplateConfiguration {
1085
1097
  text: string | undefined;
1086
- inputVariables?: PromptInputVariable[];
1098
+ inputVariables?: PromptInputVariable[] | undefined;
1087
1099
  }
1088
1100
  export type PromptTemplateConfiguration =
1089
1101
  | PromptTemplateConfiguration.ChatMember
@@ -1125,8 +1137,8 @@ export interface PromptFlowNodeInlineConfiguration {
1125
1137
  templateType: PromptTemplateType | undefined;
1126
1138
  templateConfiguration: PromptTemplateConfiguration | undefined;
1127
1139
  modelId: string | undefined;
1128
- inferenceConfiguration?: PromptInferenceConfiguration;
1129
- additionalModelRequestFields?: __DocumentType;
1140
+ inferenceConfiguration?: PromptInferenceConfiguration | undefined;
1141
+ additionalModelRequestFields?: __DocumentType | undefined;
1130
1142
  }
1131
1143
  export interface PromptFlowNodeResourceConfiguration {
1132
1144
  promptArn: string | undefined;
@@ -1163,7 +1175,7 @@ export declare namespace PromptFlowNodeSourceConfiguration {
1163
1175
  }
1164
1176
  export interface PromptFlowNodeConfiguration {
1165
1177
  sourceConfiguration: PromptFlowNodeSourceConfiguration | undefined;
1166
- guardrailConfiguration?: GuardrailConfiguration;
1178
+ guardrailConfiguration?: GuardrailConfiguration | undefined;
1167
1179
  }
1168
1180
  export interface RetrievalFlowNodeS3Configuration {
1169
1181
  bucketName: string | undefined;
@@ -1482,22 +1494,22 @@ export type FlowNodeType = (typeof FlowNodeType)[keyof typeof FlowNodeType];
1482
1494
  export interface FlowNode {
1483
1495
  name: string | undefined;
1484
1496
  type: FlowNodeType | undefined;
1485
- configuration?: FlowNodeConfiguration;
1486
- inputs?: FlowNodeInput[];
1487
- outputs?: FlowNodeOutput[];
1497
+ configuration?: FlowNodeConfiguration | undefined;
1498
+ inputs?: FlowNodeInput[] | undefined;
1499
+ outputs?: FlowNodeOutput[] | undefined;
1488
1500
  }
1489
1501
  export interface FlowDefinition {
1490
- nodes?: FlowNode[];
1491
- connections?: FlowConnection[];
1502
+ nodes?: FlowNode[] | undefined;
1503
+ connections?: FlowConnection[] | undefined;
1492
1504
  }
1493
1505
  export interface CreateFlowRequest {
1494
1506
  name: string | undefined;
1495
- description?: string;
1507
+ description?: string | undefined;
1496
1508
  executionRoleArn: string | undefined;
1497
- customerEncryptionKeyArn?: string;
1498
- definition?: FlowDefinition;
1499
- clientToken?: string;
1500
- tags?: Record<string, string>;
1509
+ customerEncryptionKeyArn?: string | undefined;
1510
+ definition?: FlowDefinition | undefined;
1511
+ clientToken?: string | undefined;
1512
+ tags?: Record<string, string> | undefined;
1501
1513
  }
1502
1514
  export declare const FlowStatus: {
1503
1515
  readonly FAILED: "Failed";
@@ -1508,38 +1520,38 @@ export declare const FlowStatus: {
1508
1520
  export type FlowStatus = (typeof FlowStatus)[keyof typeof FlowStatus];
1509
1521
  export interface CreateFlowResponse {
1510
1522
  name: string | undefined;
1511
- description?: string;
1523
+ description?: string | undefined;
1512
1524
  executionRoleArn: string | undefined;
1513
- customerEncryptionKeyArn?: string;
1525
+ customerEncryptionKeyArn?: string | undefined;
1514
1526
  id: string | undefined;
1515
1527
  arn: string | undefined;
1516
1528
  status: FlowStatus | undefined;
1517
1529
  createdAt: Date | undefined;
1518
1530
  updatedAt: Date | undefined;
1519
1531
  version: string | undefined;
1520
- definition?: FlowDefinition;
1532
+ definition?: FlowDefinition | undefined;
1521
1533
  }
1522
1534
  export interface DeleteFlowRequest {
1523
1535
  flowIdentifier: string | undefined;
1524
- skipResourceInUseCheck?: boolean;
1536
+ skipResourceInUseCheck?: boolean | undefined;
1525
1537
  }
1526
1538
  export interface DeleteFlowResponse {
1527
1539
  id: string | undefined;
1528
1540
  }
1529
1541
  export interface FlowAliasRoutingConfigurationListItem {
1530
- flowVersion?: string;
1542
+ flowVersion?: string | undefined;
1531
1543
  }
1532
1544
  export interface CreateFlowAliasRequest {
1533
1545
  name: string | undefined;
1534
- description?: string;
1546
+ description?: string | undefined;
1535
1547
  routingConfiguration: FlowAliasRoutingConfigurationListItem[] | undefined;
1536
1548
  flowIdentifier: string | undefined;
1537
- clientToken?: string;
1538
- tags?: Record<string, string>;
1549
+ clientToken?: string | undefined;
1550
+ tags?: Record<string, string> | undefined;
1539
1551
  }
1540
1552
  export interface CreateFlowAliasResponse {
1541
1553
  name: string | undefined;
1542
- description?: string;
1554
+ description?: string | undefined;
1543
1555
  routingConfiguration: FlowAliasRoutingConfigurationListItem[] | undefined;
1544
1556
  flowId: string | undefined;
1545
1557
  id: string | undefined;
@@ -1561,7 +1573,7 @@ export interface GetFlowAliasRequest {
1561
1573
  }
1562
1574
  export interface GetFlowAliasResponse {
1563
1575
  name: string | undefined;
1564
- description?: string;
1576
+ description?: string | undefined;
1565
1577
  routingConfiguration: FlowAliasRoutingConfigurationListItem[] | undefined;
1566
1578
  flowId: string | undefined;
1567
1579
  id: string | undefined;
@@ -1571,12 +1583,12 @@ export interface GetFlowAliasResponse {
1571
1583
  }
1572
1584
  export interface ListFlowAliasesRequest {
1573
1585
  flowIdentifier: string | undefined;
1574
- maxResults?: number;
1575
- nextToken?: string;
1586
+ maxResults?: number | undefined;
1587
+ nextToken?: string | undefined;
1576
1588
  }
1577
1589
  export interface FlowAliasSummary {
1578
1590
  name: string | undefined;
1579
- description?: string;
1591
+ description?: string | undefined;
1580
1592
  routingConfiguration: FlowAliasRoutingConfigurationListItem[] | undefined;
1581
1593
  flowId: string | undefined;
1582
1594
  id: string | undefined;
@@ -1586,18 +1598,18 @@ export interface FlowAliasSummary {
1586
1598
  }
1587
1599
  export interface ListFlowAliasesResponse {
1588
1600
  flowAliasSummaries: FlowAliasSummary[] | undefined;
1589
- nextToken?: string;
1601
+ nextToken?: string | undefined;
1590
1602
  }
1591
1603
  export interface UpdateFlowAliasRequest {
1592
1604
  name: string | undefined;
1593
- description?: string;
1605
+ description?: string | undefined;
1594
1606
  routingConfiguration: FlowAliasRoutingConfigurationListItem[] | undefined;
1595
1607
  flowIdentifier: string | undefined;
1596
1608
  aliasIdentifier: string | undefined;
1597
1609
  }
1598
1610
  export interface UpdateFlowAliasResponse {
1599
1611
  name: string | undefined;
1600
- description?: string;
1612
+ description?: string | undefined;
1601
1613
  routingConfiguration: FlowAliasRoutingConfigurationListItem[] | undefined;
1602
1614
  flowId: string | undefined;
1603
1615
  id: string | undefined;
@@ -1607,25 +1619,25 @@ export interface UpdateFlowAliasResponse {
1607
1619
  }
1608
1620
  export interface CreateFlowVersionRequest {
1609
1621
  flowIdentifier: string | undefined;
1610
- description?: string;
1611
- clientToken?: string;
1622
+ description?: string | undefined;
1623
+ clientToken?: string | undefined;
1612
1624
  }
1613
1625
  export interface CreateFlowVersionResponse {
1614
1626
  name: string | undefined;
1615
- description?: string;
1627
+ description?: string | undefined;
1616
1628
  executionRoleArn: string | undefined;
1617
- customerEncryptionKeyArn?: string;
1629
+ customerEncryptionKeyArn?: string | undefined;
1618
1630
  id: string | undefined;
1619
1631
  arn: string | undefined;
1620
1632
  status: FlowStatus | undefined;
1621
1633
  createdAt: Date | undefined;
1622
1634
  version: string | undefined;
1623
- definition?: FlowDefinition;
1635
+ definition?: FlowDefinition | undefined;
1624
1636
  }
1625
1637
  export interface DeleteFlowVersionRequest {
1626
1638
  flowIdentifier: string | undefined;
1627
1639
  flowVersion: string | undefined;
1628
- skipResourceInUseCheck?: boolean;
1640
+ skipResourceInUseCheck?: boolean | undefined;
1629
1641
  }
1630
1642
  export interface DeleteFlowVersionResponse {
1631
1643
  id: string | undefined;
@@ -1637,20 +1649,20 @@ export interface GetFlowVersionRequest {
1637
1649
  }
1638
1650
  export interface GetFlowVersionResponse {
1639
1651
  name: string | undefined;
1640
- description?: string;
1652
+ description?: string | undefined;
1641
1653
  executionRoleArn: string | undefined;
1642
- customerEncryptionKeyArn?: string;
1654
+ customerEncryptionKeyArn?: string | undefined;
1643
1655
  id: string | undefined;
1644
1656
  arn: string | undefined;
1645
1657
  status: FlowStatus | undefined;
1646
1658
  createdAt: Date | undefined;
1647
1659
  version: string | undefined;
1648
- definition?: FlowDefinition;
1660
+ definition?: FlowDefinition | undefined;
1649
1661
  }
1650
1662
  export interface ListFlowVersionsRequest {
1651
1663
  flowIdentifier: string | undefined;
1652
- maxResults?: number;
1653
- nextToken?: string;
1664
+ maxResults?: number | undefined;
1665
+ nextToken?: string | undefined;
1654
1666
  }
1655
1667
  export interface FlowVersionSummary {
1656
1668
  id: string | undefined;
@@ -1661,7 +1673,7 @@ export interface FlowVersionSummary {
1661
1673
  }
1662
1674
  export interface ListFlowVersionsResponse {
1663
1675
  flowVersionSummaries: FlowVersionSummary[] | undefined;
1664
- nextToken?: string;
1676
+ nextToken?: string | undefined;
1665
1677
  }
1666
1678
  export interface GetFlowRequest {
1667
1679
  flowIdentifier: string | undefined;
@@ -2611,30 +2623,30 @@ export type FlowValidationType =
2611
2623
  export interface FlowValidation {
2612
2624
  message: string | undefined;
2613
2625
  severity: FlowValidationSeverity | undefined;
2614
- details?: FlowValidationDetails;
2615
- type?: FlowValidationType;
2626
+ details?: FlowValidationDetails | undefined;
2627
+ type?: FlowValidationType | undefined;
2616
2628
  }
2617
2629
  export interface GetFlowResponse {
2618
2630
  name: string | undefined;
2619
- description?: string;
2631
+ description?: string | undefined;
2620
2632
  executionRoleArn: string | undefined;
2621
- customerEncryptionKeyArn?: string;
2633
+ customerEncryptionKeyArn?: string | undefined;
2622
2634
  id: string | undefined;
2623
2635
  arn: string | undefined;
2624
2636
  status: FlowStatus | undefined;
2625
2637
  createdAt: Date | undefined;
2626
2638
  updatedAt: Date | undefined;
2627
2639
  version: string | undefined;
2628
- definition?: FlowDefinition;
2629
- validations?: FlowValidation[];
2640
+ definition?: FlowDefinition | undefined;
2641
+ validations?: FlowValidation[] | undefined;
2630
2642
  }
2631
2643
  export interface ListFlowsRequest {
2632
- maxResults?: number;
2633
- nextToken?: string;
2644
+ maxResults?: number | undefined;
2645
+ nextToken?: string | undefined;
2634
2646
  }
2635
2647
  export interface FlowSummary {
2636
2648
  name: string | undefined;
2637
- description?: string;
2649
+ description?: string | undefined;
2638
2650
  id: string | undefined;
2639
2651
  arn: string | undefined;
2640
2652
  status: FlowStatus | undefined;
@@ -2644,7 +2656,7 @@ export interface FlowSummary {
2644
2656
  }
2645
2657
  export interface ListFlowsResponse {
2646
2658
  flowSummaries: FlowSummary[] | undefined;
2647
- nextToken?: string;
2659
+ nextToken?: string | undefined;
2648
2660
  }
2649
2661
  export interface PrepareFlowRequest {
2650
2662
  flowIdentifier: string | undefined;
@@ -2655,24 +2667,24 @@ export interface PrepareFlowResponse {
2655
2667
  }
2656
2668
  export interface UpdateFlowRequest {
2657
2669
  name: string | undefined;
2658
- description?: string;
2670
+ description?: string | undefined;
2659
2671
  executionRoleArn: string | undefined;
2660
- customerEncryptionKeyArn?: string;
2661
- definition?: FlowDefinition;
2672
+ customerEncryptionKeyArn?: string | undefined;
2673
+ definition?: FlowDefinition | undefined;
2662
2674
  flowIdentifier: string | undefined;
2663
2675
  }
2664
2676
  export interface UpdateFlowResponse {
2665
2677
  name: string | undefined;
2666
- description?: string;
2678
+ description?: string | undefined;
2667
2679
  executionRoleArn: string | undefined;
2668
- customerEncryptionKeyArn?: string;
2680
+ customerEncryptionKeyArn?: string | undefined;
2669
2681
  id: string | undefined;
2670
2682
  arn: string | undefined;
2671
2683
  status: FlowStatus | undefined;
2672
2684
  createdAt: Date | undefined;
2673
2685
  updatedAt: Date | undefined;
2674
2686
  version: string | undefined;
2675
- definition?: FlowDefinition;
2687
+ definition?: FlowDefinition | undefined;
2676
2688
  }
2677
2689
  export interface GetIngestionJobRequest {
2678
2690
  knowledgeBaseId: string | undefined;
@@ -2680,13 +2692,13 @@ export interface GetIngestionJobRequest {
2680
2692
  ingestionJobId: string | undefined;
2681
2693
  }
2682
2694
  export interface IngestionJobStatistics {
2683
- numberOfDocumentsScanned?: number;
2684
- numberOfMetadataDocumentsScanned?: number;
2685
- numberOfNewDocumentsIndexed?: number;
2686
- numberOfModifiedDocumentsIndexed?: number;
2687
- numberOfMetadataDocumentsModified?: number;
2688
- numberOfDocumentsDeleted?: number;
2689
- numberOfDocumentsFailed?: number;
2695
+ numberOfDocumentsScanned?: number | undefined;
2696
+ numberOfMetadataDocumentsScanned?: number | undefined;
2697
+ numberOfNewDocumentsIndexed?: number | undefined;
2698
+ numberOfModifiedDocumentsIndexed?: number | undefined;
2699
+ numberOfMetadataDocumentsModified?: number | undefined;
2700
+ numberOfDocumentsDeleted?: number | undefined;
2701
+ numberOfDocumentsFailed?: number | undefined;
2690
2702
  }
2691
2703
  export declare const IngestionJobStatus: {
2692
2704
  readonly COMPLETE: "COMPLETE";
@@ -2702,10 +2714,10 @@ export interface IngestionJob {
2702
2714
  knowledgeBaseId: string | undefined;
2703
2715
  dataSourceId: string | undefined;
2704
2716
  ingestionJobId: string | undefined;
2705
- description?: string;
2717
+ description?: string | undefined;
2706
2718
  status: IngestionJobStatus | undefined;
2707
- statistics?: IngestionJobStatistics;
2708
- failureReasons?: string[];
2719
+ statistics?: IngestionJobStatistics | undefined;
2720
+ failureReasons?: string[] | undefined;
2709
2721
  startedAt: Date | undefined;
2710
2722
  updatedAt: Date | undefined;
2711
2723
  }
@@ -2745,30 +2757,30 @@ export interface IngestionJobSortBy {
2745
2757
  export interface ListIngestionJobsRequest {
2746
2758
  knowledgeBaseId: string | undefined;
2747
2759
  dataSourceId: string | undefined;
2748
- filters?: IngestionJobFilter[];
2749
- sortBy?: IngestionJobSortBy;
2750
- maxResults?: number;
2751
- nextToken?: string;
2760
+ filters?: IngestionJobFilter[] | undefined;
2761
+ sortBy?: IngestionJobSortBy | undefined;
2762
+ maxResults?: number | undefined;
2763
+ nextToken?: string | undefined;
2752
2764
  }
2753
2765
  export interface IngestionJobSummary {
2754
2766
  knowledgeBaseId: string | undefined;
2755
2767
  dataSourceId: string | undefined;
2756
2768
  ingestionJobId: string | undefined;
2757
- description?: string;
2769
+ description?: string | undefined;
2758
2770
  status: IngestionJobStatus | undefined;
2759
2771
  startedAt: Date | undefined;
2760
2772
  updatedAt: Date | undefined;
2761
- statistics?: IngestionJobStatistics;
2773
+ statistics?: IngestionJobStatistics | undefined;
2762
2774
  }
2763
2775
  export interface ListIngestionJobsResponse {
2764
2776
  ingestionJobSummaries: IngestionJobSummary[] | undefined;
2765
- nextToken?: string;
2777
+ nextToken?: string | undefined;
2766
2778
  }
2767
2779
  export interface StartIngestionJobRequest {
2768
2780
  knowledgeBaseId: string | undefined;
2769
2781
  dataSourceId: string | undefined;
2770
- clientToken?: string;
2771
- description?: string;
2782
+ clientToken?: string | undefined;
2783
+ description?: string | undefined;
2772
2784
  }
2773
2785
  export interface StartIngestionJobResponse {
2774
2786
  ingestionJob: IngestionJob | undefined;
@@ -2786,7 +2798,7 @@ export interface AssociateAgentKnowledgeBaseRequest {
2786
2798
  agentVersion: string | undefined;
2787
2799
  knowledgeBaseId: string | undefined;
2788
2800
  description: string | undefined;
2789
- knowledgeBaseState?: KnowledgeBaseState;
2801
+ knowledgeBaseState?: KnowledgeBaseState | undefined;
2790
2802
  }
2791
2803
  export interface AssociateAgentKnowledgeBaseResponse {
2792
2804
  agentKnowledgeBase: AgentKnowledgeBase | undefined;
@@ -2797,18 +2809,22 @@ export declare const KnowledgeBaseType: {
2797
2809
  export type KnowledgeBaseType =
2798
2810
  (typeof KnowledgeBaseType)[keyof typeof KnowledgeBaseType];
2799
2811
  export interface BedrockEmbeddingModelConfiguration {
2800
- dimensions?: number;
2812
+ dimensions?: number | undefined;
2801
2813
  }
2802
2814
  export interface EmbeddingModelConfiguration {
2803
- bedrockEmbeddingModelConfiguration?: BedrockEmbeddingModelConfiguration;
2815
+ bedrockEmbeddingModelConfiguration?:
2816
+ | BedrockEmbeddingModelConfiguration
2817
+ | undefined;
2804
2818
  }
2805
2819
  export interface VectorKnowledgeBaseConfiguration {
2806
2820
  embeddingModelArn: string | undefined;
2807
- embeddingModelConfiguration?: EmbeddingModelConfiguration;
2821
+ embeddingModelConfiguration?: EmbeddingModelConfiguration | undefined;
2808
2822
  }
2809
2823
  export interface KnowledgeBaseConfiguration {
2810
2824
  type: KnowledgeBaseType | undefined;
2811
- vectorKnowledgeBaseConfiguration?: VectorKnowledgeBaseConfiguration;
2825
+ vectorKnowledgeBaseConfiguration?:
2826
+ | VectorKnowledgeBaseConfiguration
2827
+ | undefined;
2812
2828
  }
2813
2829
  export interface MongoDbAtlasFieldMapping {
2814
2830
  vectorField: string | undefined;
@@ -2822,7 +2838,7 @@ export interface MongoDbAtlasConfiguration {
2822
2838
  vectorIndexName: string | undefined;
2823
2839
  credentialsSecretArn: string | undefined;
2824
2840
  fieldMapping: MongoDbAtlasFieldMapping | undefined;
2825
- endpointServiceName?: string;
2841
+ endpointServiceName?: string | undefined;
2826
2842
  }
2827
2843
  export interface OpenSearchServerlessFieldMapping {
2828
2844
  vectorField: string | undefined;
@@ -2841,7 +2857,7 @@ export interface PineconeFieldMapping {
2841
2857
  export interface PineconeConfiguration {
2842
2858
  connectionString: string | undefined;
2843
2859
  credentialsSecretArn: string | undefined;
2844
- namespace?: string;
2860
+ namespace?: string | undefined;
2845
2861
  fieldMapping: PineconeFieldMapping | undefined;
2846
2862
  }
2847
2863
  export interface RdsFieldMapping {
@@ -2879,20 +2895,24 @@ export type KnowledgeBaseStorageType =
2879
2895
  (typeof KnowledgeBaseStorageType)[keyof typeof KnowledgeBaseStorageType];
2880
2896
  export interface StorageConfiguration {
2881
2897
  type: KnowledgeBaseStorageType | undefined;
2882
- opensearchServerlessConfiguration?: OpenSearchServerlessConfiguration;
2883
- pineconeConfiguration?: PineconeConfiguration;
2884
- redisEnterpriseCloudConfiguration?: RedisEnterpriseCloudConfiguration;
2885
- rdsConfiguration?: RdsConfiguration;
2886
- mongoDbAtlasConfiguration?: MongoDbAtlasConfiguration;
2898
+ opensearchServerlessConfiguration?:
2899
+ | OpenSearchServerlessConfiguration
2900
+ | undefined;
2901
+ pineconeConfiguration?: PineconeConfiguration | undefined;
2902
+ redisEnterpriseCloudConfiguration?:
2903
+ | RedisEnterpriseCloudConfiguration
2904
+ | undefined;
2905
+ rdsConfiguration?: RdsConfiguration | undefined;
2906
+ mongoDbAtlasConfiguration?: MongoDbAtlasConfiguration | undefined;
2887
2907
  }
2888
2908
  export interface CreateKnowledgeBaseRequest {
2889
- clientToken?: string;
2909
+ clientToken?: string | undefined;
2890
2910
  name: string | undefined;
2891
- description?: string;
2911
+ description?: string | undefined;
2892
2912
  roleArn: string | undefined;
2893
2913
  knowledgeBaseConfiguration: KnowledgeBaseConfiguration | undefined;
2894
2914
  storageConfiguration: StorageConfiguration | undefined;
2895
- tags?: Record<string, string>;
2915
+ tags?: Record<string, string> | undefined;
2896
2916
  }
2897
2917
  export declare const KnowledgeBaseStatus: {
2898
2918
  readonly ACTIVE: "ACTIVE";
@@ -2908,14 +2928,14 @@ export interface KnowledgeBase {
2908
2928
  knowledgeBaseId: string | undefined;
2909
2929
  name: string | undefined;
2910
2930
  knowledgeBaseArn: string | undefined;
2911
- description?: string;
2931
+ description?: string | undefined;
2912
2932
  roleArn: string | undefined;
2913
2933
  knowledgeBaseConfiguration: KnowledgeBaseConfiguration | undefined;
2914
2934
  storageConfiguration: StorageConfiguration | undefined;
2915
2935
  status: KnowledgeBaseStatus | undefined;
2916
2936
  createdAt: Date | undefined;
2917
2937
  updatedAt: Date | undefined;
2918
- failureReasons?: string[];
2938
+ failureReasons?: string[] | undefined;
2919
2939
  }
2920
2940
  export interface CreateKnowledgeBaseResponse {
2921
2941
  knowledgeBase: KnowledgeBase | undefined;