aws-sdk-lookoutmetrics 1.9.0 → 1.13.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: 1bde54ec92d49a6fed307eb8037dc8ad0442fd771722076a94b41187813eef57
4
- data.tar.gz: 563a0067c2b6cfddcc1ea21ddd58873d8e9b18cbc353c34a0409d567f8e1f66f
3
+ metadata.gz: 7988015864c401e8fed30ac06ab13d414c960abf7e9ee123bb038398aa509bae
4
+ data.tar.gz: 1c50397984fdcdd15e8fd9327d125f359bc0505c60aba217131fb26a264704c6
5
5
  SHA512:
6
- metadata.gz: cb8e744c8f9d1ceae87a74c8a68307256e565e3471e097cc4da9bd362bcdcd94e3b51f0fabc372081507095e30ba2b84d9b6fb70d0a55e0fcfc2dc9dc832b60c
7
- data.tar.gz: 703b2e4947bf39128d22dc9d50b2a59b15044d3f05517b27539bb9906062af5352d85a9df2b0faceffc20a61685791773268779724af660d184cb41228f7d4a6
6
+ metadata.gz: 7a1ecfe4784652b216bd5b12f53fa799821ce1faa8f1f412b09f30413fe04d0d48d831bcc363479ec778a5d2e986d9f6440e277488dfac73bdf9ffcdc9e6776d
7
+ data.tar.gz: 320dfa149f67655d730b55b6faf1a1ce976bd5fc75f695224043bb6e744662c06da69a1d2637420b901d34b515c7cc8e8ab3d819aca7263353ae34f571ed3923
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.13.0 (2022-01-14)
5
+ ------------------
6
+
7
+ * Feature - This release adds a new DeactivateAnomalyDetector API operation.
8
+
9
+ 1.12.0 (2022-01-10)
10
+ ------------------
11
+
12
+ * Feature - This release adds FailureType in the response of DescribeAnomalyDetector.
13
+
14
+ 1.11.0 (2021-12-21)
15
+ ------------------
16
+
17
+ * Feature - This release adds support for Causal Relationships. Added new ListAnomalyGroupRelatedMetrics API operation and InterMetricImpactDetails API data type
18
+
19
+ 1.10.0 (2021-11-30)
20
+ ------------------
21
+
22
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
23
+
4
24
  1.9.0 (2021-11-04)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.9.0
1
+ 1.13.0
@@ -27,6 +27,7 @@ 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'
30
31
  require 'aws-sdk-core/plugins/signature_v4.rb'
31
32
  require 'aws-sdk-core/plugins/protocols/rest_json.rb'
32
33
 
@@ -73,6 +74,7 @@ module Aws::LookoutMetrics
73
74
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
74
75
  add_plugin(Aws::Plugins::TransferEncoding)
75
76
  add_plugin(Aws::Plugins::HttpChecksum)
77
+ add_plugin(Aws::Plugins::DefaultsMode)
76
78
  add_plugin(Aws::Plugins::SignatureV4)
77
79
  add_plugin(Aws::Plugins::Protocols::RestJson)
78
80
 
@@ -119,7 +121,9 @@ module Aws::LookoutMetrics
119
121
  # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
122
  # are very aggressive. Construct and pass an instance of
121
123
  # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
- # enable retries and extended timeouts.
124
+ # enable retries and extended timeouts. Instance profile credential
125
+ # fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
126
+ # to true.
123
127
  #
124
128
  # @option options [required, String] :region
125
129
  # The AWS region to connect to. The configured `:region` is
@@ -173,6 +177,10 @@ module Aws::LookoutMetrics
173
177
  # Used only in `standard` and adaptive retry modes. Specifies whether to apply
174
178
  # a clock skew correction and retry requests with skewed client clocks.
175
179
  #
180
+ # @option options [String] :defaults_mode ("legacy")
181
+ # See {Aws::DefaultsModeConfiguration} for a list of the
182
+ # accepted modes and the configuration defaults that are included.
183
+ #
176
184
  # @option options [Boolean] :disable_host_prefix_injection (false)
177
185
  # Set to true to disable SDK automatically adding host prefix
178
186
  # to default service endpoint when available.
@@ -295,7 +303,7 @@ module Aws::LookoutMetrics
295
303
  # seconds to wait when opening a HTTP session before raising a
296
304
  # `Timeout::Error`.
297
305
  #
298
- # @option options [Integer] :http_read_timeout (60) The default
306
+ # @option options [Float] :http_read_timeout (60) The default
299
307
  # number of seconds to wait for response data. This value can
300
308
  # safely be set per-request on the session.
301
309
  #
@@ -311,6 +319,9 @@ module Aws::LookoutMetrics
311
319
  # disables this behaviour. This value can safely be set per
312
320
  # request on the session.
313
321
  #
