aws-sdk-lookoutmetrics 1.10.0 → 1.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6290e8d5d5015dc16221c672578ced091a40ab384abe46033b4a7815f6884c16
4
- data.tar.gz: a6a61c705a1cb02c9580e1f20572a0499511bca095a1479cd823c9e486b933ea
3
+ metadata.gz: 628cd8f92fe765205f3cbfb91bd4c4f1fdaf493c12301d94b613680dc83ca98d
4
+ data.tar.gz: 1667737a29ebe6acefb6751a97fe796e799f1361c3369c02b2ecb5ed3a51a036
5
5
  SHA512:
6
- metadata.gz: bff3afae4a1edfc02f045580791c5312ba84e21edc15abda4f9d3c4c767b192f258260f6d2f0efefbf9ac27d969106958059c2c23fc1e8acd63864a7503c5dd9
7
- data.tar.gz: 72d11fb9f7e57ee8e72d30749577e2f92f9b3da9e8adb7f0c6a18597e438e43247a89d1dea3f3db84ed6f9048c69744b1d7817fa4cbda72af3503919dfeaec0e
6
+ metadata.gz: 75ef21503bfd32ea963a6b3ba0f63af0c99ebdb156e6bd45cf1cd4d2aadd9ab2d5b1542123e13ac09084eadc420c943cbe20d6a1324517c068cac373bd9f62ba
7
+ data.tar.gz: 07d37b6ff42d89e4616ad00342207466a400f32d164dedeb725ac840aea83bdf07c86b22d521e1004b484d140021f5a3c904181faec27a58d2546cc69e501e7e
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.14.0 (2022-02-03)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.13.0 (2022-01-14)
10
+ ------------------
11
+
12
+ * Feature - This release adds a new DeactivateAnomalyDetector API operation.
13
+
14
+ 1.12.0 (2022-01-10)
15
+ ------------------
16
+
17
+ * Feature - This release adds FailureType in the response of DescribeAnomalyDetector.
18
+
19
+ 1.11.0 (2021-12-21)
20
+ ------------------
21
+
22
+ * Feature - This release adds support for Causal Relationships. Added new ListAnomalyGroupRelatedMetrics API operation and InterMetricImpactDetails API data type
23
+
4
24
  1.10.0 (2021-11-30)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.10.0
1
+ 1.14.0
@@ -27,6 +27,8 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
28
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
29
  require 'aws-sdk-core/plugins/http_checksum.rb'
30
+ require 'aws-sdk-core/plugins/defaults_mode.rb'
31
+ require 'aws-sdk-core/plugins/recursion_detection.rb'
30
32
  require 'aws-sdk-core/plugins/signature_v4.rb'
31
33
  require 'aws-sdk-core/plugins/protocols/rest_json.rb'
32
34
 
@@ -73,6 +75,8 @@ module Aws::LookoutMetrics
73
75
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
74
76
  add_plugin(Aws::Plugins::TransferEncoding)
75
77
  add_plugin(Aws::Plugins::HttpChecksum)
78
+ add_plugin(Aws::Plugins::DefaultsMode)
79
+ add_plugin(Aws::Plugins::RecursionDetection)
76
80
  add_plugin(Aws::Plugins::SignatureV4)
77
81
  add_plugin(Aws::Plugins::Protocols::RestJson)
78
82
 
@@ -175,6 +179,10 @@ module Aws::LookoutMetrics
175
179
  # Used only in `standard` and adaptive retry modes. Specifies whether to apply
176
180
  # a clock skew correction and retry requests with skewed client clocks.
177
181
  #
182
+ # @option options [String] :defaults_mode ("legacy")
183
+ # See {Aws::DefaultsModeConfiguration} for a list of the
184
+ # accepted modes and the configuration defaults that are included.
185
+ #
178
186
  # @option options [Boolean] :disable_host_prefix_injection (false)
179
187
  # Set to true to disable SDK automatically adding host prefix
180
188
  # to default service endpoint when available.
@@ -297,7 +305,7 @@ module Aws::LookoutMetrics
297
305
  # seconds to wait when opening a HTTP session before raising a
298
306
  # `Timeout::Error`.
299
307
  #
300
- # @option options [Integer] :http_read_timeout (60) The default
308
+ # @option options [Float] :http_read_timeout (60) The default
301
309
  # number of seconds to wait for response data. This value can
302
310
  # safely be set per-request on the session.
303
311
  #
@@ -313,6 +321,9 @@ module Aws::LookoutMetrics
313
321
  # disables this behaviour. This value can safely be set per
314
322
  # request on the session.
315
323
  #
324
+ # @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
325
+ # in seconds.
326
+ #
316
327
  # @option options [Boolean] :http_wire_trace (false) When `true`,
317
328
  # HTTP debug output will be sent to the `:logger`.
318
329
  #
@@ -566,7 +577,7 @@ module Aws::LookoutMetrics
566
577
  # metric_set_frequency: "P1D", # accepts P1D, PT1H, PT10M, PT5M
567
578
  # metric_source: { # required
568
579
  # s3_source_config: {
569
- # role_arn: "Arn", # required
580
+ # role_arn: "Arn",
570
581
  # templated_path_list: ["TemplatedPath"],
571
582
  # historical_data_path_list: ["HistoricalDataPath"],
572
583
  # file_format_descriptor: {
@@ -585,34 +596,34 @@ module Aws::LookoutMetrics
585
596
  # },
586
597
  # },
587
598
  # app_flow_config: {
588
- # role_arn: "Arn", # required
589
- # flow_name: "FlowName", # required
599
+ # role_arn: "Arn",
600
+ # flow_name: "FlowName",
590
601
  # },
591
602
  # cloud_watch_config: {
592
- # role_arn: "Arn", # required
603
+ # role_arn: "Arn",
593
604
  # },
594
605
  # rds_source_config: {
595
- # db_instance_identifier: "RDSDatabaseIdentifier", # required
596
- # database_host: "DatabaseHost", # required
597
- # database_port: 1, # required
598
- # secret_manager_arn: "PoirotSecretManagerArn", # required
599
- # database_name: "RDSDatabaseName", # required
600
- # table_name: "TableName", # required
601
- # role_arn: "Arn", # required
602
- # vpc_configuration: { # required
606
+ # db_instance_identifier: "RDSDatabaseIdentifier",
607
+ # database_host: "DatabaseHost",
608
+ # database_port: 1,
609
+ # secret_manager_arn: "PoirotSecretManagerArn",
610
+ # database_name: "RDSDatabaseName",
611
+ # table_name: "TableName",
612
+ # role_arn: "Arn",
613
+ # vpc_configuration: {
603
614
  # subnet_id_list: ["SubnetId"], # required
604
615
  # security_group_id_list: ["SecurityGroupId"], # required
605
616
  # },
606
617
  # },
607
618
  # redshift_source_config: {
608
- # cluster_identifier: "RedshiftClusterIdentifier", # required
609
- # database_host: "DatabaseHost", # required
610
- # database_port: 1, # required
611
- # secret_manager_arn: "PoirotSecretManagerArn", # required
612
- # database_name: "RedshiftDatabaseName", # required
613
- # table_name: "TableName", # required
614
- # role_arn: "Arn", # required
615
- # vpc_configuration: { # required
619
+ # cluster_identifier: "RedshiftClusterIdentifier",
620
+ # database_host: "DatabaseHost",
621
+ # database_port: 1,
622
+ # secret_manager_arn: "PoirotSecretManagerArn",
623
+ # database_name: "RedshiftDatabaseName",
624
+ # table_name: "TableName",
625
+ # role_arn: "Arn",
626
+ # vpc_configuration: {
616
627
  # subnet_id_list: ["SubnetId"], # required
