diff --git a/.changes/next-release/feature-AmazonLookoutforEquipment-dab2db3.json b/.changes/next-release/feature-AmazonLookoutforEquipment-dab2db3.json new file mode 100644 index 000000000000..e15442137222 --- /dev/null +++ b/.changes/next-release/feature-AmazonLookoutforEquipment-dab2db3.json @@ -0,0 +1,6 @@ +{ + "type": "feature", + "category": "Amazon Lookout for Equipment", + "contributor": "", + "description": "This feature allows customers to see pointwise model diagnostics results for their models." +} diff --git a/services/lookoutequipment/src/main/resources/codegen-resources/endpoint-rule-set.json b/services/lookoutequipment/src/main/resources/codegen-resources/endpoint-rule-set.json index 00e0ece38711..e1ad53b092fb 100644 --- a/services/lookoutequipment/src/main/resources/codegen-resources/endpoint-rule-set.json +++ b/services/lookoutequipment/src/main/resources/codegen-resources/endpoint-rule-set.json @@ -40,7 +40,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -83,7 +82,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -96,7 +96,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -110,7 +109,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -133,7 +131,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -168,7 +165,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -179,14 +175,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": [ @@ -200,14 +198,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -216,11 +212,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -231,14 +227,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -252,7 +250,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -272,7 +269,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -283,14 +279,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -301,9 +299,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], diff --git a/services/lookoutequipment/src/main/resources/codegen-resources/service-2.json b/services/lookoutequipment/src/main/resources/codegen-resources/service-2.json index 185149e6b3ff..cb0f9dce1bff 100644 --- a/services/lookoutequipment/src/main/resources/codegen-resources/service-2.json +++ b/services/lookoutequipment/src/main/resources/codegen-resources/service-2.json @@ -1236,6 +1236,10 @@ "OffCondition":{ "shape":"OffCondition", "documentation":"

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.

" + }, + "ModelDiagnosticsOutputConfiguration":{ + "shape":"ModelDiagnosticsOutputConfiguration", + "documentation":"

The Amazon S3 location where you want Amazon Lookout for Equipment to save the pointwise model diagnostics. You must also specify the RoleArn request parameter.

" } } }, @@ -1401,7 +1405,7 @@ "type":"string", "max":2048, "min":20, - "pattern":"arn:aws(-[^:]+)?:lookoutequipment:[a-zA-Z0-9\\-]*:[0-9]{12}:dataset\\/.+" + "pattern":"arn:aws(-[^:]+)?:lookoutequipment:[a-zA-Z0-9\\-]*:[0-9]{12}:dataset\\/[0-9a-zA-Z_-]{1,200}\\/.+" }, "DatasetIdentifier":{ "type":"string", @@ -1658,7 +1662,7 @@ }, "IngestedFilesSummary":{ "shape":"IngestedFilesSummary", - "documentation":"

IngestedFilesSummary associated with the given dataset for the latest successful associated ingestion job id.

" + "documentation":"

IngestedFilesSummary associated with the given dataset for the latest successful associated ingestion job id.

" }, "RoleArn":{ "shape":"IamRoleArn", @@ -2021,6 +2025,10 @@ "RetrainingSchedulerStatus":{ "shape":"RetrainingSchedulerStatus", "documentation":"

Indicates the status of the retraining scheduler.

" + }, + "ModelDiagnosticsOutputConfiguration":{ + "shape":"ModelDiagnosticsOutputConfiguration", + "documentation":"

Configuration information for the model's pointwise model diagnostics.

" } } }, @@ -2165,6 +2173,14 @@ "AutoPromotionResultReason":{ "shape":"AutoPromotionResultReason", "documentation":"

Indicates the reason for the AutoPromotionResult. 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 MANUAL promote mode. The model will be promoted in MANAGED promote mode if the performance is better than the previous model.

" + }, + "ModelDiagnosticsOutputConfiguration":{ + "shape":"ModelDiagnosticsOutputConfiguration", + "documentation":"

The Amazon S3 location where Amazon Lookout for Equipment saves the pointwise model diagnostics for the model version.

" + }, + "ModelDiagnosticsResultsObject":{ + "shape":"S3Object", + "documentation":"

The Amazon S3 output prefix for where Lookout for Equipment saves the pointwise model diagnostics for the model version.

" } } }, @@ -2766,7 +2782,7 @@ }, "SensorsWithShortDateRange":{ "shape":"SensorsWithShortDateRange", - "documentation":"

Parameter that describes the total number of sensors that have a short date range of less than 90 days of data overall.

" + "documentation":"

Parameter that describes the total number of sensors that have a short date range of less than 14 days of data overall.

" } }, "documentation":"

Entity that comprises aggregated information on sensors having insufficient data.

" @@ -3109,7 +3125,7 @@ }, "InferenceExecutionSummaries":{ "shape":"InferenceExecutionSummaries", - "documentation":"

Provides an array of information about the individual inference executions returned from the ListInferenceExecutions operation, including model used, inference scheduler, data configuration, and so on.

" + "documentation":"

