Skip to content

Commit

Permalink
Update API model
Browse files Browse the repository at this point in the history
  • Loading branch information
AWS SDK for Go v2 automation user committed May 1, 2024
1 parent ca61482 commit 6635bd3
Show file tree
Hide file tree
Showing 5 changed files with 195 additions and 26 deletions.
153 changes: 148 additions & 5 deletions codegen/sdk-codegen/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
12 changes: 6 additions & 6 deletions codegen/sdk-codegen/aws-models/ec2.json
Original file line number Diff line number Diff line change
Expand Up @@ -25572,7 +25572,7 @@
"target": "com.amazonaws.ec2#DeleteTransitGatewayRouteTableResult"
},
"traits": {
"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>"
"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>"
}
},
"com.amazonaws.ec2#DeleteTransitGatewayRouteTableAnnouncement": {
Expand Down Expand Up @@ -39743,7 +39743,7 @@
"Filters": {
"target": "com.amazonaws.ec2#FilterList",
"traits": {
"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>",
"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>",
"smithy.api#xmlName": "Filter"
}
},
Expand Down Expand Up @@ -71123,7 +71123,7 @@
"DeviceIndex": {
"target": "com.amazonaws.ec2#Integer",
"traits": {
"smithy.api#documentation": "<p>The device index for the network interface attachment.</p>"
"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>"
}
},
"Groups": {
Expand Down Expand Up @@ -104888,7 +104888,7 @@
"target": "com.amazonaws.ec2#VolumeAttachmentList",
"traits": {
"aws.protocols#ec2QueryName": "AttachmentSet",
"smithy.api#documentation": "<p>Information about the volume attachments.</p>",
"smithy.api#documentation": "<note>\n <p>This parameter is not returned by CreateVolume.</p>\n </note>\n <p>Information about the volume attachments.</p>",
"smithy.api#xmlName": "attachmentSet"
}
},
Expand Down Expand Up @@ -104992,7 +104992,7 @@
"target": "com.amazonaws.ec2#Boolean",
"traits": {
"aws.protocols#ec2QueryName": "FastRestored",
"smithy.api#documentation": "<p>Indicates whether the volume was created using fast snapshot restore.</p>",
"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>",
"smithy.api#xmlName": "fastRestored"
}
},
Expand All @@ -105016,7 +105016,7 @@
"target": "com.amazonaws.ec2#SSEType",
"traits": {
"aws.protocols#ec2QueryName": "SseType",
"smithy.api#documentation": "<p>Reserved for future use.</p>",
"smithy.api#documentation": "<note>\n <p>This parameter is not returned by CreateVolume.</p>\n </note>\n <p>Reserved for future use.</p>",
"smithy.api#xmlName": "sseType"
}
}
Expand Down
Loading

0 comments on commit 6635bd3

Please sign in to comment.