617
628
  # security_group_id_list: ["SecurityGroupId"], # required
618
629
  # },
@@ -637,6 +648,28 @@ module Aws::LookoutMetrics
637
648
  req.send_request(options)
638
649
  end
639
650
 
651
+ # Deactivates an anomaly detector.
652
+ #
653
+ # @option params [required, String] :anomaly_detector_arn
654
+ # The Amazon Resource Name (ARN) of the anomaly detector.
655
+ #
656
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
657
+ #
658
+ # @example Request syntax with placeholder values
659
+ #
660
+ # resp = client.deactivate_anomaly_detector({
661
+ # anomaly_detector_arn: "Arn", # required
662
+ # })
663
+ #
664
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/DeactivateAnomalyDetector AWS API Documentation
665
+ #
666
+ # @overload deactivate_anomaly_detector(params = {})
667
+ # @param [Hash] params ({})
668
+ def deactivate_anomaly_detector(params = {}, options = {})
669
+ req = build_request(:deactivate_anomaly_detector, params)
670
+ req.send_request(options)
671
+ end
672
+
640
673
  # Deletes an alert.
641
674
  #
642
675
  # @option params [required, String] :alert_arn
@@ -798,6 +831,7 @@ module Aws::LookoutMetrics
798
831
  # * {Types::DescribeAnomalyDetectorResponse#status #status} => String
799
832
  # * {Types::DescribeAnomalyDetectorResponse#failure_reason #failure_reason} => String
800
833
  # * {Types::DescribeAnomalyDetectorResponse#kms_key_arn #kms_key_arn} => String
834
+ # * {Types::DescribeAnomalyDetectorResponse#failure_type #failure_type} => String
801
835
  #
802
836
  # @example Request syntax with placeholder values
803
837
  #
@@ -813,9 +847,10 @@ module Aws::LookoutMetrics
813
847
  # resp.anomaly_detector_config.anomaly_detector_frequency #=> String, one of "P1D", "PT1H", "PT10M", "PT5M"
814
848
  # resp.creation_time #=> Time
815
849
  # resp.last_modification_time #=> Time
816
- # resp.status #=> String, one of "ACTIVE", "ACTIVATING", "DELETING", "FAILED", "INACTIVE", "LEARNING", "BACK_TEST_ACTIVATING", "BACK_TEST_ACTIVE", "BACK_TEST_COMPLETE"
850
+ # resp.status #=> String, one of "ACTIVE", "ACTIVATING", "DELETING", "FAILED", "INACTIVE", "LEARNING", "BACK_TEST_ACTIVATING", "BACK_TEST_ACTIVE", "BACK_TEST_COMPLETE", "DEACTIVATED", "DEACTIVATING"
817
851
  # resp.failure_reason #=> String
818
852
  # resp.kms_key_arn #=> String
853
+ # resp.failure_type #=> String, one of "ACTIVATION_FAILURE", "BACK_TEST_ACTIVATION_FAILURE", "DELETION_FAILURE", "DEACTIVATION_FAILURE"
819
854
  #
820
855
  # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/DescribeAnomalyDetector AWS API Documentation
821
856
  #
@@ -1165,7 +1200,7 @@ module Aws::LookoutMetrics
1165
1200
  # resp.anomaly_detector_summary_list[0].anomaly_detector_description #=> String
1166
1201
  # resp.anomaly_detector_summary_list[0].creation_time #=> Time
1167
1202
  # resp.anomaly_detector_summary_list[0].last_modification_time #=> Time
1168
- # resp.anomaly_detector_summary_list[0].status #=> String, one of "ACTIVE", "ACTIVATING", "DELETING", "FAILED", "INACTIVE", "LEARNING", "BACK_TEST_ACTIVATING", "BACK_TEST_ACTIVE", "BACK_TEST_COMPLETE"
1203
+ # resp.anomaly_detector_summary_list[0].status #=> String, one of "ACTIVE", "ACTIVATING", "DELETING", "FAILED", "INACTIVE", "LEARNING", "BACK_TEST_ACTIVATING", "BACK_TEST_ACTIVE", "BACK_TEST_COMPLETE", "DEACTIVATED", "DEACTIVATING"
1169
1204
  # resp.anomaly_detector_summary_list[0].tags #=> Hash
1170
1205
  # resp.anomaly_detector_summary_list[0].tags["TagKey"] #=> String
1171
1206
  # resp.next_token #=> String
@@ -1179,6 +1214,62 @@ module Aws::LookoutMetrics
1179
1214
  req.send_request(options)
1180
1215
  end
1181
1216
 
1217
+ # Returns a list of measures that are potential causes or effects of an
1218
+ # anomaly group.
1219
+ #
1220
+ # @option params [required, String] :anomaly_detector_arn
1221
+ # The Amazon Resource Name (ARN) of the anomaly detector.
1222
+ #
1223
+ # @option params [required, String] :anomaly_group_id
1224
+ # The ID of the anomaly group.
1225
+ #
1226
+ # @option params [String] :relationship_type_filter
1227
+ # Filter for potential causes (`CAUSE_OF_INPUT_ANOMALY_GROUP`) or
1228
+ # downstream effects (`EFFECT_OF_INPUT_ANOMALY_GROUP`) of the anomaly
1229
+ # group.
1230
+ #
1231
+ # @option params [Integer] :max_results
1232
+ # The maximum number of results to return.
1233
+ #
1234
+ # @option params [String] :next_token
1235
+ # Specify the pagination token that's returned by a previous request to
1236
+ # retrieve the next page of results.
1237
+ #
1238
+ # @return [Types::ListAnomalyGroupRelatedMetricsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1239
+ #
1240
+ # * {Types::ListAnomalyGroupRelatedMetricsResponse#inter_metric_impact_list #inter_metric_impact_list} => Array<Types::InterMetricImpactDetails>
1241
+ # * {Types::ListAnomalyGroupRelatedMetricsResponse#next_token #next_token} => String
1242
+ #
1243
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1244
+ #
1245
+ # @example Request syntax with placeholder values
1246
+ #
1247
+ # resp = client.list_anomaly_group_related_metrics({
1248
+ # anomaly_detector_arn: "Arn", # required
1249
+ # anomaly_group_id: "UUID", # required
1250
+ # relationship_type_filter: "CAUSE_OF_INPUT_ANOMALY_GROUP", # accepts CAUSE_OF_INPUT_ANOMALY_GROUP, EFFECT_OF_INPUT_ANOMALY_GROUP
1251
+ # max_results: 1,
1252
+ # next_token: "NextToken",
1253
+ # })
1254
+ #
1255
+ # @example Response structure
1256
+ #
1257
+ # resp.inter_metric_impact_list #=> Array
1258
+ # resp.inter_metric_impact_list[0].metric_name #=> String
1259
+ # resp.inter_metric_impact_list[0].anomaly_group_id #=> String
1260
+ # resp.inter_metric_impact_list[0].relationship_type #=> String, one of "CAUSE_OF_INPUT_ANOMALY_GROUP", "EFFECT_OF_INPUT_ANOMALY_GROUP"
1261
+ # resp.inter_metric_impact_list[0].contribution_percentage #=> Float
1262
+ # resp.next_token #=> String
1263
+ #
1264
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/ListAnomalyGroupRelatedMetrics AWS API Documentation
1265
+ #
1266
+ # @overload list_anomaly_group_related_metrics(params = {})
1267
+ # @param [Hash] params ({})
1268
+ def list_anomaly_group_related_metrics(params = {}, options = {})
1269
+ req = build_request(:list_anomaly_group_related_metrics, params)
1270
+ req.send_request(options)
1271
+ end
1272
+
1182
1273
  # Returns a list of anomaly groups.
