@aws-sdk/client-bedrock-agent 3.844.0 → 3.845.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.
@@ -17,25 +17,7 @@ export declare const IngestionJobStatus: {
17
17
  */
18
18
  export type IngestionJobStatus = (typeof IngestionJobStatus)[keyof typeof IngestionJobStatus];
19
19
  /**
20
- * <p>Contains details about a data ingestion job. Data sources are ingested into a knowledge base so that Large Language Models (LLMs) can use your data.</p>
21
- * <p>This data type is used in the following API operations:</p>
22
- * <ul>
23
- * <li>
24
- * <p>
25
- * <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_StartIngestionJob.html#API_agent_StartIngestionJob_ResponseSyntax">StartIngestionJob response</a>
26
- * </p>
27
- * </li>
28
- * <li>
29
- * <p>
30
- * <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_GetIngestionJob.html#API_agent_GetIngestionJob_ResponseSyntax">GetIngestionJob response</a>
31
- * </p>
32
- * </li>
33
- * <li>
34
- * <p>
35
- * <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_ListIngestionJobs.html#API_agent_ListIngestionJobs_ResponseSyntax">ListIngestionJob response</a>
36
- * </p>
37
- * </li>
38
- * </ul>
20
+ * <p>Contains details about a data ingestion job. Data sources are ingested into a knowledge base so that Large Language Models (LLMs) can use your data.</p> <p>This data type is used in the following API operations:</p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_StartIngestionJob.html#API_agent_StartIngestionJob_ResponseSyntax">StartIngestionJob response</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_GetIngestionJob.html#API_agent_GetIngestionJob_ResponseSyntax">GetIngestionJob response</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_ListIngestionJobs.html#API_agent_ListIngestionJobs_ResponseSyntax">ListIngestionJob response</a> </p> </li> </ul>
39
21
  * @public
40
22
  */
41
23
  export interface IngestionJob {
@@ -75,14 +57,12 @@ export interface IngestionJob {
75
57
  */
76
58
  failureReasons?: string[] | undefined;
77
59
  /**
78
- * <p>The time the data ingestion job started.</p>
79
- * <p>If you stop a data ingestion job, the <code>startedAt</code> time is the time the job was started before the job was stopped.</p>
60
+ * <p>The time the data ingestion job started.</p> <p>If you stop a data ingestion job, the <code>startedAt</code> time is the time the job was started before the job was stopped.</p>
80
61
  * @public
81
62
  */
82
63
  startedAt: Date | undefined;
83
64
  /**
84
- * <p>The time the data ingestion job was last updated.</p>
85
- * <p>If you stop a data ingestion job, the <code>updatedAt</code> time is the time the job was stopped.</p>
65
+ * <p>The time the data ingestion job was last updated.</p> <p>If you stop a data ingestion job, the <code>updatedAt</code> time is the time the job was stopped.</p>
86
66
  * @public
87
67
  */
88
68
  updatedAt: Date | undefined;
@@ -291,8 +271,7 @@ export interface StartIngestionJobRequest {
291
271
  */
292
272
  dataSourceId: string | undefined;
293
273
  /**
294
- * <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,
295
- * 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>
274
+ * <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, 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>
296
275
  * @public
297
276
  */
298
277
  clientToken?: string | undefined;
@@ -401,8 +380,7 @@ export interface DeleteKnowledgeBaseDocumentsRequest {
401
380
  */
402
381
  dataSourceId: string | undefined;
403
382
  /**
404
- * <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,
405
- * 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>
383
+ * <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, 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>
406
384
  * @public
407
385
  */
408
386
  clientToken?: string | undefined;
@@ -450,45 +428,7 @@ export interface KnowledgeBaseDocumentDetail {
450
428
  */
451
429
  dataSourceId: string | undefined;
452
430
  /**
453
- * <p>The ingestion status of the document. The following statuses are possible:</p>
454
- * <ul>
455
- * <li>
456
- * <p>STARTED – You submitted the ingestion job containing the document.</p>
457
- * </li>
458
- * <li>
459
- * <p>PENDING – The document is waiting to be ingested.</p>
460
- * </li>
461
- * <li>
462
- * <p>IN_PROGRESS – The document is being ingested.</p>
463
- * </li>
464
- * <li>
465
- * <p>INDEXED – The document was successfully indexed.</p>
466
- * </li>
467
- * <li>
468
- * <p>PARTIALLY_INDEXED – The document was partially indexed.</p>
469
- * </li>
470
- * <li>
471
- * <p>METADATA_PARTIALLY_INDEXED – You submitted metadata for an existing document and it was partially indexed.</p>
472
- * </li>
473
- * <li>
474
- * <p>METADATA_UPDATE_FAILED – You submitted a metadata update for an existing document but it failed.</p>
475
- * </li>
476
- * <li>
477
- * <p>FAILED – The document failed to be ingested.</p>
478
- * </li>
479
- * <li>
480
- * <p>NOT_FOUND – The document wasn't found.</p>
481
- * </li>
482
- * <li>
483
- * <p>IGNORED – The document was ignored during ingestion.</p>
484
- * </li>
485
- * <li>
486
- * <p>DELETING – You submitted the delete job containing the document.</p>
487
- * </li>
488
- * <li>
489
- * <p>DELETE_IN_PROGRESS – The document is being deleted.</p>
490
- * </li>
491
- * </ul>
431
+ * <p>The ingestion status of the document. The following statuses are possible:</p> <ul> <li> <p>STARTED – You submitted the ingestion job containing the document.</p> </li> <li> <p>PENDING – The document is waiting to be ingested.</p> </li> <li> <p>IN_PROGRESS – The document is being ingested.</p> </li> <li> <p>INDEXED – The document was successfully indexed.</p> </li> <li> <p>PARTIALLY_INDEXED – The document was partially indexed.</p> </li> <li> <p>METADATA_PARTIALLY_INDEXED – You submitted metadata for an existing document and it was partially indexed.</p> </li> <li> <p>METADATA_UPDATE_FAILED – You submitted a metadata update for an existing document but it failed.</p> </li> <li> <p>FAILED – The document failed to be ingested.</p> </li> <li> <p>NOT_FOUND – The document wasn't found.</p> </li> <li> <p>IGNORED – The document was ignored during ingestion.</p> </li> <li> <p>DELETING – You submitted the delete job containing the document.</p> </li> <li> <p>DELETE_IN_PROGRESS – The document is being deleted.</p> </li> </ul>
492
432
  * @public
493
433
  */
494
434
  status: DocumentStatus | undefined;
@@ -554,69 +494,7 @@ export interface GetKnowledgeBaseDocumentsResponse {
554
494
  */
555
495
  export interface ByteContentDoc {
556
496
  /**
557
- * <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>
558
- * <ul>
559
- * <li>
560
- * <p>text/plain</p>
561
- * </li>
562
- * <li>
563
- * <p>text/html</p>
564
- * </li>
565
- * <li>
566
- * <p>text/csv</p>
567
- * </li>
568
- * <li>
569
- * <p>text/vtt</p>
570
- * </li>
571
- * <li>
572
- * <p>message/rfc822</p>
573
- * </li>
574
- * <li>
575
- * <p>application/xhtml+xml</p>
576
- * </li>
577
- * <li>
578
- * <p>application/pdf</p>
579
- * </li>
580
- * <li>
581
- * <p>application/msword</p>
582
- * </li>
583
- * <li>
584
- * <p>application/vnd.ms-word.document.macroenabled.12</p>
585
- * </li>
586
- * <li>
587
- * <p>application/vnd.ms-word.template.macroenabled.12</p>
588
- * </li>
589
- * <li>
590
- * <p>application/vnd.ms-excel</p>
591
- * </li>
592
- * <li>
593
- * <p>application/vnd.ms-excel.addin.macroenabled.12</p>
594
- * </li>
595
- * <li>
596
- * <p>application/vnd.ms-excel.sheet.macroenabled.12</p>
597
- * </li>
598
- * <li>
599
- * <p>application/vnd.ms-excel.template.macroenabled.12</p>
600
- * </li>
601
- * <li>
602
- * <p>application/vnd.ms-excel.sheet.binary.macroenabled.12</p>
603
- * </li>
604
- * <li>
605
- * <p>application/vnd.ms-spreadsheetml</p>
606
- * </li>
607
- * <li>
608
- * <p>application/vnd.openxmlformats-officedocument.spreadsheetml.sheet</p>
609
- * </li>
610
- * <li>
611
- * <p>application/vnd.openxmlformats-officedocument.spreadsheetml.template</p>
612
- * </li>
613
- * <li>
614
- * <p>application/vnd.openxmlformats-officedocument.wordprocessingml.document</p>
615
- * </li>
616
- * <li>
617
- * <p>application/vnd.openxmlformats-officedocument.wordprocessingml.template</p>
618
- * </li>
619
- * </ul>
497
+ * <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> <ul> <li> <p>text/plain</p> </li> <li> <p>text/html</p> </li> <li> <p>text/csv</p> </li> <li> <p>text/vtt</p> </li> <li> <p>message/rfc822</p> </li> <li> <p>application/xhtml+xml</p> </li> <li> <p>application/pdf</p> </li> <li> <p>application/msword</p> </li> <li> <p>application/vnd.ms-word.document.macroenabled.12</p> </li> <li> <p>application/vnd.ms-word.template.macroenabled.12</p> </li> <li> <p>application/vnd.ms-excel</p> </li> <li> <p>application/vnd.ms-excel.addin.macroenabled.12</p> </li> <li> <p>application/vnd.ms-excel.sheet.macroenabled.12</p> </li> <li> <p>application/vnd.ms-excel.template.macroenabled.12</p> </li> <li> <p>application/vnd.ms-excel.sheet.binary.macroenabled.12</p> </li> <li> <p>application/vnd.ms-spreadsheetml</p> </li> <li> <p>application/vnd.openxmlformats-officedocument.spreadsheetml.sheet</p> </li> <li> <p>application/vnd.openxmlformats-officedocument.spreadsheetml.template</p> </li> <li> <p>application/vnd.openxmlformats-officedocument.wordprocessingml.document</p> </li> <li> <p>application/vnd.openxmlformats-officedocument.wordprocessingml.template</p> </li> </ul>
620
498
  * @public
621
499
  */
622
500
  mimeType: string | undefined;
@@ -881,8 +759,7 @@ export interface IngestKnowledgeBaseDocumentsRequest {
881
759
  */
882
760
  dataSourceId: string | undefined;
883
761
  /**
884
- * <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,
885
- * 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>
762
+ * <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, 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>
886
763
  * @public
887
764
  */
888
765
  clientToken?: string | undefined;
@@ -1366,11 +1243,7 @@ export interface BedrockEmbeddingModelConfiguration {
1366
1243
  */
1367
1244
  dimensions?: number | undefined;
1368
1245
  /**
1369
- * <p>The data type for the vectors when using a model to convert text into vector
1370
- * embeddings. The model must support the specified data type for vector embeddings.
1371
- * Floating-point (float32) is the default data type, and is supported by most models
1372
- * for vector embeddings. See <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-supported.html">Supported embeddings
1373
- * models</a> for information on the available models and their vector data types.</p>
1246
+ * <p>The data type for the vectors when using a model to convert text into vector embeddings. The model must support the specified data type for vector embeddings. Floating-point (float32) is the default data type, and is supported by most models for vector embeddings. See <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-supported.html">Supported embeddings models</a> for information on the available models and their vector data types.</p>
1374
1247
  * @public
1375
1248
  */
1376
1249
  embeddingDataType?: EmbeddingDataType | undefined;
@@ -1533,8 +1406,7 @@ export interface MongoDbAtlasConfiguration {
1533
1406
  */
1534
1407
  endpointServiceName?: string | undefined;
1535
1408
  /**
1536
- * <p>The name of the text search index in the MongoDB collection. This is required for using the hybrid search
1537
- * feature.</p>
1409
+ * <p>The name of the text search index in the MongoDB collection. This is required for using the hybrid search feature.</p>
1538
1410
  * @public
1539
1411
  */
1540
1412
  textIndexName?: string | undefined;
@@ -1545,8 +1417,7 @@ export interface MongoDbAtlasConfiguration {
1545
1417
  */
1546
1418
  export interface NeptuneAnalyticsFieldMapping {
1547
1419
  /**
1548
- * <p>The name of the field in which Amazon Bedrock stores the raw text from your data. The text
1549
- * is split according to the chunking strategy you choose.</p>
1420
+ * <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>
1550
1421
  * @public
1551
1422
  */
1552
1423
  textField: string | undefined;
@@ -1557,9 +1428,7 @@ export interface NeptuneAnalyticsFieldMapping {
1557
1428
  metadataField: string | undefined;
1558
1429
  }
1559
1430
  /**
1560
- * <p>Contains details about the storage configuration of the knowledge base in
1561
- * Amazon Neptune Analytics. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-neptune.html">Create a vector index
1562
- * in Amazon Neptune Analytics</a>.</p>
1431
+ * <p>Contains details about the storage configuration of the knowledge base in Amazon Neptune Analytics. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-neptune.html">Create a vector index in Amazon Neptune Analytics</a>.</p>
1563
1432
  * @public
1564
1433
  */
1565
1434
  export interface NeptuneAnalyticsConfiguration {
@@ -1585,8 +1454,7 @@ export interface OpenSearchManagedClusterFieldMapping {
1585
1454
  */
1586
1455
  vectorField: string | undefined;
1587
1456
  /**
1588
- * <p>The name of the field in which Amazon Bedrock stores the raw text from your data. The text
1589
- * is split according to the chunking strategy you choose.</p>
1457
+ * <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>
1590
1458
  * @public
1591
1459
  */
1592
1460
  textField: string | undefined;
@@ -1597,8 +1465,7 @@ export interface OpenSearchManagedClusterFieldMapping {
1597
1465
  metadataField: string | undefined;
1598
1466
  }
1599
1467
  /**
1600
- * <p>Contains details about the Managed Cluster configuration of the knowledge base in Amazon OpenSearch Service. For more information,
1601
- * see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-osm.html">Create a vector index in OpenSearch Managed Cluster</a>.</p>
1468
+ * <p>Contains details about the Managed Cluster 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-osm.html">Create a vector index in OpenSearch Managed Cluster</a>.</p>
1602
1469
  * @public
1603
1470
  */
1604
1471
  export interface OpenSearchManagedClusterConfiguration {
@@ -1733,8 +1600,7 @@ export interface RdsFieldMapping {
1733
1600
  */
1734
1601
  metadataField: string | undefined;
1735
1602
  /**
1736
- * <p>Provide a name for the universal metadata field where Amazon Bedrock will store any custom metadata from
1737
- * your data source.</p>
1603
+ * <p>Provide a name for the universal metadata field where Amazon Bedrock will store any custom metadata from your data source.</p>
1738
1604
  * @public
1739
1605
  */
1740
1606
  customMetadataField?: string | undefined;
@@ -1817,6 +1683,27 @@ export interface RedisEnterpriseCloudConfiguration {
1817
1683
  */
1818
1684
  fieldMapping: RedisEnterpriseCloudFieldMapping | undefined;
1819
1685
  }
1686
+ /**
1687
+ * <p>Contains the storage configuration of the knowledge base for S3 vectors.</p>
1688
+ * @public
1689
+ */
1690
+ export interface S3VectorsConfiguration {
1691
+ /**
1692
+ * <p>The Amazon Resource Name (ARN) of the S3 bucket where vector embeddings are stored. This bucket contains the vector data used by the knowledge base.</p>
1693
+ * @public
1694
+ */
1695
+ vectorBucketArn?: string | undefined;
1696
+ /**
1697
+ * <p>The Amazon Resource Name (ARN) of the vector index used for the knowledge base. This ARN identifies the specific vector index resource within Amazon Bedrock.</p>
1698
+ * @public
1699
+ */
1700
+ indexArn?: string | undefined;
1701
+ /**
1702
+ * <p>The name of the vector index used for the knowledge base. This name identifies the vector index within the Amazon Bedrock service.</p>
1703
+ * @public
1704
+ */
1705
+ indexName?: string | undefined;
1706
+ }
1820
1707
  /**
1821
1708
  * @public
1822
1709
  * @enum
@@ -1829,6 +1716,7 @@ export declare const KnowledgeBaseStorageType: {
1829
1716
  readonly PINECONE: "PINECONE";
1830
1717
  readonly RDS: "RDS";
1831
1718
  readonly REDIS_ENTERPRISE_CLOUD: "REDIS_ENTERPRISE_CLOUD";
1719
+ readonly S3_VECTORS: "S3_VECTORS";
1832
1720
  };
1833
1721
  /**
1834
1722
  * @public
@@ -1850,9 +1738,7 @@ export interface StorageConfiguration {
1850
1738
  */
1851
1739
  opensearchServerlessConfiguration?: OpenSearchServerlessConfiguration | undefined;
1852
1740
  /**
1853
- * <p>Contains details about the storage configuration of the knowledge base in OpenSearch Managed
1854
- * Cluster. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-osm.html">Create
1855
- * a vector index in Amazon OpenSearch Service</a>.</p>
1741
+ * <p>Contains details about the storage configuration of the knowledge base in OpenSearch Managed Cluster. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-osm.html">Create a vector index in Amazon OpenSearch Service</a>.</p>
1856
1742
  * @public
1857
1743
  */
1858
1744
  opensearchManagedClusterConfiguration?: OpenSearchManagedClusterConfiguration | undefined;
@@ -1877,20 +1763,22 @@ export interface StorageConfiguration {
1877
1763
  */
1878
1764
  mongoDbAtlasConfiguration?: MongoDbAtlasConfiguration | undefined;
1879
1765
  /**
1880
- * <p>Contains details about the Neptune Analytics configuration of the knowledge base in Amazon Neptune. For more information,
1881
- * see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-neptune.html">Create a
1882
- * vector index in Amazon Neptune Analytics.</a>.</p>
1766
+ * <p>Contains details about the Neptune Analytics configuration of the knowledge base in Amazon Neptune. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-neptune.html">Create a vector index in Amazon Neptune Analytics.</a>.</p>
1883
1767
  * @public
1884
1768
  */
1885
1769
  neptuneAnalyticsConfiguration?: NeptuneAnalyticsConfiguration | undefined;
1770
+ /**
1771
+ * <p>The configuration settings for storing knowledge base data using S3 vectors. This includes vector index information and S3 bucket details for vector storage.</p>
1772
+ * @public
1773
+ */
1774
+ s3VectorsConfiguration?: S3VectorsConfiguration | undefined;
1886
1775
  }
1887
1776
  /**
1888
1777
  * @public
1889
1778
  */
1890
1779
  export interface CreateKnowledgeBaseRequest {
1891
1780
  /**
1892
- * <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,
1893
- * 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>
1781
+ * <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, 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>
1894
1782
  * @public
1895
1783
  */
1896
1784
  clientToken?: string | undefined;
@@ -1982,24 +1870,7 @@ export interface KnowledgeBase {
1982
1870
  */
1983
1871
  storageConfiguration?: StorageConfiguration | undefined;
1984
1872
  /**
1985
- * <p>The status of the knowledge base. The following statuses are possible:</p>
1986
- * <ul>
1987
- * <li>
1988
- * <p>CREATING – The knowledge base is being created.</p>
1989
- * </li>
1990
- * <li>
1991
- * <p>ACTIVE – The knowledge base is ready to be queried.</p>
1992
- * </li>
1993
- * <li>
1994
- * <p>DELETING – The knowledge base is being deleted.</p>
1995
- * </li>
1996
- * <li>
1997
- * <p>UPDATING – The knowledge base is being updated.</p>
1998
- * </li>
1999
- * <li>
2000
- * <p>FAILED – The knowledge base API operation failed.</p>
2001
- * </li>
2002
- * </ul>
1873
+ * <p>The status of the knowledge base. The following statuses are possible:</p> <ul> <li> <p>CREATING – The knowledge base is being created.</p> </li> <li> <p>ACTIVE – The knowledge base is ready to be queried.</p> </li> <li> <p>DELETING – The knowledge base is being deleted.</p> </li> <li> <p>UPDATING – The knowledge base is being updated.</p> </li> <li> <p>FAILED – The knowledge base API operation failed.</p> </li> </ul>
2003
1874
  * @public
2004
1875
  */
2005
1876
  status: KnowledgeBaseStatus | undefined;
@@ -2448,8 +2319,7 @@ export interface CreatePromptRequest {
2448
2319
  */
2449
2320
  variants?: PromptVariant[] | undefined;
2450
2321
  /**
2451
- * <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,
2452
- * 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>
2322
+ * <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, 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>
2453
2323
  * @public
2454
2324
  */
2455
2325
  clientToken?: string | undefined;
@@ -2529,8 +2399,7 @@ export interface CreatePromptVersionRequest {
2529
2399
  */
2530
2400
  description?: string | undefined;
2531
2401
  /**
2532
- * <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,
2533
- * 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>
2402
+ * <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, 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>
2534
2403
  * @public
2535
2404
  */
2536
2405
  clientToken?: string | undefined;
@@ -2716,15 +2585,7 @@ export interface ListPromptsRequest {
2716
2585
  nextToken?: string | undefined;
2717
2586
  }
2718
2587
  /**
2719
- * <p>Contains information about a prompt in your Prompt management tool.</p>
2720
- * <p>This data type is used in the following API operations:</p>
2721
- * <ul>
2722
- * <li>
2723
- * <p>
2724
- * <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_ListPrompts.html#API_agent_ListPrompts_ResponseSyntax">ListPrompts response</a>
2725
- * </p>
2726
- * </li>
2727
- * </ul>
2588
+ * <p>Contains information about a prompt in your Prompt management tool.</p> <p>This data type is used in the following API operations:</p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_ListPrompts.html#API_agent_ListPrompts_ResponseSyntax">ListPrompts response</a> </p> </li> </ul>
2728
2589
  * @public
2729
2590
  */
2730
2591
  export interface PromptSummary {
@@ -3326,8 +3187,7 @@ export declare namespace FlowNodeConfiguration {
3326
3187
  $unknown?: never;
3327
3188
  }
3328
3189
  /**
3329
- * <p>Contains configurations for an iterator node in your flow. Takes an input that is an array and iteratively sends each item of the array as an output to the following node. The size of the array is also returned in the output.</p>
3330
- * <p>The output flow node at the end of the flow iteration will return a response for each member of the array. To return only one response, you can include a collector node downstream from the iterator node.</p>
3190
+ * <p>Contains configurations for an iterator node in your flow. Takes an input that is an array and iteratively sends each item of the array as an output to the following node. The size of the array is also returned in the output.</p> <p>The output flow node at the end of the flow iteration will return a response for each member of the array. To return only one response, you can include a collector node downstream from the iterator node.</p>
3331
3191
  * @public
3332
3192
  */
3333
3193
  interface IteratorMember {
@@ -3508,29 +3368,7 @@ export declare namespace FlowNodeConfiguration {
3508
3368
  const visit: <T>(value: FlowNodeConfiguration, visitor: Visitor<T>) => T;
3509
3369
  }
3510
3370
  /**
3511
- * <p>Contains configurations for the nodes of a DoWhile loop in your flow.</p>
3512
- * <p>A DoWhile loop is made up of the following nodes:</p>
3513
- * <ul>
3514
- * <li>
3515
- * <p>
3516
- * <code>Loop</code> - The container node that holds the loop's flow definition. This node encompasses the entire loop structure.</p>
3517
- * </li>
3518
- * <li>
3519
- * <p>
3520
- * <code>LoopInput</code> - The entry point node for the loop. This node receives inputs from nodes outside the loop and from previous loop iterations.</p>
3521
- * </li>
3522
- * <li>
3523
- * <p>Body nodes - The processing nodes that execute within each loop iteration.
3524
- * These can be nodes for handling data in your flow, such as a prompt or Lambda
3525
- * function nodes. Some node types aren't supported inside a DoWhile loop body. For
3526
- * more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_LoopIncompatibleNodeTypeFlowValidationDetails.html">LoopIncompatibleNodeTypeFlowValidationDetails</a>.</p>
3527
- * </li>
3528
- * <li>
3529
- * <p>
3530
- * <code>LoopController</code> - The node that evaluates whether the loop should continue or exit based on a condition.</p>
3531
- * </li>
3532
- * </ul>
3533
- * <p>These nodes work together to create a loop that runs at least once and continues until a specified condition is met or a maximum number of iterations is reached.</p>
3371
+ * <p>Contains configurations for the nodes of a DoWhile loop in your flow.</p> <p>A DoWhile loop is made up of the following nodes:</p> <ul> <li> <p> <code>Loop</code> - The container node that holds the loop's flow definition. This node encompasses the entire loop structure.</p> </li> <li> <p> <code>LoopInput</code> - The entry point node for the loop. This node receives inputs from nodes outside the loop and from previous loop iterations.</p> </li> <li> <p>Body nodes - The processing nodes that execute within each loop iteration. These can be nodes for handling data in your flow, such as a prompt or Lambda function nodes. Some node types aren't supported inside a DoWhile loop body. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_LoopIncompatibleNodeTypeFlowValidationDetails.html">LoopIncompatibleNodeTypeFlowValidationDetails</a>.</p> </li> <li> <p> <code>LoopController</code> - The node that evaluates whether the loop should continue or exit based on a condition.</p> </li> </ul> <p>These nodes work together to create a loop that runs at least once and continues until a specified condition is met or a maximum number of iterations is reached.</p>
3534
3372
  * @public
3535
3373
  */
3536
3374
  export interface LoopFlowNodeConfiguration {
@@ -3570,8 +3408,7 @@ export interface CreateFlowRequest {
3570
3408
  */
3571
3409
  definition?: FlowDefinition | undefined;
3572
3410
  /**
3573
- * <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,
3574
- * 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>
3411
+ * <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, 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>
3575
3412
  * @public
3576
3413
  */
3577
3414
  clientToken?: string | undefined;
@@ -3711,7 +3548,7 @@ export interface GetFlowResponse {
3711
3548
  */
3712
3549
  description?: string | undefined;
3713
3550
  /**
3714
- * <p>The Amazon Resource Name (ARN) of the service role with permissions to create a flow. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/flows-permissions.html">Create a service row for flows</a> in the Amazon Bedrock User Guide.</p>
3551
+ * <p>The Amazon Resource Name (ARN) of the service role with permissions to create a flow. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/flows-permissions.html">Create a service row for flows</a> in the Amazon Bedrock User Guide.</p>
3715
3552
  * @public
3716
3553
  */
3717
3554
  executionRoleArn: string | undefined;
@@ -3731,21 +3568,7 @@ export interface GetFlowResponse {
3731
3568
  */
3732
3569
  arn: string | undefined;
3733
3570
  /**
3734
- * <p>The status of the flow. The following statuses are possible:</p>
3735
- * <ul>
3736
- * <li>
3737
- * <p>NotPrepared – The flow has been created or updated, but hasn't been prepared. If you just created the flow, you can't test it. If you updated the flow, the <code>DRAFT</code> version won't contain the latest changes for testing. Send a <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_PrepareFlow.html">PrepareFlow</a> request to package the latest changes into the <code>DRAFT</code> version.</p>
3738
- * </li>
3739
- * <li>
3740
- * <p>Preparing – The flow is being prepared so that the <code>DRAFT</code> version contains the latest changes for testing.</p>
3741
- * </li>
3742
- * <li>
3743
- * <p>Prepared – The flow is prepared and the <code>DRAFT</code> version contains the latest changes for testing.</p>
3744
- * </li>
3745
- * <li>
3746
- * <p>Failed – The last API operation that you invoked on the flow failed. Send a <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_GetFlow.html">GetFlow</a> request and check the error message in the <code>validations</code> field.</p>
3747
- * </li>
3748
- * </ul>
3571
+ * <p>The status of the flow. The following statuses are possible:</p> <ul> <li> <p>NotPrepared – The flow has been created or updated, but hasn't been prepared. If you just created the flow, you can't test it. If you updated the flow, the <code>DRAFT</code> version won't contain the latest changes for testing. Send a <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_PrepareFlow.html">PrepareFlow</a> request to package the latest changes into the <code>DRAFT</code> version.</p> </li> <li> <p>Preparing – The flow is being prepared so that the <code>DRAFT</code> version contains the latest changes for testing.</p> </li> <li> <p>Prepared – The flow is prepared and the <code>DRAFT</code> version contains the latest changes for testing.</p> </li> <li> <p>Failed – The last API operation that you invoked on the flow failed. Send a <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_GetFlow.html">GetFlow</a> request and check the error message in the <code>validations</code> field.</p> </li> </ul>
3749
3572
  * @public
3750
3573
  */
3751
3574
  status: FlowStatus | undefined;
@@ -4003,6 +3826,10 @@ export declare const NeptuneAnalyticsConfigurationFilterSensitiveLog: (obj: Nept
4003
3826
  * @internal
4004
3827
  */
4005
3828
  export declare const OpenSearchManagedClusterConfigurationFilterSensitiveLog: (obj: OpenSearchManagedClusterConfiguration) => any;
3829
+ /**
3830
+ * @internal
3831
+ */
3832
+ export declare const S3VectorsConfigurationFilterSensitiveLog: (obj: S3VectorsConfiguration) => any;
4006
3833
  /**
4007
3834
  * @internal
4008
3835
  */
@@ -524,6 +524,11 @@ export interface RedisEnterpriseCloudConfiguration {
524
524
  credentialsSecretArn: string | undefined;
525
525
  fieldMapping: RedisEnterpriseCloudFieldMapping | undefined;
526
526
  }
527
+ export interface S3VectorsConfiguration {
528
+ vectorBucketArn?: string | undefined;
529
+ indexArn?: string | undefined;
530
+ indexName?: string | undefined;
531
+ }
527
532
  export declare const KnowledgeBaseStorageType: {
528
533
  readonly MONGO_DB_ATLAS: "MONGO_DB_ATLAS";
529
534
  readonly NEPTUNE_ANALYTICS: "NEPTUNE_ANALYTICS";
@@ -532,6 +537,7 @@ export declare const KnowledgeBaseStorageType: {
532
537
  readonly PINECONE: "PINECONE";
533
538
  readonly RDS: "RDS";
534
539
  readonly REDIS_ENTERPRISE_CLOUD: "REDIS_ENTERPRISE_CLOUD";
540
+ readonly S3_VECTORS: "S3_VECTORS";
535
541
  };
536
542
  export type KnowledgeBaseStorageType =
537
543
  (typeof KnowledgeBaseStorageType)[keyof typeof KnowledgeBaseStorageType];
@@ -550,6 +556,7 @@ export interface StorageConfiguration {
550
556
  rdsConfiguration?: RdsConfiguration | undefined;
551
557
  mongoDbAtlasConfiguration?: MongoDbAtlasConfiguration | undefined;
552
558
  neptuneAnalyticsConfiguration?: NeptuneAnalyticsConfiguration | undefined;
559
+ s3VectorsConfiguration?: S3VectorsConfiguration | undefined;
553
560
  }
554
561
  export interface CreateKnowledgeBaseRequest {
555
562
  clientToken?: string | undefined;
@@ -1352,6 +1359,9 @@ export declare const NeptuneAnalyticsConfigurationFilterSensitiveLog: (
1352
1359
  export declare const OpenSearchManagedClusterConfigurationFilterSensitiveLog: (
1353
1360
  obj: OpenSearchManagedClusterConfiguration
1354
1361
  ) => any;
1362
+ export declare const S3VectorsConfigurationFilterSensitiveLog: (
1363
+ obj: S3VectorsConfiguration
1364
+ ) => any;
1355
1365
  export declare const StorageConfigurationFilterSensitiveLog: (
1356
1366
  obj: StorageConfiguration
1357
1367
  ) => any;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-bedrock-agent",
3
3
  "description": "AWS SDK for JavaScript Bedrock Agent Client for Node.js, Browser and React Native",
4
- "version": "3.844.0",
4
+ "version": "3.845.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-bedrock-agent",
@@ -20,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.844.0",
24
- "@aws-sdk/credential-provider-node": "3.844.0",
23
+ "@aws-sdk/core": "3.845.0",
24
+ "@aws-sdk/credential-provider-node": "3.845.0",
25
25
  "@aws-sdk/middleware-host-header": "3.840.0",
26
26
  "@aws-sdk/middleware-logger": "3.840.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.840.0",
28
- "@aws-sdk/middleware-user-agent": "3.844.0",
28
+ "@aws-sdk/middleware-user-agent": "3.845.0",
29
29
  "@aws-sdk/region-config-resolver": "3.840.0",
30
30
  "@aws-sdk/types": "3.840.0",
31
- "@aws-sdk/util-endpoints": "3.844.0",
31
+ "@aws-sdk/util-endpoints": "3.845.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.840.0",
33
- "@aws-sdk/util-user-agent-node": "3.844.0",
33
+ "@aws-sdk/util-user-agent-node": "3.845.0",
34
34
  "@smithy/config-resolver": "^4.1.4",
35
35
  "@smithy/core": "^3.7.0",
36
36
  "@smithy/fetch-http-handler": "^5.1.0",
37
37
  "@smithy/hash-node": "^4.0.4",
38
38
  "@smithy/invalid-dependency": "^4.0.4",
39
39
  "@smithy/middleware-content-length": "^4.0.4",
40
- "@smithy/middleware-endpoint": "^4.1.14",
41
- "@smithy/middleware-retry": "^4.1.15",
40
+ "@smithy/middleware-endpoint": "^4.1.15",
41
+ "@smithy/middleware-retry": "^4.1.16",
42
42
  "@smithy/middleware-serde": "^4.0.8",
43
43
  "@smithy/middleware-stack": "^4.0.4",
44
44
  "@smithy/node-config-provider": "^4.1.3",
45
45
  "@smithy/node-http-handler": "^4.1.0",
46
46
  "@smithy/protocol-http": "^5.1.2",
47
- "@smithy/smithy-client": "^4.4.6",
47
+ "@smithy/smithy-client": "^4.4.7",
48
48
  "@smithy/types": "^4.3.1",
49
49
  "@smithy/url-parser": "^4.0.4",
50
50
  "@smithy/util-base64": "^4.0.0",
51
51
  "@smithy/util-body-length-browser": "^4.0.0",
52
52
  "@smithy/util-body-length-node": "^4.0.0",
53
- "@smithy/util-defaults-mode-browser": "^4.0.22",
54
- "@smithy/util-defaults-mode-node": "^4.0.22",
53
+ "@smithy/util-defaults-mode-browser": "^4.0.23",
54
+ "@smithy/util-defaults-mode-node": "^4.0.23",
55
55
  "@smithy/util-endpoints": "^3.0.6",
56
56
  "@smithy/util-middleware": "^4.0.4",
57
57
  "@smithy/util-retry": "^4.0.6",