Skip to content

Commit 0480396

Browse files
author
AWS SDK for Go v2 automation user
committed
Update API model
1 parent 5a6b2c0 commit 0480396

File tree

8 files changed

+398
-59
lines changed

8 files changed

+398
-59
lines changed

codegen/sdk-codegen/aws-models/codecatalyst.json

Lines changed: 150 additions & 2 deletions
Large diffs are not rendered by default.

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

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1480,6 +1480,12 @@
14801480
"smithy.api#enumValue": "PERCENT_20"
14811481
}
14821482
},
1483+
"PERCENT_10": {
1484+
"target": "smithy.api#Unit",
1485+
"traits": {
1486+
"smithy.api#enumValue": "PERCENT_10"
1487+
}
1488+
},
14831489
"PERCENT_0": {
14841490
"target": "smithy.api#Unit",
14851491
"traits": {
@@ -1496,6 +1502,12 @@
14961502
"traits": {
14971503
"smithy.api#enumValue": "CpuUtilization"
14981504
}
1505+
},
1506+
"MEMORY_UTILIZATION": {
1507+
"target": "smithy.api#Unit",
1508+
"traits": {
1509+
"smithy.api#enumValue": "MemoryUtilization"
1510+
}
14991511
}
15001512
}
15011513
},
@@ -1505,13 +1517,13 @@
15051517
"threshold": {
15061518
"target": "com.amazonaws.computeoptimizer#CustomizableMetricThreshold",
15071519
"traits": {
1508-
"smithy.api#documentation": "<p>\n The threshold value used for the specified metric parameter.\n </p>"
1520+
"smithy.api#documentation": "<p>\n The threshold value used for the specified metric parameter.\n </p>\n <note>\n <p>You can only specify the threshold value for CPU utilization.</p>\n </note>"
15091521
}
15101522
},
15111523
"headroom": {
15121524
"target": "com.amazonaws.computeoptimizer#CustomizableMetricHeadroom",
15131525
"traits": {
1514-
"smithy.api#documentation": "<p>\n The headroom threshold value in percentage used for the specified metric parameter.\n </p>"
1526+
"smithy.api#documentation": "<p>\n The headroom value in percentage used for the specified metric parameter.\n </p>\n <p>The following lists the valid values for CPU and memory utilization.</p>\n <ul>\n <li>\n <p>CPU utilization: <code>PERCENT_30 | PERCENT_20 | PERCENT_0</code>\n </p>\n </li>\n <li>\n <p>Memory utilization: <code>PERCENT_30 | PERCENT_20 | PERCENT_10</code>\n </p>\n </li>\n </ul>"
15151527
}
15161528
}
15171529
},
@@ -2539,7 +2551,7 @@
25392551
"utilizationPreferences": {
25402552
"target": "com.amazonaws.computeoptimizer#UtilizationPreferences",
25412553
"traits": {
2542-
"smithy.api#documentation": "<p>\n The resource’s CPU utilization threshold preferences, such as threshold and headroom, that \n are used to generate rightsizing recommendations. \n </p>\n <note>\n <p>This preference is only available for the Amazon EC2 instance resource type.</p>\n </note>"
2554+
"smithy.api#documentation": "<p>\n The resource’s CPU and memory utilization preferences, such as threshold and headroom, that \n are used to generate rightsizing recommendations. \n </p>\n <note>\n <p>This preference is only available for the Amazon EC2 instance resource type.</p>\n </note>"
25432555
}
25442556
},
25452557
"preferredResources": {
@@ -5811,7 +5823,7 @@
58115823
"utilizationPreferences": {
58125824
"target": "com.amazonaws.computeoptimizer#UtilizationPreferences",
58135825
"traits": {
5814-
"smithy.api#documentation": "<p>\n The resource’s CPU utilization threshold preferences, such as threshold and headroom, \n that were used to generate rightsizing recommendations. It considers all applicable preferences \n that you set at the resource, account, and organization level.\n </p>\n <p>To validate that the preference is applied to your last generated set of recommendations, review the \n <code>effectiveRecommendationPreferences</code> value in the response of the \n GetAutoScalingGroupRecommendations or GetEC2InstanceRecommendations actions.</p>"
5826+
"smithy.api#documentation": "<p>\n The resource’s CPU and memory utilization preferences, such as threshold and headroom, \n that were used to generate rightsizing recommendations. It considers all applicable preferences \n that you set at the resource, account, and organization level.\n </p>\n <p>To validate that the preference is applied to your last generated set of recommendations, review the \n <code>effectiveRecommendationPreferences</code> value in the response of the \n GetAutoScalingGroupRecommendations or GetEC2InstanceRecommendations actions.</p>"
58155827
}
58165828
},
58175829
"preferredResources": {
@@ -8591,7 +8603,7 @@
85918603
"utilizationPreferences": {
85928604
"target": "com.amazonaws.computeoptimizer#UtilizationPreferences",
85938605
"traits": {
8594-
"smithy.api#documentation": "<p>\n The preference to control the resource’s CPU utilization thresholds - threshold and headroom. When this \n preference isn't specified, we use the following default values:\n </p>\n <ul>\n <li>\n <p>\n <code>P99_5</code> for threshold</p>\n </li>\n <li>\n <p>\n <code>PERCENT_17</code> for headroom</p>\n </li>\n </ul>\n <note>\n <p>You can only set this preference for the Amazon EC2 instance resource type.</p>\n </note>"
8606+
"smithy.api#documentation": "<p>\n The preference to control the resource’s CPU utilization threshold, CPU utilization headroom, and memory utilization headroom. When this \n preference isn't specified, we use the following default values.\n </p>\n <p>CPU utilization:</p>\n <ul>\n <li>\n <p>\n <code>P99_5</code> for threshold</p>\n </li>\n <li>\n <p>\n <code>PERCENT_20</code> for headroom</p>\n </li>\n </ul>\n <p>Memory utilization:</p>\n <ul>\n <li>\n <p>\n <code>PERCENT_20</code> for headroom</p>\n </li>\n </ul>\n <note>\n <ul>\n <li>\n <p>You can only set CPU and memory utilization preferences for the Amazon EC2 instance resource type.</p>\n </li>\n <li>\n <p>The threshold setting isn’t available for memory utilization.</p>\n </li>\n </ul>\n </note>"
85958607
}
85968608
},
85978609
"preferredResources": {
@@ -8816,7 +8828,7 @@
88168828
"utilizationPreferences": {
88178829
"target": "com.amazonaws.computeoptimizer#UtilizationPreferences",
88188830
"traits": {
8819-
"smithy.api#documentation": "<p>\n The preference to control the resource’s CPU utilization thresholds - threshold and headroom. \n If the preference isn’t set, this object is null. \n </p>\n <note>\n <p>This preference is only available for the Amazon EC2 instance resource type.</p>\n </note>"
8831+
"smithy.api#documentation": "<p>\n The preference to control the resource’s CPU utilization threshold, CPU utilization headroom, and memory utilization headroom. \n If the preference isn’t set, this object is null. \n </p>\n <note>\n <p>This preference is only available for the Amazon EC2 instance resource type.</p>\n </note>"
88208832
}
88218833
},
88228834
"preferredResources": {
@@ -9516,7 +9528,7 @@
95169528
"metricName": {
95179529
"target": "com.amazonaws.computeoptimizer#CustomizableMetricName",
95189530
"traits": {
9519-
"smithy.api#documentation": "<p>\n The name of the resource utilization metric name to customize. \n </p>\n <note>\n <p>Compute Optimizer only supports <code>CpuUtilization</code>.</p>\n </note>"
9531+
"smithy.api#documentation": "<p>\n The name of the resource utilization metric name to customize. \n </p>"
95209532
}
95219533
},
95229534
"metricParameters": {

codegen/sdk-codegen/aws-models/ec2.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65635,6 +65635,24 @@
6563565635
"traits": {
6563665636
"smithy.api#enumValue": "r7iz.metal-32xl"
6563765637
}
65638+
},
65639+
"c7gd_metal": {
65640+
"target": "smithy.api#Unit",
65641+
"traits": {
65642+
"smithy.api#enumValue": "c7gd.metal"
65643+
}
65644+
},
65645+
"m7gd_metal": {
65646+
"target": "smithy.api#Unit",
65647+
"traits": {
65648+
"smithy.api#enumValue": "m7gd.metal"
65649+
}
65650+
},
65651+
"r7gd_metal": {
65652+
"target": "smithy.api#Unit",
65653+
"traits": {
65654+
"smithy.api#enumValue": "r7gd.metal"
65655+
}
6563865656
}
6563965657
}
6564065658
},

codegen/sdk-codegen/aws-models/eks.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8406,6 +8406,18 @@
84068406
"traits": {
84078407
"smithy.api#enumValue": "AutoScalingGroupInstanceRefreshActive"
84088408
}
8409+
},
8410+
"KUBERNETES_LABEL_INVALID": {
8411+
"target": "smithy.api#Unit",
8412+
"traits": {
8413+
"smithy.api#enumValue": "KubernetesLabelInvalid"
8414+
}
8415+
},
8416+
"EC2_LAUNCH_TEMPLATE_VERSION_MAX_LIMIT_EXCEEDED": {
8417+
"target": "smithy.api#Unit",
8418+
"traits": {
8419+
"smithy.api#enumValue": "Ec2LaunchTemplateVersionMaxLimitExceeded"
8420+
}
84098421
}
84108422
}
84118423
},

0 commit comments

Comments
 (0)