@aws-sdk/client-bedrock-agent 3.702.0 → 3.703.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 (49) hide show
  1. package/README.md +32 -0
  2. package/dist-cjs/index.js +422 -22
  3. package/dist-es/BedrockAgent.js +8 -0
  4. package/dist-es/commands/DeleteKnowledgeBaseDocumentsCommand.js +22 -0
  5. package/dist-es/commands/GetKnowledgeBaseDocumentsCommand.js +22 -0
  6. package/dist-es/commands/IngestKnowledgeBaseDocumentsCommand.js +23 -0
  7. package/dist-es/commands/ListKnowledgeBaseDocumentsCommand.js +22 -0
  8. package/dist-es/commands/index.js +4 -0
  9. package/dist-es/models/models_0.js +80 -18
  10. package/dist-es/models/models_1.js +22 -0
  11. package/dist-es/pagination/ListKnowledgeBaseDocumentsPaginator.js +4 -0
  12. package/dist-es/pagination/index.js +1 -0
  13. package/dist-es/protocols/Aws_restJson1.js +208 -0
  14. package/dist-types/BedrockAgent.d.ts +28 -0
  15. package/dist-types/BedrockAgentClient.d.ts +6 -2
  16. package/dist-types/commands/AssociateAgentKnowledgeBaseCommand.d.ts +1 -1
  17. package/dist-types/commands/CreateDataSourceCommand.d.ts +3 -3
  18. package/dist-types/commands/CreateKnowledgeBaseCommand.d.ts +1 -1
  19. package/dist-types/commands/DeleteKnowledgeBaseCommand.d.ts +1 -1
  20. package/dist-types/commands/DeleteKnowledgeBaseDocumentsCommand.d.ts +119 -0
  21. package/dist-types/commands/DisassociateAgentKnowledgeBaseCommand.d.ts +1 -1
  22. package/dist-types/commands/GetDataSourceCommand.d.ts +1 -1
  23. package/dist-types/commands/GetKnowledgeBaseDocumentsCommand.d.ts +118 -0
  24. package/dist-types/commands/IngestKnowledgeBaseDocumentsCommand.d.ts +161 -0
  25. package/dist-types/commands/ListKnowledgeBaseDocumentsCommand.d.ts +110 -0
  26. package/dist-types/commands/UpdateDataSourceCommand.d.ts +2 -2
  27. package/dist-types/commands/index.d.ts +4 -0
  28. package/dist-types/models/models_0.d.ts +370 -351
  29. package/dist-types/models/models_1.d.ts +623 -1
  30. package/dist-types/pagination/ListKnowledgeBaseDocumentsPaginator.d.ts +7 -0
  31. package/dist-types/pagination/index.d.ts +1 -0
  32. package/dist-types/protocols/Aws_restJson1.d.ts +36 -0
  33. package/dist-types/ts3.4/BedrockAgent.d.ts +68 -0
  34. package/dist-types/ts3.4/BedrockAgentClient.d.ts +24 -0
  35. package/dist-types/ts3.4/commands/AssociateAgentKnowledgeBaseCommand.d.ts +1 -1
  36. package/dist-types/ts3.4/commands/CreateKnowledgeBaseCommand.d.ts +1 -1
  37. package/dist-types/ts3.4/commands/DeleteKnowledgeBaseCommand.d.ts +1 -1
  38. package/dist-types/ts3.4/commands/DeleteKnowledgeBaseDocumentsCommand.d.ts +51 -0
  39. package/dist-types/ts3.4/commands/DisassociateAgentKnowledgeBaseCommand.d.ts +1 -1
  40. package/dist-types/ts3.4/commands/GetKnowledgeBaseDocumentsCommand.d.ts +51 -0
  41. package/dist-types/ts3.4/commands/IngestKnowledgeBaseDocumentsCommand.d.ts +51 -0
  42. package/dist-types/ts3.4/commands/ListKnowledgeBaseDocumentsCommand.d.ts +51 -0
  43. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  44. package/dist-types/ts3.4/models/models_0.d.ts +161 -147
  45. package/dist-types/ts3.4/models/models_1.d.ts +167 -4
  46. package/dist-types/ts3.4/pagination/ListKnowledgeBaseDocumentsPaginator.d.ts +11 -0
  47. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  48. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +48 -0
  49. package/package.json +1 -1
