Skip to content

Commit 542fab6

Browse files
author
AWS
committed
Agents for Amazon Bedrock Update: Introducing the ability to create multiple data sources per knowledge base, specify S3 buckets as data sources from external accounts, and exposing levers to define the deletion behavior of the underlying vector store data.
1 parent 2e222a3 commit 542fab6

File tree

2 files changed

+43
-2
lines changed

2 files changed

+43
-2
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Agents for Amazon Bedrock",
4+
"contributor": "",
5+
"description": "Introducing the ability to create multiple data sources per knowledge base, specify S3 buckets as data sources from external accounts, and exposing levers to define the deletion behavior of the underlying vector store data."
6+
}

services/bedrockagent/src/main/resources/codegen-resources/service-2.json

Lines changed: 37 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1527,6 +1527,12 @@
15271527
"type":"boolean",
15281528
"box":true
15291529
},
1530+
"BucketOwnerAccountId":{
1531+
"type":"string",
1532+
"max":12,
1533+
"min":12,
1534+
"pattern":"^[0-9]{12}$"
1535+
},
15301536
"ChunkingConfiguration":{
15311537
"type":"structure",
15321538
"required":["chunkingStrategy"],
@@ -1754,6 +1760,10 @@
17541760
"documentation":"<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>",
17551761
"idempotencyToken":true
17561762
},
1763+
"dataDeletionPolicy":{
1764+
"shape":"DataDeletionPolicy",
1765+
"documentation":"<p>The deletion policy for the requested data source</p>"
1766+
},
17571767
"dataSourceConfiguration":{
17581768
"shape":"DataSourceConfiguration",
17591769
"documentation":"<p>Contains metadata about where the data source is stored.</p>"
@@ -1853,6 +1863,13 @@
18531863
"type":"string",
18541864
"enum":["RETURN_CONTROL"]
18551865
},
1866+
"DataDeletionPolicy":{
1867+
"type":"string",
1868+
"enum":[
1869+
"RETAIN",
1870+
"DELETE"
1871+
]
1872+
},
18561873
"DataSource":{
18571874
"type":"structure",
18581875
"required":[
@@ -1869,6 +1886,10 @@
18691886
"shape":"DateTimestamp",
18701887
"documentation":"<p>The time at which the data source was created.</p>"
18711888
},
1889+
"dataDeletionPolicy":{
1890+
"shape":"DataDeletionPolicy",
1891+
"documentation":"<p>The deletion policy for the data source.</p>"
1892+
},
18721893
"dataSourceConfiguration":{
18731894
"shape":"DataSourceConfiguration",
18741895
"documentation":"<p>Contains details about how the data source is stored.</p>"
@@ -1881,6 +1902,10 @@
18811902
"shape":"Description",
18821903
"documentation":"<p>The description of the data source.</p>"
18831904
},
1905+
"failureReasons":{
1906+
"shape":"FailureReasons",
1907+
"documentation":"<p>The details of the failure reasons related to the data source.</p>"
1908+
},
18841909
"knowledgeBaseId":{
18851910
"shape":"Id",
18861911
"documentation":"<p>The unique identifier of the knowledge base to which the data source belongs.</p>"
@@ -1927,7 +1952,8 @@
19271952
"type":"string",
19281953
"enum":[
19291954
"AVAILABLE",
1930-
"DELETING"
1955+
"DELETING",
1956+
"DELETE_UNSUCCESSFUL"
19311957
]
19321958
},
19331959
"DataSourceSummaries":{
@@ -2968,7 +2994,8 @@
29682994
"ACTIVE",
29692995
"DELETING",
29702996
"UPDATING",
2971-
"FAILED"
2997+
"FAILED",
2998+
"DELETE_UNSUCCESSFUL"
29722999
]
29733000
},
29743001
"KnowledgeBaseStorageType":{
@@ -3815,6 +3842,10 @@
38153842
"shape":"S3BucketArn",
38163843
"documentation":"<p>The Amazon Resource Name (ARN) of the bucket that contains the data source.</p>"
38173844
},
3845+
"bucketOwnerAccountId":{
3846+
"shape":"BucketOwnerAccountId",
3847+
"documentation":"<p>The account ID for the owner of the S3 bucket.</p>"
3848+
},
38183849
"inclusionPrefixes":{
38193850
"shape":"S3Prefixes",
38203851
"documentation":"<p>A list of S3 prefixes that define the object containing the data sources. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-prefixes.html\">Organizing objects using prefixes</a>.</p>"
@@ -4310,6 +4341,10 @@
43104341
"name"
43114342
],
43124343
"members":{
4344+
"dataDeletionPolicy":{
4345+
"shape":"DataDeletionPolicy",
4346+
"documentation":"<p>The data deletion policy of the updated data source.</p>"
4347+
},
43134348
"dataSourceConfiguration":{
43144349
"shape":"DataSourceConfiguration",
43154350
"documentation":"<p>Contains details about the storage configuration of the data source.</p>"

0 commit comments

Comments
 (0)