Skip to content

Commit 374e0b9

Browse files
author
AWS SDK for Go v2 automation user
committed
Update API model
1 parent 98b0dc8 commit 374e0b9

File tree

4 files changed

+419
-45
lines changed

4 files changed

+419
-45
lines changed

codegen/sdk-codegen/aws-models/iot-events.json

+23-23
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@
222222
"traits": {
223223
"smithy.api#length": {
224224
"min": 0,
225-
"max": 128
225+
"max": 1024
226226
}
227227
}
228228
},
@@ -1829,7 +1829,7 @@
18291829
"traits": {
18301830
"smithy.api#length": {
18311831
"min": 0,
1832-
"max": 128
1832+
"max": 1024
18331833
}
18341834
}
18351835
},
@@ -2462,7 +2462,7 @@
24622462
"traits": {
24632463
"smithy.api#length": {
24642464
"min": 0,
2465-
"max": 128
2465+
"max": 1024
24662466
}
24672467
}
24682468
},
@@ -2756,7 +2756,6 @@
27562756
]
27572757
}
27582758
],
2759-
"type": "tree",
27602759
"rules": [
27612760
{
27622761
"conditions": [
@@ -2799,7 +2798,8 @@
27992798
},
28002799
"type": "endpoint"
28012800
}
2802-
]
2801+
],
2802+
"type": "tree"
28032803
},
28042804
{
28052805
"conditions": [
@@ -2812,7 +2812,6 @@
28122812
]
28132813
}
28142814
],
2815-
"type": "tree",
28162815
"rules": [
28172816
{
28182817
"conditions": [
@@ -2826,7 +2825,6 @@
28262825
"assign": "PartitionResult"
28272826
}
28282827
],
2829-
"type": "tree",
28302828
"rules": [
28312829
{
28322830
"conditions": [
@@ -2849,7 +2847,6 @@
28492847
]
28502848
}
28512849
],
2852-
"type": "tree",
28532850
"rules": [
28542851
{
28552852
"conditions": [
@@ -2884,7 +2881,6 @@
28842881
]
28852882
}
28862883
],
2887-
"type": "tree",
28882884
"rules": [
28892885
{
28902886
"conditions": [],
@@ -2895,14 +2891,16 @@
28952891
},
28962892
"type": "endpoint"
28972893
}
2898-
]
2894+
],
2895+
"type": "tree"
28992896
},
29002897
{
29012898
"conditions": [],
29022899
"error": "FIPS and DualStack are enabled, but this partition does not support one or both",
29032900
"type": "error"
29042901
}
2905-
]
2902+
],
2903+
"type": "tree"
29062904
},
29072905
{
29082906
"conditions": [
@@ -2916,14 +2914,12 @@
29162914
]
29172915
}
29182916
],
2919-
"type": "tree",
29202917
"rules": [
29212918
{
29222919
"conditions": [
29232920
{
29242921
"fn": "booleanEquals",
29252922
"argv": [
2926-
true,
29272923
{
29282924
"fn": "getAttr",
29292925
"argv": [
@@ -2932,11 +2928,11 @@
29322928
},
29332929
"supportsFIPS"
29342930
]
2935-
}
2931+
},
2932+
true
29362933
]
29372934
}
29382935
],
2939-
"type": "tree",
29402936
"rules": [
29412937
{
29422938
"conditions": [],
@@ -2947,14 +2943,16 @@
29472943
},
29482944
"type": "endpoint"
29492945
}
2950-
]
2946+
],
2947+
"type": "tree"
29512948
},
29522949
{
29532950
"conditions": [],
29542951
"error": "FIPS is enabled but this partition does not support FIPS",
29552952
"type": "error"
29562953
}
2957-
]
2954+
],
2955+
"type": "tree"
29582956
},
29592957
{
29602958
"conditions": [
@@ -2968,7 +2966,6 @@
29682966
]
29692967
}
29702968
],
2971-
"type": "tree",
29722969
"rules": [
29732970
{
29742971
"conditions": [
@@ -2988,7 +2985,6 @@
29882985
]
29892986
}
29902987
],
2991-
"type": "tree",
29922988
"rules": [
29932989
{
29942990
"conditions": [],
@@ -2999,14 +2995,16 @@
29992995
},
30002996
"type": "endpoint"
30012997
}
3002-
]
2998+
],
2999+
"type": "tree"
30033000
},
30043001
{
30053002
"conditions": [],
30063003
"error": "DualStack is enabled but this partition does not support DualStack",
30073004
"type": "error"
30083005
}
3009-
]
3006+
],
3007+
"type": "tree"
30103008
},
30113009
{
30123010
"conditions": [],
@@ -3017,9 +3015,11 @@
30173015
},
30183016
"type": "endpoint"
30193017
}
3020-
]
3018+
],
3019+
"type": "tree"
30213020
}
3022-
]
3021+
],
3022+
"type": "tree"
30233023
},
30243024
{
30253025
"conditions": [],

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

+53
Original file line numberDiff line numberDiff line change
@@ -1256,6 +1256,12 @@
12561256
"traits": {
12571257
"smithy.api#documentation": "<p>Indicates the status of the <code>CreateInferenceScheduler</code> operation. </p>"
12581258
}
1259+
},
1260+
"ModelQuality": {
1261+
"target": "com.amazonaws.lookoutequipment#ModelQuality",
1262+
"traits": {
1263+
"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>"
1264+
}
12591265
}
12601266
},
12611267
"traits": {
@@ -3265,6 +3271,12 @@
32653271
"traits": {
32663272
"smithy.api#documentation": "<p>Configuration information for the model's pointwise model diagnostics.</p>"
32673273
}
3274+
},
3275+
"ModelQuality": {
3276+
"target": "com.amazonaws.lookoutequipment#ModelQuality",
3277+
"traits": {
3278+
"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>"
3279+
}
32683280
}
32693281
},
32703282
"traits": {
@@ -3522,6 +3534,12 @@
35223534
"traits": {
35233535
"smithy.api#documentation": "<p>The Amazon S3 output prefix for where Lookout for Equipment saves the pointwise model diagnostics for the model version.</p>"
35243536
}
3537+
},
3538+
"ModelQuality": {
3539+
"target": "com.amazonaws.lookoutequipment#ModelQuality",
3540+
"traits": {
3541+
"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>"
3542+
}
35253543
}
35263544
},
35273545
"traits": {
@@ -6173,6 +6191,29 @@
61736191
}
61746192
}
61756193
},
6194+
"com.amazonaws.lookoutequipment#ModelQuality": {
6195+
"type": "enum",
6196+
"members": {
6197+
"QUALITY_THRESHOLD_MET": {
6198+
"target": "smithy.api#Unit",
6199+
"traits": {
6200+
"smithy.api#enumValue": "QUALITY_THRESHOLD_MET"
6201+
}
6202+
},
6203+
"CANNOT_DETERMINE_QUALITY": {
6204+
"target": "smithy.api#Unit",
6205+
"traits": {
6206+
"smithy.api#enumValue": "CANNOT_DETERMINE_QUALITY"
6207+
}
6208+
},
6209+
"POOR_QUALITY_DETECTED": {
6210+
"target": "smithy.api#Unit",
6211+
"traits": {
6212+
"smithy.api#enumValue": "POOR_QUALITY_DETECTED"
6213+
}
6214+
}
6215+
}
6216+
},
61766217
"com.amazonaws.lookoutequipment#ModelStatus": {
61776218
"type": "enum",
61786219
"members": {
@@ -6291,6 +6332,12 @@
62916332
},
62926333
"ModelDiagnosticsOutputConfiguration": {
62936334
"target": "com.amazonaws.lookoutequipment#ModelDiagnosticsOutputConfiguration"
6335+
},
6336+
"ModelQuality": {
6337+
"target": "com.amazonaws.lookoutequipment#ModelQuality",
6338+
"traits": {
6339+
"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>"
6340+
}
62946341
}
62956342
},
62966343
"traits": {
@@ -6423,6 +6470,12 @@
64236470
"traits": {
64246471
"smithy.api#documentation": "<p>Indicates how this model version was generated.</p>"
64256472
}
6473+
},
6474+
"ModelQuality": {
6475+
"target": "com.amazonaws.lookoutequipment#ModelQuality",
6476+
"traits": {
6477+
"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>"
6478+
}
64266479
}
64276480
},
64286481
"traits": {

0 commit comments

Comments
 (0)