1183
1274
  #
1184
1275
  # @option params [required, String] :anomaly_detector_arn
@@ -1575,7 +1666,7 @@ module Aws::LookoutMetrics
1575
1666
  # metric_set_frequency: "P1D", # accepts P1D, PT1H, PT10M, PT5M
1576
1667
  # metric_source: {
1577
1668
  # s3_source_config: {
1578
- # role_arn: "Arn", # required
1669
+ # role_arn: "Arn",
1579
1670
  # templated_path_list: ["TemplatedPath"],
1580
1671
  # historical_data_path_list: ["HistoricalDataPath"],
1581
1672
  # file_format_descriptor: {
@@ -1594,34 +1685,34 @@ module Aws::LookoutMetrics
1594
1685
  # },
1595
1686
  # },
1596
1687
  # app_flow_config: {
1597
- # role_arn: "Arn", # required
1598
- # flow_name: "FlowName", # required
1688
+ # role_arn: "Arn",
1689
+ # flow_name: "FlowName",
1599
1690
  # },
1600
1691
  # cloud_watch_config: {
1601
- # role_arn: "Arn", # required
1692
+ # role_arn: "Arn",
1602
1693
  # },
1603
1694
  # rds_source_config: {
1604
- # db_instance_identifier: "RDSDatabaseIdentifier", # required
1605
- # database_host: "DatabaseHost", # required
1606
- # database_port: 1, # required
1607
- # secret_manager_arn: "PoirotSecretManagerArn", # required
1608
- # database_name: "RDSDatabaseName", # required
1609
- # table_name: "TableName", # required
1610
- # role_arn: "Arn", # required
1611
- # vpc_configuration: { # required
1695
+ # db_instance_identifier: "RDSDatabaseIdentifier",
1696
+ # database_host: "DatabaseHost",
1697
+ # database_port: 1,
1698
+ # secret_manager_arn: "PoirotSecretManagerArn",
1699
+ # database_name: "RDSDatabaseName",
1700
+ # table_name: "TableName",
1701
+ # role_arn: "Arn",
1702
+ # vpc_configuration: {
1612
1703
  # subnet_id_list: ["SubnetId"], # required
1613
1704
  # security_group_id_list: ["SecurityGroupId"], # required
1614
1705
  # },
1615
1706
  # },
1616
1707
  # redshift_source_config: {
1617
- # cluster_identifier: "RedshiftClusterIdentifier", # required
1618
- # database_host: "DatabaseHost", # required
1619
- # database_port: 1, # required
1620
- # secret_manager_arn: "PoirotSecretManagerArn", # required
1621
- # database_name: "RedshiftDatabaseName", # required
1622
- # table_name: "TableName", # required
1623
- # role_arn: "Arn", # required
1624
- # vpc_configuration: { # required
1708
+ # cluster_identifier: "RedshiftClusterIdentifier",
1709
+ # database_host: "DatabaseHost",
1710
+ # database_port: 1,
1711
+ # secret_manager_arn: "PoirotSecretManagerArn",
1712
+ # database_name: "RedshiftDatabaseName",
1713
+ # table_name: "TableName",
1714
+ # role_arn: "Arn",
1715
+ # vpc_configuration: {
1625
1716
  # subnet_id_list: ["SubnetId"], # required
1626
1717
  # security_group_id_list: ["SecurityGroupId"], # required
1627
1718
  # },
@@ -1655,7 +1746,7 @@ module Aws::LookoutMetrics
1655
1746
  params: params,
1656
1747
  config: config)
1657
1748
  context[:gem_name] = 'aws-sdk-lookoutmetrics'
1658
- context[:gem_version] = '1.10.0'
1749
+ context[:gem_version] = '1.14.0'
1659
1750
  Seahorse::Client::Request.new(handlers, context)
1660
1751
  end
1661
1752
 
@@ -30,6 +30,7 @@ module Aws::LookoutMetrics
30
30
  AnomalyDetectorConfig = Shapes::StructureShape.new(name: 'AnomalyDetectorConfig')
31
31
  AnomalyDetectorConfigSummary = Shapes::StructureShape.new(name: 'AnomalyDetectorConfigSummary')
32
32
  AnomalyDetectorDescription = Shapes::StringShape.new(name: 'AnomalyDetectorDescription')
33
+ AnomalyDetectorFailureType = Shapes::StringShape.new(name: 'AnomalyDetectorFailureType')
33
34
  AnomalyDetectorName = Shapes::StringShape.new(name: 'AnomalyDetectorName')
34
35
  AnomalyDetectorStatus = Shapes::StringShape.new(name: 'AnomalyDetectorStatus')
35
36
  AnomalyDetectorSummary = Shapes::StructureShape.new(name: 'AnomalyDetectorSummary')
@@ -62,6 +63,8 @@ module Aws::LookoutMetrics
62
63
  DatabaseHost = Shapes::StringShape.new(name: 'DatabaseHost')
63
64
  DatabasePort = Shapes::IntegerShape.new(name: 'DatabasePort')
64
65
  DateTimeFormat = Shapes::StringShape.new(name: 'DateTimeFormat')
66
+ DeactivateAnomalyDetectorRequest = Shapes::StructureShape.new(name: 'DeactivateAnomalyDetectorRequest')
67
+ DeactivateAnomalyDetectorResponse = Shapes::StructureShape.new(name: 'DeactivateAnomalyDetectorResponse')
65
68
  DeleteAlertRequest = Shapes::StructureShape.new(name: 'DeleteAlertRequest')
66
69
  DeleteAlertResponse = Shapes::StructureShape.new(name: 'DeleteAlertResponse')
67
70
  DeleteAnomalyDetectorRequest = Shapes::StructureShape.new(name: 'DeleteAnomalyDetectorRequest')
@@ -102,6 +105,8 @@ module Aws::LookoutMetrics
102
105
  HistoricalDataPath = Shapes::StringShape.new(name: 'HistoricalDataPath')
103
106
  HistoricalDataPathList = Shapes::ListShape.new(name: 'HistoricalDataPathList')
104
107
  Integer = Shapes::IntegerShape.new(name: 'Integer')
108
+ InterMetricImpactDetails = Shapes::StructureShape.new(name: 'InterMetricImpactDetails')
109
+ InterMetricImpactList = Shapes::ListShape.new(name: 'InterMetricImpactList')
105
110
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
106
111
  ItemizedMetricStats = Shapes::StructureShape.new(name: 'ItemizedMetricStats')
107
112
  ItemizedMetricStatsList = Shapes::ListShape.new(name: 'ItemizedMetricStatsList')
@@ -113,6 +118,8 @@ module Aws::LookoutMetrics
113
118
  ListAlertsResponse = Shapes::StructureShape.new(name: 'ListAlertsResponse')
114
119
  ListAnomalyDetectorsRequest = Shapes::StructureShape.new(name: 'ListAnomalyDetectorsRequest')
115
120
  ListAnomalyDetectorsResponse = Shapes::StructureShape.new(name: 'ListAnomalyDetectorsResponse')
