aws-sdk-lookoutmetrics 1.15.0 → 1.18.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: dac12f4d3ddcc5135f94182884bc37fc201a6c88f6b5771d9d356224c006b89b
4
- data.tar.gz: '08d680204a9ce01e91c5b05dc67e46debd0c30c04981c93bb048e14ddb2228e4'
3
+ metadata.gz: 316b81895fdc3eec74216636bd66d896d0f8560886f4a6c84caa347b59bda274
4
+ data.tar.gz: 98db724b218a1e386fc5f4a6b4265b1710d32125703fcdc0093f30fe98694629
5
5
  SHA512:
6
- metadata.gz: 698e9ac7d9ad7fb79057592dc5648d78d47eba5bd7d4795bf82c963f831182f63c46722b63bd7bdcb65f13568dbcbf3ede2e2e0236c33cdc39f2f1dd0ddafce8
7
- data.tar.gz: e4265ae206b06fbcd4e4f0d961ff97fa3e7c8899fd455bf67393a17c574173868c7c0d083c4455d1979d0d7f7d8904c9ad793142e8bdf6c6296a5e4a1566db0b
6
+ metadata.gz: a4f8c8d40a648ad9678ae0b2873a51d745a670cacd0b50335472e0496c6e6848f126ab13d1ce1fbe67771c76e6edbe176366b9bc98ae717e1ebe73ff30ca9f37
7
+ data.tar.gz: 9fdedea54380542ccc52602489d5011cc851ad4fa05d818ed8c1e978e41d00a120e804890de9ed0005f9e790f71b262445fe12727ff47334c8df31f41ae4c2e2
data/CHANGELOG.md CHANGED
@@ -1,6 +1,21 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.18.0 (2022-05-25)
5
+ ------------------
6
+
7
+ * Feature - Adding AthenaSourceConfig for MetricSet APIs to support Athena as a data source.
8
+
9
+ 1.17.0 (2022-05-19)
10
+ ------------------
11
+
12
+ * Feature - In this release we added SnsFormat to SNSConfiguration to support human readable alert.
13
+
14
+ 1.16.0 (2022-04-21)
15
+ ------------------
16
+
17
+ * Feature - Added DetectMetricSetConfig API for detecting configuration required for creating metric set from provided S3 data source.
18
+
4
19
  1.15.0 (2022-02-24)
5
20
  ------------------
6
21
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.15.0
1
+ 1.18.0
@@ -434,6 +434,7 @@ module Aws::LookoutMetrics
434
434
  # sns_configuration: {
435
435
  # role_arn: "Arn", # required
436
436
  # sns_topic_arn: "Arn", # required
437
+ # sns_format: "LONG_TEXT", # accepts LONG_TEXT, SHORT_TEXT, JSON
437
438
  # },
438
439
  # lambda_configuration: {
439
440
  # role_arn: "Arn", # required
@@ -630,6 +631,17 @@ module Aws::LookoutMetrics
630
631
  # security_group_id_list: ["SecurityGroupId"], # required
631
632
  # },
632
633
  # },
634
+ # athena_source_config: {
635
+ # role_arn: "Arn",
636
+ # database_name: "AthenaDatabaseName",
637
+ # data_catalog: "AthenaDataCatalog",
638
+ # table_name: "AthenaTableName",
639
+ # work_group_name: "AthenaWorkGroupName",
640
+ # s3_results_path: "AthenaS3ResultsPath",
641
+ # back_test_configuration: {
642
+ # run_back_test_mode: false, # required
643
+ # },
644
+ # },
633
645
  # },
634
646
  # timezone: "Timezone",
635
647
  # tags: {
@@ -742,6 +754,7 @@ module Aws::LookoutMetrics
742
754
  #
743
755
  # resp.alert.action.sns_configuration.role_arn #=> String
744
756
  # resp.alert.action.sns_configuration.sns_topic_arn #=> String
757
+ # resp.alert.action.sns_configuration.sns_format #=> String, one of "LONG_TEXT", "SHORT_TEXT", "JSON"
745
758
  # resp.alert.action.lambda_configuration.role_arn #=> String
746
759
  # resp.alert.action.lambda_configuration.lambda_arn #=> String
747
760
  # resp.alert.alert_description #=> String
@@ -953,6 +966,13 @@ module Aws::LookoutMetrics
953
966
  # resp.metric_source.redshift_source_config.vpc_configuration.subnet_id_list[0] #=> String
954
967
  # resp.metric_source.redshift_source_config.vpc_configuration.security_group_id_list #=> Array
955
968
  # resp.metric_source.redshift_source_config.vpc_configuration.security_group_id_list[0] #=> String
969
+ # resp.metric_source.athena_source_config.role_arn #=> String
970
+ # resp.metric_source.athena_source_config.database_name #=> String
971
+ # resp.metric_source.athena_source_config.data_catalog #=> String
972
+ # resp.metric_source.athena_source_config.table_name #=> String
973
+ # resp.metric_source.athena_source_config.work_group_name #=> String
974
+ # resp.metric_source.athena_source_config.s3_results_path #=> String
975
+ # resp.metric_source.athena_source_config.back_test_configuration.run_back_test_mode #=> Boolean
956
976
  #
957
977
  # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/DescribeMetricSet AWS API Documentation
958
978
  #
@@ -963,6 +983,72 @@ module Aws::LookoutMetrics
963
983
  req.send_request(options)
964
984
  end
965
985
 
