aws-sdk-lookoutmetrics 1.15.0 → 1.16.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: 6af63fa1ce2d955ad6e943eb815a875e717dc48fa929f4584b2538b74ff16b02
4
+ data.tar.gz: b21550664cb5630a846d4ca0f6ec386aa620c53dc2cad09dfa7cedb20321b4b4
5
5
  SHA512:
6
- metadata.gz: 698e9ac7d9ad7fb79057592dc5648d78d47eba5bd7d4795bf82c963f831182f63c46722b63bd7bdcb65f13568dbcbf3ede2e2e0236c33cdc39f2f1dd0ddafce8
7
- data.tar.gz: e4265ae206b06fbcd4e4f0d961ff97fa3e7c8899fd455bf67393a17c574173868c7c0d083c4455d1979d0d7f7d8904c9ad793142e8bdf6c6296a5e4a1566db0b
6
+ metadata.gz: 5fe67e0baeeead79accc3fd63779ab9489bddfde2a0c77582d1236317e631295c93b8a0bd7470ba585deb33bce204f32161c041802bcb6780e51f65de0cf9ad4
7
+ data.tar.gz: cab5ad278ff7aa0ad7ef62a4a9734d14818f9f8ba7bf79ff8ad1b7b6f126b61d33f8e78f22b3fd684a376645d3642d0b8b0fa70572ef2c459536f7092395b0c9
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.16.0 (2022-04-21)
5
+ ------------------
6
+
7
+ * Feature - Added DetectMetricSetConfig API for detecting configuration required for creating metric set from provided S3 data source.
8
+
4
9
  1.15.0 (2022-02-24)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.15.0
1
+ 1.16.0
@@ -963,6 +963,72 @@ module Aws::LookoutMetrics
963
963
  req.send_request(options)
964
964
  end
965
965
 
966
+ # Detects an Amazon S3 dataset's file format, interval, and offset.
967
+ #
968
+ # @option params [required, String] :anomaly_detector_arn
969
+ # An anomaly detector ARN.
970
+ #
971
+ # @option params [required, Types::AutoDetectionMetricSource] :auto_detection_metric_source
972
+ # A data source.
973
+ #
974
+ # @return [Types::DetectMetricSetConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
975
+ #
976
+ # * {Types::DetectMetricSetConfigResponse#detected_metric_set_config #detected_metric_set_config} => Types::DetectedMetricSetConfig
977
+ #
978
+ # @example Request syntax with placeholder values
979
+ #
980
+ # resp = client.detect_metric_set_config({
981
+ # anomaly_detector_arn: "Arn", # required
982
+ # auto_detection_metric_source: { # required
983
+ # s3_source_config: {
984
+ # templated_path_list: ["TemplatedPath"],
985
+ # historical_data_path_list: ["HistoricalDataPath"],
986
+ # },
987
+ # },
988
+ # })
989
+ #
990
+ # @example Response structure
991
+ #
992
+ # resp.detected_metric_set_config.offset.value #=> <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
993
+ # resp.detected_metric_set_config.offset.confidence #=> String, one of "HIGH", "LOW", "NONE"
994
+ # resp.detected_metric_set_config.offset.message #=> String
995
+ # resp.detected_metric_set_config.metric_set_frequency.value #=> <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
996
+ # resp.detected_metric_set_config.metric_set_frequency.confidence #=> String, one of "HIGH", "LOW", "NONE"
997
+ # resp.detected_metric_set_config.metric_set_frequency.message #=> String
998
+ # 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>
999
+ # 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"
1000
+ # resp.detected_metric_set_config.metric_source.s3_source_config.file_format_descriptor.csv_format_descriptor.file_compression.message #=> String
1001
+ # 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>
1002
+ # resp.detected_metric_set_config.metric_source.s3_source_config.file_format_descriptor.csv_format_descriptor.charset.confidence #=> String, one of "HIGH", "LOW", "NONE"
1003
+ # resp.detected_metric_set_config.metric_source.s3_source_config.file_format_descriptor.csv_format_descriptor.charset.message #=> String
1004
+ # 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>
1005
+ # 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"
1006
+ # resp.detected_metric_set_config.metric_source.s3_source_config.file_format_descriptor.csv_format_descriptor.contains_header.message #=> String
1007
+ # 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>
1008
+ # resp.detected_metric_set_config.metric_source.s3_source_config.file_format_descriptor.csv_format_descriptor.delimiter.confidence #=> String, one of "HIGH", "LOW", "NONE"
1009
+ # resp.detected_metric_set_config.metric_source.s3_source_config.file_format_descriptor.csv_format_descriptor.delimiter.message #=> String
1010
+ # 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>
1011
+ # 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"
1012
+ # resp.detected_metric_set_config.metric_source.s3_source_config.file_format_descriptor.csv_format_descriptor.header_list.message #=> String
1013
+ # 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>
1014
+ # 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"
1015
+ # resp.detected_metric_set_config.metric_source.s3_source_config.file_format_descriptor.csv_format_descriptor.quote_symbol.message #=> String
1016
+ # 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>
1017
+ # 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"
1018
+ # resp.detected_metric_set_config.metric_source.s3_source_config.file_format_descriptor.json_format_descriptor.file_compression.message #=> String
1019
+ # 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>
1020
+ # resp.detected_metric_set_config.metric_source.s3_source_config.file_format_descriptor.json_format_descriptor.charset.confidence #=> String, one of "HIGH", "LOW", "NONE"
1021
+ # resp.detected_metric_set_config.metric_source.s3_source_config.file_format_descriptor.json_format_descriptor.charset.message #=> String
1022
+ #
1023
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/DetectMetricSetConfig AWS API Documentation
1024
+ #
1025
+ # @overload detect_metric_set_config(params = {})
1026
+ # @param [Hash] params ({})
1027
+ def detect_metric_set_config(params = {}, options = {})
1028
+ req = build_request(:detect_metric_set_config, params)
1029
+ req.send_request(options)
1030
+ end
1031
+
966
1032
  # Returns details about a group of anomalous metrics.
967
1033
  #
968
1034
  # @option params [required, String] :anomaly_group_id
@@ -1748,7 +1814,7 @@ module Aws::LookoutMetrics
1748
1814
  params: params,
1749
1815
  config: config)
1750
1816
  context[:gem_name] = 'aws-sdk-lookoutmetrics'
1751
- context[:gem_version] = '1.15.0'
1817
+ context[:gem_version] = '1.16.0'
1752
1818
  Seahorse::Client::Request.new(handlers, context)
1753
1819
  end
1754
1820
 
@@ -43,13 +43,19 @@ 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
+ AttributeValue = Shapes::StructureShape.new(name: 'AttributeValue')
47
+ AutoDetectionMetricSource = Shapes::StructureShape.new(name: 'AutoDetectionMetricSource')
48
+ AutoDetectionS3SourceConfig = Shapes::StructureShape.new(name: 'AutoDetectionS3SourceConfig')
46
49
  BackTestAnomalyDetectorRequest = Shapes::StructureShape.new(name: 'BackTestAnomalyDetectorRequest')
47
50
  BackTestAnomalyDetectorResponse = Shapes::StructureShape.new(name: 'BackTestAnomalyDetectorResponse')
51
+ BinaryAttributeValue = Shapes::StringShape.new(name: 'BinaryAttributeValue')
52
+ BinaryListAttributeValue = Shapes::ListShape.new(name: 'BinaryListAttributeValue')
48
53
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
49
54
  CSVFileCompression = Shapes::StringShape.new(name: 'CSVFileCompression')
50
55
  Charset = Shapes::StringShape.new(name: 'Charset')
51
56
  CloudWatchConfig = Shapes::StructureShape.new(name: 'CloudWatchConfig')
52
57
  ColumnName = Shapes::StringShape.new(name: 'ColumnName')
58
+ Confidence = Shapes::StringShape.new(name: 'Confidence')
53
59
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
54
60
  ContributionMatrix = Shapes::StructureShape.new(name: 'ContributionMatrix')
55
61
  CreateAlertRequest = Shapes::StructureShape.new(name: 'CreateAlertRequest')
@@ -78,6 +84,15 @@ module Aws::LookoutMetrics
78
84
  DescribeAnomalyDetectorResponse = Shapes::StructureShape.new(name: 'DescribeAnomalyDetectorResponse')
79
85
  DescribeMetricSetRequest = Shapes::StructureShape.new(name: 'DescribeMetricSetRequest')
80
86
  DescribeMetricSetResponse = Shapes::StructureShape.new(name: 'DescribeMetricSetResponse')
87
+ DetectMetricSetConfigRequest = Shapes::StructureShape.new(name: 'DetectMetricSetConfigRequest')
88
+ DetectMetricSetConfigResponse = Shapes::StructureShape.new(name: 'DetectMetricSetConfigResponse')
89
+ DetectedCsvFormatDescriptor = Shapes::StructureShape.new(name: 'DetectedCsvFormatDescriptor')
90
+ DetectedField = Shapes::StructureShape.new(name: 'DetectedField')
91
+ DetectedFileFormatDescriptor = Shapes::StructureShape.new(name: 'DetectedFileFormatDescriptor')
92
+ DetectedJsonFormatDescriptor = Shapes::StructureShape.new(name: 'DetectedJsonFormatDescriptor')
93
+ DetectedMetricSetConfig = Shapes::StructureShape.new(name: 'DetectedMetricSetConfig')
94
+ DetectedMetricSource = Shapes::StructureShape.new(name: 'DetectedMetricSource')
95
+ DetectedS3SourceConfig = Shapes::StructureShape.new(name: 'DetectedS3SourceConfig')
81
96
  DimensionContribution = Shapes::StructureShape.new(name: 'DimensionContribution')
82
97
  DimensionContributionList = Shapes::ListShape.new(name: 'DimensionContributionList')
83
98
  DimensionList = Shapes::ListShape.new(name: 'DimensionList')
@@ -145,6 +160,8 @@ module Aws::LookoutMetrics
145
160
  MetricValueList = Shapes::ListShape.new(name: 'MetricValueList')
146
161
  Namespace = Shapes::StringShape.new(name: 'Namespace')
147
162
  NextToken = Shapes::StringShape.new(name: 'NextToken')
163
+ NumberAttributeValue = Shapes::StringShape.new(name: 'NumberAttributeValue')
164
+ NumberListAttributeValue = Shapes::ListShape.new(name: 'NumberListAttributeValue')
148
165
  Offset = Shapes::IntegerShape.new(name: 'Offset')
149
166
  PoirotSecretManagerArn = Shapes::StringShape.new(name: 'PoirotSecretManagerArn')
150
167
  PutFeedbackRequest = Shapes::StructureShape.new(name: 'PutFeedbackRequest')
@@ -172,6 +189,8 @@ module Aws::LookoutMetrics
172
189
  SensitivityThreshold = Shapes::IntegerShape.new(name: 'SensitivityThreshold')
173
190
  ServiceCode = Shapes::StringShape.new(name: 'ServiceCode')
174
191
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
192
+ StringAttributeValue = Shapes::StringShape.new(name: 'StringAttributeValue')
193
+ StringListAttributeValue = Shapes::ListShape.new(name: 'StringListAttributeValue')
175
194
  SubnetId = Shapes::StringShape.new(name: 'SubnetId')
176
195
  SubnetIdList = Shapes::ListShape.new(name: 'SubnetIdList')
177
196
  TableName = Shapes::StringShape.new(name: 'TableName')
@@ -296,11 +315,28 @@ module Aws::LookoutMetrics
296
315
  AppFlowConfig.add_member(:flow_name, Shapes::ShapeRef.new(shape: FlowName, location_name: "FlowName"))
297
316
  AppFlowConfig.struct_class = Types::AppFlowConfig
298
317
 
318
+ AttributeValue.add_member(:s, Shapes::ShapeRef.new(shape: StringAttributeValue, location_name: "S"))
319
+ AttributeValue.add_member(:n, Shapes::ShapeRef.new(shape: NumberAttributeValue, location_name: "N"))
320
+ AttributeValue.add_member(:b, Shapes::ShapeRef.new(shape: BinaryAttributeValue, location_name: "B"))
321
+ AttributeValue.add_member(:ss, Shapes::ShapeRef.new(shape: StringListAttributeValue, location_name: "SS"))
322
+ AttributeValue.add_member(:ns, Shapes::ShapeRef.new(shape: NumberListAttributeValue, location_name: "NS"))
323
+ AttributeValue.add_member(:bs, Shapes::ShapeRef.new(shape: BinaryListAttributeValue, location_name: "BS"))
324
+ AttributeValue.struct_class = Types::AttributeValue
325
+
326
+ AutoDetectionMetricSource.add_member(:s3_source_config, Shapes::ShapeRef.new(shape: AutoDetectionS3SourceConfig, location_name: "S3SourceConfig"))
327
+ AutoDetectionMetricSource.struct_class = Types::AutoDetectionMetricSource
328
+
329
+ AutoDetectionS3SourceConfig.add_member(:templated_path_list, Shapes::ShapeRef.new(shape: TemplatedPathList, location_name: "TemplatedPathList"))
330
+ AutoDetectionS3SourceConfig.add_member(:historical_data_path_list, Shapes::ShapeRef.new(shape: HistoricalDataPathList, location_name: "HistoricalDataPathList"))
331
+ AutoDetectionS3SourceConfig.struct_class = Types::AutoDetectionS3SourceConfig
332
+
299
333
  BackTestAnomalyDetectorRequest.add_member(:anomaly_detector_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "AnomalyDetectorArn"))
300
334
  BackTestAnomalyDetectorRequest.struct_class = Types::BackTestAnomalyDetectorRequest
301
335
 
302
336
  BackTestAnomalyDetectorResponse.struct_class = Types::BackTestAnomalyDetectorResponse
303
337
 
338
+ BinaryListAttributeValue.member = Shapes::ShapeRef.new(shape: BinaryAttributeValue)
339
+
304
340
  CloudWatchConfig.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "RoleArn"))
305
341
  CloudWatchConfig.struct_class = Types::CloudWatchConfig
306
342
 
@@ -421,6 +457,45 @@ module Aws::LookoutMetrics
421
457
  DescribeMetricSetResponse.add_member(:metric_source, Shapes::ShapeRef.new(shape: MetricSource, location_name: "MetricSource"))
422
458
  DescribeMetricSetResponse.struct_class = Types::DescribeMetricSetResponse
423
459
 
460
+ DetectMetricSetConfigRequest.add_member(:anomaly_detector_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "AnomalyDetectorArn"))
461
+ DetectMetricSetConfigRequest.add_member(:auto_detection_metric_source, Shapes::ShapeRef.new(shape: AutoDetectionMetricSource, required: true, location_name: "AutoDetectionMetricSource"))
462
+ DetectMetricSetConfigRequest.struct_class = Types::DetectMetricSetConfigRequest
463
+
464
+ DetectMetricSetConfigResponse.add_member(:detected_metric_set_config, Shapes::ShapeRef.new(shape: DetectedMetricSetConfig, location_name: "DetectedMetricSetConfig"))
465
+ DetectMetricSetConfigResponse.struct_class = Types::DetectMetricSetConfigResponse
466
+
467
+ DetectedCsvFormatDescriptor.add_member(:file_compression, Shapes::ShapeRef.new(shape: DetectedField, location_name: "FileCompression"))
468
+ DetectedCsvFormatDescriptor.add_member(:charset, Shapes::ShapeRef.new(shape: DetectedField, location_name: "Charset"))
469
+ DetectedCsvFormatDescriptor.add_member(:contains_header, Shapes::ShapeRef.new(shape: DetectedField, location_name: "ContainsHeader"))
470
+ DetectedCsvFormatDescriptor.add_member(:delimiter, Shapes::ShapeRef.new(shape: DetectedField, location_name: "Delimiter"))
471
+ DetectedCsvFormatDescriptor.add_member(:header_list, Shapes::ShapeRef.new(shape: DetectedField, location_name: "HeaderList"))
472
+ DetectedCsvFormatDescriptor.add_member(:quote_symbol, Shapes::ShapeRef.new(shape: DetectedField, location_name: "QuoteSymbol"))
473
+ DetectedCsvFormatDescriptor.struct_class = Types::DetectedCsvFormatDescriptor
474
+
475
+ DetectedField.add_member(:value, Shapes::ShapeRef.new(shape: AttributeValue, location_name: "Value"))
476
+ DetectedField.add_member(:confidence, Shapes::ShapeRef.new(shape: Confidence, location_name: "Confidence"))
477
+ DetectedField.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
478
+ DetectedField.struct_class = Types::DetectedField
479
+
480
+ DetectedFileFormatDescriptor.add_member(:csv_format_descriptor, Shapes::ShapeRef.new(shape: DetectedCsvFormatDescriptor, location_name: "CsvFormatDescriptor"))
481
+ DetectedFileFormatDescriptor.add_member(:json_format_descriptor, Shapes::ShapeRef.new(shape: DetectedJsonFormatDescriptor, location_name: "JsonFormatDescriptor"))
482
+ DetectedFileFormatDescriptor.struct_class = Types::DetectedFileFormatDescriptor
483
+
484
+ DetectedJsonFormatDescriptor.add_member(:file_compression, Shapes::ShapeRef.new(shape: DetectedField, location_name: "FileCompression"))
485
+ DetectedJsonFormatDescriptor.add_member(:charset, Shapes::ShapeRef.new(shape: DetectedField, location_name: "Charset"))
486
+ DetectedJsonFormatDescriptor.struct_class = Types::DetectedJsonFormatDescriptor
487
+
488
+ DetectedMetricSetConfig.add_member(:offset, Shapes::ShapeRef.new(shape: DetectedField, location_name: "Offset"))
489
+ DetectedMetricSetConfig.add_member(:metric_set_frequency, Shapes::ShapeRef.new(shape: DetectedField, location_name: "MetricSetFrequency"))
490
+ DetectedMetricSetConfig.add_member(:metric_source, Shapes::ShapeRef.new(shape: DetectedMetricSource, location_name: "MetricSource"))
491
+ DetectedMetricSetConfig.struct_class = Types::DetectedMetricSetConfig
492
+
493
+ DetectedMetricSource.add_member(:s3_source_config, Shapes::ShapeRef.new(shape: DetectedS3SourceConfig, location_name: "S3SourceConfig"))
494
+ DetectedMetricSource.struct_class = Types::DetectedMetricSource
495
+
496
+ DetectedS3SourceConfig.add_member(:file_format_descriptor, Shapes::ShapeRef.new(shape: DetectedFileFormatDescriptor, location_name: "FileFormatDescriptor"))
497
+ DetectedS3SourceConfig.struct_class = Types::DetectedS3SourceConfig
498
+
424
499
  DimensionContribution.add_member(:dimension_name, Shapes::ShapeRef.new(shape: ColumnName, location_name: "DimensionName"))
425
500
  DimensionContribution.add_member(:dimension_value_contribution_list, Shapes::ShapeRef.new(shape: DimensionValueContributionList, location_name: "DimensionValueContributionList"))
426
501
  DimensionContribution.struct_class = Types::DimensionContribution
@@ -609,6 +684,8 @@ module Aws::LookoutMetrics
609
684
 
610
685
  MetricValueList.member = Shapes::ShapeRef.new(shape: MetricValue)
611
686
 
687
+ NumberListAttributeValue.member = Shapes::ShapeRef.new(shape: NumberAttributeValue)
688
+
612
689
  PutFeedbackRequest.add_member(:anomaly_detector_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "AnomalyDetectorArn"))
613
690
  PutFeedbackRequest.add_member(:anomaly_group_time_series_feedback, Shapes::ShapeRef.new(shape: AnomalyGroupTimeSeriesFeedback, required: true, location_name: "AnomalyGroupTimeSeriesFeedback"))
614
691
  PutFeedbackRequest.struct_class = Types::PutFeedbackRequest
