Skip to content

Commit 7e5ae40

Browse files
Merging v1.2.3 release
2 parents 715a481 + 9412b21 commit 7e5ae40

File tree

8 files changed

+250
-27
lines changed

8 files changed

+250
-27
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# Changelog
22

3+
## [1.2.3] - 05/01/2024
4+
5+
### Features
6+
* (**bedrockagent**) This release adds support for using MongoDB Atlas as a vector store when creating a knowledge base.
7+
* (**personalizeruntime**) This release adds support for a Reason attribute for predicted items generated by User-Personalization-v2.
8+
* (**securityhub**) Updated CreateMembers API request with limits.
9+
* (**sesv2**) Fixes ListContacts and ListImportJobs APIs to use POST instead of GET.
10+
11+
### Documentation
12+
* (**ec2**) Documentation updates for Amazon EC2.
13+
314
## [1.2.2] - 04/30/2024
415

516
### Features

codegen/aws-sdk-codegen/src/main/resources/aws/sdk/kotlin/codegen/endpoints.json

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2640,6 +2640,7 @@
26402640
"bedrock" : {
26412641
"endpoints" : {
26422642
"ap-northeast-1" : { },
2643+
"ap-south-1" : { },
26432644
"ap-southeast-1" : { },
26442645
"ap-southeast-2" : { },
26452646
"bedrock-ap-northeast-1" : {
@@ -2648,6 +2649,12 @@
26482649
},
26492650
"hostname" : "bedrock.ap-northeast-1.amazonaws.com"
26502651
},
2652+
"bedrock-ap-south-1" : {
2653+
"credentialScope" : {
2654+
"region" : "ap-south-1"
2655+
},
2656+
"hostname" : "bedrock.ap-south-1.amazonaws.com"
2657+
},
26512658
"bedrock-ap-southeast-1" : {
26522659
"credentialScope" : {
26532660
"region" : "ap-southeast-1"
@@ -2666,6 +2673,12 @@
26662673
},
26672674
"hostname" : "bedrock.eu-central-1.amazonaws.com"
26682675
},
2676+
"bedrock-eu-west-1" : {
2677+
"credentialScope" : {
2678+
"region" : "eu-west-1"
2679+
},
2680+
"hostname" : "bedrock.eu-west-1.amazonaws.com"
2681+
},
26692682
"bedrock-eu-west-3" : {
26702683
"credentialScope" : {
26712684
"region" : "eu-west-3"
@@ -2690,6 +2703,12 @@
26902703
},
26912704
"hostname" : "bedrock-runtime.ap-northeast-1.amazonaws.com"
26922705
},
2706+
"bedrock-runtime-ap-south-1" : {
2707+
"credentialScope" : {
2708+
"region" : "ap-south-1"
2709+
},
2710+
"hostname" : "bedrock-runtime.ap-south-1.amazonaws.com"
2711+
},
26932712
"bedrock-runtime-ap-southeast-1" : {
26942713
"credentialScope" : {
26952714
"region" : "ap-southeast-1"
@@ -2708,6 +2727,12 @@
27082727
},
27092728
"hostname" : "bedrock-runtime.eu-central-1.amazonaws.com"
27102729
},
2730+
"bedrock-runtime-eu-west-1" : {
2731+
"credentialScope" : {
2732+
"region" : "eu-west-1"
2733+
},
2734+
"hostname" : "bedrock-runtime.eu-west-1.amazonaws.com"
2735+
},
27112736
"bedrock-runtime-eu-west-3" : {
27122737
"credentialScope" : {
27132738
"region" : "eu-west-3"
@@ -2751,6 +2776,7 @@
27512776
"hostname" : "bedrock.us-west-2.amazonaws.com"
27522777
},
27532778
"eu-central-1" : { },
2779+
"eu-west-1" : { },
27542780
"eu-west-3" : { },
27552781
"us-east-1" : { },
27562782
"us-west-2" : { }
@@ -20086,6 +20112,16 @@
2008620112
"tags" : [ "fips" ]
2008720113
} ]
2008820114
},
20115+
"ca-west-1" : {
20116+
"credentialScope" : {
20117+
"region" : "ca-west-1"
20118+
},
20119+
"hostname" : "wafv2.ca-west-1.amazonaws.com",
20120+
"variants" : [ {
20121+
"hostname" : "wafv2-fips.ca-west-1.amazonaws.com",
20122+
"tags" : [ "fips" ]
20123+
} ]
20124+
},
2008920125
"eu-central-1" : {
2009020126
"credentialScope" : {
2009120127
"region" : "eu-central-1"
@@ -20250,6 +20286,13 @@
2025020286
"deprecated" : true,
2025120287
"hostname" : "wafv2-fips.ca-central-1.amazonaws.com"
2025220288
},
20289+
"fips-ca-west-1" : {
20290+
"credentialScope" : {
20291+
"region" : "ca-west-1"
20292+
},
20293+
"deprecated" : true,
20294+
"hostname" : "wafv2-fips.ca-west-1.amazonaws.com"
20295+
},
2025320296
"fips-eu-central-1" : {
2025420297
"credentialScope" : {
2025520298
"region" : "eu-central-1"

codegen/sdk/aws-models/bedrock-agent.json

Lines changed: 148 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2464,7 +2464,7 @@
24642464
"dataDeletionPolicy": {
24652465
"target": "com.amazonaws.bedrockagent#DataDeletionPolicy",
24662466
"traits": {
2467-
"smithy.api#documentation": "<p>The deletion policy for the requested data source</p>"
2467+
"smithy.api#documentation": "<p>The data deletion policy assigned to the data source.</p>"
24682468
}
24692469
},
24702470
"serverSideEncryptionConfiguration": {
@@ -2714,7 +2714,7 @@
27142714
"dataDeletionPolicy": {
27152715
"target": "com.amazonaws.bedrockagent#DataDeletionPolicy",
27162716
"traits": {
2717-
"smithy.api#documentation": "<p>The deletion policy for the data source.</p>"
2717+
"smithy.api#documentation": "<p>The data deletion policy for a data source.</p>"
27182718
}
27192719
},
27202720
"createdAt": {
@@ -2734,7 +2734,7 @@
27342734
"failureReasons": {
27352735
"target": "com.amazonaws.bedrockagent#FailureReasons",
27362736
"traits": {
2737-
"smithy.api#documentation": "<p>The details of the failure reasons related to the data source.</p>"
2737+
"smithy.api#documentation": "<p>The detailed reasons on the failure to delete a data source.</p>"
27382738
}
27392739
}
27402740
},
@@ -4933,6 +4933,12 @@
49334933
"traits": {
49344934
"smithy.api#enumValue": "RDS"
49354935
}
4936+
},
4937+
"MONGO_DB_ATLAS": {
4938+
"target": "smithy.api#Unit",
4939+
"traits": {
4940+
"smithy.api#enumValue": "MONGO_DB_ATLAS"
4941+
}
49364942
}
49374943
}
49384944
},
@@ -5855,6 +5861,137 @@
58555861
"smithy.api#pattern": "^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}(([:][a-z0-9-]{1,63}){0,2})?/[a-z0-9]{12})|(:foundation-model/([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.]?[a-z0-9-]{1,63})([:][a-z0-9-]{1,63}){0,2})))|(([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.]?[a-z0-9-]{1,63})([:][a-z0-9-]{1,63}){0,2}))|(([0-9a-zA-Z][_-]?)+)$"
58565862
}
58575863
},
5864+
"com.amazonaws.bedrockagent#MongoDbAtlasCollectionName": {
5865+
"type": "string",
5866+
"traits": {
5867+
"smithy.api#length": {
5868+
"max": 63
5869+
},
5870+
"smithy.api#pattern": "^.*$"
5871+
}
5872+
},
5873+
"com.amazonaws.bedrockagent#MongoDbAtlasConfiguration": {
5874+
"type": "structure",
5875+
"members": {
5876+
"endpoint": {
5877+
"target": "com.amazonaws.bedrockagent#MongoDbAtlasEndpoint",
5878+
"traits": {
5879+
"smithy.api#documentation": "<p>The endpoint URL of your MongoDB Atlas cluster for your knowledge base.</p>",
5880+
"smithy.api#required": {}
5881+
}
5882+
},
5883+
"databaseName": {
5884+
"target": "com.amazonaws.bedrockagent#MongoDbAtlasDatabaseName",
5885+
"traits": {
5886+
"smithy.api#documentation": "<p>The database name in your MongoDB Atlas cluster for your knowledge base.</p>",
5887+
"smithy.api#required": {}
5888+
}
5889+
},
5890+
"collectionName": {
5891+
"target": "com.amazonaws.bedrockagent#MongoDbAtlasCollectionName",
5892+
"traits": {
5893+
"smithy.api#documentation": "<p>The collection name of the knowledge base in MongoDB Atlas.</p>",
5894+
"smithy.api#required": {}
5895+
}
5896+
},
5897+
"vectorIndexName": {
5898+
"target": "com.amazonaws.bedrockagent#MongoDbAtlasIndexName",
5899+
"traits": {
5900+
"smithy.api#documentation": "<p>The name of the MongoDB Atlas vector search index.</p>",
5901+
"smithy.api#required": {}
5902+
}
5903+
},
5904+
"credentialsSecretArn": {
5905+
"target": "com.amazonaws.bedrockagent#SecretArn",
5906+
"traits": {
5907+
"smithy.api#documentation": "<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>",
5908+
"smithy.api#required": {}
5909+
}
5910+
},
5911+
"fieldMapping": {
5912+
"target": "com.amazonaws.bedrockagent#MongoDbAtlasFieldMapping",
5913+
"traits": {
5914+
"smithy.api#documentation": "<p>Contains the names of the fields to which to map information about the vector store.</p>",
5915+
"smithy.api#required": {}
5916+
}
5917+
},
5918+
"endpointServiceName": {
5919+
"target": "com.amazonaws.bedrockagent#MongoDbAtlasEndpointServiceName",
5920+
"traits": {
5921+
"smithy.api#documentation": "<p>The name of the VPC endpoint service in your account that is connected to your MongoDB Atlas cluster.</p>"
5922+
}
5923+
}
5924+
},
5925+
"traits": {
5926+
"smithy.api#documentation": "<p>Contains details about the storage configuration of the knowledge base in MongoDB Atlas. </p>"
5927+
}
5928+
},
5929+
"com.amazonaws.bedrockagent#MongoDbAtlasDatabaseName": {
5930+
"type": "string",
5931+
"traits": {
5932+
"smithy.api#length": {
5933+
"max": 63
5934+
},
5935+
"smithy.api#pattern": "^.*$"
5936+
}
5937+
},
5938+
"com.amazonaws.bedrockagent#MongoDbAtlasEndpoint": {
5939+
"type": "string",
5940+
"traits": {
5941+
"smithy.api#length": {
5942+
"max": 2048
5943+
},
5944+
"smithy.api#pattern": "^.*$"
5945+
}
5946+
},
5947+
"com.amazonaws.bedrockagent#MongoDbAtlasEndpointServiceName": {
5948+
"type": "string",
5949+
"traits": {
5950+
"smithy.api#length": {
5951+
"min": 1,
5952+
"max": 255
5953+
},
5954+
"smithy.api#pattern": "^(?:arn:aws(?:-us-gov|-cn|-iso|-iso-[a-z])*:.+:.*:\\d+:.+/.+$|[a-zA-Z0-9*]+[a-zA-Z0-9._-]*)$"
5955+
}
5956+
},
5957+
"com.amazonaws.bedrockagent#MongoDbAtlasFieldMapping": {
5958+
"type": "structure",
5959+
"members": {
5960+
"vectorField": {
5961+
"target": "com.amazonaws.bedrockagent#FieldName",
5962+
"traits": {
5963+
"smithy.api#documentation": "<p>The name of the field in which Amazon Bedrock stores the vector embeddings for your data sources.</p>",
5964+
"smithy.api#required": {}
5965+
}
5966+
},
5967+
"textField": {
5968+
"target": "com.amazonaws.bedrockagent#FieldName",
5969+
"traits": {
5970+
"smithy.api#documentation": "<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>",
5971+
"smithy.api#required": {}
5972+
}
5973+
},
5974+
"metadataField": {
5975+
"target": "com.amazonaws.bedrockagent#FieldName",
5976+
"traits": {
5977+
"smithy.api#documentation": "<p>The name of the field in which Amazon Bedrock stores metadata about the vector store.</p>",
5978+
"smithy.api#required": {}
5979+
}
5980+
}
5981+
},
5982+
"traits": {
5983+
"smithy.api#documentation": "<p>Contains the names of the fields to which to map information about the vector store.</p>"
5984+
}
5985+
},
5986+
"com.amazonaws.bedrockagent#MongoDbAtlasIndexName": {
5987+
"type": "string",
5988+
"traits": {
5989+
"smithy.api#length": {
5990+
"max": 2048
5991+
},
5992+
"smithy.api#pattern": "^.*$"
5993+
}
5994+
},
58585995
"com.amazonaws.bedrockagent#Name": {
58595996
"type": "string",
58605997
"traits": {
@@ -6560,7 +6697,7 @@
65606697
"bucketOwnerAccountId": {
65616698
"target": "com.amazonaws.bedrockagent#BucketOwnerAccountId",
65626699
"traits": {
6563-
"smithy.api#documentation": "<p>The account ID for the owner of the S3 bucket.</p>"
6700+
"smithy.api#documentation": "<p>The bucket account owner ID for the S3 bucket.</p>"
65646701
}
65656702
}
65666703
},
@@ -6819,6 +6956,12 @@
68196956
"traits": {
68206957
"smithy.api#documentation": "<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>"
68216958
}
6959+
},
6960+
"mongoDbAtlasConfiguration": {
6961+
"target": "com.amazonaws.bedrockagent#MongoDbAtlasConfiguration",
6962+
"traits": {
6963+
"smithy.api#documentation": "<p>Contains the storage configuration of the knowledge base in MongoDB Atlas.</p>"
6964+
}
68226965
}
68236966
},
68246967
"traits": {
@@ -7644,7 +7787,7 @@
76447787
"dataDeletionPolicy": {
76457788
"target": "com.amazonaws.bedrockagent#DataDeletionPolicy",
76467789
"traits": {
7647-
"smithy.api#documentation": "<p>The data deletion policy of the updated data source.</p>"
7790+
"smithy.api#documentation": "<p>The data deletion policy assigned to the data source.</p>"
76487791
}
76497792
},
76507793
"serverSideEncryptionConfiguration": {

0 commit comments

Comments
 (0)