986
+ # Detects an Amazon S3 dataset's file format, interval, and offset.
987
+ #
988
+ # @option params [required, String] :anomaly_detector_arn
989
+ # An anomaly detector ARN.
990
+ #
991
+ # @option params [required, Types::AutoDetectionMetricSource] :auto_detection_metric_source
992
+ # A data source.
993
+ #
994
+ # @return [Types::DetectMetricSetConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
995
+ #
996
+ # * {Types::DetectMetricSetConfigResponse#detected_metric_set_config #detected_metric_set_config} => Types::DetectedMetricSetConfig
997
+ #
998
+ # @example Request syntax with placeholder values
999
+ #
1000
+ # resp = client.detect_metric_set_config({
1001
+ # anomaly_detector_arn: "Arn", # required
1002
+ # auto_detection_metric_source: { # required
1003
+ # s3_source_config: {
1004
+ # templated_path_list: ["TemplatedPath"],
1005
+ # historical_data_path_list: ["HistoricalDataPath"],
1006
+ # },
1007
+ # },
1008
+ # })
1009
+ #
1010
+ # @example Response structure
1011
+ #
1012
+ # resp.detected_metric_set_config.offset.value #=> <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
1013
+ # resp.detected_metric_set_config.offset.confidence #=> String, one of "HIGH", "LOW", "NONE"
1014
+ # resp.detected_metric_set_config.offset.message #=> String
1015
+ # resp.detected_metric_set_config.metric_set_frequency.value #=> <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
1016
+ # resp.detected_metric_set_config.metric_set_frequency.confidence #=> String, one of "HIGH", "LOW", "NONE"
1017
+ # resp.detected_metric_set_config.metric_set_frequency.message #=> String
1018
+ # resp.detected_metric_set_config.metric_source.s3_source_config.file_format_descriptor.csv_format_descriptor.file_compression.value #=> <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
1019
+ # resp.detected_metric_set_config.metric_source.s3_source_config.file_format_descriptor.csv_format_descriptor.file_compression.confidence #=> String, one of "HIGH", "LOW", "NONE"
1020
+ # resp.detected_metric_set_config.metric_source.s3_source_config.file_format_descriptor.csv_format_descriptor.file_compression.message #=> String
1021
+ # resp.detected_metric_set_config.metric_source.s3_source_config.file_format_descriptor.csv_format_descriptor.charset.value #=> <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
1022
+ # resp.detected_metric_set_config.metric_source.s3_source_config.file_format_descriptor.csv_format_descriptor.charset.confidence #=> String, one of "HIGH", "LOW", "NONE"
1023
+ # resp.detected_metric_set_config.metric_source.s3_source_config.file_format_descriptor.csv_format_descriptor.charset.message #=> String
1024
+ # resp.detected_metric_set_config.metric_source.s3_source_config.file_format_descriptor.csv_format_descriptor.contains_header.value #=> <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
1025
+ # resp.detected_metric_set_config.metric_source.s3_source_config.file_format_descriptor.csv_format_descriptor.contains_header.confidence #=> String, one of "HIGH", "LOW", "NONE"
1026
+ # resp.detected_metric_set_config.metric_source.s3_source_config.file_format_descriptor.csv_format_descriptor.contains_header.message #=> String
1027
+ # resp.detected_metric_set_config.metric_source.s3_source_config.file_format_descriptor.csv_format_descriptor.delimiter.value #=> <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
1028
+ # resp.detected_metric_set_config.metric_source.s3_source_config.file_format_descriptor.csv_format_descriptor.delimiter.confidence #=> String, one of "HIGH", "LOW", "NONE"
1029
+ # resp.detected_metric_set_config.metric_source.s3_source_config.file_format_descriptor.csv_format_descriptor.delimiter.message #=> String
1030
+ # resp.detected_metric_set_config.metric_source.s3_source_config.file_format_descriptor.csv_format_descriptor.header_list.value #=> <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
1031
+ # resp.detected_metric_set_config.metric_source.s3_source_config.file_format_descriptor.csv_format_descriptor.header_list.confidence #=> String, one of "HIGH", "LOW", "NONE"
1032
+ # resp.detected_metric_set_config.metric_source.s3_source_config.file_format_descriptor.csv_format_descriptor.header_list.message #=> String
1033
+ # resp.detected_metric_set_config.metric_source.s3_source_config.file_format_descriptor.csv_format_descriptor.quote_symbol.value #=> <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
1034
+ # resp.detected_metric_set_config.metric_source.s3_source_config.file_format_descriptor.csv_format_descriptor.quote_symbol.confidence #=> String, one of "HIGH", "LOW", "NONE"
1035
+ # resp.detected_metric_set_config.metric_source.s3_source_config.file_format_descriptor.csv_format_descriptor.quote_symbol.message #=> String
1036
+ # resp.detected_metric_set_config.metric_source.s3_source_config.file_format_descriptor.json_format_descriptor.file_compression.value #=> <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
1037
+ # resp.detected_metric_set_config.metric_source.s3_source_config.file_format_descriptor.json_format_descriptor.file_compression.confidence #=> String, one of "HIGH", "LOW", "NONE"
1038
+ # resp.detected_metric_set_config.metric_source.s3_source_config.file_format_descriptor.json_format_descriptor.file_compression.message #=> String
1039
+ # resp.detected_metric_set_config.metric_source.s3_source_config.file_format_descriptor.json_format_descriptor.charset.value #=> <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
1040
+ # resp.detected_metric_set_config.metric_source.s3_source_config.file_format_descriptor.json_format_descriptor.charset.confidence #=> String, one of "HIGH", "LOW", "NONE"
1041
+ # resp.detected_metric_set_config.metric_source.s3_source_config.file_format_descriptor.json_format_descriptor.charset.message #=> String
1042
+ #
1043
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/DetectMetricSetConfig AWS API Documentation
1044
+ #
1045
+ # @overload detect_metric_set_config(params = {})
1046
+ # @param [Hash] params ({})
1047
+ def detect_metric_set_config(params = {}, options = {})
1048
+ req = build_request(:detect_metric_set_config, params)
1049
+ req.send_request(options)
1050
+ end
1051
+
966
1052
  # Returns details about a group of anomalous metrics.
967
1053
  #
968
1054
  # @option params [required, String] :anomaly_group_id
@@ -1641,7 +1727,7 @@ module Aws::LookoutMetrics
1641
1727
  # The dataset's interval.
1642
1728
  #
1643
1729
  # @option params [Types::MetricSource] :metric_source
1644
- # Contains information about source data used to generate a metric.
1730
+ # Contains information about source data used to generate metrics.
1645
1731
  #
1646
1732
  # @return [Types::UpdateMetricSetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1647
1733
  #
@@ -1719,6 +1805,17 @@ module Aws::LookoutMetrics
1719
1805
  # security_group_id_list: ["SecurityGroupId"], # required
1720
1806
  # },
1721
1807
  # },
1808
+ # athena_source_config: {
1809
+ # role_arn: "Arn",
1810
+ # database_name: "AthenaDatabaseName",
1811
+ # data_catalog: "AthenaDataCatalog",
1812
+ # table_name: "AthenaTableName",
1813
+ # work_group_name: "AthenaWorkGroupName",
1814
+ # s3_results_path: "AthenaS3ResultsPath",
1815
+ # back_test_configuration: {
1816
+ # run_back_test_mode: false, # required
1817
+ # },
1818
+ # },
1722
1819
  # },
1723
1820
  # })
1724
1821
  #
@@ -1748,7 +1845,7 @@ module Aws::LookoutMetrics
1748
1845
  params: params,
1749
1846
  config: config)
1750
1847
  context[:gem_name] = 'aws-sdk-lookoutmetrics'
1751
- context[:gem_version] = '1.15.0'
1848
+ context[:gem_version] = '1.18.0'
1752
1849
  Seahorse::Client::Request.new(handlers, context)
1753
1850
  end
1754
1851
 