322
+ # @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
323
+ # in seconds.
324
+ #
314
325
  # @option options [Boolean] :http_wire_trace (false) When `true`,
315
326
  # HTTP debug output will be sent to the `:logger`.
316
327
  #
@@ -564,7 +575,7 @@ module Aws::LookoutMetrics
564
575
  # metric_set_frequency: "P1D", # accepts P1D, PT1H, PT10M, PT5M
565
576
  # metric_source: { # required
566
577
  # s3_source_config: {
567
- # role_arn: "Arn", # required
578
+ # role_arn: "Arn",
568
579
  # templated_path_list: ["TemplatedPath"],
569
580
  # historical_data_path_list: ["HistoricalDataPath"],
570
581
  # file_format_descriptor: {
@@ -583,34 +594,34 @@ module Aws::LookoutMetrics
583
594
  # },
584
595
  # },
585
596
  # app_flow_config: {
586
- # role_arn: "Arn", # required
587
- # flow_name: "FlowName", # required
597
+ # role_arn: "Arn",
598
+ # flow_name: "FlowName",
588
599
  # },
589
600
  # cloud_watch_config: {
590
- # role_arn: "Arn", # required
601
+ # role_arn: "Arn",
591
602
  # },
592
603
  # rds_source_config: {
593
- # db_instance_identifier: "RDSDatabaseIdentifier", # required
594
- # database_host: "DatabaseHost", # required
595
- # database_port: 1, # required
596
- # secret_manager_arn: "PoirotSecretManagerArn", # required
597
- # database_name: "RDSDatabaseName", # required
598
- # table_name: "TableName", # required
599
- # role_arn: "Arn", # required
600
- # vpc_configuration: { # required
604
+ # db_instance_identifier: "RDSDatabaseIdentifier",
605
+ # database_host: "DatabaseHost",
606
+ # database_port: 1,
607
+ # secret_manager_arn: "PoirotSecretManagerArn",
608
+ # database_name: "RDSDatabaseName",
609
+ # table_name: "TableName",
610
+ # role_arn: "Arn",
611
+ # vpc_configuration: {
601
612
  # subnet_id_list: ["SubnetId"], # required
602
613
  # security_group_id_list: ["SecurityGroupId"], # required
603
614
  # },
604
615
  # },
605
616
  # redshift_source_config: {
606
- # cluster_identifier: "RedshiftClusterIdentifier", # required
607
- # database_host: "DatabaseHost", # required
608
- # database_port: 1, # required
609
- # secret_manager_arn: "PoirotSecretManagerArn", # required
610
- # database_name: "RedshiftDatabaseName", # required
611
- # table_name: "TableName", # required
612
- # role_arn: "Arn", # required
613
- # vpc_configuration: { # required
617
+ # cluster_identifier: "RedshiftClusterIdentifier",
618
+ # database_host: "DatabaseHost",
619
+ # database_port: 1,
620
+ # secret_manager_arn: "PoirotSecretManagerArn",
621
+ # database_name: "RedshiftDatabaseName",
622
+ # table_name: "TableName",
623
+ # role_arn: "Arn",
624
+ # vpc_configuration: {
614
625
  # subnet_id_list: ["SubnetId"], # required
615
626
  # security_group_id_list: ["SecurityGroupId"], # required
616
627
  # },
@@ -635,6 +646,28 @@ module Aws::LookoutMetrics
635
646
  req.send_request(options)
636
647
  end
637
648
 
649
+ # Deactivates an anomaly detector.
650
+ #
651
+ # @option params [required, String] :anomaly_detector_arn
652
+ # The Amazon Resource Name (ARN) of the anomaly detector.
653
+ #
654
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
655
+ #
656
+ # @example Request syntax with placeholder values
657
+ #
658
+ # resp = client.deactivate_anomaly_detector({
659
+ # anomaly_detector_arn: "Arn", # required
660
+ # })
661
+ #
662
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/DeactivateAnomalyDetector AWS API Documentation
663
+ #
664
+ # @overload deactivate_anomaly_detector(params = {})
665
+ # @param [Hash] params ({})
666
+ def deactivate_anomaly_detector(params = {}, options = {})
667
+ req = build_request(:deactivate_anomaly_detector, params)
668
+ req.send_request(options)
669
+ end
670
+
638
671
  # Deletes an alert.
639
672
  #
640
673
  # @option params [required, String] :alert_arn
@@ -796,6 +829,7 @@ module Aws::LookoutMetrics
796
829
  # * {Types::DescribeAnomalyDetectorResponse#status #status} => String
797
830
  # * {Types::DescribeAnomalyDetectorResponse#failure_reason #failure_reason} => String
798
831
  # * {Types::DescribeAnomalyDetectorResponse#kms_key_arn #kms_key_arn} => String
