aws-sdk-lookoutmetrics 1.20.0 → 1.21.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d0e847bae531bbd51387eb71c4a7ae26fdb4befa7a1b4fdffdb4911920078ebe
4
- data.tar.gz: 49714e69e68140e2356c942fc8f9e66d8ea0c24a95a30a59a3c6a2361fe75d14
3
+ metadata.gz: 611a3e0012b1c5023741f17f98742e04436de07023d2222dc17ba9be64a59ab7
4
+ data.tar.gz: c499352aafe83441dd1fdc09ba545c3289602d00ea635d3162bb23807b958e9b
5
5
  SHA512:
6
- metadata.gz: 8b19490fdd6be300c33e8468b490d915713374de06b70ca1f12aa429731864f6d40cfa840ae7ea05f75a17bdb0f523ad8bc1d6be62bfe38311e0e310c238d562
7
- data.tar.gz: 7bb59da3333c5528f161ffc56b9555d862cfe1ab27bdbf9cb293e58f01566f2b4a3e50edb1d589aa34bce98241994b49f6c0e06a3e3858e6c3821fa7a732a2ed
6
+ metadata.gz: a59f5e5e360406d787dc3b9eb96e672a37e2d84486817ff9962b8684e37003c17b4efdd28818c968028224483c76e60590fa8893d9cbcee5dc56e3e7f63d2c0c
7
+ data.tar.gz: ebc173c6018884e92b2098436cea40a8f3b891bfd9c7213cd2ff5b039bf0b7af7bc6a3777c8290cef6b35cc333e1fd0654ab59189d17c59bb6ff48f8ebff5fcd
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.21.0 (2022-08-19)
5
+ ------------------
6
+
7
+ * Feature - This release is to make GetDataQualityMetrics API publicly available.
8
+
4
9
  1.20.0 (2022-06-14)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.20.0
1
+ 1.21.0
@@ -540,8 +540,8 @@ module Aws::LookoutMetrics
540
540
  #
541
541
  # @option params [Integer] :offset
542
542
  # After an interval ends, the amount of seconds that the detector waits
543
- # before importing data. Offset is only supported for S3 and Redshift
544
- # datasources.
543
+ # before importing data. Offset is only supported for S3, Redshift,
544
+ # Athena and datasources.
545
545
  #
546
546
  # @option params [Types::TimestampColumn] :timestamp_column
547
547
  # Contains information about the column used for tracking time in your
@@ -1116,6 +1116,47 @@ module Aws::LookoutMetrics
1116
1116
  req.send_request(options)
1117
1117
  end
1118
1118
 