@@ -43,13 +43,26 @@ module Aws::LookoutMetrics
43
43
  AnomalyGroupTimeSeriesFeedback = Shapes::StructureShape.new(name: 'AnomalyGroupTimeSeriesFeedback')
44
44
  AppFlowConfig = Shapes::StructureShape.new(name: 'AppFlowConfig')
45
45
  Arn = Shapes::StringShape.new(name: 'Arn')
46
+ AthenaDataCatalog = Shapes::StringShape.new(name: 'AthenaDataCatalog')
47
+ AthenaDatabaseName = Shapes::StringShape.new(name: 'AthenaDatabaseName')
48
+ AthenaS3ResultsPath = Shapes::StringShape.new(name: 'AthenaS3ResultsPath')
49
+ AthenaSourceConfig = Shapes::StructureShape.new(name: 'AthenaSourceConfig')
50
+ AthenaTableName = Shapes::StringShape.new(name: 'AthenaTableName')
51
+ AthenaWorkGroupName = Shapes::StringShape.new(name: 'AthenaWorkGroupName')
52
+ AttributeValue = Shapes::StructureShape.new(name: 'AttributeValue')
53
+ AutoDetectionMetricSource = Shapes::StructureShape.new(name: 'AutoDetectionMetricSource')
54
+ AutoDetectionS3SourceConfig = Shapes::StructureShape.new(name: 'AutoDetectionS3SourceConfig')
46
55
  BackTestAnomalyDetectorRequest = Shapes::StructureShape.new(name: 'BackTestAnomalyDetectorRequest')
47
56
  BackTestAnomalyDetectorResponse = Shapes::StructureShape.new(name: 'BackTestAnomalyDetectorResponse')
57
+ BackTestConfiguration = Shapes::StructureShape.new(name: 'BackTestConfiguration')
58
+ BinaryAttributeValue = Shapes::StringShape.new(name: 'BinaryAttributeValue')
59
+ BinaryListAttributeValue = Shapes::ListShape.new(name: 'BinaryListAttributeValue')
48
60
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
49
61
  CSVFileCompression = Shapes::StringShape.new(name: 'CSVFileCompression')
50
62
  Charset = Shapes::StringShape.new(name: 'Charset')
51
63
  CloudWatchConfig = Shapes::StructureShape.new(name: 'CloudWatchConfig')
52
64
  ColumnName = Shapes::StringShape.new(name: 'ColumnName')
65
+ Confidence = Shapes::StringShape.new(name: 'Confidence')
53
66
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
54
67
  ContributionMatrix = Shapes::StructureShape.new(name: 'ContributionMatrix')
55
68
  CreateAlertRequest = Shapes::StructureShape.new(name: 'CreateAlertRequest')
@@ -78,6 +91,15 @@ module Aws::LookoutMetrics
78
91
  DescribeAnomalyDetectorResponse = Shapes::StructureShape.new(name: 'DescribeAnomalyDetectorResponse')
79
92
  DescribeMetricSetRequest = Shapes::StructureShape.new(name: 'DescribeMetricSetRequest')
80
93
  DescribeMetricSetResponse = Shapes::StructureShape.new(name: 'DescribeMetricSetResponse')
94
+ DetectMetricSetConfigRequest = Shapes::StructureShape.new(name: 'DetectMetricSetConfigRequest')
95
+ DetectMetricSetConfigResponse = Shapes::StructureShape.new(name: 'DetectMetricSetConfigResponse')
96
+ DetectedCsvFormatDescriptor = Shapes::StructureShape.new(name: 'DetectedCsvFormatDescriptor')
97
+ DetectedField = Shapes::StructureShape.new(name: 'DetectedField')
98
+ DetectedFileFormatDescriptor = Shapes::StructureShape.new(name: 'DetectedFileFormatDescriptor')
99
+ DetectedJsonFormatDescriptor = Shapes::StructureShape.new(name: 'DetectedJsonFormatDescriptor')
100
+ DetectedMetricSetConfig = Shapes::StructureShape.new(name: 'DetectedMetricSetConfig')
101
+ DetectedMetricSource = Shapes::StructureShape.new(name: 'DetectedMetricSource')
102
+ DetectedS3SourceConfig = Shapes::StructureShape.new(name: 'DetectedS3SourceConfig')
81
103
  DimensionContribution = Shapes::StructureShape.new(name: 'DimensionContribution')
82
104
  DimensionContributionList = Shapes::ListShape.new(name: 'DimensionContributionList')
83
105
  DimensionList = Shapes::ListShape.new(name: 'DimensionList')
@@ -145,6 +167,8 @@ module Aws::LookoutMetrics
145
167
  MetricValueList = Shapes::ListShape.new(name: 'MetricValueList')
146
168
  Namespace = Shapes::StringShape.new(name: 'Namespace')
147
169
  NextToken = Shapes::StringShape.new(name: 'NextToken')
170
+ NumberAttributeValue = Shapes::StringShape.new(name: 'NumberAttributeValue')
171
+ NumberListAttributeValue = Shapes::ListShape.new(name: 'NumberListAttributeValue')
148
172
  Offset = Shapes::IntegerShape.new(name: 'Offset')
149
173
  PoirotSecretManagerArn = Shapes::StringShape.new(name: 'PoirotSecretManagerArn')
150
174
  PutFeedbackRequest = Shapes::StructureShape.new(name: 'PutFeedbackRequest')
@@ -172,6 +196,9 @@ module Aws::LookoutMetrics
172
196
  SensitivityThreshold = Shapes::IntegerShape.new(name: 'SensitivityThreshold')
173
197
  ServiceCode = Shapes::StringShape.new(name: 'ServiceCode')
174
198
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
199
+ SnsFormat = Shapes::StringShape.new(name: 'SnsFormat')
200
+ StringAttributeValue = Shapes::StringShape.new(name: 'StringAttributeValue')
201
+ StringListAttributeValue = Shapes::ListShape.new(name: 'StringListAttributeValue')
175
202
  SubnetId = Shapes::StringShape.new(name: 'SubnetId')
176
203
  SubnetIdList = Shapes::ListShape.new(name: 'SubnetIdList')
177
204
  TableName = Shapes::StringShape.new(name: 'TableName')
@@ -296,11 +323,40 @@ module Aws::LookoutMetrics
296
323
  AppFlowConfig.add_member(:flow_name, Shapes::ShapeRef.new(shape: FlowName, location_name: "FlowName"))
297
324
  AppFlowConfig.struct_class = Types::AppFlowConfig
298
325
 
