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 Oct 24, 2023
1 parent 7fcf22b commit 078761c
Show file tree
Hide file tree
Showing 7 changed files with 1,697 additions and 155 deletions.
324 changes: 324 additions & 0 deletions codegen/sdk-codegen/aws-models/codepipeline.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions codegen/sdk-codegen/aws-models/ec2.json
Original file line number Diff line number Diff line change
Expand Up @@ -36438,7 +36438,7 @@
"Filters": {
"target": "com.amazonaws.ec2#FilterList",
"traits": {
"smithy.api#documentation": "<p>The filters.</p>\n <ul>\n <li>\n <p>\n <code>availability-zone</code> - The Availability Zone for which prices should\n be returned.</p>\n </li>\n <li>\n <p>\n <code>instance-type</code> - The type of instance (for example,\n <code>m3.medium</code>).</p>\n </li>\n <li>\n <p>\n <code>product-description</code> - The product description for the Spot price\n (<code>Linux/UNIX</code> | <code>Red Hat Enterprise Linux</code> |\n <code>SUSE Linux</code> | <code>Windows</code> | <code>Linux/UNIX (Amazon\n VPC)</code> | <code>Red Hat Enterprise Linux (Amazon VPC)</code> |\n <code>SUSE Linux (Amazon VPC)</code> | <code>Windows (Amazon\n VPC)</code>).</p>\n </li>\n <li>\n <p>\n <code>spot-price</code> - The Spot price. The value must match exactly (or use\n wildcards; greater than or less than comparison is not supported).</p>\n </li>\n <li>\n <p>\n <code>timestamp</code> - The time stamp of the Spot price history, in UTC format\n (for example,\n <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).\n You can use wildcards (* and ?). Greater than or less than comparison is not\n supported.</p>\n </li>\n </ul>",
"smithy.api#documentation": "<p>The filters.</p>\n <ul>\n <li>\n <p>\n <code>availability-zone</code> - The Availability Zone for which prices should\n be returned.</p>\n </li>\n <li>\n <p>\n <code>instance-type</code> - The type of instance (for example,\n <code>m3.medium</code>).</p>\n </li>\n <li>\n <p>\n <code>product-description</code> - The product description for the Spot price\n (<code>Linux/UNIX</code> | <code>Red Hat Enterprise Linux</code> |\n <code>SUSE Linux</code> | <code>Windows</code> | <code>Linux/UNIX (Amazon\n VPC)</code> | <code>Red Hat Enterprise Linux (Amazon VPC)</code> |\n <code>SUSE Linux (Amazon VPC)</code> | <code>Windows (Amazon\n VPC)</code>).</p>\n </li>\n <li>\n <p>\n <code>spot-price</code> - The Spot price. The value must match exactly (or use\n wildcards; greater than or less than comparison is not supported).</p>\n </li>\n <li>\n <p>\n <code>timestamp</code> - The time stamp of the Spot price history, in UTC format\n (for example, <i>ddd MMM dd\n HH</i>:<i>mm</i>:<i>ss</i> UTC\n <i>YYYY</i>). You can use wildcards (<code>*</code> and\n <code>?</code>). Greater than or less than comparison is not\n supported.</p>\n </li>\n </ul>",
"smithy.api#xmlName": "Filter"
}
},
Expand Down Expand Up @@ -52364,7 +52364,7 @@
"Configured": {
"target": "com.amazonaws.ec2#Boolean",
"traits": {
"smithy.api#documentation": "<p>Set to <code>true</code> to enable your instance for hibernation.</p>\n <p>Default: <code>false</code>\n </p>"
"smithy.api#documentation": "<p>Set to <code>true</code> to enable your instance for hibernation.</p>\n <p>For Spot Instances, if you set <code>Configured</code> to <code>true</code>, either\n omit the <code>InstanceInterruptionBehavior</code> parameter (for <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SpotMarketOptions.html\">\n <code>SpotMarketOptions</code>\n </a>), or set it to\n <code>hibernate</code>. When <code>Configured</code> is true:</p>\n <ul>\n <li>\n <p>If you omit <code>InstanceInterruptionBehavior</code>, it defaults to\n <code>hibernate</code>.</p>\n </li>\n <li>\n <p>If you set <code>InstanceInterruptionBehavior</code> to a value other than\n <code>hibernate</code>, you'll get an error.</p>\n </li>\n </ul>\n <p>Default: <code>false</code>\n </p>"
}
}
},
Expand Down Expand Up @@ -91573,7 +91573,7 @@
"InstanceInterruptionBehavior": {
"target": "com.amazonaws.ec2#InstanceInterruptionBehavior",
"traits": {
"smithy.api#documentation": "<p>The behavior when a Spot Instance is interrupted. The default is\n <code>terminate</code>.</p>"
"smithy.api#documentation": "<p>The behavior when a Spot Instance is interrupted.</p>\n <p>If <code>Configured</code> (for <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_HibernationOptionsRequest.html\">\n <code>HibernationOptions</code>\n </a>) is set to <code>true</code>, the\n <code>InstanceInterruptionBehavior</code> parameter is automatically set to\n <code>hibernate</code>. If you set it to <code>stop</code> or\n <code>terminate</code>, you'll get an error.</p>\n <p>If <code>Configured</code> (for <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_HibernationOptionsRequest.html\">\n <code>HibernationOptions</code>\n </a>) is set to <code>false</code> or\n <code>null</code>, the <code>InstanceInterruptionBehavior</code> parameter is\n automatically set to <code>terminate</code>. You can also set it to <code>stop</code> or\n <code>hibernate</code>.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/interruption-behavior.html\">Interruption\n behavior</a> in the <i>Amazon EC2 User Guide</i>.</p>"
}
}
},
Expand Down
Loading

0 comments on commit 078761c

Please sign in to comment.