aws-sdk-lookoutmetrics 1.7.0 → 1.11.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 +22 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lookoutmetrics/client.rb +79 -5
- data/lib/aws-sdk-lookoutmetrics/client_api.rb +44 -0
- data/lib/aws-sdk-lookoutmetrics/types.rb +97 -0
- data/lib/aws-sdk-lookoutmetrics.rb +1 -1
- metadata +4 -5
- data/lib/aws-sdk-lookoutmetrics/plugins/content_type.rb +0 -25
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 54af582d960a840ff27a5bfd1d2a6e4fe6b766940c910893842204af61a7ae20
|
4
|
+
data.tar.gz: 650924151b86c37bfa9c9b0d732863d8985532b27cc3647bb14c89af1c947dc5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0b706a2b89b914074ec5f323c52859b263ca1b9f39dffa02c33c90bb82aa62faf885a5c1c627537e9a6624adcf7af4d64150370a4894627234dc8dea1d2a5114
|
7
|
+
data.tar.gz: 2d73ea54c988398dc7076b3c8cb3c1b68da58c5120bfcea7b07871854ccf039aba8bf1cb6ac55b6c9f5ec4588f4c350662cd1401856eb106949b702680ff7c9a
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,28 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.11.0 (2021-12-21)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds support for Causal Relationships. Added new ListAnomalyGroupRelatedMetrics API operation and InterMetricImpactDetails API data type
|
8
|
+
|
9
|
+
1.10.0 (2021-11-30)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.9.0 (2021-11-04)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.8.0 (2021-10-18)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
24
|
+
* Issue - Remove a plugin that sets the `Content-Type` header and instead depend on a new version of `aws-sdk-core` that does.
|
25
|
+
|
4
26
|
1.7.0 (2021-09-01)
|
5
27
|
------------------
|
6
28
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.11.0
|
@@ -27,9 +27,9 @@ 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
|
-
require 'aws-sdk-lookoutmetrics/plugins/content_type.rb'
|
33
33
|
|
34
34
|
Aws::Plugins::GlobalConfiguration.add_identifier(:lookoutmetrics)
|
35
35
|
|
@@ -74,9 +74,9 @@ module Aws::LookoutMetrics
|
|
74
74
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
75
75
|
add_plugin(Aws::Plugins::TransferEncoding)
|
76
76
|
add_plugin(Aws::Plugins::HttpChecksum)
|
77
|
+
add_plugin(Aws::Plugins::DefaultsMode)
|
77
78
|
add_plugin(Aws::Plugins::SignatureV4)
|
78
79
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
79
|
-
add_plugin(Aws::LookoutMetrics::Plugins::ContentType)
|
80
80
|
|
81
81
|
# @overload initialize(options)
|
82
82
|
# @param [Hash] options
|
@@ -121,7 +121,9 @@ module Aws::LookoutMetrics
|
|
121
121
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
122
122
|
# are very aggressive. Construct and pass an instance of
|
123
123
|
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
124
|
-
# 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.
|
125
127
|
#
|
126
128
|
# @option options [required, String] :region
|
127
129
|
# The AWS region to connect to. The configured `:region` is
|
@@ -175,6 +177,10 @@ module Aws::LookoutMetrics
|
|
175
177
|
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
176
178
|
# a clock skew correction and retry requests with skewed client clocks.
|
177
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
|
+
#
|
178
184
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
179
185
|
# Set to true to disable SDK automatically adding host prefix
|
180
186
|
# to default service endpoint when available.
|
@@ -277,6 +283,15 @@ module Aws::LookoutMetrics
|
|
277
283
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
278
284
|
# requests are made, and retries are disabled.
|
279
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
|
+
#
|
280
295
|
# @option options [Boolean] :validate_params (true)
|
281
296
|
# When `true`, request parameters are validated before
|
282
297
|
# sending the request.
|
@@ -288,7 +303,7 @@ module Aws::LookoutMetrics
|
|
288
303
|
# seconds to wait when opening a HTTP session before raising a
|
289
304
|
# `Timeout::Error`.
|
290
305
|
#
|
291
|
-
# @option options [
|
306
|
+
# @option options [Float] :http_read_timeout (60) The default
|
292
307
|
# number of seconds to wait for response data. This value can
|
293
308
|
# safely be set per-request on the session.
|
294
309
|
#
|
@@ -304,6 +319,9 @@ module Aws::LookoutMetrics
|
|
304
319
|
# disables this behaviour. This value can safely be set per
|
305
320
|
# request on the session.
|
306
321
|
#
|
322
|
+
# @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
|
323
|
+
# in seconds.
|
324
|
+
#
|
307
325
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
308
326
|
# HTTP debug output will be sent to the `:logger`.
|
309
327
|
#
|
@@ -1170,6 +1188,62 @@ module Aws::LookoutMetrics
|
|
1170
1188
|
req.send_request(options)
|
1171
1189
|
end
|
1172
1190
|
|
1191
|
+
# Returns a list of measures that are potential causes or effects of an
|
1192
|
+
# anomaly group.
|
1193
|
+
#
|
1194
|
+
# @option params [required, String] :anomaly_detector_arn
|
1195
|
+
# The Amazon Resource Name (ARN) of the anomaly detector.
|
1196
|
+
#
|
1197
|
+
# @option params [required, String] :anomaly_group_id
|
1198
|
+
# The ID of the anomaly group.
|
1199
|
+
#
|
1200
|
+
# @option params [String] :relationship_type_filter
|
1201
|
+
# Filter for potential causes (`CAUSE_OF_INPUT_ANOMALY_GROUP`) or
|
1202
|
+
# downstream effects (`EFFECT_OF_INPUT_ANOMALY_GROUP`) of the anomaly
|
1203
|
+
# group.
|
1204
|
+
#
|
1205
|
+
# @option params [Integer] :max_results
|
1206
|
+
# The maximum number of results to return.
|
1207
|
+
#
|
1208
|
+
# @option params [String] :next_token
|
1209
|
+
# Specify the pagination token that's returned by a previous request to
|
1210
|
+
# retrieve the next page of results.
|
1211
|
+
#
|
1212
|
+
# @return [Types::ListAnomalyGroupRelatedMetricsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1213
|
+
#
|
1214
|
+
# * {Types::ListAnomalyGroupRelatedMetricsResponse#inter_metric_impact_list #inter_metric_impact_list} => Array<Types::InterMetricImpactDetails>
|
1215
|
+
# * {Types::ListAnomalyGroupRelatedMetricsResponse#next_token #next_token} => String
|
1216
|
+
#
|
1217
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1218
|
+
#
|
1219
|
+
# @example Request syntax with placeholder values
|
1220
|
+
#
|
1221
|
+
# resp = client.list_anomaly_group_related_metrics({
|
1222
|
+
# anomaly_detector_arn: "Arn", # required
|
1223
|
+
# anomaly_group_id: "UUID", # required
|
1224
|
+
# relationship_type_filter: "CAUSE_OF_INPUT_ANOMALY_GROUP", # accepts CAUSE_OF_INPUT_ANOMALY_GROUP, EFFECT_OF_INPUT_ANOMALY_GROUP
|
1225
|
+
# max_results: 1,
|
1226
|
+
# next_token: "NextToken",
|
1227
|
+
# })
|
1228
|
+
#
|
1229
|
+
# @example Response structure
|
1230
|
+
#
|
1231
|
+
# resp.inter_metric_impact_list #=> Array
|
1232
|
+
# resp.inter_metric_impact_list[0].metric_name #=> String
|
1233
|
+
# resp.inter_metric_impact_list[0].anomaly_group_id #=> String
|
1234
|
+
# resp.inter_metric_impact_list[0].relationship_type #=> String, one of "CAUSE_OF_INPUT_ANOMALY_GROUP", "EFFECT_OF_INPUT_ANOMALY_GROUP"
|
1235
|
+
# resp.inter_metric_impact_list[0].contribution_percentage #=> Float
|
1236
|
+
# resp.next_token #=> String
|
1237
|
+
#
|
1238
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/ListAnomalyGroupRelatedMetrics AWS API Documentation
|
1239
|
+
#
|
1240
|
+
# @overload list_anomaly_group_related_metrics(params = {})
|
1241
|
+
# @param [Hash] params ({})
|
1242
|
+
def list_anomaly_group_related_metrics(params = {}, options = {})
|
1243
|
+
req = build_request(:list_anomaly_group_related_metrics, params)
|
1244
|
+
req.send_request(options)
|
1245
|
+
end
|
1246
|
+
|
1173
1247
|
# Returns a list of anomaly groups.
|
1174
1248
|
#
|
1175
1249
|
# @option params [required, String] :anomaly_detector_arn
|
@@ -1646,7 +1720,7 @@ module Aws::LookoutMetrics
|
|
1646
1720
|
params: params,
|
1647
1721
|
config: config)
|
1648
1722
|
context[:gem_name] = 'aws-sdk-lookoutmetrics'
|
1649
|
-
context[:gem_version] = '1.
|
1723
|
+
context[:gem_version] = '1.11.0'
|
1650
1724
|
Seahorse::Client::Request.new(handlers, context)
|
1651
1725
|
end
|
1652
1726
|
|
@@ -102,6 +102,8 @@ module Aws::LookoutMetrics
|
|
102
102
|
HistoricalDataPath = Shapes::StringShape.new(name: 'HistoricalDataPath')
|
103
103
|
HistoricalDataPathList = Shapes::ListShape.new(name: 'HistoricalDataPathList')
|
104
104
|
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
105
|
+
InterMetricImpactDetails = Shapes::StructureShape.new(name: 'InterMetricImpactDetails')
|
106
|
+
InterMetricImpactList = Shapes::ListShape.new(name: 'InterMetricImpactList')
|
105
107
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
106
108
|
ItemizedMetricStats = Shapes::StructureShape.new(name: 'ItemizedMetricStats')
|
107
109
|
ItemizedMetricStatsList = Shapes::ListShape.new(name: 'ItemizedMetricStatsList')
|
@@ -113,6 +115,8 @@ module Aws::LookoutMetrics
|
|
113
115
|
ListAlertsResponse = Shapes::StructureShape.new(name: 'ListAlertsResponse')
|
114
116
|
ListAnomalyDetectorsRequest = Shapes::StructureShape.new(name: 'ListAnomalyDetectorsRequest')
|
115
117
|
ListAnomalyDetectorsResponse = Shapes::StructureShape.new(name: 'ListAnomalyDetectorsResponse')
|
118
|
+
ListAnomalyGroupRelatedMetricsRequest = Shapes::StructureShape.new(name: 'ListAnomalyGroupRelatedMetricsRequest')
|
119
|
+
ListAnomalyGroupRelatedMetricsResponse = Shapes::StructureShape.new(name: 'ListAnomalyGroupRelatedMetricsResponse')
|
116
120
|
ListAnomalyGroupSummariesRequest = Shapes::StructureShape.new(name: 'ListAnomalyGroupSummariesRequest')
|
117
121
|
ListAnomalyGroupSummariesResponse = Shapes::StructureShape.new(name: 'ListAnomalyGroupSummariesResponse')
|
118
122
|
ListAnomalyGroupTimeSeriesRequest = Shapes::StructureShape.new(name: 'ListAnomalyGroupTimeSeriesRequest')
|
@@ -124,6 +128,7 @@ module Aws::LookoutMetrics
|
|
124
128
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
125
129
|
Message = Shapes::StringShape.new(name: 'Message')
|
126
130
|
Metric = Shapes::StructureShape.new(name: 'Metric')
|
131
|
+
MetricChangePercentage = Shapes::FloatShape.new(name: 'MetricChangePercentage')
|
127
132
|
MetricLevelImpact = Shapes::StructureShape.new(name: 'MetricLevelImpact')
|
128
133
|
MetricLevelImpactList = Shapes::ListShape.new(name: 'MetricLevelImpactList')
|
129
134
|
MetricList = Shapes::ListShape.new(name: 'MetricList')
|
@@ -149,6 +154,7 @@ module Aws::LookoutMetrics
|
|
149
154
|
RedshiftClusterIdentifier = Shapes::StringShape.new(name: 'RedshiftClusterIdentifier')
|
150
155
|
RedshiftDatabaseName = Shapes::StringShape.new(name: 'RedshiftDatabaseName')
|
151
156
|
RedshiftSourceConfig = Shapes::StructureShape.new(name: 'RedshiftSourceConfig')
|
157
|
+
RelationshipType = Shapes::StringShape.new(name: 'RelationshipType')
|
152
158
|
ResourceId = Shapes::StringShape.new(name: 'ResourceId')
|
153
159
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
154
160
|
ResourceType = Shapes::StringShape.new(name: 'ResourceType')
|
@@ -467,6 +473,14 @@ module Aws::LookoutMetrics
|
|
467
473
|
|
468
474
|
HistoricalDataPathList.member = Shapes::ShapeRef.new(shape: HistoricalDataPath)
|
469
475
|
|
476
|
+
InterMetricImpactDetails.add_member(:metric_name, Shapes::ShapeRef.new(shape: MetricName, location_name: "MetricName"))
|
477
|
+
InterMetricImpactDetails.add_member(:anomaly_group_id, Shapes::ShapeRef.new(shape: UUID, location_name: "AnomalyGroupId"))
|
478
|
+
InterMetricImpactDetails.add_member(:relationship_type, Shapes::ShapeRef.new(shape: RelationshipType, location_name: "RelationshipType"))
|
479
|
+
InterMetricImpactDetails.add_member(:contribution_percentage, Shapes::ShapeRef.new(shape: MetricChangePercentage, location_name: "ContributionPercentage"))
|
480
|
+
InterMetricImpactDetails.struct_class = Types::InterMetricImpactDetails
|
481
|
+
|
482
|
+
InterMetricImpactList.member = Shapes::ShapeRef.new(shape: InterMetricImpactDetails)
|
483
|
+
|
470
484
|
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: Message, required: true, location_name: "Message"))
|
471
485
|
InternalServerException.struct_class = Types::InternalServerException
|
472
486
|
|
@@ -501,6 +515,17 @@ module Aws::LookoutMetrics
|
|
501
515
|
ListAnomalyDetectorsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
502
516
|
ListAnomalyDetectorsResponse.struct_class = Types::ListAnomalyDetectorsResponse
|
503
517
|
|
518
|
+
ListAnomalyGroupRelatedMetricsRequest.add_member(:anomaly_detector_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "AnomalyDetectorArn"))
|
519
|
+
ListAnomalyGroupRelatedMetricsRequest.add_member(:anomaly_group_id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "AnomalyGroupId"))
|
520
|
+
ListAnomalyGroupRelatedMetricsRequest.add_member(:relationship_type_filter, Shapes::ShapeRef.new(shape: RelationshipType, location_name: "RelationshipTypeFilter"))
|
521
|
+
ListAnomalyGroupRelatedMetricsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults", metadata: {"box"=>true}))
|
522
|
+
ListAnomalyGroupRelatedMetricsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
523
|
+
ListAnomalyGroupRelatedMetricsRequest.struct_class = Types::ListAnomalyGroupRelatedMetricsRequest
|
524
|
+
|
525
|
+
ListAnomalyGroupRelatedMetricsResponse.add_member(:inter_metric_impact_list, Shapes::ShapeRef.new(shape: InterMetricImpactList, location_name: "InterMetricImpactList"))
|
526
|
+
ListAnomalyGroupRelatedMetricsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
527
|
+
ListAnomalyGroupRelatedMetricsResponse.struct_class = Types::ListAnomalyGroupRelatedMetricsResponse
|
528
|
+
|
504
529
|
ListAnomalyGroupSummariesRequest.add_member(:anomaly_detector_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "AnomalyDetectorArn"))
|
505
530
|
ListAnomalyGroupSummariesRequest.add_member(:sensitivity_threshold, Shapes::ShapeRef.new(shape: SensitivityThreshold, required: true, location_name: "SensitivityThreshold"))
|
506
531
|
ListAnomalyGroupSummariesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults", metadata: {"box"=>true}))
|
@@ -974,6 +999,25 @@ module Aws::LookoutMetrics
|
|
974
999
|
)
|
975
1000
|
end)
|
976
1001
|
|
1002
|
+
api.add_operation(:list_anomaly_group_related_metrics, Seahorse::Model::Operation.new.tap do |o|
|
1003
|
+
o.name = "ListAnomalyGroupRelatedMetrics"
|
1004
|
+
o.http_method = "POST"
|
1005
|
+
o.http_request_uri = "/ListAnomalyGroupRelatedMetrics"
|
1006
|
+
o.input = Shapes::ShapeRef.new(shape: ListAnomalyGroupRelatedMetricsRequest)
|
1007
|
+
o.output = Shapes::ShapeRef.new(shape: ListAnomalyGroupRelatedMetricsResponse)
|
1008
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1009
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1010
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1011
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1012
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1013
|
+
o[:pager] = Aws::Pager.new(
|
1014
|
+
limit_key: "max_results",
|
1015
|
+
tokens: {
|
1016
|
+
"next_token" => "next_token"
|
1017
|
+
}
|
1018
|
+
)
|
1019
|
+
end)
|
1020
|
+
|
977
1021
|
api.add_operation(:list_anomaly_group_summaries, Seahorse::Model::Operation.new.tap do |o|
|
978
1022
|
o.name = "ListAnomalyGroupSummaries"
|
979
1023
|
o.http_method = "POST"
|
@@ -1468,6 +1468,39 @@ module Aws::LookoutMetrics
|
|
1468
1468
|
include Aws::Structure
|
1469
1469
|
end
|
1470
1470
|
|
1471
|
+
# Aggregated details about the measures contributing to the anomaly
|
1472
|
+
# group, and the measures potentially impacted by the anomaly group.
|
1473
|
+
#
|
1474
|
+
# @!attribute [rw] metric_name
|
1475
|
+
# The name of the measure.
|
1476
|
+
# @return [String]
|
1477
|
+
#
|
1478
|
+
# @!attribute [rw] anomaly_group_id
|
1479
|
+
# The ID of the anomaly group.
|
1480
|
+
# @return [String]
|
1481
|
+
#
|
1482
|
+
# @!attribute [rw] relationship_type
|
1483
|
+
# Whether a measure is a potential cause of the anomaly group
|
1484
|
+
# (`CAUSE_OF_INPUT_ANOMALY_GROUP`), or whether the measure is impacted
|
1485
|
+
# by the anomaly group (`EFFECT_OF_INPUT_ANOMALY_GROUP`).
|
1486
|
+
# @return [String]
|
1487
|
+
#
|
1488
|
+
# @!attribute [rw] contribution_percentage
|
1489
|
+
# For potential causes (`CAUSE_OF_INPUT_ANOMALY_GROUP`), the
|
1490
|
+
# percentage contribution the measure has in causing the anomalies.
|
1491
|
+
# @return [Float]
|
1492
|
+
#
|
1493
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/InterMetricImpactDetails AWS API Documentation
|
1494
|
+
#
|
1495
|
+
class InterMetricImpactDetails < Struct.new(
|
1496
|
+
:metric_name,
|
1497
|
+
:anomaly_group_id,
|
1498
|
+
:relationship_type,
|
1499
|
+
:contribution_percentage)
|
1500
|
+
SENSITIVE = []
|
1501
|
+
include Aws::Structure
|
1502
|
+
end
|
1503
|
+
|
1471
1504
|
# The request processing has failed because of an unknown error,
|
1472
1505
|
# exception, or failure.
|
1473
1506
|
#
|
@@ -1654,6 +1687,70 @@ module Aws::LookoutMetrics
|
|
1654
1687
|
include Aws::Structure
|
1655
1688
|
end
|
1656
1689
|
|
1690
|
+
# @note When making an API call, you may pass ListAnomalyGroupRelatedMetricsRequest
|
1691
|
+
# data as a hash:
|
1692
|
+
#
|
1693
|
+
# {
|
1694
|
+
# anomaly_detector_arn: "Arn", # required
|
1695
|
+
# anomaly_group_id: "UUID", # required
|
1696
|
+
# relationship_type_filter: "CAUSE_OF_INPUT_ANOMALY_GROUP", # accepts CAUSE_OF_INPUT_ANOMALY_GROUP, EFFECT_OF_INPUT_ANOMALY_GROUP
|
1697
|
+
# max_results: 1,
|
1698
|
+
# next_token: "NextToken",
|
1699
|
+
# }
|
1700
|
+
#
|
1701
|
+
# @!attribute [rw] anomaly_detector_arn
|
1702
|
+
# The Amazon Resource Name (ARN) of the anomaly detector.
|
1703
|
+
# @return [String]
|
1704
|
+
#
|
1705
|
+
# @!attribute [rw] anomaly_group_id
|
1706
|
+
# The ID of the anomaly group.
|
1707
|
+
# @return [String]
|
1708
|
+
#
|
1709
|
+
# @!attribute [rw] relationship_type_filter
|
1710
|
+
# Filter for potential causes (`CAUSE_OF_INPUT_ANOMALY_GROUP`) or
|
1711
|
+
# downstream effects (`EFFECT_OF_INPUT_ANOMALY_GROUP`) of the anomaly
|
1712
|
+
# group.
|
1713
|
+
# @return [String]
|
1714
|
+
#
|
1715
|
+
# @!attribute [rw] max_results
|
1716
|
+
# The maximum number of results to return.
|
1717
|
+
# @return [Integer]
|
1718
|
+
#
|
1719
|
+
# @!attribute [rw] next_token
|
1720
|
+
# Specify the pagination token that's returned by a previous request
|
1721
|
+
# to retrieve the next page of results.
|
1722
|
+
# @return [String]
|
1723
|
+
#
|
1724
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/ListAnomalyGroupRelatedMetricsRequest AWS API Documentation
|
1725
|
+
#
|
1726
|
+
class ListAnomalyGroupRelatedMetricsRequest < Struct.new(
|
1727
|
+
:anomaly_detector_arn,
|
1728
|
+
:anomaly_group_id,
|
1729
|
+
:relationship_type_filter,
|
1730
|
+
:max_results,
|
1731
|
+
:next_token)
|
1732
|
+
SENSITIVE = []
|
1733
|
+
include Aws::Structure
|
1734
|
+
end
|
1735
|
+
|
1736
|
+
# @!attribute [rw] inter_metric_impact_list
|
1737
|
+
# Aggregated details about the measures contributing to the anomaly
|
1738
|
+
# group, and the measures potentially impacted by the anomaly group.
|
1739
|
+
# @return [Array<Types::InterMetricImpactDetails>]
|
1740
|
+
#
|
1741
|
+
# @!attribute [rw] next_token
|
1742
|
+
# The pagination token that's included if more results are available.
|
1743
|
+
# @return [String]
|
1744
|
+
#
|
1745
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/ListAnomalyGroupRelatedMetricsResponse AWS API Documentation
|
1746
|
+
#
|
1747
|
+
class ListAnomalyGroupRelatedMetricsResponse < Struct.new(
|
1748
|
+
:inter_metric_impact_list,
|
1749
|
+
:next_token)
|
1750
|
+
SENSITIVE = []
|
1751
|
+
include Aws::Structure
|
1752
|
+
end
|
1753
|
+
|
1657
1754
|
# @note When making an API call, you may pass ListAnomalyGroupSummariesRequest
|
1658
1755
|
# data as a hash:
|
1659
1756
|
#
|
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.11.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
|
+
date: 2021-12-21 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
|
@@ -60,7 +60,6 @@ files:
|
|
60
60
|
- lib/aws-sdk-lookoutmetrics/client_api.rb
|
61
61
|
- lib/aws-sdk-lookoutmetrics/customizations.rb
|
62
62
|
- lib/aws-sdk-lookoutmetrics/errors.rb
|
63
|
-
- lib/aws-sdk-lookoutmetrics/plugins/content_type.rb
|
64
63
|
- lib/aws-sdk-lookoutmetrics/resource.rb
|
65
64
|
- lib/aws-sdk-lookoutmetrics/types.rb
|
66
65
|
homepage: https://github.com/aws/aws-sdk-ruby
|
@@ -1,25 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
module Aws
|
4
|
-
module LookoutMetrics
|
5
|
-
module Plugins
|
6
|
-
class ContentType < Seahorse::Client::Plugin
|
7
|
-
|
8
|
-
def add_handlers(handlers, _config)
|
9
|
-
handlers.add(Handler)
|
10
|
-
end
|
11
|
-
|
12
|
-
class Handler < Seahorse::Client::Handler
|
13
|
-
def call(context)
|
14
|
-
# Some operations break when given an empty content-type header.
|
15
|
-
# The SDK adds this blank content-type header
|
16
|
-
# since Net::HTTP provides a default that can break services.
|
17
|
-
# We're setting one here even though it's not used or necessary.
|
18
|
-
context.http_request.headers['content-type'] = 'application/x-amz-json-1.1'
|
19
|
-
@handler.call(context)
|
20
|
-
end
|
21
|
-
end
|
22
|
-
end
|
23
|
-
end
|
24
|
-
end
|
25
|
-
end
|