326
+ AthenaSourceConfig.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "RoleArn"))
327
+ AthenaSourceConfig.add_member(:database_name, Shapes::ShapeRef.new(shape: AthenaDatabaseName, location_name: "DatabaseName"))
328
+ AthenaSourceConfig.add_member(:data_catalog, Shapes::ShapeRef.new(shape: AthenaDataCatalog, location_name: "DataCatalog"))
329
+ AthenaSourceConfig.add_member(:table_name, Shapes::ShapeRef.new(shape: AthenaTableName, location_name: "TableName"))
330
+ AthenaSourceConfig.add_member(:work_group_name, Shapes::ShapeRef.new(shape: AthenaWorkGroupName, location_name: "WorkGroupName"))
331
+ AthenaSourceConfig.add_member(:s3_results_path, Shapes::ShapeRef.new(shape: AthenaS3ResultsPath, location_name: "S3ResultsPath"))
332
+ AthenaSourceConfig.add_member(:back_test_configuration, Shapes::ShapeRef.new(shape: BackTestConfiguration, location_name: "BackTestConfiguration"))
333
+ AthenaSourceConfig.struct_class = Types::AthenaSourceConfig
334
+
335
+ AttributeValue.add_member(:s, Shapes::ShapeRef.new(shape: StringAttributeValue, location_name: "S"))
336
+ AttributeValue.add_member(:n, Shapes::ShapeRef.new(shape: NumberAttributeValue, location_name: "N"))
337
+ AttributeValue.add_member(:b, Shapes::ShapeRef.new(shape: BinaryAttributeValue, location_name: "B"))
338
+ AttributeValue.add_member(:ss, Shapes::ShapeRef.new(shape: StringListAttributeValue, location_name: "SS"))
339
+ AttributeValue.add_member(:ns, Shapes::ShapeRef.new(shape: NumberListAttributeValue, location_name: "NS"))
340
+ AttributeValue.add_member(:bs, Shapes::ShapeRef.new(shape: BinaryListAttributeValue, location_name: "BS"))
341
+ AttributeValue.struct_class = Types::AttributeValue
342
+
343
+ AutoDetectionMetricSource.add_member(:s3_source_config, Shapes::ShapeRef.new(shape: AutoDetectionS3SourceConfig, location_name: "S3SourceConfig"))
344
+ AutoDetectionMetricSource.struct_class = Types::AutoDetectionMetricSource
345
+
346
+ AutoDetectionS3SourceConfig.add_member(:templated_path_list, Shapes::ShapeRef.new(shape: TemplatedPathList, location_name: "TemplatedPathList"))
347
+ AutoDetectionS3SourceConfig.add_member(:historical_data_path_list, Shapes::ShapeRef.new(shape: HistoricalDataPathList, location_name: "HistoricalDataPathList"))
348
+ AutoDetectionS3SourceConfig.struct_class = Types::AutoDetectionS3SourceConfig
349
+
299
350
  BackTestAnomalyDetectorRequest.add_member(:anomaly_detector_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "AnomalyDetectorArn"))
300
351
  BackTestAnomalyDetectorRequest.struct_class = Types::BackTestAnomalyDetectorRequest
301
352
 
302
353
  BackTestAnomalyDetectorResponse.struct_class = Types::BackTestAnomalyDetectorResponse
303
354
 
355
+ BackTestConfiguration.add_member(:run_back_test_mode, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "RunBackTestMode"))
356
+ BackTestConfiguration.struct_class = Types::BackTestConfiguration
357
+
358
+ BinaryListAttributeValue.member = Shapes::ShapeRef.new(shape: BinaryAttributeValue)
359
+
304
360
  CloudWatchConfig.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "RoleArn"))
305
361
  CloudWatchConfig.struct_class = Types::CloudWatchConfig
306
362
 
@@ -421,6 +477,45 @@ module Aws::LookoutMetrics
421
477
  DescribeMetricSetResponse.add_member(:metric_source, Shapes::ShapeRef.new(shape: MetricSource, location_name: "MetricSource"))
422
478
  DescribeMetricSetResponse.struct_class = Types::DescribeMetricSetResponse
423
479
 
480
+ DetectMetricSetConfigRequest.add_member(:anomaly_detector_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "AnomalyDetectorArn"))
481
+ DetectMetricSetConfigRequest.add_member(:auto_detection_metric_source, Shapes::ShapeRef.new(shape: AutoDetectionMetricSource, required: true, location_name: "AutoDetectionMetricSource"))
482
+ DetectMetricSetConfigRequest.struct_class = Types::DetectMetricSetConfigRequest
483
+
484
+ DetectMetricSetConfigResponse.add_member(:detected_metric_set_config, Shapes::ShapeRef.new(shape: DetectedMetricSetConfig, location_name: "DetectedMetricSetConfig"))
485
+ DetectMetricSetConfigResponse.struct_class = Types::DetectMetricSetConfigResponse
486
+
487
+ DetectedCsvFormatDescriptor.add_member(:file_compression, Shapes::ShapeRef.new(shape: DetectedField, location_name: "FileCompression"))
488
+ DetectedCsvFormatDescriptor.add_member(:charset, Shapes::ShapeRef.new(shape: DetectedField, location_name: "Charset"))
489
+ DetectedCsvFormatDescriptor.add_member(:contains_header, Shapes::ShapeRef.new(shape: DetectedField, location_name: "ContainsHeader"))
490
+ DetectedCsvFormatDescriptor.add_member(:delimiter, Shapes::ShapeRef.new(shape: DetectedField, location_name: "Delimiter"))
491
+ DetectedCsvFormatDescriptor.add_member(:header_list, Shapes::ShapeRef.new(shape: DetectedField, location_name: "HeaderList"))
492
+ DetectedCsvFormatDescriptor.add_member(:quote_symbol, Shapes::ShapeRef.new(shape: DetectedField, location_name: "QuoteSymbol"))
493
+ DetectedCsvFormatDescriptor.struct_class = Types::DetectedCsvFormatDescriptor
494
+
495
+ DetectedField.add_member(:value, Shapes::ShapeRef.new(shape: AttributeValue, location_name: "Value"))
496
+ DetectedField.add_member(:confidence, Shapes::ShapeRef.new(shape: Confidence, location_name: "Confidence"))
497
+ DetectedField.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
498
+ DetectedField.struct_class = Types::DetectedField
499
+
500
+ DetectedFileFormatDescriptor.add_member(:csv_format_descriptor, Shapes::ShapeRef.new(shape: DetectedCsvFormatDescriptor, location_name: "CsvFormatDescriptor"))
501
+ DetectedFileFormatDescriptor.add_member(:json_format_descriptor, Shapes::ShapeRef.new(shape: DetectedJsonFormatDescriptor, location_name: "JsonFormatDescriptor"))
502
+ DetectedFileFormatDescriptor.struct_class = Types::DetectedFileFormatDescriptor
503
+
504
+ DetectedJsonFormatDescriptor.add_member(:file_compression, Shapes::ShapeRef.new(shape: DetectedField, location_name: "FileCompression"))
505
+ DetectedJsonFormatDescriptor.add_member(:charset, Shapes::ShapeRef.new(shape: DetectedField, location_name: "Charset"))
506
+ DetectedJsonFormatDescriptor.struct_class = Types::DetectedJsonFormatDescriptor
507
+
508
+ DetectedMetricSetConfig.add_member(:offset, Shapes::ShapeRef.new(shape: DetectedField, location_name: "Offset"))
509
+ DetectedMetricSetConfig.add_member(:metric_set_frequency, Shapes::ShapeRef.new(shape: DetectedField, location_name: "MetricSetFrequency"))
510
+ DetectedMetricSetConfig.add_member(:metric_source, Shapes::ShapeRef.new(shape: DetectedMetricSource, location_name: "MetricSource"))
511
+ DetectedMetricSetConfig.struct_class = Types::DetectedMetricSetConfig
512
+
513
+ DetectedMetricSource.add_member(:s3_source_config, Shapes::ShapeRef.new(shape: DetectedS3SourceConfig, location_name: "S3SourceConfig"))
514
+ DetectedMetricSource.struct_class = Types::DetectedMetricSource
515
+
516
+ DetectedS3SourceConfig.add_member(:file_format_descriptor, Shapes::ShapeRef.new(shape: DetectedFileFormatDescriptor, location_name: "FileFormatDescriptor"))
517
+ DetectedS3SourceConfig.struct_class = Types::DetectedS3SourceConfig
518
+
424
519
  DimensionContribution.add_member(:dimension_name, Shapes::ShapeRef.new(shape: ColumnName, location_name: "DimensionName"))
