Skip to content

Commit

Permalink
Update to latest models
Browse files Browse the repository at this point in the history
  • Loading branch information
aws-sdk-python-automation committed May 1, 2024
1 parent e37fd83 commit 3243a1b
Show file tree
Hide file tree
Showing 10 changed files with 167 additions and 33 deletions.
5 changes: 5 additions & 0 deletions .changes/next-release/api-change-bedrockagent-49685.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"type": "api-change",
"category": "``bedrock-agent``",
"description": "This release adds support for using MongoDB Atlas as a vector store when creating a knowledge base."
}
5 changes: 5 additions & 0 deletions .changes/next-release/api-change-ec2-34249.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"type": "api-change",
"category": "``ec2``",
"description": "Documentation updates for Amazon EC2."
}
5 changes: 5 additions & 0 deletions .changes/next-release/api-change-personalizeruntime-5072.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"type": "api-change",
"category": "``personalize-runtime``",
"description": "This release adds support for a Reason attribute for predicted items generated by User-Personalization-v2."
}
5 changes: 5 additions & 0 deletions .changes/next-release/api-change-securityhub-84900.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"type": "api-change",
"category": "``securityhub``",
"description": "Updated CreateMembers API request with limits."
}
5 changes: 5 additions & 0 deletions .changes/next-release/api-change-sesv2-33338.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"type": "api-change",
"category": "``sesv2``",
"description": "Fixes ListContacts and ListImportJobs APIs to use POST instead of GET."
}
112 changes: 106 additions & 6 deletions botocore/data/bedrock-agent/2023-06-05/service-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -1762,7 +1762,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 @@ -1888,7 +1888,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 @@ -1904,7 +1904,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 @@ -3004,7 +3004,8 @@
"OPENSEARCH_SERVERLESS",
"PINECONE",
"REDIS_ENTERPRISE_CLOUD",
"RDS"
"RDS",
"MONGO_DB_ATLAS"
]
},
"KnowledgeBaseSummaries":{
Expand Down Expand Up @@ -3385,6 +3386,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 @@ -3844,7 +3940,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 @@ -3973,6 +4069,10 @@
"type":"structure",
"required":["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 @@ -4343,7 +4443,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 botocore/data/ec2/2016-11-15/service-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -1949,7 +1949,7 @@
},
"input":{"shape":"DeleteTransitGatewayRouteTableRequest"},
"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 @@ -24460,7 +24460,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 @@ -40091,7 +40091,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 @@ -59429,7 +59429,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 @@ -59494,7 +59494,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 @@ -59509,7 +59509,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
16 changes: 15 additions & 1 deletion botocore/data/personalize-runtime/2018-05-22/service-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"endpointPrefix":"personalize-runtime",
"jsonVersion":"1.1",
"protocol":"rest-json",
"protocols":["rest-json"],
"serviceFullName":"Amazon Personalize Runtime",
"serviceId":"Personalize Runtime",
"signatureVersion":"v4",
Expand Down Expand Up @@ -293,7 +294,8 @@
"Metadata":{
"type":"map",
"key":{"shape":"ColumnName"},
"value":{"shape":"ColumnValue"}
"value":{"shape":"ColumnValue"},
"sensitive":true
},
"MetadataColumns":{
"type":"map",
Expand Down Expand Up @@ -348,6 +350,10 @@
"metadata":{
"shape":"Metadata",
"documentation":"<p>Metadata about the item from your Items dataset.</p>"
},
"reason":{
"shape":"ReasonList",
"documentation":"<p>If you use User-Personalization-v2, a list of reasons for why the item was included in recommendations. Possible reasons include the following:</p> <ul> <li> <p>Promoted item - Indicates the item was included as part of a promotion that you applied in your recommendation request.</p> </li> <li> <p>Exploration - Indicates the item was included with exploration. With exploration, recommendations include items with less interactions data or relevance for the user. For more information about exploration, see <a href=\"https://docs.aws.amazon.com/personalize/latest/dg/use-case-recipe-features.html#about-exploration\">Exploration</a>.</p> </li> <li> <p> Popular item - Indicates the item was included as a placeholder popular item. If you use a filter, depending on how many recommendations the filter removes, Amazon Personalize might add placeholder items to meet the <code>numResults</code> for your recommendation request. These items are popular items, based on interactions data, that satisfy your filter criteria. They don't have a relevance score for the user. </p> </li> </ul>"
}
},
"documentation":"<p>An object that identifies an item.</p> <p>The and APIs return a list of <code>PredictedItem</code>s.</p>"
Expand Down Expand Up @@ -379,6 +385,14 @@
"member":{"shape":"Promotion"},
"max":1
},
"Reason":{
"type":"string",
"max":256
},
"ReasonList":{
"type":"list",
"member":{"shape":"Reason"}
},
"RecommendationID":{"type":"string"},
"ResourceNotFoundException":{
"type":"structure",
Expand Down
10 changes: 6 additions & 4 deletions botocore/data/securityhub/2018-10-26/service-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -1262,7 +1262,7 @@
{"shape":"InvalidAccessException"},
{"shape":"ResourceNotFoundException"}
],
"documentation":"<p> <code>UpdateFindings</code> is deprecated. Instead of <code>UpdateFindings</code>, use <code>BatchUpdateFindings</code>.</p> <p>Updates the <code>Note</code> and <code>RecordState</code> of the Security Hub-aggregated findings that the filter attributes specify. Any member account that can view the finding also sees the update to the finding.</p>"
"documentation":"<p> <code>UpdateFindings</code> is a deprecated operation. Instead of <code>UpdateFindings</code>, use the <code>BatchUpdateFindings</code> operation.</p> <p>Updates the <code>Note</code> and <code>RecordState</code> of the Security Hub-aggregated findings that the filter attributes specify. Any member account that can view the finding also sees the update to the finding.</p> <p>Finding updates made with <code>UpdateFindings</code> might not be persisted if the same finding is later updated by the finding provider through the <code>BatchImportFindings</code> operation.</p>"
},
"UpdateInsight":{
"name":"UpdateInsight",
Expand Down Expand Up @@ -1429,7 +1429,9 @@
},
"AccountDetailsList":{
"type":"list",
"member":{"shape":"AccountDetails"}
"member":{"shape":"AccountDetails"},
"max":50,
"min":1
},
"AccountId":{"type":"string"},
"AccountIdList":{
Expand Down Expand Up @@ -20812,7 +20814,7 @@
"members":{
"ConfigurationPolicyIdentifier":{
"shape":"NonEmptyString",
"documentation":"<p> The Amazon Resource Name (ARN) or universally unique identifier (UUID) of the configuration policy. </p>"
"documentation":"<p> The Amazon Resource Name (ARN) of a configuration policy, the universally unique identifier (UUID) of a configuration policy, or a value of <code>SELF_MANAGED_SECURITY_HUB</code> for a self-managed configuration. </p>"
},
"Target":{
"shape":"Target",
Expand Down Expand Up @@ -20863,7 +20865,7 @@
},
"ConfigurationPolicyIdentifier":{
"shape":"NonEmptyString",
"documentation":"<p> The Amazon Resource Name (ARN) or universally unique identifier (UUID) of the configuration policy. </p>"
"documentation":"<p> The Amazon Resource Name (ARN) of a configuration policy, the universally unique identifier (UUID) of a configuration policy, or a value of <code>SELF_MANAGED_SECURITY_HUB</code> for a self-managed configuration. </p>"
}
}
},
Expand Down
Loading

0 comments on commit 3243a1b

Please sign in to comment.