aws-sdk-lookoutmetrics 1.8.0 → 1.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lookoutmetrics/client.rb +121 -43
- data/lib/aws-sdk-lookoutmetrics/client_api.rb +67 -20
- data/lib/aws-sdk-lookoutmetrics/types.rb +184 -82
- data/lib/aws-sdk-lookoutmetrics.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2cc8c97bd83155d122b2ce3a58022bcb99f68fdb9e29f3010ab418c26c9ce523
|
4
|
+
data.tar.gz: 4b5940a08fbbe0f1e67866a6f6c39030294d77c5e7d625ded4c416d0cc727319
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b5a51ac5cb361e5ad7d72195aa244740082903205e141722e2df9e5e6505ccffed9595571083347f087bf779e1effd2d5390c27962490398bfd4772e3acab886
|
7
|
+
data.tar.gz: f1e824e124fe97453783a8f89f814dc5fbfe96c24c7ce933b95e0cf8adb37f4d17c7d61afee32883cc368505caec1e31458fefbcbc41640952eb8852796fe7ed
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.12.0 (2022-01-10)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds FailureType in the response of DescribeAnomalyDetector.
|
8
|
+
|
9
|
+
1.11.0 (2021-12-21)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release adds support for Causal Relationships. Added new ListAnomalyGroupRelatedMetrics API operation and InterMetricImpactDetails API data type
|
13
|
+
|
14
|
+
1.10.0 (2021-11-30)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.9.0 (2021-11-04)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
4
24
|
1.8.0 (2021-10-18)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.12.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.
|
@@ -275,6 +283,15 @@ module Aws::LookoutMetrics
|
|
275
283
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
276
284
|
# requests are made, and retries are disabled.
|
277
285
|
#
|
286
|
+
# @option options [Boolean] :use_dualstack_endpoint
|
287
|
+
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
288
|
+
# will be used if available.
|
289
|
+
#
|
290
|
+
# @option options [Boolean] :use_fips_endpoint
|
291
|
+
# When set to `true`, fips compatible endpoints will be used if available.
|
292
|
+
# When a `fips` region is used, the region is normalized and this config
|
293
|
+
# is set to `true`.
|
294
|
+
#
|
278
295
|
# @option options [Boolean] :validate_params (true)
|
279
296
|
# When `true`, request parameters are validated before
|
280
297
|
# sending the request.
|
@@ -286,7 +303,7 @@ module Aws::LookoutMetrics
|
|
286
303
|
# seconds to wait when opening a HTTP session before raising a
|
287
304
|
# `Timeout::Error`.
|
288
305
|
#
|
289
|
-
# @option options [
|
306
|
+
# @option options [Float] :http_read_timeout (60) The default
|
290
307
|
# number of seconds to wait for response data. This value can
|
291
308
|
# safely be set per-request on the session.
|
292
309
|
#
|
@@ -302,6 +319,9 @@ module Aws::LookoutMetrics
|
|
302
319
|
# disables this behaviour. This value can safely be set per
|
303
320
|
# request on the session.
|
304
321
|
#
|
322
|
+
# @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
|
323
|
+
# in seconds.
|
324
|
+
#
|
305
325
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
306
326
|
# HTTP debug output will be sent to the `:logger`.
|
307
327
|
#
|
@@ -555,7 +575,7 @@ module Aws::LookoutMetrics
|
|
555
575
|
# metric_set_frequency: "P1D", # accepts P1D, PT1H, PT10M, PT5M
|
556
576
|
# metric_source: { # required
|
557
577
|
# s3_source_config: {
|
558
|
-
# role_arn: "Arn",
|
578
|
+
# role_arn: "Arn",
|
559
579
|
# templated_path_list: ["TemplatedPath"],
|
560
580
|
# historical_data_path_list: ["HistoricalDataPath"],
|
561
581
|
# file_format_descriptor: {
|
@@ -574,34 +594,34 @@ module Aws::LookoutMetrics
|
|
574
594
|
# },
|
575
595
|
# },
|
576
596
|
# app_flow_config: {
|
577
|
-
# role_arn: "Arn",
|
578
|
-
# flow_name: "FlowName",
|
597
|
+
# role_arn: "Arn",
|
598
|
+
# flow_name: "FlowName",
|
579
599
|
# },
|
580
600
|
# cloud_watch_config: {
|
581
|
-
# role_arn: "Arn",
|
601
|
+
# role_arn: "Arn",
|
582
602
|
# },
|
583
603
|
# rds_source_config: {
|
584
|
-
# db_instance_identifier: "RDSDatabaseIdentifier",
|
585
|
-
# database_host: "DatabaseHost",
|
586
|
-
# database_port: 1,
|
587
|
-
# secret_manager_arn: "PoirotSecretManagerArn",
|
588
|
-
# database_name: "RDSDatabaseName",
|
589
|
-
# table_name: "TableName",
|
590
|
-
# role_arn: "Arn",
|
591
|
-
# vpc_configuration: {
|
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: {
|
592
612
|
# subnet_id_list: ["SubnetId"], # required
|
593
613
|
# security_group_id_list: ["SecurityGroupId"], # required
|
594
614
|
# },
|
595
615
|
# },
|
596
616
|
# redshift_source_config: {
|
597
|
-
# cluster_identifier: "RedshiftClusterIdentifier",
|
598
|
-
# database_host: "DatabaseHost",
|
599
|
-
# database_port: 1,
|
600
|
-
# secret_manager_arn: "PoirotSecretManagerArn",
|
601
|
-
# database_name: "RedshiftDatabaseName",
|
602
|
-
# table_name: "TableName",
|
603
|
-
# role_arn: "Arn",
|
604
|
-
# vpc_configuration: {
|
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: {
|
605
625
|
# subnet_id_list: ["SubnetId"], # required
|
606
626
|
# security_group_id_list: ["SecurityGroupId"], # required
|
607
627
|
# },
|
@@ -787,6 +807,7 @@ module Aws::LookoutMetrics
|
|
787
807
|
# * {Types::DescribeAnomalyDetectorResponse#status #status} => String
|
788
808
|
# * {Types::DescribeAnomalyDetectorResponse#failure_reason #failure_reason} => String
|
789
809
|
# * {Types::DescribeAnomalyDetectorResponse#kms_key_arn #kms_key_arn} => String
|
810
|
+
# * {Types::DescribeAnomalyDetectorResponse#failure_type #failure_type} => String
|
790
811
|
#
|
791
812
|
# @example Request syntax with placeholder values
|
792
813
|
#
|
@@ -805,6 +826,7 @@ module Aws::LookoutMetrics
|
|
805
826
|
# resp.status #=> String, one of "ACTIVE", "ACTIVATING", "DELETING", "FAILED", "INACTIVE", "LEARNING", "BACK_TEST_ACTIVATING", "BACK_TEST_ACTIVE", "BACK_TEST_COMPLETE"
|
806
827
|
# resp.failure_reason #=> String
|
807
828
|
# resp.kms_key_arn #=> String
|
829
|
+
# resp.failure_type #=> String, one of "ACTIVATION_FAILURE", "BACK_TEST_ACTIVATION_FAILURE", "DELETION_FAILURE"
|
808
830
|
#
|
809
831
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/DescribeAnomalyDetector AWS API Documentation
|
810
832
|
#
|
@@ -1168,6 +1190,62 @@ module Aws::LookoutMetrics
|
|
1168
1190
|
req.send_request(options)
|
1169
1191
|
end
|
1170
1192
|
|
1193
|
+
# Returns a list of measures that are potential causes or effects of an
|
1194
|
+
# anomaly group.
|
1195
|
+
#
|
1196
|
+
# @option params [required, String] :anomaly_detector_arn
|
1197
|
+
# The Amazon Resource Name (ARN) of the anomaly detector.
|
1198
|
+
#
|
1199
|
+
# @option params [required, String] :anomaly_group_id
|
1200
|
+
# The ID of the anomaly group.
|
1201
|
+
#
|
1202
|
+
# @option params [String] :relationship_type_filter
|
1203
|
+
# Filter for potential causes (`CAUSE_OF_INPUT_ANOMALY_GROUP`) or
|
1204
|
+
# downstream effects (`EFFECT_OF_INPUT_ANOMALY_GROUP`) of the anomaly
|
1205
|
+
# group.
|
1206
|
+
#
|
1207
|
+
# @option params [Integer] :max_results
|
1208
|
+
# The maximum number of results to return.
|
1209
|
+
#
|
1210
|
+
# @option params [String] :next_token
|
1211
|
+
# Specify the pagination token that's returned by a previous request to
|
1212
|
+
# retrieve the next page of results.
|
1213
|
+
#
|
1214
|
+
# @return [Types::ListAnomalyGroupRelatedMetricsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1215
|
+
#
|
1216
|
+
# * {Types::ListAnomalyGroupRelatedMetricsResponse#inter_metric_impact_list #inter_metric_impact_list} => Array<Types::InterMetricImpactDetails>
|
1217
|
+
# * {Types::ListAnomalyGroupRelatedMetricsResponse#next_token #next_token} => String
|
1218
|
+
#
|
1219
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1220
|
+
#
|
1221
|
+
# @example Request syntax with placeholder values
|
1222
|
+
#
|
1223
|
+
# resp = client.list_anomaly_group_related_metrics({
|
1224
|
+
# anomaly_detector_arn: "Arn", # required
|
1225
|
+
# anomaly_group_id: "UUID", # required
|
1226
|
+
# relationship_type_filter: "CAUSE_OF_INPUT_ANOMALY_GROUP", # accepts CAUSE_OF_INPUT_ANOMALY_GROUP, EFFECT_OF_INPUT_ANOMALY_GROUP
|
1227
|
+
# max_results: 1,
|
1228
|
+
# next_token: "NextToken",
|
1229
|
+
# })
|
1230
|
+
#
|
1231
|
+
# @example Response structure
|
1232
|
+
#
|
1233
|
+
# resp.inter_metric_impact_list #=> Array
|
1234
|
+
# resp.inter_metric_impact_list[0].metric_name #=> String
|
1235
|
+
# resp.inter_metric_impact_list[0].anomaly_group_id #=> String
|
1236
|
+
# resp.inter_metric_impact_list[0].relationship_type #=> String, one of "CAUSE_OF_INPUT_ANOMALY_GROUP", "EFFECT_OF_INPUT_ANOMALY_GROUP"
|
1237
|
+
# resp.inter_metric_impact_list[0].contribution_percentage #=> Float
|
1238
|
+
# resp.next_token #=> String
|
1239
|
+
#
|
1240
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/ListAnomalyGroupRelatedMetrics AWS API Documentation
|
1241
|
+
#
|
1242
|
+
# @overload list_anomaly_group_related_metrics(params = {})
|
1243
|
+
# @param [Hash] params ({})
|
1244
|
+
def list_anomaly_group_related_metrics(params = {}, options = {})
|
1245
|
+
req = build_request(:list_anomaly_group_related_metrics, params)
|
1246
|
+
req.send_request(options)
|
1247
|
+
end
|
1248
|
+
|
1171
1249
|
# Returns a list of anomaly groups.
|
1172
1250
|
#
|
1173
1251
|
# @option params [required, String] :anomaly_detector_arn
|
@@ -1564,7 +1642,7 @@ module Aws::LookoutMetrics
|
|
1564
1642
|
# metric_set_frequency: "P1D", # accepts P1D, PT1H, PT10M, PT5M
|
1565
1643
|
# metric_source: {
|
1566
1644
|
# s3_source_config: {
|
1567
|
-
# role_arn: "Arn",
|
1645
|
+
# role_arn: "Arn",
|
1568
1646
|
# templated_path_list: ["TemplatedPath"],
|
1569
1647
|
# historical_data_path_list: ["HistoricalDataPath"],
|
1570
1648
|
# file_format_descriptor: {
|
@@ -1583,34 +1661,34 @@ module Aws::LookoutMetrics
|
|
1583
1661
|
# },
|
1584
1662
|
# },
|
1585
1663
|
# app_flow_config: {
|
1586
|
-
# role_arn: "Arn",
|
1587
|
-
# flow_name: "FlowName",
|
1664
|
+
# role_arn: "Arn",
|
1665
|
+
# flow_name: "FlowName",
|
1588
1666
|
# },
|
1589
1667
|
# cloud_watch_config: {
|
1590
|
-
# role_arn: "Arn",
|
1668
|
+
# role_arn: "Arn",
|
1591
1669
|
# },
|
1592
1670
|
# rds_source_config: {
|
1593
|
-
# db_instance_identifier: "RDSDatabaseIdentifier",
|
1594
|
-
# database_host: "DatabaseHost",
|
1595
|
-
# database_port: 1,
|
1596
|
-
# secret_manager_arn: "PoirotSecretManagerArn",
|
1597
|
-
# database_name: "RDSDatabaseName",
|
1598
|
-
# table_name: "TableName",
|
1599
|
-
# role_arn: "Arn",
|
1600
|
-
# vpc_configuration: {
|
1671
|
+
# db_instance_identifier: "RDSDatabaseIdentifier",
|
1672
|
+
# database_host: "DatabaseHost",
|
1673
|
+
# database_port: 1,
|
1674
|
+
# secret_manager_arn: "PoirotSecretManagerArn",
|
1675
|
+
# database_name: "RDSDatabaseName",
|
1676
|
+
# table_name: "TableName",
|
1677
|
+
# role_arn: "Arn",
|
1678
|
+
# vpc_configuration: {
|
1601
1679
|
# subnet_id_list: ["SubnetId"], # required
|
1602
1680
|
# security_group_id_list: ["SecurityGroupId"], # required
|
1603
1681
|
# },
|
1604
1682
|
# },
|
1605
1683
|
# redshift_source_config: {
|
1606
|
-
# cluster_identifier: "RedshiftClusterIdentifier",
|
1607
|
-
# database_host: "DatabaseHost",
|
1608
|
-
# database_port: 1,
|
1609
|
-
# secret_manager_arn: "PoirotSecretManagerArn",
|
1610
|
-
# database_name: "RedshiftDatabaseName",
|
1611
|
-
# table_name: "TableName",
|
1612
|
-
# role_arn: "Arn",
|
1613
|
-
# vpc_configuration: {
|
1684
|
+
# cluster_identifier: "RedshiftClusterIdentifier",
|
1685
|
+
# database_host: "DatabaseHost",
|
1686
|
+
# database_port: 1,
|
1687
|
+
# secret_manager_arn: "PoirotSecretManagerArn",
|
1688
|
+
# database_name: "RedshiftDatabaseName",
|
1689
|
+
# table_name: "TableName",
|
1690
|
+
# role_arn: "Arn",
|
1691
|
+
# vpc_configuration: {
|
1614
1692
|
# subnet_id_list: ["SubnetId"], # required
|
1615
1693
|
# security_group_id_list: ["SecurityGroupId"], # required
|
1616
1694
|
# },
|
@@ -1644,7 +1722,7 @@ module Aws::LookoutMetrics
|
|
1644
1722
|
params: params,
|
1645
1723
|
config: config)
|
1646
1724
|
context[:gem_name] = 'aws-sdk-lookoutmetrics'
|
1647
|
-
context[:gem_version] = '1.
|
1725
|
+
context[:gem_version] = '1.12.0'
|
1648
1726
|
Seahorse::Client::Request.new(handlers, context)
|
1649
1727
|
end
|
1650
1728
|
|
@@ -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')
|
@@ -102,6 +103,8 @@ module Aws::LookoutMetrics
|
|
102
103
|
HistoricalDataPath = Shapes::StringShape.new(name: 'HistoricalDataPath')
|
103
104
|
HistoricalDataPathList = Shapes::ListShape.new(name: 'HistoricalDataPathList')
|
104
105
|
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
106
|
+
InterMetricImpactDetails = Shapes::StructureShape.new(name: 'InterMetricImpactDetails')
|
107
|
+
InterMetricImpactList = Shapes::ListShape.new(name: 'InterMetricImpactList')
|
105
108
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
106
109
|
ItemizedMetricStats = Shapes::StructureShape.new(name: 'ItemizedMetricStats')
|
107
110
|
ItemizedMetricStatsList = Shapes::ListShape.new(name: 'ItemizedMetricStatsList')
|
@@ -113,6 +116,8 @@ module Aws::LookoutMetrics
|
|
113
116
|
ListAlertsResponse = Shapes::StructureShape.new(name: 'ListAlertsResponse')
|
114
117
|
ListAnomalyDetectorsRequest = Shapes::StructureShape.new(name: 'ListAnomalyDetectorsRequest')
|
115
118
|
ListAnomalyDetectorsResponse = Shapes::StructureShape.new(name: 'ListAnomalyDetectorsResponse')
|
119
|
+
ListAnomalyGroupRelatedMetricsRequest = Shapes::StructureShape.new(name: 'ListAnomalyGroupRelatedMetricsRequest')
|
120
|
+
ListAnomalyGroupRelatedMetricsResponse = Shapes::StructureShape.new(name: 'ListAnomalyGroupRelatedMetricsResponse')
|
116
121
|
ListAnomalyGroupSummariesRequest = Shapes::StructureShape.new(name: 'ListAnomalyGroupSummariesRequest')
|
117
122
|
ListAnomalyGroupSummariesResponse = Shapes::StructureShape.new(name: 'ListAnomalyGroupSummariesResponse')
|
118
123
|
ListAnomalyGroupTimeSeriesRequest = Shapes::StructureShape.new(name: 'ListAnomalyGroupTimeSeriesRequest')
|
@@ -124,6 +129,7 @@ module Aws::LookoutMetrics
|
|
124
129
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
125
130
|
Message = Shapes::StringShape.new(name: 'Message')
|
126
131
|
Metric = Shapes::StructureShape.new(name: 'Metric')
|
132
|
+
MetricChangePercentage = Shapes::FloatShape.new(name: 'MetricChangePercentage')
|
127
133
|
MetricLevelImpact = Shapes::StructureShape.new(name: 'MetricLevelImpact')
|
128
134
|
MetricLevelImpactList = Shapes::ListShape.new(name: 'MetricLevelImpactList')
|
129
135
|
MetricList = Shapes::ListShape.new(name: 'MetricList')
|
@@ -149,6 +155,7 @@ module Aws::LookoutMetrics
|
|
149
155
|
RedshiftClusterIdentifier = Shapes::StringShape.new(name: 'RedshiftClusterIdentifier')
|
150
156
|
RedshiftDatabaseName = Shapes::StringShape.new(name: 'RedshiftDatabaseName')
|
151
157
|
RedshiftSourceConfig = Shapes::StructureShape.new(name: 'RedshiftSourceConfig')
|
158
|
+
RelationshipType = Shapes::StringShape.new(name: 'RelationshipType')
|
152
159
|
ResourceId = Shapes::StringShape.new(name: 'ResourceId')
|
153
160
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
154
161
|
ResourceType = Shapes::StringShape.new(name: 'ResourceType')
|
@@ -283,8 +290,8 @@ module Aws::LookoutMetrics
|
|
283
290
|
AnomalyGroupTimeSeriesFeedback.add_member(:is_anomaly, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "IsAnomaly"))
|
284
291
|
AnomalyGroupTimeSeriesFeedback.struct_class = Types::AnomalyGroupTimeSeriesFeedback
|
285
292
|
|
286
|
-
AppFlowConfig.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn,
|
287
|
-
AppFlowConfig.add_member(:flow_name, Shapes::ShapeRef.new(shape: FlowName,
|
293
|
+
AppFlowConfig.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "RoleArn"))
|
294
|
+
AppFlowConfig.add_member(:flow_name, Shapes::ShapeRef.new(shape: FlowName, location_name: "FlowName"))
|
288
295
|
AppFlowConfig.struct_class = Types::AppFlowConfig
|
289
296
|
|
290
297
|
BackTestAnomalyDetectorRequest.add_member(:anomaly_detector_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "AnomalyDetectorArn"))
|
@@ -292,7 +299,7 @@ module Aws::LookoutMetrics
|
|
292
299
|
|
293
300
|
BackTestAnomalyDetectorResponse.struct_class = Types::BackTestAnomalyDetectorResponse
|
294
301
|
|
295
|
-
CloudWatchConfig.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn,
|
302
|
+
CloudWatchConfig.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "RoleArn"))
|
296
303
|
CloudWatchConfig.struct_class = Types::CloudWatchConfig
|
297
304
|
|
298
305
|
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: Message, required: true, location_name: "Message"))
|
@@ -386,6 +393,7 @@ module Aws::LookoutMetrics
|
|
386
393
|
DescribeAnomalyDetectorResponse.add_member(:status, Shapes::ShapeRef.new(shape: AnomalyDetectorStatus, location_name: "Status"))
|
387
394
|
DescribeAnomalyDetectorResponse.add_member(:failure_reason, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "FailureReason"))
|
388
395
|
DescribeAnomalyDetectorResponse.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "KmsKeyArn"))
|
396
|
+
DescribeAnomalyDetectorResponse.add_member(:failure_type, Shapes::ShapeRef.new(shape: AnomalyDetectorFailureType, location_name: "FailureType"))
|
389
397
|
DescribeAnomalyDetectorResponse.struct_class = Types::DescribeAnomalyDetectorResponse
|
390
398
|
|
391
399
|
DescribeMetricSetRequest.add_member(:metric_set_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "MetricSetArn"))
|
@@ -467,6 +475,14 @@ module Aws::LookoutMetrics
|
|
467
475
|
|
468
476
|
HistoricalDataPathList.member = Shapes::ShapeRef.new(shape: HistoricalDataPath)
|
469
477
|
|
478
|
+
InterMetricImpactDetails.add_member(:metric_name, Shapes::ShapeRef.new(shape: MetricName, location_name: "MetricName"))
|
479
|
+
InterMetricImpactDetails.add_member(:anomaly_group_id, Shapes::ShapeRef.new(shape: UUID, location_name: "AnomalyGroupId"))
|
480
|
+
InterMetricImpactDetails.add_member(:relationship_type, Shapes::ShapeRef.new(shape: RelationshipType, location_name: "RelationshipType"))
|
481
|
+
InterMetricImpactDetails.add_member(:contribution_percentage, Shapes::ShapeRef.new(shape: MetricChangePercentage, location_name: "ContributionPercentage"))
|
482
|
+
InterMetricImpactDetails.struct_class = Types::InterMetricImpactDetails
|
483
|
+
|
484
|
+
InterMetricImpactList.member = Shapes::ShapeRef.new(shape: InterMetricImpactDetails)
|
485
|
+
|
470
486
|
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: Message, required: true, location_name: "Message"))
|
471
487
|
InternalServerException.struct_class = Types::InternalServerException
|
472
488
|
|
@@ -501,6 +517,17 @@ module Aws::LookoutMetrics
|
|
501
517
|
ListAnomalyDetectorsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
502
518
|
ListAnomalyDetectorsResponse.struct_class = Types::ListAnomalyDetectorsResponse
|
503
519
|
|
520
|
+
ListAnomalyGroupRelatedMetricsRequest.add_member(:anomaly_detector_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "AnomalyDetectorArn"))
|
521
|
+
ListAnomalyGroupRelatedMetricsRequest.add_member(:anomaly_group_id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "AnomalyGroupId"))
|
522
|
+
ListAnomalyGroupRelatedMetricsRequest.add_member(:relationship_type_filter, Shapes::ShapeRef.new(shape: RelationshipType, location_name: "RelationshipTypeFilter"))
|
523
|
+
ListAnomalyGroupRelatedMetricsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults", metadata: {"box"=>true}))
|
524
|
+
ListAnomalyGroupRelatedMetricsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
525
|
+
ListAnomalyGroupRelatedMetricsRequest.struct_class = Types::ListAnomalyGroupRelatedMetricsRequest
|
526
|
+
|
527
|
+
ListAnomalyGroupRelatedMetricsResponse.add_member(:inter_metric_impact_list, Shapes::ShapeRef.new(shape: InterMetricImpactList, location_name: "InterMetricImpactList"))
|
528
|
+
ListAnomalyGroupRelatedMetricsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
529
|
+
ListAnomalyGroupRelatedMetricsResponse.struct_class = Types::ListAnomalyGroupRelatedMetricsResponse
|
530
|
+
|
504
531
|
ListAnomalyGroupSummariesRequest.add_member(:anomaly_detector_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "AnomalyDetectorArn"))
|
505
532
|
ListAnomalyGroupSummariesRequest.add_member(:sensitivity_threshold, Shapes::ShapeRef.new(shape: SensitivityThreshold, required: true, location_name: "SensitivityThreshold"))
|
506
533
|
ListAnomalyGroupSummariesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults", metadata: {"box"=>true}))
|
@@ -581,24 +608,24 @@ module Aws::LookoutMetrics
|
|
581
608
|
|
582
609
|
PutFeedbackResponse.struct_class = Types::PutFeedbackResponse
|
583
610
|
|
584
|
-
RDSSourceConfig.add_member(:db_instance_identifier, Shapes::ShapeRef.new(shape: RDSDatabaseIdentifier,
|
585
|
-
RDSSourceConfig.add_member(:database_host, Shapes::ShapeRef.new(shape: DatabaseHost,
|
586
|
-
RDSSourceConfig.add_member(:database_port, Shapes::ShapeRef.new(shape: DatabasePort,
|
587
|
-
RDSSourceConfig.add_member(:secret_manager_arn, Shapes::ShapeRef.new(shape: PoirotSecretManagerArn,
|
588
|
-
RDSSourceConfig.add_member(:database_name, Shapes::ShapeRef.new(shape: RDSDatabaseName,
|
589
|
-
RDSSourceConfig.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName,
|
590
|
-
RDSSourceConfig.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn,
|
591
|
-
RDSSourceConfig.add_member(:vpc_configuration, Shapes::ShapeRef.new(shape: VpcConfiguration,
|
611
|
+
RDSSourceConfig.add_member(:db_instance_identifier, Shapes::ShapeRef.new(shape: RDSDatabaseIdentifier, location_name: "DBInstanceIdentifier"))
|
612
|
+
RDSSourceConfig.add_member(:database_host, Shapes::ShapeRef.new(shape: DatabaseHost, location_name: "DatabaseHost"))
|
613
|
+
RDSSourceConfig.add_member(:database_port, Shapes::ShapeRef.new(shape: DatabasePort, location_name: "DatabasePort", metadata: {"box"=>true}))
|
614
|
+
RDSSourceConfig.add_member(:secret_manager_arn, Shapes::ShapeRef.new(shape: PoirotSecretManagerArn, location_name: "SecretManagerArn"))
|
615
|
+
RDSSourceConfig.add_member(:database_name, Shapes::ShapeRef.new(shape: RDSDatabaseName, location_name: "DatabaseName"))
|
616
|
+
RDSSourceConfig.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, location_name: "TableName"))
|
617
|
+
RDSSourceConfig.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "RoleArn"))
|
618
|
+
RDSSourceConfig.add_member(:vpc_configuration, Shapes::ShapeRef.new(shape: VpcConfiguration, location_name: "VpcConfiguration"))
|
592
619
|
RDSSourceConfig.struct_class = Types::RDSSourceConfig
|
593
620
|
|
594
|
-
RedshiftSourceConfig.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: RedshiftClusterIdentifier,
|
595
|
-
RedshiftSourceConfig.add_member(:database_host, Shapes::ShapeRef.new(shape: DatabaseHost,
|
596
|
-
RedshiftSourceConfig.add_member(:database_port, Shapes::ShapeRef.new(shape: DatabasePort,
|
597
|
-
RedshiftSourceConfig.add_member(:secret_manager_arn, Shapes::ShapeRef.new(shape: PoirotSecretManagerArn,
|
598
|
-
RedshiftSourceConfig.add_member(:database_name, Shapes::ShapeRef.new(shape: RedshiftDatabaseName,
|
599
|
-
RedshiftSourceConfig.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName,
|
600
|
-
RedshiftSourceConfig.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn,
|
601
|
-
RedshiftSourceConfig.add_member(:vpc_configuration, Shapes::ShapeRef.new(shape: VpcConfiguration,
|
621
|
+
RedshiftSourceConfig.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: RedshiftClusterIdentifier, location_name: "ClusterIdentifier"))
|
622
|
+
RedshiftSourceConfig.add_member(:database_host, Shapes::ShapeRef.new(shape: DatabaseHost, location_name: "DatabaseHost"))
|
623
|
+
RedshiftSourceConfig.add_member(:database_port, Shapes::ShapeRef.new(shape: DatabasePort, location_name: "DatabasePort", metadata: {"box"=>true}))
|
624
|
+
RedshiftSourceConfig.add_member(:secret_manager_arn, Shapes::ShapeRef.new(shape: PoirotSecretManagerArn, location_name: "SecretManagerArn"))
|
625
|
+
RedshiftSourceConfig.add_member(:database_name, Shapes::ShapeRef.new(shape: RedshiftDatabaseName, location_name: "DatabaseName"))
|
626
|
+
RedshiftSourceConfig.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, location_name: "TableName"))
|
627
|
+
RedshiftSourceConfig.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "RoleArn"))
|
628
|
+
RedshiftSourceConfig.add_member(:vpc_configuration, Shapes::ShapeRef.new(shape: VpcConfiguration, location_name: "VpcConfiguration"))
|
602
629
|
RedshiftSourceConfig.struct_class = Types::RedshiftSourceConfig
|
603
630
|
|
604
631
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: Message, required: true, location_name: "Message"))
|
@@ -606,7 +633,7 @@ module Aws::LookoutMetrics
|
|
606
633
|
ResourceNotFoundException.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
|
607
634
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
608
635
|
|
609
|
-
S3SourceConfig.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn,
|
636
|
+
S3SourceConfig.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "RoleArn"))
|
610
637
|
S3SourceConfig.add_member(:templated_path_list, Shapes::ShapeRef.new(shape: TemplatedPathList, location_name: "TemplatedPathList"))
|
611
638
|
S3SourceConfig.add_member(:historical_data_path_list, Shapes::ShapeRef.new(shape: HistoricalDataPathList, location_name: "HistoricalDataPathList"))
|
612
639
|
S3SourceConfig.add_member(:file_format_descriptor, Shapes::ShapeRef.new(shape: FileFormatDescriptor, location_name: "FileFormatDescriptor"))
|
@@ -974,6 +1001,25 @@ module Aws::LookoutMetrics
|
|
974
1001
|
)
|
975
1002
|
end)
|
976
1003
|
|
1004
|
+
api.add_operation(:list_anomaly_group_related_metrics, Seahorse::Model::Operation.new.tap do |o|
|
1005
|
+
o.name = "ListAnomalyGroupRelatedMetrics"
|
1006
|
+
o.http_method = "POST"
|
1007
|
+
o.http_request_uri = "/ListAnomalyGroupRelatedMetrics"
|
1008
|
+
o.input = Shapes::ShapeRef.new(shape: ListAnomalyGroupRelatedMetricsRequest)
|
1009
|
+
o.output = Shapes::ShapeRef.new(shape: ListAnomalyGroupRelatedMetricsResponse)
|
1010
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1011
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1012
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1013
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1014
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1015
|
+
o[:pager] = Aws::Pager.new(
|
1016
|
+
limit_key: "max_results",
|
1017
|
+
tokens: {
|
1018
|
+
"next_token" => "next_token"
|
1019
|
+
}
|
1020
|
+
)
|
1021
|
+
end)
|
1022
|
+
|
977
1023
|
api.add_operation(:list_anomaly_group_summaries, Seahorse::Model::Operation.new.tap do |o|
|
978
1024
|
o.name = "ListAnomalyGroupSummaries"
|
979
1025
|
o.http_method = "POST"
|
@@ -1101,6 +1147,7 @@ module Aws::LookoutMetrics
|
|
1101
1147
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1102
1148
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1103
1149
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1150
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
1104
1151
|
end)
|
1105
1152
|
end
|
1106
1153
|
|
@@ -443,8 +443,8 @@ module Aws::LookoutMetrics
|
|
443
443
|
# data as a hash:
|
444
444
|
#
|
445
445
|
# {
|
446
|
-
# role_arn: "Arn",
|
447
|
-
# flow_name: "FlowName",
|
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",
|
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",
|
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",
|
733
|
-
# flow_name: "FlowName",
|
732
|
+
# role_arn: "Arn",
|
733
|
+
# flow_name: "FlowName",
|
734
734
|
# },
|
735
735
|
# cloud_watch_config: {
|
736
|
-
# role_arn: "Arn",
|
736
|
+
# role_arn: "Arn",
|
737
737
|
# },
|
738
738
|
# rds_source_config: {
|
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: {
|
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",
|
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: {
|
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
|
# },
|
@@ -1083,13 +1083,17 @@ module Aws::LookoutMetrics
|
|
1083
1083
|
# @return [String]
|
1084
1084
|
#
|
1085
1085
|
# @!attribute [rw] failure_reason
|
1086
|
-
# The reason that the detector failed
|
1086
|
+
# The reason that the detector failed.
|
1087
1087
|
# @return [String]
|
1088
1088
|
#
|
1089
1089
|
# @!attribute [rw] kms_key_arn
|
1090
1090
|
# The ARN of the KMS key to use to encrypt your data.
|
1091
1091
|
# @return [String]
|
1092
1092
|
#
|
1093
|
+
# @!attribute [rw] failure_type
|
1094
|
+
# The process that caused the detector to fail.
|
1095
|
+
# @return [String]
|
1096
|
+
#
|
1093
1097
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/DescribeAnomalyDetectorResponse AWS API Documentation
|
1094
1098
|
#
|
1095
1099
|
class DescribeAnomalyDetectorResponse < Struct.new(
|
@@ -1101,7 +1105,8 @@ module Aws::LookoutMetrics
|
|
1101
1105
|
:last_modification_time,
|
1102
1106
|
:status,
|
1103
1107
|
:failure_reason,
|
1104
|
-
:kms_key_arn
|
1108
|
+
:kms_key_arn,
|
1109
|
+
:failure_type)
|
1105
1110
|
SENSITIVE = []
|
1106
1111
|
include Aws::Structure
|
1107
1112
|
end
|
@@ -1468,6 +1473,39 @@ module Aws::LookoutMetrics
|
|
1468
1473
|
include Aws::Structure
|
1469
1474
|
end
|
1470
1475
|
|
1476
|
+
# Aggregated details about the measures contributing to the anomaly
|
1477
|
+
# group, and the measures potentially impacted by the anomaly group.
|
1478
|
+
#
|
1479
|
+
# @!attribute [rw] metric_name
|
1480
|
+
# The name of the measure.
|
1481
|
+
# @return [String]
|
1482
|
+
#
|
1483
|
+
# @!attribute [rw] anomaly_group_id
|
1484
|
+
# The ID of the anomaly group.
|
1485
|
+
# @return [String]
|
1486
|
+
#
|
1487
|
+
# @!attribute [rw] relationship_type
|
1488
|
+
# Whether a measure is a potential cause of the anomaly group
|
1489
|
+
# (`CAUSE_OF_INPUT_ANOMALY_GROUP`), or whether the measure is impacted
|
1490
|
+
# by the anomaly group (`EFFECT_OF_INPUT_ANOMALY_GROUP`).
|
1491
|
+
# @return [String]
|
1492
|
+
#
|
1493
|
+
# @!attribute [rw] contribution_percentage
|
1494
|
+
# For potential causes (`CAUSE_OF_INPUT_ANOMALY_GROUP`), the
|
1495
|
+
# percentage contribution the measure has in causing the anomalies.
|
1496
|
+
# @return [Float]
|
1497
|
+
#
|
1498
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/InterMetricImpactDetails AWS API Documentation
|
1499
|
+
#
|
1500
|
+
class InterMetricImpactDetails < Struct.new(
|
1501
|
+
:metric_name,
|
1502
|
+
:anomaly_group_id,
|
1503
|
+
:relationship_type,
|
1504
|
+
:contribution_percentage)
|
1505
|
+
SENSITIVE = []
|
1506
|
+
include Aws::Structure
|
1507
|
+
end
|
1508
|
+
|
1471
1509
|
# The request processing has failed because of an unknown error,
|
1472
1510
|
# exception, or failure.
|
1473
1511
|
#
|
@@ -1654,6 +1692,70 @@ module Aws::LookoutMetrics
|
|
1654
1692
|
include Aws::Structure
|
1655
1693
|
end
|
1656
1694
|
|
1695
|
+
# @note When making an API call, you may pass ListAnomalyGroupRelatedMetricsRequest
|
1696
|
+
# data as a hash:
|
1697
|
+
#
|
1698
|
+
# {
|
1699
|
+
# anomaly_detector_arn: "Arn", # required
|
1700
|
+
# anomaly_group_id: "UUID", # required
|
1701
|
+
# relationship_type_filter: "CAUSE_OF_INPUT_ANOMALY_GROUP", # accepts CAUSE_OF_INPUT_ANOMALY_GROUP, EFFECT_OF_INPUT_ANOMALY_GROUP
|
1702
|
+
# max_results: 1,
|
1703
|
+
# next_token: "NextToken",
|
1704
|
+
# }
|
1705
|
+
#
|
1706
|
+
# @!attribute [rw] anomaly_detector_arn
|
1707
|
+
# The Amazon Resource Name (ARN) of the anomaly detector.
|
1708
|
+
# @return [String]
|
1709
|
+
#
|
1710
|
+
# @!attribute [rw] anomaly_group_id
|
1711
|
+
# The ID of the anomaly group.
|
1712
|
+
# @return [String]
|
1713
|
+
#
|
1714
|
+
# @!attribute [rw] relationship_type_filter
|
1715
|
+
# Filter for potential causes (`CAUSE_OF_INPUT_ANOMALY_GROUP`) or
|
1716
|
+
# downstream effects (`EFFECT_OF_INPUT_ANOMALY_GROUP`) of the anomaly
|
1717
|
+
# group.
|
1718
|
+
# @return [String]
|
1719
|
+
#
|
1720
|
+
# @!attribute [rw] max_results
|
1721
|
+
# The maximum number of results to return.
|
1722
|
+
# @return [Integer]
|
1723
|
+
#
|
1724
|
+
# @!attribute [rw] next_token
|
1725
|
+
# Specify the pagination token that's returned by a previous request
|
1726
|
+
# to retrieve the next page of results.
|
1727
|
+
# @return [String]
|
1728
|
+
#
|
1729
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/ListAnomalyGroupRelatedMetricsRequest AWS API Documentation
|
1730
|
+
#
|
1731
|
+
class ListAnomalyGroupRelatedMetricsRequest < Struct.new(
|
1732
|
+
:anomaly_detector_arn,
|
1733
|
+
:anomaly_group_id,
|
1734
|
+
:relationship_type_filter,
|
1735
|
+
:max_results,
|
1736
|
+
:next_token)
|
1737
|
+
SENSITIVE = []
|
1738
|
+
include Aws::Structure
|
1739
|
+
end
|
1740
|
+
|
1741
|
+
# @!attribute [rw] inter_metric_impact_list
|
1742
|
+
# Aggregated details about the measures contributing to the anomaly
|
1743
|
+
# group, and the measures potentially impacted by the anomaly group.
|
1744
|
+
# @return [Array<Types::InterMetricImpactDetails>]
|
1745
|
+
#
|
1746
|
+
# @!attribute [rw] next_token
|
1747
|
+
# The pagination token that's included if more results are available.
|
1748
|
+
# @return [String]
|
1749
|
+
#
|
1750
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/ListAnomalyGroupRelatedMetricsResponse AWS API Documentation
|
1751
|
+
#
|
1752
|
+
class ListAnomalyGroupRelatedMetricsResponse < Struct.new(
|
1753
|
+
:inter_metric_impact_list,
|
1754
|
+
:next_token)
|
1755
|
+
SENSITIVE = []
|
1756
|
+
include Aws::Structure
|
1757
|
+
end
|
1758
|
+
|
1657
1759
|
# @note When making an API call, you may pass ListAnomalyGroupSummariesRequest
|
1658
1760
|
# data as a hash:
|
1659
1761
|
#
|
@@ -1987,7 +2089,7 @@ module Aws::LookoutMetrics
|
|
1987
2089
|
#
|
1988
2090
|
# {
|
1989
2091
|
# s3_source_config: {
|
1990
|
-
# role_arn: "Arn",
|
2092
|
+
# role_arn: "Arn",
|
1991
2093
|
# templated_path_list: ["TemplatedPath"],
|
1992
2094
|
# historical_data_path_list: ["HistoricalDataPath"],
|
1993
2095
|
# file_format_descriptor: {
|
@@ -2006,34 +2108,34 @@ module Aws::LookoutMetrics
|
|
2006
2108
|
# },
|
2007
2109
|
# },
|
2008
2110
|
# app_flow_config: {
|
2009
|
-
# role_arn: "Arn",
|
2010
|
-
# flow_name: "FlowName",
|
2111
|
+
# role_arn: "Arn",
|
2112
|
+
# flow_name: "FlowName",
|
2011
2113
|
# },
|
2012
2114
|
# cloud_watch_config: {
|
2013
|
-
# role_arn: "Arn",
|
2115
|
+
# role_arn: "Arn",
|
2014
2116
|
# },
|
2015
2117
|
# rds_source_config: {
|
2016
|
-
# db_instance_identifier: "RDSDatabaseIdentifier",
|
2017
|
-
# database_host: "DatabaseHost",
|
2018
|
-
# database_port: 1,
|
2019
|
-
# secret_manager_arn: "PoirotSecretManagerArn",
|
2020
|
-
# database_name: "RDSDatabaseName",
|
2021
|
-
# table_name: "TableName",
|
2022
|
-
# role_arn: "Arn",
|
2023
|
-
# vpc_configuration: {
|
2118
|
+
# db_instance_identifier: "RDSDatabaseIdentifier",
|
2119
|
+
# database_host: "DatabaseHost",
|
2120
|
+
# database_port: 1,
|
2121
|
+
# secret_manager_arn: "PoirotSecretManagerArn",
|
2122
|
+
# database_name: "RDSDatabaseName",
|
2123
|
+
# table_name: "TableName",
|
2124
|
+
# role_arn: "Arn",
|
2125
|
+
# vpc_configuration: {
|
2024
2126
|
# subnet_id_list: ["SubnetId"], # required
|
2025
2127
|
# security_group_id_list: ["SecurityGroupId"], # required
|
2026
2128
|
# },
|
2027
2129
|
# },
|
2028
2130
|
# redshift_source_config: {
|
2029
|
-
# cluster_identifier: "RedshiftClusterIdentifier",
|
2030
|
-
# database_host: "DatabaseHost",
|
2031
|
-
# database_port: 1,
|
2032
|
-
# secret_manager_arn: "PoirotSecretManagerArn",
|
2033
|
-
# database_name: "RedshiftDatabaseName",
|
2034
|
-
# table_name: "TableName",
|
2035
|
-
# role_arn: "Arn",
|
2036
|
-
# vpc_configuration: {
|
2131
|
+
# cluster_identifier: "RedshiftClusterIdentifier",
|
2132
|
+
# database_host: "DatabaseHost",
|
2133
|
+
# database_port: 1,
|
2134
|
+
# secret_manager_arn: "PoirotSecretManagerArn",
|
2135
|
+
# database_name: "RedshiftDatabaseName",
|
2136
|
+
# table_name: "TableName",
|
2137
|
+
# role_arn: "Arn",
|
2138
|
+
# vpc_configuration: {
|
2037
2139
|
# subnet_id_list: ["SubnetId"], # required
|
2038
2140
|
# security_group_id_list: ["SecurityGroupId"], # required
|
2039
2141
|
# },
|
@@ -2116,14 +2218,14 @@ module Aws::LookoutMetrics
|
|
2116
2218
|
# data as a hash:
|
2117
2219
|
#
|
2118
2220
|
# {
|
2119
|
-
# db_instance_identifier: "RDSDatabaseIdentifier",
|
2120
|
-
# database_host: "DatabaseHost",
|
2121
|
-
# database_port: 1,
|
2122
|
-
# secret_manager_arn: "PoirotSecretManagerArn",
|
2123
|
-
# database_name: "RDSDatabaseName",
|
2124
|
-
# table_name: "TableName",
|
2125
|
-
# role_arn: "Arn",
|
2126
|
-
# vpc_configuration: {
|
2221
|
+
# db_instance_identifier: "RDSDatabaseIdentifier",
|
2222
|
+
# database_host: "DatabaseHost",
|
2223
|
+
# database_port: 1,
|
2224
|
+
# secret_manager_arn: "PoirotSecretManagerArn",
|
2225
|
+
# database_name: "RDSDatabaseName",
|
2226
|
+
# table_name: "TableName",
|
2227
|
+
# role_arn: "Arn",
|
2228
|
+
# vpc_configuration: {
|
2127
2229
|
# subnet_id_list: ["SubnetId"], # required
|
2128
2230
|
# security_group_id_list: ["SecurityGroupId"], # required
|
2129
2231
|
# },
|
@@ -2183,14 +2285,14 @@ module Aws::LookoutMetrics
|
|
2183
2285
|
# data as a hash:
|
2184
2286
|
#
|
2185
2287
|
# {
|
2186
|
-
# cluster_identifier: "RedshiftClusterIdentifier",
|
2187
|
-
# database_host: "DatabaseHost",
|
2188
|
-
# database_port: 1,
|
2189
|
-
# secret_manager_arn: "PoirotSecretManagerArn",
|
2190
|
-
# database_name: "RedshiftDatabaseName",
|
2191
|
-
# table_name: "TableName",
|
2192
|
-
# role_arn: "Arn",
|
2193
|
-
# vpc_configuration: {
|
2288
|
+
# cluster_identifier: "RedshiftClusterIdentifier",
|
2289
|
+
# database_host: "DatabaseHost",
|
2290
|
+
# database_port: 1,
|
2291
|
+
# secret_manager_arn: "PoirotSecretManagerArn",
|
2292
|
+
# database_name: "RedshiftDatabaseName",
|
2293
|
+
# table_name: "TableName",
|
2294
|
+
# role_arn: "Arn",
|
2295
|
+
# vpc_configuration: {
|
2194
2296
|
# subnet_id_list: ["SubnetId"], # required
|
2195
2297
|
# security_group_id_list: ["SecurityGroupId"], # required
|
2196
2298
|
# },
|
@@ -2276,7 +2378,7 @@ module Aws::LookoutMetrics
|
|
2276
2378
|
# data as a hash:
|
2277
2379
|
#
|
2278
2380
|
# {
|
2279
|
-
# role_arn: "Arn",
|
2381
|
+
# role_arn: "Arn",
|
2280
2382
|
# templated_path_list: ["TemplatedPath"],
|
2281
2383
|
# historical_data_path_list: ["HistoricalDataPath"],
|
2282
2384
|
# file_format_descriptor: {
|
@@ -2659,7 +2761,7 @@ module Aws::LookoutMetrics
|
|
2659
2761
|
# metric_set_frequency: "P1D", # accepts P1D, PT1H, PT10M, PT5M
|
2660
2762
|
# metric_source: {
|
2661
2763
|
# s3_source_config: {
|
2662
|
-
# role_arn: "Arn",
|
2764
|
+
# role_arn: "Arn",
|
2663
2765
|
# templated_path_list: ["TemplatedPath"],
|
2664
2766
|
# historical_data_path_list: ["HistoricalDataPath"],
|
2665
2767
|
# file_format_descriptor: {
|
@@ -2678,34 +2780,34 @@ module Aws::LookoutMetrics
|
|
2678
2780
|
# },
|
2679
2781
|
# },
|
2680
2782
|
# app_flow_config: {
|
2681
|
-
# role_arn: "Arn",
|
2682
|
-
# flow_name: "FlowName",
|
2783
|
+
# role_arn: "Arn",
|
2784
|
+
# flow_name: "FlowName",
|
2683
2785
|
# },
|
2684
2786
|
# cloud_watch_config: {
|
2685
|
-
# role_arn: "Arn",
|
2787
|
+
# role_arn: "Arn",
|
2686
2788
|
# },
|
2687
2789
|
# rds_source_config: {
|
2688
|
-
# db_instance_identifier: "RDSDatabaseIdentifier",
|
2689
|
-
# database_host: "DatabaseHost",
|
2690
|
-
# database_port: 1,
|
2691
|
-
# secret_manager_arn: "PoirotSecretManagerArn",
|
2692
|
-
# database_name: "RDSDatabaseName",
|
2693
|
-
# table_name: "TableName",
|
2694
|
-
# role_arn: "Arn",
|
2695
|
-
# vpc_configuration: {
|
2790
|
+
# db_instance_identifier: "RDSDatabaseIdentifier",
|
2791
|
+
# database_host: "DatabaseHost",
|
2792
|
+
# database_port: 1,
|
2793
|
+
# secret_manager_arn: "PoirotSecretManagerArn",
|
2794
|
+
# database_name: "RDSDatabaseName",
|
2795
|
+
# table_name: "TableName",
|
2796
|
+
# role_arn: "Arn",
|
2797
|
+
# vpc_configuration: {
|
2696
2798
|
# subnet_id_list: ["SubnetId"], # required
|
2697
2799
|
# security_group_id_list: ["SecurityGroupId"], # required
|
2698
2800
|
# },
|
2699
2801
|
# },
|
2700
2802
|
# redshift_source_config: {
|
2701
|
-
# cluster_identifier: "RedshiftClusterIdentifier",
|
2702
|
-
# database_host: "DatabaseHost",
|
2703
|
-
# database_port: 1,
|
2704
|
-
# secret_manager_arn: "PoirotSecretManagerArn",
|
2705
|
-
# database_name: "RedshiftDatabaseName",
|
2706
|
-
# table_name: "TableName",
|
2707
|
-
# role_arn: "Arn",
|
2708
|
-
# vpc_configuration: {
|
2803
|
+
# cluster_identifier: "RedshiftClusterIdentifier",
|
2804
|
+
# database_host: "DatabaseHost",
|
2805
|
+
# database_port: 1,
|
2806
|
+
# secret_manager_arn: "PoirotSecretManagerArn",
|
2807
|
+
# database_name: "RedshiftDatabaseName",
|
2808
|
+
# table_name: "TableName",
|
2809
|
+
# role_arn: "Arn",
|
2810
|
+
# vpc_configuration: {
|
2709
2811
|
# subnet_id_list: ["SubnetId"], # required
|
2710
2812
|
# security_group_id_list: ["SecurityGroupId"], # required
|
2711
2813
|
# },
|
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.
|
4
|
+
version: 1.12.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:
|
11
|
+
date: 2022-01-10 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.
|
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.
|
32
|
+
version: 3.125.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|