425
520
  DimensionContribution.add_member(:dimension_value_contribution_list, Shapes::ShapeRef.new(shape: DimensionValueContributionList, location_name: "DimensionValueContributionList"))
426
521
  DimensionContribution.struct_class = Types::DimensionContribution
@@ -605,10 +700,13 @@ module Aws::LookoutMetrics
605
700
  MetricSource.add_member(:cloud_watch_config, Shapes::ShapeRef.new(shape: CloudWatchConfig, location_name: "CloudWatchConfig"))
606
701
  MetricSource.add_member(:rds_source_config, Shapes::ShapeRef.new(shape: RDSSourceConfig, location_name: "RDSSourceConfig"))
607
702
  MetricSource.add_member(:redshift_source_config, Shapes::ShapeRef.new(shape: RedshiftSourceConfig, location_name: "RedshiftSourceConfig"))
703
+ MetricSource.add_member(:athena_source_config, Shapes::ShapeRef.new(shape: AthenaSourceConfig, location_name: "AthenaSourceConfig"))
608
704
  MetricSource.struct_class = Types::MetricSource
609
705
 
610
706
  MetricValueList.member = Shapes::ShapeRef.new(shape: MetricValue)
611
707
 
708
+ NumberListAttributeValue.member = Shapes::ShapeRef.new(shape: NumberAttributeValue)
709
+
612
710
  PutFeedbackRequest.add_member(:anomaly_detector_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "AnomalyDetectorArn"))
613
711
  PutFeedbackRequest.add_member(:anomaly_group_time_series_feedback, Shapes::ShapeRef.new(shape: AnomalyGroupTimeSeriesFeedback, required: true, location_name: "AnomalyGroupTimeSeriesFeedback"))
614
712
  PutFeedbackRequest.struct_class = Types::PutFeedbackRequest
@@ -648,6 +746,7 @@ module Aws::LookoutMetrics
648
746
 
649
747
  SNSConfiguration.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "RoleArn"))
650
748
  SNSConfiguration.add_member(:sns_topic_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "SnsTopicArn"))
749
+ SNSConfiguration.add_member(:sns_format, Shapes::ShapeRef.new(shape: SnsFormat, location_name: "SnsFormat"))
651
750
  SNSConfiguration.struct_class = Types::SNSConfiguration
652
751
 
653
752
  SampleDataS3SourceConfig.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "RoleArn"))
@@ -669,6 +768,8 @@ module Aws::LookoutMetrics
669
768
  ServiceQuotaExceededException.add_member(:service_code, Shapes::ShapeRef.new(shape: ServiceCode, location_name: "ServiceCode"))
670
769
  ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
671
770
 
771
+ StringListAttributeValue.member = Shapes::ShapeRef.new(shape: StringAttributeValue)
772
+
672
773
  SubnetIdList.member = Shapes::ShapeRef.new(shape: SubnetId)
673
774
 
674
775
  TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
@@ -939,6 +1040,19 @@ module Aws::LookoutMetrics
939
1040
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
940
1041
  end)
941
1042
 