1119
+ # Returns details about the requested data quality metrics.
1120
+ #
1121
+ # @option params [required, String] :anomaly_detector_arn
1122
+ # The Amazon Resource Name (ARN) of the anomaly detector that you want
1123
+ # to investigate.
1124
+ #
1125
+ # @option params [String] :metric_set_arn
1126
+ # The Amazon Resource Name (ARN) of a specific data quality metric set.
1127
+ #
1128
+ # @return [Types::GetDataQualityMetricsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1129
+ #
1130
+ # * {Types::GetDataQualityMetricsResponse#anomaly_detector_data_quality_metric_list #anomaly_detector_data_quality_metric_list} => Array<Types::AnomalyDetectorDataQualityMetric>
1131
+ #
1132
+ # @example Request syntax with placeholder values
1133
+ #
1134
+ # resp = client.get_data_quality_metrics({
1135
+ # anomaly_detector_arn: "Arn", # required
1136
+ # metric_set_arn: "Arn",
1137
+ # })
1138
+ #
1139
+ # @example Response structure
1140
+ #
1141
+ # resp.anomaly_detector_data_quality_metric_list #=> Array
1142
+ # resp.anomaly_detector_data_quality_metric_list[0].start_timestamp #=> Time
1143
+ # resp.anomaly_detector_data_quality_metric_list[0].metric_set_data_quality_metric_list #=> Array
1144
+ # resp.anomaly_detector_data_quality_metric_list[0].metric_set_data_quality_metric_list[0].metric_set_arn #=> String
1145
+ # resp.anomaly_detector_data_quality_metric_list[0].metric_set_data_quality_metric_list[0].data_quality_metric_list #=> Array
1146
+ # resp.anomaly_detector_data_quality_metric_list[0].metric_set_data_quality_metric_list[0].data_quality_metric_list[0].metric_type #=> String, one of "COLUMN_COMPLETENESS", "DIMENSION_UNIQUENESS", "TIME_SERIES_COUNT", "ROWS_PROCESSED", "ROWS_PARTIAL_COMPLIANCE", "INVALID_ROWS_COMPLIANCE", "BACKTEST_TRAINING_DATA_START_TIME_STAMP", "BACKTEST_TRAINING_DATA_END_TIME_STAMP", "BACKTEST_INFERENCE_DATA_START_TIME_STAMP", "BACKTEST_INFERENCE_DATA_END_TIME_STAMP"
1147
+ # resp.anomaly_detector_data_quality_metric_list[0].metric_set_data_quality_metric_list[0].data_quality_metric_list[0].metric_description #=> String
1148
+ # resp.anomaly_detector_data_quality_metric_list[0].metric_set_data_quality_metric_list[0].data_quality_metric_list[0].related_column_name #=> String
1149
+ # resp.anomaly_detector_data_quality_metric_list[0].metric_set_data_quality_metric_list[0].data_quality_metric_list[0].metric_value #=> Float
1150
+ #
1151
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/GetDataQualityMetrics AWS API Documentation
1152
+ #
1153
+ # @overload get_data_quality_metrics(params = {})
1154
+ # @param [Hash] params ({})
1155
+ def get_data_quality_metrics(params = {}, options = {})
1156
+ req = build_request(:get_data_quality_metrics, params)
1157
+ req.send_request(options)
1158
+ end
1159
+
1119
1160
  # Get feedback for an anomaly group.
1120
1161
  #
1121
1162
  # @option params [required, String] :anomaly_detector_arn
@@ -1800,8 +1841,8 @@ module Aws::LookoutMetrics
1800
1841
  #
1801
1842
  # @option params [Integer] :offset
1802
1843
  # After an interval ends, the amount of seconds that the detector waits
1803
- # before importing data. Offset is only supported for S3 and Redshift
1804
- # datasources.
1844
+ # before importing data. Offset is only supported for S3, Redshift,
1845
+ # Athena and datasources.
1805
1846
  #
1806
1847
  # @option params [Types::TimestampColumn] :timestamp_column
1807
1848
  # The timestamp column.
@@ -1934,7 +1975,7 @@ module Aws::LookoutMetrics
1934
1975
  params: params,
1935
1976
  config: config)
1936
1977
  context[:gem_name] = 'aws-sdk-lookoutmetrics'
1937
- context[:gem_version] = '1.20.0'
1978
+ context[:gem_version] = '1.21.0'
1938
1979
  Seahorse::Client::Request.new(handlers, context)
1939
1980
  end
1940
1981
 
@@ -30,6 +30,8 @@ module Aws::LookoutMetrics
30
30
  AnomalyDetectionTaskStatusMessage = Shapes::StringShape.new(name: 'AnomalyDetectionTaskStatusMessage')
31
31
  AnomalyDetectorConfig = Shapes::StructureShape.new(name: 'AnomalyDetectorConfig')
32
32
  AnomalyDetectorConfigSummary = Shapes::StructureShape.new(name: 'AnomalyDetectorConfigSummary')