@@ -2490,6 +2490,7 @@ export interface SharePointDataSourceConfiguration {
2490
2490
  */
2491
2491
  export declare const DataSourceType: {
2492
2492
  readonly CONFLUENCE: "CONFLUENCE";
2493
+ readonly CUSTOM: "CUSTOM";
2493
2494
  readonly S3: "S3";
2494
2495
  readonly SALESFORCE: "SALESFORCE";
2495
2496
  readonly SHAREPOINT: "SHAREPOINT";
@@ -7320,626 +7321,604 @@ export interface StopIngestionJobResponse {
7320
7321
  ingestionJob: IngestionJob | undefined;
7321
7322
  }
7322
7323
  /**
7324
+ * <p>Contains information about the identifier of the document to ingest into a custom data source.</p>
7323
7325
  * @public
7324
7326
  */
7325
- export interface AssociateAgentKnowledgeBaseRequest {
7327
+ export interface CustomDocumentIdentifier {
7326
7328
  /**
7327
- * <p>The unique identifier of the agent with which you want to associate the knowledge base.</p>
7329
+ * <p>The identifier of the document to ingest into a custom data source.</p>
7328
7330
  * @public
7329
7331
  */
7330
- agentId: string | undefined;
7331
- /**
7332
- * <p>The version of the agent with which you want to associate the knowledge base.</p>
7333
- * @public
7334
- */
7335
- agentVersion: string | undefined;
7336
- /**
7337
- * <p>The unique identifier of the knowledge base to associate with the agent.</p>
7338
- * @public
7339
- */
7340
- knowledgeBaseId: string | undefined;
7341
- /**
7342
- * <p>A description of what the agent should use the knowledge base for.</p>
7343
- * @public
7344
- */
7345
- description: string | undefined;
7346
- /**
7347
- * <p>Specifies whether to use the knowledge base or not when sending an <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html">InvokeAgent</a> request.</p>
7348
- * @public
7349
- */
7350
- knowledgeBaseState?: KnowledgeBaseState | undefined;
7351
- }
7352
- /**
7353
- * @public
7354
- */
7355
- export interface AssociateAgentKnowledgeBaseResponse {
7356
- /**
7357
- * <p>Contains details about the knowledge base that has been associated with the agent.</p>
7358
- * @public
7359
- */
7360
- agentKnowledgeBase: AgentKnowledgeBase | undefined;
7332
+ id: string | undefined;
7361
7333
  }
7362
7334
  /**
7363
7335
  * @public
7364
7336
  * @enum
7365
7337
  */
7366
- export declare const KnowledgeBaseType: {
7367
- readonly VECTOR: "VECTOR";
7368
- };
7369
- /**
7370
- * @public
7371
- */
7372
- export type KnowledgeBaseType = (typeof KnowledgeBaseType)[keyof typeof KnowledgeBaseType];
7373
- /**
7374
- * @public
7375
- * @enum
7376
- */
7377
- export declare const EmbeddingDataType: {
7378
- readonly BINARY: "BINARY";
7379
- readonly FLOAT32: "FLOAT32";
7338
+ export declare const ContentDataSourceType: {
7339
+ readonly CUSTOM: "CUSTOM";
7340
+ readonly S3: "S3";
7380
7341
  };
7381
7342
  /**
7382
7343
  * @public
7383
7344
  */
7384
- export type EmbeddingDataType = (typeof EmbeddingDataType)[keyof typeof EmbeddingDataType];
7345
+ export type ContentDataSourceType = (typeof ContentDataSourceType)[keyof typeof ContentDataSourceType];
7385
7346
  /**
7386
- * <p>The vector configuration details for the Bedrock embeddings model.</p>
7347
+ * <p>Contains information that identifies the document.</p>
7387
7348
  * @public
7388
7349
  */
7389
- export interface BedrockEmbeddingModelConfiguration {
7350
+ export interface DocumentIdentifier {
7390
7351
  /**
7391
- * <p>The dimensions details for the vector configuration used on the Bedrock embeddings model.</p>
7352
+ * <p>The type of data source connected to the knowledge base that contains the document.</p>
7392
7353
  * @public
7393
7354
  */
7394
- dimensions?: number | undefined;
7355
+ dataSourceType: ContentDataSourceType | undefined;
7395
7356
  /**
7396
- * <p>The data type for the vectors when using a model to convert text into vector
7397
- * embeddings. The model must support the specified data type for vector embeddings.
7398
- * Floating-point (float32) is the default data type, and is supported by most models
7399
- * for vector embeddings. See <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-supported.html">Supported embeddings
7400
- * models</a> for information on the available models and their vector data types.</p>
7357
+ * <p>Contains information that identifies the document in an S3 data source.</p>
7401
7358
  * @public
7402
7359
  */
7403
- embeddingDataType?: EmbeddingDataType | undefined;
7404
- }
7405
- /**
7406
- * <p>The configuration details for the embeddings model.</p>
7407
- * @public
7408
- */
7409
- export interface EmbeddingModelConfiguration {
7360
+ s3?: S3Location | undefined;
7410
7361
  /**
7411
- * <p>The vector configuration details on the Bedrock embeddings model.</p>
7362
+ * <p>Contains information that identifies the document in a custom data source.</p>
7412
7363
  * @public
7413
7364
  */
7414
- bedrockEmbeddingModelConfiguration?: BedrockEmbeddingModelConfiguration | undefined;
7365
+ custom?: CustomDocumentIdentifier | undefined;
7415
7366
  }
7416
7367
  /**
7417
- * <p>Contains details about the model used to create vector embeddings for the knowledge base.</p>
7418
7368
  * @public
7419
7369
  */
7420
- export interface VectorKnowledgeBaseConfiguration {
7370
+ export interface DeleteKnowledgeBaseDocumentsRequest {
7421
7371
  /**
7422
- * <p>The Amazon Resource Name (ARN) of the model or inference profile used to create vector embeddings for the knowledge base.</p>
7372
+ * <p>The unique identifier of the knowledge base that is connected to the data source.</p>
7423
7373
  * @public
7424
7374
  */
7425
- embeddingModelArn: string | undefined;
7375
+ knowledgeBaseId: string | undefined;
7426
7376
  /**
7427
- * <p>The embeddings model configuration details for the vector model used in Knowledge Base.</p>
7377
+ * <p>The unique identifier of the data source that contains the documents.</p>
7428
7378
  * @public
7429
7379
  */
7430
- embeddingModelConfiguration?: EmbeddingModelConfiguration | undefined;
7431
- }
7432
- /**
7433
- * <p>Contains details about the vector embeddings configuration of the knowledge base.</p>
7434
- * @public
7435
- */
7436
- export interface KnowledgeBaseConfiguration {
7380
+ dataSourceId: string | undefined;
7437
7381
  /**
7438
- * <p>The type of data that the data source is converted into for the knowledge base.</p>
7382
+ * <p>A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request,
7383
+ * Amazon Bedrock ignores the request, but does not return an error. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring idempotency</a>.</p>
7439
7384
  * @public
7440
7385
  */
7441
- type: KnowledgeBaseType | undefined;
7386
+ clientToken?: string | undefined;
7442
7387
  /**
7443
- * <p>Contains details about the model that's used to convert the data source into vector embeddings.</p>
7388
+ * <p>A list of objects, each of which contains information to identify a document to delete.</p>
7444
7389
  * @public
7445
7390
  */
7446
- vectorKnowledgeBaseConfiguration?: VectorKnowledgeBaseConfiguration | undefined;
7391
+ documentIdentifiers: DocumentIdentifier[] | undefined;
7447
7392
  }
7448
7393
  /**
7449
- * <p>Contains the names of the fields to which to map information about the vector store.</p>
7450
7394
  * @public
7395
+ * @enum
7451
7396
  */
7452
- export interface MongoDbAtlasFieldMapping {
7453
- /**
7454
- * <p>The name of the field in which Amazon Bedrock stores the vector embeddings for your data sources.</p>
7455
- * @public
7456
- */
7457
- vectorField: string | undefined;
7458
- /**
7459
- * <p>The name of the field in which Amazon Bedrock stores the raw text from your data. The text is split according to the chunking strategy you choose.</p>
7460
- * @public
7461
- */
7462
- textField: string | undefined;
7463
- /**
7464
- * <p>The name of the field in which Amazon Bedrock stores metadata about the vector store.</p>
7465
- * @public
7466
- */
7467
- metadataField: string | undefined;
7468
- }
7397
+ export declare const DocumentStatus: {
7398
+ readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
7399
+ readonly DELETING: "DELETING";
7400
+ readonly FAILED: "FAILED";
7401
+ readonly IGNORED: "IGNORED";
7402
+ readonly INDEXED: "INDEXED";
7403
+ readonly IN_PROGRESS: "IN_PROGRESS";
7404
+ readonly METADATA_PARTIALLY_INDEXED: "METADATA_PARTIALLY_INDEXED";
7405
+ readonly METADATA_UPDATE_FAILED: "METADATA_UPDATE_FAILED";
7406
+ readonly NOT_FOUND: "NOT_FOUND";
7407
+ readonly PARTIALLY_INDEXED: "PARTIALLY_INDEXED";
7408
+ readonly PENDING: "PENDING";
7409
+ readonly STARTING: "STARTING";
7410
+ };
7411
+ /**
7412
+ * @public
7413
+ */
7414
+ export type DocumentStatus = (typeof DocumentStatus)[keyof typeof DocumentStatus];
7469
7415
  /**
7470
- * <p>Contains details about the storage configuration of the knowledge base in MongoDB Atlas. </p>
7416
+ * <p>Contains the details for a document that was ingested or deleted.</p>
7471
7417
  * @public
7472
7418
  */
7473
- export interface MongoDbAtlasConfiguration {
7419
+ export interface KnowledgeBaseDocumentDetail {
7474
7420
  /**
7475
- * <p>The endpoint URL of your MongoDB Atlas cluster for your knowledge base.</p>
7421
+ * <p>The identifier of the knowledge base that the document was ingested into or deleted from.</p>
7476
7422
  * @public
7477
7423
  */
7478
- endpoint: string | undefined;
7424
+ knowledgeBaseId: string | undefined;
7479
7425
  /**
7480
- * <p>The database name in your MongoDB Atlas cluster for your knowledge base.</p>
7426
+ * <p>The identifier of the data source connected to the knowledge base that the document was ingested into or deleted from.</p>
7481
7427
  * @public
7482
7428
  */
7483
- databaseName: string | undefined;
7429
+ dataSourceId: string | undefined;
7484
7430
  /**
7485
- * <p>The collection name of the knowledge base in MongoDB Atlas.</p>
7431
+ * <p>The ingestion status of the document. The following statuses are possible:</p>
7432
+ * <ul>
7433
+ * <li>
7434
+ * <p>STARTED – You submitted the ingestion job containing the document.</p>
7435
+ * </li>
7436
+ * <li>
7437
+ * <p>PENDING – The document is waiting to be ingested.</p>
7438
+ * </li>
7439
+ * <li>
7440
+ * <p>IN_PROGRESS – The document is being ingested.</p>
7441
+ * </li>
7442
+ * <li>
7443
+ * <p>INDEXED – The document was successfully indexed.</p>
7444
+ * </li>
7445
+ * <li>
7446
+ * <p>PARTIALLY_INDEXED – The document was partially indexed.</p>
7447
+ * </li>
7448
+ * <li>
7449
+ * <p>METADATA_PARTIALLY_INDEXED – You submitted metadata for an existing document and it was partially indexed.</p>
7450
+ * </li>
7451
+ * <li>
7452
+ * <p>METADATA_UPDATE_FAILED – You submitted a metadata update for an existing document but it failed.</p>
7453
+ * </li>
7454
+ * <li>
7455
+ * <p>FAILED – The document failed to be ingested.</p>
7456
+ * </li>
7457
+ * <li>
7458
+ * <p>NOT_FOUND – The document wasn't found.</p>
7459
+ * </li>
7460
+ * <li>
7461
+ * <p>IGNORED – The document was ignored during ingestion.</p>
7462
+ * </li>
7463
+ * <li>
7464
+ * <p>DELETING – You submitted the delete job containing the document.</p>
7465
+ * </li>
7466
+ * <li>
7467
+ * <p>DELETE_IN_PROGRESS – The document is being deleted.</p>
7468
+ * </li>
7469
+ * </ul>
7486
7470
  * @public
7487
7471
  */
7488
- collectionName: string | undefined;
7472
+ status: DocumentStatus | undefined;
7489
7473
  /**
7490
- * <p>The name of the MongoDB Atlas vector search index.</p>
7474
+ * <p>Contains information that identifies the document.</p>
7491
7475
  * @public
7492
7476
  */
7493
- vectorIndexName: string | undefined;
7477
+ identifier: DocumentIdentifier | undefined;
7494
7478
  /**
7495
- * <p>The Amazon Resource Name (ARN) of the secret that you created in Secrets Manager that contains user credentials for your MongoDB Atlas cluster.</p>
7479
+ * <p>The reason for the status. Appears alongside the status <code>IGNORED</code>.</p>
7496
7480
  * @public
7497
7481
  */
7498
- credentialsSecretArn: string | undefined;
7482
+ statusReason?: string | undefined;
7499
7483
  /**
7500
- * <p>Contains the names of the fields to which to map information about the vector store.</p>
7484
+ * <p>The date and time at which the document was last updated.</p>
7501
7485
  * @public
7502
7486
  */
7503
- fieldMapping: MongoDbAtlasFieldMapping | undefined;
7487
+ updatedAt?: Date | undefined;
7488
+ }
7489
+ /**
7490
+ * @public
7491
+ */
7492
+ export interface DeleteKnowledgeBaseDocumentsResponse {
7504
7493
  /**
7505
- * <p>The name of the VPC endpoint service in your account that is connected to your MongoDB Atlas cluster.</p>
7494
+ * <p>A list of objects, each of which contains information about the documents that were deleted.</p>
7506
7495
  * @public
7507
7496
  */
7508
- endpointServiceName?: string | undefined;
7497
+ documentDetails?: KnowledgeBaseDocumentDetail[] | undefined;
7509
7498
  }
7510
7499
  /**
7511
- * <p>Contains the names of the fields to which to map information about the vector store.</p>
7512
7500
  * @public
7513
7501
  */
7514
- export interface OpenSearchServerlessFieldMapping {
7502
+ export interface GetKnowledgeBaseDocumentsRequest {
7515
7503
  /**
7516
- * <p>The name of the field in which Amazon Bedrock stores the vector embeddings for your data sources.</p>
7504
+ * <p>The unique identifier of the knowledge base that is connected to the data source.</p>
7517
7505
  * @public
7518
7506
  */
7519
- vectorField: string | undefined;
7507
+ knowledgeBaseId: string | undefined;
7520
7508
  /**
7521
- * <p>The name of the field in which Amazon Bedrock stores the raw text from your data. The text is split according to the chunking strategy you choose.</p>
7509
+ * <p>The unique identifier of the data source that contains the documents.</p>
7522
7510
  * @public
7523
7511
  */
7524
- textField: string | undefined;
7512
+ dataSourceId: string | undefined;
7525
7513
  /**
7526
- * <p>The name of the field in which Amazon Bedrock stores metadata about the vector store.</p>
7514
+ * <p>A list of objects, each of which contains information to identify a document for which to retrieve information.</p>
7527
7515
  * @public
7528
7516
  */
7529
- metadataField: string | undefined;
7517
+ documentIdentifiers: DocumentIdentifier[] | undefined;
7530
7518
  }
7531
7519
  /**
7532
- * <p>Contains details about the storage configuration of the knowledge base in Amazon OpenSearch Service. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-oss.html">Create a vector index in Amazon OpenSearch Service</a>.</p>
7533
7520
  * @public
7534
7521
  */
7535
- export interface OpenSearchServerlessConfiguration {
7536
- /**
7537
- * <p>The Amazon Resource Name (ARN) of the OpenSearch Service vector store.</p>
7538
- * @public
7539
- */
7540
- collectionArn: string | undefined;
7522
+ export interface GetKnowledgeBaseDocumentsResponse {
7541
7523
  /**
7542
- * <p>The name of the vector store.</p>
7524
+ * <p>A list of objects, each of which contains information about the documents that were retrieved.</p>
7543
7525
  * @public
7544
7526
  */
7545
- vectorIndexName: string | undefined;
7546
- /**
7547
- * <p>Contains the names of the fields to which to map information about the vector store.</p>
7548
- * @public
7549
- */
7550
- fieldMapping: OpenSearchServerlessFieldMapping | undefined;
7527
+ documentDetails?: KnowledgeBaseDocumentDetail[] | undefined;
7551
7528
  }
7552
7529
  /**
7553
- * <p>Contains the names of the fields to which to map information about the vector store.</p>
7530
+ * <p>Contains information about content defined inline in bytes.</p>
7554
7531
  * @public
7555
7532
  */
7556
- export interface PineconeFieldMapping {
7533
+ export interface ByteContentDoc {
7557
7534
  /**
7558
- * <p>The name of the field in which Amazon Bedrock stores the raw text from your data. The text is split according to the chunking strategy you choose.</p>
7535
+ * <p>The MIME type of the content. For a list of MIME types, see <a href="https://www.iana.org/assignments/media-types/media-types.xhtml">Media Types</a>. The following MIME types are supported:</p>
7536
+ * <ul>
7537
+ * <li>
7538
+ * <p>text/plain</p>
7539
+ * </li>
7540
+ * <li>
7541
+ * <p>text/html</p>
7542
+ * </li>
7543
+ * <li>
7544
+ * <p>text/csv</p>
7545
+ * </li>
7546
+ * <li>
7547
+ * <p>text/vtt</p>
7548
+ * </li>
7549
+ * <li>
7550
+ * <p>message/rfc822</p>
7551
+ * </li>
7552
+ * <li>
7553
+ * <p>application/xhtml+xml</p>
7554
+ * </li>
7555
+ * <li>
7556
+ * <p>application/pdf</p>
7557
+ * </li>
7558
+ * <li>
7559
+ * <p>application/msword</p>
7560
+ * </li>
7561
+ * <li>
7562
+ * <p>application/vnd.ms-word.document.macroenabled.12</p>
7563
+ * </li>
7564
+ * <li>
7565
+ * <p>application/vnd.ms-word.template.macroenabled.12</p>
7566
+ * </li>
7567
+ * <li>
7568
+ * <p>application/vnd.ms-excel</p>
7569
+ * </li>
7570
+ * <li>
7571
+ * <p>application/vnd.ms-excel.addin.macroenabled.12</p>
7572
+ * </li>
7573
+ * <li>
7574
+ * <p>application/vnd.ms-excel.sheet.macroenabled.12</p>
7575
+ * </li>
7576
+ * <li>
7577
+ * <p>application/vnd.ms-excel.template.macroenabled.12</p>
7578
+ * </li>
7579
+ * <li>
7580
+ * <p>application/vnd.ms-excel.sheet.binary.macroenabled.12</p>
7581
+ * </li>
7582
+ * <li>
7583
+ * <p>application/vnd.ms-spreadsheetml</p>
7584
+ * </li>
7585
+ * <li>
7586
+ * <p>application/vnd.openxmlformats-officedocument.spreadsheetml.sheet</p>
7587
+ * </li>
7588
+ * <li>
7589
+ * <p>application/vnd.openxmlformats-officedocument.spreadsheetml.template</p>
7590
+ * </li>
7591
+ * <li>
7592
+ * <p>application/vnd.openxmlformats-officedocument.wordprocessingml.document</p>
7593
+ * </li>
7594
+ * <li>
7595
+ * <p>application/vnd.openxmlformats-officedocument.wordprocessingml.template</p>
7596
+ * </li>
7597
+ * </ul>
7559
7598
  * @public
7560
7599
  */
7561
- textField: string | undefined;
7600
+ mimeType: string | undefined;
7562
7601
  /**
7563
- * <p>The name of the field in which Amazon Bedrock stores metadata about the vector store.</p>
7602
+ * <p>The base64-encoded string of the content.</p>
7564
7603
  * @public
7565
7604
  */
7566
- metadataField: string | undefined;
7605
+ data: Uint8Array | undefined;
7567
7606
  }
7568
7607
  /**
7569
- * <p>Contains details about the storage configuration of the knowledge base in Pinecone. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-pinecone.html">Create a vector index in Pinecone</a>.</p>
7608
+ * <p>Contains information about content defined inline in text.</p>
7570
7609
  * @public
7571
7610
  */
7572
- export interface PineconeConfiguration {
7611
+ export interface TextContentDoc {
7573
7612
  /**
7574
- * <p>The endpoint URL for your index management page.</p>
7613
+ * <p>The text of the content.</p>
7575
7614
  * @public
7576
7615
  */
7577
- connectionString: string | undefined;
7616
+ data: string | undefined;
7617
+ }
7618
+ /**
7619
+ * @public
7620
+ * @enum
7621
+ */
7622
+ export declare const InlineContentType: {
7623
+ readonly BYTE: "BYTE";
7624
+ readonly TEXT: "TEXT";
7625
+ };
7626
+ /**
7627
+ * @public
7628
+ */
7629
+ export type InlineContentType = (typeof InlineContentType)[keyof typeof InlineContentType];
7630
+ /**
7631
+ * <p>Contains information about content defined inline to ingest into a data source. Choose a <code>type</code> and include the field that corresponds to it.</p>
7632
+ * @public
7633
+ */
7634
+ export interface InlineContent {
7578
7635
  /**
7579
- * <p>The Amazon Resource Name (ARN) of the secret that you created in Secrets Manager that is linked to your Pinecone API key.</p>
7636
+ * <p>The type of inline content to define.</p>
7580
7637
  * @public
7581
7638
  */
7582
- credentialsSecretArn: string | undefined;
7639
+ type: InlineContentType | undefined;
7583
7640
  /**
7584
- * <p>The namespace to be used to write new data to your database.</p>
7641
+ * <p>Contains information about content defined inline in bytes.</p>
7585
7642
  * @public
7586
7643
  */
7587
- namespace?: string | undefined;
7644
+ byteContent?: ByteContentDoc | undefined;
7588
7645
  /**
7589
- * <p>Contains the names of the fields to which to map information about the vector store.</p>
7646
+ * <p>Contains information about content defined inline in text.</p>
7590
7647
  * @public
7591
7648
  */
7592
- fieldMapping: PineconeFieldMapping | undefined;
7649
+ textContent?: TextContentDoc | undefined;
7593
7650
  }
7594
7651
  /**
7595
- * <p>Contains the names of the fields to which to map information about the vector store.</p>
7652
+ * <p>Contains information about the Amazon S3 location of the file containing the content to ingest into a knowledge base connected to a custom data source.</p>
7596
7653
  * @public
7597
7654
  */
7598
- export interface RdsFieldMapping {
7599
- /**
7600
- * <p>The name of the field in which Amazon Bedrock stores the ID for each entry.</p>
7601
- * @public
7602
- */
7603
- primaryKeyField: string | undefined;
7604
- /**
7605
- * <p>The name of the field in which Amazon Bedrock stores the vector embeddings for your data sources.</p>
7606
- * @public
7607
- */
7608
- vectorField: string | undefined;
7655
+ export interface CustomS3Location {
7609
7656
  /**
7610
- * <p>The name of the field in which Amazon Bedrock stores the raw text from your data. The text is split according to the chunking strategy you choose.</p>
7657
+ * <p>The S3 URI of the file containing the content to ingest.</p>
7611
7658
  * @public
7612
7659
  */
7613
- textField: string | undefined;
7660
+ uri: string | undefined;
7614
7661
  /**
7615
- * <p>The name of the field in which Amazon Bedrock stores metadata about the vector store.</p>
7662
+ * <p>The identifier of the Amazon Web Services account that owns the S3 bucket containing the content to ingest.</p>
7616
7663
  * @public
7617
7664
  */
7618
- metadataField: string | undefined;
7665
+ bucketOwnerAccountId?: string | undefined;
7619
7666
  }
7620
7667
  /**
7621
- * <p>Contains details about the storage configuration of the knowledge base in Amazon RDS. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-rds.html">Create a vector index in Amazon RDS</a>.</p>
7622
7668
  * @public
7669
+ * @enum
7623
7670
  */
7624
- export interface RdsConfiguration {
7625
- /**
7626
- * <p>The Amazon Resource Name (ARN) of the vector store.</p>
7627
- * @public
7628
- */
7629
- resourceArn: string | undefined;
7671
+ export declare const CustomSourceType: {
7672
+ readonly IN_LINE: "IN_LINE";
7673
+ readonly S3_LOCATION: "S3_LOCATION";
7674
+ };
7675
+ /**
7676
+ * @public
7677
+ */
7678
+ export type CustomSourceType = (typeof CustomSourceType)[keyof typeof CustomSourceType];
7679
+ /**
7680
+ * <p>Contains information about the content to ingest into a knowledge base connected to a custom data source. Choose a <code>sourceType</code> and include the field that corresponds to it.</p>
7681
+ * @public
7682
+ */
7683
+ export interface CustomContent {
7630
7684
  /**
7631
- * <p>The Amazon Resource Name (ARN) of the secret that you created in Secrets Manager that is linked to your Amazon RDS database.</p>
7685
+ * <p>A unique identifier for the document.</p>
7632
7686
  * @public
7633
7687
  */
7634
- credentialsSecretArn: string | undefined;
7688
+ customDocumentIdentifier: CustomDocumentIdentifier | undefined;
7635
7689
  /**
7636
- * <p>The name of your Amazon RDS database.</p>
7690
+ * <p>The source of the data to ingest.</p>
7637
7691
  * @public
7638
7692
  */
7639
- databaseName: string | undefined;
7693
+ sourceType: CustomSourceType | undefined;
7640
7694
  /**
7641
- * <p>The name of the table in the database.</p>
7695
+ * <p>Contains information about the Amazon S3 location of the file from which to ingest data.</p>
7642
7696
  * @public
7643
7697
  */
7644
- tableName: string | undefined;
7698
+ s3Location?: CustomS3Location | undefined;
7645
7699
  /**
7646
- * <p>Contains the names of the fields to which to map information about the vector store.</p>
7700
+ * <p>Contains information about content defined inline to ingest into a knowledge base.</p>
7647
7701
  * @public
7648
7702
  */
7649
- fieldMapping: RdsFieldMapping | undefined;
7703
+ inlineContent?: InlineContent | undefined;
7650
7704
  }
7651
7705
  /**
7652
- * <p>Contains the names of the fields to which to map information about the vector store.</p>
7706
+ * <p>Contains information about the content to ingest into a knowledge base connected to an Amazon S3 data source.</p>
7653
7707
  * @public
7654
7708
  */
7655
- export interface RedisEnterpriseCloudFieldMapping {
7656
- /**
7657
- * <p>The name of the field in which Amazon Bedrock stores the vector embeddings for your data sources.</p>
7658
- * @public
7659
- */
7660
- vectorField: string | undefined;
7661
- /**
7662
- * <p>The name of the field in which Amazon Bedrock stores the raw text from your data. The text is split according to the chunking strategy you choose.</p>
7663
- * @public
7664
- */
7665
- textField: string | undefined;
7709
+ export interface S3Content {
7666
7710
  /**
7667
- * <p>The name of the field in which Amazon Bedrock stores metadata about the vector store.</p>
7711
+ * <p>The S3 location of the file containing the content to ingest.</p>
7668
7712
  * @public
7669
7713
  */
7670
- metadataField: string | undefined;
7714
+ s3Location: S3Location | undefined;
7671
7715
  }
7672
7716
  /**
7673
- * <p>Contains details about the storage configuration of the knowledge base in Redis Enterprise Cloud. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-oss.html">Create a vector index in Redis Enterprise Cloud</a>.</p>
7717
+ * <p>Contains information about the content of a document. Choose a <code>dataSourceType</code> and include the field that corresponds to it.</p>
7674
7718
  * @public
7675
7719
  */
7676
- export interface RedisEnterpriseCloudConfiguration {
7677
- /**
7678
- * <p>The endpoint URL of the Redis Enterprise Cloud database.</p>
7679
- * @public
7680
- */
7681
- endpoint: string | undefined;
7720
+ export interface DocumentContent {
7682
7721
  /**
7683
- * <p>The name of the vector index.</p>
7722
+ * <p>The type of data source that is connected to the knowledge base to which to ingest this document.</p>
7684
7723
  * @public
7685
7724
  */
7686
- vectorIndexName: string | undefined;
7725
+ dataSourceType: ContentDataSourceType | undefined;
7687
7726
  /**
7688
- * <p>The Amazon Resource Name (ARN) of the secret that you created in Secrets Manager that is linked to your Redis Enterprise Cloud database.</p>
7727
+ * <p>Contains information about the content to ingest into a knowledge base connected to a custom data source.</p>
7689
7728
  * @public
7690
7729
  */
7691
- credentialsSecretArn: string | undefined;
7730
+ custom?: CustomContent | undefined;
7692
7731
  /**
7693
- * <p>Contains the names of the fields to which to map information about the vector store.</p>
7732
+ * <p>Contains information about the content to ingest into a knowledge base connected to an Amazon S3 data source</p>
7694
7733
  * @public
7695
7734
  */
7696
- fieldMapping: RedisEnterpriseCloudFieldMapping | undefined;
7735
+ s3?: S3Content | undefined;
7697
7736
  }
7698
7737
  /**
7699
7738
  * @public
7700
7739
  * @enum
7701
7740
  */
7702
- export declare const KnowledgeBaseStorageType: {
7703
- readonly MONGO_DB_ATLAS: "MONGO_DB_ATLAS";
7704
- readonly OPENSEARCH_SERVERLESS: "OPENSEARCH_SERVERLESS";
7705
- readonly PINECONE: "PINECONE";
7706
- readonly RDS: "RDS";
7707
- readonly REDIS_ENTERPRISE_CLOUD: "REDIS_ENTERPRISE_CLOUD";
7741
+ export declare const MetadataValueType: {
7742
+ readonly BOOLEAN: "BOOLEAN";
7743
+ readonly NUMBER: "NUMBER";
7744
+ readonly STRING: "STRING";
7745
+ readonly STRING_LIST: "STRING_LIST";
7708
7746
  };
7709
7747
  /**
7710
7748
  * @public
7711
7749
  */
7712
- export type KnowledgeBaseStorageType = (typeof KnowledgeBaseStorageType)[keyof typeof KnowledgeBaseStorageType];
7750
+ export type MetadataValueType = (typeof MetadataValueType)[keyof typeof MetadataValueType];
7713
7751
  /**
7714
- * <p>Contains the storage configuration of the knowledge base.</p>
7752
+ * <p>Contains the value of the metadata attribute. Choose a <code>type</code> and include the field that corresponds to it.</p>
7715
7753
  * @public
7716
7754
  */
7717
- export interface StorageConfiguration {
7755
+ export interface MetadataAttributeValue {
7718
7756
  /**
7719
- * <p>The vector store service in which the knowledge base is stored.</p>
7757
+ * <p>The type of the metadata attribute.</p>
7720
7758
  * @public
7721
7759
  */
7722
- type: KnowledgeBaseStorageType | undefined;
7760
+ type: MetadataValueType | undefined;
7723
7761
  /**
7724
- * <p>Contains the storage configuration of the knowledge base in Amazon OpenSearch Service.</p>
7762
+ * <p>The value of the numeric metadata attribute.</p>
7725
7763
  * @public
7726
7764
  */
7727
- opensearchServerlessConfiguration?: OpenSearchServerlessConfiguration | undefined;
7765
+ numberValue?: number | undefined;
7728
7766
  /**
7729
- * <p>Contains the storage configuration of the knowledge base in Pinecone.</p>
7767
+ * <p>The value of the Boolean metadata attribute.</p>
7730
7768
  * @public
7731
7769
  */
7732
- pineconeConfiguration?: PineconeConfiguration | undefined;
7770
+ booleanValue?: boolean | undefined;
7733
7771
  /**
7734
- * <p>Contains the storage configuration of the knowledge base in Redis Enterprise Cloud.</p>
7772
+ * <p>The value of the string metadata attribute.</p>
7735
7773
  * @public
7736
7774
  */
7737
- redisEnterpriseCloudConfiguration?: RedisEnterpriseCloudConfiguration | undefined;
7775
+ stringValue?: string | undefined;
7738
7776
  /**
7739
- * <p>Contains details about the storage configuration of the knowledge base in Amazon RDS. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-rds.html">Create a vector index in Amazon RDS</a>.</p>
7777
+ * <p>An array of strings that define the value of the metadata attribute.</p>
7740
7778
  * @public
7741
7779
  */
7742
- rdsConfiguration?: RdsConfiguration | undefined;
7743
- /**
7744
- * <p>Contains the storage configuration of the knowledge base in MongoDB Atlas.</p>
7745
- * @public
7746
- */
7747
- mongoDbAtlasConfiguration?: MongoDbAtlasConfiguration | undefined;
7780
+ stringListValue?: string[] | undefined;
7748
7781
  }
7749
7782
  /**
7783
+ * <p>Contains information about a metadata attribute.</p>
7750
7784
  * @public
7751
7785
  */
7752
- export interface CreateKnowledgeBaseRequest {
7786
+ export interface MetadataAttribute {
7753
7787
  /**
7754
- * <p>A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request,
7755
- * Amazon Bedrock ignores the request, but does not return an error. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring idempotency</a>.</p>
7756
- * @public
7757
- */
7758
- clientToken?: string | undefined;
7759
- /**
7760
- * <p>A name for the knowledge base.</p>
7761
- * @public
7762
- */
7763
- name: string | undefined;
7764
- /**
7765
- * <p>A description of the knowledge base.</p>
7766
- * @public
7767
- */
7768
- description?: string | undefined;
7769
- /**
7770
- * <p>The Amazon Resource Name (ARN) of the IAM role with permissions to invoke API operations on the knowledge base.</p>
7771
- * @public
7772
- */
7773
- roleArn: string | undefined;
7774
- /**
7775
- * <p>Contains details about the embeddings model used for the knowledge base.</p>
7788
+ * <p>The key of the metadata attribute.</p>
7776
7789
  * @public
7777
7790
  */
7778
- knowledgeBaseConfiguration: KnowledgeBaseConfiguration | undefined;
7791
+ key: string | undefined;
7779
7792
  /**
7780
- * <p>Contains details about the configuration of the vector database used for the knowledge base.</p>
7793
+ * <p>Contains the value of the metadata attribute.</p>
7781
7794
  * @public
7782
7795
  */
7783
- storageConfiguration: StorageConfiguration | undefined;
7784
- /**
7785
- * <p>Specify the key-value pairs for the tags that you want to attach to your knowledge base in this object.</p>
7786
- * @public
7787
- */
7788
- tags?: Record<string, string> | undefined;
7796
+ value: MetadataAttributeValue | undefined;
7789
7797
  }
7790
7798
  /**
7791
7799
  * @public
7792
7800
  * @enum
7793
7801
  */
7794
- export declare const KnowledgeBaseStatus: {
7795
- readonly ACTIVE: "ACTIVE";
7796
- readonly CREATING: "CREATING";
7797
- readonly DELETE_UNSUCCESSFUL: "DELETE_UNSUCCESSFUL";
7798
- readonly DELETING: "DELETING";
7799
- readonly FAILED: "FAILED";
7800
- readonly UPDATING: "UPDATING";
7802
+ export declare const MetadataSourceType: {
7803
+ readonly IN_LINE_ATTRIBUTE: "IN_LINE_ATTRIBUTE";
7804
+ readonly S3_LOCATION: "S3_LOCATION";
7801
7805
  };
7802
7806
  /**
7803
7807
  * @public
7804
7808
  */
7805
- export type KnowledgeBaseStatus = (typeof KnowledgeBaseStatus)[keyof typeof KnowledgeBaseStatus];
7809
+ export type MetadataSourceType = (typeof MetadataSourceType)[keyof typeof MetadataSourceType];
7806
7810
  /**
7807
- * <p>Contains information about a knowledge base.</p>
7811
+ * <p>Contains information about the metadata associate with the content to ingest into a knowledge base. Choose a <code>type</code> and include the field that corresponds to it.</p>
7808
7812
  * @public
7809
7813
  */
7810
- export interface KnowledgeBase {
7814
+ export interface DocumentMetadata {
7811
7815
  /**
7812
- * <p>The unique identifier of the knowledge base.</p>
7816
+ * <p>The type of the source source from which to add metadata.</p>
7813
7817
  * @public
7814
7818
  */
7815
- knowledgeBaseId: string | undefined;
7816
- /**
7817
- * <p>The name of the knowledge base.</p>
7818
- * @public
7819
- */
7820
- name: string | undefined;
7819
+ type: MetadataSourceType | undefined;
7821
7820
  /**
7822
- * <p>The Amazon Resource Name (ARN) of the knowledge base.</p>
7821
+ * <p>An array of objects, each of which defines a metadata attribute to associate with the content to ingest. You define the attributes inline.</p>
7823
7822
  * @public
7824
7823
  */
7825
- knowledgeBaseArn: string | undefined;
7824
+ inlineAttributes?: MetadataAttribute[] | undefined;
7826
7825
  /**
7827
- * <p>The description of the knowledge base.</p>
7826
+ * <p>The Amazon S3 location of the file containing metadata to associate with the content to ingest.</p>
7828
7827
  * @public
7829
7828
  */
7830
- description?: string | undefined;
7831
- /**
7832
- * <p>The Amazon Resource Name (ARN) of the IAM role with permissions to invoke API operations on the knowledge base.</p>
7833
- * @public
7834
- */
7835
- roleArn: string | undefined;
7829
+ s3Location?: CustomS3Location | undefined;
7830
+ }
7831
+ /**
7832
+ * <p>Contains information about a document to ingest into a knowledge base and metadata to associate with it.</p>
7833
+ * @public
7834
+ */
7835
+ export interface KnowledgeBaseDocument {
7836
7836
  /**
7837
- * <p>Contains details about the embeddings configuration of the knowledge base.</p>
7837
+ * <p>Contains the metadata to associate with the document.</p>
7838
7838
  * @public
7839
7839
  */
7840
- knowledgeBaseConfiguration: KnowledgeBaseConfiguration | undefined;
7840
+ metadata?: DocumentMetadata | undefined;
7841
7841
  /**
7842
- * <p>Contains details about the storage configuration of the knowledge base.</p>
7842
+ * <p>Contains the content of the document.</p>
7843
7843
  * @public
7844
7844
  */
7845
- storageConfiguration: StorageConfiguration | undefined;
7845
+ content: DocumentContent | undefined;
7846
+ }
7847
+ /**
7848
+ * @public
7849
+ */
7850
+ export interface IngestKnowledgeBaseDocumentsRequest {
7846
7851
  /**
7847
- * <p>The status of the knowledge base. The following statuses are possible:</p>
7848
- * <ul>
7849
- * <li>
7850
- * <p>CREATING – The knowledge base is being created.</p>
7851
- * </li>
7852
- * <li>
7853
- * <p>ACTIVE – The knowledge base is ready to be queried.</p>
7854
- * </li>
7855
- * <li>
7856
- * <p>DELETING – The knowledge base is being deleted.</p>
7857
- * </li>
7858
- * <li>
7859
- * <p>UPDATING – The knowledge base is being updated.</p>
7860
- * </li>
7861
- * <li>
7862
- * <p>FAILED – The knowledge base API operation failed.</p>
7863
- * </li>
7864
- * </ul>
7852
+ * <p>The unique identifier of the knowledge base to ingest the documents into.</p>
7865
7853
  * @public
7866
7854
  */
7867
- status: KnowledgeBaseStatus | undefined;
7855
+ knowledgeBaseId: string | undefined;
7868
7856
  /**
7869
- * <p>The time the knowledge base was created.</p>
7857
+ * <p>The unique identifier of the data source connected to the knowledge base that you're adding documents to.</p>
7870
7858
  * @public
7871
7859
  */
7872
- createdAt: Date | undefined;
7860
+ dataSourceId: string | undefined;
7873
7861
  /**
7874
- * <p>The time the knowledge base was last updated.</p>
7862
+ * <p>A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request,
7863
+ * Amazon Bedrock ignores the request, but does not return an error. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring idempotency</a>.</p>
7875
7864
  * @public
7876
7865
  */
7877
- updatedAt: Date | undefined;
7866
+ clientToken?: string | undefined;
7878
7867
  /**
7879
- * <p>A list of reasons that the API operation on the knowledge base failed.</p>
7868
+ * <p>A list of objects, each of which contains information about the documents to add.</p>
7880
7869
  * @public
7881
7870
  */
7882
- failureReasons?: string[] | undefined;
7871
+ documents: KnowledgeBaseDocument[] | undefined;
7883
7872
  }
7884
7873
  /**
7885
7874
  * @public
7886
7875
  */
7887
- export interface CreateKnowledgeBaseResponse {
7876
+ export interface IngestKnowledgeBaseDocumentsResponse {
7888
7877
  /**
7889
- * <p>Contains details about the knowledge base.</p>
7878
+ * <p>A list of objects, each of which contains information about the documents that were ingested.</p>
7890
7879
  * @public
7891
7880
  */
7892
- knowledgeBase: KnowledgeBase | undefined;
7881
+ documentDetails?: KnowledgeBaseDocumentDetail[] | undefined;
7893
7882
  }
7894
7883
  /**
7895
7884
  * @public
7896
7885
  */
7897
- export interface DeleteKnowledgeBaseRequest {
7886
+ export interface ListKnowledgeBaseDocumentsRequest {
7898
7887
  /**
7899
- * <p>The unique identifier of the knowledge base to delete.</p>
7888
+ * <p>The unique identifier of the knowledge base that is connected to the data source.</p>
7900
7889
  * @public
7901
7890
  */
7902
7891
  knowledgeBaseId: string | undefined;
7903
- }
7904
- /**
7905
- * @public
7906
- */
7907
- export interface DeleteKnowledgeBaseResponse {
7908
7892
  /**
7909
- * <p>The unique identifier of the knowledge base that was deleted.</p>
7893
+ * <p>The unique identifier of the data source that contains the documents.</p>
7910
7894
  * @public
7911
7895
  */
7912
- knowledgeBaseId: string | undefined;
7896
+ dataSourceId: string | undefined;
7913
7897
  /**
7914
- * <p>The status of the knowledge base and whether it has been successfully deleted.</p>
7898
+ * <p>The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the <code>nextToken</code> field when making another request to return the next batch of results.</p>
7915
7899
  * @public
7916
7900
  */
7917
- status: KnowledgeBaseStatus | undefined;
7901
+ maxResults?: number | undefined;
7902
+ /**
7903
+ * <p>If the total number of results is greater than the <code>maxResults</code> value provided in the request, enter the token returned in the <code>nextToken</code> field in the response in this field to return the next batch of results.</p>
7904
+ * @public
7905
+ */
7906
+ nextToken?: string | undefined;
7918
7907
  }
7919
7908
  /**
7920
7909
  * @public
7921
7910
  */
7922
- export interface DisassociateAgentKnowledgeBaseRequest {
7923
- /**
7924
- * <p>The unique identifier of the agent from which to disassociate the knowledge base.</p>
7925
- * @public
7926
- */
7927
- agentId: string | undefined;
7911
+ export interface ListKnowledgeBaseDocumentsResponse {
7928
7912
  /**
7929
- * <p>The version of the agent from which to disassociate the knowledge base.</p>
7913
+ * <p>A list of objects, each of which contains information about the documents that were retrieved.</p>
7930
7914
  * @public
7931
7915
  */
7932
- agentVersion: string | undefined;
7916
+ documentDetails: KnowledgeBaseDocumentDetail[] | undefined;
7933
7917
  /**
7934
- * <p>The unique identifier of the knowledge base to disassociate.</p>
7918
+ * <p>If the total number of results is greater than the <code>maxResults</code> value provided in the request, use this token when making another request in the <code>nextToken</code> field to return the next batch of results.</p>
7935
7919
  * @public
7936
7920
  */
7937
- knowledgeBaseId: string | undefined;
7938
- }
7939
- /**
7940
- * @public
7941
- */
7942
- export interface DisassociateAgentKnowledgeBaseResponse {
7921
+ nextToken?: string | undefined;
7943
7922
  }
7944
7923
  /**
7945
7924
  * @internal
@@ -8189,3 +8168,43 @@ export declare const UpdateFlowRequestFilterSensitiveLog: (obj: UpdateFlowReques
8189
8168
  * @internal
8190
8169
  */
8191
8170
  export declare const UpdateFlowResponseFilterSensitiveLog: (obj: UpdateFlowResponse) => any;
8171
+ /**
8172
+ * @internal
8173
+ */
8174
+ export declare const ByteContentDocFilterSensitiveLog: (obj: ByteContentDoc) => any;
8175
+ /**
8176
+ * @internal
8177
+ */
8178
+ export declare const TextContentDocFilterSensitiveLog: (obj: TextContentDoc) => any;
8179
+ /**
8180
+ * @internal
8181
+ */
8182
+ export declare const InlineContentFilterSensitiveLog: (obj: InlineContent) => any;
8183
+ /**
8184
+ * @internal
8185
+ */
8186
+ export declare const CustomContentFilterSensitiveLog: (obj: CustomContent) => any;
8187
+ /**
8188
+ * @internal
8189
+ */
8190
+ export declare const DocumentContentFilterSensitiveLog: (obj: DocumentContent) => any;
8191
+ /**
8192
+ * @internal
8193
+ */
8194
+ export declare const MetadataAttributeValueFilterSensitiveLog: (obj: MetadataAttributeValue) => any;
8195
+ /**
8196
+ * @internal
8197
+ */
8198
+ export declare const MetadataAttributeFilterSensitiveLog: (obj: MetadataAttribute) => any;
8199
+ /**
8200
+ * @internal
8201
+ */
8202
+ export declare const DocumentMetadataFilterSensitiveLog: (obj: DocumentMetadata) => any;
8203
+ /**
8204
+ * @internal
8205
+ */
8206
+ export declare const KnowledgeBaseDocumentFilterSensitiveLog: (obj: KnowledgeBaseDocument) => any;
8207
+ /**
8208
+ * @internal
8209
+ */
8210
+ export declare const IngestKnowledgeBaseDocumentsRequestFilterSensitiveLog: (obj: IngestKnowledgeBaseDocumentsRequest) => any;