Skip to content

Commit

Permalink
Merging v1.2.3 release
Browse files Browse the repository at this point in the history
  • Loading branch information
aws-sdk-kotlin-ci committed May 1, 2024
2 parents 715a481 + 9412b21 commit 7e5ae40
Show file tree
Hide file tree
Showing 8 changed files with 250 additions and 27 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Changelog

## [1.2.3] - 05/01/2024

### Features
* (**bedrockagent**) This release adds support for using MongoDB Atlas as a vector store when creating a knowledge base.
* (**personalizeruntime**) This release adds support for a Reason attribute for predicted items generated by User-Personalization-v2.
* (**securityhub**) Updated CreateMembers API request with limits.
* (**sesv2**) Fixes ListContacts and ListImportJobs APIs to use POST instead of GET.

### Documentation
* (**ec2**) Documentation updates for Amazon EC2.

## [1.2.2] - 04/30/2024

### Features
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2640,6 +2640,7 @@
"bedrock" : {
"endpoints" : {
"ap-northeast-1" : { },
"ap-south-1" : { },
"ap-southeast-1" : { },
"ap-southeast-2" : { },
"bedrock-ap-northeast-1" : {
Expand All @@ -2648,6 +2649,12 @@
},
"hostname" : "bedrock.ap-northeast-1.amazonaws.com"
},
"bedrock-ap-south-1" : {
"credentialScope" : {
"region" : "ap-south-1"
},
"hostname" : "bedrock.ap-south-1.amazonaws.com"
},
"bedrock-ap-southeast-1" : {
"credentialScope" : {
"region" : "ap-southeast-1"
Expand All @@ -2666,6 +2673,12 @@
},
"hostname" : "bedrock.eu-central-1.amazonaws.com"
},
"bedrock-eu-west-1" : {
"credentialScope" : {
"region" : "eu-west-1"
},
"hostname" : "bedrock.eu-west-1.amazonaws.com"
},
"bedrock-eu-west-3" : {
"credentialScope" : {
"region" : "eu-west-3"
Expand All @@ -2690,6 +2703,12 @@
},
"hostname" : "bedrock-runtime.ap-northeast-1.amazonaws.com"
},
"bedrock-runtime-ap-south-1" : {
"credentialScope" : {
"region" : "ap-south-1"
},
"hostname" : "bedrock-runtime.ap-south-1.amazonaws.com"
},
"bedrock-runtime-ap-southeast-1" : {
"credentialScope" : {
"region" : "ap-southeast-1"
Expand All @@ -2708,6 +2727,12 @@
},
"hostname" : "bedrock-runtime.eu-central-1.amazonaws.com"
},
"bedrock-runtime-eu-west-1" : {
"credentialScope" : {
"region" : "eu-west-1"
},
"hostname" : "bedrock-runtime.eu-west-1.amazonaws.com"
},
"bedrock-runtime-eu-west-3" : {
"credentialScope" : {
"region" : "eu-west-3"
Expand Down Expand Up @@ -2751,6 +2776,7 @@
"hostname" : "bedrock.us-west-2.amazonaws.com"
},
"eu-central-1" : { },
"eu-west-1" : { },
"eu-west-3" : { },
"us-east-1" : { },
"us-west-2" : { }
Expand Down Expand Up @@ -20086,6 +20112,16 @@
"tags" : [ "fips" ]
} ]
},
"ca-west-1" : {
"credentialScope" : {
"region" : "ca-west-1"
},
"hostname" : "wafv2.ca-west-1.amazonaws.com",
"variants" : [ {
"hostname" : "wafv2-fips.ca-west-1.amazonaws.com",
"tags" : [ "fips" ]
} ]
},
"eu-central-1" : {
"credentialScope" : {
"region" : "eu-central-1"
Expand Down Expand Up @@ -20250,6 +20286,13 @@
"deprecated" : true,
"hostname" : "wafv2-fips.ca-central-1.amazonaws.com"
},
"fips-ca-west-1" : {
"credentialScope" : {
"region" : "ca-west-1"
},
"deprecated" : true,
"hostname" : "wafv2-fips.ca-west-1.amazonaws.com"
},
"fips-eu-central-1" : {
"credentialScope" : {
"region" : "eu-central-1"
Expand Down
153 changes: 148 additions & 5 deletions codegen/sdk/aws-models/bedrock-agent.json
Original file line number Diff line number Diff line change
Expand Up @@ -2464,7 +2464,7 @@
"dataDeletionPolicy": {
"target": "com.amazonaws.bedrockagent#DataDeletionPolicy",
"traits": {
"smithy.api#documentation": "<p>The deletion policy for the requested data source</p>"
"smithy.api#documentation": "<p>The data deletion policy assigned to the data source.</p>"
}
},
"serverSideEncryptionConfiguration": {
Expand Down Expand Up @@ -2714,7 +2714,7 @@
"dataDeletionPolicy": {
"target": "com.amazonaws.bedrockagent#DataDeletionPolicy",
"traits": {
"smithy.api#documentation": "<p>The deletion policy for the data source.</p>"
"smithy.api#documentation": "<p>The data deletion policy for a data source.</p>"
}
},
"createdAt": {
Expand All @@ -2734,7 +2734,7 @@
"failureReasons": {
"target": "com.amazonaws.bedrockagent#FailureReasons",
"traits": {
"smithy.api#documentation": "<p>The details of the failure reasons related to the data source.</p>"
"smithy.api#documentation": "<p>The detailed reasons on the failure to delete a data source.</p>"
}
}
},
Expand Down Expand Up @@ -4933,6 +4933,12 @@
"traits": {
"smithy.api#enumValue": "RDS"
}
},
"MONGO_DB_ATLAS": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "MONGO_DB_ATLAS"
}
}
}
},
Expand Down Expand Up @@ -5855,6 +5861,137 @@
"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][_-]?)+)$"
}
},
"com.amazonaws.bedrockagent#MongoDbAtlasCollectionName": {
"type": "string",
"traits": {
"smithy.api#length": {
"max": 63
},
"smithy.api#pattern": "^.*$"
}
},
"com.amazonaws.bedrockagent#MongoDbAtlasConfiguration": {
"type": "structure",
"members": {
"endpoint": {
"target": "com.amazonaws.bedrockagent#MongoDbAtlasEndpoint",
"traits": {
"smithy.api#documentation": "<p>The endpoint URL of your MongoDB Atlas cluster for your knowledge base.</p>",
"smithy.api#required": {}
}
},
"databaseName": {
"target": "com.amazonaws.bedrockagent#MongoDbAtlasDatabaseName",
"traits": {
"smithy.api#documentation": "<p>The database name in your MongoDB Atlas cluster for your knowledge base.</p>",
"smithy.api#required": {}
}
},
"collectionName": {
"target": "com.amazonaws.bedrockagent#MongoDbAtlasCollectionName",
"traits": {
"smithy.api#documentation": "<p>The collection name of the knowledge base in MongoDB Atlas.</p>",
"smithy.api#required": {}
}
},
"vectorIndexName": {
"target": "com.amazonaws.bedrockagent#MongoDbAtlasIndexName",
"traits": {
"smithy.api#documentation": "<p>The name of the MongoDB Atlas vector search index.</p>",
"smithy.api#required": {}
}
},
"credentialsSecretArn": {
"target": "com.amazonaws.bedrockagent#SecretArn",
"traits": {
"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>",
"smithy.api#required": {}
}
},
"fieldMapping": {
"target": "com.amazonaws.bedrockagent#MongoDbAtlasFieldMapping",
"traits": {
"smithy.api#documentation": "<p>Contains the names of the fields to which to map information about the vector store.</p>",
"smithy.api#required": {}
}
},
"endpointServiceName": {
"target": "com.amazonaws.bedrockagent#MongoDbAtlasEndpointServiceName",
"traits": {
"smithy.api#documentation": "<p>The name of the VPC endpoint service in your account that is connected to your MongoDB Atlas cluster.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Contains details about the storage configuration of the knowledge base in MongoDB Atlas. </p>"
}
},
"com.amazonaws.bedrockagent#MongoDbAtlasDatabaseName": {
"type": "string",
"traits": {
"smithy.api#length": {
"max": 63
},
"smithy.api#pattern": "^.*$"
}
},
"com.amazonaws.bedrockagent#MongoDbAtlasEndpoint": {
"type": "string",
"traits": {
"smithy.api#length": {
"max": 2048
},
"smithy.api#pattern": "^.*$"
}
},
"com.amazonaws.bedrockagent#MongoDbAtlasEndpointServiceName": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 255
},
"smithy.api#pattern": "^(?:arn:aws(?:-us-gov|-cn|-iso|-iso-[a-z])*:.+:.*:\\d+:.+/.+$|[a-zA-Z0-9*]+[a-zA-Z0-9._-]*)$"
}
},
"com.amazonaws.bedrockagent#MongoDbAtlasFieldMapping": {
"type": "structure",
"members": {
"vectorField": {
"target": "com.amazonaws.bedrockagent#FieldName",
"traits": {
"smithy.api#documentation": "<p>The name of the field in which Amazon Bedrock stores the vector embeddings for your data sources.</p>",
"smithy.api#required": {}
}
},
"textField": {
"target": "com.amazonaws.bedrockagent#FieldName",
"traits": {
"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>",
"smithy.api#required": {}
}
},
"metadataField": {
"target": "com.amazonaws.bedrockagent#FieldName",
"traits": {
"smithy.api#documentation": "<p>The name of the field in which Amazon Bedrock stores metadata about the vector store.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Contains the names of the fields to which to map information about the vector store.</p>"
}
},
"com.amazonaws.bedrockagent#MongoDbAtlasIndexName": {
"type": "string",
"traits": {
"smithy.api#length": {
"max": 2048
},
"smithy.api#pattern": "^.*$"
}
},
"com.amazonaws.bedrockagent#Name": {
"type": "string",
"traits": {
Expand Down Expand Up @@ -6560,7 +6697,7 @@
"bucketOwnerAccountId": {
"target": "com.amazonaws.bedrockagent#BucketOwnerAccountId",
"traits": {
"smithy.api#documentation": "<p>The account ID for the owner of the S3 bucket.</p>"
"smithy.api#documentation": "<p>The bucket account owner ID for the S3 bucket.</p>"
}
}
},
Expand Down Expand Up @@ -6819,6 +6956,12 @@
"traits": {
"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>"
}
},
"mongoDbAtlasConfiguration": {
"target": "com.amazonaws.bedrockagent#MongoDbAtlasConfiguration",
"traits": {
"smithy.api#documentation": "<p>Contains the storage configuration of the knowledge base in MongoDB Atlas.</p>"
}
}
},
"traits": {
Expand Down Expand Up @@ -7644,7 +7787,7 @@
"dataDeletionPolicy": {
"target": "com.amazonaws.bedrockagent#DataDeletionPolicy",
"traits": {
"smithy.api#documentation": "<p>The data deletion policy of the updated data source.</p>"
"smithy.api#documentation": "<p>The data deletion policy assigned to the data source.</p>"
}
},
"serverSideEncryptionConfiguration": {
Expand Down
Loading

0 comments on commit 7e5ae40

Please sign in to comment.