33
+ AnomalyDetectorDataQualityMetric = Shapes::StructureShape.new(name: 'AnomalyDetectorDataQualityMetric')
34
+ AnomalyDetectorDataQualityMetricList = Shapes::ListShape.new(name: 'AnomalyDetectorDataQualityMetricList')
33
35
  AnomalyDetectorDescription = Shapes::StringShape.new(name: 'AnomalyDetectorDescription')
34
36
  AnomalyDetectorFailureType = Shapes::StringShape.new(name: 'AnomalyDetectorFailureType')
35
37
  AnomalyDetectorName = Shapes::StringShape.new(name: 'AnomalyDetectorName')
@@ -74,6 +76,10 @@ module Aws::LookoutMetrics
74
76
  CreateMetricSetResponse = Shapes::StructureShape.new(name: 'CreateMetricSetResponse')
75
77
  CsvFormatDescriptor = Shapes::StructureShape.new(name: 'CsvFormatDescriptor')
76
78
  DataItem = Shapes::StringShape.new(name: 'DataItem')
79
+ DataQualityMetric = Shapes::StructureShape.new(name: 'DataQualityMetric')
80
+ DataQualityMetricDescription = Shapes::StringShape.new(name: 'DataQualityMetricDescription')
81
+ DataQualityMetricList = Shapes::ListShape.new(name: 'DataQualityMetricList')
82
+ DataQualityMetricType = Shapes::StringShape.new(name: 'DataQualityMetricType')
77
83
  DatabaseHost = Shapes::StringShape.new(name: 'DatabaseHost')
78
84
  DatabasePort = Shapes::IntegerShape.new(name: 'DatabasePort')
79
85
  DateTimeFormat = Shapes::StringShape.new(name: 'DateTimeFormat')
@@ -112,6 +118,7 @@ module Aws::LookoutMetrics
112
118
  DimensionValueContribution = Shapes::StructureShape.new(name: 'DimensionValueContribution')
113
119
  DimensionValueContributionList = Shapes::ListShape.new(name: 'DimensionValueContributionList')
114
120
  DimensionValueList = Shapes::ListShape.new(name: 'DimensionValueList')
121
+ Double = Shapes::FloatShape.new(name: 'Double')
115
122
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
116
123
  ExecutionList = Shapes::ListShape.new(name: 'ExecutionList')
117
124
  ExecutionStatus = Shapes::StructureShape.new(name: 'ExecutionStatus')
@@ -121,6 +128,8 @@ module Aws::LookoutMetrics
121
128
  Frequency = Shapes::StringShape.new(name: 'Frequency')
122
129
  GetAnomalyGroupRequest = Shapes::StructureShape.new(name: 'GetAnomalyGroupRequest')
123
130
  GetAnomalyGroupResponse = Shapes::StructureShape.new(name: 'GetAnomalyGroupResponse')
131
+ GetDataQualityMetricsRequest = Shapes::StructureShape.new(name: 'GetDataQualityMetricsRequest')
132
+ GetDataQualityMetricsResponse = Shapes::StructureShape.new(name: 'GetDataQualityMetricsResponse')
124
133
  GetFeedbackRequest = Shapes::StructureShape.new(name: 'GetFeedbackRequest')
125
134
  GetFeedbackResponse = Shapes::StructureShape.new(name: 'GetFeedbackResponse')
126
135
  GetSampleDataRequest = Shapes::StructureShape.new(name: 'GetSampleDataRequest')
@@ -163,6 +172,8 @@ module Aws::LookoutMetrics
163
172
  MetricList = Shapes::ListShape.new(name: 'MetricList')
164
173
  MetricName = Shapes::StringShape.new(name: 'MetricName')
165
174
  MetricNameList = Shapes::ListShape.new(name: 'MetricNameList')
175
+ MetricSetDataQualityMetric = Shapes::StructureShape.new(name: 'MetricSetDataQualityMetric')
176
+ MetricSetDataQualityMetricList = Shapes::ListShape.new(name: 'MetricSetDataQualityMetricList')
166
177
  MetricSetDescription = Shapes::StringShape.new(name: 'MetricSetDescription')
