Skip to content

Commit 933816f

Browse files
author
awstools
committed
docs(client-compute-optimizer): Doc only update for Compute Optimizer that fixes several customer-reported issues relating to ECS finding classifications
1 parent aee7efd commit 933816f

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

clients/client-compute-optimizer/src/models/models_0.ts

+11-2
Original file line numberDiff line numberDiff line change
@@ -2702,7 +2702,7 @@ export interface ECSServiceRecommendationFilter {
27022702
* <ul>
27032703
* <li>
27042704
* <p>If you specify the <code>name</code> parameter as <code>Finding</code>, specify
2705-
* <code>Optimized</code>, <code>NotOptimized</code>, or <code>Unavailable</code>.</p>
2705+
* <code>Optimized</code>, <code>Underprovisioned</code>, or <code>Overprovisioned</code>.</p>
27062706
* </li>
27072707
* <li>
27082708
* <p>If you specify the <code>name</code> parameter as <code>FindingReasonCode</code>, specify
@@ -8883,8 +8883,17 @@ export interface PutRecommendationPreferencesRequest {
88838883
* The preference to control the number of days the utilization metrics of the Amazon Web Services resource are analyzed.
88848884
* When this preference isn't specified, we use the default value <code>DAYS_14</code>.
88858885
* </p>
8886+
* <p>You can only set this preference for the Amazon EC2 instance and Auto Scaling group resource types.
8887+
* </p>
88868888
* <note>
8887-
* <p>You can only set this preference for the Amazon EC2 instance and Auto Scaling group resource types.</p>
8889+
* <ul>
8890+
* <li>
8891+
* <p>Amazon EC2 instance lookback preferences can be set at the organization, account, and resource levels.</p>
8892+
* </li>
8893+
* <li>
8894+
* <p>Auto Scaling group lookback preferences can only be set at the resource level.</p>
8895+
* </li>
8896+
* </ul>
88888897
* </note>
88898898
* @public
88908899
*/

codegen/sdk-codegen/aws-models/compute-optimizer.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -2328,7 +2328,7 @@
23282328
"values": {
23292329
"target": "com.amazonaws.computeoptimizer#FilterValues",
23302330
"traits": {
2331-
"smithy.api#documentation": "<p>\n The value of the filter.\n </p>\n <p>The valid values for this parameter are as follows:</p>\n <ul>\n <li>\n <p>If you specify the <code>name</code> parameter as <code>Finding</code>, specify\n <code>Optimized</code>, <code>NotOptimized</code>, or <code>Unavailable</code>.</p>\n </li>\n <li>\n <p>If you specify the <code>name</code> parameter as <code>FindingReasonCode</code>, specify\n <code>CPUUnderprovisioned</code>, <code>CPUOverprovisioned</code>, \n <code>MemoryUnderprovisioned</code>, or <code>MemoryOverprovisioned</code>.</p>\n </li>\n </ul>"
2331+
"smithy.api#documentation": "<p>\n The value of the filter.\n </p>\n <p>The valid values for this parameter are as follows:</p>\n <ul>\n <li>\n <p>If you specify the <code>name</code> parameter as <code>Finding</code>, specify\n <code>Optimized</code>, <code>Underprovisioned</code>, or <code>Overprovisioned</code>.</p>\n </li>\n <li>\n <p>If you specify the <code>name</code> parameter as <code>FindingReasonCode</code>, specify\n <code>CPUUnderprovisioned</code>, <code>CPUOverprovisioned</code>, \n <code>MemoryUnderprovisioned</code>, or <code>MemoryOverprovisioned</code>.</p>\n </li>\n </ul>"
23322332
}
23332333
}
23342334
},
@@ -9361,7 +9361,7 @@
93619361
"lookBackPeriod": {
93629362
"target": "com.amazonaws.computeoptimizer#LookBackPeriodPreference",
93639363
"traits": {
9364-
"smithy.api#documentation": "<p>\n The preference to control the number of days the utilization metrics of the Amazon Web Services resource are analyzed. \n When this preference isn't specified, we use the default value <code>DAYS_14</code>.\n </p>\n <note>\n <p>You can only set this preference for the Amazon EC2 instance and Auto Scaling group resource types.</p>\n </note>"
9364+
"smithy.api#documentation": "<p>\n The preference to control the number of days the utilization metrics of the Amazon Web Services resource are analyzed. \n When this preference isn't specified, we use the default value <code>DAYS_14</code>.\n </p>\n <p>You can only set this preference for the Amazon EC2 instance and Auto Scaling group resource types.\n </p>\n <note>\n <ul>\n <li>\n <p>Amazon EC2 instance lookback preferences can be set at the organization, account, and resource levels.</p>\n </li>\n <li>\n <p>Auto Scaling group lookback preferences can only be set at the resource level.</p>\n </li>\n </ul>\n </note>"
93659365
}
93669366
},
93679367
"utilizationPreferences": {

0 commit comments

Comments
 (0)