aws-sdk-devopsguru 1.13.0 → 1.17.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 +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-devopsguru/client.rb +705 -53
- data/lib/aws-sdk-devopsguru/client_api.rb +396 -1
- data/lib/aws-sdk-devopsguru/types.rb +2119 -251
- data/lib/aws-sdk-devopsguru.rb +1 -1
- metadata +2 -2
@@ -119,7 +119,9 @@ module Aws::DevOpsGuru
|
|
119
119
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
120
|
# are very aggressive. Construct and pass an instance of
|
121
121
|
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
-
# enable retries and extended timeouts.
|
122
|
+
# enable retries and extended timeouts. Instance profile credential
|
123
|
+
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
124
|
+
# to true.
|
123
125
|
#
|
124
126
|
# @option options [required, String] :region
|
125
127
|
# The AWS region to connect to. The configured `:region` is
|
@@ -346,10 +348,11 @@ module Aws::DevOpsGuru
|
|
346
348
|
# notifications using Amazon SNS in your account. For more information,
|
347
349
|
# see [Permissions for cross account Amazon SNS topics][1].
|
348
350
|
#
|
349
|
-
# If you use an Amazon SNS topic that is encrypted by an
|
350
|
-
# Management Service customer-managed key (CMK), then you
|
351
|
-
# permissions to the CMK. For more information, see
|
352
|
-
# KMS–encrypted Amazon SNS
|
351
|
+
# If you use an Amazon SNS topic that is encrypted by an Amazon Web
|
352
|
+
# Services Key Management Service customer-managed key (CMK), then you
|
353
|
+
# must add permissions to the CMK. For more information, see
|
354
|
+
# [Permissions for Amazon Web Services KMS–encrypted Amazon SNS
|
355
|
+
# topics][2].
|
353
356
|
#
|
354
357
|
#
|
355
358
|
#
|
@@ -389,9 +392,9 @@ module Aws::DevOpsGuru
|
|
389
392
|
end
|
390
393
|
|
391
394
|
# Returns the number of open reactive insights, the number of open
|
392
|
-
# proactive insights, and the number of metrics analyzed in your
|
393
|
-
# account. Use these numbers to gauge the health of
|
394
|
-
#
|
395
|
+
# proactive insights, and the number of metrics analyzed in your Amazon
|
396
|
+
# Web Services account. Use these numbers to gauge the health of
|
397
|
+
# operations in your Amazon Web Services account.
|
395
398
|
#
|
396
399
|
# @return [Types::DescribeAccountHealthResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
397
400
|
#
|
@@ -465,6 +468,9 @@ module Aws::DevOpsGuru
|
|
465
468
|
# @option params [required, String] :id
|
466
469
|
# The ID of the anomaly.
|
467
470
|
#
|
471
|
+
# @option params [String] :account_id
|
472
|
+
# The ID of the member account.
|
473
|
+
#
|
468
474
|
# @return [Types::DescribeAnomalyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
469
475
|
#
|
470
476
|
# * {Types::DescribeAnomalyResponse#proactive_anomaly #proactive_anomaly} => Types::ProactiveAnomaly
|
@@ -474,6 +480,7 @@ module Aws::DevOpsGuru
|
|
474
480
|
#
|
475
481
|
# resp = client.describe_anomaly({
|
476
482
|
# id: "AnomalyId", # required
|
483
|
+
# account_id: "AwsAccountId",
|
477
484
|
# })
|
478
485
|
#
|
479
486
|
# @example Response structure
|
@@ -497,9 +504,43 @@ module Aws::DevOpsGuru
|
|
497
504
|
# resp.proactive_anomaly.source_details.cloud_watch_metrics[0].stat #=> String, one of "Sum", "Average", "SampleCount", "Minimum", "Maximum", "p99", "p90", "p50"
|
498
505
|
# resp.proactive_anomaly.source_details.cloud_watch_metrics[0].unit #=> String
|
499
506
|
# resp.proactive_anomaly.source_details.cloud_watch_metrics[0].period #=> Integer
|
507
|
+
# resp.proactive_anomaly.source_details.cloud_watch_metrics[0].metric_data_summary.timestamp_metric_value_pair_list #=> Array
|
508
|
+
# resp.proactive_anomaly.source_details.cloud_watch_metrics[0].metric_data_summary.timestamp_metric_value_pair_list[0].timestamp #=> Time
|
509
|
+
# resp.proactive_anomaly.source_details.cloud_watch_metrics[0].metric_data_summary.timestamp_metric_value_pair_list[0].metric_value #=> Float
|
510
|
+
# resp.proactive_anomaly.source_details.cloud_watch_metrics[0].metric_data_summary.status_code #=> String, one of "Complete", "InternalError", "PartialData"
|
511
|
+
# resp.proactive_anomaly.source_details.performance_insights_metrics #=> Array
|
512
|
+
# resp.proactive_anomaly.source_details.performance_insights_metrics[0].metric_display_name #=> String
|
513
|
+
# resp.proactive_anomaly.source_details.performance_insights_metrics[0].unit #=> String
|
514
|
+
# resp.proactive_anomaly.source_details.performance_insights_metrics[0].metric_query.metric #=> String
|
515
|
+
# resp.proactive_anomaly.source_details.performance_insights_metrics[0].metric_query.group_by.group #=> String
|
516
|
+
# resp.proactive_anomaly.source_details.performance_insights_metrics[0].metric_query.group_by.dimensions #=> Array
|
517
|
+
# resp.proactive_anomaly.source_details.performance_insights_metrics[0].metric_query.group_by.dimensions[0] #=> String
|
518
|
+
# resp.proactive_anomaly.source_details.performance_insights_metrics[0].metric_query.group_by.limit #=> Integer
|
519
|
+
# resp.proactive_anomaly.source_details.performance_insights_metrics[0].metric_query.filter #=> Hash
|
520
|
+
# resp.proactive_anomaly.source_details.performance_insights_metrics[0].metric_query.filter["PerformanceInsightsMetricFilterKey"] #=> String
|
521
|
+
# resp.proactive_anomaly.source_details.performance_insights_metrics[0].reference_data #=> Array
|
522
|
+
# resp.proactive_anomaly.source_details.performance_insights_metrics[0].reference_data[0].name #=> String
|
523
|
+
# resp.proactive_anomaly.source_details.performance_insights_metrics[0].reference_data[0].comparison_values.reference_scalar.value #=> Float
|
524
|
+
# resp.proactive_anomaly.source_details.performance_insights_metrics[0].reference_data[0].comparison_values.reference_metric.metric_query.metric #=> String
|
525
|
+
# resp.proactive_anomaly.source_details.performance_insights_metrics[0].reference_data[0].comparison_values.reference_metric.metric_query.group_by.group #=> String
|
526
|
+
# resp.proactive_anomaly.source_details.performance_insights_metrics[0].reference_data[0].comparison_values.reference_metric.metric_query.group_by.dimensions #=> Array
|
527
|
+
# resp.proactive_anomaly.source_details.performance_insights_metrics[0].reference_data[0].comparison_values.reference_metric.metric_query.group_by.dimensions[0] #=> String
|
528
|
+
# resp.proactive_anomaly.source_details.performance_insights_metrics[0].reference_data[0].comparison_values.reference_metric.metric_query.group_by.limit #=> Integer
|
529
|
+
# resp.proactive_anomaly.source_details.performance_insights_metrics[0].reference_data[0].comparison_values.reference_metric.metric_query.filter #=> Hash
|
530
|
+
# resp.proactive_anomaly.source_details.performance_insights_metrics[0].reference_data[0].comparison_values.reference_metric.metric_query.filter["PerformanceInsightsMetricFilterKey"] #=> String
|
531
|
+
# resp.proactive_anomaly.source_details.performance_insights_metrics[0].stats_at_anomaly #=> Array
|
532
|
+
# resp.proactive_anomaly.source_details.performance_insights_metrics[0].stats_at_anomaly[0].type #=> String
|
533
|
+
# resp.proactive_anomaly.source_details.performance_insights_metrics[0].stats_at_anomaly[0].value #=> Float
|
534
|
+
# resp.proactive_anomaly.source_details.performance_insights_metrics[0].stats_at_baseline #=> Array
|
535
|
+
# resp.proactive_anomaly.source_details.performance_insights_metrics[0].stats_at_baseline[0].type #=> String
|
536
|
+
# resp.proactive_anomaly.source_details.performance_insights_metrics[0].stats_at_baseline[0].value #=> Float
|
500
537
|
# resp.proactive_anomaly.associated_insight_id #=> String
|
501
538
|
# resp.proactive_anomaly.resource_collection.cloud_formation.stack_names #=> Array
|
502
539
|
# resp.proactive_anomaly.resource_collection.cloud_formation.stack_names[0] #=> String
|
540
|
+
# resp.proactive_anomaly.resource_collection.tags #=> Array
|
541
|
+
# resp.proactive_anomaly.resource_collection.tags[0].app_boundary_key #=> String
|
542
|
+
# resp.proactive_anomaly.resource_collection.tags[0].tag_values #=> Array
|
543
|
+
# resp.proactive_anomaly.resource_collection.tags[0].tag_values[0] #=> String
|
503
544
|
# resp.proactive_anomaly.limit #=> Float
|
504
545
|
# resp.reactive_anomaly.id #=> String
|
505
546
|
# resp.reactive_anomaly.severity #=> String, one of "LOW", "MEDIUM", "HIGH"
|
@@ -517,9 +558,50 @@ module Aws::DevOpsGuru
|
|
517
558
|
# resp.reactive_anomaly.source_details.cloud_watch_metrics[0].stat #=> String, one of "Sum", "Average", "SampleCount", "Minimum", "Maximum", "p99", "p90", "p50"
|
518
559
|
# resp.reactive_anomaly.source_details.cloud_watch_metrics[0].unit #=> String
|
519
560
|
# resp.reactive_anomaly.source_details.cloud_watch_metrics[0].period #=> Integer
|
561
|
+
# resp.reactive_anomaly.source_details.cloud_watch_metrics[0].metric_data_summary.timestamp_metric_value_pair_list #=> Array
|
562
|
+
# resp.reactive_anomaly.source_details.cloud_watch_metrics[0].metric_data_summary.timestamp_metric_value_pair_list[0].timestamp #=> Time
|
563
|
+
# resp.reactive_anomaly.source_details.cloud_watch_metrics[0].metric_data_summary.timestamp_metric_value_pair_list[0].metric_value #=> Float
|
564
|
+
# resp.reactive_anomaly.source_details.cloud_watch_metrics[0].metric_data_summary.status_code #=> String, one of "Complete", "InternalError", "PartialData"
|
565
|
+
# resp.reactive_anomaly.source_details.performance_insights_metrics #=> Array
|
566
|
+
# resp.reactive_anomaly.source_details.performance_insights_metrics[0].metric_display_name #=> String
|
567
|
+
# resp.reactive_anomaly.source_details.performance_insights_metrics[0].unit #=> String
|
568
|
+
# resp.reactive_anomaly.source_details.performance_insights_metrics[0].metric_query.metric #=> String
|
569
|
+
# resp.reactive_anomaly.source_details.performance_insights_metrics[0].metric_query.group_by.group #=> String
|
570
|
+
# resp.reactive_anomaly.source_details.performance_insights_metrics[0].metric_query.group_by.dimensions #=> Array
|
571
|
+
# resp.reactive_anomaly.source_details.performance_insights_metrics[0].metric_query.group_by.dimensions[0] #=> String
|
572
|
+
# resp.reactive_anomaly.source_details.performance_insights_metrics[0].metric_query.group_by.limit #=> Integer
|
573
|
+
# resp.reactive_anomaly.source_details.performance_insights_metrics[0].metric_query.filter #=> Hash
|
574
|
+
# resp.reactive_anomaly.source_details.performance_insights_metrics[0].metric_query.filter["PerformanceInsightsMetricFilterKey"] #=> String
|
575
|
+
# resp.reactive_anomaly.source_details.performance_insights_metrics[0].reference_data #=> Array
|
576
|
+
# resp.reactive_anomaly.source_details.performance_insights_metrics[0].reference_data[0].name #=> String
|
577
|
+
# resp.reactive_anomaly.source_details.performance_insights_metrics[0].reference_data[0].comparison_values.reference_scalar.value #=> Float
|
578
|
+
# resp.reactive_anomaly.source_details.performance_insights_metrics[0].reference_data[0].comparison_values.reference_metric.metric_query.metric #=> String
|
579
|
+
# resp.reactive_anomaly.source_details.performance_insights_metrics[0].reference_data[0].comparison_values.reference_metric.metric_query.group_by.group #=> String
|
580
|
+
# resp.reactive_anomaly.source_details.performance_insights_metrics[0].reference_data[0].comparison_values.reference_metric.metric_query.group_by.dimensions #=> Array
|
581
|
+
# resp.reactive_anomaly.source_details.performance_insights_metrics[0].reference_data[0].comparison_values.reference_metric.metric_query.group_by.dimensions[0] #=> String
|
582
|
+
# resp.reactive_anomaly.source_details.performance_insights_metrics[0].reference_data[0].comparison_values.reference_metric.metric_query.group_by.limit #=> Integer
|
583
|
+
# resp.reactive_anomaly.source_details.performance_insights_metrics[0].reference_data[0].comparison_values.reference_metric.metric_query.filter #=> Hash
|
584
|
+
# resp.reactive_anomaly.source_details.performance_insights_metrics[0].reference_data[0].comparison_values.reference_metric.metric_query.filter["PerformanceInsightsMetricFilterKey"] #=> String
|
585
|
+
# resp.reactive_anomaly.source_details.performance_insights_metrics[0].stats_at_anomaly #=> Array
|
586
|
+
# resp.reactive_anomaly.source_details.performance_insights_metrics[0].stats_at_anomaly[0].type #=> String
|
587
|
+
# resp.reactive_anomaly.source_details.performance_insights_metrics[0].stats_at_anomaly[0].value #=> Float
|
588
|
+
# resp.reactive_anomaly.source_details.performance_insights_metrics[0].stats_at_baseline #=> Array
|
589
|
+
# resp.reactive_anomaly.source_details.performance_insights_metrics[0].stats_at_baseline[0].type #=> String
|
590
|
+
# resp.reactive_anomaly.source_details.performance_insights_metrics[0].stats_at_baseline[0].value #=> Float
|
520
591
|
# resp.reactive_anomaly.associated_insight_id #=> String
|
521
592
|
# resp.reactive_anomaly.resource_collection.cloud_formation.stack_names #=> Array
|
522
593
|
# resp.reactive_anomaly.resource_collection.cloud_formation.stack_names[0] #=> String
|
594
|
+
# resp.reactive_anomaly.resource_collection.tags #=> Array
|
595
|
+
# resp.reactive_anomaly.resource_collection.tags[0].app_boundary_key #=> String
|
596
|
+
# resp.reactive_anomaly.resource_collection.tags[0].tag_values #=> Array
|
597
|
+
# resp.reactive_anomaly.resource_collection.tags[0].tag_values[0] #=> String
|
598
|
+
# resp.reactive_anomaly.type #=> String, one of "CAUSAL", "CONTEXTUAL"
|
599
|
+
# resp.reactive_anomaly.name #=> String
|
600
|
+
# resp.reactive_anomaly.description #=> String
|
601
|
+
# resp.reactive_anomaly.causal_anomaly_id #=> String
|
602
|
+
# resp.reactive_anomaly.anomaly_resources #=> Array
|
603
|
+
# resp.reactive_anomaly.anomaly_resources[0].name #=> String
|
604
|
+
# resp.reactive_anomaly.anomaly_resources[0].type #=> String
|
523
605
|
#
|
524
606
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeAnomaly AWS API Documentation
|
525
607
|
#
|
@@ -530,8 +612,8 @@ module Aws::DevOpsGuru
|
|
530
612
|
req.send_request(options)
|
531
613
|
end
|
532
614
|
|
533
|
-
# Returns the most recent feedback submitted in the current
|
534
|
-
# and Region.
|
615
|
+
# Returns the most recent feedback submitted in the current Amazon Web
|
616
|
+
# Services account and Region.
|
535
617
|
#
|
536
618
|
# @option params [String] :insight_id
|
537
619
|
# The ID of the insight for which the feedback was provided.
|
@@ -565,6 +647,9 @@ module Aws::DevOpsGuru
|
|
565
647
|
# @option params [required, String] :id
|
566
648
|
# The ID of the insight.
|
567
649
|
#
|
650
|
+
# @option params [String] :account_id
|
651
|
+
# The ID of the member account in the organization.
|
652
|
+
#
|
568
653
|
# @return [Types::DescribeInsightResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
569
654
|
#
|
570
655
|
# * {Types::DescribeInsightResponse#proactive_insight #proactive_insight} => Types::ProactiveInsight
|
@@ -574,6 +659,7 @@ module Aws::DevOpsGuru
|
|
574
659
|
#
|
575
660
|
# resp = client.describe_insight({
|
576
661
|
# id: "InsightId", # required
|
662
|
+
# account_id: "AwsAccountId",
|
577
663
|
# })
|
578
664
|
#
|
579
665
|
# @example Response structure
|
@@ -588,6 +674,10 @@ module Aws::DevOpsGuru
|
|
588
674
|
# resp.proactive_insight.prediction_time_range.end_time #=> Time
|
589
675
|
# resp.proactive_insight.resource_collection.cloud_formation.stack_names #=> Array
|
590
676
|
# resp.proactive_insight.resource_collection.cloud_formation.stack_names[0] #=> String
|
677
|
+
# resp.proactive_insight.resource_collection.tags #=> Array
|
678
|
+
# resp.proactive_insight.resource_collection.tags[0].app_boundary_key #=> String
|
679
|
+
# resp.proactive_insight.resource_collection.tags[0].tag_values #=> Array
|
680
|
+
# resp.proactive_insight.resource_collection.tags[0].tag_values[0] #=> String
|
591
681
|
# resp.proactive_insight.ssm_ops_item_id #=> String
|
592
682
|
# resp.reactive_insight.id #=> String
|
593
683
|
# resp.reactive_insight.name #=> String
|
@@ -597,6 +687,10 @@ module Aws::DevOpsGuru
|
|
597
687
|
# resp.reactive_insight.insight_time_range.end_time #=> Time
|
598
688
|
# resp.reactive_insight.resource_collection.cloud_formation.stack_names #=> Array
|
599
689
|
# resp.reactive_insight.resource_collection.cloud_formation.stack_names[0] #=> String
|
690
|
+
# resp.reactive_insight.resource_collection.tags #=> Array
|
691
|
+
# resp.reactive_insight.resource_collection.tags[0].app_boundary_key #=> String
|
692
|
+
# resp.reactive_insight.resource_collection.tags[0].tag_values #=> Array
|
693
|
+
# resp.reactive_insight.resource_collection.tags[0].tag_values[0] #=> String
|
600
694
|
# resp.reactive_insight.ssm_ops_item_id #=> String
|
601
695
|
#
|
602
696
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeInsight AWS API Documentation
|
@@ -608,20 +702,188 @@ module Aws::DevOpsGuru
|
|
608
702
|
req.send_request(options)
|
609
703
|
end
|
610
704
|
|
705
|
+
# Returns active insights, predictive insights, and resource hours
|
706
|
+
# analyzed in last hour.
|
707
|
+
#
|
708
|
+
# @option params [Array<String>] :account_ids
|
709
|
+
# The ID of the Amazon Web Services account.
|
710
|
+
#
|
711
|
+
# @option params [Array<String>] :organizational_unit_ids
|
712
|
+
# The ID of the organizational unit.
|
713
|
+
#
|
714
|
+
# @return [Types::DescribeOrganizationHealthResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
715
|
+
#
|
716
|
+
# * {Types::DescribeOrganizationHealthResponse#open_reactive_insights #open_reactive_insights} => Integer
|
717
|
+
# * {Types::DescribeOrganizationHealthResponse#open_proactive_insights #open_proactive_insights} => Integer
|
718
|
+
# * {Types::DescribeOrganizationHealthResponse#metrics_analyzed #metrics_analyzed} => Integer
|
719
|
+
# * {Types::DescribeOrganizationHealthResponse#resource_hours #resource_hours} => Integer
|
720
|
+
#
|
721
|
+
# @example Request syntax with placeholder values
|
722
|
+
#
|
723
|
+
# resp = client.describe_organization_health({
|
724
|
+
# account_ids: ["AwsAccountId"],
|
725
|
+
# organizational_unit_ids: ["OrganizationalUnitId"],
|
726
|
+
# })
|
727
|
+
#
|
728
|
+
# @example Response structure
|
729
|
+
#
|
730
|
+
# resp.open_reactive_insights #=> Integer
|
731
|
+
# resp.open_proactive_insights #=> Integer
|
732
|
+
# resp.metrics_analyzed #=> Integer
|
733
|
+
# resp.resource_hours #=> Integer
|
734
|
+
#
|
735
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeOrganizationHealth AWS API Documentation
|
736
|
+
#
|
737
|
+
# @overload describe_organization_health(params = {})
|
738
|
+
# @param [Hash] params ({})
|
739
|
+
def describe_organization_health(params = {}, options = {})
|
740
|
+
req = build_request(:describe_organization_health, params)
|
741
|
+
req.send_request(options)
|
742
|
+
end
|
743
|
+
|
744
|
+
# Returns an overview of your organization's history based on the
|
745
|
+
# specified time range. The overview includes the total reactive and
|
746
|
+
# proactive insights.
|
747
|
+
#
|
748
|
+
# @option params [required, Time,DateTime,Date,Integer,String] :from_time
|
749
|
+
# The start of the time range passed in. The start time granularity is
|
750
|
+
# at the day level. The floor of the start time is used. Returned
|
751
|
+
# information occurred after this day.
|
752
|
+
#
|
753
|
+
# @option params [Time,DateTime,Date,Integer,String] :to_time
|
754
|
+
# The end of the time range passed in. The start time granularity is at
|
755
|
+
# the day level. The floor of the start time is used. Returned
|
756
|
+
# information occurred before this day. If this is not specified, then
|
757
|
+
# the current day is used.
|
758
|
+
#
|
759
|
+
# @option params [Array<String>] :account_ids
|
760
|
+
# The ID of the Amazon Web Services account.
|
761
|
+
#
|
762
|
+
# @option params [Array<String>] :organizational_unit_ids
|
763
|
+
# The ID of the organizational unit.
|
764
|
+
#
|
765
|
+
# @return [Types::DescribeOrganizationOverviewResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
766
|
+
#
|
767
|
+
# * {Types::DescribeOrganizationOverviewResponse#reactive_insights #reactive_insights} => Integer
|
768
|
+
# * {Types::DescribeOrganizationOverviewResponse#proactive_insights #proactive_insights} => Integer
|
769
|
+
#
|
770
|
+
# @example Request syntax with placeholder values
|
771
|
+
#
|
772
|
+
# resp = client.describe_organization_overview({
|
773
|
+
# from_time: Time.now, # required
|
774
|
+
# to_time: Time.now,
|
775
|
+
# account_ids: ["AwsAccountId"],
|
776
|
+
# organizational_unit_ids: ["OrganizationalUnitId"],
|
777
|
+
# })
|
778
|
+
#
|
779
|
+
# @example Response structure
|
780
|
+
#
|
781
|
+
# resp.reactive_insights #=> Integer
|
782
|
+
# resp.proactive_insights #=> Integer
|
783
|
+
#
|
784
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeOrganizationOverview AWS API Documentation
|
785
|
+
#
|
786
|
+
# @overload describe_organization_overview(params = {})
|
787
|
+
# @param [Hash] params ({})
|
788
|
+
def describe_organization_overview(params = {}, options = {})
|
789
|
+
req = build_request(:describe_organization_overview, params)
|
790
|
+
req.send_request(options)
|
791
|
+
end
|
792
|
+
|
793
|
+
# Provides an overview of your system's health. If additional member
|
794
|
+
# accounts are part of your organization, you can filter those accounts
|
795
|
+
# using the `AccountIds` field.
|
796
|
+
#
|
797
|
+
# @option params [required, String] :organization_resource_collection_type
|
798
|
+
# An Amazon Web Services resource collection type. This type specifies
|
799
|
+
# how analyzed Amazon Web Services resources are defined. The two types
|
800
|
+
# of Amazon Web Services resource collections supported are Amazon Web
|
801
|
+
# Services CloudFormation stacks and Amazon Web Services resources that
|
802
|
+
# contain the same Amazon Web Services tag. DevOps Guru can be
|
803
|
+
# configured to analyze the Amazon Web Services resources that are
|
804
|
+
# defined in the stacks or that are tagged using the same tag *key*. You
|
805
|
+
# can specify up to 500 Amazon Web Services CloudFormation stacks.
|
806
|
+
#
|
807
|
+
# @option params [Array<String>] :account_ids
|
808
|
+
# The ID of the Amazon Web Services account.
|
809
|
+
#
|
810
|
+
# @option params [Array<String>] :organizational_unit_ids
|
811
|
+
# The ID of the organizational unit.
|
812
|
+
#
|
813
|
+
# @option params [String] :next_token
|
814
|
+
# The pagination token to use to retrieve the next page of results for
|
815
|
+
# this operation. If this value is null, it retrieves the first page.
|
816
|
+
#
|
817
|
+
# @option params [Integer] :max_results
|
818
|
+
# The maximum number of results to return with a single call. To
|
819
|
+
# retrieve the remaining results, make another call with the returned
|
820
|
+
# `nextToken` value.
|
821
|
+
#
|
822
|
+
# @return [Types::DescribeOrganizationResourceCollectionHealthResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
823
|
+
#
|
824
|
+
# * {Types::DescribeOrganizationResourceCollectionHealthResponse#cloud_formation #cloud_formation} => Array<Types::CloudFormationHealth>
|
825
|
+
# * {Types::DescribeOrganizationResourceCollectionHealthResponse#service #service} => Array<Types::ServiceHealth>
|
826
|
+
# * {Types::DescribeOrganizationResourceCollectionHealthResponse#account #account} => Array<Types::AccountHealth>
|
827
|
+
# * {Types::DescribeOrganizationResourceCollectionHealthResponse#next_token #next_token} => String
|
828
|
+
#
|
829
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
830
|
+
#
|
831
|
+
# @example Request syntax with placeholder values
|
832
|
+
#
|
833
|
+
# resp = client.describe_organization_resource_collection_health({
|
834
|
+
# organization_resource_collection_type: "AWS_CLOUD_FORMATION", # required, accepts AWS_CLOUD_FORMATION, AWS_SERVICE, AWS_ACCOUNT
|
835
|
+
# account_ids: ["AwsAccountId"],
|
836
|
+
# organizational_unit_ids: ["OrganizationalUnitId"],
|
837
|
+
# next_token: "UuidNextToken",
|
838
|
+
# max_results: 1,
|
839
|
+
# })
|
840
|
+
#
|
841
|
+
# @example Response structure
|
842
|
+
#
|
843
|
+
# resp.cloud_formation #=> Array
|
844
|
+
# resp.cloud_formation[0].stack_name #=> String
|
845
|
+
# resp.cloud_formation[0].insight.open_proactive_insights #=> Integer
|
846
|
+
# resp.cloud_formation[0].insight.open_reactive_insights #=> Integer
|
847
|
+
# resp.cloud_formation[0].insight.mean_time_to_recover_in_milliseconds #=> Integer
|
848
|
+
# resp.service #=> Array
|
849
|
+
# 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"
|
850
|
+
# resp.service[0].insight.open_proactive_insights #=> Integer
|
851
|
+
# resp.service[0].insight.open_reactive_insights #=> Integer
|
852
|
+
# resp.account #=> Array
|
853
|
+
# resp.account[0].account_id #=> String
|
854
|
+
# resp.account[0].insight.open_proactive_insights #=> Integer
|
855
|
+
# resp.account[0].insight.open_reactive_insights #=> Integer
|
856
|
+
# resp.next_token #=> String
|
857
|
+
#
|
858
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeOrganizationResourceCollectionHealth AWS API Documentation
|
859
|
+
#
|
860
|
+
# @overload describe_organization_resource_collection_health(params = {})
|
861
|
+
# @param [Hash] params ({})
|
862
|
+
def describe_organization_resource_collection_health(params = {}, options = {})
|
863
|
+
req = build_request(:describe_organization_resource_collection_health, params)
|
864
|
+
req.send_request(options)
|
865
|
+
end
|
866
|
+
|
611
867
|
# Returns the number of open proactive insights, open reactive insights,
|
612
868
|
# and the Mean Time to Recover (MTTR) for all closed insights in
|
613
|
-
# resource collections in your account. You specify the type of
|
614
|
-
# resources collection. The
|
615
|
-
#
|
616
|
-
#
|
617
|
-
#
|
869
|
+
# resource collections in your account. You specify the type of Amazon
|
870
|
+
# Web Services resources collection. The two types of Amazon Web
|
871
|
+
# Services resource collections supported are Amazon Web Services
|
872
|
+
# CloudFormation stacks and Amazon Web Services resources that contain
|
873
|
+
# the same Amazon Web Services tag. DevOps Guru can be configured to
|
874
|
+
# analyze the Amazon Web Services resources that are defined in the
|
875
|
+
# stacks or that are tagged using the same tag *key*. You can specify up
|
876
|
+
# to 500 Amazon Web Services CloudFormation stacks.
|
618
877
|
#
|
619
878
|
# @option params [required, String] :resource_collection_type
|
620
|
-
# An
|
621
|
-
# resources are defined. The
|
622
|
-
#
|
623
|
-
#
|
624
|
-
#
|
879
|
+
# An Amazon Web Services resource collection type. This type specifies
|
880
|
+
# how analyzed Amazon Web Services resources are defined. The two types
|
881
|
+
# of Amazon Web Services resource collections supported are Amazon Web
|
882
|
+
# Services CloudFormation stacks and Amazon Web Services resources that
|
883
|
+
# contain the same Amazon Web Services tag. DevOps Guru can be
|
884
|
+
# configured to analyze the Amazon Web Services resources that are
|
885
|
+
# defined in the stacks or that are tagged using the same tag *key*. You
|
886
|
+
# can specify up to 500 Amazon Web Services CloudFormation stacks.
|
625
887
|
#
|
626
888
|
# @option params [String] :next_token
|
627
889
|
# The pagination token to use to retrieve the next page of results for
|
@@ -632,13 +894,14 @@ module Aws::DevOpsGuru
|
|
632
894
|
# * {Types::DescribeResourceCollectionHealthResponse#cloud_formation #cloud_formation} => Array<Types::CloudFormationHealth>
|
633
895
|
# * {Types::DescribeResourceCollectionHealthResponse#service #service} => Array<Types::ServiceHealth>
|
634
896
|
# * {Types::DescribeResourceCollectionHealthResponse#next_token #next_token} => String
|
897
|
+
# * {Types::DescribeResourceCollectionHealthResponse#tags #tags} => Array<Types::TagHealth>
|
635
898
|
#
|
636
899
|
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
637
900
|
#
|
638
901
|
# @example Request syntax with placeholder values
|
639
902
|
#
|
640
903
|
# resp = client.describe_resource_collection_health({
|
641
|
-
# resource_collection_type: "AWS_CLOUD_FORMATION", # required, accepts AWS_CLOUD_FORMATION, AWS_SERVICE
|
904
|
+
# resource_collection_type: "AWS_CLOUD_FORMATION", # required, accepts AWS_CLOUD_FORMATION, AWS_SERVICE, AWS_TAGS
|
642
905
|
# next_token: "UuidNextToken",
|
643
906
|
# })
|
644
907
|
#
|
@@ -654,6 +917,12 @@ module Aws::DevOpsGuru
|
|
654
917
|
# resp.service[0].insight.open_proactive_insights #=> Integer
|
655
918
|
# resp.service[0].insight.open_reactive_insights #=> Integer
|
656
919
|
# resp.next_token #=> String
|
920
|
+
# resp.tags #=> Array
|
921
|
+
# resp.tags[0].app_boundary_key #=> String
|
922
|
+
# resp.tags[0].tag_value #=> String
|
923
|
+
# resp.tags[0].insight.open_proactive_insights #=> Integer
|
924
|
+
# resp.tags[0].insight.open_reactive_insights #=> Integer
|
925
|
+
# resp.tags[0].insight.mean_time_to_recover_in_milliseconds #=> Integer
|
657
926
|
#
|
658
927
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeResourceCollectionHealth AWS API Documentation
|
659
928
|
#
|
@@ -666,8 +935,8 @@ module Aws::DevOpsGuru
|
|
666
935
|
|
667
936
|
# Returns the integration status of services that are integrated with
|
668
937
|
# DevOps Guru. The one service that can be integrated with DevOps Guru
|
669
|
-
# is
|
670
|
-
# each generated insight.
|
938
|
+
# is Amazon Web Services Systems Manager, which can be used to create an
|
939
|
+
# OpsItem for each generated insight.
|
671
940
|
#
|
672
941
|
# @return [Types::DescribeServiceIntegrationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
673
942
|
#
|
@@ -687,8 +956,9 @@ module Aws::DevOpsGuru
|
|
687
956
|
end
|
688
957
|
|
689
958
|
# Returns an estimate of the monthly cost for DevOps Guru to analyze
|
690
|
-
# your
|
691
|
-
# DevOps Guru costs][1] and [Amazon DevOps Guru
|
959
|
+
# your Amazon Web Services resources. For more information, see
|
960
|
+
# [Estimate your Amazon DevOps Guru costs][1] and [Amazon DevOps Guru
|
961
|
+
# pricing][2].
|
692
962
|
#
|
693
963
|
#
|
694
964
|
#
|
@@ -720,6 +990,10 @@ module Aws::DevOpsGuru
|
|
720
990
|
#
|
721
991
|
# resp.resource_collection.cloud_formation.stack_names #=> Array
|
722
992
|
# resp.resource_collection.cloud_formation.stack_names[0] #=> String
|
993
|
+
# resp.resource_collection.tags #=> Array
|
994
|
+
# resp.resource_collection.tags[0].app_boundary_key #=> String
|
995
|
+
# resp.resource_collection.tags[0].tag_values #=> Array
|
996
|
+
# resp.resource_collection.tags[0].tag_values[0] #=> String
|
723
997
|
# resp.status #=> String, one of "ONGOING", "COMPLETED"
|
724
998
|
# resp.costs #=> Array
|
725
999
|
# resp.costs[0].type #=> String
|
@@ -741,15 +1015,19 @@ module Aws::DevOpsGuru
|
|
741
1015
|
req.send_request(options)
|
742
1016
|
end
|
743
1017
|
|
744
|
-
# Returns lists
|
745
|
-
# collection type. The
|
746
|
-
#
|
747
|
-
#
|
748
|
-
#
|
1018
|
+
# Returns lists Amazon Web Services resources that are of the specified
|
1019
|
+
# resource collection type. The two types of Amazon Web Services
|
1020
|
+
# resource collections supported are Amazon Web Services CloudFormation
|
1021
|
+
# stacks and Amazon Web Services resources that contain the same Amazon
|
1022
|
+
# Web Services tag. DevOps Guru can be configured to analyze the Amazon
|
1023
|
+
# Web Services resources that are defined in the stacks or that are
|
1024
|
+
# tagged using the same tag *key*. You can specify up to 500 Amazon Web
|
1025
|
+
# Services CloudFormation stacks.
|
749
1026
|
#
|
750
1027
|
# @option params [required, String] :resource_collection_type
|
751
|
-
# The type of
|
752
|
-
# `CLOUD_FORMATION` for
|
1028
|
+
# The type of Amazon Web Services resource collections to return. The
|
1029
|
+
# one valid value is `CLOUD_FORMATION` for Amazon Web Services
|
1030
|
+
# CloudFormation stacks.
|
753
1031
|
#
|
754
1032
|
# @option params [String] :next_token
|
755
1033
|
# The pagination token to use to retrieve the next page of results for
|
@@ -765,7 +1043,7 @@ module Aws::DevOpsGuru
|
|
765
1043
|
# @example Request syntax with placeholder values
|
766
1044
|
#
|
767
1045
|
# resp = client.get_resource_collection({
|
768
|
-
# resource_collection_type: "AWS_CLOUD_FORMATION", # required, accepts AWS_CLOUD_FORMATION, AWS_SERVICE
|
1046
|
+
# resource_collection_type: "AWS_CLOUD_FORMATION", # required, accepts AWS_CLOUD_FORMATION, AWS_SERVICE, AWS_TAGS
|
769
1047
|
# next_token: "UuidNextToken",
|
770
1048
|
# })
|
771
1049
|
#
|
@@ -773,6 +1051,10 @@ module Aws::DevOpsGuru
|
|
773
1051
|
#
|
774
1052
|
# resp.resource_collection.cloud_formation.stack_names #=> Array
|
775
1053
|
# resp.resource_collection.cloud_formation.stack_names[0] #=> String
|
1054
|
+
# resp.resource_collection.tags #=> Array
|
1055
|
+
# resp.resource_collection.tags[0].app_boundary_key #=> String
|
1056
|
+
# resp.resource_collection.tags[0].tag_values #=> Array
|
1057
|
+
# resp.resource_collection.tags[0].tag_values[0] #=> String
|
776
1058
|
# resp.next_token #=> String
|
777
1059
|
#
|
778
1060
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/GetResourceCollection AWS API Documentation
|
@@ -803,6 +1085,9 @@ module Aws::DevOpsGuru
|
|
803
1085
|
# The pagination token to use to retrieve the next page of results for
|
804
1086
|
# this operation. If this value is null, it retrieves the first page.
|
805
1087
|
#
|
1088
|
+
# @option params [String] :account_id
|
1089
|
+
# The ID of the Amazon Web Services account.
|
1090
|
+
#
|
806
1091
|
# @return [Types::ListAnomaliesForInsightResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
807
1092
|
#
|
808
1093
|
# * {Types::ListAnomaliesForInsightResponse#proactive_anomalies #proactive_anomalies} => Array<Types::ProactiveAnomalySummary>
|
@@ -821,6 +1106,7 @@ module Aws::DevOpsGuru
|
|
821
1106
|
# },
|
822
1107
|
# max_results: 1,
|
823
1108
|
# next_token: "UuidNextToken",
|
1109
|
+
# account_id: "AwsAccountId",
|
824
1110
|
# })
|
825
1111
|
#
|
826
1112
|
# @example Response structure
|
@@ -845,9 +1131,43 @@ module Aws::DevOpsGuru
|
|
845
1131
|
# resp.proactive_anomalies[0].source_details.cloud_watch_metrics[0].stat #=> String, one of "Sum", "Average", "SampleCount", "Minimum", "Maximum", "p99", "p90", "p50"
|
846
1132
|
# resp.proactive_anomalies[0].source_details.cloud_watch_metrics[0].unit #=> String
|
847
1133
|
# resp.proactive_anomalies[0].source_details.cloud_watch_metrics[0].period #=> Integer
|
1134
|
+
# resp.proactive_anomalies[0].source_details.cloud_watch_metrics[0].metric_data_summary.timestamp_metric_value_pair_list #=> Array
|
1135
|
+
# resp.proactive_anomalies[0].source_details.cloud_watch_metrics[0].metric_data_summary.timestamp_metric_value_pair_list[0].timestamp #=> Time
|
1136
|
+
# resp.proactive_anomalies[0].source_details.cloud_watch_metrics[0].metric_data_summary.timestamp_metric_value_pair_list[0].metric_value #=> Float
|
1137
|
+
# resp.proactive_anomalies[0].source_details.cloud_watch_metrics[0].metric_data_summary.status_code #=> String, one of "Complete", "InternalError", "PartialData"
|
1138
|
+
# resp.proactive_anomalies[0].source_details.performance_insights_metrics #=> Array
|
1139
|
+
# resp.proactive_anomalies[0].source_details.performance_insights_metrics[0].metric_display_name #=> String
|
1140
|
+
# resp.proactive_anomalies[0].source_details.performance_insights_metrics[0].unit #=> String
|
1141
|
+
# resp.proactive_anomalies[0].source_details.performance_insights_metrics[0].metric_query.metric #=> String
|
1142
|
+
# resp.proactive_anomalies[0].source_details.performance_insights_metrics[0].metric_query.group_by.group #=> String
|
1143
|
+
# resp.proactive_anomalies[0].source_details.performance_insights_metrics[0].metric_query.group_by.dimensions #=> Array
|
1144
|
+
# resp.proactive_anomalies[0].source_details.performance_insights_metrics[0].metric_query.group_by.dimensions[0] #=> String
|
1145
|
+
# resp.proactive_anomalies[0].source_details.performance_insights_metrics[0].metric_query.group_by.limit #=> Integer
|
1146
|
+
# resp.proactive_anomalies[0].source_details.performance_insights_metrics[0].metric_query.filter #=> Hash
|
1147
|
+
# resp.proactive_anomalies[0].source_details.performance_insights_metrics[0].metric_query.filter["PerformanceInsightsMetricFilterKey"] #=> String
|
1148
|
+
# resp.proactive_anomalies[0].source_details.performance_insights_metrics[0].reference_data #=> Array
|
1149
|
+
# resp.proactive_anomalies[0].source_details.performance_insights_metrics[0].reference_data[0].name #=> String
|
1150
|
+
# resp.proactive_anomalies[0].source_details.performance_insights_metrics[0].reference_data[0].comparison_values.reference_scalar.value #=> Float
|
1151
|
+
# resp.proactive_anomalies[0].source_details.performance_insights_metrics[0].reference_data[0].comparison_values.reference_metric.metric_query.metric #=> String
|
1152
|
+
# resp.proactive_anomalies[0].source_details.performance_insights_metrics[0].reference_data[0].comparison_values.reference_metric.metric_query.group_by.group #=> String
|
1153
|
+
# resp.proactive_anomalies[0].source_details.performance_insights_metrics[0].reference_data[0].comparison_values.reference_metric.metric_query.group_by.dimensions #=> Array
|
1154
|
+
# resp.proactive_anomalies[0].source_details.performance_insights_metrics[0].reference_data[0].comparison_values.reference_metric.metric_query.group_by.dimensions[0] #=> String
|
1155
|
+
# resp.proactive_anomalies[0].source_details.performance_insights_metrics[0].reference_data[0].comparison_values.reference_metric.metric_query.group_by.limit #=> Integer
|
1156
|
+
# resp.proactive_anomalies[0].source_details.performance_insights_metrics[0].reference_data[0].comparison_values.reference_metric.metric_query.filter #=> Hash
|
1157
|
+
# resp.proactive_anomalies[0].source_details.performance_insights_metrics[0].reference_data[0].comparison_values.reference_metric.metric_query.filter["PerformanceInsightsMetricFilterKey"] #=> String
|
1158
|
+
# resp.proactive_anomalies[0].source_details.performance_insights_metrics[0].stats_at_anomaly #=> Array
|
1159
|
+
# resp.proactive_anomalies[0].source_details.performance_insights_metrics[0].stats_at_anomaly[0].type #=> String
|
1160
|
+
# resp.proactive_anomalies[0].source_details.performance_insights_metrics[0].stats_at_anomaly[0].value #=> Float
|
1161
|
+
# resp.proactive_anomalies[0].source_details.performance_insights_metrics[0].stats_at_baseline #=> Array
|
1162
|
+
# resp.proactive_anomalies[0].source_details.performance_insights_metrics[0].stats_at_baseline[0].type #=> String
|
1163
|
+
# resp.proactive_anomalies[0].source_details.performance_insights_metrics[0].stats_at_baseline[0].value #=> Float
|
848
1164
|
# resp.proactive_anomalies[0].associated_insight_id #=> String
|
849
1165
|
# resp.proactive_anomalies[0].resource_collection.cloud_formation.stack_names #=> Array
|
850
1166
|
# resp.proactive_anomalies[0].resource_collection.cloud_formation.stack_names[0] #=> String
|
1167
|
+
# resp.proactive_anomalies[0].resource_collection.tags #=> Array
|
1168
|
+
# resp.proactive_anomalies[0].resource_collection.tags[0].app_boundary_key #=> String
|
1169
|
+
# resp.proactive_anomalies[0].resource_collection.tags[0].tag_values #=> Array
|
1170
|
+
# resp.proactive_anomalies[0].resource_collection.tags[0].tag_values[0] #=> String
|
851
1171
|
# resp.proactive_anomalies[0].limit #=> Float
|
852
1172
|
# resp.reactive_anomalies #=> Array
|
853
1173
|
# resp.reactive_anomalies[0].id #=> String
|
@@ -866,9 +1186,50 @@ module Aws::DevOpsGuru
|
|
866
1186
|
# resp.reactive_anomalies[0].source_details.cloud_watch_metrics[0].stat #=> String, one of "Sum", "Average", "SampleCount", "Minimum", "Maximum", "p99", "p90", "p50"
|
867
1187
|
# resp.reactive_anomalies[0].source_details.cloud_watch_metrics[0].unit #=> String
|
868
1188
|
# resp.reactive_anomalies[0].source_details.cloud_watch_metrics[0].period #=> Integer
|
1189
|
+
# resp.reactive_anomalies[0].source_details.cloud_watch_metrics[0].metric_data_summary.timestamp_metric_value_pair_list #=> Array
|
1190
|
+
# resp.reactive_anomalies[0].source_details.cloud_watch_metrics[0].metric_data_summary.timestamp_metric_value_pair_list[0].timestamp #=> Time
|
1191
|
+
# resp.reactive_anomalies[0].source_details.cloud_watch_metrics[0].metric_data_summary.timestamp_metric_value_pair_list[0].metric_value #=> Float
|
1192
|
+
# resp.reactive_anomalies[0].source_details.cloud_watch_metrics[0].metric_data_summary.status_code #=> String, one of "Complete", "InternalError", "PartialData"
|
1193
|
+
# resp.reactive_anomalies[0].source_details.performance_insights_metrics #=> Array
|
1194
|
+
# resp.reactive_anomalies[0].source_details.performance_insights_metrics[0].metric_display_name #=> String
|
1195
|
+
# resp.reactive_anomalies[0].source_details.performance_insights_metrics[0].unit #=> String
|
1196
|
+
# resp.reactive_anomalies[0].source_details.performance_insights_metrics[0].metric_query.metric #=> String
|
1197
|
+
# resp.reactive_anomalies[0].source_details.performance_insights_metrics[0].metric_query.group_by.group #=> String
|
1198
|
+
# resp.reactive_anomalies[0].source_details.performance_insights_metrics[0].metric_query.group_by.dimensions #=> Array
|
1199
|
+
# resp.reactive_anomalies[0].source_details.performance_insights_metrics[0].metric_query.group_by.dimensions[0] #=> String
|
1200
|
+
# resp.reactive_anomalies[0].source_details.performance_insights_metrics[0].metric_query.group_by.limit #=> Integer
|
1201
|
+
# resp.reactive_anomalies[0].source_details.performance_insights_metrics[0].metric_query.filter #=> Hash
|
1202
|
+
# resp.reactive_anomalies[0].source_details.performance_insights_metrics[0].metric_query.filter["PerformanceInsightsMetricFilterKey"] #=> String
|
1203
|
+
# resp.reactive_anomalies[0].source_details.performance_insights_metrics[0].reference_data #=> Array
|
1204
|
+
# resp.reactive_anomalies[0].source_details.performance_insights_metrics[0].reference_data[0].name #=> String
|
1205
|
+
# resp.reactive_anomalies[0].source_details.performance_insights_metrics[0].reference_data[0].comparison_values.reference_scalar.value #=> Float
|
1206
|
+
# resp.reactive_anomalies[0].source_details.performance_insights_metrics[0].reference_data[0].comparison_values.reference_metric.metric_query.metric #=> String
|
1207
|
+
# resp.reactive_anomalies[0].source_details.performance_insights_metrics[0].reference_data[0].comparison_values.reference_metric.metric_query.group_by.group #=> String
|
1208
|
+
# resp.reactive_anomalies[0].source_details.performance_insights_metrics[0].reference_data[0].comparison_values.reference_metric.metric_query.group_by.dimensions #=> Array
|
1209
|
+
# resp.reactive_anomalies[0].source_details.performance_insights_metrics[0].reference_data[0].comparison_values.reference_metric.metric_query.group_by.dimensions[0] #=> String
|
1210
|
+
# resp.reactive_anomalies[0].source_details.performance_insights_metrics[0].reference_data[0].comparison_values.reference_metric.metric_query.group_by.limit #=> Integer
|
1211
|
+
# resp.reactive_anomalies[0].source_details.performance_insights_metrics[0].reference_data[0].comparison_values.reference_metric.metric_query.filter #=> Hash
|
1212
|
+
# resp.reactive_anomalies[0].source_details.performance_insights_metrics[0].reference_data[0].comparison_values.reference_metric.metric_query.filter["PerformanceInsightsMetricFilterKey"] #=> String
|
1213
|
+
# resp.reactive_anomalies[0].source_details.performance_insights_metrics[0].stats_at_anomaly #=> Array
|
1214
|
+
# resp.reactive_anomalies[0].source_details.performance_insights_metrics[0].stats_at_anomaly[0].type #=> String
|
1215
|
+
# resp.reactive_anomalies[0].source_details.performance_insights_metrics[0].stats_at_anomaly[0].value #=> Float
|
1216
|
+
# resp.reactive_anomalies[0].source_details.performance_insights_metrics[0].stats_at_baseline #=> Array
|
1217
|
+
# resp.reactive_anomalies[0].source_details.performance_insights_metrics[0].stats_at_baseline[0].type #=> String
|
1218
|
+
# resp.reactive_anomalies[0].source_details.performance_insights_metrics[0].stats_at_baseline[0].value #=> Float
|
869
1219
|
# resp.reactive_anomalies[0].associated_insight_id #=> String
|
870
1220
|
# resp.reactive_anomalies[0].resource_collection.cloud_formation.stack_names #=> Array
|
871
1221
|
# resp.reactive_anomalies[0].resource_collection.cloud_formation.stack_names[0] #=> String
|
1222
|
+
# resp.reactive_anomalies[0].resource_collection.tags #=> Array
|
1223
|
+
# resp.reactive_anomalies[0].resource_collection.tags[0].app_boundary_key #=> String
|
1224
|
+
# resp.reactive_anomalies[0].resource_collection.tags[0].tag_values #=> Array
|
1225
|
+
# resp.reactive_anomalies[0].resource_collection.tags[0].tag_values[0] #=> String
|
1226
|
+
# resp.reactive_anomalies[0].type #=> String, one of "CAUSAL", "CONTEXTUAL"
|
1227
|
+
# resp.reactive_anomalies[0].name #=> String
|
1228
|
+
# resp.reactive_anomalies[0].description #=> String
|
1229
|
+
# resp.reactive_anomalies[0].causal_anomaly_id #=> String
|
1230
|
+
# resp.reactive_anomalies[0].anomaly_resources #=> Array
|
1231
|
+
# resp.reactive_anomalies[0].anomaly_resources[0].name #=> String
|
1232
|
+
# resp.reactive_anomalies[0].anomaly_resources[0].type #=> String
|
872
1233
|
# resp.next_token #=> String
|
873
1234
|
#
|
874
1235
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListAnomaliesForInsight AWS API Documentation
|
@@ -896,6 +1257,9 @@ module Aws::DevOpsGuru
|
|
896
1257
|
# The pagination token to use to retrieve the next page of results for
|
897
1258
|
# this operation. If this value is null, it retrieves the first page.
|
898
1259
|
#
|
1260
|
+
# @option params [String] :account_id
|
1261
|
+
# The ID of the Amazon Web Services account.
|
1262
|
+
#
|
899
1263
|
# @return [Types::ListEventsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
900
1264
|
#
|
901
1265
|
# * {Types::ListEventsResponse#events #events} => Array<Types::Event>
|
@@ -919,10 +1283,17 @@ module Aws::DevOpsGuru
|
|
919
1283
|
# cloud_formation: {
|
920
1284
|
# stack_names: ["StackName"],
|
921
1285
|
# },
|
1286
|
+
# tags: [
|
1287
|
+
# {
|
1288
|
+
# app_boundary_key: "AppBoundaryKey", # required
|
1289
|
+
# tag_values: ["TagValue"], # required
|
1290
|
+
# },
|
1291
|
+
# ],
|
922
1292
|
# },
|
923
1293
|
# },
|
924
1294
|
# max_results: 1,
|
925
1295
|
# next_token: "UuidNextToken",
|
1296
|
+
# account_id: "AwsAccountId",
|
926
1297
|
# })
|
927
1298
|
#
|
928
1299
|
# @example Response structure
|
@@ -930,6 +1301,10 @@ module Aws::DevOpsGuru
|
|
930
1301
|
# resp.events #=> Array
|
931
1302
|
# resp.events[0].resource_collection.cloud_formation.stack_names #=> Array
|
932
1303
|
# resp.events[0].resource_collection.cloud_formation.stack_names[0] #=> String
|
1304
|
+
# resp.events[0].resource_collection.tags #=> Array
|
1305
|
+
# resp.events[0].resource_collection.tags[0].app_boundary_key #=> String
|
1306
|
+
# resp.events[0].resource_collection.tags[0].tag_values #=> Array
|
1307
|
+
# resp.events[0].resource_collection.tags[0].tag_values[0] #=> String
|
933
1308
|
# resp.events[0].id #=> String
|
934
1309
|
# resp.events[0].time #=> Time
|
935
1310
|
# resp.events[0].event_source #=> String
|
@@ -951,9 +1326,9 @@ module Aws::DevOpsGuru
|
|
951
1326
|
req.send_request(options)
|
952
1327
|
end
|
953
1328
|
|
954
|
-
# Returns a list of insights in your
|
955
|
-
# insights are returned by their start time and status
|
956
|
-
# `CLOSED`, or `ANY`).
|
1329
|
+
# Returns a list of insights in your Amazon Web Services account. You
|
1330
|
+
# can specify which insights are returned by their start time and status
|
1331
|
+
# (`ONGOING`, `CLOSED`, or `ANY`).
|
957
1332
|
#
|
958
1333
|
# @option params [required, Types::ListInsightsStatusFilter] :status_filter
|
959
1334
|
# A filter used to filter the returned insights by their status. You can
|
@@ -1015,8 +1390,14 @@ module Aws::DevOpsGuru
|
|
1015
1390
|
# resp.proactive_insights[0].prediction_time_range.end_time #=> Time
|
1016
1391
|
# resp.proactive_insights[0].resource_collection.cloud_formation.stack_names #=> Array
|
1017
1392
|
# resp.proactive_insights[0].resource_collection.cloud_formation.stack_names[0] #=> String
|
1393
|
+
# resp.proactive_insights[0].resource_collection.tags #=> Array
|
1394
|
+
# resp.proactive_insights[0].resource_collection.tags[0].app_boundary_key #=> String
|
1395
|
+
# resp.proactive_insights[0].resource_collection.tags[0].tag_values #=> Array
|
1396
|
+
# resp.proactive_insights[0].resource_collection.tags[0].tag_values[0] #=> String
|
1018
1397
|
# resp.proactive_insights[0].service_collection.service_names #=> Array
|
1019
1398
|
# 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"
|
1399
|
+
# resp.proactive_insights[0].associated_resource_arns #=> Array
|
1400
|
+
# resp.proactive_insights[0].associated_resource_arns[0] #=> String
|
1020
1401
|
# resp.reactive_insights #=> Array
|
1021
1402
|
# resp.reactive_insights[0].id #=> String
|
1022
1403
|
# resp.reactive_insights[0].name #=> String
|
@@ -1026,8 +1407,14 @@ module Aws::DevOpsGuru
|
|
1026
1407
|
# resp.reactive_insights[0].insight_time_range.end_time #=> Time
|
1027
1408
|
# resp.reactive_insights[0].resource_collection.cloud_formation.stack_names #=> Array
|
1028
1409
|
# resp.reactive_insights[0].resource_collection.cloud_formation.stack_names[0] #=> String
|
1410
|
+
# resp.reactive_insights[0].resource_collection.tags #=> Array
|
1411
|
+
# resp.reactive_insights[0].resource_collection.tags[0].app_boundary_key #=> String
|
1412
|
+
# resp.reactive_insights[0].resource_collection.tags[0].tag_values #=> Array
|
1413
|
+
# resp.reactive_insights[0].resource_collection.tags[0].tag_values[0] #=> String
|
1029
1414
|
# resp.reactive_insights[0].service_collection.service_names #=> Array
|
1030
1415
|
# 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"
|
1416
|
+
# resp.reactive_insights[0].associated_resource_arns #=> Array
|
1417
|
+
# resp.reactive_insights[0].associated_resource_arns[0] #=> String
|
1031
1418
|
# resp.next_token #=> String
|
1032
1419
|
#
|
1033
1420
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListInsights AWS API Documentation
|
@@ -1078,6 +1465,111 @@ module Aws::DevOpsGuru
|
|
1078
1465
|
req.send_request(options)
|
1079
1466
|
end
|
1080
1467
|
|
1468
|
+
# Returns a list of insights associated with the account or OU Id.
|
1469
|
+
#
|
1470
|
+
# @option params [required, Types::ListInsightsStatusFilter] :status_filter
|
1471
|
+
# A filter used by `ListInsights` to specify which insights to return.
|
1472
|
+
#
|
1473
|
+
# @option params [Integer] :max_results
|
1474
|
+
# The maximum number of results to return with a single call. To
|
1475
|
+
# retrieve the remaining results, make another call with the returned
|
1476
|
+
# `nextToken` value.
|
1477
|
+
#
|
1478
|
+
# @option params [Array<String>] :account_ids
|
1479
|
+
# The ID of the Amazon Web Services account.
|
1480
|
+
#
|
1481
|
+
# @option params [Array<String>] :organizational_unit_ids
|
1482
|
+
# The ID of the organizational unit.
|
1483
|
+
#
|
1484
|
+
# @option params [String] :next_token
|
1485
|
+
# The pagination token to use to retrieve the next page of results for
|
1486
|
+
# this operation. If this value is null, it retrieves the first page.
|
1487
|
+
#
|
1488
|
+
# @return [Types::ListOrganizationInsightsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1489
|
+
#
|
1490
|
+
# * {Types::ListOrganizationInsightsResponse#proactive_insights #proactive_insights} => Array<Types::ProactiveOrganizationInsightSummary>
|
1491
|
+
# * {Types::ListOrganizationInsightsResponse#reactive_insights #reactive_insights} => Array<Types::ReactiveOrganizationInsightSummary>
|
1492
|
+
# * {Types::ListOrganizationInsightsResponse#next_token #next_token} => String
|
1493
|
+
#
|
1494
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1495
|
+
#
|
1496
|
+
# @example Request syntax with placeholder values
|
1497
|
+
#
|
1498
|
+
# resp = client.list_organization_insights({
|
1499
|
+
# status_filter: { # required
|
1500
|
+
# ongoing: {
|
1501
|
+
# type: "REACTIVE", # required, accepts REACTIVE, PROACTIVE
|
1502
|
+
# },
|
1503
|
+
# closed: {
|
1504
|
+
# type: "REACTIVE", # required, accepts REACTIVE, PROACTIVE
|
1505
|
+
# end_time_range: { # required
|
1506
|
+
# from_time: Time.now,
|
1507
|
+
# to_time: Time.now,
|
1508
|
+
# },
|
1509
|
+
# },
|
1510
|
+
# any: {
|
1511
|
+
# type: "REACTIVE", # required, accepts REACTIVE, PROACTIVE
|
1512
|
+
# start_time_range: { # required
|
1513
|
+
# from_time: Time.now,
|
1514
|
+
# to_time: Time.now,
|
1515
|
+
# },
|
1516
|
+
# },
|
1517
|
+
# },
|
1518
|
+
# max_results: 1,
|
1519
|
+
# account_ids: ["AwsAccountId"],
|
1520
|
+
# organizational_unit_ids: ["OrganizationalUnitId"],
|
1521
|
+
# next_token: "UuidNextToken",
|
1522
|
+
# })
|
1523
|
+
#
|
1524
|
+
# @example Response structure
|
1525
|
+
#
|
1526
|
+
# resp.proactive_insights #=> Array
|
1527
|
+
# resp.proactive_insights[0].id #=> String
|
1528
|
+
# resp.proactive_insights[0].account_id #=> String
|
1529
|
+
# resp.proactive_insights[0].organizational_unit_id #=> String
|
1530
|
+
# resp.proactive_insights[0].name #=> String
|
1531
|
+
# resp.proactive_insights[0].severity #=> String, one of "LOW", "MEDIUM", "HIGH"
|
1532
|
+
# resp.proactive_insights[0].status #=> String, one of "ONGOING", "CLOSED"
|
1533
|
+
# resp.proactive_insights[0].insight_time_range.start_time #=> Time
|
1534
|
+
# resp.proactive_insights[0].insight_time_range.end_time #=> Time
|
1535
|
+
# resp.proactive_insights[0].prediction_time_range.start_time #=> Time
|
1536
|
+
# resp.proactive_insights[0].prediction_time_range.end_time #=> Time
|
1537
|
+
# resp.proactive_insights[0].resource_collection.cloud_formation.stack_names #=> Array
|
1538
|
+
# resp.proactive_insights[0].resource_collection.cloud_formation.stack_names[0] #=> String
|
1539
|
+
# resp.proactive_insights[0].resource_collection.tags #=> Array
|
1540
|
+
# resp.proactive_insights[0].resource_collection.tags[0].app_boundary_key #=> String
|
1541
|
+
# resp.proactive_insights[0].resource_collection.tags[0].tag_values #=> Array
|
1542
|
+
# resp.proactive_insights[0].resource_collection.tags[0].tag_values[0] #=> String
|
1543
|
+
# resp.proactive_insights[0].service_collection.service_names #=> Array
|
1544
|
+
# 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"
|
1545
|
+
# resp.reactive_insights #=> Array
|
1546
|
+
# resp.reactive_insights[0].id #=> String
|
1547
|
+
# resp.reactive_insights[0].account_id #=> String
|
1548
|
+
# resp.reactive_insights[0].organizational_unit_id #=> String
|
1549
|
+
# resp.reactive_insights[0].name #=> String
|
1550
|
+
# resp.reactive_insights[0].severity #=> String, one of "LOW", "MEDIUM", "HIGH"
|
1551
|
+
# resp.reactive_insights[0].status #=> String, one of "ONGOING", "CLOSED"
|
1552
|
+
# resp.reactive_insights[0].insight_time_range.start_time #=> Time
|
1553
|
+
# resp.reactive_insights[0].insight_time_range.end_time #=> Time
|
1554
|
+
# resp.reactive_insights[0].resource_collection.cloud_formation.stack_names #=> Array
|
1555
|
+
# resp.reactive_insights[0].resource_collection.cloud_formation.stack_names[0] #=> String
|
1556
|
+
# resp.reactive_insights[0].resource_collection.tags #=> Array
|
1557
|
+
# resp.reactive_insights[0].resource_collection.tags[0].app_boundary_key #=> String
|
1558
|
+
# resp.reactive_insights[0].resource_collection.tags[0].tag_values #=> Array
|
1559
|
+
# resp.reactive_insights[0].resource_collection.tags[0].tag_values[0] #=> String
|
1560
|
+
# resp.reactive_insights[0].service_collection.service_names #=> Array
|
1561
|
+
# 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"
|
1562
|
+
# resp.next_token #=> String
|
1563
|
+
#
|
1564
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListOrganizationInsights AWS API Documentation
|
1565
|
+
#
|
1566
|
+
# @overload list_organization_insights(params = {})
|
1567
|
+
# @param [Hash] params ({})
|
1568
|
+
def list_organization_insights(params = {}, options = {})
|
1569
|
+
req = build_request(:list_organization_insights, params)
|
1570
|
+
req.send_request(options)
|
1571
|
+
end
|
1572
|
+
|
1081
1573
|
# Returns a list of a specified insight's recommendations. Each
|
1082
1574
|
# recommendation includes a list of related metrics and a list of
|
1083
1575
|
# related events.
|
@@ -1092,6 +1584,9 @@ module Aws::DevOpsGuru
|
|
1092
1584
|
# @option params [String] :locale
|
1093
1585
|
# A locale that specifies the language to use for recommendations.
|
1094
1586
|
#
|
1587
|
+
# @option params [String] :account_id
|
1588
|
+
# The ID of the Amazon Web Services account.
|
1589
|
+
#
|
1095
1590
|
# @return [Types::ListRecommendationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1096
1591
|
#
|
1097
1592
|
# * {Types::ListRecommendationsResponse#recommendations #recommendations} => Array<Types::Recommendation>
|
@@ -1105,6 +1600,7 @@ module Aws::DevOpsGuru
|
|
1105
1600
|
# insight_id: "InsightId", # required
|
1106
1601
|
# next_token: "UuidNextToken",
|
1107
1602
|
# locale: "DE_DE", # accepts DE_DE, EN_US, EN_GB, ES_ES, FR_FR, IT_IT, JA_JP, KO_KR, PT_BR, ZH_CN, ZH_TW
|
1603
|
+
# account_id: "AwsAccountId",
|
1108
1604
|
# })
|
1109
1605
|
#
|
1110
1606
|
# @example Response structure
|
@@ -1127,6 +1623,7 @@ module Aws::DevOpsGuru
|
|
1127
1623
|
# resp.recommendations[0].related_anomalies[0].source_details[0].cloud_watch_metrics #=> Array
|
1128
1624
|
# resp.recommendations[0].related_anomalies[0].source_details[0].cloud_watch_metrics[0].metric_name #=> String
|
1129
1625
|
# resp.recommendations[0].related_anomalies[0].source_details[0].cloud_watch_metrics[0].namespace #=> String
|
1626
|
+
# resp.recommendations[0].related_anomalies[0].anomaly_id #=> String
|
1130
1627
|
# resp.next_token #=> String
|
1131
1628
|
#
|
1132
1629
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListRecommendations AWS API Documentation
|
@@ -1188,10 +1685,11 @@ module Aws::DevOpsGuru
|
|
1188
1685
|
req.send_request(options)
|
1189
1686
|
end
|
1190
1687
|
|
1191
|
-
# Returns a list of insights in your
|
1192
|
-
# insights are returned by their start time, one or
|
1193
|
-
# (`ONGOING`, `CLOSED`, and `CLOSED`), one or more
|
1194
|
-
# `MEDIUM`, and `HIGH`), and type (`REACTIVE` or
|
1688
|
+
# Returns a list of insights in your Amazon Web Services account. You
|
1689
|
+
# can specify which insights are returned by their start time, one or
|
1690
|
+
# more statuses (`ONGOING`, `CLOSED`, and `CLOSED`), one or more
|
1691
|
+
# severities (`LOW`, `MEDIUM`, and `HIGH`), and type (`REACTIVE` or
|
1692
|
+
# `PROACTIVE`).
|
1195
1693
|
#
|
1196
1694
|
# Use the `Filters` parameter to specify status and severity search
|
1197
1695
|
# parameters. Use the `Type` parameter to specify `REACTIVE` or
|
@@ -1240,6 +1738,12 @@ module Aws::DevOpsGuru
|
|
1240
1738
|
# cloud_formation: {
|
1241
1739
|
# stack_names: ["StackName"],
|
1242
1740
|
# },
|
1741
|
+
# tags: [
|
1742
|
+
# {
|
1743
|
+
# app_boundary_key: "AppBoundaryKey", # required
|
1744
|
+
# tag_values: ["TagValue"], # required
|
1745
|
+
# },
|
1746
|
+
# ],
|
1243
1747
|
# },
|
1244
1748
|
# service_collection: {
|
1245
1749
|
# 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
|
@@ -1263,8 +1767,14 @@ module Aws::DevOpsGuru
|
|
1263
1767
|
# resp.proactive_insights[0].prediction_time_range.end_time #=> Time
|
1264
1768
|
# resp.proactive_insights[0].resource_collection.cloud_formation.stack_names #=> Array
|
1265
1769
|
# resp.proactive_insights[0].resource_collection.cloud_formation.stack_names[0] #=> String
|
1770
|
+
# resp.proactive_insights[0].resource_collection.tags #=> Array
|
1771
|
+
# resp.proactive_insights[0].resource_collection.tags[0].app_boundary_key #=> String
|
1772
|
+
# resp.proactive_insights[0].resource_collection.tags[0].tag_values #=> Array
|
1773
|
+
# resp.proactive_insights[0].resource_collection.tags[0].tag_values[0] #=> String
|
1266
1774
|
# resp.proactive_insights[0].service_collection.service_names #=> Array
|
1267
1775
|
# 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"
|
1776
|
+
# resp.proactive_insights[0].associated_resource_arns #=> Array
|
1777
|
+
# resp.proactive_insights[0].associated_resource_arns[0] #=> String
|
1268
1778
|
# resp.reactive_insights #=> Array
|
1269
1779
|
# resp.reactive_insights[0].id #=> String
|
1270
1780
|
# resp.reactive_insights[0].name #=> String
|
@@ -1274,8 +1784,14 @@ module Aws::DevOpsGuru
|
|
1274
1784
|
# resp.reactive_insights[0].insight_time_range.end_time #=> Time
|
1275
1785
|
# resp.reactive_insights[0].resource_collection.cloud_formation.stack_names #=> Array
|
1276
1786
|
# resp.reactive_insights[0].resource_collection.cloud_formation.stack_names[0] #=> String
|
1787
|
+
# resp.reactive_insights[0].resource_collection.tags #=> Array
|
1788
|
+
# resp.reactive_insights[0].resource_collection.tags[0].app_boundary_key #=> String
|
1789
|
+
# resp.reactive_insights[0].resource_collection.tags[0].tag_values #=> Array
|
1790
|
+
# resp.reactive_insights[0].resource_collection.tags[0].tag_values[0] #=> String
|
1277
1791
|
# resp.reactive_insights[0].service_collection.service_names #=> Array
|
1278
1792
|
# 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"
|
1793
|
+
# resp.reactive_insights[0].associated_resource_arns #=> Array
|
1794
|
+
# resp.reactive_insights[0].associated_resource_arns[0] #=> String
|
1279
1795
|
# resp.next_token #=> String
|
1280
1796
|
#
|
1281
1797
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/SearchInsights AWS API Documentation
|
@@ -1287,12 +1803,133 @@ module Aws::DevOpsGuru
|
|
1287
1803
|
req.send_request(options)
|
1288
1804
|
end
|
1289
1805
|
|
1806
|
+
# Returns a list of insights in your organization. You can specify which
|
1807
|
+
# insights are returned by their start time, one or more statuses
|
1808
|
+
# (`ONGOING`, `CLOSED`, and `CLOSED`), one or more severities (`LOW`,
|
1809
|
+
# `MEDIUM`, and `HIGH`), and type (`REACTIVE` or `PROACTIVE`).
|
1810
|
+
#
|
1811
|
+
# Use the `Filters` parameter to specify status and severity search
|
1812
|
+
# parameters. Use the `Type` parameter to specify `REACTIVE` or
|
1813
|
+
# `PROACTIVE` in your search.
|
1814
|
+
#
|
1815
|
+
# @option params [required, Array<String>] :account_ids
|
1816
|
+
# The ID of the Amazon Web Services account.
|
1817
|
+
#
|
1818
|
+
# @option params [required, Types::StartTimeRange] :start_time_range
|
1819
|
+
# A time range used to specify when the behavior of an insight or
|
1820
|
+
# anomaly started.
|
1821
|
+
#
|
1822
|
+
# @option params [Types::SearchOrganizationInsightsFilters] :filters
|
1823
|
+
# A `SearchOrganizationInsightsFilters` object that is used to set the
|
1824
|
+
# severity and status filters on your insight search.
|
1825
|
+
#
|
1826
|
+
# @option params [Integer] :max_results
|
1827
|
+
# The maximum number of results to return with a single call. To
|
1828
|
+
# retrieve the remaining results, make another call with the returned
|
1829
|
+
# `nextToken` value.
|
1830
|
+
#
|
1831
|
+
# @option params [String] :next_token
|
1832
|
+
# The pagination token to use to retrieve the next page of results for
|
1833
|
+
# this operation. If this value is null, it retrieves the first page.
|
1834
|
+
#
|
1835
|
+
# @option params [required, String] :type
|
1836
|
+
# The type of insights you are searching for (`REACTIVE` or
|
1837
|
+
# `PROACTIVE`).
|
1838
|
+
#
|
1839
|
+
# @return [Types::SearchOrganizationInsightsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1840
|
+
#
|
1841
|
+
# * {Types::SearchOrganizationInsightsResponse#proactive_insights #proactive_insights} => Array<Types::ProactiveInsightSummary>
|
1842
|
+
# * {Types::SearchOrganizationInsightsResponse#reactive_insights #reactive_insights} => Array<Types::ReactiveInsightSummary>
|
1843
|
+
# * {Types::SearchOrganizationInsightsResponse#next_token #next_token} => String
|
1844
|
+
#
|
1845
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1846
|
+
#
|
1847
|
+
# @example Request syntax with placeholder values
|
1848
|
+
#
|
1849
|
+
# resp = client.search_organization_insights({
|
1850
|
+
# account_ids: ["AwsAccountId"], # required
|
1851
|
+
# start_time_range: { # required
|
1852
|
+
# from_time: Time.now,
|
1853
|
+
# to_time: Time.now,
|
1854
|
+
# },
|
1855
|
+
# filters: {
|
1856
|
+
# severities: ["LOW"], # accepts LOW, MEDIUM, HIGH
|
1857
|
+
# statuses: ["ONGOING"], # accepts ONGOING, CLOSED
|
1858
|
+
# resource_collection: {
|
1859
|
+
# cloud_formation: {
|
1860
|
+
# stack_names: ["StackName"],
|
1861
|
+
# },
|
1862
|
+
# tags: [
|
1863
|
+
# {
|
1864
|
+
# app_boundary_key: "AppBoundaryKey", # required
|
1865
|
+
# tag_values: ["TagValue"], # required
|
1866
|
+
# },
|
1867
|
+
# ],
|
1868
|
+
# },
|
1869
|
+
# service_collection: {
|
1870
|
+
# 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
|
1871
|
+
# },
|
1872
|
+
# },
|
1873
|
+
# max_results: 1,
|
1874
|
+
# next_token: "UuidNextToken",
|
1875
|
+
# type: "REACTIVE", # required, accepts REACTIVE, PROACTIVE
|
1876
|
+
# })
|
1877
|
+
#
|
1878
|
+
# @example Response structure
|
1879
|
+
#
|
1880
|
+
# resp.proactive_insights #=> Array
|
1881
|
+
# resp.proactive_insights[0].id #=> String
|
1882
|
+
# resp.proactive_insights[0].name #=> String
|
1883
|
+
# resp.proactive_insights[0].severity #=> String, one of "LOW", "MEDIUM", "HIGH"
|
1884
|
+
# resp.proactive_insights[0].status #=> String, one of "ONGOING", "CLOSED"
|
1885
|
+
# resp.proactive_insights[0].insight_time_range.start_time #=> Time
|
1886
|
+
# resp.proactive_insights[0].insight_time_range.end_time #=> Time
|
1887
|
+
# resp.proactive_insights[0].prediction_time_range.start_time #=> Time
|
1888
|
+
# resp.proactive_insights[0].prediction_time_range.end_time #=> Time
|
1889
|
+
# resp.proactive_insights[0].resource_collection.cloud_formation.stack_names #=> Array
|
1890
|
+
# resp.proactive_insights[0].resource_collection.cloud_formation.stack_names[0] #=> String
|
1891
|
+
# resp.proactive_insights[0].resource_collection.tags #=> Array
|
1892
|
+
# resp.proactive_insights[0].resource_collection.tags[0].app_boundary_key #=> String
|
1893
|
+
# resp.proactive_insights[0].resource_collection.tags[0].tag_values #=> Array
|
1894
|
+
# resp.proactive_insights[0].resource_collection.tags[0].tag_values[0] #=> String
|
1895
|
+
# resp.proactive_insights[0].service_collection.service_names #=> Array
|
1896
|
+
# 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"
|
1897
|
+
# resp.proactive_insights[0].associated_resource_arns #=> Array
|
1898
|
+
# resp.proactive_insights[0].associated_resource_arns[0] #=> String
|
1899
|
+
# resp.reactive_insights #=> Array
|
1900
|
+
# resp.reactive_insights[0].id #=> String
|
1901
|
+
# resp.reactive_insights[0].name #=> String
|
1902
|
+
# resp.reactive_insights[0].severity #=> String, one of "LOW", "MEDIUM", "HIGH"
|
1903
|
+
# resp.reactive_insights[0].status #=> String, one of "ONGOING", "CLOSED"
|
1904
|
+
# resp.reactive_insights[0].insight_time_range.start_time #=> Time
|
1905
|
+
# resp.reactive_insights[0].insight_time_range.end_time #=> Time
|
1906
|
+
# resp.reactive_insights[0].resource_collection.cloud_formation.stack_names #=> Array
|
1907
|
+
# resp.reactive_insights[0].resource_collection.cloud_formation.stack_names[0] #=> String
|
1908
|
+
# resp.reactive_insights[0].resource_collection.tags #=> Array
|
1909
|
+
# resp.reactive_insights[0].resource_collection.tags[0].app_boundary_key #=> String
|
1910
|
+
# resp.reactive_insights[0].resource_collection.tags[0].tag_values #=> Array
|
1911
|
+
# resp.reactive_insights[0].resource_collection.tags[0].tag_values[0] #=> String
|
1912
|
+
# resp.reactive_insights[0].service_collection.service_names #=> Array
|
1913
|
+
# 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"
|
1914
|
+
# resp.reactive_insights[0].associated_resource_arns #=> Array
|
1915
|
+
# resp.reactive_insights[0].associated_resource_arns[0] #=> String
|
1916
|
+
# resp.next_token #=> String
|
1917
|
+
#
|
1918
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/SearchOrganizationInsights AWS API Documentation
|
1919
|
+
#
|
1920
|
+
# @overload search_organization_insights(params = {})
|
1921
|
+
# @param [Hash] params ({})
|
1922
|
+
def search_organization_insights(params = {}, options = {})
|
1923
|
+
req = build_request(:search_organization_insights, params)
|
1924
|
+
req.send_request(options)
|
1925
|
+
end
|
1926
|
+
|
1290
1927
|
# Starts the creation of an estimate of the monthly cost to analyze your
|
1291
|
-
#
|
1928
|
+
# Amazon Web Services resources.
|
1292
1929
|
#
|
1293
1930
|
# @option params [required, Types::CostEstimationResourceCollectionFilter] :resource_collection
|
1294
|
-
# The collection of
|
1295
|
-
# cost estimate.
|
1931
|
+
# The collection of Amazon Web Services resources used to create a
|
1932
|
+
# monthly DevOps Guru cost estimate.
|
1296
1933
|
#
|
1297
1934
|
# @option params [String] :client_token
|
1298
1935
|
# The idempotency token used to identify each cost estimate request.
|
@@ -1309,6 +1946,12 @@ module Aws::DevOpsGuru
|
|
1309
1946
|
# cloud_formation: {
|
1310
1947
|
# stack_names: ["StackName"],
|
1311
1948
|
# },
|
1949
|
+
# tags: [
|
1950
|
+
# {
|
1951
|
+
# app_boundary_key: "AppBoundaryKey", # required
|
1952
|
+
# tag_values: ["TagValue"], # required
|
1953
|
+
# },
|
1954
|
+
# ],
|
1312
1955
|
# },
|
1313
1956
|
# client_token: "ClientToken",
|
1314
1957
|
# })
|
@@ -1322,19 +1965,22 @@ module Aws::DevOpsGuru
|
|
1322
1965
|
req.send_request(options)
|
1323
1966
|
end
|
1324
1967
|
|
1325
|
-
# Updates the collection of resources that DevOps Guru analyzes. The
|
1326
|
-
#
|
1327
|
-
#
|
1328
|
-
#
|
1329
|
-
#
|
1330
|
-
#
|
1968
|
+
# Updates the collection of resources that DevOps Guru analyzes. The two
|
1969
|
+
# types of Amazon Web Services resource collections supported are Amazon
|
1970
|
+
# Web Services CloudFormation stacks and Amazon Web Services resources
|
1971
|
+
# that contain the same Amazon Web Services tag. DevOps Guru can be
|
1972
|
+
# configured to analyze the Amazon Web Services resources that are
|
1973
|
+
# defined in the stacks or that are tagged using the same tag *key*. You
|
1974
|
+
# can specify up to 500 Amazon Web Services CloudFormation stacks. This
|
1975
|
+
# method also creates the IAM role required for you to use DevOps Guru.
|
1331
1976
|
#
|
1332
1977
|
# @option params [required, String] :action
|
1333
1978
|
# Specifies if the resource collection in the request is added or
|
1334
1979
|
# deleted to the resource collection.
|
1335
1980
|
#
|
1336
1981
|
# @option params [required, Types::UpdateResourceCollectionFilter] :resource_collection
|
1337
|
-
# Contains information used to update a collection of
|
1982
|
+
# Contains information used to update a collection of Amazon Web
|
1983
|
+
# Services resources.
|
1338
1984
|
#
|
1339
1985
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1340
1986
|
#
|
@@ -1346,6 +1992,12 @@ module Aws::DevOpsGuru
|
|
1346
1992
|
# cloud_formation: {
|
1347
1993
|
# stack_names: ["StackName"],
|
1348
1994
|
# },
|
1995
|
+
# tags: [
|
1996
|
+
# {
|
1997
|
+
# app_boundary_key: "AppBoundaryKey", # required
|
1998
|
+
# tag_values: ["TagValue"], # required
|
1999
|
+
# },
|
2000
|
+
# ],
|
1349
2001
|
# },
|
1350
2002
|
# })
|
1351
2003
|
#
|
@@ -1360,8 +2012,8 @@ module Aws::DevOpsGuru
|
|
1360
2012
|
|
1361
2013
|
# Enables or disables integration with a service that can be integrated
|
1362
2014
|
# with DevOps Guru. The one service that can be integrated with DevOps
|
1363
|
-
# Guru is
|
1364
|
-
# for each generated insight.
|
2015
|
+
# Guru is Amazon Web Services Systems Manager, which can be used to
|
2016
|
+
# create an OpsItem for each generated insight.
|
1365
2017
|
#
|
1366
2018
|
# @option params [required, Types::UpdateServiceIntegrationConfig] :service_integration
|
1367
2019
|
# An `IntegratedServiceConfig` object used to specify the integrated
|
@@ -1402,7 +2054,7 @@ module Aws::DevOpsGuru
|
|
1402
2054
|
params: params,
|
1403
2055
|
config: config)
|
1404
2056
|
context[:gem_name] = 'aws-sdk-devopsguru'
|
1405
|
-
context[:gem_version] = '1.
|
2057
|
+
context[:gem_version] = '1.17.0'
|
1406
2058
|
Seahorse::Client::Request.new(handlers, context)
|
1407
2059
|
end
|
1408
2060
|
|