167
178
  MetricSetName = Shapes::StringShape.new(name: 'MetricSetName')
168
179
  MetricSetSummary = Shapes::StructureShape.new(name: 'MetricSetSummary')
@@ -186,6 +197,7 @@ module Aws::LookoutMetrics
186
197
  RedshiftClusterIdentifier = Shapes::StringShape.new(name: 'RedshiftClusterIdentifier')
187
198
  RedshiftDatabaseName = Shapes::StringShape.new(name: 'RedshiftDatabaseName')
188
199
  RedshiftSourceConfig = Shapes::StructureShape.new(name: 'RedshiftSourceConfig')
200
+ RelatedColumnName = Shapes::StringShape.new(name: 'RelatedColumnName')
189
201
  RelationshipType = Shapes::StringShape.new(name: 'RelationshipType')
190
202
  ResourceId = Shapes::StringShape.new(name: 'ResourceId')
191
203
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
@@ -289,6 +301,12 @@ module Aws::LookoutMetrics
289
301
  AnomalyDetectorConfigSummary.add_member(:anomaly_detector_frequency, Shapes::ShapeRef.new(shape: Frequency, location_name: "AnomalyDetectorFrequency"))
290
302
  AnomalyDetectorConfigSummary.struct_class = Types::AnomalyDetectorConfigSummary
291
303
 
304
+ AnomalyDetectorDataQualityMetric.add_member(:start_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "StartTimestamp"))
305
+ AnomalyDetectorDataQualityMetric.add_member(:metric_set_data_quality_metric_list, Shapes::ShapeRef.new(shape: MetricSetDataQualityMetricList, location_name: "MetricSetDataQualityMetricList"))
306
+ AnomalyDetectorDataQualityMetric.struct_class = Types::AnomalyDetectorDataQualityMetric
307
+
308
+ AnomalyDetectorDataQualityMetricList.member = Shapes::ShapeRef.new(shape: AnomalyDetectorDataQualityMetric)
309
+
292
310
  AnomalyDetectorSummary.add_member(:anomaly_detector_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "AnomalyDetectorArn"))
293
311
  AnomalyDetectorSummary.add_member(:anomaly_detector_name, Shapes::ShapeRef.new(shape: AnomalyDetectorName, location_name: "AnomalyDetectorName"))
294
312
  AnomalyDetectorSummary.add_member(:anomaly_detector_description, Shapes::ShapeRef.new(shape: AnomalyDetectorDescription, location_name: "AnomalyDetectorDescription"))
@@ -427,6 +445,14 @@ module Aws::LookoutMetrics
427
445
  CsvFormatDescriptor.add_member(:quote_symbol, Shapes::ShapeRef.new(shape: QuoteSymbol, location_name: "QuoteSymbol"))
428
446
  CsvFormatDescriptor.struct_class = Types::CsvFormatDescriptor
429
447
 
448
+ DataQualityMetric.add_member(:metric_type, Shapes::ShapeRef.new(shape: DataQualityMetricType, location_name: "MetricType"))
449
+ DataQualityMetric.add_member(:metric_description, Shapes::ShapeRef.new(shape: DataQualityMetricDescription, location_name: "MetricDescription"))
450
+ DataQualityMetric.add_member(:related_column_name, Shapes::ShapeRef.new(shape: RelatedColumnName, location_name: "RelatedColumnName"))
451
+ DataQualityMetric.add_member(:metric_value, Shapes::ShapeRef.new(shape: Double, location_name: "MetricValue"))
452
+ DataQualityMetric.struct_class = Types::DataQualityMetric
453
+
454
+ DataQualityMetricList.member = Shapes::ShapeRef.new(shape: DataQualityMetric)
455
+
430
456
  DeactivateAnomalyDetectorRequest.add_member(:anomaly_detector_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "AnomalyDetectorArn"))