Provides an array of information about the individual inference executions returned from the ListInferenceExecutions operation, including model used, inference scheduler, data configuration, and so on.

If you don't supply the InferenceSchedulerName request parameter, or if you supply the name of an inference scheduler that doesn't exist, ListInferenceExecutions returns an empty array in InferenceExecutionSummaries.

" } } }, @@ -3187,7 +3203,7 @@ "members":{ "LabelGroupName":{ "shape":"LabelGroupName", - "documentation":"

Retruns the name of the label group.

" + "documentation":"

Returns the name of the label group.

" }, "IntervalStartTime":{ "shape":"Timestamp", @@ -3224,7 +3240,7 @@ }, "LabelSummaries":{ "shape":"LabelSummaries", - "documentation":"

A summary of the items in the label group.

" + "documentation":"

A summary of the items in the label group.

If you don't supply the LabelGroupName request parameter, or if you supply the name of a label group that doesn't exist, ListLabels returns an empty array in LabelSummaries.

" } } }, @@ -3279,7 +3295,7 @@ }, "ModelVersionSummaries":{ "shape":"ModelVersionSummaries", - "documentation":"

Provides information on the specified model version, including the created time, model and dataset ARNs, and status.

" + "documentation":"

Provides information on the specified model version, including the created time, model and dataset ARNs, and status.

If you don't supply the ModelName request parameter, or if you supply the name of a model that doesn't exist, ListModelVersions returns an empty array in ModelVersionSummaries.

" } } }, @@ -3458,6 +3474,36 @@ "min":20, "pattern":"arn:aws(-[^:]+)?:lookoutequipment:[a-zA-Z0-9\\-]*:[0-9]{12}:model\\/.+" }, + "ModelDiagnosticsOutputConfiguration":{ + "type":"structure", + "required":["S3OutputConfiguration"], + "members":{ + "S3OutputConfiguration":{ + "shape":"ModelDiagnosticsS3OutputConfiguration", + "documentation":"

The Amazon S3 location for the pointwise model diagnostics.

" + }, + "KmsKeyId":{ + "shape":"NameOrArn", + "documentation":"

The Amazon Web Services Key Management Service (KMS) key identifier to encrypt the pointwise model diagnostics files.

" + } + }, + "documentation":"

Output configuration information for the pointwise model diagnostics for an Amazon Lookout for Equipment model.

" + }, + "ModelDiagnosticsS3OutputConfiguration":{ + "type":"structure", + "required":["Bucket"], + "members":{ + "Bucket":{ + "shape":"S3Bucket", + "documentation":"

The name of the Amazon S3 bucket where the pointwise model diagnostics are located. You must be the owner of the Amazon S3 bucket.

" + }, + "Prefix":{ + "shape":"S3Prefix", + "documentation":"

The Amazon S3 prefix for the location of the pointwise model diagnostics. The prefix specifies the folder and evaluation result file name. (bucket).

When you call CreateModel or UpdateModel, 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 model_diagnostics_results.json.gz.

When you call DescribeModel or DescribeModelVersion, prefix contains the file path and filename of the model evaluation file.

" + } + }, + "documentation":"

The Amazon S3 location for the pointwise model diagnostics for an Amazon Lookout for Equipment model.

" + }, "ModelMetrics":{ "type":"string", "max":50000, @@ -3543,7 +3589,8 @@ "RetrainingSchedulerStatus":{ "shape":"RetrainingSchedulerStatus", "documentation":"

Indicates the status of the retraining scheduler.

" - } + }, + "ModelDiagnosticsOutputConfiguration":{"shape":"ModelDiagnosticsOutputConfiguration"} }, "documentation":"

Provides information about the specified machine learning model, including dataset and model names and ARNs, as well as status.

" }, @@ -3555,7 +3602,7 @@ "type":"string", "max":2048, "min":20, - "pattern":"^arn:aws(-[^:]+)?:lookoutequipment:[a-zA-Z0-9\\-]*:[0-9]{12}:model\\/.+\\/.+\\/model-version\\/[0-9]{1,}$" + "pattern":"^arn:aws(-[^:]+)?:lookoutequipment:[a-zA-Z0-9\\-]*:[0-9]{12}:model\\/[0-9a-zA-Z_-]{1,200}\\/.+\\/model-version\\/[0-9]{1,}$" }, "ModelVersionSourceType":{ "type":"string", @@ -3888,7 +3935,7 @@ "members":{ "AffectedSensorCount":{ "shape":"Integer", - "documentation":"

Indicates the number of sensors that have less than 90 days of data.

" + "documentation":"

Indicates the number of sensors that have less than 14 days of data.

" } }, "documentation":"

Entity that comprises information on sensors that have shorter date range.

" @@ -4303,6 +4350,10 @@ "RoleArn":{ "shape":"IamRoleArn", "documentation":"

The ARN of the model to update.

" + }, + "ModelDiagnosticsOutputConfiguration":{ + "shape":"ModelDiagnosticsOutputConfiguration", + "documentation":"

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 RoleArn request parameter.

" } } },