Skip to content

Commit

Permalink
Updates SDK to v2.1611.0
Browse files Browse the repository at this point in the history
  • Loading branch information
awstools committed May 1, 2024
1 parent 40a6f79 commit c9fff9b
Show file tree
Hide file tree
Showing 21 changed files with 360 additions and 119 deletions.
22 changes: 22 additions & 0 deletions .changes/2.1611.0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
[
{
"type": "feature",
"category": "BedrockAgent",
"description": "This release adds support for using MongoDB Atlas as a vector store when creating a knowledge base."
},
{
"type": "feature",
"category": "PersonalizeRuntime",
"description": "This release adds support for a Reason attribute for predicted items generated by User-Personalization-v2."
},
{
"type": "feature",
"category": "SESV2",
"description": "Fixes ListContacts and ListImportJobs APIs to use POST instead of GET."
},
{
"type": "feature",
"category": "SecurityHub",
"description": "Updated CreateMembers API request with limits."
}
]
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
# Changelog for AWS SDK for JavaScript
<!--LATEST=2.1610.0-->
<!--LATEST=2.1611.0-->
<!--ENTRYINSERT-->

## 2.1611.0
* feature: BedrockAgent: This release adds support for using MongoDB Atlas as a vector store when creating a knowledge base.
* feature: PersonalizeRuntime: This release adds support for a Reason attribute for predicted items generated by User-Personalization-v2.
* feature: SESV2: Fixes ListContacts and ListImportJobs APIs to use POST instead of GET.
* feature: SecurityHub: Updated CreateMembers API request with limits.

## 2.1610.0
* feature: ChimeSDKVoice: Due to changes made by the Amazon Alexa service, GetSipMediaApplicationAlexaSkillConfiguration and PutSipMediaApplicationAlexaSkillConfiguration APIs are no longer available for use. For more information, refer to the Alexa Smart Properties page.
* feature: CodeArtifact: Add support for the Ruby package format.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ require('aws-sdk/lib/maintenance_mode_message').suppress = true;
To use the SDK in the browser, simply add the following script tag to your
HTML pages:

<script src="https://sdk.amazonaws.com/js/aws-sdk-2.1610.0.min.js"></script>
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.1611.0.min.js"></script>