431
457
  DeactivateAnomalyDetectorRequest.struct_class = Types::DeactivateAnomalyDetectorRequest
432
458
 
@@ -576,6 +602,13 @@ module Aws::LookoutMetrics
576
602
  GetAnomalyGroupResponse.add_member(:anomaly_group, Shapes::ShapeRef.new(shape: AnomalyGroup, location_name: "AnomalyGroup"))
577
603
  GetAnomalyGroupResponse.struct_class = Types::GetAnomalyGroupResponse
578
604
 
605
+ GetDataQualityMetricsRequest.add_member(:anomaly_detector_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "AnomalyDetectorArn"))
606
+ GetDataQualityMetricsRequest.add_member(:metric_set_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "MetricSetArn"))
607
+ GetDataQualityMetricsRequest.struct_class = Types::GetDataQualityMetricsRequest
608
+
609
+ GetDataQualityMetricsResponse.add_member(:anomaly_detector_data_quality_metric_list, Shapes::ShapeRef.new(shape: AnomalyDetectorDataQualityMetricList, location_name: "AnomalyDetectorDataQualityMetricList"))
610
+ GetDataQualityMetricsResponse.struct_class = Types::GetDataQualityMetricsResponse
611
+
579
612
  GetFeedbackRequest.add_member(:anomaly_detector_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "AnomalyDetectorArn"))
580
613
  GetFeedbackRequest.add_member(:anomaly_group_time_series_feedback, Shapes::ShapeRef.new(shape: AnomalyGroupTimeSeries, required: true, location_name: "AnomalyGroupTimeSeriesFeedback"))
581
614
  GetFeedbackRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults", metadata: {"box"=>true}))
@@ -708,6 +741,12 @@ module Aws::LookoutMetrics
708
741
 
709
742
  MetricNameList.member = Shapes::ShapeRef.new(shape: MetricName)
710
743
 
744
+ MetricSetDataQualityMetric.add_member(:metric_set_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "MetricSetArn"))
745
+ MetricSetDataQualityMetric.add_member(:data_quality_metric_list, Shapes::ShapeRef.new(shape: DataQualityMetricList, location_name: "DataQualityMetricList"))
746
+ MetricSetDataQualityMetric.struct_class = Types::MetricSetDataQualityMetric
747
+
748
+ MetricSetDataQualityMetricList.member = Shapes::ShapeRef.new(shape: MetricSetDataQualityMetric)
749
+
711
750
  MetricSetSummary.add_member(:metric_set_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "MetricSetArn"))
712
751
  MetricSetSummary.add_member(:anomaly_detector_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "AnomalyDetectorArn"))
713
752
  MetricSetSummary.add_member(:metric_set_description, Shapes::ShapeRef.new(shape: MetricSetDescription, location_name: "MetricSetDescription"))
@@ -1100,6 +1139,19 @@ module Aws::LookoutMetrics
1100
1139
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1101
1140
  end)
1102
1141
 
