aws-sdk-lookoutmetrics 1.33.0 → 1.34.0

Sign up to get free protection for your applications and to get access to all the features.
data/sig/client.rbs ADDED
@@ -0,0 +1,710 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module LookoutMetrics
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LookoutMetrics/Client.html#initialize-instance_method
14
+ def self.new: (
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?stub_responses: untyped,
52
+ ?token_provider: untyped,
53
+ ?use_dualstack_endpoint: bool,
54
+ ?use_fips_endpoint: bool,
55
+ ?validate_params: bool,
56
+ ?endpoint_provider: untyped,
57
+ ?http_proxy: String,
58
+ ?http_open_timeout: (Float | Integer),
59
+ ?http_read_timeout: (Float | Integer),
60
+ ?http_idle_timeout: (Float | Integer),
61
+ ?http_continue_timeout: (Float | Integer),
62
+ ?ssl_timeout: (Float | Integer | nil),
63
+ ?http_wire_trace: bool,
64
+ ?ssl_verify_peer: bool,
65
+ ?ssl_ca_bundle: String,
66
+ ?ssl_ca_directory: String,
67
+ ?ssl_ca_store: String,
68
+ ?on_chunk_received: Proc,
69
+ ?on_chunk_sent: Proc,
70
+ ?raise_response_errors: bool
71
+ ) -> instance
72
+ | (?Hash[Symbol, untyped]) -> instance
73
+
74
+
75
+ interface _ActivateAnomalyDetectorResponseSuccess
76
+ include ::Seahorse::Client::_ResponseSuccess[Types::ActivateAnomalyDetectorResponse]
77
+ end
78
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LookoutMetrics/Client.html#activate_anomaly_detector-instance_method
79
+ def activate_anomaly_detector: (
80
+ anomaly_detector_arn: ::String
81
+ ) -> _ActivateAnomalyDetectorResponseSuccess
82
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ActivateAnomalyDetectorResponseSuccess
83
+
84
+ interface _BackTestAnomalyDetectorResponseSuccess
85
+ include ::Seahorse::Client::_ResponseSuccess[Types::BackTestAnomalyDetectorResponse]
86
+ end
87
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LookoutMetrics/Client.html#back_test_anomaly_detector-instance_method
88
+ def back_test_anomaly_detector: (
89
+ anomaly_detector_arn: ::String
90
+ ) -> _BackTestAnomalyDetectorResponseSuccess
91
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BackTestAnomalyDetectorResponseSuccess
92
+
93
+ interface _CreateAlertResponseSuccess
94
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateAlertResponse]
95
+ def alert_arn: () -> ::String
96
+ end
97
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LookoutMetrics/Client.html#create_alert-instance_method
98
+ def create_alert: (
99
+ alert_name: ::String,
100
+ ?alert_sensitivity_threshold: ::Integer,
101
+ ?alert_description: ::String,
102
+ anomaly_detector_arn: ::String,
103
+ action: {
104
+ sns_configuration: {
105
+ role_arn: ::String,
106
+ sns_topic_arn: ::String,
107
+ sns_format: ("LONG_TEXT" | "SHORT_TEXT" | "JSON")?
108
+ }?,
109
+ lambda_configuration: {
110
+ role_arn: ::String,
111
+ lambda_arn: ::String
112
+ }?
113
+ },
114
+ ?tags: Hash[::String, ::String],
115
+ ?alert_filters: {
116
+ metric_list: Array[::String]?,
117
+ dimension_filter_list: Array[
118
+ {
119
+ dimension_name: ::String?,
120
+ dimension_value_list: Array[::String]?
121
+ },
122
+ ]?
123
+ }
124
+ ) -> _CreateAlertResponseSuccess
125
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAlertResponseSuccess
126
+
127
+ interface _CreateAnomalyDetectorResponseSuccess
128
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateAnomalyDetectorResponse]
129
+ def anomaly_detector_arn: () -> ::String
130
+ end
131
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LookoutMetrics/Client.html#create_anomaly_detector-instance_method
132
+ def create_anomaly_detector: (
133
+ anomaly_detector_name: ::String,
134
+ ?anomaly_detector_description: ::String,
135
+ anomaly_detector_config: {
136
+ anomaly_detector_frequency: ("P1D" | "PT1H" | "PT10M" | "PT5M")?
137
+ },
138
+ ?kms_key_arn: ::String,
139
+ ?tags: Hash[::String, ::String]
140
+ ) -> _CreateAnomalyDetectorResponseSuccess
141
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAnomalyDetectorResponseSuccess
142
+
143
+ interface _CreateMetricSetResponseSuccess
144
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateMetricSetResponse]
145
+ def metric_set_arn: () -> ::String
146
+ end
147
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LookoutMetrics/Client.html#create_metric_set-instance_method
148
+ def create_metric_set: (
149
+ anomaly_detector_arn: ::String,
150
+ metric_set_name: ::String,
151
+ ?metric_set_description: ::String,
152
+ metric_list: Array[
153
+ {
154
+ metric_name: ::String,
155
+ aggregation_function: ("AVG" | "SUM"),
156
+ namespace: ::String?
157
+ },
158
+ ],
159
+ ?offset: ::Integer,
160
+ ?timestamp_column: {
161
+ column_name: ::String?,
162
+ column_format: ::String?
163
+ },
164
+ ?dimension_list: Array[::String],
165
+ ?metric_set_frequency: ("P1D" | "PT1H" | "PT10M" | "PT5M"),
166
+ metric_source: {
167
+ s3_source_config: {
168
+ role_arn: ::String?,
169
+ templated_path_list: Array[::String]?,
170
+ historical_data_path_list: Array[::String]?,
171
+ file_format_descriptor: {
172
+ csv_format_descriptor: {
173
+ file_compression: ("NONE" | "GZIP")?,
174
+ charset: ::String?,
175
+ contains_header: bool?,
176
+ delimiter: ::String?,
177
+ header_list: Array[::String]?,
178
+ quote_symbol: ::String?
179
+ }?,
180
+ json_format_descriptor: {
181
+ file_compression: ("NONE" | "GZIP")?,
182
+ charset: ::String?
183
+ }?
184
+ }?
185
+ }?,
186
+ app_flow_config: {
187
+ role_arn: ::String?,
188
+ flow_name: ::String?
189
+ }?,
190
+ cloud_watch_config: {
191
+ role_arn: ::String?,
192
+ back_test_configuration: {
193
+ run_back_test_mode: bool
194
+ }?
195
+ }?,
196
+ rds_source_config: {
197
+ db_instance_identifier: ::String?,
198
+ database_host: ::String?,
199
+ database_port: ::Integer?,
200
+ secret_manager_arn: ::String?,
201
+ database_name: ::String?,
202
+ table_name: ::String?,
203
+ role_arn: ::String?,
204
+ vpc_configuration: {
205
+ subnet_id_list: Array[::String],
206
+ security_group_id_list: Array[::String]
207
+ }?
208
+ }?,
209
+ redshift_source_config: {
210
+ cluster_identifier: ::String?,
211
+ database_host: ::String?,
212
+ database_port: ::Integer?,
213
+ secret_manager_arn: ::String?,
214
+ database_name: ::String?,
215
+ table_name: ::String?,
216
+ role_arn: ::String?,
217
+ vpc_configuration: {
218
+ subnet_id_list: Array[::String],
219
+ security_group_id_list: Array[::String]
220
+ }?
221
+ }?,
222
+ athena_source_config: {
223
+ role_arn: ::String?,
224
+ database_name: ::String?,
225
+ data_catalog: ::String?,
226
+ table_name: ::String?,
227
+ work_group_name: ::String?,
228
+ s3_results_path: ::String?,
229
+ back_test_configuration: {
230
+ run_back_test_mode: bool
231
+ }?
232
+ }?
233
+ },
234
+ ?timezone: ::String,
235
+ ?tags: Hash[::String, ::String],
236
+ ?dimension_filter_list: Array[
237
+ {
238
+ name: ::String?,
239
+ filter_list: Array[
240
+ {
241
+ dimension_value: ::String?,
242
+ filter_operation: ("EQUALS")?
243
+ },
244
+ ]?
245
+ },
246
+ ]
247
+ ) -> _CreateMetricSetResponseSuccess
248
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateMetricSetResponseSuccess
249
+
250
+ interface _DeactivateAnomalyDetectorResponseSuccess
251
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeactivateAnomalyDetectorResponse]
252
+ end
253
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LookoutMetrics/Client.html#deactivate_anomaly_detector-instance_method
254
+ def deactivate_anomaly_detector: (
255
+ anomaly_detector_arn: ::String
256
+ ) -> _DeactivateAnomalyDetectorResponseSuccess
257
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeactivateAnomalyDetectorResponseSuccess
258
+
259
+ interface _DeleteAlertResponseSuccess
260
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteAlertResponse]
261
+ end
262
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LookoutMetrics/Client.html#delete_alert-instance_method
263
+ def delete_alert: (
264
+ alert_arn: ::String
265
+ ) -> _DeleteAlertResponseSuccess
266
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAlertResponseSuccess
267
+
268
+ interface _DeleteAnomalyDetectorResponseSuccess
269
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteAnomalyDetectorResponse]
270
+ end
271
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LookoutMetrics/Client.html#delete_anomaly_detector-instance_method
272
+ def delete_anomaly_detector: (
273
+ anomaly_detector_arn: ::String
274
+ ) -> _DeleteAnomalyDetectorResponseSuccess
275
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAnomalyDetectorResponseSuccess
276
+
277
+ interface _DescribeAlertResponseSuccess
278
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeAlertResponse]
279
+ def alert: () -> Types::Alert
280
+ end
281
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LookoutMetrics/Client.html#describe_alert-instance_method
282
+ def describe_alert: (
283
+ alert_arn: ::String
284
+ ) -> _DescribeAlertResponseSuccess
285
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeAlertResponseSuccess
286
+
287
+ interface _DescribeAnomalyDetectionExecutionsResponseSuccess
288
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeAnomalyDetectionExecutionsResponse]
289
+ def execution_list: () -> ::Array[Types::ExecutionStatus]
290
+ def next_token: () -> ::String
291
+ end
292
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LookoutMetrics/Client.html#describe_anomaly_detection_executions-instance_method
293
+ def describe_anomaly_detection_executions: (
294
+ anomaly_detector_arn: ::String,
295
+ ?timestamp: ::String,
296
+ ?max_results: ::Integer,
297
+ ?next_token: ::String
298
+ ) -> _DescribeAnomalyDetectionExecutionsResponseSuccess
299
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeAnomalyDetectionExecutionsResponseSuccess
300
+
301
+ interface _DescribeAnomalyDetectorResponseSuccess
302
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeAnomalyDetectorResponse]
303
+ def anomaly_detector_arn: () -> ::String
304
+ def anomaly_detector_name: () -> ::String
305
+ def anomaly_detector_description: () -> ::String
306
+ def anomaly_detector_config: () -> Types::AnomalyDetectorConfigSummary
307
+ def creation_time: () -> ::Time
308
+ def last_modification_time: () -> ::Time
309
+ def status: () -> ("ACTIVE" | "ACTIVATING" | "DELETING" | "FAILED" | "INACTIVE" | "LEARNING" | "BACK_TEST_ACTIVATING" | "BACK_TEST_ACTIVE" | "BACK_TEST_COMPLETE" | "DEACTIVATED" | "DEACTIVATING")
310
+ def failure_reason: () -> ::String
311
+ def kms_key_arn: () -> ::String
312
+ def failure_type: () -> ("ACTIVATION_FAILURE" | "BACK_TEST_ACTIVATION_FAILURE" | "DELETION_FAILURE" | "DEACTIVATION_FAILURE")
313
+ end
314
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LookoutMetrics/Client.html#describe_anomaly_detector-instance_method
315
+ def describe_anomaly_detector: (
316
+ anomaly_detector_arn: ::String
317
+ ) -> _DescribeAnomalyDetectorResponseSuccess
318
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeAnomalyDetectorResponseSuccess
319
+
320
+ interface _DescribeMetricSetResponseSuccess
321
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeMetricSetResponse]
322
+ def metric_set_arn: () -> ::String
323
+ def anomaly_detector_arn: () -> ::String
324
+ def metric_set_name: () -> ::String
325
+ def metric_set_description: () -> ::String
326
+ def creation_time: () -> ::Time
327
+ def last_modification_time: () -> ::Time
328
+ def offset: () -> ::Integer
329
+ def metric_list: () -> ::Array[Types::Metric]
330
+ def timestamp_column: () -> Types::TimestampColumn
331
+ def dimension_list: () -> ::Array[::String]
332
+ def metric_set_frequency: () -> ("P1D" | "PT1H" | "PT10M" | "PT5M")
333
+ def timezone: () -> ::String
334
+ def metric_source: () -> Types::MetricSource
335
+ def dimension_filter_list: () -> ::Array[Types::MetricSetDimensionFilter]
336
+ end
337
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LookoutMetrics/Client.html#describe_metric_set-instance_method
338
+ def describe_metric_set: (
339
+ metric_set_arn: ::String
340
+ ) -> _DescribeMetricSetResponseSuccess
341
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeMetricSetResponseSuccess
342
+
343
+ interface _DetectMetricSetConfigResponseSuccess
344
+ include ::Seahorse::Client::_ResponseSuccess[Types::DetectMetricSetConfigResponse]
345
+ def detected_metric_set_config: () -> Types::DetectedMetricSetConfig
346
+ end
347
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LookoutMetrics/Client.html#detect_metric_set_config-instance_method
348
+ def detect_metric_set_config: (
349
+ anomaly_detector_arn: ::String,
350
+ auto_detection_metric_source: {
351
+ s3_source_config: {
352
+ templated_path_list: Array[::String]?,
353
+ historical_data_path_list: Array[::String]?
354
+ }?
355
+ }
356
+ ) -> _DetectMetricSetConfigResponseSuccess
357
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DetectMetricSetConfigResponseSuccess
358
+
359
+ interface _GetAnomalyGroupResponseSuccess
360
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetAnomalyGroupResponse]
361
+ def anomaly_group: () -> Types::AnomalyGroup
362
+ end
363
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LookoutMetrics/Client.html#get_anomaly_group-instance_method
364
+ def get_anomaly_group: (
365
+ anomaly_group_id: ::String,
366
+ anomaly_detector_arn: ::String
367
+ ) -> _GetAnomalyGroupResponseSuccess
368
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAnomalyGroupResponseSuccess
369
+
370
+ interface _GetDataQualityMetricsResponseSuccess
371
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetDataQualityMetricsResponse]
372
+ def anomaly_detector_data_quality_metric_list: () -> ::Array[Types::AnomalyDetectorDataQualityMetric]
373
+ end
374
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LookoutMetrics/Client.html#get_data_quality_metrics-instance_method
375
+ def get_data_quality_metrics: (
376
+ anomaly_detector_arn: ::String,
377
+ ?metric_set_arn: ::String
378
+ ) -> _GetDataQualityMetricsResponseSuccess
379
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDataQualityMetricsResponseSuccess
380
+
381
+ interface _GetFeedbackResponseSuccess
382
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetFeedbackResponse]
383
+ def anomaly_group_time_series_feedback: () -> ::Array[Types::TimeSeriesFeedback]
384
+ def next_token: () -> ::String
385
+ end
386
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LookoutMetrics/Client.html#get_feedback-instance_method
387
+ def get_feedback: (
388
+ anomaly_detector_arn: ::String,
389
+ anomaly_group_time_series_feedback: {
390
+ anomaly_group_id: ::String,
391
+ time_series_id: ::String?
392
+ },
393
+ ?max_results: ::Integer,
394
+ ?next_token: ::String
395
+ ) -> _GetFeedbackResponseSuccess
396
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetFeedbackResponseSuccess
397
+
398
+ interface _GetSampleDataResponseSuccess
399
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetSampleDataResponse]
400
+ def header_values: () -> ::Array[::String]
401
+ def sample_rows: () -> ::Array[::Array[::String]]
402
+ end
403
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LookoutMetrics/Client.html#get_sample_data-instance_method
404
+ def get_sample_data: (
405
+ ?s3_source_config: {
406
+ role_arn: ::String,
407
+ templated_path_list: Array[::String]?,
408
+ historical_data_path_list: Array[::String]?,
409
+ file_format_descriptor: {
410
+ csv_format_descriptor: {
411
+ file_compression: ("NONE" | "GZIP")?,
412
+ charset: ::String?,
413
+ contains_header: bool?,
414
+ delimiter: ::String?,
415
+ header_list: Array[::String]?,
416
+ quote_symbol: ::String?
417
+ }?,
418
+ json_format_descriptor: {
419
+ file_compression: ("NONE" | "GZIP")?,
420
+ charset: ::String?
421
+ }?
422
+ }
423
+ }
424
+ ) -> _GetSampleDataResponseSuccess
425
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSampleDataResponseSuccess
426
+
427
+ interface _ListAlertsResponseSuccess
428
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListAlertsResponse]
429
+ def alert_summary_list: () -> ::Array[Types::AlertSummary]
430
+ def next_token: () -> ::String
431
+ end
432
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LookoutMetrics/Client.html#list_alerts-instance_method
433
+ def list_alerts: (
434
+ ?anomaly_detector_arn: ::String,
435
+ ?next_token: ::String,
436
+ ?max_results: ::Integer
437
+ ) -> _ListAlertsResponseSuccess
438
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAlertsResponseSuccess
439
+
440
+ interface _ListAnomalyDetectorsResponseSuccess
441
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListAnomalyDetectorsResponse]
442
+ def anomaly_detector_summary_list: () -> ::Array[Types::AnomalyDetectorSummary]
443
+ def next_token: () -> ::String
444
+ end
445
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LookoutMetrics/Client.html#list_anomaly_detectors-instance_method
446
+ def list_anomaly_detectors: (
447
+ ?max_results: ::Integer,
448
+ ?next_token: ::String
449
+ ) -> _ListAnomalyDetectorsResponseSuccess
450
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAnomalyDetectorsResponseSuccess
451
+
452
+ interface _ListAnomalyGroupRelatedMetricsResponseSuccess
453
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListAnomalyGroupRelatedMetricsResponse]
454
+ def inter_metric_impact_list: () -> ::Array[Types::InterMetricImpactDetails]
455
+ def next_token: () -> ::String
456
+ end
457
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LookoutMetrics/Client.html#list_anomaly_group_related_metrics-instance_method
458
+ def list_anomaly_group_related_metrics: (
459
+ anomaly_detector_arn: ::String,
460
+ anomaly_group_id: ::String,
461
+ ?relationship_type_filter: ("CAUSE_OF_INPUT_ANOMALY_GROUP" | "EFFECT_OF_INPUT_ANOMALY_GROUP"),
462
+ ?max_results: ::Integer,
463
+ ?next_token: ::String
464
+ ) -> _ListAnomalyGroupRelatedMetricsResponseSuccess
465
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAnomalyGroupRelatedMetricsResponseSuccess
466
+
467
+ interface _ListAnomalyGroupSummariesResponseSuccess
468
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListAnomalyGroupSummariesResponse]
469
+ def anomaly_group_summary_list: () -> ::Array[Types::AnomalyGroupSummary]
470
+ def anomaly_group_statistics: () -> Types::AnomalyGroupStatistics
471
+ def next_token: () -> ::String
472
+ end
473
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LookoutMetrics/Client.html#list_anomaly_group_summaries-instance_method
474
+ def list_anomaly_group_summaries: (
475
+ anomaly_detector_arn: ::String,
476
+ sensitivity_threshold: ::Integer,
477
+ ?max_results: ::Integer,
478
+ ?next_token: ::String
479
+ ) -> _ListAnomalyGroupSummariesResponseSuccess
480
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAnomalyGroupSummariesResponseSuccess
481
+
482
+ interface _ListAnomalyGroupTimeSeriesResponseSuccess
483
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListAnomalyGroupTimeSeriesResponse]
484
+ def anomaly_group_id: () -> ::String
485
+ def metric_name: () -> ::String
486
+ def timestamp_list: () -> ::Array[::String]
487
+ def next_token: () -> ::String
488
+ def time_series_list: () -> ::Array[Types::TimeSeries]
489
+ end
490
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LookoutMetrics/Client.html#list_anomaly_group_time_series-instance_method
491
+ def list_anomaly_group_time_series: (
492
+ anomaly_detector_arn: ::String,
493
+ anomaly_group_id: ::String,
494
+ metric_name: ::String,
495
+ ?max_results: ::Integer,
496
+ ?next_token: ::String
497
+ ) -> _ListAnomalyGroupTimeSeriesResponseSuccess
498
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAnomalyGroupTimeSeriesResponseSuccess
499
+
500
+ interface _ListMetricSetsResponseSuccess
501
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListMetricSetsResponse]
502
+ def metric_set_summary_list: () -> ::Array[Types::MetricSetSummary]
503
+ def next_token: () -> ::String
504
+ end
505
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LookoutMetrics/Client.html#list_metric_sets-instance_method
506
+ def list_metric_sets: (
507
+ ?anomaly_detector_arn: ::String,
508
+ ?max_results: ::Integer,
509
+ ?next_token: ::String
510
+ ) -> _ListMetricSetsResponseSuccess
511
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListMetricSetsResponseSuccess
512
+
513
+ interface _ListTagsForResourceResponseSuccess
514
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
515
+ def tags: () -> ::Hash[::String, ::String]
516
+ end
517
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LookoutMetrics/Client.html#list_tags_for_resource-instance_method
518
+ def list_tags_for_resource: (
519
+ resource_arn: ::String
520
+ ) -> _ListTagsForResourceResponseSuccess
521
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
522
+
523
+ interface _PutFeedbackResponseSuccess
524
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutFeedbackResponse]
525
+ end
526
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LookoutMetrics/Client.html#put_feedback-instance_method
527
+ def put_feedback: (
528
+ anomaly_detector_arn: ::String,
529
+ anomaly_group_time_series_feedback: {
530
+ anomaly_group_id: ::String,
531
+ time_series_id: ::String,
532
+ is_anomaly: bool
533
+ }
534
+ ) -> _PutFeedbackResponseSuccess
535
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutFeedbackResponseSuccess
536
+
537
+ interface _TagResourceResponseSuccess
538
+ include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
539
+ end
540
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LookoutMetrics/Client.html#tag_resource-instance_method
541
+ def tag_resource: (
542
+ resource_arn: ::String,
543
+ tags: Hash[::String, ::String]
544
+ ) -> _TagResourceResponseSuccess
545
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
546
+
547
+ interface _UntagResourceResponseSuccess
548
+ include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
549
+ end
550
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LookoutMetrics/Client.html#untag_resource-instance_method
551
+ def untag_resource: (
552
+ resource_arn: ::String,
553
+ tag_keys: Array[::String]
554
+ ) -> _UntagResourceResponseSuccess
555
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
556
+
557
+ interface _UpdateAlertResponseSuccess
558
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateAlertResponse]
559
+ def alert_arn: () -> ::String
560
+ end
561
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LookoutMetrics/Client.html#update_alert-instance_method
562
+ def update_alert: (
563
+ alert_arn: ::String,
564
+ ?alert_description: ::String,
565
+ ?alert_sensitivity_threshold: ::Integer,
566
+ ?action: {
567
+ sns_configuration: {
568
+ role_arn: ::String,
569
+ sns_topic_arn: ::String,
570
+ sns_format: ("LONG_TEXT" | "SHORT_TEXT" | "JSON")?
571
+ }?,
572
+ lambda_configuration: {
573
+ role_arn: ::String,
574
+ lambda_arn: ::String
575
+ }?
576
+ },
577
+ ?alert_filters: {
578
+ metric_list: Array[::String]?,
579
+ dimension_filter_list: Array[
580
+ {
581
+ dimension_name: ::String?,
582
+ dimension_value_list: Array[::String]?
583
+ },
584
+ ]?
585
+ }
586
+ ) -> _UpdateAlertResponseSuccess
587
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAlertResponseSuccess
588
+
589
+ interface _UpdateAnomalyDetectorResponseSuccess
590
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateAnomalyDetectorResponse]
591
+ def anomaly_detector_arn: () -> ::String
592
+ end
593
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LookoutMetrics/Client.html#update_anomaly_detector-instance_method
594
+ def update_anomaly_detector: (
595
+ anomaly_detector_arn: ::String,
596
+ ?kms_key_arn: ::String,
597
+ ?anomaly_detector_description: ::String,
598
+ ?anomaly_detector_config: {
599
+ anomaly_detector_frequency: ("P1D" | "PT1H" | "PT10M" | "PT5M")?
600
+ }
601
+ ) -> _UpdateAnomalyDetectorResponseSuccess
602
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAnomalyDetectorResponseSuccess
603
+
604
+ interface _UpdateMetricSetResponseSuccess
605
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateMetricSetResponse]
606
+ def metric_set_arn: () -> ::String
607
+ end
608
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LookoutMetrics/Client.html#update_metric_set-instance_method
609
+ def update_metric_set: (
610
+ metric_set_arn: ::String,
611
+ ?metric_set_description: ::String,
612
+ ?metric_list: Array[
613
+ {
614
+ metric_name: ::String,
615
+ aggregation_function: ("AVG" | "SUM"),
616
+ namespace: ::String?
617
+ },
618
+ ],
619
+ ?offset: ::Integer,
620
+ ?timestamp_column: {
621
+ column_name: ::String?,
622
+ column_format: ::String?
623
+ },
624
+ ?dimension_list: Array[::String],
625
+ ?metric_set_frequency: ("P1D" | "PT1H" | "PT10M" | "PT5M"),
626
+ ?metric_source: {
627
+ s3_source_config: {
628
+ role_arn: ::String?,
629
+ templated_path_list: Array[::String]?,
630
+ historical_data_path_list: Array[::String]?,
631
+ file_format_descriptor: {
632
+ csv_format_descriptor: {
633
+ file_compression: ("NONE" | "GZIP")?,
634
+ charset: ::String?,
635
+ contains_header: bool?,
636
+ delimiter: ::String?,
637
+ header_list: Array[::String]?,
638
+ quote_symbol: ::String?
639
+ }?,
640
+ json_format_descriptor: {
641
+ file_compression: ("NONE" | "GZIP")?,
642
+ charset: ::String?
643
+ }?
644
+ }?
645
+ }?,
646
+ app_flow_config: {
647
+ role_arn: ::String?,
648
+ flow_name: ::String?
649
+ }?,
650
+ cloud_watch_config: {
651
+ role_arn: ::String?,
652
+ back_test_configuration: {
653
+ run_back_test_mode: bool
654
+ }?
655
+ }?,
656
+ rds_source_config: {
657
+ db_instance_identifier: ::String?,
658
+ database_host: ::String?,
659
+ database_port: ::Integer?,
660
+ secret_manager_arn: ::String?,
661
+ database_name: ::String?,
662
+ table_name: ::String?,
663
+ role_arn: ::String?,
664
+ vpc_configuration: {
665
+ subnet_id_list: Array[::String],
666
+ security_group_id_list: Array[::String]
667
+ }?
668
+ }?,
669
+ redshift_source_config: {
670
+ cluster_identifier: ::String?,
671
+ database_host: ::String?,
672
+ database_port: ::Integer?,
673
+ secret_manager_arn: ::String?,
674
+ database_name: ::String?,
675
+ table_name: ::String?,
676
+ role_arn: ::String?,
677
+ vpc_configuration: {
678
+ subnet_id_list: Array[::String],
679
+ security_group_id_list: Array[::String]
680
+ }?
681
+ }?,
682
+ athena_source_config: {
683
+ role_arn: ::String?,
684
+ database_name: ::String?,
685
+ data_catalog: ::String?,
686
+ table_name: ::String?,
687
+ work_group_name: ::String?,
688
+ s3_results_path: ::String?,
689
+ back_test_configuration: {
690
+ run_back_test_mode: bool
691
+ }?
692
+ }?
693
+ },
694
+ ?dimension_filter_list: Array[
695
+ {
696
+ name: ::String?,
697
+ filter_list: Array[
698
+ {
699
+ dimension_value: ::String?,
700
+ filter_operation: ("EQUALS")?
701
+ },
702
+ ]?
703
+ },
704
+ ]
705
+ ) -> _UpdateMetricSetResponseSuccess
706
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateMetricSetResponseSuccess
707
+ end
708
+ end
709
+ end
710
+