121
+ ListAnomalyGroupRelatedMetricsRequest = Shapes::StructureShape.new(name: 'ListAnomalyGroupRelatedMetricsRequest')
122
+ ListAnomalyGroupRelatedMetricsResponse = Shapes::StructureShape.new(name: 'ListAnomalyGroupRelatedMetricsResponse')
116
123
  ListAnomalyGroupSummariesRequest = Shapes::StructureShape.new(name: 'ListAnomalyGroupSummariesRequest')
117
124
  ListAnomalyGroupSummariesResponse = Shapes::StructureShape.new(name: 'ListAnomalyGroupSummariesResponse')
118
125
  ListAnomalyGroupTimeSeriesRequest = Shapes::StructureShape.new(name: 'ListAnomalyGroupTimeSeriesRequest')
@@ -124,6 +131,7 @@ module Aws::LookoutMetrics
124
131
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
125
132
  Message = Shapes::StringShape.new(name: 'Message')
126
133
  Metric = Shapes::StructureShape.new(name: 'Metric')
134
+ MetricChangePercentage = Shapes::FloatShape.new(name: 'MetricChangePercentage')
127
135
  MetricLevelImpact = Shapes::StructureShape.new(name: 'MetricLevelImpact')
128
136
  MetricLevelImpactList = Shapes::ListShape.new(name: 'MetricLevelImpactList')
129
137
  MetricList = Shapes::ListShape.new(name: 'MetricList')
@@ -149,6 +157,7 @@ module Aws::LookoutMetrics
149
157
  RedshiftClusterIdentifier = Shapes::StringShape.new(name: 'RedshiftClusterIdentifier')
150
158
  RedshiftDatabaseName = Shapes::StringShape.new(name: 'RedshiftDatabaseName')
151
159
  RedshiftSourceConfig = Shapes::StructureShape.new(name: 'RedshiftSourceConfig')
160
+ RelationshipType = Shapes::StringShape.new(name: 'RelationshipType')
152
161
  ResourceId = Shapes::StringShape.new(name: 'ResourceId')
153
162
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
154
163
  ResourceType = Shapes::StringShape.new(name: 'ResourceType')
@@ -283,8 +292,8 @@ module Aws::LookoutMetrics
283
292
  AnomalyGroupTimeSeriesFeedback.add_member(:is_anomaly, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "IsAnomaly"))
284
293
  AnomalyGroupTimeSeriesFeedback.struct_class = Types::AnomalyGroupTimeSeriesFeedback
285
294
 
286
- AppFlowConfig.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "RoleArn"))
287
- AppFlowConfig.add_member(:flow_name, Shapes::ShapeRef.new(shape: FlowName, required: true, location_name: "FlowName"))
295
+ AppFlowConfig.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "RoleArn"))
296
+ AppFlowConfig.add_member(:flow_name, Shapes::ShapeRef.new(shape: FlowName, location_name: "FlowName"))
288
297
  AppFlowConfig.struct_class = Types::AppFlowConfig
289
298
 
290
299
  BackTestAnomalyDetectorRequest.add_member(:anomaly_detector_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "AnomalyDetectorArn"))
@@ -292,7 +301,7 @@ module Aws::LookoutMetrics
292
301
 
293
302
  BackTestAnomalyDetectorResponse.struct_class = Types::BackTestAnomalyDetectorResponse
294
303
 
295
- CloudWatchConfig.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "RoleArn"))
304
+ CloudWatchConfig.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "RoleArn"))
296
305
  CloudWatchConfig.struct_class = Types::CloudWatchConfig
297
306
 
298
307
  ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: Message, required: true, location_name: "Message"))
@@ -348,6 +357,11 @@ module Aws::LookoutMetrics
348
357
  CsvFormatDescriptor.add_member(:quote_symbol, Shapes::ShapeRef.new(shape: QuoteSymbol, location_name: "QuoteSymbol"))
349
358
  CsvFormatDescriptor.struct_class = Types::CsvFormatDescriptor
350
359
 
360
+ DeactivateAnomalyDetectorRequest.add_member(:anomaly_detector_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "AnomalyDetectorArn"))
361
+ DeactivateAnomalyDetectorRequest.struct_class = Types::DeactivateAnomalyDetectorRequest
362
+
363
+ DeactivateAnomalyDetectorResponse.struct_class = Types::DeactivateAnomalyDetectorResponse
364
+
351
365
  DeleteAlertRequest.add_member(:alert_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "AlertArn"))
352
366
  DeleteAlertRequest.struct_class = Types::DeleteAlertRequest
353
367
 
@@ -386,6 +400,7 @@ module Aws::LookoutMetrics
386
400
  DescribeAnomalyDetectorResponse.add_member(:status, Shapes::ShapeRef.new(shape: AnomalyDetectorStatus, location_name: "Status"))
387
401
  DescribeAnomalyDetectorResponse.add_member(:failure_reason, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "FailureReason"))
388
402
  DescribeAnomalyDetectorResponse.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "KmsKeyArn"))
403
+ DescribeAnomalyDetectorResponse.add_member(:failure_type, Shapes::ShapeRef.new(shape: AnomalyDetectorFailureType, location_name: "FailureType"))
389
404
  DescribeAnomalyDetectorResponse.struct_class = Types::DescribeAnomalyDetectorResponse
390
405
 
391
406
  DescribeMetricSetRequest.add_member(:metric_set_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "MetricSetArn"))
@@ -467,6 +482,14 @@ module Aws::LookoutMetrics
467
482
 
468
483
  HistoricalDataPathList.member = Shapes::ShapeRef.new(shape: HistoricalDataPath)
469
484
 
485
+ InterMetricImpactDetails.add_member(:metric_name, Shapes::ShapeRef.new(shape: MetricName, location_name: "MetricName"))
486
+ InterMetricImpactDetails.add_member(:anomaly_group_id, Shapes::ShapeRef.new(shape: UUID, location_name: "AnomalyGroupId"))
487
+ InterMetricImpactDetails.add_member(:relationship_type, Shapes::ShapeRef.new(shape: RelationshipType, location_name: "RelationshipType"))
488
+ InterMetricImpactDetails.add_member(:contribution_percentage, Shapes::ShapeRef.new(shape: MetricChangePercentage, location_name: "ContributionPercentage"))
489
+ InterMetricImpactDetails.struct_class = Types::InterMetricImpactDetails
490
+
491
+ InterMetricImpactList.member = Shapes::ShapeRef.new(shape: InterMetricImpactDetails)
492
+
470
493
  InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: Message, required: true, location_name: "Message"))
471
494
  InternalServerException.struct_class = Types::InternalServerException
472
495
 
@@ -501,6 +524,17 @@ module Aws::LookoutMetrics
501
524
  ListAnomalyDetectorsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
502
525
  ListAnomalyDetectorsResponse.struct_class = Types::ListAnomalyDetectorsResponse
503
526
 
527
+ ListAnomalyGroupRelatedMetricsRequest.add_member(:anomaly_detector_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "AnomalyDetectorArn"))
528
+ ListAnomalyGroupRelatedMetricsRequest.add_member(:anomaly_group_id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "AnomalyGroupId"))
529
+ ListAnomalyGroupRelatedMetricsRequest.add_member(:relationship_type_filter, Shapes::ShapeRef.new(shape: RelationshipType, location_name: "RelationshipTypeFilter"))
530
+ ListAnomalyGroupRelatedMetricsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults", metadata: {"box"=>true}))
531
+ ListAnomalyGroupRelatedMetricsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
532
+ ListAnomalyGroupRelatedMetricsRequest.struct_class = Types::ListAnomalyGroupRelatedMetricsRequest
533
+
534
+ ListAnomalyGroupRelatedMetricsResponse.add_member(:inter_metric_impact_list, Shapes::ShapeRef.new(shape: InterMetricImpactList, location_name: "InterMetricImpactList"))
535
+ ListAnomalyGroupRelatedMetricsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
536
+ ListAnomalyGroupRelatedMetricsResponse.struct_class = Types::ListAnomalyGroupRelatedMetricsResponse
537
+
504
538
  ListAnomalyGroupSummariesRequest.add_member(:anomaly_detector_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "AnomalyDetectorArn"))