1043
+ api.add_operation(:detect_metric_set_config, Seahorse::Model::Operation.new.tap do |o|
1044
+ o.name = "DetectMetricSetConfig"
1045
+ o.http_method = "POST"
1046
+ o.http_request_uri = "/DetectMetricSetConfig"
1047
+ o.input = Shapes::ShapeRef.new(shape: DetectMetricSetConfigRequest)
1048
+ o.output = Shapes::ShapeRef.new(shape: DetectMetricSetConfigResponse)
1049
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1050
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1051
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1052
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1053
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1054
+ end)
1055
+
942
1056
  api.add_operation(:get_anomaly_group, Seahorse::Model::Operation.new.tap do |o|
943
1057
  o.name = "GetAnomalyGroup"
944
1058
  o.http_method = "POST"
@@ -33,6 +33,7 @@ module Aws::LookoutMetrics
33
33
  # sns_configuration: {
34
34
  # role_arn: "Arn", # required
35
35
  # sns_topic_arn: "Arn", # required
36
+ # sns_format: "LONG_TEXT", # accepts LONG_TEXT, SHORT_TEXT, JSON
36
37
  # },
37
38
  # lambda_configuration: {
38
39
  # role_arn: "Arn", # required
@@ -465,6 +466,156 @@ module Aws::LookoutMetrics
465
466
  include Aws::Structure
466
467
  end
467
468
 
469
+ # Details about an Amazon Athena datasource.
470
+ #
471
+ # @note When making an API call, you may pass AthenaSourceConfig
472
+ # data as a hash:
473
+ #
474
+ # {
475
+ # role_arn: "Arn",
476
+ # database_name: "AthenaDatabaseName",
477
+ # data_catalog: "AthenaDataCatalog",
478
+ # table_name: "AthenaTableName",
479
+ # work_group_name: "AthenaWorkGroupName",
480
+ # s3_results_path: "AthenaS3ResultsPath",
481
+ # back_test_configuration: {
482
+ # run_back_test_mode: false, # required
483
+ # },
484
+ # }
485
+ #
486
+ # @!attribute [rw] role_arn
487
+ # An IAM role that gives Amazon Lookout for Metrics permission to
488
+ # access the data.
489
+ # @return [String]
490
+ #
491
+ # @!attribute [rw] database_name
492
+ # The database's name.
493
+ # @return [String]
494
+ #
495
+ # @!attribute [rw] data_catalog
496
+ # The database's data catalog.
497
+ # @return [String]
498
+ #
499
+ # @!attribute [rw] table_name
500
+ # The database's table name.
501
+ # @return [String]
502
+ #
503
+ # @!attribute [rw] work_group_name
504
+ # The database's work group name.
505
+ # @return [String]
506
+ #
507
+ # @!attribute [rw] s3_results_path
508
+ # The database's results path.
509
+ # @return [String]
510
+ #
511
+ # @!attribute [rw] back_test_configuration
512
+ # Settings for backtest mode.
513
+ # @return [Types::BackTestConfiguration]
514
+ #
515
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/AthenaSourceConfig AWS API Documentation
516
+ #
517
+ class AthenaSourceConfig < Struct.new(
518
+ :role_arn,
519
+ :database_name,
520
+ :data_catalog,
521
+ :table_name,
522
+ :work_group_name,
523
+ :s3_results_path,
524
+ :back_test_configuration)
525
+ SENSITIVE = []
526
+ include Aws::Structure
527
+ end
528
+
529
+ # An attribute value.
530
+ #
531
+ # @!attribute [rw] s
532
+ # A string.
533
+ # @return [String]
534
+ #
535
+ # @!attribute [rw] n
536
+ # A number.
537
+ # @return [String]
538
+ #
539
+ # @!attribute [rw] b
540
+ # A binary value.
541
+ # @return [String]
542
+ #
543
+ # @!attribute [rw] ss
544
+ # A list of strings.
545
+ # @return [Array<String>]
546
+ #
547
+ # @!attribute [rw] ns
548
+ # A list of numbers.
549
+ # @return [Array<String>]
550
+ #
551
+ # @!attribute [rw] bs
552
+ # A list of binary values.
553
+ # @return [Array<String>]
554
+ #
555
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/AttributeValue AWS API Documentation
556
+ #
557
+ class AttributeValue < Struct.new(
558
+ :s,
559
+ :n,
560
+ :b,
561
+ :ss,
562
+ :ns,
563
+ :bs)
564
+ SENSITIVE = []
565
+ include Aws::Structure
566
+ end
567
+
568
+ # An auto detection metric source.
569
+ #
570
+ # @note When making an API call, you may pass AutoDetectionMetricSource
571
+ # data as a hash:
572
+ #
573
+ # {
574
+ # s3_source_config: {
575
+ # templated_path_list: ["TemplatedPath"],
576
+ # historical_data_path_list: ["HistoricalDataPath"],
577
+ # },
578
+ # }
579
+ #
580
+ # @!attribute [rw] s3_source_config
581
+ # The source's source config.
582
+ # @return [Types::AutoDetectionS3SourceConfig]
583
+ #
584
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/AutoDetectionMetricSource AWS API Documentation
585
+ #
586
+ class AutoDetectionMetricSource < Struct.new(
587
+ :s3_source_config)
588
+ SENSITIVE = []
589
+ include Aws::Structure
590
+ end
591
+
592
+ # An auto detection source config.
593
+ #
594
+ # @note When making an API call, you may pass AutoDetectionS3SourceConfig
595
+ # data as a hash:
596
+ #
597
+ # {
598
+ # templated_path_list: ["TemplatedPath"],
599
+ # historical_data_path_list: ["HistoricalDataPath"],
600
+ # }
601
+ #
602
+ # @!attribute [rw] templated_path_list
603
+ # The config's templated path list.
604
+ # @return [Array<String>]
605
+ #
606
+ # @!attribute [rw] historical_data_path_list
607
+ # The config's historical data path list.
608
+ # @return [Array<String>]
609
+ #
610
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/AutoDetectionS3SourceConfig AWS API Documentation
611
+ #
612
+ class AutoDetectionS3SourceConfig < Struct.new(
613
+ :templated_path_list,
614
+ :historical_data_path_list)
615
+ SENSITIVE = []
616
+ include Aws::Structure
617
+ end
618
+
468
619
  # @note When making an API call, you may pass BackTestAnomalyDetectorRequest
469
620
  # data as a hash:
470
621
  #
@@ -488,6 +639,27 @@ module Aws::LookoutMetrics
488
639
  #
489
640
  class BackTestAnomalyDetectorResponse < Aws::EmptyStructure; end
490
641
 
642
+ # Settings for backtest mode.
643
+ #
644
+ # @note When making an API call, you may pass BackTestConfiguration
645
+ # data as a hash:
646
+ #
647
+ # {
648
+ # run_back_test_mode: false, # required
649
+ # }
650
+ #
651
+ # @!attribute [rw] run_back_test_mode
652
+ # Run a backtest instead of monitoring new data.
653
+ # @return [Boolean]
654
+ #
655
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/BackTestConfiguration AWS API Documentation
656
+ #
657
+ class BackTestConfiguration < Struct.new(
658
+ :run_back_test_mode)
659
+ SENSITIVE = []
660
+ include Aws::Structure
661
+ end
662
+
491
663
  # Details about an Amazon CloudWatch datasource.
492
664
  #
493
665
  # @note When making an API call, you may pass CloudWatchConfig
@@ -559,6 +731,7 @@ module Aws::LookoutMetrics
559
731
  # sns_configuration: {
560
732
  # role_arn: "Arn", # required
561
733
  # sns_topic_arn: "Arn", # required
734
+ # sns_format: "LONG_TEXT", # accepts LONG_TEXT, SHORT_TEXT, JSON
562
735
  # },
563
736
  # lambda_configuration: {
564
737
  # role_arn: "Arn", # required
@@ -761,6 +934,17 @@ module Aws::LookoutMetrics
761
934
  # security_group_id_list: ["SecurityGroupId"], # required
762
935
  # },
763
936
  # },
937
+ # athena_source_config: {
938
+ # role_arn: "Arn",
939
+ # database_name: "AthenaDatabaseName",
940
+ # data_catalog: "AthenaDataCatalog",
941
+ # table_name: "AthenaTableName",
942
+ # work_group_name: "AthenaWorkGroupName",
943
+ # s3_results_path: "AthenaS3ResultsPath",
944
+ # back_test_configuration: {
945
+ # run_back_test_mode: false, # required
946
+ # },
947
+ # },
764
948
  # },
765
949
  # timezone: "Timezone",
766
950
  # tags: {
@@ -1227,6 +1411,201 @@ module Aws::LookoutMetrics
1227
1411
  include Aws::Structure
1228
1412
  end
1229
1413
 
1414
+ # @note When making an API call, you may pass DetectMetricSetConfigRequest
1415
+ # data as a hash:
1416
+ #
1417
+ # {
1418
+ # anomaly_detector_arn: "Arn", # required
1419
+ # auto_detection_metric_source: { # required
1420
+ # s3_source_config: {
1421
+ # templated_path_list: ["TemplatedPath"],
1422
+ # historical_data_path_list: ["HistoricalDataPath"],
1423
+ # },
1424
+ # },
1425
+ # }
1426
+ #
1427
+ # @!attribute [rw] anomaly_detector_arn
1428
+ # An anomaly detector ARN.
1429
+ # @return [String]
1430
+ #
1431
+ # @!attribute [rw] auto_detection_metric_source
1432
+ # A data source.
1433
+ # @return [Types::AutoDetectionMetricSource]
1434
+ #
1435
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/DetectMetricSetConfigRequest AWS API Documentation
1436
+ #
1437
+ class DetectMetricSetConfigRequest < Struct.new(
1438
+ :anomaly_detector_arn,
1439
+ :auto_detection_metric_source)
1440
+ SENSITIVE = []
1441
+ include Aws::Structure
1442
+ end
1443
+
1444
+ # @!attribute [rw] detected_metric_set_config
1445
+ # The inferred dataset configuration for the datasource.
1446
+ # @return [Types::DetectedMetricSetConfig]
1447
+ #
1448
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/DetectMetricSetConfigResponse AWS API Documentation
1449
+ #
1450
+ class DetectMetricSetConfigResponse < Struct.new(
1451
+ :detected_metric_set_config)
1452
+ SENSITIVE = []
1453
+ include Aws::Structure
1454
+ end
1455
+
1456
+ # Properties of an inferred CSV format.
1457
+ #
1458
+ # @!attribute [rw] file_compression
1459
+ # The format's file compression.
1460
+ # @return [Types::DetectedField]
1461
+ #
1462
+ # @!attribute [rw] charset
1463
+ # The format's charset.
1464
+ # @return [Types::DetectedField]
1465
+ #
1466
+ # @!attribute [rw] contains_header
1467
+ # Whether the format includes a header.
1468
+ # @return [Types::DetectedField]
1469
+ #
1470
+ # @!attribute [rw] delimiter
1471
+ # The format's delimiter.
1472
+ # @return [Types::DetectedField]
1473
+ #
1474
+ # @!attribute [rw] header_list
1475
+ # The format's header list.
1476
+ # @return [Types::DetectedField]
1477
+ #
1478
+ # @!attribute [rw] quote_symbol
1479
+ # The format's quote symbol.
1480
+ # @return [Types::DetectedField]
1481
+ #
1482
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/DetectedCsvFormatDescriptor AWS API Documentation
1483
+ #
1484
+ class DetectedCsvFormatDescriptor < Struct.new(
1485
+ :file_compression,
1486
+ :charset,
1487
+ :contains_header,
1488
+ :delimiter,
1489
+ :header_list,
1490
+ :quote_symbol)
1491
+ SENSITIVE = []
1492
+ include Aws::Structure
1493
+ end
1494
+
1495
+ # An inferred field.
1496
+ #
1497
+ # @!attribute [rw] value
1498
+ # The field's value.
1499
+ # @return [Types::AttributeValue]
1500
+ #
1501
+ # @!attribute [rw] confidence
1502
+ # The field's confidence.
1503
+ # @return [String]
1504
+ #
1505
+ # @!attribute [rw] message
1506
+ # The field's message.
1507
+ # @return [String]
1508
+ #
1509
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/DetectedField AWS API Documentation
1510
+ #
1511
+ class DetectedField < Struct.new(
1512
+ :value,
1513
+ :confidence,
1514
+ :message)
1515
+ SENSITIVE = []
1516
+ include Aws::Structure
1517
+ end
1518
+
1519
+ # Properties of an inferred data format.
1520
+ #
1521
+ # @!attribute [rw] csv_format_descriptor
1522
+ # Details about a CSV format.
1523
+ # @return [Types::DetectedCsvFormatDescriptor]
1524
+ #
1525
+ # @!attribute [rw] json_format_descriptor
1526
+ # Details about a JSON format.
1527
+ # @return [Types::DetectedJsonFormatDescriptor]
1528
+ #
1529
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/DetectedFileFormatDescriptor AWS API Documentation
1530
+ #
1531
+ class DetectedFileFormatDescriptor < Struct.new(
1532
+ :csv_format_descriptor,
1533
+ :json_format_descriptor)
1534
+ SENSITIVE = []
1535
+ include Aws::Structure
1536
+ end
1537
+
1538
+ # A detected JSON format descriptor.
1539
+ #
1540
+ # @!attribute [rw] file_compression
1541
+ # The format's file compression.
1542
+ # @return [Types::DetectedField]
1543
+ #
1544
+ # @!attribute [rw] charset
1545
+ # The format's character set.
1546
+ # @return [Types::DetectedField]
1547
+ #
1548
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/DetectedJsonFormatDescriptor AWS API Documentation
1549
+ #
1550
+ class DetectedJsonFormatDescriptor < Struct.new(
1551
+ :file_compression,
1552
+ :charset)
1553
+ SENSITIVE = []
1554
+ include Aws::Structure
1555
+ end
1556
+
1557
+ # An inferred dataset configuration.
1558
+ #
1559
+ # @!attribute [rw] offset
1560
+ # The dataset's offset.
1561
+ # @return [Types::DetectedField]
1562
+ #
1563
+ # @!attribute [rw] metric_set_frequency
1564
+ # The dataset's interval.
1565
+ # @return [Types::DetectedField]
1566
+ #
1567
+ # @!attribute [rw] metric_source
1568
+ # The dataset's data source.
1569
+ # @return [Types::DetectedMetricSource]
1570
+ #
1571
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/DetectedMetricSetConfig AWS API Documentation
1572
+ #
1573
+ class DetectedMetricSetConfig < Struct.new(
1574
+ :offset,
1575
+ :metric_set_frequency,
1576
+ :metric_source)
1577
+ SENSITIVE = []
1578
+ include Aws::Structure
1579
+ end
1580
+
1581
+ # An inferred data source.
1582
+ #
1583
+ # @!attribute [rw] s3_source_config
1584
+ # The data source's source configuration.
1585
+ # @return [Types::DetectedS3SourceConfig]
1586
+ #
1587
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/DetectedMetricSource AWS API Documentation
1588
+ #
1589
+ class DetectedMetricSource < Struct.new(
1590
+ :s3_source_config)
1591
+ SENSITIVE = []
1592
+ include Aws::Structure
1593
+ end
1594
+
1595
+ # An inferred source configuration.
1596
+ #
1597
+ # @!attribute [rw] file_format_descriptor
1598
+ # The source's file format descriptor.
1599
+ # @return [Types::DetectedFileFormatDescriptor]
1600
+ #
1601
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/DetectedS3SourceConfig AWS API Documentation
1602
+ #
1603
+ class DetectedS3SourceConfig < Struct.new(
1604
+ :file_format_descriptor)
1605
+ SENSITIVE = []
1606
+ include Aws::Structure
1607
+ end
1608
+
1230
1609
  # Details about a dimension that contributed to an anomaly.
1231
1610
  #
1232
1611
  # @!attribute [rw] dimension_name
@@ -2105,7 +2484,7 @@ module Aws::LookoutMetrics
2105
2484
  include Aws::Structure
2106
2485
  end
2107
2486
 
2108
- # Contains information about source data used to generate a metric.
2487
+ # Contains information about source data used to generate metrics.
2109
2488
  #
2110
2489
  # @note When making an API call, you may pass MetricSource
2111
2490
  # data as a hash:
@@ -2163,6 +2542,17 @@ module Aws::LookoutMetrics
2163
2542
  # security_group_id_list: ["SecurityGroupId"], # required
2164
2543
  # },
2165
2544
  # },
2545
+ # athena_source_config: {
2546
+ # role_arn: "Arn",
2547
+ # database_name: "AthenaDatabaseName",
2548
+ # data_catalog: "AthenaDataCatalog",
2549
+ # table_name: "AthenaTableName",
2550
+ # work_group_name: "AthenaWorkGroupName",
2551
+ # s3_results_path: "AthenaS3ResultsPath",
2552
+ # back_test_configuration: {
2553
+ # run_back_test_mode: false, # required
2554
+ # },
2555
+ # },
2166
2556
  # }
2167
2557
  #
2168
2558
  # @!attribute [rw] s3_source_config
@@ -2171,24 +2561,26 @@ module Aws::LookoutMetrics
2171
2561
  # @return [Types::S3SourceConfig]
2172
2562
  #
2173
2563
  # @!attribute [rw] app_flow_config
2174
- # An object containing information about the AppFlow configuration.
2564
+ # Details about an AppFlow datasource.
2175
2565
  # @return [Types::AppFlowConfig]
2176
2566
  #
2177
2567
  # @!attribute [rw] cloud_watch_config
2178
- # An object containing information about the Amazon CloudWatch
2179
- # monitoring configuration.
2568
+ # Details about an Amazon CloudWatch monitoring datasource.
2180
2569
  # @return [Types::CloudWatchConfig]
2181
2570
  #
2182
2571
  # @!attribute [rw] rds_source_config
2183
- # An object containing information about the Amazon Relational
2184
- # Database Service (RDS) configuration.
2572
+ # Details about an Amazon Relational Database Service (RDS)
2573
+ # datasource.
2185
2574
  # @return [Types::RDSSourceConfig]
2186
2575
  #
2187
2576
  # @!attribute [rw] redshift_source_config
2188
- # An object containing information about the Amazon Redshift database
2189
- # configuration.
2577
+ # Details about an Amazon Redshift database datasource.
2190
2578
  # @return [Types::RedshiftSourceConfig]
2191
2579
  #
2580
+ # @!attribute [rw] athena_source_config
2581
+ # Details about an Amazon Athena datasource.
2582
+ # @return [Types::AthenaSourceConfig]
2583
+ #
2192
2584
  # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/MetricSource AWS API Documentation
2193
2585
  #
2194
2586
  class MetricSource < Struct.new(
@@ -2196,7 +2588,8 @@ module Aws::LookoutMetrics
2196
2588
  :app_flow_config,
2197
2589
  :cloud_watch_config,
2198
2590
  :rds_source_config,
2199
- :redshift_source_config)
2591
+ :redshift_source_config,
2592
+ :athena_source_config)
2200
2593
  SENSITIVE = []