You can also build a custom browser SDK with your specified set of AWS services.
This can allow you to reduce the SDK's size, specify different API versions of
Expand Down
52 changes: 42 additions & 10 deletions apis/bedrock-agent-2023-06-05.min.json
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@
],
"members": {
"knowledgeBase": {
"shape": "S3f"
"shape": "S3m"
}
}
},
Expand Down Expand Up @@ -841,7 +841,7 @@
],
"members": {
"ingestionJob": {
"shape": "S4c"
"shape": "S4j"
}
}
}
Expand Down Expand Up @@ -871,7 +871,7 @@
],
"members": {
"knowledgeBase": {
"shape": "S3f"
"shape": "S3m"
}
}
}
Expand Down Expand Up @@ -1286,7 +1286,7 @@
"shape": "S9"
},
"statistics": {
"shape": "S4d"
"shape": "S4k"
},
"status": {},
"updatedAt": {
Expand Down Expand Up @@ -1440,7 +1440,7 @@
],
"members": {
"ingestionJob": {
"shape": "S4c"
"shape": "S4j"
}
}
},
Expand Down Expand Up @@ -1779,7 +1779,7 @@
],
"members": {
"knowledgeBase": {
"shape": "S3f"
"shape": "S3m"
}
}
},
Expand Down Expand Up @@ -2205,6 +2205,38 @@
"type"
],
"members": {
"mongoDbAtlasConfiguration": {
"type": "structure",
"required": [
"collectionName",
"credentialsSecretArn",
"databaseName",
"endpoint",
"fieldMapping",
"vectorIndexName"
],
"members": {
"collectionName": {},
"credentialsSecretArn": {},
"databaseName": {},
"endpoint": {},
"endpointServiceName": {},
"fieldMapping": {
"type": "structure",
"required": [
"metadataField",
"textField",
"vectorField"
],
"members": {
"metadataField": {},
"textField": {},
"vectorField": {}
}
},
"vectorIndexName": {}
}
},
"opensearchServerlessConfiguration": {
"type": "structure",
"required": [
Expand Down Expand Up @@ -2315,7 +2347,7 @@
"type": {}
}
},
"S3f": {
"S3m": {
"type": "structure",
"required": [
"createdAt",
Expand Down Expand Up @@ -2352,7 +2384,7 @@
}
}
},
"S4c": {
"S4j": {
"type": "structure",
"required": [
"dataSourceId",
Expand All @@ -2374,15 +2406,15 @@
"shape": "S9"
},
"statistics": {
"shape": "S4d"
"shape": "S4k"
},
"status": {},
"updatedAt": {
"shape": "S9"
}
}
},
"S4d": {
"S4k": {
"type": "structure",
"members": {
"numberOfDocumentsDeleted": {
Expand Down
112 changes: 106 additions & 6 deletions apis/bedrock-agent-2023-06-05.normal.json
Original file line number Diff line number Diff line change
Expand Up @@ -2384,7 +2384,7 @@
},
"dataDeletionPolicy": {
"shape": "DataDeletionPolicy",
"documentation": "<p>The deletion policy for the requested data source</p>"
"documentation": "<p>The data deletion policy assigned to the data source.</p>"
},
"dataSourceConfiguration": {
"shape": "DataSourceConfiguration",
Expand Down Expand Up @@ -2516,7 +2516,7 @@
},
"dataDeletionPolicy": {
"shape": "DataDeletionPolicy",
"documentation": "<p>The deletion policy for the data source.</p>"
"documentation": "<p>The data deletion policy for a data source.</p>"
},
"dataSourceConfiguration": {
"shape": "DataSourceConfiguration",
Expand All @@ -2532,7 +2532,7 @@
},
"failureReasons": {
"shape": "FailureReasons",
"documentation": "<p>The details of the failure reasons related to the data source.</p>"
"documentation": "<p>The detailed reasons on the failure to delete a data source.</p>"
},
"knowledgeBaseId": {
"shape": "Id",
Expand Down Expand Up @@ -3668,7 +3668,8 @@
"OPENSEARCH_SERVERLESS",
"PINECONE",
"REDIS_ENTERPRISE_CLOUD",
"RDS"
"RDS",
"MONGO_DB_ATLAS"
]
},
"KnowledgeBaseSummaries": {
Expand Down Expand Up @@ -4077,6 +4078,101 @@
"min": 1,
"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][_-]?)+)$"
},
"MongoDbAtlasCollectionName": {
"type": "string",
"max": 63,
"min": 0,
"pattern": "^.*$"
},
"MongoDbAtlasConfiguration": {
"type": "structure",
"required": [
"collectionName",
"credentialsSecretArn",
"databaseName",
"endpoint",
"fieldMapping",
"vectorIndexName"
],
"members": {
"collectionName": {
"shape": "MongoDbAtlasCollectionName",
"documentation": "<p>The collection name of the knowledge base in MongoDB Atlas.</p>"
},
"credentialsSecretArn": {
"shape": "SecretArn",
"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>"
},
"databaseName": {
"shape": "MongoDbAtlasDatabaseName",
"documentation": "<p>The database name in your MongoDB Atlas cluster for your knowledge base.</p>"
},
"endpoint": {
"shape": "MongoDbAtlasEndpoint",
"documentation": "<p>The endpoint URL of your MongoDB Atlas cluster for your knowledge base.</p>"
},
"endpointServiceName": {
"shape": "MongoDbAtlasEndpointServiceName",
"documentation": "<p>The name of the VPC endpoint service in your account that is connected to your MongoDB Atlas cluster.</p>"
},
"fieldMapping": {
"shape": "MongoDbAtlasFieldMapping",
"documentation": "<p>Contains the names of the fields to which to map information about the vector store.</p>"
},
"vectorIndexName": {
"shape": "MongoDbAtlasIndexName",
"documentation": "<p>The name of the MongoDB Atlas vector search index.</p>"
}
},
"documentation": "<p>Contains details about the storage configuration of the knowledge base in MongoDB Atlas. </p>"
},
"MongoDbAtlasDatabaseName": {
"type": "string",
"max": 63,
"min": 0,
"pattern": "^.*$"
},
"MongoDbAtlasEndpoint": {
"type": "string",
"max": 2048,
"min": 0,
"pattern": "^.*$"
},
"MongoDbAtlasEndpointServiceName": {
"type": "string",
"max": 255,
"min": 1,
"pattern": "^(?:arn:aws(?:-us-gov|-cn|-iso|-iso-[a-z])*:.+:.*:\\d+:.+/.+$|[a-zA-Z0-9*]+[a-zA-Z0-9._-]*)$"
},
"MongoDbAtlasFieldMapping": {
"type": "structure",
"required": [
"metadataField",
"textField",
"vectorField"
],
"members": {
"metadataField": {
"shape": "FieldName",
"documentation": "<p>The name of the field in which Amazon Bedrock stores metadata about the vector store.</p>"
},
"textField": {
"shape": "FieldName",
"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>"
},
"vectorField": {
"shape": "FieldName",
"documentation": "<p>The name of the field in which Amazon Bedrock stores the vector embeddings for your data sources.</p>"
}
},
"documentation": "<p>Contains the names of the fields to which to map information about the vector store.</p>"
},
"MongoDbAtlasIndexName": {
"type": "string",
"max": 2048,
"min": 0,
"pattern": "^.*$"
},
"Name": {
"type": "string",
"pattern": "^([0-9a-zA-Z][_-]?){1,100}$"
Expand Down Expand Up @@ -4538,7 +4634,7 @@
},
"bucketOwnerAccountId": {
"shape": "BucketOwnerAccountId",
"documentation": "<p>The account ID for the owner of the S3 bucket.</p>"
"documentation": "<p>The bucket account owner ID for the S3 bucket.</p>"
},
"inclusionPrefixes": {
"shape": "S3Prefixes",
Expand Down Expand Up @@ -4663,6 +4759,10 @@
"type"
],
"members": {
"mongoDbAtlasConfiguration": {
"shape": "MongoDbAtlasConfiguration",
"documentation": "<p>Contains the storage configuration of the knowledge base in MongoDB Atlas.</p>"
},
"opensearchServerlessConfiguration": {
"shape": "OpenSearchServerlessConfiguration",
"documentation": "<p>Contains the storage configuration of the knowledge base in Amazon OpenSearch Service.</p>"
Expand Down Expand Up @@ -5035,7 +5135,7 @@
"members": {
"dataDeletionPolicy": {
"shape": "DataDeletionPolicy",
"documentation": "<p>The data deletion policy of the updated data source.</p>"
"documentation": "<p>The data deletion policy assigned to the data source.</p>"
},
"dataSourceConfiguration": {
"shape": "DataSourceConfiguration",
Expand Down
12 changes: 6 additions & 6 deletions apis/ec2-2016-11-15.normal.json
Original file line number Diff line number Diff line change
Expand Up @@ -2691,7 +2691,7 @@
"output": {
"shape": "DeleteTransitGatewayRouteTableResult"
},
"documentation": "<p>Deletes the specified transit gateway route table. You must disassociate the route table from any transit gateway route tables before you can delete it.</p>"
"documentation": "<p>Deletes the specified transit gateway route table. If there are any route tables associated with the transit gateway route table, you must first run <a>DisassociateRouteTable</a> before you can delete the transit gateway route table. This removes any route tables associated with the transit gateway route table.</p>"
},
"DeleteTransitGatewayRouteTableAnnouncement": {
"name": "DeleteTransitGatewayRouteTableAnnouncement",
Expand Down Expand Up @@ -27210,7 +27210,7 @@
},
"Filters": {
"shape": "FilterList",
"documentation": "<p>One or more filters. The possible values are:</p> <ul> <li> <p> <code>options.propagation-default-route-table-id</code> - The ID of the default propagation route table.</p> </li> <li> <p> <code>options.amazon-side-asn</code> - The private ASN for the Amazon side of a BGP session.</p> </li> <li> <p> <code>options.association-default-route-table-id</code> - The ID of the default association route table.</p> </li> <li> <p> <code>options.auto-accept-shared-attachments</code> - Indicates whether there is automatic acceptance of attachment requests (<code>enable</code> | <code>disable</code>).</p> </li> <li> <p> <code>options.default-route-table-association</code> - Indicates whether resource attachments are automatically associated with the default association route table (<code>enable</code> | <code>disable</code>).</p> </li> <li> <p> <code>options.default-route-table-propagation</code> - Indicates whether resource attachments automatically propagate routes to the default propagation route table (<code>enable</code> | <code>disable</code>).</p> </li> <li> <p> <code>options.dns-support</code> - Indicates whether DNS support is enabled (<code>enable</code> | <code>disable</code>).</p> </li> <li> <p> <code>options.vpn-ecmp-support</code> - Indicates whether Equal Cost Multipath Protocol support is enabled (<code>enable</code> | <code>disable</code>).</p> </li> <li> <p> <code>owner-id</code> - The ID of the Amazon Web Services account that owns the transit gateway.</p> </li> <li> <p> <code>state</code> - The state of the transit gateway (<code>available</code> | <code>deleted</code> | <code>deleting</code> | <code>modifying</code> | <code>pending</code>).</p> </li> <li> <p> <code>transit-gateway-id</code> - The ID of the transit gateway.</p> </li> </ul>",
"documentation": "<p>One or more filters. The possible values are:</p> <ul> <li> <p> <code>options.propagation-default-route-table-id</code> - The ID of the default propagation route table.</p> </li> <li> <p> <code>options.amazon-side-asn</code> - The private ASN for the Amazon side of a BGP session.</p> </li> <li> <p> <code>options.association-default-route-table-id</code> - The ID of the default association route table.</p> </li> <li> <p> <code>options.auto-accept-shared-attachments</code> - Indicates whether there is automatic acceptance of attachment requests (<code>enable</code> | <code>disable</code>).</p> </li> <li> <p> <code>options.default-route-table-association</code> - Indicates whether resource attachments are automatically associated with the default association route table (<code>enable</code> | <code>disable</code>).</p> </li> <li> <p> <code>options.default-route-table-propagation</code> - Indicates whether resource attachments automatically propagate routes to the default propagation route table (<code>enable</code> | <code>disable</code>).</p> </li> <li> <p> <code>options.dns-support</code> - Indicates whether DNS support is enabled (<code>enable</code> | <code>disable</code>).</p> </li> <li> <p> <code>options.vpn-ecmp-support</code> - Indicates whether Equal Cost Multipath Protocol support is enabled (<code>enable</code> | <code>disable</code>).</p> </li> <li> <p> <code>owner-id</code> - The ID of the Amazon Web Services account that owns the transit gateway.</p> </li> <li> <p> <code>state</code> - The state of the transit gateway (<code>available</code> | <code>deleted</code> | <code>deleting</code> | <code>modifying</code> | <code>pending</code>).</p> </li> <li> <p> <code>transit-gateway-id</code> - The ID of the transit gateway.</p> </li> <li> <p> <code>tag-key </code>- The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key <code>Owner</code> and the value <code>TeamA</code>, specify <code>tag:Owner</code> for the filter name and <code>TeamA</code> for the filter value.</p> </li> </ul>",
"locationName": "Filter"
},
"MaxResults": {
Expand Down Expand Up @@ -43141,7 +43141,7 @@
},
"DeviceIndex": {
"shape": "Integer",
"documentation": "<p>The device index for the network interface attachment.</p>"
"documentation": "<p>The device index for the network interface attachment. Each network interface requires a device index. If you create a launch template that includes secondary network interfaces but not a primary network interface, then you must add a primary network interface as a launch parameter when you launch an instance from the template.</p>"
},
"Groups": {
"shape": "SecurityGroupIdStringList",
Expand Down Expand Up @@ -62911,7 +62911,7 @@
"members": {
"Attachments": {
"shape": "VolumeAttachmentList",
"documentation": "<p>Information about the volume attachments.</p>",
"documentation": "<note> <p>This parameter is not returned by CreateVolume.</p> </note> <p>Information about the volume attachments.</p>",
"locationName": "attachmentSet"
},
"AvailabilityZone": {
Expand Down Expand Up @@ -62976,7 +62976,7 @@
},
"FastRestored": {
"shape": "Boolean",
"documentation": "<p>Indicates whether the volume was created using fast snapshot restore.</p>",
"documentation": "<note> <p>This parameter is not returned by CreateVolume.</p> </note> <p>Indicates whether the volume was created using fast snapshot restore.</p>",
"locationName": "fastRestored"
},
"MultiAttachEnabled": {
Expand All @@ -62991,7 +62991,7 @@
},
"SseType": {
"shape": "SSEType",
"documentation": "<p>Reserved for future use.</p>",
"documentation": "<note> <p>This parameter is not returned by CreateVolume.</p> </note> <p>Reserved for future use.</p>",
"locationName": "sseType"
}
},
Expand Down

0 comments on commit c9fff9b

Please sign in to comment.