Skip to content

Commit e55784e

Browse files
feat: update AWS API models
1 parent 23d39f6 commit e55784e

File tree

5 files changed

+195
-26
lines changed

5 files changed

+195
-26
lines changed

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": {

codegen/sdk/aws-models/ec2.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25572,7 +25572,7 @@
2557225572
"target": "com.amazonaws.ec2#DeleteTransitGatewayRouteTableResult"
2557325573
},
2557425574
"traits": {
25575-
"smithy.api#documentation": "<p>Deletes the specified transit gateway route table. You must disassociate the route table from any\n transit gateway route tables before you can delete it.</p>"
25575+
"smithy.api#documentation": "<p>Deletes the specified transit gateway route table. If there are any route tables associated with\n 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>"
2557625576
}
2557725577
},
2557825578
"com.amazonaws.ec2#DeleteTransitGatewayRouteTableAnnouncement": {
@@ -39743,7 +39743,7 @@
3974339743
"Filters": {
3974439744
"target": "com.amazonaws.ec2#FilterList",
3974539745
"traits": {
39746-
"smithy.api#documentation": "<p>One or more filters. The possible values are:</p>\n <ul>\n <li>\n <p>\n <code>options.propagation-default-route-table-id</code> - The ID of the default propagation route table.</p>\n </li>\n <li>\n <p>\n <code>options.amazon-side-asn</code> - The private ASN for the Amazon side of a BGP session.</p>\n </li>\n <li>\n <p>\n <code>options.association-default-route-table-id</code> - The ID of the default association route table.</p>\n </li>\n <li>\n <p>\n <code>options.auto-accept-shared-attachments</code> - Indicates whether there is automatic acceptance of attachment requests (<code>enable</code> | <code>disable</code>).</p>\n </li>\n <li>\n <p>\n <code>options.default-route-table-association</code> - Indicates whether resource attachments are automatically \n associated with the default association route table (<code>enable</code> | <code>disable</code>).</p>\n </li>\n <li>\n <p>\n <code>options.default-route-table-propagation</code> - Indicates whether resource attachments automatically propagate \n routes to the default propagation route table (<code>enable</code> | <code>disable</code>).</p>\n </li>\n <li>\n <p>\n <code>options.dns-support</code> - Indicates whether DNS support is enabled (<code>enable</code> | <code>disable</code>).</p>\n </li>\n <li>\n <p>\n <code>options.vpn-ecmp-support</code> - Indicates whether Equal Cost Multipath Protocol support is enabled (<code>enable</code> | <code>disable</code>).</p>\n </li>\n <li>\n <p>\n <code>owner-id</code> - The ID of the Amazon Web Services account that owns the transit gateway.</p>\n </li>\n <li>\n <p>\n <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>\n </li>\n <li>\n <p>\n <code>transit-gateway-id</code> - The ID of the transit gateway.</p>\n </li>\n </ul>",
39746+
"smithy.api#documentation": "<p>One or more filters. The possible values are:</p>\n <ul>\n <li>\n <p>\n <code>options.propagation-default-route-table-id</code> - The ID of the default propagation route table.</p>\n </li>\n <li>\n <p>\n <code>options.amazon-side-asn</code> - The private ASN for the Amazon side of a BGP session.</p>\n </li>\n <li>\n <p>\n <code>options.association-default-route-table-id</code> - The ID of the default association route table.</p>\n </li>\n <li>\n <p>\n <code>options.auto-accept-shared-attachments</code> - Indicates whether there is automatic acceptance of attachment requests (<code>enable</code> | <code>disable</code>).</p>\n </li>\n <li>\n <p>\n <code>options.default-route-table-association</code> - Indicates whether resource attachments are automatically \n associated with the default association route table (<code>enable</code> | <code>disable</code>).</p>\n </li>\n <li>\n <p>\n <code>options.default-route-table-propagation</code> - Indicates whether resource attachments automatically propagate \n routes to the default propagation route table (<code>enable</code> | <code>disable</code>).</p>\n </li>\n <li>\n <p>\n <code>options.dns-support</code> - Indicates whether DNS support is enabled (<code>enable</code> | <code>disable</code>).</p>\n </li>\n <li>\n <p>\n <code>options.vpn-ecmp-support</code> - Indicates whether Equal Cost Multipath Protocol support is enabled (<code>enable</code> | <code>disable</code>).</p>\n </li>\n <li>\n <p>\n <code>owner-id</code> - The ID of the Amazon Web Services account that owns the transit gateway.</p>\n </li>\n <li>\n <p>\n <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>\n </li>\n <li>\n <p>\n <code>transit-gateway-id</code> - The ID of the transit gateway.</p>\n </li>\n <li>\n <p>\n <code>tag-key </code>- The key/value combination of a tag assigned to the resource. Use the\n tag key in the filter name and the tag value as the filter value. For example, to\n find all resources that have a tag with the key <code>Owner</code> and the value <code>TeamA</code>, specify\n <code>tag:Owner</code> for the filter name and <code>TeamA</code> for the filter value.</p>\n </li>\n </ul>",
3974739747
"smithy.api#xmlName": "Filter"
3974839748
}
3974939749
},
@@ -71123,7 +71123,7 @@
7112371123
"DeviceIndex": {
7112471124
"target": "com.amazonaws.ec2#Integer",
7112571125
"traits": {
71126-
"smithy.api#documentation": "<p>The device index for the network interface attachment.</p>"
71126+
"smithy.api#documentation": "<p>The device index for the network interface attachment. Each network interface requires\n a device index. If you create a launch template that includes secondary network interfaces \n but not a primary network interface, then you must add a primary network interface as a \n launch parameter when you launch an instance from the template.</p>"
7112771127
}
7112871128
},
7112971129
"Groups": {
@@ -104888,7 +104888,7 @@
104888104888
"target": "com.amazonaws.ec2#VolumeAttachmentList",
104889104889
"traits": {
104890104890
"aws.protocols#ec2QueryName": "AttachmentSet",
104891-
"smithy.api#documentation": "<p>Information about the volume attachments.</p>",
104891+
"smithy.api#documentation": "<note>\n <p>This parameter is not returned by CreateVolume.</p>\n </note>\n <p>Information about the volume attachments.</p>",
104892104892
"smithy.api#xmlName": "attachmentSet"
104893104893
}
104894104894
},
@@ -104992,7 +104992,7 @@
104992104992
"target": "com.amazonaws.ec2#Boolean",
104993104993
"traits": {
104994104994
"aws.protocols#ec2QueryName": "FastRestored",
104995-
"smithy.api#documentation": "<p>Indicates whether the volume was created using fast snapshot restore.</p>",
104995+
"smithy.api#documentation": "<note>\n <p>This parameter is not returned by CreateVolume.</p>\n </note>\n <p>Indicates whether the volume was created using fast snapshot restore.</p>",
104996104996
"smithy.api#xmlName": "fastRestored"
104997104997
}
104998104998
},
@@ -105016,7 +105016,7 @@
105016105016
"target": "com.amazonaws.ec2#SSEType",
105017105017
"traits": {
105018105018
"aws.protocols#ec2QueryName": "SseType",
105019-
"smithy.api#documentation": "<p>Reserved for future use.</p>",
105019+
"smithy.api#documentation": "<note>\n <p>This parameter is not returned by CreateVolume.</p>\n </note>\n <p>Reserved for future use.</p>",
105020105020
"smithy.api#xmlName": "sseType"
105021105021
}
105022105022
}

0 commit comments

Comments
 (0)