2201
2594
  include Aws::Structure
2202
2595
  end
@@ -2457,6 +2850,7 @@ module Aws::LookoutMetrics
2457
2850
  # {
2458
2851
  # role_arn: "Arn", # required
2459
2852
  # sns_topic_arn: "Arn", # required
2853
+ # sns_format: "LONG_TEXT", # accepts LONG_TEXT, SHORT_TEXT, JSON
2460
2854
  # }
2461
2855
  #
2462
2856
  # @!attribute [rw] role_arn
@@ -2467,11 +2861,16 @@ module Aws::LookoutMetrics
2467
2861
  # The ARN of the target SNS topic.
2468
2862
  # @return [String]
2469
2863
  #
2864
+ # @!attribute [rw] sns_format
2865
+ # The format of the SNS topic.
2866
+ # @return [String]
2867
+ #
2470
2868
  # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/SNSConfiguration AWS API Documentation
2471
2869
  #
2472
2870
  class SNSConfiguration < Struct.new(
2473
2871
  :role_arn,
2474
- :sns_topic_arn)
2872
+ :sns_topic_arn,
2873
+ :sns_format)
2475
2874
  SENSITIVE = []
2476
2875
  include Aws::Structure
2477
2876
  end
@@ -2835,6 +3234,17 @@ module Aws::LookoutMetrics
2835
3234
  # security_group_id_list: ["SecurityGroupId"], # required