505
539
  ListAnomalyGroupSummariesRequest.add_member(:sensitivity_threshold, Shapes::ShapeRef.new(shape: SensitivityThreshold, required: true, location_name: "SensitivityThreshold"))
506
540
  ListAnomalyGroupSummariesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults", metadata: {"box"=>true}))
@@ -581,24 +615,24 @@ module Aws::LookoutMetrics
581
615
 
582
616
  PutFeedbackResponse.struct_class = Types::PutFeedbackResponse
583
617
 
584
- RDSSourceConfig.add_member(:db_instance_identifier, Shapes::ShapeRef.new(shape: RDSDatabaseIdentifier, required: true, location_name: "DBInstanceIdentifier"))
585
- RDSSourceConfig.add_member(:database_host, Shapes::ShapeRef.new(shape: DatabaseHost, required: true, location_name: "DatabaseHost"))
586
- RDSSourceConfig.add_member(:database_port, Shapes::ShapeRef.new(shape: DatabasePort, required: true, location_name: "DatabasePort", metadata: {"box"=>true}))
587
- RDSSourceConfig.add_member(:secret_manager_arn, Shapes::ShapeRef.new(shape: PoirotSecretManagerArn, required: true, location_name: "SecretManagerArn"))
588
- RDSSourceConfig.add_member(:database_name, Shapes::ShapeRef.new(shape: RDSDatabaseName, required: true, location_name: "DatabaseName"))
589
- RDSSourceConfig.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "TableName"))
590
- RDSSourceConfig.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "RoleArn"))
591
- RDSSourceConfig.add_member(:vpc_configuration, Shapes::ShapeRef.new(shape: VpcConfiguration, required: true, location_name: "VpcConfiguration"))
618
+ RDSSourceConfig.add_member(:db_instance_identifier, Shapes::ShapeRef.new(shape: RDSDatabaseIdentifier, location_name: "DBInstanceIdentifier"))
619
+ RDSSourceConfig.add_member(:database_host, Shapes::ShapeRef.new(shape: DatabaseHost, location_name: "DatabaseHost"))
620
+ RDSSourceConfig.add_member(:database_port, Shapes::ShapeRef.new(shape: DatabasePort, location_name: "DatabasePort", metadata: {"box"=>true}))
621
+ RDSSourceConfig.add_member(:secret_manager_arn, Shapes::ShapeRef.new(shape: PoirotSecretManagerArn, location_name: "SecretManagerArn"))
622
+ RDSSourceConfig.add_member(:database_name, Shapes::ShapeRef.new(shape: RDSDatabaseName, location_name: "DatabaseName"))
623
+ RDSSourceConfig.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, location_name: "TableName"))
624
+ RDSSourceConfig.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "RoleArn"))
625
+ RDSSourceConfig.add_member(:vpc_configuration, Shapes::ShapeRef.new(shape: VpcConfiguration, location_name: "VpcConfiguration"))
592
626
  RDSSourceConfig.struct_class = Types::RDSSourceConfig
593
627
 
594
- RedshiftSourceConfig.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: RedshiftClusterIdentifier, required: true, location_name: "ClusterIdentifier"))
595
- RedshiftSourceConfig.add_member(:database_host, Shapes::ShapeRef.new(shape: DatabaseHost, required: true, location_name: "DatabaseHost"))
596
- RedshiftSourceConfig.add_member(:database_port, Shapes::ShapeRef.new(shape: DatabasePort, required: true, location_name: "DatabasePort", metadata: {"box"=>true}))
597
- RedshiftSourceConfig.add_member(:secret_manager_arn, Shapes::ShapeRef.new(shape: PoirotSecretManagerArn, required: true, location_name: "SecretManagerArn"))
598
- RedshiftSourceConfig.add_member(:database_name, Shapes::ShapeRef.new(shape: RedshiftDatabaseName, required: true, location_name: "DatabaseName"))
599
- RedshiftSourceConfig.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "TableName"))
600
- RedshiftSourceConfig.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "RoleArn"))
601
- RedshiftSourceConfig.add_member(:vpc_configuration, Shapes::ShapeRef.new(shape: VpcConfiguration, required: true, location_name: "VpcConfiguration"))
628
+ RedshiftSourceConfig.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: RedshiftClusterIdentifier, location_name: "ClusterIdentifier"))
629
+ RedshiftSourceConfig.add_member(:database_host, Shapes::ShapeRef.new(shape: DatabaseHost, location_name: "DatabaseHost"))
630
+ RedshiftSourceConfig.add_member(:database_port, Shapes::ShapeRef.new(shape: DatabasePort, location_name: "DatabasePort", metadata: {"box"=>true}))
631
+ RedshiftSourceConfig.add_member(:secret_manager_arn, Shapes::ShapeRef.new(shape: PoirotSecretManagerArn, location_name: "SecretManagerArn"))
632
+ RedshiftSourceConfig.add_member(:database_name, Shapes::ShapeRef.new(shape: RedshiftDatabaseName, location_name: "DatabaseName"))
633
+ RedshiftSourceConfig.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, location_name: "TableName"))
634
+ RedshiftSourceConfig.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "RoleArn"))
635
+ RedshiftSourceConfig.add_member(:vpc_configuration, Shapes::ShapeRef.new(shape: VpcConfiguration, location_name: "VpcConfiguration"))
602
636
  RedshiftSourceConfig.struct_class = Types::RedshiftSourceConfig
603
637
 
604
638
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: Message, required: true, location_name: "Message"))
@@ -606,7 +640,7 @@ module Aws::LookoutMetrics
606
640
  ResourceNotFoundException.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
607
641
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
608
642
 
609
- S3SourceConfig.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "RoleArn"))
643
+ S3SourceConfig.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "RoleArn"))
610
644
  S3SourceConfig.add_member(:templated_path_list, Shapes::ShapeRef.new(shape: TemplatedPathList, location_name: "TemplatedPathList"))
611
645
  S3SourceConfig.add_member(:historical_data_path_list, Shapes::ShapeRef.new(shape: HistoricalDataPathList, location_name: "HistoricalDataPathList"))
612
646
  S3SourceConfig.add_member(:file_format_descriptor, Shapes::ShapeRef.new(shape: FileFormatDescriptor, location_name: "FileFormatDescriptor"))
@@ -806,6 +840,20 @@ module Aws::LookoutMetrics
806
840
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
807
841
  end)
808
842
 
843
+ api.add_operation(:deactivate_anomaly_detector, Seahorse::Model::Operation.new.tap do |o|
844
+ o.name = "DeactivateAnomalyDetector"
845
+ o.http_method = "POST"
846
+ o.http_request_uri = "/DeactivateAnomalyDetector"
847
+ o.input = Shapes::ShapeRef.new(shape: DeactivateAnomalyDetectorRequest)
848
+ o.output = Shapes::ShapeRef.new(shape: DeactivateAnomalyDetectorResponse)
849
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
850
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
851
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
852
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
853
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
854
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
855
+ end)
856
+
809
857
  api.add_operation(:delete_alert, Seahorse::Model::Operation.new.tap do |o|
810
858
  o.name = "DeleteAlert"
811
859
  o.http_method = "POST"
@@ -974,6 +1022,25 @@ module Aws::LookoutMetrics
974
1022
  )