1142
+ api.add_operation(:get_data_quality_metrics, Seahorse::Model::Operation.new.tap do |o|
1143
+ o.name = "GetDataQualityMetrics"
1144
+ o.http_method = "POST"
1145
+ o.http_request_uri = "/GetDataQualityMetrics"
1146
+ o.input = Shapes::ShapeRef.new(shape: GetDataQualityMetricsRequest)
1147
+ o.output = Shapes::ShapeRef.new(shape: GetDataQualityMetricsResponse)
1148
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1149
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1150
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1151
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1152
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1153
+ end)
1154
+
1103
1155
  api.add_operation(:get_feedback, Seahorse::Model::Operation.new.tap do |o|
1104
1156
  o.name = "GetFeedback"
1105
1157
  o.http_method = "POST"
@@ -272,6 +272,27 @@ module Aws::LookoutMetrics
272
272
  include Aws::Structure
273
273
  end
274
274
 
275
+ # Aggregated details about the data quality metrics collected for the
276
+ # `AnomalyDetectorArn` provided in the GetDataQualityMetrics object.
277
+ #
278
+ # @!attribute [rw] start_timestamp
279
+ # The start time for the data quality metrics collection.
280
+ # @return [Time]
281
+ #
282
+ # @!attribute [rw] metric_set_data_quality_metric_list
283
+ # An array of `DataQualityMetricList` objects. Each object in the
284
+ # array contains information about a data quality metric.
285
+ # @return [Array<Types::MetricSetDataQualityMetric>]
286
+ #
287
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/AnomalyDetectorDataQualityMetric AWS API Documentation
288
+ #
289
+ class AnomalyDetectorDataQualityMetric < Struct.new(
290
+ :start_timestamp,
291
+ :metric_set_data_quality_metric_list)
292
+ SENSITIVE = []
293
+ include Aws::Structure
294
+ end
295
+
275
296
  # Contains information about an an anomaly detector.
276
297
  #
277
298
  # @!attribute [rw] anomaly_detector_arn
@@ -1035,8 +1056,8 @@ module Aws::LookoutMetrics
1035
1056
  #
1036
1057
  # @!attribute [rw] offset
1037
1058
  # After an interval ends, the amount of seconds that the detector
1038
- # waits before importing data. Offset is only supported for S3 and
1039
- # Redshift datasources.
1059
+ # waits before importing data. Offset is only supported for S3,
1060
+ # Redshift, Athena and datasources.
1040
1061
  # @return [Integer]
1041
1062
  #
1042
1063
  # @!attribute [rw] timestamp_column
@@ -1152,6 +1173,37 @@ module Aws::LookoutMetrics
1152
1173
  include Aws::Structure
1153
1174
  end
1154
1175
 
1176
+ # An array that describes a data quality metric. Each
1177
+ # `DataQualityMetric` object contains the data quality metric name, its
1178
+ # value, a description of the metric, and the affected column.
1179
+ #
1180
+ # @!attribute [rw] metric_type
1181
+ # The name of the data quality metric.
1182
+ # @return [String]
1183
+ #
1184
+ # @!attribute [rw] metric_description
1185
+ # A description of the data quality metric.
1186
+ # @return [String]
1187
+ #
1188
+ # @!attribute [rw] related_column_name
1189
+ # The column that is being monitored.
1190
+ # @return [String]
1191
+ #
1192
+ # @!attribute [rw] metric_value
1193
+ # The value of the data quality metric.
1194
+ # @return [Float]
1195
+ #
1196
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/DataQualityMetric AWS API Documentation
1197
+ #
1198
+ class DataQualityMetric < Struct.new(
1199
+ :metric_type,
1200
+ :metric_description,
1201
+ :related_column_name,
1202
+ :metric_value)
1203
+ SENSITIVE = []
1204
+ include Aws::Structure
1205
+ end
1206
+
1155
1207
  # @note When making an API call, you may pass DeactivateAnomalyDetectorRequest
1156
1208
  # data as a hash:
1157
1209
  #
@@ -1427,8 +1479,9 @@ module Aws::LookoutMetrics
1427
1479
  # @return [Time]
1428
1480
  #
1429
1481
  # @!attribute [rw] offset
1430
- # The offset in seconds. Only supported for S3 and Redshift
1431
- # datasources.
1482
+ # After an interval ends, the amount of seconds that the detector
1483
+ # waits before importing data. Offset is only supported for S3,
1484
+ # Redshift, Athena and datasources.
1432
1485
  # @return [Integer]
1433
1486
  #
1434
1487
  # @!attribute [rw] metric_list
@@ -1856,6 +1909,46 @@ module Aws::LookoutMetrics
1856
1909
  include Aws::Structure
1857
1910
  end
1858
1911
 
1912
+ # @note When making an API call, you may pass GetDataQualityMetricsRequest
1913
+ # data as a hash:
1914
+ #
1915
+ # {
1916
+ # anomaly_detector_arn: "Arn", # required
1917
+ # metric_set_arn: "Arn",
1918
+ # }
1919
+ #
1920
+ # @!attribute [rw] anomaly_detector_arn
1921
+ # The Amazon Resource Name (ARN) of the anomaly detector that you want
1922
+ # to investigate.
1923
+ # @return [String]
1924
+ #
1925
+ # @!attribute [rw] metric_set_arn
1926
+ # The Amazon Resource Name (ARN) of a specific data quality metric
1927
+ # set.
1928
+ # @return [String]
1929
+ #
1930
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/GetDataQualityMetricsRequest AWS API Documentation
1931
+ #
1932
+ class GetDataQualityMetricsRequest < Struct.new(
1933
+ :anomaly_detector_arn,
1934
+ :metric_set_arn)
1935
+ SENSITIVE = []
1936
+ include Aws::Structure
1937
+ end
1938
+
1939
+ # @!attribute [rw] anomaly_detector_data_quality_metric_list
1940
+ # A list of the data quality metrics for the `AnomalyDetectorArn` that
1941
+ # you requested.
1942
+ # @return [Array<Types::AnomalyDetectorDataQualityMetric>]
1943
+ #
1944
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/GetDataQualityMetricsResponse AWS API Documentation
1945
+ #
1946
+ class GetDataQualityMetricsResponse < Struct.new(
1947
+ :anomaly_detector_data_quality_metric_list)
1948
+ SENSITIVE = []
1949
+ include Aws::Structure
1950
+ end
1951
+
1859
1952
  # @note When making an API call, you may pass GetFeedbackRequest
1860
1953
  # data as a hash:
1861
1954
  #
@@ -2529,6 +2622,27 @@ module Aws::LookoutMetrics
2529
2622
  include Aws::Structure
2530
2623
  end
2531
2624
 
2625
+ # An array of `DataQualityMetric` objects that describes one or more
2626
+ # data quality metrics.
2627
+ #
2628
+ # @!attribute [rw] metric_set_arn
2629
+ # The Amazon Resource Name (ARN) of the data quality metric array.
2630
+ # @return [String]
2631
+ #
2632
+ # @!attribute [rw] data_quality_metric_list
2633
+ # The array of data quality metrics contained in the data quality
2634
+ # metric set.
2635
+ # @return [Array<Types::DataQualityMetric>]
2636
+ #
2637
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/MetricSetDataQualityMetric AWS API Documentation
2638
+ #
2639
+ class MetricSetDataQualityMetric < Struct.new(
2640
+ :metric_set_arn,
2641
+ :data_quality_metric_list)
2642
+ SENSITIVE = []
2643
+ include Aws::Structure
2644
+ end
2645
+
2532
2646
  # Contains information about a dataset.
2533
2647
  #
2534
2648
  # @!attribute [rw] metric_set_arn
@@ -3445,8 +3559,8 @@ module Aws::LookoutMetrics
3445
3559
  #
3446
3560
  # @!attribute [rw] offset
3447
3561
  # After an interval ends, the amount of seconds that the detector
3448
- # waits before importing data. Offset is only supported for S3 and
3449
- # Redshift datasources.
3562
+ # waits before importing data. Offset is only supported for S3,
3563
+ # Redshift, Athena and datasources.
3450
3564
  # @return [Integer]
3451
3565
  #
3452
3566
  # @!attribute [rw] timestamp_column
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-lookoutmetrics/customizations'
48
48
  # @!group service
49
49
  module Aws::LookoutMetrics
50
50
 
51
- GEM_VERSION = '1.20.0'
51
+ GEM_VERSION = '1.21.0'
52
52
 
53
53
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-lookoutmetrics
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.20.0
4
+ version: 1.21.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-06-14 00:00:00.000000000 Z
11
+ date: 2022-08-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core