2836
3235
  # },
2837
3236
  # },
3237
+ # athena_source_config: {
3238
+ # role_arn: "Arn",
3239
+ # database_name: "AthenaDatabaseName",
3240
+ # data_catalog: "AthenaDataCatalog",
3241
+ # table_name: "AthenaTableName",
3242
+ # work_group_name: "AthenaWorkGroupName",
3243
+ # s3_results_path: "AthenaS3ResultsPath",
3244
+ # back_test_configuration: {
3245
+ # run_back_test_mode: false, # required
3246
+ # },
3247
+ # },
2838
3248
  # },
2839
3249
  # }
2840
3250
  #
@@ -2869,7 +3279,7 @@ module Aws::LookoutMetrics
2869
3279
  # @return [String]
2870
3280
  #
2871
3281
  # @!attribute [rw] metric_source
2872
- # Contains information about source data used to generate a metric.
3282
+ # Contains information about source data used to generate metrics.
2873
3283
  # @return [Types::MetricSource]
2874
3284
  #
2875
3285
  # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/UpdateMetricSetRequest AWS API Documentation
@@ -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.15.0'
51
+ GEM_VERSION = '1.18.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.15.0
4
+ version: 1.18.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-02-24 00:00:00.000000000 Z
11
+ date: 2022-05-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core