832
+ # * {Types::DescribeAnomalyDetectorResponse#failure_type #failure_type} => String
799
833
  #
800
834
  # @example Request syntax with placeholder values
801
835
  #
@@ -811,9 +845,10 @@ module Aws::LookoutMetrics
811
845
  # resp.anomaly_detector_config.anomaly_detector_frequency #=> String, one of "P1D", "PT1H", "PT10M", "PT5M"
812
846
  # resp.creation_time #=> Time
813
847
  # resp.last_modification_time #=> Time
814
- # resp.status #=> String, one of "ACTIVE", "ACTIVATING", "DELETING", "FAILED", "INACTIVE", "LEARNING", "BACK_TEST_ACTIVATING", "BACK_TEST_ACTIVE", "BACK_TEST_COMPLETE"
848
+ # resp.status #=> String, one of "ACTIVE", "ACTIVATING", "DELETING", "FAILED", "INACTIVE", "LEARNING", "BACK_TEST_ACTIVATING", "BACK_TEST_ACTIVE", "BACK_TEST_COMPLETE", "DEACTIVATED", "DEACTIVATING"
815
849
  # resp.failure_reason #=> String
816
850
  # resp.kms_key_arn #=> String
851
+ # resp.failure_type #=> String, one of "ACTIVATION_FAILURE", "BACK_TEST_ACTIVATION_FAILURE", "DELETION_FAILURE", "DEACTIVATION_FAILURE"
817
852
  #
818
853
  # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/DescribeAnomalyDetector AWS API Documentation
819
854
  #
@@ -1163,7 +1198,7 @@ module Aws::LookoutMetrics
1163
1198
  # resp.anomaly_detector_summary_list[0].anomaly_detector_description #=> String
1164
1199
  # resp.anomaly_detector_summary_list[0].creation_time #=> Time
1165
1200
  # resp.anomaly_detector_summary_list[0].last_modification_time #=> Time
1166
- # 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"
1201
+ # 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"
1167
1202
  # resp.anomaly_detector_summary_list[0].tags #=> Hash
1168
1203
  # resp.anomaly_detector_summary_list[0].tags["TagKey"] #=> String
1169
1204
  # resp.next_token #=> String
@@ -1177,6 +1212,62 @@ module Aws::LookoutMetrics
1177
1212
  req.send_request(options)
1178
1213
  end
1179
1214
 
1215
+ # Returns a list of measures that are potential causes or effects of an
1216
+ # anomaly group.
1217
+ #
1218
+ # @option params [required, String] :anomaly_detector_arn
1219
+ # The Amazon Resource Name (ARN) of the anomaly detector.
1220
+ #
1221
+ # @option params [required, String] :anomaly_group_id
1222
+ # The ID of the anomaly group.
1223
+ #
1224
+ # @option params [String] :relationship_type_filter
1225
+ # Filter for potential causes (`CAUSE_OF_INPUT_ANOMALY_GROUP`) or
1226
+ # downstream effects (`EFFECT_OF_INPUT_ANOMALY_GROUP`) of the anomaly
1227
+ # group.
1228
+ #
1229
+ # @option params [Integer] :max_results
1230
+ # The maximum number of results to return.
1231
+ #
1232
+ # @option params [String] :next_token
1233
+ # Specify the pagination token that's returned by a previous request to
1234
+ # retrieve the next page of results.
1235
+ #
1236
+ # @return [Types::ListAnomalyGroupRelatedMetricsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1237
+ #
1238
+ # * {Types::ListAnomalyGroupRelatedMetricsResponse#inter_metric_impact_list #inter_metric_impact_list} => Array<Types::InterMetricImpactDetails>
1239
+ # * {Types::ListAnomalyGroupRelatedMetricsResponse#next_token #next_token} => String
1240
+ #
1241
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1242
+ #
1243
+ # @example Request syntax with placeholder values
1244
+ #
1245
+ # resp = client.list_anomaly_group_related_metrics({
1246
+ # anomaly_detector_arn: "Arn", # required
1247
+ # anomaly_group_id: "UUID", # required
1248
+ # relationship_type_filter: "CAUSE_OF_INPUT_ANOMALY_GROUP", # accepts CAUSE_OF_INPUT_ANOMALY_GROUP, EFFECT_OF_INPUT_ANOMALY_GROUP
1249
+ # max_results: 1,
1250
+ # next_token: "NextToken",
1251
+ # })
1252
+ #
1253
+ # @example Response structure
1254
+ #
1255
+ # resp.inter_metric_impact_list #=> Array
1256
+ # resp.inter_metric_impact_list[0].metric_name #=> String
1257
+ # resp.inter_metric_impact_list[0].anomaly_group_id #=> String
1258
+ # resp.inter_metric_impact_list[0].relationship_type #=> String, one of "CAUSE_OF_INPUT_ANOMALY_GROUP", "EFFECT_OF_INPUT_ANOMALY_GROUP"
1259
+ # resp.inter_metric_impact_list[0].contribution_percentage #=> Float
1260
+ # resp.next_token #=> String
1261
+ #
1262
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/ListAnomalyGroupRelatedMetrics AWS API Documentation
1263
+ #
1264
+ # @overload list_anomaly_group_related_metrics(params = {})
1265
+ # @param [Hash] params ({})
1266
+ def list_anomaly_group_related_metrics(params = {}, options = {})
1267
+ req = build_request(:list_anomaly_group_related_metrics, params)
1268
+ req.send_request(options)
1269
+ end
1270
+
1180
1271
  # Returns a list of anomaly groups.