@@ -669,6 +746,8 @@ module Aws::LookoutMetrics
669
746
  ServiceQuotaExceededException.add_member(:service_code, Shapes::ShapeRef.new(shape: ServiceCode, location_name: "ServiceCode"))
670
747
  ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
671
748
 
749
+ StringListAttributeValue.member = Shapes::ShapeRef.new(shape: StringAttributeValue)
750
+
672
751
  SubnetIdList.member = Shapes::ShapeRef.new(shape: SubnetId)
673
752
 
674
753
  TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
@@ -939,6 +1018,19 @@ module Aws::LookoutMetrics
939
1018
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
940
1019
  end)
941
1020
 
1021
+ api.add_operation(:detect_metric_set_config, Seahorse::Model::Operation.new.tap do |o|
1022
+ o.name = "DetectMetricSetConfig"
1023
+ o.http_method = "POST"
1024
+ o.http_request_uri = "/DetectMetricSetConfig"
1025
+ o.input = Shapes::ShapeRef.new(shape: DetectMetricSetConfigRequest)
1026
+ o.output = Shapes::ShapeRef.new(shape: DetectMetricSetConfigResponse)
1027
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1028
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1029
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1030
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1031
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1032
+ end)
1033
+
942
1034
  api.add_operation(:get_anomaly_group, Seahorse::Model::Operation.new.tap do |o|
943
1035
  o.name = "GetAnomalyGroup"
944
1036
  o.http_method = "POST"
@@ -465,6 +465,96 @@ module Aws::LookoutMetrics
465
465
  include Aws::Structure
466
466
  end
467
467
 
468
+ # An attribute value.
469
+ #
470
+ # @!attribute [rw] s
471
+ # A string.
472
+ # @return [String]
473
+ #
474
+ # @!attribute [rw] n
475
+ # A number.
476
+ # @return [String]
477
+ #
478
+ # @!attribute [rw] b
479
+ # A binary value.
480
+ # @return [String]
481
+ #
482
+ # @!attribute [rw] ss
483
+ # A list of strings.
484
+ # @return [Array<String>]
485
+ #
486
+ # @!attribute [rw] ns
487
+ # A list of numbers.
488
+ # @return [Array<String>]
489
+ #
490
+ # @!attribute [rw] bs
491
+ # A list of binary values.
492
+ # @return [Array<String>]
493
+ #
494
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/AttributeValue AWS API Documentation
495
+ #
496
+ class AttributeValue < Struct.new(
497
+ :s,
498
+ :n,
499
+ :b,
500
+ :ss,
501
+ :ns,
502
+ :bs)
503
+ SENSITIVE = []
504
+ include Aws::Structure
505
+ end
506
+
507
+ # An auto detection metric source.
508
+ #
509
+ # @note When making an API call, you may pass AutoDetectionMetricSource
510
+ # data as a hash:
511
+ #
512
+ # {
513
+ # s3_source_config: {
514
+ # templated_path_list: ["TemplatedPath"],
515
+ # historical_data_path_list: ["HistoricalDataPath"],
516
+ # },
517
+ # }
518
+ #
519
+ # @!attribute [rw] s3_source_config
520
+ # The source's source config.
521
+ # @return [Types::AutoDetectionS3SourceConfig]
522
+ #
523
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/AutoDetectionMetricSource AWS API Documentation
524
+ #
525
+ class AutoDetectionMetricSource < Struct.new(
526
+ :s3_source_config)
527
+ SENSITIVE = []
528
+ include Aws::Structure
529
+ end
530
+
531
+ # An auto detection source config.
532
+ #
533
+ # @note When making an API call, you may pass AutoDetectionS3SourceConfig
534
+ # data as a hash:
535
+ #
536
+ # {
537
+ # templated_path_list: ["TemplatedPath"],
538
+ # historical_data_path_list: ["HistoricalDataPath"],
539
+ # }
540
+ #
541
+ # @!attribute [rw] templated_path_list
542
+ # The config's templated path list.
543
+ # @return [Array<String>]
544
+ #
545
+ # @!attribute [rw] historical_data_path_list
546
+ # The config's historical data path list.
547
+ # @return [Array<String>]
548
+ #
549
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/AutoDetectionS3SourceConfig AWS API Documentation
550
+ #
551
+ class AutoDetectionS3SourceConfig < Struct.new(
552
+ :templated_path_list,
553
+ :historical_data_path_list)
554
+ SENSITIVE = []
555
+ include Aws::Structure
556
+ end
557
+
468
558
  # @note When making an API call, you may pass BackTestAnomalyDetectorRequest
469
559
  # data as a hash:
470
560
  #
@@ -1227,6 +1317,201 @@ module Aws::LookoutMetrics
1227
1317
  include Aws::Structure
1228
1318
  end
1229
1319
 
1320
+ # @note When making an API call, you may pass DetectMetricSetConfigRequest
1321
+ # data as a hash:
1322
+ #
1323
+ # {
1324
+ # anomaly_detector_arn: "Arn", # required
1325
+ # auto_detection_metric_source: { # required
1326
+ # s3_source_config: {
1327
+ # templated_path_list: ["TemplatedPath"],
1328
+ # historical_data_path_list: ["HistoricalDataPath"],
1329
+ # },
1330
+ # },
1331
+ # }
1332
+ #
1333
+ # @!attribute [rw] anomaly_detector_arn
1334
+ # An anomaly detector ARN.
1335
+ # @return [String]
1336
+ #
1337
+ # @!attribute [rw] auto_detection_metric_source
1338
+ # A data source.
1339
+ # @return [Types::AutoDetectionMetricSource]
1340
+ #
1341
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/DetectMetricSetConfigRequest AWS API Documentation
1342
+ #
1343
+ class DetectMetricSetConfigRequest < Struct.new(
1344
+ :anomaly_detector_arn,
1345
+ :auto_detection_metric_source)
1346
+ SENSITIVE = []
1347
+ include Aws::Structure
1348
+ end
1349
+
1350
+ # @!attribute [rw] detected_metric_set_config
1351
+ # The inferred dataset configuration for the datasource.
1352
+ # @return [Types::DetectedMetricSetConfig]
1353
+ #
1354
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/DetectMetricSetConfigResponse AWS API Documentation
1355
+ #
1356
+ class DetectMetricSetConfigResponse < Struct.new(
1357
+ :detected_metric_set_config)
1358
+ SENSITIVE = []
1359
+ include Aws::Structure
1360
+ end
1361
+
1362
+ # Properties of an inferred CSV format.
1363
+ #
1364
+ # @!attribute [rw] file_compression
1365
+ # The format's file compression.
1366
+ # @return [Types::DetectedField]
1367
+ #
1368
+ # @!attribute [rw] charset
1369
+ # The format's charset.
1370
+ # @return [Types::DetectedField]
1371
+ #
1372
+ # @!attribute [rw] contains_header
1373
+ # Whether the format includes a header.
1374
+ # @return [Types::DetectedField]
1375
+ #
1376
+ # @!attribute [rw] delimiter
1377
+ # The format's delimiter.
1378
+ # @return [Types::DetectedField]
1379
+ #
1380
+ # @!attribute [rw] header_list
1381
+ # The format's header list.
1382
+ # @return [Types::DetectedField]
1383
+ #
1384
+ # @!attribute [rw] quote_symbol
1385
+ # The format's quote symbol.
1386
+ # @return [Types::DetectedField]
1387
+ #
1388
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/DetectedCsvFormatDescriptor AWS API Documentation
1389
+ #
1390
+ class DetectedCsvFormatDescriptor < Struct.new(
1391
+ :file_compression,
1392
+ :charset,
1393
+ :contains_header,
1394
+ :delimiter,
1395
+ :header_list,
1396
+ :quote_symbol)
1397
+ SENSITIVE = []
1398
+ include Aws::Structure
1399
+ end
1400
+
1401
+ # An inferred field.
1402
+ #
1403
+ # @!attribute [rw] value
1404
+ # The field's value.
1405
+ # @return [Types::AttributeValue]
1406
+ #
1407
+ # @!attribute [rw] confidence
1408
+ # The field's confidence.
1409
+ # @return [String]
1410
+ #
1411
+ # @!attribute [rw] message
1412
+ # The field's message.
1413
+ # @return [String]
1414
+ #
1415
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/DetectedField AWS API Documentation
1416
+ #
1417
+ class DetectedField < Struct.new(
1418
+ :value,
1419
+ :confidence,
1420
+ :message)
1421
+ SENSITIVE = []
1422
+ include Aws::Structure
1423
+ end
1424
+
1425
+ # Properties of an inferred data format.
1426
+ #
1427
+ # @!attribute [rw] csv_format_descriptor
1428
+ # Details about a CSV format.
1429
+ # @return [Types::DetectedCsvFormatDescriptor]
1430
+ #
1431
+ # @!attribute [rw] json_format_descriptor
1432
+ # Details about a JSON format.
1433
+ # @return [Types::DetectedJsonFormatDescriptor]
1434
+ #
1435
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/DetectedFileFormatDescriptor AWS API Documentation
1436
+ #
1437
+ class DetectedFileFormatDescriptor < Struct.new(
1438
+ :csv_format_descriptor,
1439
+ :json_format_descriptor)
1440
+ SENSITIVE = []
1441
+ include Aws::Structure
1442
+ end
1443
+
1444
+ # A detected JSON format descriptor.
1445
+ #
1446
+ # @!attribute [rw] file_compression
1447
+ # The format's file compression.
1448
+ # @return [Types::DetectedField]
1449
+ #
1450
+ # @!attribute [rw] charset
1451
+ # The format's character set.
1452
+ # @return [Types::DetectedField]
1453
+ #
1454
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/DetectedJsonFormatDescriptor AWS API Documentation
1455
+ #
1456
+ class DetectedJsonFormatDescriptor < Struct.new(
1457
+ :file_compression,
1458
+ :charset)
1459
+ SENSITIVE = []
1460
+ include Aws::Structure
1461
+ end
1462
+
1463
+ # An inferred dataset configuration.
1464
+ #
1465
+ # @!attribute [rw] offset
1466
+ # The dataset's offset.
1467
+ # @return [Types::DetectedField]
1468
+ #
1469
+ # @!attribute [rw] metric_set_frequency
1470
+ # The dataset's interval.
1471
+ # @return [Types::DetectedField]
1472
+ #
1473
+ # @!attribute [rw] metric_source
1474
+ # The dataset's data source.
1475
+ # @return [Types::DetectedMetricSource]
1476
+ #
1477
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/DetectedMetricSetConfig AWS API Documentation
1478
+ #
1479
+ class DetectedMetricSetConfig < Struct.new(
1480
+ :offset,
1481
+ :metric_set_frequency,
1482
+ :metric_source)
1483
+ SENSITIVE = []
1484
+ include Aws::Structure
1485
+ end
1486
+
1487
+ # An inferred data source.
1488
+ #
1489
+ # @!attribute [rw] s3_source_config
1490
+ # The data source's source configuration.
1491
+ # @return [Types::DetectedS3SourceConfig]
1492
+ #
1493
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/DetectedMetricSource AWS API Documentation
1494
+ #
1495
+ class DetectedMetricSource < Struct.new(
1496
+ :s3_source_config)
1497
+ SENSITIVE = []
1498
+ include Aws::Structure
1499
+ end
1500
+
1501
+ # An inferred source configuration.
1502
+ #
1503
+ # @!attribute [rw] file_format_descriptor
1504
+ # The source's file format descriptor.
1505
+ # @return [Types::DetectedFileFormatDescriptor]
1506
+ #
1507
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/DetectedS3SourceConfig AWS API Documentation
1508
+ #
1509
+ class DetectedS3SourceConfig < Struct.new(
1510
+ :file_format_descriptor)
1511
+ SENSITIVE = []
1512
+ include Aws::Structure
1513
+ end
1514
+
1230
1515
  # Details about a dimension that contributed to an anomaly.
1231
1516
  #
1232
1517
  # @!attribute [rw] dimension_name
@@ -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.16.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.16.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-04-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core