975
1023
  end)
976
1024
 
1025
+ api.add_operation(:list_anomaly_group_related_metrics, Seahorse::Model::Operation.new.tap do |o|
1026
+ o.name = "ListAnomalyGroupRelatedMetrics"
1027
+ o.http_method = "POST"
1028
+ o.http_request_uri = "/ListAnomalyGroupRelatedMetrics"
1029
+ o.input = Shapes::ShapeRef.new(shape: ListAnomalyGroupRelatedMetricsRequest)
1030
+ o.output = Shapes::ShapeRef.new(shape: ListAnomalyGroupRelatedMetricsResponse)
1031
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1032
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1033
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1034
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1035
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1036
+ o[:pager] = Aws::Pager.new(
1037
+ limit_key: "max_results",
1038
+ tokens: {
1039
+ "next_token" => "next_token"
1040
+ }
1041
+ )
1042
+ end)
1043
+
977
1044
  api.add_operation(:list_anomaly_group_summaries, Seahorse::Model::Operation.new.tap do |o|
978
1045
  o.name = "ListAnomalyGroupSummaries"
979
1046
  o.http_method = "POST"
@@ -1101,6 +1168,7 @@ module Aws::LookoutMetrics
1101
1168
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1102
1169
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1103
1170
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1171
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1104
1172
  end)
1105
1173
  end
1106
1174
 
@@ -443,8 +443,8 @@ module Aws::LookoutMetrics
443
443
  # data as a hash:
444
444
  #
445
445
  # {
446
- # role_arn: "Arn", # required
447
- # flow_name: "FlowName", # required
446
+ # role_arn: "Arn",
447
+ # flow_name: "FlowName",
448
448
  # }
449
449
  #
450
450
  # @!attribute [rw] role_arn
@@ -494,7 +494,7 @@ module Aws::LookoutMetrics
494
494
  # data as a hash:
495
495
  #
496
496
  # {
497
- # role_arn: "Arn", # required
497
+ # role_arn: "Arn",
498
498
  # }
499
499
  #
500
500
  # @!attribute [rw] role_arn
@@ -710,7 +710,7 @@ module Aws::LookoutMetrics
710
710
  # metric_set_frequency: "P1D", # accepts P1D, PT1H, PT10M, PT5M
711
711
  # metric_source: { # required
712
712
  # s3_source_config: {
713
- # role_arn: "Arn", # required
713
+ # role_arn: "Arn",
714
714
  # templated_path_list: ["TemplatedPath"],
715
715
  # historical_data_path_list: ["HistoricalDataPath"],
716
716
  # file_format_descriptor: {
@@ -729,34 +729,34 @@ module Aws::LookoutMetrics
729
729
  # },
730
730
  # },
731
731
  # app_flow_config: {
732
- # role_arn: "Arn", # required
733
- # flow_name: "FlowName", # required
732
+ # role_arn: "Arn",
733
+ # flow_name: "FlowName",
734
734
  # },
735
735
  # cloud_watch_config: {
736
- # role_arn: "Arn", # required
736
+ # role_arn: "Arn",
737
737
  # },
738
738
  # rds_source_config: {
739
- # db_instance_identifier: "RDSDatabaseIdentifier", # required
740
- # database_host: "DatabaseHost", # required
741
- # database_port: 1, # required
742
- # secret_manager_arn: "PoirotSecretManagerArn", # required
743
- # database_name: "RDSDatabaseName", # required
744
- # table_name: "TableName", # required
745
- # role_arn: "Arn", # required
746
- # vpc_configuration: { # required
739
+ # db_instance_identifier: "RDSDatabaseIdentifier",
740
+ # database_host: "DatabaseHost",
741
+ # database_port: 1,
742
+ # secret_manager_arn: "PoirotSecretManagerArn",
743
+ # database_name: "RDSDatabaseName",
744
+ # table_name: "TableName",
745
+ # role_arn: "Arn",
746
+ # vpc_configuration: {
747
747
  # subnet_id_list: ["SubnetId"], # required
748
748
  # security_group_id_list: ["SecurityGroupId"], # required
749
749
  # },
750
750
  # },
751
751
  # redshift_source_config: {
752
- # cluster_identifier: "RedshiftClusterIdentifier", # required
753
- # database_host: "DatabaseHost", # required
754
- # database_port: 1, # required
755
- # secret_manager_arn: "PoirotSecretManagerArn", # required
756
- # database_name: "RedshiftDatabaseName", # required
757
- # table_name: "TableName", # required
758
- # role_arn: "Arn", # required
759
- # vpc_configuration: { # required
752
+ # cluster_identifier: "RedshiftClusterIdentifier",
753
+ # database_host: "DatabaseHost",
754
+ # database_port: 1,
755
+ # secret_manager_arn: "PoirotSecretManagerArn",
756
+ # database_name: "RedshiftDatabaseName",
757
+ # table_name: "TableName",
758
+ # role_arn: "Arn",
759
+ # vpc_configuration: {
760
760
  # subnet_id_list: ["SubnetId"], # required
761
761
  # security_group_id_list: ["SecurityGroupId"], # required
762
762
  # },
@@ -903,6 +903,29 @@ module Aws::LookoutMetrics
903
903
  include Aws::Structure
904
904
  end
905
905
 
906
+ # @note When making an API call, you may pass DeactivateAnomalyDetectorRequest
907
+ # data as a hash:
908
+ #
909
+ # {
910
+ # anomaly_detector_arn: "Arn", # required
911
+ # }
912
+ #
913
+ # @!attribute [rw] anomaly_detector_arn
914
+ # The Amazon Resource Name (ARN) of the anomaly detector.
915
+ # @return [String]
916
+ #
917
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/DeactivateAnomalyDetectorRequest AWS API Documentation
918
+ #
919
+ class DeactivateAnomalyDetectorRequest < Struct.new(
920
+ :anomaly_detector_arn)
921
+ SENSITIVE = []
922
+ include Aws::Structure
923
+ end
924
+
925
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/DeactivateAnomalyDetectorResponse AWS API Documentation
926
+ #
927
+ class DeactivateAnomalyDetectorResponse < Aws::EmptyStructure; end
928
+
906
929
  # @note When making an API call, you may pass DeleteAlertRequest
907
930
  # data as a hash:
908
931
  #
@@ -1083,13 +1106,17 @@ module Aws::LookoutMetrics
1083
1106
  # @return [String]
1084
1107
  #
1085
1108
  # @!attribute [rw] failure_reason
1086
- # The reason that the detector failed, if any.
1109
+ # The reason that the detector failed.
1087
1110
  # @return [String]
1088
1111
  #
1089
1112
  # @!attribute [rw] kms_key_arn
1090
1113
  # The ARN of the KMS key to use to encrypt your data.
1091
1114
  # @return [String]
1092
1115
  #
1116
+ # @!attribute [rw] failure_type
1117
+ # The process that caused the detector to fail.
1118
+ # @return [String]
1119
+ #
1093
1120
  # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/DescribeAnomalyDetectorResponse AWS API Documentation
1094
1121
  #
