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 Feb 21, 2024
1 parent 98b0dc8 commit 374e0b9
Show file tree
Hide file tree
Showing 4 changed files with 419 additions and 45 deletions.
46 changes: 23 additions & 23 deletions codegen/sdk-codegen/aws-models/iot-events.json
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@
"traits": {
"smithy.api#length": {
"min": 0,
"max": 128
"max": 1024
}
}
},
Expand Down Expand Up @@ -1829,7 +1829,7 @@
"traits": {
"smithy.api#length": {
"min": 0,
"max": 128
"max": 1024
}
}
},
Expand Down Expand Up @@ -2462,7 +2462,7 @@
"traits": {
"smithy.api#length": {
"min": 0,
"max": 128
"max": 1024
}
}
},
Expand Down Expand Up @@ -2756,7 +2756,6 @@
]
}
],
"type": "tree",
"rules": [
{
"conditions": [
Expand Down Expand Up @@ -2799,7 +2798,8 @@
},
"type": "endpoint"
}
]
],
"type": "tree"
},
{
"conditions": [
Expand All @@ -2812,7 +2812,6 @@
]
}
],
"type": "tree",
"rules": [
{
"conditions": [
Expand All @@ -2826,7 +2825,6 @@
"assign": "PartitionResult"
}
],
"type": "tree",
"rules": [
{
"conditions": [
Expand All @@ -2849,7 +2847,6 @@
]
}
],
"type": "tree",
"rules": [
{
"conditions": [
Expand Down Expand Up @@ -2884,7 +2881,6 @@
]
}
],
"type": "tree",
"rules": [
{
"conditions": [],
Expand All @@ -2895,14 +2891,16 @@
},
"type": "endpoint"
}
]
],
"type": "tree"
},
{
"conditions": [],
"error": "FIPS and DualStack are enabled, but this partition does not support one or both",
"type": "error"
}
]
],
"type": "tree"
},
{
"conditions": [
Expand All @@ -2916,14 +2914,12 @@
]
}
],
"type": "tree",
"rules": [
{
"conditions": [
{
"fn": "booleanEquals",
"argv": [
true,
{
"fn": "getAttr",
"argv": [
Expand All @@ -2932,11 +2928,11 @@
},
"supportsFIPS"
]
}
},
true
]
}
],
"type": "tree",
"rules": [
{
"conditions": [],
Expand All @@ -2947,14 +2943,16 @@
},
"type": "endpoint"
}
]
],
"type": "tree"
},
{
"conditions": [],
"error": "FIPS is enabled but this partition does not support FIPS",
"type": "error"
}
]
],
"type": "tree"
},
{
"conditions": [
Expand All @@ -2968,7 +2966,6 @@
]
}
],
"type": "tree",
"rules": [
{
"conditions": [
Expand All @@ -2988,7 +2985,6 @@
]
}
],
"type": "tree",
"rules": [
{
"conditions": [],
Expand All @@ -2999,14 +2995,16 @@
},
"type": "endpoint"
}
]
],
"type": "tree"
},
{
"conditions": [],
"error": "DualStack is enabled but this partition does not support DualStack",
"type": "error"
}
]
],
"type": "tree"
},
{
"conditions": [],
Expand All @@ -3017,9 +3015,11 @@
},
"type": "endpoint"
}
]
],
"type": "tree"
}
]
],
"type": "tree"
},
{
"conditions": [],
Expand Down
53 changes: 53 additions & 0 deletions codegen/sdk-codegen/aws-models/lookoutequipment.json
Original file line number Diff line number Diff line change
Expand Up @@ -1256,6 +1256,12 @@
"traits": {
"smithy.api#documentation": "<p>Indicates the status of the <code>CreateInferenceScheduler</code> operation. </p>"
}
},
"ModelQuality": {
"target": "com.amazonaws.lookoutequipment#ModelQuality",
"traits": {
"smithy.api#documentation": "<p>Provides a quality assessment for a model that uses labels. \n If Lookout for Equipment determines that the\n model quality is poor based on training metrics, the value is\n <code>POOR_QUALITY_DETECTED</code>. Otherwise, the value is\n <code>QUALITY_THRESHOLD_MET</code>. </p>\n <p>If the model is unlabeled, the model quality can't\n be assessed and the value of <code>ModelQuality</code> is\n <code>CANNOT_DETERMINE_QUALITY</code>. In this situation, you can get a model quality\n assessment by adding labels to the input dataset and retraining the model.</p>\n <p>For information about using labels with your models, see <a href=\"https://docs.aws.amazon.com/lookout-for-equipment/latest/ug/understanding-labeling.html\">Understanding labeling</a>.</p>\n <p>For information about improving the quality of a model, see <a href=\"https://docs.aws.amazon.com/lookout-for-equipment/latest/ug/best-practices.html\">Best practices with\n Amazon Lookout for Equipment</a>.</p>"
}
}
},
"traits": {
Expand Down Expand Up @@ -3265,6 +3271,12 @@
"traits": {
"smithy.api#documentation": "<p>Configuration information for the model's pointwise model diagnostics.</p>"
}
},
"ModelQuality": {
"target": "com.amazonaws.lookoutequipment#ModelQuality",
"traits": {
"smithy.api#documentation": "<p>Provides a quality assessment for a model that uses labels. If Lookout for Equipment determines that the\n model quality is poor based on training metrics, the value is\n <code>POOR_QUALITY_DETECTED</code>. Otherwise, the value is\n <code>QUALITY_THRESHOLD_MET</code>.</p>\n <p>If the model is unlabeled, the model quality can't\n be assessed and the value of <code>ModelQuality</code> is\n <code>CANNOT_DETERMINE_QUALITY</code>. In this situation, you can get a model quality\n assessment by adding labels to the input dataset and retraining the model.</p>\n <p>For information about using labels with your models, see <a href=\"https://docs.aws.amazon.com/lookout-for-equipment/latest/ug/understanding-labeling.html\">Understanding labeling</a>.</p>\n <p>For information about improving the quality of a model, see <a href=\"https://docs.aws.amazon.com/lookout-for-equipment/latest/ug/best-practices.html\">Best practices with\n Amazon Lookout for Equipment</a>.</p>"
}
}
},
"traits": {
Expand Down Expand Up @@ -3522,6 +3534,12 @@
"traits": {
"smithy.api#documentation": "<p>The Amazon S3 output prefix for where Lookout for Equipment saves the pointwise model diagnostics for the model version.</p>"
}
},
"ModelQuality": {
"target": "com.amazonaws.lookoutequipment#ModelQuality",
"traits": {
"smithy.api#documentation": "<p>Provides a quality assessment for a model that uses labels. If Lookout for Equipment determines that the\n model quality is poor based on training metrics, the value is\n <code>POOR_QUALITY_DETECTED</code>. Otherwise, the value is\n <code>QUALITY_THRESHOLD_MET</code>.</p>\n <p>If the model is unlabeled, the model quality can't\n be assessed and the value of <code>ModelQuality</code> is\n <code>CANNOT_DETERMINE_QUALITY</code>. In this situation, you can get a model quality\n assessment by adding labels to the input dataset and retraining the model.</p>\n <p>For information about using labels with your models, see <a href=\"https://docs.aws.amazon.com/lookout-for-equipment/latest/ug/understanding-labeling.html\">Understanding labeling</a>.</p>\n <p>For information about improving the quality of a model, see <a href=\"https://docs.aws.amazon.com/lookout-for-equipment/latest/ug/best-practices.html\">Best practices with\n Amazon Lookout for Equipment</a>.</p>"
}
}
},
"traits": {
Expand Down Expand Up @@ -6173,6 +6191,29 @@
}
}
},
"com.amazonaws.lookoutequipment#ModelQuality": {
"type": "enum",
"members": {
"QUALITY_THRESHOLD_MET": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "QUALITY_THRESHOLD_MET"
}
},
"CANNOT_DETERMINE_QUALITY": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "CANNOT_DETERMINE_QUALITY"
}
},
"POOR_QUALITY_DETECTED": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "POOR_QUALITY_DETECTED"
}
}
}
},
"com.amazonaws.lookoutequipment#ModelStatus": {
"type": "enum",
"members": {
Expand Down Expand Up @@ -6291,6 +6332,12 @@
},
"ModelDiagnosticsOutputConfiguration": {
"target": "com.amazonaws.lookoutequipment#ModelDiagnosticsOutputConfiguration"
},
"ModelQuality": {
"target": "com.amazonaws.lookoutequipment#ModelQuality",
"traits": {
"smithy.api#documentation": "<p>Provides a quality assessment for a model that uses labels. If Lookout for Equipment determines that the\n model quality is poor based on training metrics, the value is\n <code>POOR_QUALITY_DETECTED</code>. Otherwise, the value is\n <code>QUALITY_THRESHOLD_MET</code>.</p>\n <p>If the model is unlabeled, the model quality can't\n be assessed and the value of <code>ModelQuality</code> is\n <code>CANNOT_DETERMINE_QUALITY</code>. In this situation, you can get a model quality\n assessment by adding labels to the input dataset and retraining the model.</p>\n <p>For information about using labels with your models, see <a href=\"https://docs.aws.amazon.com/lookout-for-equipment/latest/ug/understanding-labeling.html\">Understanding labeling</a>.</p>\n <p>For information about improving the quality of a model, see <a href=\"https://docs.aws.amazon.com/lookout-for-equipment/latest/ug/best-practices.html\">Best practices with\n Amazon Lookout for Equipment</a>.</p>"
}
}
},
"traits": {
Expand Down Expand Up @@ -6423,6 +6470,12 @@
"traits": {
"smithy.api#documentation": "<p>Indicates how this model version was generated.</p>"
}
},
"ModelQuality": {
"target": "com.amazonaws.lookoutequipment#ModelQuality",
"traits": {
"smithy.api#documentation": "<p>Provides a quality assessment for a model that uses labels. If Lookout for Equipment determines that the\n model quality is poor based on training metrics, the value is\n <code>POOR_QUALITY_DETECTED</code>. Otherwise, the value is\n <code>QUALITY_THRESHOLD_MET</code>. </p>\n <p>If the model is unlabeled, the model quality can't\n be assessed and the value of <code>ModelQuality</code> is\n <code>CANNOT_DETERMINE_QUALITY</code>. In this situation, you can get a model quality\n assessment by adding labels to the input dataset and retraining the model.</p>\n <p>For information about improving the quality of a model, see <a href=\"https://docs.aws.amazon.com/lookout-for-equipment/latest/ug/best-practices.html\">Best practices with\n Amazon Lookout for Equipment</a>.</p>"
}
}
},
"traits": {
Expand Down
Loading

0 comments on commit 374e0b9

Please sign in to comment.