1181
1272
  #
1182
1273
  # @option params [required, String] :anomaly_detector_arn
@@ -1573,7 +1664,7 @@ module Aws::LookoutMetrics
1573
1664
  # metric_set_frequency: "P1D", # accepts P1D, PT1H, PT10M, PT5M
1574
1665
  # metric_source: {
1575
1666
  # s3_source_config: {
1576
- # role_arn: "Arn", # required
1667
+ # role_arn: "Arn",
1577
1668
  # templated_path_list: ["TemplatedPath"],
1578
1669
  # historical_data_path_list: ["HistoricalDataPath"],
1579
1670
  # file_format_descriptor: {
@@ -1592,34 +1683,34 @@ module Aws::LookoutMetrics
1592
1683
  # },
1593
1684
  # },
1594
1685
  # app_flow_config: {
1595
- # role_arn: "Arn", # required
1596
- # flow_name: "FlowName", # required
1686
+ # role_arn: "Arn",
1687
+ # flow_name: "FlowName",
1597
1688
  # },
1598
1689
  # cloud_watch_config: {
1599
- # role_arn: "Arn", # required
1690
+ # role_arn: "Arn",
1600
1691
  # },
1601
1692
  # rds_source_config: {
1602
- # db_instance_identifier: "RDSDatabaseIdentifier", # required
1603
- # database_host: "DatabaseHost", # required
1604
- # database_port: 1, # required
1605
- # secret_manager_arn: "PoirotSecretManagerArn", # required
1606
- # database_name: "RDSDatabaseName", # required
1607
- # table_name: "TableName", # required
1608
- # role_arn: "Arn", # required
1609
- # vpc_configuration: { # required
1693
+ # db_instance_identifier: "RDSDatabaseIdentifier",
1694
+ # database_host: "DatabaseHost",
1695
+ # database_port: 1,
1696
+ # secret_manager_arn: "PoirotSecretManagerArn",
1697
+ # database_name: "RDSDatabaseName",
1698
+ # table_name: "TableName",
1699
+ # role_arn: "Arn",
1700
+ # vpc_configuration: {
1610
1701
  # subnet_id_list: ["SubnetId"], # required
1611
1702
  # security_group_id_list: ["SecurityGroupId"], # required
1612
1703
  # },
1613
1704
  # },
1614
1705
  # redshift_source_config: {
1615
- # cluster_identifier: "RedshiftClusterIdentifier", # required
1616
- # database_host: "DatabaseHost", # required
1617
- # database_port: 1, # required
1618
- # secret_manager_arn: "PoirotSecretManagerArn", # required
1619
- # database_name: "RedshiftDatabaseName", # required
1620
- # table_name: "TableName", # required
1621
- # role_arn: "Arn", # required
1622
- # vpc_configuration: { # required
1706
+ # cluster_identifier: "RedshiftClusterIdentifier",
1707
+ # database_host: "DatabaseHost",
1708
+ # database_port: 1,
1709
+ # secret_manager_arn: "PoirotSecretManagerArn",
1710
+ # database_name: "RedshiftDatabaseName",
1711
+ # table_name: "TableName",
1712
+ # role_arn: "Arn",
1713
+ # vpc_configuration: {
1623
1714
  # subnet_id_list: ["SubnetId"], # required
1624
1715
  # security_group_id_list: ["SecurityGroupId"], # required
1625
1716
  # },
@@ -1653,7 +1744,7 @@ module Aws::LookoutMetrics
1653
1744
  params: params,
1654
1745
  config: config)
1655
1746
  context[:gem_name] = 'aws-sdk-lookoutmetrics'
1656
- context[:gem_version] = '1.9.0'
1747
+ context[:gem_version] = '1.13.0'
1657
1748
  Seahorse::Client::Request.new(handlers, context)
1658
1749
  end
1659
1750
 
@@ -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.9.0'
51
+ GEM_VERSION = '1.13.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.9.0
4
+ version: 1.13.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-04 00:00:00.000000000 Z
11
+ date: 2022-01-14 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.125.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.125.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement