Skip to content

Commit 0d2f44a

Browse files
author
AWS
committed
Amazon Lookout for Equipment Update: This feature allows customers to see pointwise model diagnostics results for their models.
1 parent 12e4e47 commit 0d2f44a

File tree

3 files changed

+87
-30
lines changed

3 files changed

+87
-30
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon Lookout for Equipment",
4+
"contributor": "",
5+
"description": "This feature allows customers to see pointwise model diagnostics results for their models."
6+
}

services/lookoutequipment/src/main/resources/codegen-resources/endpoint-rule-set.json

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
]
4141
}
4242
],
43-
"type": "tree",
4443
"rules": [
4544
{
4645
"conditions": [
@@ -83,7 +82,8 @@
8382
},
8483
"type": "endpoint"
8584
}
86-
]
85+
],
86+
"type": "tree"
8787
},
8888
{
8989
"conditions": [
@@ -96,7 +96,6 @@
9696
]
9797
}
9898
],
99-
"type": "tree",
10099
"rules": [
101100
{
102101
"conditions": [
@@ -110,7 +109,6 @@
110109
"assign": "PartitionResult"
111110
}
112111
],
113-
"type": "tree",
114112
"rules": [
115113
{
116114
"conditions": [
@@ -133,7 +131,6 @@
133131
]
134132
}
135133
],
136-
"type": "tree",
137134
"rules": [
138135
{
139136
"conditions": [
@@ -168,7 +165,6 @@
168165
]
169166
}
170167
],
171-
"type": "tree",
172168
"rules": [
173169
{
174170
"conditions": [],
@@ -179,14 +175,16 @@
179175
},
180176
"type": "endpoint"
181177
}
182-
]
178+
],
179+
"type": "tree"
183180
},
184181
{
185182
"conditions": [],
186183
"error": "FIPS and DualStack are enabled, but this partition does not support one or both",
187184
"type": "error"
188185
}
189-
]
186+
],
187+
"type": "tree"
190188
},
191189
{
192190
"conditions": [
@@ -200,14 +198,12 @@
200198
]
201199
}
202200
],
203-
"type": "tree",
204201
"rules": [
205202
{
206203
"conditions": [
207204
{
208205
"fn": "booleanEquals",
209206
"argv": [
210-
true,
211207
{
212208
"fn": "getAttr",
213209
"argv": [
@@ -216,11 +212,11 @@
216212
},
217213
"supportsFIPS"
218214
]
219-
}
215+
},
216+
true
220217
]
221218
}
222219
],
223-
"type": "tree",
224220
"rules": [
225221
{
226222
"conditions": [],
@@ -231,14 +227,16 @@
231227
},
232228
"type": "endpoint"
233229
}
234-
]
230+
],
231+
"type": "tree"
235232
},
236233
{
237234
"conditions": [],
238235
"error": "FIPS is enabled but this partition does not support FIPS",
239236
"type": "error"
240237
}
241-
]
238+
],
239+
"type": "tree"
242240
},
243241
{
244242
"conditions": [
@@ -252,7 +250,6 @@
252250
]
253251
}
254252
],
255-
"type": "tree",
256253
"rules": [
257254
{
258255
"conditions": [
@@ -272,7 +269,6 @@
272269
]
273270
}
274271
],
275-
"type": "tree",
276272
"rules": [
277273
{
278274
"conditions": [],
@@ -283,14 +279,16 @@
283279
},
284280
"type": "endpoint"
285281
}
286-
]
282+
],
283+
"type": "tree"
287284
},
288285
{
289286
"conditions": [],
290287
"error": "DualStack is enabled but this partition does not support DualStack",
291288
"type": "error"
292289
}
293-
]
290+
],
291+
"type": "tree"
294292
},
295293
{
296294
"conditions": [],
@@ -301,9 +299,11 @@
301299
},
302300
"type": "endpoint"
303301
}
304-
]
302+
],
303+
"type": "tree"
305304
}
306-
]
305+
],
306+
"type": "tree"
307307
},
308308
{
309309
"conditions": [],

services/lookoutequipment/src/main/resources/codegen-resources/service-2.json

Lines changed: 61 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1236,6 +1236,10 @@
12361236
"OffCondition":{
12371237
"shape":"OffCondition",
12381238
"documentation":"<p>Indicates that the asset associated with this sensor has been shut off. As long as this condition is met, Lookout for Equipment will not use data from this asset for training, evaluation, or inference.</p>"
1239+
},
1240+
"ModelDiagnosticsOutputConfiguration":{
1241+
"shape":"ModelDiagnosticsOutputConfiguration",
1242+
"documentation":"<p>The Amazon S3 location where you want Amazon Lookout for Equipment to save the pointwise model diagnostics. You must also specify the <code>RoleArn</code> request parameter.</p>"
12391243
}
12401244
}
12411245
},
@@ -1401,7 +1405,7 @@
14011405
"type":"string",
14021406
"max":2048,
14031407
"min":20,
1404-
"pattern":"arn:aws(-[^:]+)?:lookoutequipment:[a-zA-Z0-9\\-]*:[0-9]{12}:dataset\\/.+"
1408+
"pattern":"arn:aws(-[^:]+)?:lookoutequipment:[a-zA-Z0-9\\-]*:[0-9]{12}:dataset\\/[0-9a-zA-Z_-]{1,200}\\/.+"
14051409
},
14061410
"DatasetIdentifier":{
14071411
"type":"string",
@@ -1658,7 +1662,7 @@
16581662
},
16591663
"IngestedFilesSummary":{
16601664
"shape":"IngestedFilesSummary",
1661-
"documentation":"<p> IngestedFilesSummary associated with the given dataset for the latest successful associated ingestion job id. </p>"
1665+
"documentation":"<p>IngestedFilesSummary associated with the given dataset for the latest successful associated ingestion job id. </p>"
16621666
},
16631667
"RoleArn":{
16641668
"shape":"IamRoleArn",
@@ -2021,6 +2025,10 @@
20212025
"RetrainingSchedulerStatus":{
20222026
"shape":"RetrainingSchedulerStatus",
20232027
"documentation":"<p>Indicates the status of the retraining scheduler. </p>"
2028+
},
2029+
"ModelDiagnosticsOutputConfiguration":{
2030+
"shape":"ModelDiagnosticsOutputConfiguration",
2031+
"documentation":"<p>Configuration information for the model's pointwise model diagnostics.</p>"
20242032
}
20252033
}
20262034
},
@@ -2165,6 +2173,14 @@
21652173
"AutoPromotionResultReason":{
21662174
"shape":"AutoPromotionResultReason",
21672175
"documentation":"<p>Indicates the reason for the <code>AutoPromotionResult</code>. For example, a model might not be promoted if its performance was worse than the active version, if there was an error during training, or if the retraining scheduler was using <code>MANUAL</code> promote mode. The model will be promoted in <code>MANAGED</code> promote mode if the performance is better than the previous model. </p>"
2176+
},
2177+
"ModelDiagnosticsOutputConfiguration":{
2178+
"shape":"ModelDiagnosticsOutputConfiguration",
2179+
"documentation":"<p>The Amazon S3 location where Amazon Lookout for Equipment saves the pointwise model diagnostics for the model version.</p>"
2180+
},
2181+
"ModelDiagnosticsResultsObject":{
2182+
"shape":"S3Object",
2183+
"documentation":"<p>The Amazon S3 output prefix for where Lookout for Equipment saves the pointwise model diagnostics for the model version.</p>"
21682184
}
21692185
}
21702186
},
@@ -2766,7 +2782,7 @@
27662782
},
27672783
"SensorsWithShortDateRange":{
27682784
"shape":"SensorsWithShortDateRange",
2769-
"documentation":"<p> Parameter that describes the total number of sensors that have a short date range of less than 90 days of data overall. </p>"
2785+
"documentation":"<p> Parameter that describes the total number of sensors that have a short date range of less than 14 days of data overall. </p>"
27702786
}
27712787
},
27722788
"documentation":"<p> Entity that comprises aggregated information on sensors having insufficient data. </p>"
@@ -3109,7 +3125,7 @@
31093125
},
31103126
"InferenceExecutionSummaries":{
31113127
"shape":"InferenceExecutionSummaries",
3112-
"documentation":"<p>Provides an array of information about the individual inference executions returned from the <code>ListInferenceExecutions</code> operation, including model used, inference scheduler, data configuration, and so on. </p>"
3128+
"documentation":"<p>Provides an array of information about the individual inference executions returned from the <code>ListInferenceExecutions</code> operation, including model used, inference scheduler, data configuration, and so on. </p> <note> <p>If you don't supply the <code>InferenceSchedulerName</code> request parameter, or if you supply the name of an inference scheduler that doesn't exist, <code>ListInferenceExecutions</code> returns an empty array in <code>InferenceExecutionSummaries</code>.</p> </note>"
31133129
}
31143130
}
31153131
},
@@ -3187,7 +3203,7 @@
31873203
"members":{
31883204
"LabelGroupName":{
31893205
"shape":"LabelGroupName",
3190-
"documentation":"<p> Retruns the name of the label group. </p>"
3206+
"documentation":"<p> Returns the name of the label group. </p>"
31913207
},
31923208
"IntervalStartTime":{
31933209
"shape":"Timestamp",
@@ -3224,7 +3240,7 @@
32243240
},
32253241
"LabelSummaries":{
32263242
"shape":"LabelSummaries",
3227-
"documentation":"<p> A summary of the items in the label group. </p>"
3243+
"documentation":"<p> A summary of the items in the label group. </p> <note> <p>If you don't supply the <code>LabelGroupName</code> request parameter, or if you supply the name of a label group that doesn't exist, <code>ListLabels</code> returns an empty array in <code>LabelSummaries</code>.</p> </note>"
32283244
}
32293245
}
32303246
},
@@ -3279,7 +3295,7 @@
32793295
},
32803296
"ModelVersionSummaries":{
32813297
"shape":"ModelVersionSummaries",
3282-
"documentation":"<p>Provides information on the specified model version, including the created time, model and dataset ARNs, and status.</p>"
3298+
"documentation":"<p>Provides information on the specified model version, including the created time, model and dataset ARNs, and status.</p> <note> <p>If you don't supply the <code>ModelName</code> request parameter, or if you supply the name of a model that doesn't exist, <code>ListModelVersions</code> returns an empty array in <code>ModelVersionSummaries</code>. </p> </note>"
32833299
}
32843300
}
32853301
},
@@ -3458,6 +3474,36 @@
34583474
"min":20,
34593475
"pattern":"arn:aws(-[^:]+)?:lookoutequipment:[a-zA-Z0-9\\-]*:[0-9]{12}:model\\/.+"
34603476
},
3477+
"ModelDiagnosticsOutputConfiguration":{
3478+
"type":"structure",
3479+
"required":["S3OutputConfiguration"],
3480+
"members":{
3481+
"S3OutputConfiguration":{
3482+
"shape":"ModelDiagnosticsS3OutputConfiguration",
3483+
"documentation":"<p>The Amazon S3 location for the pointwise model diagnostics. </p>"
3484+
},
3485+
"KmsKeyId":{
3486+
"shape":"NameOrArn",
3487+
"documentation":"<p>The Amazon Web Services Key Management Service (KMS) key identifier to encrypt the pointwise model diagnostics files.</p>"
3488+
}
3489+
},
3490+
"documentation":"<p>Output configuration information for the pointwise model diagnostics for an Amazon Lookout for Equipment model.</p>"
3491+
},
3492+
"ModelDiagnosticsS3OutputConfiguration":{
3493+
"type":"structure",
3494+
"required":["Bucket"],
3495+
"members":{
3496+
"Bucket":{
3497+
"shape":"S3Bucket",
3498+
"documentation":"<p>The name of the Amazon S3 bucket where the pointwise model diagnostics are located. You must be the owner of the Amazon S3 bucket. </p>"
3499+
},
3500+
"Prefix":{
3501+
"shape":"S3Prefix",
3502+
"documentation":"<p>The Amazon S3 prefix for the location of the pointwise model diagnostics. The prefix specifies the folder and evaluation result file name. (<code>bucket</code>).</p> <p>When you call <code>CreateModel</code> or <code>UpdateModel</code>, specify the path within the bucket that you want Lookout for Equipment to save the model to. During training, Lookout for Equipment creates the model evaluation model as a compressed JSON file with the name <code>model_diagnostics_results.json.gz</code>.</p> <p>When you call <code>DescribeModel</code> or <code>DescribeModelVersion</code>, <code>prefix</code> contains the file path and filename of the model evaluation file. </p>"
3503+
}
3504+
},
3505+
"documentation":"<p>The Amazon S3 location for the pointwise model diagnostics for an Amazon Lookout for Equipment model. </p>"
3506+
},
34613507
"ModelMetrics":{
34623508
"type":"string",
34633509
"max":50000,
@@ -3543,7 +3589,8 @@
35433589
"RetrainingSchedulerStatus":{
35443590
"shape":"RetrainingSchedulerStatus",
35453591
"documentation":"<p>Indicates the status of the retraining scheduler. </p>"
3546-
}
3592+
},
3593+
"ModelDiagnosticsOutputConfiguration":{"shape":"ModelDiagnosticsOutputConfiguration"}
35473594
},
35483595
"documentation":"<p>Provides information about the specified machine learning model, including dataset and model names and ARNs, as well as status. </p>"
35493596
},
@@ -3555,7 +3602,7 @@
35553602
"type":"string",
35563603
"max":2048,
35573604
"min":20,
3558-
"pattern":"^arn:aws(-[^:]+)?:lookoutequipment:[a-zA-Z0-9\\-]*:[0-9]{12}:model\\/.+\\/.+\\/model-version\\/[0-9]{1,}$"
3605+
"pattern":"^arn:aws(-[^:]+)?:lookoutequipment:[a-zA-Z0-9\\-]*:[0-9]{12}:model\\/[0-9a-zA-Z_-]{1,200}\\/.+\\/model-version\\/[0-9]{1,}$"
35593606
},
35603607
"ModelVersionSourceType":{
35613608
"type":"string",
@@ -3888,7 +3935,7 @@
38883935
"members":{
38893936
"AffectedSensorCount":{
38903937
"shape":"Integer",
3891-
"documentation":"<p> Indicates the number of sensors that have less than 90 days of data. </p>"
3938+
"documentation":"<p> Indicates the number of sensors that have less than 14 days of data. </p>"
38923939
}
38933940
},
38943941
"documentation":"<p> Entity that comprises information on sensors that have shorter date range. </p>"
@@ -4303,6 +4350,10 @@
43034350
"RoleArn":{
43044351
"shape":"IamRoleArn",
43054352
"documentation":"<p>The ARN of the model to update.</p>"
4353+
},
4354+
"ModelDiagnosticsOutputConfiguration":{
4355+
"shape":"ModelDiagnosticsOutputConfiguration",
4356+
"documentation":"<p>The Amazon S3 location where you want Amazon Lookout for Equipment to save the pointwise model diagnostics for the model. You must also specify the <code>RoleArn</code> request parameter.</p>"
43064357
}
43074358
}
43084359
},

0 commit comments

Comments
 (0)