1095
1122
  class DescribeAnomalyDetectorResponse < Struct.new(
@@ -1101,7 +1128,8 @@ module Aws::LookoutMetrics
1101
1128
  :last_modification_time,
1102
1129
  :status,
1103
1130
  :failure_reason,
1104
- :kms_key_arn)
1131
+ :kms_key_arn,
1132
+ :failure_type)
1105
1133
  SENSITIVE = []
1106
1134
  include Aws::Structure
1107
1135
  end
@@ -1468,6 +1496,39 @@ module Aws::LookoutMetrics
1468
1496
  include Aws::Structure
1469
1497
  end
1470
1498
 
1499
+ # Aggregated details about the measures contributing to the anomaly
1500
+ # group, and the measures potentially impacted by the anomaly group.
1501
+ #
1502
+ # @!attribute [rw] metric_name
1503
+ # The name of the measure.
1504
+ # @return [String]
1505
+ #
1506
+ # @!attribute [rw] anomaly_group_id
1507
+ # The ID of the anomaly group.
1508
+ # @return [String]
1509
+ #
1510
+ # @!attribute [rw] relationship_type
1511
+ # Whether a measure is a potential cause of the anomaly group
1512
+ # (`CAUSE_OF_INPUT_ANOMALY_GROUP`), or whether the measure is impacted
1513
+ # by the anomaly group (`EFFECT_OF_INPUT_ANOMALY_GROUP`).
1514
+ # @return [String]
1515
+ #
1516
+ # @!attribute [rw] contribution_percentage
1517
+ # For potential causes (`CAUSE_OF_INPUT_ANOMALY_GROUP`), the
1518
+ # percentage contribution the measure has in causing the anomalies.
1519
+ # @return [Float]
1520
+ #
1521
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/InterMetricImpactDetails AWS API Documentation
1522
+ #
1523
+ class InterMetricImpactDetails < Struct.new(
1524
+ :metric_name,
1525
+ :anomaly_group_id,
1526
+ :relationship_type,
1527
+ :contribution_percentage)
1528
+ SENSITIVE = []
1529
+ include Aws::Structure
1530
+ end
1531
+
1471
1532
  # The request processing has failed because of an unknown error,
1472
1533
  # exception, or failure.
1473
1534
  #
@@ -1654,6 +1715,70 @@ module Aws::LookoutMetrics
1654
1715
  include Aws::Structure
1655
1716
  end
1656
1717
 
1718
+ # @note When making an API call, you may pass ListAnomalyGroupRelatedMetricsRequest
1719
+ # data as a hash:
1720
+ #
1721
+ # {
1722
+ # anomaly_detector_arn: "Arn", # required
1723
+ # anomaly_group_id: "UUID", # required
1724
+ # relationship_type_filter: "CAUSE_OF_INPUT_ANOMALY_GROUP", # accepts CAUSE_OF_INPUT_ANOMALY_GROUP, EFFECT_OF_INPUT_ANOMALY_GROUP
1725
+ # max_results: 1,
1726
+ # next_token: "NextToken",
1727
+ # }
1728
+ #
1729
+ # @!attribute [rw] anomaly_detector_arn
1730
+ # The Amazon Resource Name (ARN) of the anomaly detector.
1731
+ # @return [String]
1732
+ #
1733
+ # @!attribute [rw] anomaly_group_id
1734
+ # The ID of the anomaly group.
1735
+ # @return [String]
1736
+ #
1737
+ # @!attribute [rw] relationship_type_filter
1738
+ # Filter for potential causes (`CAUSE_OF_INPUT_ANOMALY_GROUP`) or
1739
+ # downstream effects (`EFFECT_OF_INPUT_ANOMALY_GROUP`) of the anomaly
1740
+ # group.
1741
+ # @return [String]
1742
+ #
1743
+ # @!attribute [rw] max_results
1744
+ # The maximum number of results to return.
1745
+ # @return [Integer]
1746
+ #
1747
+ # @!attribute [rw] next_token
1748
+ # Specify the pagination token that's returned by a previous request
1749
+ # to retrieve the next page of results.
1750
+ # @return [String]
1751
+ #
1752
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/ListAnomalyGroupRelatedMetricsRequest AWS API Documentation
1753
+ #
1754
+ class ListAnomalyGroupRelatedMetricsRequest < Struct.new(
1755
+ :anomaly_detector_arn,
1756
+ :anomaly_group_id,
1757
+ :relationship_type_filter,
1758
+ :max_results,
1759
+ :next_token)
1760
+ SENSITIVE = []
1761
+ include Aws::Structure
1762
+ end
1763
+
1764
+ # @!attribute [rw] inter_metric_impact_list
1765
+ # Aggregated details about the measures contributing to the anomaly
1766
+ # group, and the measures potentially impacted by the anomaly group.
1767
+ # @return [Array<Types::InterMetricImpactDetails>]
1768
+ #
1769
+ # @!attribute [rw] next_token
1770
+ # The pagination token that's included if more results are available.
1771
+ # @return [String]
1772
+ #
1773
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/ListAnomalyGroupRelatedMetricsResponse AWS API Documentation
1774
+ #
1775
+ class ListAnomalyGroupRelatedMetricsResponse < Struct.new(
1776
+ :inter_metric_impact_list,
1777
+ :next_token)
1778
+ SENSITIVE = []
1779
+ include Aws::Structure
1780
+ end
1781
+
1657
1782
  # @note When making an API call, you may pass ListAnomalyGroupSummariesRequest
1658
1783
  # data as a hash:
1659
1784
  #
@@ -1987,7 +2112,7 @@ module Aws::LookoutMetrics
1987
2112
  #
1988
2113
  # {
1989
2114
  # s3_source_config: {
1990
- # role_arn: "Arn", # required
2115
+ # role_arn: "Arn",
1991
2116
  # templated_path_list: ["TemplatedPath"],
1992
2117
  # historical_data_path_list: ["HistoricalDataPath"],
1993
2118
  # file_format_descriptor: {
@@ -2006,34 +2131,34 @@ module Aws::LookoutMetrics
2006
2131
  # },
2007
2132
  # },
2008
2133
  # app_flow_config: {
2009
- # role_arn: "Arn", # required
2010
- # flow_name: "FlowName", # required
2134
+ # role_arn: "Arn",
2135
+ # flow_name: "FlowName",
2011
2136
  # },
2012
2137
  # cloud_watch_config: {
2013
- # role_arn: "Arn", # required
2138
+ # role_arn: "Arn",
2014
2139
  # },
2015
2140
  # rds_source_config: {
2016
- # db_instance_identifier: "RDSDatabaseIdentifier", # required
2017
- # database_host: "DatabaseHost", # required
2018
- # database_port: 1, # required
2019
- # secret_manager_arn: "PoirotSecretManagerArn", # required
2020
- # database_name: "RDSDatabaseName", # required
2021
- # table_name: "TableName", # required
2022
- # role_arn: "Arn", # required
2023
- # vpc_configuration: { # required
2141
+ # db_instance_identifier: "RDSDatabaseIdentifier",
2142
+ # database_host: "DatabaseHost",
2143
+ # database_port: 1,
2144
+ # secret_manager_arn: "PoirotSecretManagerArn",
2145
+ # database_name: "RDSDatabaseName",
2146
+ # table_name: "TableName",
2147
+ # role_arn: "Arn",
2148
+ # vpc_configuration: {
2024
2149
  # subnet_id_list: ["SubnetId"], # required
2025
2150
  # security_group_id_list: ["SecurityGroupId"], # required
