aws-sdk-devopsguru 1.16.0 → 1.37.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +107 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-devopsguru/client.rb +587 -42
- data/lib/aws-sdk-devopsguru/client_api.rb +417 -2
- data/lib/aws-sdk-devopsguru/endpoint_parameters.rb +66 -0
- data/lib/aws-sdk-devopsguru/endpoint_provider.rb +54 -0
- data/lib/aws-sdk-devopsguru/endpoints.rb +450 -0
- data/lib/aws-sdk-devopsguru/plugins/endpoints.rb +130 -0
- data/lib/aws-sdk-devopsguru/types.rb +1905 -677
- data/lib/aws-sdk-devopsguru.rb +5 -1
- metadata +8 -4
@@ -27,7 +27,11 @@ 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/
|
30
|
+
require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
31
|
+
require 'aws-sdk-core/plugins/request_compression.rb'
|
32
|
+
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
33
|
+
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
34
|
+
require 'aws-sdk-core/plugins/sign.rb'
|
31
35
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
32
36
|
|
33
37
|
Aws::Plugins::GlobalConfiguration.add_identifier(:devopsguru)
|
@@ -73,8 +77,13 @@ module Aws::DevOpsGuru
|
|
73
77
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
74
78
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
79
|
add_plugin(Aws::Plugins::HttpChecksum)
|
76
|
-
add_plugin(Aws::Plugins::
|
80
|
+
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
81
|
+
add_plugin(Aws::Plugins::RequestCompression)
|
82
|
+
add_plugin(Aws::Plugins::DefaultsMode)
|
83
|
+
add_plugin(Aws::Plugins::RecursionDetection)
|
84
|
+
add_plugin(Aws::Plugins::Sign)
|
77
85
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
86
|
+
add_plugin(Aws::DevOpsGuru::Plugins::Endpoints)
|
78
87
|
|
79
88
|
# @overload initialize(options)
|
80
89
|
# @param [Hash] options
|
@@ -175,10 +184,18 @@ module Aws::DevOpsGuru
|
|
175
184
|
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
176
185
|
# a clock skew correction and retry requests with skewed client clocks.
|
177
186
|
#
|
187
|
+
# @option options [String] :defaults_mode ("legacy")
|
188
|
+
# See {Aws::DefaultsModeConfiguration} for a list of the
|
189
|
+
# accepted modes and the configuration defaults that are included.
|
190
|
+
#
|
178
191
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
179
192
|
# Set to true to disable SDK automatically adding host prefix
|
180
193
|
# to default service endpoint when available.
|
181
194
|
#
|
195
|
+
# @option options [Boolean] :disable_request_compression (false)
|
196
|
+
# When set to 'true' the request body will not be compressed
|
197
|
+
# for supported operations.
|
198
|
+
#
|
182
199
|
# @option options [String] :endpoint
|
183
200
|
# The client endpoint is normally constructed from the `:region`
|
184
201
|
# option. You should only configure an `:endpoint` when connecting
|
@@ -199,6 +216,10 @@ module Aws::DevOpsGuru
|
|
199
216
|
# @option options [Boolean] :endpoint_discovery (false)
|
200
217
|
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
201
218
|
#
|
219
|
+
# @option options [Boolean] :ignore_configured_endpoint_urls
|
220
|
+
# Setting to true disables use of endpoint URLs provided via environment
|
221
|
+
# variables and the shared configuration file.
|
222
|
+
#
|
202
223
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
203
224
|
# The log formatter.
|
204
225
|
#
|
@@ -219,6 +240,11 @@ module Aws::DevOpsGuru
|
|
219
240
|
# Used when loading credentials from the shared credentials file
|
220
241
|
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
221
242
|
#
|
243
|
+
# @option options [Integer] :request_min_compression_size_bytes (10240)
|
244
|
+
# The minimum size in bytes that triggers compression for request
|
245
|
+
# bodies. The value must be non-negative integer value between 0
|
246
|
+
# and 10485780 bytes inclusive.
|
247
|
+
#
|
222
248
|
# @option options [Proc] :retry_backoff
|
223
249
|
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
224
250
|
# This option is only used in the `legacy` retry mode.
|
@@ -264,6 +290,11 @@ module Aws::DevOpsGuru
|
|
264
290
|
# in the future.
|
265
291
|
#
|
266
292
|
#
|
293
|
+
# @option options [String] :sdk_ua_app_id
|
294
|
+
# A unique and opaque application ID that is appended to the
|
295
|
+
# User-Agent header as app/<sdk_ua_app_id>. It should have a
|
296
|
+
# maximum length of 50.
|
297
|
+
#
|
267
298
|
# @option options [String] :secret_access_key
|
268
299
|
#
|
269
300
|
# @option options [String] :session_token
|
@@ -277,6 +308,19 @@ module Aws::DevOpsGuru
|
|
277
308
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
278
309
|
# requests are made, and retries are disabled.
|
279
310
|
#
|
311
|
+
# @option options [Aws::TokenProvider] :token_provider
|
312
|
+
# A Bearer Token Provider. This can be an instance of any one of the
|
313
|
+
# following classes:
|
314
|
+
#
|
315
|
+
# * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
|
316
|
+
# tokens.
|
317
|
+
#
|
318
|
+
# * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an
|
319
|
+
# access token generated from `aws login`.
|
320
|
+
#
|
321
|
+
# When `:token_provider` is not configured directly, the `Aws::TokenProviderChain`
|
322
|
+
# will be used to search for tokens configured for your profile in shared configuration files.
|
323
|
+
#
|
280
324
|
# @option options [Boolean] :use_dualstack_endpoint
|
281
325
|
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
282
326
|
# will be used if available.
|
@@ -290,6 +334,9 @@ module Aws::DevOpsGuru
|
|
290
334
|
# When `true`, request parameters are validated before
|
291
335
|
# sending the request.
|
292
336
|
#
|
337
|
+
# @option options [Aws::DevOpsGuru::EndpointProvider] :endpoint_provider
|
338
|
+
# The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::DevOpsGuru::EndpointParameters`
|
339
|
+
#
|
293
340
|
# @option options [URI::HTTP,String] :http_proxy A proxy to send
|
294
341
|
# requests through. Formatted like 'http://proxy.com:123'.
|
295
342
|
#
|
@@ -297,7 +344,7 @@ module Aws::DevOpsGuru
|
|
297
344
|
# seconds to wait when opening a HTTP session before raising a
|
298
345
|
# `Timeout::Error`.
|
299
346
|
#
|
300
|
-
# @option options [
|
347
|
+
# @option options [Float] :http_read_timeout (60) The default
|
301
348
|
# number of seconds to wait for response data. This value can
|
302
349
|
# safely be set per-request on the session.
|
303
350
|
#
|
@@ -313,6 +360,9 @@ module Aws::DevOpsGuru
|
|
313
360
|
# disables this behaviour. This value can safely be set per
|
314
361
|
# request on the session.
|
315
362
|
#
|
363
|
+
# @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
|
364
|
+
# in seconds.
|
365
|
+
#
|
316
366
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
317
367
|
# HTTP debug output will be sent to the `:logger`.
|
318
368
|
#
|
@@ -343,10 +393,11 @@ module Aws::DevOpsGuru
|
|
343
393
|
# insight is generated.
|
344
394
|
#
|
345
395
|
# If you use an Amazon SNS topic in another account, you must attach a
|
346
|
-
# policy to it that grants DevOps Guru permission to it
|
347
|
-
# DevOps Guru adds the required policy on your behalf to
|
348
|
-
# notifications using Amazon SNS in your account.
|
349
|
-
#
|
396
|
+
# policy to it that grants DevOps Guru permission to send it
|
397
|
+
# notifications. DevOps Guru adds the required policy on your behalf to
|
398
|
+
# send notifications using Amazon SNS in your account. DevOps Guru only
|
399
|
+
# supports standard SNS topics. For more information, see [Permissions
|
400
|
+
# for Amazon SNS topics][1].
|
350
401
|
#
|
351
402
|
# If you use an Amazon SNS topic that is encrypted by an Amazon Web
|
352
403
|
# Services Key Management Service customer-managed key (CMK), then you
|
@@ -375,6 +426,10 @@ module Aws::DevOpsGuru
|
|
375
426
|
# sns: { # required
|
376
427
|
# topic_arn: "TopicArn",
|
377
428
|
# },
|
429
|
+
# filters: {
|
430
|
+
# severities: ["LOW"], # accepts LOW, MEDIUM, HIGH
|
431
|
+
# message_types: ["NEW_INSIGHT"], # accepts NEW_INSIGHT, CLOSED_INSIGHT, NEW_ASSOCIATION, SEVERITY_UPGRADED, NEW_RECOMMENDATION
|
432
|
+
# },
|
378
433
|
# },
|
379
434
|
# })
|
380
435
|
#
|
@@ -391,6 +446,29 @@ module Aws::DevOpsGuru
|
|
391
446
|
req.send_request(options)
|
392
447
|
end
|
393
448
|
|
449
|
+
# Deletes the insight along with the associated anomalies, events and
|
450
|
+
# recommendations.
|
451
|
+
#
|
452
|
+
# @option params [required, String] :id
|
453
|
+
# The ID of the insight.
|
454
|
+
#
|
455
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
456
|
+
#
|
457
|
+
# @example Request syntax with placeholder values
|
458
|
+
#
|
459
|
+
# resp = client.delete_insight({
|
460
|
+
# id: "InsightId", # required
|
461
|
+
# })
|
462
|
+
#
|
463
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DeleteInsight AWS API Documentation
|
464
|
+
#
|
465
|
+
# @overload delete_insight(params = {})
|
466
|
+
# @param [Hash] params ({})
|
467
|
+
def delete_insight(params = {}, options = {})
|
468
|
+
req = build_request(:delete_insight, params)
|
469
|
+
req.send_request(options)
|
470
|
+
end
|
471
|
+
|
394
472
|
# Returns the number of open reactive insights, the number of open
|
395
473
|
# proactive insights, and the number of metrics analyzed in your Amazon
|
396
474
|
# Web Services account. Use these numbers to gauge the health of
|
@@ -402,6 +480,7 @@ module Aws::DevOpsGuru
|
|
402
480
|
# * {Types::DescribeAccountHealthResponse#open_proactive_insights #open_proactive_insights} => Integer
|
403
481
|
# * {Types::DescribeAccountHealthResponse#metrics_analyzed #metrics_analyzed} => Integer
|
404
482
|
# * {Types::DescribeAccountHealthResponse#resource_hours #resource_hours} => Integer
|
483
|
+
# * {Types::DescribeAccountHealthResponse#analyzed_resource_count #analyzed_resource_count} => Integer
|
405
484
|
#
|
406
485
|
# @example Response structure
|
407
486
|
#
|
@@ -409,6 +488,7 @@ module Aws::DevOpsGuru
|
|
409
488
|
# resp.open_proactive_insights #=> Integer
|
410
489
|
# resp.metrics_analyzed #=> Integer
|
411
490
|
# resp.resource_hours #=> Integer
|
491
|
+
# resp.analyzed_resource_count #=> Integer
|
412
492
|
#
|
413
493
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeAccountHealth AWS API Documentation
|
414
494
|
#
|
@@ -508,10 +588,47 @@ module Aws::DevOpsGuru
|
|
508
588
|
# resp.proactive_anomaly.source_details.cloud_watch_metrics[0].metric_data_summary.timestamp_metric_value_pair_list[0].timestamp #=> Time
|
509
589
|
# resp.proactive_anomaly.source_details.cloud_watch_metrics[0].metric_data_summary.timestamp_metric_value_pair_list[0].metric_value #=> Float
|
510
590
|
# resp.proactive_anomaly.source_details.cloud_watch_metrics[0].metric_data_summary.status_code #=> String, one of "Complete", "InternalError", "PartialData"
|
591
|
+
# resp.proactive_anomaly.source_details.performance_insights_metrics #=> Array
|
592
|
+
# resp.proactive_anomaly.source_details.performance_insights_metrics[0].metric_display_name #=> String
|
593
|
+
# resp.proactive_anomaly.source_details.performance_insights_metrics[0].unit #=> String
|
594
|
+
# resp.proactive_anomaly.source_details.performance_insights_metrics[0].metric_query.metric #=> String
|
595
|
+
# resp.proactive_anomaly.source_details.performance_insights_metrics[0].metric_query.group_by.group #=> String
|
596
|
+
# resp.proactive_anomaly.source_details.performance_insights_metrics[0].metric_query.group_by.dimensions #=> Array
|
597
|
+
# resp.proactive_anomaly.source_details.performance_insights_metrics[0].metric_query.group_by.dimensions[0] #=> String
|
598
|
+
# resp.proactive_anomaly.source_details.performance_insights_metrics[0].metric_query.group_by.limit #=> Integer
|
599
|
+
# resp.proactive_anomaly.source_details.performance_insights_metrics[0].metric_query.filter #=> Hash
|
600
|
+
# resp.proactive_anomaly.source_details.performance_insights_metrics[0].metric_query.filter["PerformanceInsightsMetricFilterKey"] #=> String
|
601
|
+
# resp.proactive_anomaly.source_details.performance_insights_metrics[0].reference_data #=> Array
|
602
|
+
# resp.proactive_anomaly.source_details.performance_insights_metrics[0].reference_data[0].name #=> String
|
603
|
+
# resp.proactive_anomaly.source_details.performance_insights_metrics[0].reference_data[0].comparison_values.reference_scalar.value #=> Float
|
604
|
+
# resp.proactive_anomaly.source_details.performance_insights_metrics[0].reference_data[0].comparison_values.reference_metric.metric_query.metric #=> String
|
605
|
+
# resp.proactive_anomaly.source_details.performance_insights_metrics[0].reference_data[0].comparison_values.reference_metric.metric_query.group_by.group #=> String
|
606
|
+
# resp.proactive_anomaly.source_details.performance_insights_metrics[0].reference_data[0].comparison_values.reference_metric.metric_query.group_by.dimensions #=> Array
|
607
|
+
# resp.proactive_anomaly.source_details.performance_insights_metrics[0].reference_data[0].comparison_values.reference_metric.metric_query.group_by.dimensions[0] #=> String
|
608
|
+
# resp.proactive_anomaly.source_details.performance_insights_metrics[0].reference_data[0].comparison_values.reference_metric.metric_query.group_by.limit #=> Integer
|
609
|
+
# resp.proactive_anomaly.source_details.performance_insights_metrics[0].reference_data[0].comparison_values.reference_metric.metric_query.filter #=> Hash
|
610
|
+
# resp.proactive_anomaly.source_details.performance_insights_metrics[0].reference_data[0].comparison_values.reference_metric.metric_query.filter["PerformanceInsightsMetricFilterKey"] #=> String
|
611
|
+
# resp.proactive_anomaly.source_details.performance_insights_metrics[0].stats_at_anomaly #=> Array
|
612
|
+
# resp.proactive_anomaly.source_details.performance_insights_metrics[0].stats_at_anomaly[0].type #=> String
|
613
|
+
# resp.proactive_anomaly.source_details.performance_insights_metrics[0].stats_at_anomaly[0].value #=> Float
|
614
|
+
# resp.proactive_anomaly.source_details.performance_insights_metrics[0].stats_at_baseline #=> Array
|
615
|
+
# resp.proactive_anomaly.source_details.performance_insights_metrics[0].stats_at_baseline[0].type #=> String
|
616
|
+
# resp.proactive_anomaly.source_details.performance_insights_metrics[0].stats_at_baseline[0].value #=> Float
|
511
617
|
# resp.proactive_anomaly.associated_insight_id #=> String
|
512
618
|
# resp.proactive_anomaly.resource_collection.cloud_formation.stack_names #=> Array
|
513
619
|
# resp.proactive_anomaly.resource_collection.cloud_formation.stack_names[0] #=> String
|
620
|
+
# resp.proactive_anomaly.resource_collection.tags #=> Array
|
621
|
+
# resp.proactive_anomaly.resource_collection.tags[0].app_boundary_key #=> String
|
622
|
+
# resp.proactive_anomaly.resource_collection.tags[0].tag_values #=> Array
|
623
|
+
# resp.proactive_anomaly.resource_collection.tags[0].tag_values[0] #=> String
|
514
624
|
# resp.proactive_anomaly.limit #=> Float
|
625
|
+
# resp.proactive_anomaly.source_metadata.source #=> String
|
626
|
+
# resp.proactive_anomaly.source_metadata.source_resource_name #=> String
|
627
|
+
# resp.proactive_anomaly.source_metadata.source_resource_type #=> String
|
628
|
+
# resp.proactive_anomaly.anomaly_resources #=> Array
|
629
|
+
# resp.proactive_anomaly.anomaly_resources[0].name #=> String
|
630
|
+
# resp.proactive_anomaly.anomaly_resources[0].type #=> String
|
631
|
+
# resp.proactive_anomaly.description #=> String
|
515
632
|
# resp.reactive_anomaly.id #=> String
|
516
633
|
# resp.reactive_anomaly.severity #=> String, one of "LOW", "MEDIUM", "HIGH"
|
517
634
|
# resp.reactive_anomaly.status #=> String, one of "ONGOING", "CLOSED"
|
@@ -532,9 +649,46 @@ module Aws::DevOpsGuru
|
|
532
649
|
# resp.reactive_anomaly.source_details.cloud_watch_metrics[0].metric_data_summary.timestamp_metric_value_pair_list[0].timestamp #=> Time
|
533
650
|
# resp.reactive_anomaly.source_details.cloud_watch_metrics[0].metric_data_summary.timestamp_metric_value_pair_list[0].metric_value #=> Float
|
534
651
|
# resp.reactive_anomaly.source_details.cloud_watch_metrics[0].metric_data_summary.status_code #=> String, one of "Complete", "InternalError", "PartialData"
|
652
|
+
# resp.reactive_anomaly.source_details.performance_insights_metrics #=> Array
|
653
|
+
# resp.reactive_anomaly.source_details.performance_insights_metrics[0].metric_display_name #=> String
|
654
|
+
# resp.reactive_anomaly.source_details.performance_insights_metrics[0].unit #=> String
|
655
|
+
# resp.reactive_anomaly.source_details.performance_insights_metrics[0].metric_query.metric #=> String
|
656
|
+
# resp.reactive_anomaly.source_details.performance_insights_metrics[0].metric_query.group_by.group #=> String
|
657
|
+
# resp.reactive_anomaly.source_details.performance_insights_metrics[0].metric_query.group_by.dimensions #=> Array
|
658
|
+
# resp.reactive_anomaly.source_details.performance_insights_metrics[0].metric_query.group_by.dimensions[0] #=> String
|
659
|
+
# resp.reactive_anomaly.source_details.performance_insights_metrics[0].metric_query.group_by.limit #=> Integer
|
660
|
+
# resp.reactive_anomaly.source_details.performance_insights_metrics[0].metric_query.filter #=> Hash
|
661
|
+
# resp.reactive_anomaly.source_details.performance_insights_metrics[0].metric_query.filter["PerformanceInsightsMetricFilterKey"] #=> String
|
662
|
+
# resp.reactive_anomaly.source_details.performance_insights_metrics[0].reference_data #=> Array
|
663
|
+
# resp.reactive_anomaly.source_details.performance_insights_metrics[0].reference_data[0].name #=> String
|
664
|
+
# resp.reactive_anomaly.source_details.performance_insights_metrics[0].reference_data[0].comparison_values.reference_scalar.value #=> Float
|
665
|
+
# resp.reactive_anomaly.source_details.performance_insights_metrics[0].reference_data[0].comparison_values.reference_metric.metric_query.metric #=> String
|
666
|
+
# resp.reactive_anomaly.source_details.performance_insights_metrics[0].reference_data[0].comparison_values.reference_metric.metric_query.group_by.group #=> String
|
667
|
+
# resp.reactive_anomaly.source_details.performance_insights_metrics[0].reference_data[0].comparison_values.reference_metric.metric_query.group_by.dimensions #=> Array
|
668
|
+
# resp.reactive_anomaly.source_details.performance_insights_metrics[0].reference_data[0].comparison_values.reference_metric.metric_query.group_by.dimensions[0] #=> String
|
669
|
+
# resp.reactive_anomaly.source_details.performance_insights_metrics[0].reference_data[0].comparison_values.reference_metric.metric_query.group_by.limit #=> Integer
|
670
|
+
# resp.reactive_anomaly.source_details.performance_insights_metrics[0].reference_data[0].comparison_values.reference_metric.metric_query.filter #=> Hash
|
671
|
+
# resp.reactive_anomaly.source_details.performance_insights_metrics[0].reference_data[0].comparison_values.reference_metric.metric_query.filter["PerformanceInsightsMetricFilterKey"] #=> String
|
672
|
+
# resp.reactive_anomaly.source_details.performance_insights_metrics[0].stats_at_anomaly #=> Array
|
673
|
+
# resp.reactive_anomaly.source_details.performance_insights_metrics[0].stats_at_anomaly[0].type #=> String
|
674
|
+
# resp.reactive_anomaly.source_details.performance_insights_metrics[0].stats_at_anomaly[0].value #=> Float
|
675
|
+
# resp.reactive_anomaly.source_details.performance_insights_metrics[0].stats_at_baseline #=> Array
|
676
|
+
# resp.reactive_anomaly.source_details.performance_insights_metrics[0].stats_at_baseline[0].type #=> String
|
677
|
+
# resp.reactive_anomaly.source_details.performance_insights_metrics[0].stats_at_baseline[0].value #=> Float
|
535
678
|
# resp.reactive_anomaly.associated_insight_id #=> String
|
536
679
|
# resp.reactive_anomaly.resource_collection.cloud_formation.stack_names #=> Array
|
537
680
|
# resp.reactive_anomaly.resource_collection.cloud_formation.stack_names[0] #=> String
|
681
|
+
# resp.reactive_anomaly.resource_collection.tags #=> Array
|
682
|
+
# resp.reactive_anomaly.resource_collection.tags[0].app_boundary_key #=> String
|
683
|
+
# resp.reactive_anomaly.resource_collection.tags[0].tag_values #=> Array
|
684
|
+
# resp.reactive_anomaly.resource_collection.tags[0].tag_values[0] #=> String
|
685
|
+
# resp.reactive_anomaly.type #=> String, one of "CAUSAL", "CONTEXTUAL"
|
686
|
+
# resp.reactive_anomaly.name #=> String
|
687
|
+
# resp.reactive_anomaly.description #=> String
|
688
|
+
# resp.reactive_anomaly.causal_anomaly_id #=> String
|
689
|
+
# resp.reactive_anomaly.anomaly_resources #=> Array
|
690
|
+
# resp.reactive_anomaly.anomaly_resources[0].name #=> String
|
691
|
+
# resp.reactive_anomaly.anomaly_resources[0].type #=> String
|
538
692
|
#
|
539
693
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeAnomaly AWS API Documentation
|
540
694
|
#
|
@@ -545,6 +699,29 @@ module Aws::DevOpsGuru
|
|
545
699
|
req.send_request(options)
|
546
700
|
end
|
547
701
|
|
702
|
+
# Returns the integration status of services that are integrated with
|
703
|
+
# DevOps Guru as Consumer via EventBridge. The one service that can be
|
704
|
+
# integrated with DevOps Guru is Amazon CodeGuru Profiler, which can
|
705
|
+
# produce proactive recommendations which can be stored and viewed in
|
706
|
+
# DevOps Guru.
|
707
|
+
#
|
708
|
+
# @return [Types::DescribeEventSourcesConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
709
|
+
#
|
710
|
+
# * {Types::DescribeEventSourcesConfigResponse#event_sources #event_sources} => Types::EventSourcesConfig
|
711
|
+
#
|
712
|
+
# @example Response structure
|
713
|
+
#
|
714
|
+
# resp.event_sources.amazon_code_guru_profiler.status #=> String, one of "ENABLED", "DISABLED"
|
715
|
+
#
|
716
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeEventSourcesConfig AWS API Documentation
|
717
|
+
#
|
718
|
+
# @overload describe_event_sources_config(params = {})
|
719
|
+
# @param [Hash] params ({})
|
720
|
+
def describe_event_sources_config(params = {}, options = {})
|
721
|
+
req = build_request(:describe_event_sources_config, params)
|
722
|
+
req.send_request(options)
|
723
|
+
end
|
724
|
+
|
548
725
|
# Returns the most recent feedback submitted in the current Amazon Web
|
549
726
|
# Services account and Region.
|
550
727
|
#
|
@@ -607,7 +784,12 @@ module Aws::DevOpsGuru
|
|
607
784
|
# resp.proactive_insight.prediction_time_range.end_time #=> Time
|
608
785
|
# resp.proactive_insight.resource_collection.cloud_formation.stack_names #=> Array
|
609
786
|
# resp.proactive_insight.resource_collection.cloud_formation.stack_names[0] #=> String
|
787
|
+
# resp.proactive_insight.resource_collection.tags #=> Array
|
788
|
+
# resp.proactive_insight.resource_collection.tags[0].app_boundary_key #=> String
|
789
|
+
# resp.proactive_insight.resource_collection.tags[0].tag_values #=> Array
|
790
|
+
# resp.proactive_insight.resource_collection.tags[0].tag_values[0] #=> String
|
610
791
|
# resp.proactive_insight.ssm_ops_item_id #=> String
|
792
|
+
# resp.proactive_insight.description #=> String
|
611
793
|
# resp.reactive_insight.id #=> String
|
612
794
|
# resp.reactive_insight.name #=> String
|
613
795
|
# resp.reactive_insight.severity #=> String, one of "LOW", "MEDIUM", "HIGH"
|
@@ -616,7 +798,12 @@ module Aws::DevOpsGuru
|
|
616
798
|
# resp.reactive_insight.insight_time_range.end_time #=> Time
|
617
799
|
# resp.reactive_insight.resource_collection.cloud_formation.stack_names #=> Array
|
618
800
|
# resp.reactive_insight.resource_collection.cloud_formation.stack_names[0] #=> String
|
801
|
+
# resp.reactive_insight.resource_collection.tags #=> Array
|
802
|
+
# resp.reactive_insight.resource_collection.tags[0].app_boundary_key #=> String
|
803
|
+
# resp.reactive_insight.resource_collection.tags[0].tag_values #=> Array
|
804
|
+
# resp.reactive_insight.resource_collection.tags[0].tag_values[0] #=> String
|
619
805
|
# resp.reactive_insight.ssm_ops_item_id #=> String
|
806
|
+
# resp.reactive_insight.description #=> String
|
620
807
|
#
|
621
808
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeInsight AWS API Documentation
|
622
809
|
#
|
@@ -721,12 +908,13 @@ module Aws::DevOpsGuru
|
|
721
908
|
#
|
722
909
|
# @option params [required, String] :organization_resource_collection_type
|
723
910
|
# An Amazon Web Services resource collection type. This type specifies
|
724
|
-
# how analyzed Amazon Web Services resources are defined. The
|
725
|
-
# of Amazon Web Services resource
|
726
|
-
# Services CloudFormation stacks
|
727
|
-
#
|
728
|
-
#
|
729
|
-
# stacks
|
911
|
+
# how analyzed Amazon Web Services resources are defined. The two types
|
912
|
+
# of Amazon Web Services resource collections supported are Amazon Web
|
913
|
+
# Services CloudFormation stacks and Amazon Web Services resources that
|
914
|
+
# contain the same Amazon Web Services tag. DevOps Guru can be
|
915
|
+
# configured to analyze the Amazon Web Services resources that are
|
916
|
+
# defined in the stacks or that are tagged using the same tag *key*. You
|
917
|
+
# can specify up to 500 Amazon Web Services CloudFormation stacks.
|
730
918
|
#
|
731
919
|
# @option params [Array<String>] :account_ids
|
732
920
|
# The ID of the Amazon Web Services account.
|
@@ -749,13 +937,14 @@ module Aws::DevOpsGuru
|
|
749
937
|
# * {Types::DescribeOrganizationResourceCollectionHealthResponse#service #service} => Array<Types::ServiceHealth>
|
750
938
|
# * {Types::DescribeOrganizationResourceCollectionHealthResponse#account #account} => Array<Types::AccountHealth>
|
751
939
|
# * {Types::DescribeOrganizationResourceCollectionHealthResponse#next_token #next_token} => String
|
940
|
+
# * {Types::DescribeOrganizationResourceCollectionHealthResponse#tags #tags} => Array<Types::TagHealth>
|
752
941
|
#
|
753
942
|
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
754
943
|
#
|
755
944
|
# @example Request syntax with placeholder values
|
756
945
|
#
|
757
946
|
# resp = client.describe_organization_resource_collection_health({
|
758
|
-
# organization_resource_collection_type: "AWS_CLOUD_FORMATION", # required, accepts AWS_CLOUD_FORMATION, AWS_SERVICE, AWS_ACCOUNT
|
947
|
+
# organization_resource_collection_type: "AWS_CLOUD_FORMATION", # required, accepts AWS_CLOUD_FORMATION, AWS_SERVICE, AWS_ACCOUNT, AWS_TAGS
|
759
948
|
# account_ids: ["AwsAccountId"],
|
760
949
|
# organizational_unit_ids: ["OrganizationalUnitId"],
|
761
950
|
# next_token: "UuidNextToken",
|
@@ -769,15 +958,24 @@ module Aws::DevOpsGuru
|
|
769
958
|
# resp.cloud_formation[0].insight.open_proactive_insights #=> Integer
|
770
959
|
# resp.cloud_formation[0].insight.open_reactive_insights #=> Integer
|
771
960
|
# resp.cloud_formation[0].insight.mean_time_to_recover_in_milliseconds #=> Integer
|
961
|
+
# resp.cloud_formation[0].analyzed_resource_count #=> Integer
|
772
962
|
# resp.service #=> Array
|
773
963
|
# resp.service[0].service_name #=> String, one of "API_GATEWAY", "APPLICATION_ELB", "AUTO_SCALING_GROUP", "CLOUD_FRONT", "DYNAMO_DB", "EC2", "ECS", "EKS", "ELASTIC_BEANSTALK", "ELASTI_CACHE", "ELB", "ES", "KINESIS", "LAMBDA", "NAT_GATEWAY", "NETWORK_ELB", "RDS", "REDSHIFT", "ROUTE_53", "S3", "SAGE_MAKER", "SNS", "SQS", "STEP_FUNCTIONS", "SWF"
|
774
964
|
# resp.service[0].insight.open_proactive_insights #=> Integer
|
775
965
|
# resp.service[0].insight.open_reactive_insights #=> Integer
|
966
|
+
# resp.service[0].analyzed_resource_count #=> Integer
|
776
967
|
# resp.account #=> Array
|
777
968
|
# resp.account[0].account_id #=> String
|
778
969
|
# resp.account[0].insight.open_proactive_insights #=> Integer
|
779
970
|
# resp.account[0].insight.open_reactive_insights #=> Integer
|
780
971
|
# resp.next_token #=> String
|
972
|
+
# resp.tags #=> Array
|
973
|
+
# resp.tags[0].app_boundary_key #=> String
|
974
|
+
# resp.tags[0].tag_value #=> String
|
975
|
+
# resp.tags[0].insight.open_proactive_insights #=> Integer
|
976
|
+
# resp.tags[0].insight.open_reactive_insights #=> Integer
|
977
|
+
# resp.tags[0].insight.mean_time_to_recover_in_milliseconds #=> Integer
|
978
|
+
# resp.tags[0].analyzed_resource_count #=> Integer
|
781
979
|
#
|
782
980
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeOrganizationResourceCollectionHealth AWS API Documentation
|
783
981
|
#
|
@@ -791,20 +989,23 @@ module Aws::DevOpsGuru
|
|
791
989
|
# Returns the number of open proactive insights, open reactive insights,
|
792
990
|
# and the Mean Time to Recover (MTTR) for all closed insights in
|
793
991
|
# resource collections in your account. You specify the type of Amazon
|
794
|
-
# Web Services resources collection. The
|
795
|
-
# resource
|
796
|
-
# stacks
|
797
|
-
#
|
992
|
+
# Web Services resources collection. The two types of Amazon Web
|
993
|
+
# Services resource collections supported are Amazon Web Services
|
994
|
+
# CloudFormation stacks and Amazon Web Services resources that contain
|
995
|
+
# the same Amazon Web Services tag. DevOps Guru can be configured to
|
996
|
+
# analyze the Amazon Web Services resources that are defined in the
|
997
|
+
# stacks or that are tagged using the same tag *key*. You can specify up
|
798
998
|
# to 500 Amazon Web Services CloudFormation stacks.
|
799
999
|
#
|
800
1000
|
# @option params [required, String] :resource_collection_type
|
801
1001
|
# An Amazon Web Services resource collection type. This type specifies
|
802
|
-
# how analyzed Amazon Web Services resources are defined. The
|
803
|
-
# of Amazon Web Services resource
|
804
|
-
# Services CloudFormation stacks
|
805
|
-
#
|
806
|
-
#
|
807
|
-
# stacks
|
1002
|
+
# how analyzed Amazon Web Services resources are defined. The two types
|
1003
|
+
# of Amazon Web Services resource collections supported are Amazon Web
|
1004
|
+
# Services CloudFormation stacks and Amazon Web Services resources that
|
1005
|
+
# contain the same Amazon Web Services tag. DevOps Guru can be
|
1006
|
+
# configured to analyze the Amazon Web Services resources that are
|
1007
|
+
# defined in the stacks or that are tagged using the same tag *key*. You
|
1008
|
+
# can specify up to 500 Amazon Web Services CloudFormation stacks.
|
808
1009
|
#
|
809
1010
|
# @option params [String] :next_token
|
810
1011
|
# The pagination token to use to retrieve the next page of results for
|
@@ -815,13 +1016,14 @@ module Aws::DevOpsGuru
|
|
815
1016
|
# * {Types::DescribeResourceCollectionHealthResponse#cloud_formation #cloud_formation} => Array<Types::CloudFormationHealth>
|
816
1017
|
# * {Types::DescribeResourceCollectionHealthResponse#service #service} => Array<Types::ServiceHealth>
|
817
1018
|
# * {Types::DescribeResourceCollectionHealthResponse#next_token #next_token} => String
|
1019
|
+
# * {Types::DescribeResourceCollectionHealthResponse#tags #tags} => Array<Types::TagHealth>
|
818
1020
|
#
|
819
1021
|
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
820
1022
|
#
|
821
1023
|
# @example Request syntax with placeholder values
|
822
1024
|
#
|
823
1025
|
# resp = client.describe_resource_collection_health({
|
824
|
-
# resource_collection_type: "AWS_CLOUD_FORMATION", # required, accepts AWS_CLOUD_FORMATION, AWS_SERVICE
|
1026
|
+
# resource_collection_type: "AWS_CLOUD_FORMATION", # required, accepts AWS_CLOUD_FORMATION, AWS_SERVICE, AWS_TAGS
|
825
1027
|
# next_token: "UuidNextToken",
|
826
1028
|
# })
|
827
1029
|
#
|
@@ -832,11 +1034,20 @@ module Aws::DevOpsGuru
|
|
832
1034
|
# resp.cloud_formation[0].insight.open_proactive_insights #=> Integer
|
833
1035
|
# resp.cloud_formation[0].insight.open_reactive_insights #=> Integer
|
834
1036
|
# resp.cloud_formation[0].insight.mean_time_to_recover_in_milliseconds #=> Integer
|
1037
|
+
# resp.cloud_formation[0].analyzed_resource_count #=> Integer
|
835
1038
|
# resp.service #=> Array
|
836
1039
|
# resp.service[0].service_name #=> String, one of "API_GATEWAY", "APPLICATION_ELB", "AUTO_SCALING_GROUP", "CLOUD_FRONT", "DYNAMO_DB", "EC2", "ECS", "EKS", "ELASTIC_BEANSTALK", "ELASTI_CACHE", "ELB", "ES", "KINESIS", "LAMBDA", "NAT_GATEWAY", "NETWORK_ELB", "RDS", "REDSHIFT", "ROUTE_53", "S3", "SAGE_MAKER", "SNS", "SQS", "STEP_FUNCTIONS", "SWF"
|
837
1040
|
# resp.service[0].insight.open_proactive_insights #=> Integer
|
838
1041
|
# resp.service[0].insight.open_reactive_insights #=> Integer
|
1042
|
+
# resp.service[0].analyzed_resource_count #=> Integer
|
839
1043
|
# resp.next_token #=> String
|
1044
|
+
# resp.tags #=> Array
|
1045
|
+
# resp.tags[0].app_boundary_key #=> String
|
1046
|
+
# resp.tags[0].tag_value #=> String
|
1047
|
+
# resp.tags[0].insight.open_proactive_insights #=> Integer
|
1048
|
+
# resp.tags[0].insight.open_reactive_insights #=> Integer
|
1049
|
+
# resp.tags[0].insight.mean_time_to_recover_in_milliseconds #=> Integer
|
1050
|
+
# resp.tags[0].analyzed_resource_count #=> Integer
|
840
1051
|
#
|
841
1052
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeResourceCollectionHealth AWS API Documentation
|
842
1053
|
#
|
@@ -859,6 +1070,10 @@ module Aws::DevOpsGuru
|
|
859
1070
|
# @example Response structure
|
860
1071
|
#
|
861
1072
|
# resp.service_integration.ops_center.opt_in_status #=> String, one of "ENABLED", "DISABLED"
|
1073
|
+
# resp.service_integration.logs_anomaly_detection.opt_in_status #=> String, one of "ENABLED", "DISABLED"
|
1074
|
+
# resp.service_integration.kms_server_side_encryption.kms_key_id #=> String
|
1075
|
+
# resp.service_integration.kms_server_side_encryption.opt_in_status #=> String, one of "ENABLED", "DISABLED"
|
1076
|
+
# resp.service_integration.kms_server_side_encryption.type #=> String, one of "CUSTOMER_MANAGED_KEY", "AWS_OWNED_KMS_KEY"
|
862
1077
|
#
|
863
1078
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeServiceIntegration AWS API Documentation
|
864
1079
|
#
|
@@ -904,6 +1119,10 @@ module Aws::DevOpsGuru
|
|
904
1119
|
#
|
905
1120
|
# resp.resource_collection.cloud_formation.stack_names #=> Array
|
906
1121
|
# resp.resource_collection.cloud_formation.stack_names[0] #=> String
|
1122
|
+
# resp.resource_collection.tags #=> Array
|
1123
|
+
# resp.resource_collection.tags[0].app_boundary_key #=> String
|
1124
|
+
# resp.resource_collection.tags[0].tag_values #=> Array
|
1125
|
+
# resp.resource_collection.tags[0].tag_values[0] #=> String
|
907
1126
|
# resp.status #=> String, one of "ONGOING", "COMPLETED"
|
908
1127
|
# resp.costs #=> Array
|
909
1128
|
# resp.costs[0].type #=> String
|
@@ -926,11 +1145,13 @@ module Aws::DevOpsGuru
|
|
926
1145
|
end
|
927
1146
|
|
928
1147
|
# Returns lists Amazon Web Services resources that are of the specified
|
929
|
-
# resource collection type. The
|
930
|
-
#
|
931
|
-
#
|
932
|
-
#
|
933
|
-
#
|
1148
|
+
# resource collection type. The two types of Amazon Web Services
|
1149
|
+
# resource collections supported are Amazon Web Services CloudFormation
|
1150
|
+
# stacks and Amazon Web Services resources that contain the same Amazon
|
1151
|
+
# Web Services tag. DevOps Guru can be configured to analyze the Amazon
|
1152
|
+
# Web Services resources that are defined in the stacks or that are
|
1153
|
+
# tagged using the same tag *key*. You can specify up to 500 Amazon Web
|
1154
|
+
# Services CloudFormation stacks.
|
934
1155
|
#
|
935
1156
|
# @option params [required, String] :resource_collection_type
|
936
1157
|
# The type of Amazon Web Services resource collections to return. The
|
@@ -951,7 +1172,7 @@ module Aws::DevOpsGuru
|
|
951
1172
|
# @example Request syntax with placeholder values
|
952
1173
|
#
|
953
1174
|
# resp = client.get_resource_collection({
|
954
|
-
# resource_collection_type: "AWS_CLOUD_FORMATION", # required, accepts AWS_CLOUD_FORMATION, AWS_SERVICE
|
1175
|
+
# resource_collection_type: "AWS_CLOUD_FORMATION", # required, accepts AWS_CLOUD_FORMATION, AWS_SERVICE, AWS_TAGS
|
955
1176
|
# next_token: "UuidNextToken",
|
956
1177
|
# })
|
957
1178
|
#
|
@@ -959,6 +1180,10 @@ module Aws::DevOpsGuru
|
|
959
1180
|
#
|
960
1181
|
# resp.resource_collection.cloud_formation.stack_names #=> Array
|
961
1182
|
# resp.resource_collection.cloud_formation.stack_names[0] #=> String
|
1183
|
+
# resp.resource_collection.tags #=> Array
|
1184
|
+
# resp.resource_collection.tags[0].app_boundary_key #=> String
|
1185
|
+
# resp.resource_collection.tags[0].tag_values #=> Array
|
1186
|
+
# resp.resource_collection.tags[0].tag_values[0] #=> String
|
962
1187
|
# resp.next_token #=> String
|
963
1188
|
#
|
964
1189
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/GetResourceCollection AWS API Documentation
|
@@ -992,6 +1217,9 @@ module Aws::DevOpsGuru
|
|
992
1217
|
# @option params [String] :account_id
|
993
1218
|
# The ID of the Amazon Web Services account.
|
994
1219
|
#
|
1220
|
+
# @option params [Types::ListAnomaliesForInsightFilters] :filters
|
1221
|
+
# Specifies one or more service names that are used to list anomalies.
|
1222
|
+
#
|
995
1223
|
# @return [Types::ListAnomaliesForInsightResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
996
1224
|
#
|
997
1225
|
# * {Types::ListAnomaliesForInsightResponse#proactive_anomalies #proactive_anomalies} => Array<Types::ProactiveAnomalySummary>
|
@@ -1011,6 +1239,11 @@ module Aws::DevOpsGuru
|
|
1011
1239
|
# max_results: 1,
|
1012
1240
|
# next_token: "UuidNextToken",
|
1013
1241
|
# account_id: "AwsAccountId",
|
1242
|
+
# filters: {
|
1243
|
+
# service_collection: {
|
1244
|
+
# service_names: ["API_GATEWAY"], # accepts API_GATEWAY, APPLICATION_ELB, AUTO_SCALING_GROUP, CLOUD_FRONT, DYNAMO_DB, EC2, ECS, EKS, ELASTIC_BEANSTALK, ELASTI_CACHE, ELB, ES, KINESIS, LAMBDA, NAT_GATEWAY, NETWORK_ELB, RDS, REDSHIFT, ROUTE_53, S3, SAGE_MAKER, SNS, SQS, STEP_FUNCTIONS, SWF
|
1245
|
+
# },
|
1246
|
+
# },
|
1014
1247
|
# })
|
1015
1248
|
#
|
1016
1249
|
# @example Response structure
|
@@ -1039,10 +1272,47 @@ module Aws::DevOpsGuru
|
|
1039
1272
|
# resp.proactive_anomalies[0].source_details.cloud_watch_metrics[0].metric_data_summary.timestamp_metric_value_pair_list[0].timestamp #=> Time
|
1040
1273
|
# resp.proactive_anomalies[0].source_details.cloud_watch_metrics[0].metric_data_summary.timestamp_metric_value_pair_list[0].metric_value #=> Float
|
1041
1274
|
# resp.proactive_anomalies[0].source_details.cloud_watch_metrics[0].metric_data_summary.status_code #=> String, one of "Complete", "InternalError", "PartialData"
|
1275
|
+
# resp.proactive_anomalies[0].source_details.performance_insights_metrics #=> Array
|
1276
|
+
# resp.proactive_anomalies[0].source_details.performance_insights_metrics[0].metric_display_name #=> String
|
1277
|
+
# resp.proactive_anomalies[0].source_details.performance_insights_metrics[0].unit #=> String
|
1278
|
+
# resp.proactive_anomalies[0].source_details.performance_insights_metrics[0].metric_query.metric #=> String
|
1279
|
+
# resp.proactive_anomalies[0].source_details.performance_insights_metrics[0].metric_query.group_by.group #=> String
|
1280
|
+
# resp.proactive_anomalies[0].source_details.performance_insights_metrics[0].metric_query.group_by.dimensions #=> Array
|
1281
|
+
# resp.proactive_anomalies[0].source_details.performance_insights_metrics[0].metric_query.group_by.dimensions[0] #=> String
|
1282
|
+
# resp.proactive_anomalies[0].source_details.performance_insights_metrics[0].metric_query.group_by.limit #=> Integer
|
1283
|
+
# resp.proactive_anomalies[0].source_details.performance_insights_metrics[0].metric_query.filter #=> Hash
|
1284
|
+
# resp.proactive_anomalies[0].source_details.performance_insights_metrics[0].metric_query.filter["PerformanceInsightsMetricFilterKey"] #=> String
|
1285
|
+
# resp.proactive_anomalies[0].source_details.performance_insights_metrics[0].reference_data #=> Array
|
1286
|
+
# resp.proactive_anomalies[0].source_details.performance_insights_metrics[0].reference_data[0].name #=> String
|
1287
|
+
# resp.proactive_anomalies[0].source_details.performance_insights_metrics[0].reference_data[0].comparison_values.reference_scalar.value #=> Float
|
1288
|
+
# resp.proactive_anomalies[0].source_details.performance_insights_metrics[0].reference_data[0].comparison_values.reference_metric.metric_query.metric #=> String
|
1289
|
+
# resp.proactive_anomalies[0].source_details.performance_insights_metrics[0].reference_data[0].comparison_values.reference_metric.metric_query.group_by.group #=> String
|
1290
|
+
# resp.proactive_anomalies[0].source_details.performance_insights_metrics[0].reference_data[0].comparison_values.reference_metric.metric_query.group_by.dimensions #=> Array
|
1291
|
+
# resp.proactive_anomalies[0].source_details.performance_insights_metrics[0].reference_data[0].comparison_values.reference_metric.metric_query.group_by.dimensions[0] #=> String
|
1292
|
+
# resp.proactive_anomalies[0].source_details.performance_insights_metrics[0].reference_data[0].comparison_values.reference_metric.metric_query.group_by.limit #=> Integer
|
1293
|
+
# resp.proactive_anomalies[0].source_details.performance_insights_metrics[0].reference_data[0].comparison_values.reference_metric.metric_query.filter #=> Hash
|
1294
|
+
# resp.proactive_anomalies[0].source_details.performance_insights_metrics[0].reference_data[0].comparison_values.reference_metric.metric_query.filter["PerformanceInsightsMetricFilterKey"] #=> String
|
1295
|
+
# resp.proactive_anomalies[0].source_details.performance_insights_metrics[0].stats_at_anomaly #=> Array
|
1296
|
+
# resp.proactive_anomalies[0].source_details.performance_insights_metrics[0].stats_at_anomaly[0].type #=> String
|
1297
|
+
# resp.proactive_anomalies[0].source_details.performance_insights_metrics[0].stats_at_anomaly[0].value #=> Float
|
1298
|
+
# resp.proactive_anomalies[0].source_details.performance_insights_metrics[0].stats_at_baseline #=> Array
|
1299
|
+
# resp.proactive_anomalies[0].source_details.performance_insights_metrics[0].stats_at_baseline[0].type #=> String
|
1300
|
+
# resp.proactive_anomalies[0].source_details.performance_insights_metrics[0].stats_at_baseline[0].value #=> Float
|
1042
1301
|
# resp.proactive_anomalies[0].associated_insight_id #=> String
|
1043
1302
|
# resp.proactive_anomalies[0].resource_collection.cloud_formation.stack_names #=> Array
|
1044
1303
|
# resp.proactive_anomalies[0].resource_collection.cloud_formation.stack_names[0] #=> String
|
1304
|
+
# resp.proactive_anomalies[0].resource_collection.tags #=> Array
|
1305
|
+
# resp.proactive_anomalies[0].resource_collection.tags[0].app_boundary_key #=> String
|
1306
|
+
# resp.proactive_anomalies[0].resource_collection.tags[0].tag_values #=> Array
|
1307
|
+
# resp.proactive_anomalies[0].resource_collection.tags[0].tag_values[0] #=> String
|
1045
1308
|
# resp.proactive_anomalies[0].limit #=> Float
|
1309
|
+
# resp.proactive_anomalies[0].source_metadata.source #=> String
|
1310
|
+
# resp.proactive_anomalies[0].source_metadata.source_resource_name #=> String
|
1311
|
+
# resp.proactive_anomalies[0].source_metadata.source_resource_type #=> String
|
1312
|
+
# resp.proactive_anomalies[0].anomaly_resources #=> Array
|
1313
|
+
# resp.proactive_anomalies[0].anomaly_resources[0].name #=> String
|
1314
|
+
# resp.proactive_anomalies[0].anomaly_resources[0].type #=> String
|
1315
|
+
# resp.proactive_anomalies[0].description #=> String
|
1046
1316
|
# resp.reactive_anomalies #=> Array
|
1047
1317
|
# resp.reactive_anomalies[0].id #=> String
|
1048
1318
|
# resp.reactive_anomalies[0].severity #=> String, one of "LOW", "MEDIUM", "HIGH"
|
@@ -1064,9 +1334,46 @@ module Aws::DevOpsGuru
|
|
1064
1334
|
# resp.reactive_anomalies[0].source_details.cloud_watch_metrics[0].metric_data_summary.timestamp_metric_value_pair_list[0].timestamp #=> Time
|
1065
1335
|
# resp.reactive_anomalies[0].source_details.cloud_watch_metrics[0].metric_data_summary.timestamp_metric_value_pair_list[0].metric_value #=> Float
|
1066
1336
|
# resp.reactive_anomalies[0].source_details.cloud_watch_metrics[0].metric_data_summary.status_code #=> String, one of "Complete", "InternalError", "PartialData"
|
1337
|
+
# resp.reactive_anomalies[0].source_details.performance_insights_metrics #=> Array
|
1338
|
+
# resp.reactive_anomalies[0].source_details.performance_insights_metrics[0].metric_display_name #=> String
|
1339
|
+
# resp.reactive_anomalies[0].source_details.performance_insights_metrics[0].unit #=> String
|
1340
|
+
# resp.reactive_anomalies[0].source_details.performance_insights_metrics[0].metric_query.metric #=> String
|
1341
|
+
# resp.reactive_anomalies[0].source_details.performance_insights_metrics[0].metric_query.group_by.group #=> String
|
1342
|
+
# resp.reactive_anomalies[0].source_details.performance_insights_metrics[0].metric_query.group_by.dimensions #=> Array
|
1343
|
+
# resp.reactive_anomalies[0].source_details.performance_insights_metrics[0].metric_query.group_by.dimensions[0] #=> String
|
1344
|
+
# resp.reactive_anomalies[0].source_details.performance_insights_metrics[0].metric_query.group_by.limit #=> Integer
|
1345
|
+
# resp.reactive_anomalies[0].source_details.performance_insights_metrics[0].metric_query.filter #=> Hash
|
1346
|
+
# resp.reactive_anomalies[0].source_details.performance_insights_metrics[0].metric_query.filter["PerformanceInsightsMetricFilterKey"] #=> String
|
1347
|
+
# resp.reactive_anomalies[0].source_details.performance_insights_metrics[0].reference_data #=> Array
|
1348
|
+
# resp.reactive_anomalies[0].source_details.performance_insights_metrics[0].reference_data[0].name #=> String
|
1349
|
+
# resp.reactive_anomalies[0].source_details.performance_insights_metrics[0].reference_data[0].comparison_values.reference_scalar.value #=> Float
|
1350
|
+
# resp.reactive_anomalies[0].source_details.performance_insights_metrics[0].reference_data[0].comparison_values.reference_metric.metric_query.metric #=> String
|
1351
|
+
# resp.reactive_anomalies[0].source_details.performance_insights_metrics[0].reference_data[0].comparison_values.reference_metric.metric_query.group_by.group #=> String
|
1352
|
+
# resp.reactive_anomalies[0].source_details.performance_insights_metrics[0].reference_data[0].comparison_values.reference_metric.metric_query.group_by.dimensions #=> Array
|
1353
|
+
# resp.reactive_anomalies[0].source_details.performance_insights_metrics[0].reference_data[0].comparison_values.reference_metric.metric_query.group_by.dimensions[0] #=> String
|
1354
|
+
# resp.reactive_anomalies[0].source_details.performance_insights_metrics[0].reference_data[0].comparison_values.reference_metric.metric_query.group_by.limit #=> Integer
|
1355
|
+
# resp.reactive_anomalies[0].source_details.performance_insights_metrics[0].reference_data[0].comparison_values.reference_metric.metric_query.filter #=> Hash
|
1356
|
+
# resp.reactive_anomalies[0].source_details.performance_insights_metrics[0].reference_data[0].comparison_values.reference_metric.metric_query.filter["PerformanceInsightsMetricFilterKey"] #=> String
|
1357
|
+
# resp.reactive_anomalies[0].source_details.performance_insights_metrics[0].stats_at_anomaly #=> Array
|
1358
|
+
# resp.reactive_anomalies[0].source_details.performance_insights_metrics[0].stats_at_anomaly[0].type #=> String
|
1359
|
+
# resp.reactive_anomalies[0].source_details.performance_insights_metrics[0].stats_at_anomaly[0].value #=> Float
|
1360
|
+
# resp.reactive_anomalies[0].source_details.performance_insights_metrics[0].stats_at_baseline #=> Array
|
1361
|
+
# resp.reactive_anomalies[0].source_details.performance_insights_metrics[0].stats_at_baseline[0].type #=> String
|
1362
|
+
# resp.reactive_anomalies[0].source_details.performance_insights_metrics[0].stats_at_baseline[0].value #=> Float
|
1067
1363
|
# resp.reactive_anomalies[0].associated_insight_id #=> String
|
1068
1364
|
# resp.reactive_anomalies[0].resource_collection.cloud_formation.stack_names #=> Array
|
1069
1365
|
# resp.reactive_anomalies[0].resource_collection.cloud_formation.stack_names[0] #=> String
|
1366
|
+
# resp.reactive_anomalies[0].resource_collection.tags #=> Array
|
1367
|
+
# resp.reactive_anomalies[0].resource_collection.tags[0].app_boundary_key #=> String
|
1368
|
+
# resp.reactive_anomalies[0].resource_collection.tags[0].tag_values #=> Array
|
1369
|
+
# resp.reactive_anomalies[0].resource_collection.tags[0].tag_values[0] #=> String
|
1370
|
+
# resp.reactive_anomalies[0].type #=> String, one of "CAUSAL", "CONTEXTUAL"
|
1371
|
+
# resp.reactive_anomalies[0].name #=> String
|
1372
|
+
# resp.reactive_anomalies[0].description #=> String
|
1373
|
+
# resp.reactive_anomalies[0].causal_anomaly_id #=> String
|
1374
|
+
# resp.reactive_anomalies[0].anomaly_resources #=> Array
|
1375
|
+
# resp.reactive_anomalies[0].anomaly_resources[0].name #=> String
|
1376
|
+
# resp.reactive_anomalies[0].anomaly_resources[0].type #=> String
|
1070
1377
|
# resp.next_token #=> String
|
1071
1378
|
#
|
1072
1379
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListAnomaliesForInsight AWS API Documentation
|
@@ -1078,6 +1385,64 @@ module Aws::DevOpsGuru
|
|
1078
1385
|
req.send_request(options)
|
1079
1386
|
end
|
1080
1387
|
|
1388
|
+
# Returns the list of log groups that contain log anomalies.
|
1389
|
+
#
|
1390
|
+
# @option params [required, String] :insight_id
|
1391
|
+
# The ID of the insight containing the log groups.
|
1392
|
+
#
|
1393
|
+
# @option params [Integer] :max_results
|
1394
|
+
# The maximum number of results to return with a single call. To
|
1395
|
+
# retrieve the remaining results, make another call with the returned
|
1396
|
+
# `nextToken` value.
|
1397
|
+
#
|
1398
|
+
# @option params [String] :next_token
|
1399
|
+
# The pagination token to use to retrieve the next page of results for
|
1400
|
+
# this operation. If this value is null, it retrieves the first page.
|
1401
|
+
#
|
1402
|
+
# @return [Types::ListAnomalousLogGroupsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1403
|
+
#
|
1404
|
+
# * {Types::ListAnomalousLogGroupsResponse#insight_id #insight_id} => String
|
1405
|
+
# * {Types::ListAnomalousLogGroupsResponse#anomalous_log_groups #anomalous_log_groups} => Array<Types::AnomalousLogGroup>
|
1406
|
+
# * {Types::ListAnomalousLogGroupsResponse#next_token #next_token} => String
|
1407
|
+
#
|
1408
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1409
|
+
#
|
1410
|
+
# @example Request syntax with placeholder values
|
1411
|
+
#
|
1412
|
+
# resp = client.list_anomalous_log_groups({
|
1413
|
+
# insight_id: "InsightId", # required
|
1414
|
+
# max_results: 1,
|
1415
|
+
# next_token: "UuidNextToken",
|
1416
|
+
# })
|
1417
|
+
#
|
1418
|
+
# @example Response structure
|
1419
|
+
#
|
1420
|
+
# resp.insight_id #=> String
|
1421
|
+
# resp.anomalous_log_groups #=> Array
|
1422
|
+
# resp.anomalous_log_groups[0].log_group_name #=> String
|
1423
|
+
# resp.anomalous_log_groups[0].impact_start_time #=> Time
|
1424
|
+
# resp.anomalous_log_groups[0].impact_end_time #=> Time
|
1425
|
+
# resp.anomalous_log_groups[0].number_of_log_lines_scanned #=> Integer
|
1426
|
+
# resp.anomalous_log_groups[0].log_anomaly_showcases #=> Array
|
1427
|
+
# resp.anomalous_log_groups[0].log_anomaly_showcases[0].log_anomaly_classes #=> Array
|
1428
|
+
# resp.anomalous_log_groups[0].log_anomaly_showcases[0].log_anomaly_classes[0].log_stream_name #=> String
|
1429
|
+
# resp.anomalous_log_groups[0].log_anomaly_showcases[0].log_anomaly_classes[0].log_anomaly_type #=> String, one of "KEYWORD", "KEYWORD_TOKEN", "FORMAT", "HTTP_CODE", "BLOCK_FORMAT", "NUMERICAL_POINT", "NUMERICAL_NAN", "NEW_FIELD_NAME"
|
1430
|
+
# resp.anomalous_log_groups[0].log_anomaly_showcases[0].log_anomaly_classes[0].log_anomaly_token #=> String
|
1431
|
+
# resp.anomalous_log_groups[0].log_anomaly_showcases[0].log_anomaly_classes[0].log_event_id #=> String
|
1432
|
+
# resp.anomalous_log_groups[0].log_anomaly_showcases[0].log_anomaly_classes[0].explanation #=> String
|
1433
|
+
# resp.anomalous_log_groups[0].log_anomaly_showcases[0].log_anomaly_classes[0].number_of_log_lines_occurrences #=> Integer
|
1434
|
+
# resp.anomalous_log_groups[0].log_anomaly_showcases[0].log_anomaly_classes[0].log_event_timestamp #=> Time
|
1435
|
+
# resp.next_token #=> String
|
1436
|
+
#
|
1437
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListAnomalousLogGroups AWS API Documentation
|
1438
|
+
#
|
1439
|
+
# @overload list_anomalous_log_groups(params = {})
|
1440
|
+
# @param [Hash] params ({})
|
1441
|
+
def list_anomalous_log_groups(params = {}, options = {})
|
1442
|
+
req = build_request(:list_anomalous_log_groups, params)
|
1443
|
+
req.send_request(options)
|
1444
|
+
end
|
1445
|
+
|
1081
1446
|
# Returns a list of the events emitted by the resources that are
|
1082
1447
|
# evaluated by DevOps Guru. You can use filters to specify which events
|
1083
1448
|
# are returned.
|
@@ -1120,6 +1485,12 @@ module Aws::DevOpsGuru
|
|
1120
1485
|
# cloud_formation: {
|
1121
1486
|
# stack_names: ["StackName"],
|
1122
1487
|
# },
|
1488
|
+
# tags: [
|
1489
|
+
# {
|
1490
|
+
# app_boundary_key: "AppBoundaryKey", # required
|
1491
|
+
# tag_values: ["TagValue"], # required
|
1492
|
+
# },
|
1493
|
+
# ],
|
1123
1494
|
# },
|
1124
1495
|
# },
|
1125
1496
|
# max_results: 1,
|
@@ -1132,6 +1503,10 @@ module Aws::DevOpsGuru
|
|
1132
1503
|
# resp.events #=> Array
|
1133
1504
|
# resp.events[0].resource_collection.cloud_formation.stack_names #=> Array
|
1134
1505
|
# resp.events[0].resource_collection.cloud_formation.stack_names[0] #=> String
|
1506
|
+
# resp.events[0].resource_collection.tags #=> Array
|
1507
|
+
# resp.events[0].resource_collection.tags[0].app_boundary_key #=> String
|
1508
|
+
# resp.events[0].resource_collection.tags[0].tag_values #=> Array
|
1509
|
+
# resp.events[0].resource_collection.tags[0].tag_values[0] #=> String
|
1135
1510
|
# resp.events[0].id #=> String
|
1136
1511
|
# resp.events[0].time #=> Time
|
1137
1512
|
# resp.events[0].event_source #=> String
|
@@ -1217,8 +1592,14 @@ module Aws::DevOpsGuru
|
|
1217
1592
|
# resp.proactive_insights[0].prediction_time_range.end_time #=> Time
|
1218
1593
|
# resp.proactive_insights[0].resource_collection.cloud_formation.stack_names #=> Array
|
1219
1594
|
# resp.proactive_insights[0].resource_collection.cloud_formation.stack_names[0] #=> String
|
1595
|
+
# resp.proactive_insights[0].resource_collection.tags #=> Array
|
1596
|
+
# resp.proactive_insights[0].resource_collection.tags[0].app_boundary_key #=> String
|
1597
|
+
# resp.proactive_insights[0].resource_collection.tags[0].tag_values #=> Array
|
1598
|
+
# resp.proactive_insights[0].resource_collection.tags[0].tag_values[0] #=> String
|
1220
1599
|
# resp.proactive_insights[0].service_collection.service_names #=> Array
|
1221
1600
|
# resp.proactive_insights[0].service_collection.service_names[0] #=> String, one of "API_GATEWAY", "APPLICATION_ELB", "AUTO_SCALING_GROUP", "CLOUD_FRONT", "DYNAMO_DB", "EC2", "ECS", "EKS", "ELASTIC_BEANSTALK", "ELASTI_CACHE", "ELB", "ES", "KINESIS", "LAMBDA", "NAT_GATEWAY", "NETWORK_ELB", "RDS", "REDSHIFT", "ROUTE_53", "S3", "SAGE_MAKER", "SNS", "SQS", "STEP_FUNCTIONS", "SWF"
|
1601
|
+
# resp.proactive_insights[0].associated_resource_arns #=> Array
|
1602
|
+
# resp.proactive_insights[0].associated_resource_arns[0] #=> String
|
1222
1603
|
# resp.reactive_insights #=> Array
|
1223
1604
|
# resp.reactive_insights[0].id #=> String
|
1224
1605
|
# resp.reactive_insights[0].name #=> String
|
@@ -1228,8 +1609,14 @@ module Aws::DevOpsGuru
|
|
1228
1609
|
# resp.reactive_insights[0].insight_time_range.end_time #=> Time
|
1229
1610
|
# resp.reactive_insights[0].resource_collection.cloud_formation.stack_names #=> Array
|
1230
1611
|
# resp.reactive_insights[0].resource_collection.cloud_formation.stack_names[0] #=> String
|
1612
|
+
# resp.reactive_insights[0].resource_collection.tags #=> Array
|
1613
|
+
# resp.reactive_insights[0].resource_collection.tags[0].app_boundary_key #=> String
|
1614
|
+
# resp.reactive_insights[0].resource_collection.tags[0].tag_values #=> Array
|
1615
|
+
# resp.reactive_insights[0].resource_collection.tags[0].tag_values[0] #=> String
|
1231
1616
|
# resp.reactive_insights[0].service_collection.service_names #=> Array
|
1232
1617
|
# resp.reactive_insights[0].service_collection.service_names[0] #=> String, one of "API_GATEWAY", "APPLICATION_ELB", "AUTO_SCALING_GROUP", "CLOUD_FRONT", "DYNAMO_DB", "EC2", "ECS", "EKS", "ELASTIC_BEANSTALK", "ELASTI_CACHE", "ELB", "ES", "KINESIS", "LAMBDA", "NAT_GATEWAY", "NETWORK_ELB", "RDS", "REDSHIFT", "ROUTE_53", "S3", "SAGE_MAKER", "SNS", "SQS", "STEP_FUNCTIONS", "SWF"
|
1618
|
+
# resp.reactive_insights[0].associated_resource_arns #=> Array
|
1619
|
+
# resp.reactive_insights[0].associated_resource_arns[0] #=> String
|
1233
1620
|
# resp.next_token #=> String
|
1234
1621
|
#
|
1235
1622
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListInsights AWS API Documentation
|
@@ -1241,6 +1628,64 @@ module Aws::DevOpsGuru
|
|
1241
1628
|
req.send_request(options)
|
1242
1629
|
end
|
1243
1630
|
|
1631
|
+
# Returns the list of all log groups that are being monitored and tagged
|
1632
|
+
# by DevOps Guru.
|
1633
|
+
#
|
1634
|
+
# @option params [Types::ListMonitoredResourcesFilters] :filters
|
1635
|
+
# Filters to determine which monitored resources you want to retrieve.
|
1636
|
+
# You can filter by resource type or resource permission status.
|
1637
|
+
#
|
1638
|
+
# @option params [Integer] :max_results
|
1639
|
+
# The maximum number of results to return with a single call. To
|
1640
|
+
# retrieve the remaining results, make another call with the returned
|
1641
|
+
# `nextToken` value.
|
1642
|
+
#
|
1643
|
+
# @option params [String] :next_token
|
1644
|
+
# The pagination token to use to retrieve the next page of results for
|
1645
|
+
# this operation. If this value is null, it retrieves the first page.
|
1646
|
+
#
|
1647
|
+
# @return [Types::ListMonitoredResourcesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1648
|
+
#
|
1649
|
+
# * {Types::ListMonitoredResourcesResponse#monitored_resource_identifiers #monitored_resource_identifiers} => Array<Types::MonitoredResourceIdentifier>
|
1650
|
+
# * {Types::ListMonitoredResourcesResponse#next_token #next_token} => String
|
1651
|
+
#
|
1652
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1653
|
+
#
|
1654
|
+
# @example Request syntax with placeholder values
|
1655
|
+
#
|
1656
|
+
# resp = client.list_monitored_resources({
|
1657
|
+
# filters: {
|
1658
|
+
# resource_permission: "FULL_PERMISSION", # required, accepts FULL_PERMISSION, MISSING_PERMISSION
|
1659
|
+
# resource_type_filters: ["LOG_GROUPS"], # required, accepts LOG_GROUPS, CLOUDFRONT_DISTRIBUTION, DYNAMODB_TABLE, EC2_NAT_GATEWAY, ECS_CLUSTER, ECS_SERVICE, EKS_CLUSTER, ELASTIC_BEANSTALK_ENVIRONMENT, ELASTIC_LOAD_BALANCER_LOAD_BALANCER, ELASTIC_LOAD_BALANCING_V2_LOAD_BALANCER, ELASTIC_LOAD_BALANCING_V2_TARGET_GROUP, ELASTICACHE_CACHE_CLUSTER, ELASTICSEARCH_DOMAIN, KINESIS_STREAM, LAMBDA_FUNCTION, OPEN_SEARCH_SERVICE_DOMAIN, RDS_DB_INSTANCE, RDS_DB_CLUSTER, REDSHIFT_CLUSTER, ROUTE53_HOSTED_ZONE, ROUTE53_HEALTH_CHECK, S3_BUCKET, SAGEMAKER_ENDPOINT, SNS_TOPIC, SQS_QUEUE, STEP_FUNCTIONS_ACTIVITY, STEP_FUNCTIONS_STATE_MACHINE
|
1660
|
+
# },
|
1661
|
+
# max_results: 1,
|
1662
|
+
# next_token: "UuidNextToken",
|
1663
|
+
# })
|
1664
|
+
#
|
1665
|
+
# @example Response structure
|
1666
|
+
#
|
1667
|
+
# resp.monitored_resource_identifiers #=> Array
|
1668
|
+
# resp.monitored_resource_identifiers[0].monitored_resource_name #=> String
|
1669
|
+
# resp.monitored_resource_identifiers[0].type #=> String
|
1670
|
+
# resp.monitored_resource_identifiers[0].resource_permission #=> String, one of "FULL_PERMISSION", "MISSING_PERMISSION"
|
1671
|
+
# resp.monitored_resource_identifiers[0].last_updated #=> Time
|
1672
|
+
# resp.monitored_resource_identifiers[0].resource_collection.cloud_formation.stack_names #=> Array
|
1673
|
+
# resp.monitored_resource_identifiers[0].resource_collection.cloud_formation.stack_names[0] #=> String
|
1674
|
+
# resp.monitored_resource_identifiers[0].resource_collection.tags #=> Array
|
1675
|
+
# resp.monitored_resource_identifiers[0].resource_collection.tags[0].app_boundary_key #=> String
|
1676
|
+
# resp.monitored_resource_identifiers[0].resource_collection.tags[0].tag_values #=> Array
|
1677
|
+
# resp.monitored_resource_identifiers[0].resource_collection.tags[0].tag_values[0] #=> String
|
1678
|
+
# resp.next_token #=> String
|
1679
|
+
#
|
1680
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListMonitoredResources AWS API Documentation
|
1681
|
+
#
|
1682
|
+
# @overload list_monitored_resources(params = {})
|
1683
|
+
# @param [Hash] params ({})
|
1684
|
+
def list_monitored_resources(params = {}, options = {})
|
1685
|
+
req = build_request(:list_monitored_resources, params)
|
1686
|
+
req.send_request(options)
|
1687
|
+
end
|
1688
|
+
|
1244
1689
|
# Returns a list of notification channels configured for DevOps Guru.
|
1245
1690
|
# Each notification channel is used to notify you when DevOps Guru
|
1246
1691
|
# generates an insight that contains information about how to improve
|
@@ -1269,6 +1714,10 @@ module Aws::DevOpsGuru
|
|
1269
1714
|
# resp.channels #=> Array
|
1270
1715
|
# resp.channels[0].id #=> String
|
1271
1716
|
# resp.channels[0].config.sns.topic_arn #=> String
|
1717
|
+
# resp.channels[0].config.filters.severities #=> Array
|
1718
|
+
# resp.channels[0].config.filters.severities[0] #=> String, one of "LOW", "MEDIUM", "HIGH"
|
1719
|
+
# resp.channels[0].config.filters.message_types #=> Array
|
1720
|
+
# resp.channels[0].config.filters.message_types[0] #=> String, one of "NEW_INSIGHT", "CLOSED_INSIGHT", "NEW_ASSOCIATION", "SEVERITY_UPGRADED", "NEW_RECOMMENDATION"
|
1272
1721
|
# resp.next_token #=> String
|
1273
1722
|
#
|
1274
1723
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListNotificationChannels AWS API Documentation
|
@@ -1351,6 +1800,10 @@ module Aws::DevOpsGuru
|
|
1351
1800
|
# resp.proactive_insights[0].prediction_time_range.end_time #=> Time
|
1352
1801
|
# resp.proactive_insights[0].resource_collection.cloud_formation.stack_names #=> Array
|
1353
1802
|
# resp.proactive_insights[0].resource_collection.cloud_formation.stack_names[0] #=> String
|
1803
|
+
# resp.proactive_insights[0].resource_collection.tags #=> Array
|
1804
|
+
# resp.proactive_insights[0].resource_collection.tags[0].app_boundary_key #=> String
|
1805
|
+
# resp.proactive_insights[0].resource_collection.tags[0].tag_values #=> Array
|
1806
|
+
# resp.proactive_insights[0].resource_collection.tags[0].tag_values[0] #=> String
|
1354
1807
|
# resp.proactive_insights[0].service_collection.service_names #=> Array
|
1355
1808
|
# resp.proactive_insights[0].service_collection.service_names[0] #=> String, one of "API_GATEWAY", "APPLICATION_ELB", "AUTO_SCALING_GROUP", "CLOUD_FRONT", "DYNAMO_DB", "EC2", "ECS", "EKS", "ELASTIC_BEANSTALK", "ELASTI_CACHE", "ELB", "ES", "KINESIS", "LAMBDA", "NAT_GATEWAY", "NETWORK_ELB", "RDS", "REDSHIFT", "ROUTE_53", "S3", "SAGE_MAKER", "SNS", "SQS", "STEP_FUNCTIONS", "SWF"
|
1356
1809
|
# resp.reactive_insights #=> Array
|
@@ -1364,6 +1817,10 @@ module Aws::DevOpsGuru
|
|
1364
1817
|
# resp.reactive_insights[0].insight_time_range.end_time #=> Time
|
1365
1818
|
# resp.reactive_insights[0].resource_collection.cloud_formation.stack_names #=> Array
|
1366
1819
|
# resp.reactive_insights[0].resource_collection.cloud_formation.stack_names[0] #=> String
|
1820
|
+
# resp.reactive_insights[0].resource_collection.tags #=> Array
|
1821
|
+
# resp.reactive_insights[0].resource_collection.tags[0].app_boundary_key #=> String
|
1822
|
+
# resp.reactive_insights[0].resource_collection.tags[0].tag_values #=> Array
|
1823
|
+
# resp.reactive_insights[0].resource_collection.tags[0].tag_values[0] #=> String
|
1367
1824
|
# resp.reactive_insights[0].service_collection.service_names #=> Array
|
1368
1825
|
# resp.reactive_insights[0].service_collection.service_names[0] #=> String, one of "API_GATEWAY", "APPLICATION_ELB", "AUTO_SCALING_GROUP", "CLOUD_FRONT", "DYNAMO_DB", "EC2", "ECS", "EKS", "ELASTIC_BEANSTALK", "ELASTI_CACHE", "ELB", "ES", "KINESIS", "LAMBDA", "NAT_GATEWAY", "NETWORK_ELB", "RDS", "REDSHIFT", "ROUTE_53", "S3", "SAGE_MAKER", "SNS", "SQS", "STEP_FUNCTIONS", "SWF"
|
1369
1826
|
# resp.next_token #=> String
|
@@ -1430,6 +1887,8 @@ module Aws::DevOpsGuru
|
|
1430
1887
|
# resp.recommendations[0].related_anomalies[0].source_details[0].cloud_watch_metrics #=> Array
|
1431
1888
|
# resp.recommendations[0].related_anomalies[0].source_details[0].cloud_watch_metrics[0].metric_name #=> String
|
1432
1889
|
# resp.recommendations[0].related_anomalies[0].source_details[0].cloud_watch_metrics[0].namespace #=> String
|
1890
|
+
# resp.recommendations[0].related_anomalies[0].anomaly_id #=> String
|
1891
|
+
# resp.recommendations[0].category #=> String
|
1433
1892
|
# resp.next_token #=> String
|
1434
1893
|
#
|
1435
1894
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListRecommendations AWS API Documentation
|
@@ -1493,9 +1952,8 @@ module Aws::DevOpsGuru
|
|
1493
1952
|
|
1494
1953
|
# Returns a list of insights in your Amazon Web Services account. You
|
1495
1954
|
# can specify which insights are returned by their start time, one or
|
1496
|
-
# more statuses (`ONGOING
|
1497
|
-
#
|
1498
|
-
# `PROACTIVE`).
|
1955
|
+
# more statuses (`ONGOING` or `CLOSED`), one or more severities (`LOW`,
|
1956
|
+
# `MEDIUM`, and `HIGH`), and type (`REACTIVE` or `PROACTIVE`).
|
1499
1957
|
#
|
1500
1958
|
# Use the `Filters` parameter to specify status and severity search
|
1501
1959
|
# parameters. Use the `Type` parameter to specify `REACTIVE` or
|
@@ -1544,6 +2002,12 @@ module Aws::DevOpsGuru
|
|
1544
2002
|
# cloud_formation: {
|
1545
2003
|
# stack_names: ["StackName"],
|
1546
2004
|
# },
|
2005
|
+
# tags: [
|
2006
|
+
# {
|
2007
|
+
# app_boundary_key: "AppBoundaryKey", # required
|
2008
|
+
# tag_values: ["TagValue"], # required
|
2009
|
+
# },
|
2010
|
+
# ],
|
1547
2011
|
# },
|
1548
2012
|
# service_collection: {
|
1549
2013
|
# service_names: ["API_GATEWAY"], # accepts API_GATEWAY, APPLICATION_ELB, AUTO_SCALING_GROUP, CLOUD_FRONT, DYNAMO_DB, EC2, ECS, EKS, ELASTIC_BEANSTALK, ELASTI_CACHE, ELB, ES, KINESIS, LAMBDA, NAT_GATEWAY, NETWORK_ELB, RDS, REDSHIFT, ROUTE_53, S3, SAGE_MAKER, SNS, SQS, STEP_FUNCTIONS, SWF
|
@@ -1567,8 +2031,14 @@ module Aws::DevOpsGuru
|
|
1567
2031
|
# resp.proactive_insights[0].prediction_time_range.end_time #=> Time
|
1568
2032
|
# resp.proactive_insights[0].resource_collection.cloud_formation.stack_names #=> Array
|
1569
2033
|
# resp.proactive_insights[0].resource_collection.cloud_formation.stack_names[0] #=> String
|
2034
|
+
# resp.proactive_insights[0].resource_collection.tags #=> Array
|
2035
|
+
# resp.proactive_insights[0].resource_collection.tags[0].app_boundary_key #=> String
|
2036
|
+
# resp.proactive_insights[0].resource_collection.tags[0].tag_values #=> Array
|
2037
|
+
# resp.proactive_insights[0].resource_collection.tags[0].tag_values[0] #=> String
|
1570
2038
|
# resp.proactive_insights[0].service_collection.service_names #=> Array
|
1571
2039
|
# resp.proactive_insights[0].service_collection.service_names[0] #=> String, one of "API_GATEWAY", "APPLICATION_ELB", "AUTO_SCALING_GROUP", "CLOUD_FRONT", "DYNAMO_DB", "EC2", "ECS", "EKS", "ELASTIC_BEANSTALK", "ELASTI_CACHE", "ELB", "ES", "KINESIS", "LAMBDA", "NAT_GATEWAY", "NETWORK_ELB", "RDS", "REDSHIFT", "ROUTE_53", "S3", "SAGE_MAKER", "SNS", "SQS", "STEP_FUNCTIONS", "SWF"
|
2040
|
+
# resp.proactive_insights[0].associated_resource_arns #=> Array
|
2041
|
+
# resp.proactive_insights[0].associated_resource_arns[0] #=> String
|
1572
2042
|
# resp.reactive_insights #=> Array
|
1573
2043
|
# resp.reactive_insights[0].id #=> String
|
1574
2044
|
# resp.reactive_insights[0].name #=> String
|
@@ -1578,8 +2048,14 @@ module Aws::DevOpsGuru
|
|
1578
2048
|
# resp.reactive_insights[0].insight_time_range.end_time #=> Time
|
1579
2049
|
# resp.reactive_insights[0].resource_collection.cloud_formation.stack_names #=> Array
|
1580
2050
|
# resp.reactive_insights[0].resource_collection.cloud_formation.stack_names[0] #=> String
|
2051
|
+
# resp.reactive_insights[0].resource_collection.tags #=> Array
|
2052
|
+
# resp.reactive_insights[0].resource_collection.tags[0].app_boundary_key #=> String
|
2053
|
+
# resp.reactive_insights[0].resource_collection.tags[0].tag_values #=> Array
|
2054
|
+
# resp.reactive_insights[0].resource_collection.tags[0].tag_values[0] #=> String
|
1581
2055
|
# resp.reactive_insights[0].service_collection.service_names #=> Array
|
1582
2056
|
# resp.reactive_insights[0].service_collection.service_names[0] #=> String, one of "API_GATEWAY", "APPLICATION_ELB", "AUTO_SCALING_GROUP", "CLOUD_FRONT", "DYNAMO_DB", "EC2", "ECS", "EKS", "ELASTIC_BEANSTALK", "ELASTI_CACHE", "ELB", "ES", "KINESIS", "LAMBDA", "NAT_GATEWAY", "NETWORK_ELB", "RDS", "REDSHIFT", "ROUTE_53", "S3", "SAGE_MAKER", "SNS", "SQS", "STEP_FUNCTIONS", "SWF"
|
2057
|
+
# resp.reactive_insights[0].associated_resource_arns #=> Array
|
2058
|
+
# resp.reactive_insights[0].associated_resource_arns[0] #=> String
|
1583
2059
|
# resp.next_token #=> String
|
1584
2060
|
#
|
1585
2061
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/SearchInsights AWS API Documentation
|
@@ -1647,6 +2123,12 @@ module Aws::DevOpsGuru
|
|
1647
2123
|
# cloud_formation: {
|
1648
2124
|
# stack_names: ["StackName"],
|
1649
2125
|
# },
|
2126
|
+
# tags: [
|
2127
|
+
# {
|
2128
|
+
# app_boundary_key: "AppBoundaryKey", # required
|
2129
|
+
# tag_values: ["TagValue"], # required
|
2130
|
+
# },
|
2131
|
+
# ],
|
1650
2132
|
# },
|
1651
2133
|
# service_collection: {
|
1652
2134
|
# service_names: ["API_GATEWAY"], # accepts API_GATEWAY, APPLICATION_ELB, AUTO_SCALING_GROUP, CLOUD_FRONT, DYNAMO_DB, EC2, ECS, EKS, ELASTIC_BEANSTALK, ELASTI_CACHE, ELB, ES, KINESIS, LAMBDA, NAT_GATEWAY, NETWORK_ELB, RDS, REDSHIFT, ROUTE_53, S3, SAGE_MAKER, SNS, SQS, STEP_FUNCTIONS, SWF
|
@@ -1670,8 +2152,14 @@ module Aws::DevOpsGuru
|
|
1670
2152
|
# resp.proactive_insights[0].prediction_time_range.end_time #=> Time
|
1671
2153
|
# resp.proactive_insights[0].resource_collection.cloud_formation.stack_names #=> Array
|
1672
2154
|
# resp.proactive_insights[0].resource_collection.cloud_formation.stack_names[0] #=> String
|
2155
|
+
# resp.proactive_insights[0].resource_collection.tags #=> Array
|
2156
|
+
# resp.proactive_insights[0].resource_collection.tags[0].app_boundary_key #=> String
|
2157
|
+
# resp.proactive_insights[0].resource_collection.tags[0].tag_values #=> Array
|
2158
|
+
# resp.proactive_insights[0].resource_collection.tags[0].tag_values[0] #=> String
|
1673
2159
|
# resp.proactive_insights[0].service_collection.service_names #=> Array
|
1674
2160
|
# resp.proactive_insights[0].service_collection.service_names[0] #=> String, one of "API_GATEWAY", "APPLICATION_ELB", "AUTO_SCALING_GROUP", "CLOUD_FRONT", "DYNAMO_DB", "EC2", "ECS", "EKS", "ELASTIC_BEANSTALK", "ELASTI_CACHE", "ELB", "ES", "KINESIS", "LAMBDA", "NAT_GATEWAY", "NETWORK_ELB", "RDS", "REDSHIFT", "ROUTE_53", "S3", "SAGE_MAKER", "SNS", "SQS", "STEP_FUNCTIONS", "SWF"
|
2161
|
+
# resp.proactive_insights[0].associated_resource_arns #=> Array
|
2162
|
+
# resp.proactive_insights[0].associated_resource_arns[0] #=> String
|
1675
2163
|
# resp.reactive_insights #=> Array
|
1676
2164
|
# resp.reactive_insights[0].id #=> String
|
1677
2165
|
# resp.reactive_insights[0].name #=> String
|
@@ -1681,8 +2169,14 @@ module Aws::DevOpsGuru
|
|
1681
2169
|
# resp.reactive_insights[0].insight_time_range.end_time #=> Time
|
1682
2170
|
# resp.reactive_insights[0].resource_collection.cloud_formation.stack_names #=> Array
|
1683
2171
|
# resp.reactive_insights[0].resource_collection.cloud_formation.stack_names[0] #=> String
|
2172
|
+
# resp.reactive_insights[0].resource_collection.tags #=> Array
|
2173
|
+
# resp.reactive_insights[0].resource_collection.tags[0].app_boundary_key #=> String
|
2174
|
+
# resp.reactive_insights[0].resource_collection.tags[0].tag_values #=> Array
|
2175
|
+
# resp.reactive_insights[0].resource_collection.tags[0].tag_values[0] #=> String
|
1684
2176
|
# resp.reactive_insights[0].service_collection.service_names #=> Array
|
1685
2177
|
# resp.reactive_insights[0].service_collection.service_names[0] #=> String, one of "API_GATEWAY", "APPLICATION_ELB", "AUTO_SCALING_GROUP", "CLOUD_FRONT", "DYNAMO_DB", "EC2", "ECS", "EKS", "ELASTIC_BEANSTALK", "ELASTI_CACHE", "ELB", "ES", "KINESIS", "LAMBDA", "NAT_GATEWAY", "NETWORK_ELB", "RDS", "REDSHIFT", "ROUTE_53", "S3", "SAGE_MAKER", "SNS", "SQS", "STEP_FUNCTIONS", "SWF"
|
2178
|
+
# resp.reactive_insights[0].associated_resource_arns #=> Array
|
2179
|
+
# resp.reactive_insights[0].associated_resource_arns[0] #=> String
|
1686
2180
|
# resp.next_token #=> String
|
1687
2181
|
#
|
1688
2182
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/SearchOrganizationInsights AWS API Documentation
|
@@ -1716,6 +2210,12 @@ module Aws::DevOpsGuru
|
|
1716
2210
|
# cloud_formation: {
|
1717
2211
|
# stack_names: ["StackName"],
|
1718
2212
|
# },
|
2213
|
+
# tags: [
|
2214
|
+
# {
|
2215
|
+
# app_boundary_key: "AppBoundaryKey", # required
|
2216
|
+
# tag_values: ["TagValue"], # required
|
2217
|
+
# },
|
2218
|
+
# ],
|
1719
2219
|
# },
|
1720
2220
|
# client_token: "ClientToken",
|
1721
2221
|
# })
|
@@ -1729,13 +2229,44 @@ module Aws::DevOpsGuru
|
|
1729
2229
|
req.send_request(options)
|
1730
2230
|
end
|
1731
2231
|
|
1732
|
-
#
|
1733
|
-
#
|
1734
|
-
#
|
1735
|
-
#
|
1736
|
-
#
|
1737
|
-
#
|
1738
|
-
# DevOps Guru
|
2232
|
+
# Enables or disables integration with a service that can be integrated
|
2233
|
+
# with DevOps Guru. The one service that can be integrated with DevOps
|
2234
|
+
# Guru is Amazon CodeGuru Profiler, which can produce proactive
|
2235
|
+
# recommendations which can be stored and viewed in DevOps Guru.
|
2236
|
+
#
|
2237
|
+
# @option params [Types::EventSourcesConfig] :event_sources
|
2238
|
+
# Configuration information about the integration of DevOps Guru as the
|
2239
|
+
# Consumer via EventBridge with another AWS Service.
|
2240
|
+
#
|
2241
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2242
|
+
#
|
2243
|
+
# @example Request syntax with placeholder values
|
2244
|
+
#
|
2245
|
+
# resp = client.update_event_sources_config({
|
2246
|
+
# event_sources: {
|
2247
|
+
# amazon_code_guru_profiler: {
|
2248
|
+
# status: "ENABLED", # accepts ENABLED, DISABLED
|
2249
|
+
# },
|
2250
|
+
# },
|
2251
|
+
# })
|
2252
|
+
#
|
2253
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/UpdateEventSourcesConfig AWS API Documentation
|
2254
|
+
#
|
2255
|
+
# @overload update_event_sources_config(params = {})
|
2256
|
+
# @param [Hash] params ({})
|
2257
|
+
def update_event_sources_config(params = {}, options = {})
|
2258
|
+
req = build_request(:update_event_sources_config, params)
|
2259
|
+
req.send_request(options)
|
2260
|
+
end
|
2261
|
+
|
2262
|
+
# Updates the collection of resources that DevOps Guru analyzes. The two
|
2263
|
+
# types of Amazon Web Services resource collections supported are Amazon
|
2264
|
+
# Web Services CloudFormation stacks and Amazon Web Services resources
|
2265
|
+
# that contain the same Amazon Web Services tag. DevOps Guru can be
|
2266
|
+
# configured to analyze the Amazon Web Services resources that are
|
2267
|
+
# defined in the stacks or that are tagged using the same tag *key*. You
|
2268
|
+
# can specify up to 500 Amazon Web Services CloudFormation stacks. This
|
2269
|
+
# method also creates the IAM role required for you to use DevOps Guru.
|
1739
2270
|
#
|
1740
2271
|
# @option params [required, String] :action
|
1741
2272
|
# Specifies if the resource collection in the request is added or
|
@@ -1755,6 +2286,12 @@ module Aws::DevOpsGuru
|
|
1755
2286
|
# cloud_formation: {
|
1756
2287
|
# stack_names: ["StackName"],
|
1757
2288
|
# },
|
2289
|
+
# tags: [
|
2290
|
+
# {
|
2291
|
+
# app_boundary_key: "AppBoundaryKey", # required
|
2292
|
+
# tag_values: ["TagValue"], # required
|
2293
|
+
# },
|
2294
|
+
# ],
|
1758
2295
|
# },
|
1759
2296
|
# })
|
1760
2297
|
#
|
@@ -1786,6 +2323,14 @@ module Aws::DevOpsGuru
|
|
1786
2323
|
# ops_center: {
|
1787
2324
|
# opt_in_status: "ENABLED", # accepts ENABLED, DISABLED
|
1788
2325
|
# },
|
2326
|
+
# logs_anomaly_detection: {
|
2327
|
+
# opt_in_status: "ENABLED", # accepts ENABLED, DISABLED
|
2328
|
+
# },
|
2329
|
+
# kms_server_side_encryption: {
|
2330
|
+
# kms_key_id: "KMSKeyId",
|
2331
|
+
# opt_in_status: "ENABLED", # accepts ENABLED, DISABLED
|
2332
|
+
# type: "CUSTOMER_MANAGED_KEY", # accepts CUSTOMER_MANAGED_KEY, AWS_OWNED_KMS_KEY
|
2333
|
+
# },
|
1789
2334
|
# },
|
1790
2335
|
# })
|
1791
2336
|
#
|
@@ -1811,7 +2356,7 @@ module Aws::DevOpsGuru
|
|
1811
2356
|
params: params,
|
1812
2357
|
config: config)
|
1813
2358
|
context[:gem_name] = 'aws-sdk-devopsguru'
|
1814
|
-
context[:gem_version] = '1.
|
2359
|
+
context[:gem_version] = '1.37.0'
|
1815
2360
|
Seahorse::Client::Request.new(handlers, context)
|
1816
2361
|
end
|
1817
2362
|
|