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 Aug 28, 2024
1 parent 9c621d1 commit 77152bc
Show file tree
Hide file tree
Showing 7 changed files with 4,152 additions and 90 deletions.
178 changes: 163 additions & 15 deletions codegen/sdk-codegen/aws-models/appconfig.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions codegen/sdk-codegen/aws-models/datazone.json
Original file line number Diff line number Diff line change
Expand Up @@ -1283,7 +1283,7 @@
"com.amazonaws.datazone#AuthorizedPrincipalIdentifier": {
"type": "string",
"traits": {
"smithy.api#pattern": "^[a-zA-Z0-9:/_-]*$"
"smithy.api#pattern": "^[a-zA-Z0-9:/._-]*$"
}
},
"com.amazonaws.datazone#AuthorizedPrincipalIdentifiers": {
Expand Down Expand Up @@ -7692,7 +7692,7 @@
}
],
"traits": {
"smithy.api#documentation": "<p>Deletes an data product in Amazon DataZone.</p>",
"smithy.api#documentation": "<p>Deletes a data product in Amazon DataZone.</p>",
"smithy.api#http": {
"code": 204,
"method": "DELETE",
Expand Down
81 changes: 13 additions & 68 deletions codegen/sdk-codegen/aws-models/device-farm.json

Large diffs are not rendered by default.

20 changes: 19 additions & 1 deletion codegen/sdk-codegen/aws-models/ec2.json
Original file line number Diff line number Diff line change
Expand Up @@ -1601,6 +1601,12 @@
"smithy.api#documentation": "<p>The tags to assign to the Elastic IP address.</p>",
"smithy.api#xmlName": "TagSpecification"
}
},
"IpamPoolId": {
"target": "com.amazonaws.ec2#IpamPoolId",
"traits": {
"smithy.api#documentation": "<p>The ID of an IPAM pool.</p>"
}
}
},
"traits": {
Expand Down Expand Up @@ -68750,6 +68756,12 @@
"traits": {
"smithy.api#enumValue": "subnet"
}
},
"eip": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "eip"
}
}
}
},
Expand Down Expand Up @@ -69295,6 +69307,12 @@
"smithy.api#enumValue": "amazon-owned-eip"
}
},
"AMAZON_OWNED_CONTIG": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "amazon-owned-contig"
}
},
"BYOIP": {
"target": "smithy.api#Unit",
"traits": {
Expand Down Expand Up @@ -86952,7 +86970,7 @@
"target": "com.amazonaws.ec2#RegisterImageResult"
},
"traits": {
"smithy.api#documentation": "<p>Registers an AMI. When you're creating an instance-store backed AMI, registering the AMI\n is the final step in the creation process. For more information about creating AMIs, see\n <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/creating-an-ami.html\">Create your\n own AMI</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>\n <note>\n <p>For Amazon EBS-backed instances, <a>CreateImage</a> creates and registers the AMI\n in a single request, so you don't have to register the AMI yourself. We recommend that you\n always use <a>CreateImage</a> unless you have a specific reason to use\n RegisterImage.</p>\n </note>\n <p>If needed, you can deregister an AMI at any time. Any modifications you make to an AMI backed by an instance store volume invalidates its registration. \n If you make changes to an image, deregister the previous image and register the new image.</p>\n <p>\n <b>Register a snapshot of a root device volume</b>\n </p>\n <p>You can use <code>RegisterImage</code> to create an Amazon EBS-backed Linux AMI from\n a snapshot of a root device volume. You specify the snapshot using a block device mapping.\n You can't set the encryption state of the volume using the block device mapping. If the \n snapshot is encrypted, or encryption by default is enabled, the root volume of an instance \n launched from the AMI is encrypted.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/creating-an-ami-ebs.html#creating-launching-ami-from-snapshot\">Create a Linux AMI from a snapshot</a> and <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AMIEncryption.html\">Use encryption with Amazon EBS-backed AMIs</a>\n in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>\n <p>\n <b>Amazon Web Services Marketplace product codes</b>\n </p>\n <p>If any snapshots have Amazon Web Services Marketplace product codes, they are copied to the new\n AMI.</p>\n <p>Windows and some Linux distributions, such as Red Hat Enterprise Linux (RHEL) and SUSE\n Linux Enterprise Server (SLES), use the Amazon EC2 billing product code associated with an AMI to\n verify the subscription status for package updates. To create a new AMI for operating systems\n that require a billing product code, instead of registering the AMI, do the following to\n preserve the billing product code association:</p>\n <ol>\n <li>\n <p>Launch an instance from an existing AMI with that billing product code.</p>\n </li>\n <li>\n <p>Customize the instance.</p>\n </li>\n <li>\n <p>Create an AMI from the instance using <a>CreateImage</a>.</p>\n </li>\n </ol>\n <p>If you purchase a Reserved Instance to apply to an On-Demand Instance that was launched\n from an AMI with a billing product code, make sure that the Reserved Instance has the matching\n billing product code. If you purchase a Reserved Instance without the matching billing product\n code, the Reserved Instance will not be applied to the On-Demand Instance. For information\n about how to obtain the platform details and billing information of an AMI, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-billing-info.html\">Understand AMI\n billing information</a> in the <i>Amazon EC2 User Guide</i>.</p>"
"smithy.api#documentation": "<p>Registers an AMI. When you're creating an instance-store backed AMI, registering the AMI\n is the final step in the creation process. For more information about creating AMIs, see\n <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/creating-an-ami-ebs.html#creating-launching-ami-from-snapshot\">Create an AMI from a snapshot</a> and <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/creating-an-ami-instance-store.html\">Create an instance-store\n backed AMI</a> in the <i>Amazon EC2 User Guide</i>.</p>\n <note>\n <p>For Amazon EBS-backed instances, <a>CreateImage</a> creates and registers the AMI\n in a single request, so you don't have to register the AMI yourself. We recommend that you\n always use <a>CreateImage</a> unless you have a specific reason to use\n RegisterImage.</p>\n </note>\n <p>If needed, you can deregister an AMI at any time. Any modifications you make to an AMI\n backed by an instance store volume invalidates its registration. If you make changes to an\n image, deregister the previous image and register the new image.</p>\n <p>\n <b>Register a snapshot of a root device volume</b>\n </p>\n <p>You can use <code>RegisterImage</code> to create an Amazon EBS-backed Linux AMI from\n a snapshot of a root device volume. You specify the snapshot using a block device mapping.\n You can't set the encryption state of the volume using the block device mapping. If the \n snapshot is encrypted, or encryption by default is enabled, the root volume of an instance \n launched from the AMI is encrypted.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/creating-an-ami-ebs.html#creating-launching-ami-from-snapshot\">Create an AMI from a snapshot</a> and <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AMIEncryption.html\">Use encryption with Amazon EBS-backed\n AMIs</a> in the <i>Amazon EC2 User Guide</i>.</p>\n <p>\n <b>Amazon Web Services Marketplace product codes</b>\n </p>\n <p>If any snapshots have Amazon Web Services Marketplace product codes, they are copied to the new\n AMI.</p>\n <p>In most cases, AMIs for Windows, RedHat, SUSE, and SQL Server require correct licensing\n information to be present on the AMI. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-billing-info.html\">Understand AMI billing\n information</a> in the <i>Amazon EC2 User Guide</i>. When creating an AMI from\n a snapshot, the <code>RegisterImage</code> operation derives the correct billing information\n from the snapshot's metadata, but this requires the appropriate metadata to be present. To\n verify if the correct billing information was applied, check the <code>PlatformDetails</code>\n field on the new AMI. If the field is empty or doesn't match the expected operating system\n code (for example, Windows, RedHat, SUSE, or SQL), the AMI creation was unsuccessful, and you\n should discard the AMI and instead create the AMI from an instance using <a>CreateImage</a>. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/creating-an-ami-ebs.html#how-to-create-ebs-ami\">Create an AMI\n from an instance </a> in the <i>Amazon EC2 User Guide</i>.</p>\n <p>If you purchase a Reserved Instance to apply to an On-Demand Instance that was launched\n from an AMI with a billing product code, make sure that the Reserved Instance has the matching\n billing product code. If you purchase a Reserved Instance without the matching billing product\n code, the Reserved Instance will not be applied to the On-Demand Instance. For information\n about how to obtain the platform details and billing information of an AMI, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-billing-info.html\">Understand AMI\n billing information</a> in the <i>Amazon EC2 User Guide</i>.</p>"
}
},
"com.amazonaws.ec2#RegisterImageRequest": {
Expand Down
10 changes: 9 additions & 1 deletion codegen/sdk-codegen/aws-models/internetmonitor.json
Original file line number Diff line number Diff line change
Expand Up @@ -2984,6 +2984,14 @@
{
"name": "TOP_LOCATION_DETAILS",
"value": "TOP_LOCATION_DETAILS"
},
{
"name": "OVERALL_TRAFFIC_SUGGESTIONS",
"value": "OVERALL_TRAFFIC_SUGGESTIONS"
},
{
"name": "OVERALL_TRAFFIC_SUGGESTIONS_DETAILS",
"value": "OVERALL_TRAFFIC_SUGGESTIONS_DETAILS"
}
]
}
Expand Down Expand Up @@ -3136,7 +3144,7 @@
"QueryType": {
"target": "com.amazonaws.internetmonitor#QueryType",
"traits": {
"smithy.api#documentation": "<p>The type of query to run. The following are the three types of queries that you can run using the Internet Monitor query interface:</p>\n <ul>\n <li>\n <p>\n <code>MEASUREMENTS</code>: Provides availability score, performance score, total traffic, \n\t\t\t\tand round-trip times, at 5 minute intervals.</p>\n </li>\n <li>\n <p>\n <code>TOP_LOCATIONS</code>: Provides availability score, performance score, total traffic, \n\t\t\t\tand time to first byte (TTFB) information, for the top location and ASN combinations that you're monitoring, by traffic volume.</p>\n </li>\n <li>\n <p>\n <code>TOP_LOCATION_DETAILS</code>: Provides TTFB for Amazon CloudFront, your \n\t\t\t\tcurrent configuration, and the best performing EC2 configuration, at 1 hour intervals.</p>\n </li>\n </ul>\n <p>For lists of the fields returned with each query type and more information about how each type of query is\n\t\t\tperformed, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-IM-view-cw-tools-cwim-query.html\">\n\t\t\t\tUsing the Amazon CloudWatch Internet Monitor query interface</a> in the Amazon CloudWatch Internet Monitor User Guide.</p>",
"smithy.api#documentation": "<p>The type of query to run. The following are the three types of queries that you can run using the Internet Monitor query interface:</p>\n <ul>\n <li>\n <p>\n <code>MEASUREMENTS</code>: Provides availability score, performance score, total traffic, \n\t\t\t\tand round-trip times, at 5 minute intervals.</p>\n </li>\n <li>\n <p>\n <code>TOP_LOCATIONS</code>: Provides availability score, performance score, total traffic, \n\t\t\t\tand time to first byte (TTFB) information, for the top location and ASN combinations that you're monitoring, by traffic volume.</p>\n </li>\n <li>\n <p>\n <code>TOP_LOCATION_DETAILS</code>: Provides TTFB for Amazon CloudFront, your \n\t\t\t\tcurrent configuration, and the best performing EC2 configuration, at 1 hour intervals.</p>\n </li>\n <li>\n <p>\n <code>OVERALL_TRAFFIC_SUGGESTIONS</code>: Provides TTFB, using a 30-day weighted average, for all traffic in \n\t\t\t\teach Amazon Web Services location that is monitored.</p>\n </li>\n <li>\n <p>\n <code>OVERALL_TRAFFIC_SUGGESTIONS_DETAILS</code>: Provides TTFB, using a 30-day weighted average, for each top \n\t\t\t\tlocation, for a proposed Amazon Web Services location. Must provide a Amazon Web Services location to search.</p>\n </li>\n </ul>\n <p>For lists of the fields returned with each query type and more information about how each type of query is\n\t\t\tperformed, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-IM-view-cw-tools-cwim-query.html\">\n\t\t\t\tUsing the Amazon CloudWatch Internet Monitor query interface</a> in the Amazon CloudWatch Internet Monitor User Guide.</p>",
"smithy.api#required": {}
}
},
Expand Down
Loading

0 comments on commit 77152bc

Please sign in to comment.