2026
2151
  # },
2027
2152
  # },
2028
2153
  # redshift_source_config: {
2029
- # cluster_identifier: "RedshiftClusterIdentifier", # required
2030
- # database_host: "DatabaseHost", # required
2031
- # database_port: 1, # required
2032
- # secret_manager_arn: "PoirotSecretManagerArn", # required
2033
- # database_name: "RedshiftDatabaseName", # required
2034
- # table_name: "TableName", # required
2035
- # role_arn: "Arn", # required
2036
- # vpc_configuration: { # required
2154
+ # cluster_identifier: "RedshiftClusterIdentifier",
2155
+ # database_host: "DatabaseHost",
2156
+ # database_port: 1,
2157
+ # secret_manager_arn: "PoirotSecretManagerArn",
2158
+ # database_name: "RedshiftDatabaseName",
2159
+ # table_name: "TableName",
2160
+ # role_arn: "Arn",
2161
+ # vpc_configuration: {
2037
2162
  # subnet_id_list: ["SubnetId"], # required
2038
2163
  # security_group_id_list: ["SecurityGroupId"], # required
2039
2164
  # },
@@ -2116,14 +2241,14 @@ module Aws::LookoutMetrics
2116
2241
  # data as a hash:
2117
2242
  #
2118
2243
  # {
2119
- # db_instance_identifier: "RDSDatabaseIdentifier", # required
2120
- # database_host: "DatabaseHost", # required
2121
- # database_port: 1, # required
2122
- # secret_manager_arn: "PoirotSecretManagerArn", # required
2123
- # database_name: "RDSDatabaseName", # required
2124
- # table_name: "TableName", # required
2125
- # role_arn: "Arn", # required
2126
- # vpc_configuration: { # required
2244
+ # db_instance_identifier: "RDSDatabaseIdentifier",
2245
+ # database_host: "DatabaseHost",
2246
+ # database_port: 1,
2247
+ # secret_manager_arn: "PoirotSecretManagerArn",
2248
+ # database_name: "RDSDatabaseName",
2249
+ # table_name: "TableName",
2250
+ # role_arn: "Arn",
2251
+ # vpc_configuration: {
2127
2252
  # subnet_id_list: ["SubnetId"], # required
2128
2253
  # security_group_id_list: ["SecurityGroupId"], # required
2129
2254
  # },
@@ -2183,14 +2308,14 @@ module Aws::LookoutMetrics
2183
2308
  # data as a hash:
2184
2309
  #
2185
2310
  # {
2186
- # cluster_identifier: "RedshiftClusterIdentifier", # required
2187
- # database_host: "DatabaseHost", # required
2188
- # database_port: 1, # required
2189
- # secret_manager_arn: "PoirotSecretManagerArn", # required
2190
- # database_name: "RedshiftDatabaseName", # required
2191
- # table_name: "TableName", # required
2192
- # role_arn: "Arn", # required
2193
- # vpc_configuration: { # required
2311
+ # cluster_identifier: "RedshiftClusterIdentifier",
2312
+ # database_host: "DatabaseHost",
2313
+ # database_port: 1,
2314
+ # secret_manager_arn: "PoirotSecretManagerArn",
2315
+ # database_name: "RedshiftDatabaseName",
2316
+ # table_name: "TableName",
2317
+ # role_arn: "Arn",
2318
+ # vpc_configuration: {
2194
2319
  # subnet_id_list: ["SubnetId"], # required
2195
2320
  # security_group_id_list: ["SecurityGroupId"], # required
2196
2321
  # },
@@ -2276,7 +2401,7 @@ module Aws::LookoutMetrics
2276
2401
  # data as a hash:
2277
2402
  #
2278
2403
  # {
2279
- # role_arn: "Arn", # required
2404
+ # role_arn: "Arn",
2280
2405
  # templated_path_list: ["TemplatedPath"],
2281
2406
  # historical_data_path_list: ["HistoricalDataPath"],
2282
2407
  # file_format_descriptor: {
@@ -2659,7 +2784,7 @@ module Aws::LookoutMetrics
2659
2784
  # metric_set_frequency: "P1D", # accepts P1D, PT1H, PT10M, PT5M
2660
2785
  # metric_source: {
2661
2786
  # s3_source_config: {
2662
- # role_arn: "Arn", # required
2787
+ # role_arn: "Arn",
2663
2788
  # templated_path_list: ["TemplatedPath"],
2664
2789
  # historical_data_path_list: ["HistoricalDataPath"],
2665
2790
  # file_format_descriptor: {
@@ -2678,34 +2803,34 @@ module Aws::LookoutMetrics
2678
2803
  # },
2679
2804
  # },
2680
2805
  # app_flow_config: {
2681
- # role_arn: "Arn", # required
2682
- # flow_name: "FlowName", # required
2806
+ # role_arn: "Arn",
2807
+ # flow_name: "FlowName",
2683
2808
  # },
2684
2809
  # cloud_watch_config: {
2685
- # role_arn: "Arn", # required
2810
+ # role_arn: "Arn",
2686
2811
  # },
2687
2812
  # rds_source_config: {
2688
- # db_instance_identifier: "RDSDatabaseIdentifier", # required
2689
- # database_host: "DatabaseHost", # required
2690
- # database_port: 1, # required
2691
- # secret_manager_arn: "PoirotSecretManagerArn", # required
2692
- # database_name: "RDSDatabaseName", # required
2693
- # table_name: "TableName", # required
2694
- # role_arn: "Arn", # required
2695
- # vpc_configuration: { # required
2813
+ # db_instance_identifier: "RDSDatabaseIdentifier",
2814
+ # database_host: "DatabaseHost",
2815
+ # database_port: 1,
2816
+ # secret_manager_arn: "PoirotSecretManagerArn",
2817
+ # database_name: "RDSDatabaseName",
2818
+ # table_name: "TableName",
2819
+ # role_arn: "Arn",
2820
+ # vpc_configuration: {
2696
2821
  # subnet_id_list: ["SubnetId"], # required
2697
2822
  # security_group_id_list: ["SecurityGroupId"], # required
2698
2823
  # },
2699
2824
  # },
2700
2825
  # redshift_source_config: {
2701
- # cluster_identifier: "RedshiftClusterIdentifier", # required
2702
- # database_host: "DatabaseHost", # required
2703
- # database_port: 1, # required
2704
- # secret_manager_arn: "PoirotSecretManagerArn", # required
2705
- # database_name: "RedshiftDatabaseName", # required
2706
- # table_name: "TableName", # required
2707
- # role_arn: "Arn", # required
2708
- # vpc_configuration: { # required
2826
+ # cluster_identifier: "RedshiftClusterIdentifier",
2827
+ # database_host: "DatabaseHost",
2828
+ # database_port: 1,
2829
+ # secret_manager_arn: "PoirotSecretManagerArn",
2830
+ # database_name: "RedshiftDatabaseName",
2831
+ # table_name: "TableName",
2832
+ # role_arn: "Arn",
2833
+ # vpc_configuration: {
2709
2834
  # subnet_id_list: ["SubnetId"], # required
2710
2835
  # security_group_id_list: ["SecurityGroupId"], # required
2711
2836
  # },
@@ -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.10.0'
51
+ GEM_VERSION = '1.14.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.10.0
4
+ version: 1.14.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: 2021-11-30 00:00:00.000000000 Z
11
+ date: 2022-02-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.122.0
22
+ version: 3.126.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.122.0
32
+ version: 3.126.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement