aws-sdk-devopsguru 1.13.0 → 1.14.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.
@@ -346,10 +346,11 @@ module Aws::DevOpsGuru
346
346
  # notifications using Amazon SNS in your account. For more information,
347
347
  # see [Permissions for cross account Amazon SNS topics][1].
348
348
  #
349
- # If you use an Amazon SNS topic that is encrypted by an AWS Key
350
- # Management Service customer-managed key (CMK), then you must add
351
- # permissions to the CMK. For more information, see [Permissions for AWS
352
- # KMS–encrypted Amazon SNS topics][2].
349
+ # If you use an Amazon SNS topic that is encrypted by an Amazon Web
350
+ # Services Key Management Service customer-managed key (CMK), then you
351
+ # must add permissions to the CMK. For more information, see
352
+ # [Permissions for Amazon Web Services KMS–encrypted Amazon SNS
353
+ # topics][2].
353
354
  #
354
355
  #
355
356
  #
@@ -389,9 +390,9 @@ module Aws::DevOpsGuru
389
390
  end
390
391
 
391
392
  # Returns the number of open reactive insights, the number of open
392
- # proactive insights, and the number of metrics analyzed in your AWS
393
- # account. Use these numbers to gauge the health of operations in your
394
- # AWS account.
393
+ # proactive insights, and the number of metrics analyzed in your Amazon
394
+ # Web Services account. Use these numbers to gauge the health of
395
+ # operations in your Amazon Web Services account.
395
396
  #
396
397
  # @return [Types::DescribeAccountHealthResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
397
398
  #
@@ -465,6 +466,9 @@ module Aws::DevOpsGuru
465
466
  # @option params [required, String] :id
466
467
  # The ID of the anomaly.
467
468
  #
469
+ # @option params [String] :account_id
470
+ # The ID of the member account.
471
+ #
468
472
  # @return [Types::DescribeAnomalyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
469
473
  #
470
474
  # * {Types::DescribeAnomalyResponse#proactive_anomaly #proactive_anomaly} => Types::ProactiveAnomaly
@@ -474,6 +478,7 @@ module Aws::DevOpsGuru
474
478
  #
475
479
  # resp = client.describe_anomaly({
476
480
  # id: "AnomalyId", # required
481
+ # account_id: "AwsAccountId",
477
482
  # })
478
483
  #
479
484
  # @example Response structure
@@ -497,6 +502,10 @@ module Aws::DevOpsGuru
497
502
  # resp.proactive_anomaly.source_details.cloud_watch_metrics[0].stat #=> String, one of "Sum", "Average", "SampleCount", "Minimum", "Maximum", "p99", "p90", "p50"
498
503
  # resp.proactive_anomaly.source_details.cloud_watch_metrics[0].unit #=> String
499
504
  # resp.proactive_anomaly.source_details.cloud_watch_metrics[0].period #=> Integer
505
+ # resp.proactive_anomaly.source_details.cloud_watch_metrics[0].metric_data_summary.timestamp_metric_value_pair_list #=> Array
506
+ # resp.proactive_anomaly.source_details.cloud_watch_metrics[0].metric_data_summary.timestamp_metric_value_pair_list[0].timestamp #=> Time
507
+ # resp.proactive_anomaly.source_details.cloud_watch_metrics[0].metric_data_summary.timestamp_metric_value_pair_list[0].metric_value #=> Float
508
+ # resp.proactive_anomaly.source_details.cloud_watch_metrics[0].metric_data_summary.status_code #=> String, one of "Complete", "InternalError", "PartialData"
500
509
  # resp.proactive_anomaly.associated_insight_id #=> String
501
510
  # resp.proactive_anomaly.resource_collection.cloud_formation.stack_names #=> Array
502
511
  # resp.proactive_anomaly.resource_collection.cloud_formation.stack_names[0] #=> String
@@ -517,6 +526,10 @@ module Aws::DevOpsGuru
517
526
  # resp.reactive_anomaly.source_details.cloud_watch_metrics[0].stat #=> String, one of "Sum", "Average", "SampleCount", "Minimum", "Maximum", "p99", "p90", "p50"
518
527
  # resp.reactive_anomaly.source_details.cloud_watch_metrics[0].unit #=> String
519
528
  # resp.reactive_anomaly.source_details.cloud_watch_metrics[0].period #=> Integer
529
+ # resp.reactive_anomaly.source_details.cloud_watch_metrics[0].metric_data_summary.timestamp_metric_value_pair_list #=> Array
530
+ # resp.reactive_anomaly.source_details.cloud_watch_metrics[0].metric_data_summary.timestamp_metric_value_pair_list[0].timestamp #=> Time
531
+ # resp.reactive_anomaly.source_details.cloud_watch_metrics[0].metric_data_summary.timestamp_metric_value_pair_list[0].metric_value #=> Float
532
+ # resp.reactive_anomaly.source_details.cloud_watch_metrics[0].metric_data_summary.status_code #=> String, one of "Complete", "InternalError", "PartialData"
520
533
  # resp.reactive_anomaly.associated_insight_id #=> String
521
534
  # resp.reactive_anomaly.resource_collection.cloud_formation.stack_names #=> Array
522
535
  # resp.reactive_anomaly.resource_collection.cloud_formation.stack_names[0] #=> String
@@ -530,8 +543,8 @@ module Aws::DevOpsGuru
530
543
  req.send_request(options)
531
544
  end
532
545
 
533
- # Returns the most recent feedback submitted in the current AWS account
534
- # and Region.
546
+ # Returns the most recent feedback submitted in the current Amazon Web
547
+ # Services account and Region.
535
548
  #
536
549
  # @option params [String] :insight_id
537
550
  # The ID of the insight for which the feedback was provided.
@@ -565,6 +578,9 @@ module Aws::DevOpsGuru
565
578
  # @option params [required, String] :id
566
579
  # The ID of the insight.
567
580
  #
581
+ # @option params [String] :account_id
582
+ # The ID of the member account in the organization.
583
+ #
568
584
  # @return [Types::DescribeInsightResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
569
585
  #
570
586
  # * {Types::DescribeInsightResponse#proactive_insight #proactive_insight} => Types::ProactiveInsight
@@ -574,6 +590,7 @@ module Aws::DevOpsGuru
574
590
  #
575
591
  # resp = client.describe_insight({
576
592
  # id: "InsightId", # required
593
+ # account_id: "AwsAccountId",
577
594
  # })
578
595
  #
579
596
  # @example Response structure
@@ -608,20 +625,184 @@ module Aws::DevOpsGuru
608
625
  req.send_request(options)
609
626
  end
610
627
 
628
+ # Returns active insights, predictive insights, and resource hours
629
+ # analyzed in last hour.
630
+ #
631
+ # @option params [Array<String>] :account_ids
632
+ # The ID of the Amazon Web Services account.
633
+ #
634
+ # @option params [Array<String>] :organizational_unit_ids
635
+ # The ID of the organizational unit.
636
+ #
637
+ # @return [Types::DescribeOrganizationHealthResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
638
+ #
639
+ # * {Types::DescribeOrganizationHealthResponse#open_reactive_insights #open_reactive_insights} => Integer
640
+ # * {Types::DescribeOrganizationHealthResponse#open_proactive_insights #open_proactive_insights} => Integer
641
+ # * {Types::DescribeOrganizationHealthResponse#metrics_analyzed #metrics_analyzed} => Integer
642
+ # * {Types::DescribeOrganizationHealthResponse#resource_hours #resource_hours} => Integer
643
+ #
644
+ # @example Request syntax with placeholder values
645
+ #
646
+ # resp = client.describe_organization_health({
647
+ # account_ids: ["AwsAccountId"],
648
+ # organizational_unit_ids: ["OrganizationalUnitId"],
649
+ # })
650
+ #
651
+ # @example Response structure
652
+ #
653
+ # resp.open_reactive_insights #=> Integer
654
+ # resp.open_proactive_insights #=> Integer
655
+ # resp.metrics_analyzed #=> Integer
656
+ # resp.resource_hours #=> Integer
657
+ #
658
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeOrganizationHealth AWS API Documentation
659
+ #
660
+ # @overload describe_organization_health(params = {})
661
+ # @param [Hash] params ({})
662
+ def describe_organization_health(params = {}, options = {})
663
+ req = build_request(:describe_organization_health, params)
664
+ req.send_request(options)
665
+ end
666
+
667
+ # Returns an overview of your organization's history based on the
668
+ # specified time range. The overview includes the total reactive and
669
+ # proactive insights.
670
+ #
671
+ # @option params [required, Time,DateTime,Date,Integer,String] :from_time
672
+ # The start of the time range passed in. The start time granularity is
673
+ # at the day level. The floor of the start time is used. Returned
674
+ # information occurred after this day.
675
+ #
676
+ # @option params [Time,DateTime,Date,Integer,String] :to_time
677
+ # The end of the time range passed in. The start time granularity is at
678
+ # the day level. The floor of the start time is used. Returned
679
+ # information occurred before this day. If this is not specified, then
680
+ # the current day is used.
681
+ #
682
+ # @option params [Array<String>] :account_ids
683
+ # The ID of the Amazon Web Services account.
684
+ #
685
+ # @option params [Array<String>] :organizational_unit_ids
686
+ # The ID of the organizational unit.
687
+ #
688
+ # @return [Types::DescribeOrganizationOverviewResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
689
+ #
690
+ # * {Types::DescribeOrganizationOverviewResponse#reactive_insights #reactive_insights} => Integer
691
+ # * {Types::DescribeOrganizationOverviewResponse#proactive_insights #proactive_insights} => Integer
692
+ #
693
+ # @example Request syntax with placeholder values
694
+ #
695
+ # resp = client.describe_organization_overview({
696
+ # from_time: Time.now, # required
697
+ # to_time: Time.now,
698
+ # account_ids: ["AwsAccountId"],
699
+ # organizational_unit_ids: ["OrganizationalUnitId"],
700
+ # })
701
+ #
702
+ # @example Response structure
703
+ #
704
+ # resp.reactive_insights #=> Integer
705
+ # resp.proactive_insights #=> Integer
706
+ #
707
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeOrganizationOverview AWS API Documentation
708
+ #
709
+ # @overload describe_organization_overview(params = {})
710
+ # @param [Hash] params ({})
711
+ def describe_organization_overview(params = {}, options = {})
712
+ req = build_request(:describe_organization_overview, params)
713
+ req.send_request(options)
714
+ end
715
+
716
+ # Provides an overview of your system's health. If additional member
717
+ # accounts are part of your organization, you can filter those accounts
718
+ # using the `AccountIds` field.
719
+ #
720
+ # @option params [required, String] :organization_resource_collection_type
721
+ # An Amazon Web Services resource collection type. This type specifies
722
+ # how analyzed Amazon Web Services resources are defined. The one type
723
+ # of Amazon Web Services resource collection supported is Amazon Web
724
+ # Services CloudFormation stacks. DevOps Guru can be configured to
725
+ # analyze only the Amazon Web Services resources that are defined in the
726
+ # stacks. You can specify up to 500 Amazon Web Services CloudFormation
727
+ # stacks.
728
+ #
729
+ # @option params [Array<String>] :account_ids
730
+ # The ID of the Amazon Web Services account.
731
+ #
732
+ # @option params [Array<String>] :organizational_unit_ids
733
+ # The ID of the organizational unit.
734
+ #
735
+ # @option params [String] :next_token
736
+ # The pagination token to use to retrieve the next page of results for
737
+ # this operation. If this value is null, it retrieves the first page.
738
+ #
739
+ # @option params [Integer] :max_results
740
+ # The maximum number of results to return with a single call. To
741
+ # retrieve the remaining results, make another call with the returned
742
+ # `nextToken` value.
743
+ #
744
+ # @return [Types::DescribeOrganizationResourceCollectionHealthResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
745
+ #
746
+ # * {Types::DescribeOrganizationResourceCollectionHealthResponse#cloud_formation #cloud_formation} => Array&lt;Types::CloudFormationHealth&gt;
747
+ # * {Types::DescribeOrganizationResourceCollectionHealthResponse#service #service} => Array&lt;Types::ServiceHealth&gt;
748
+ # * {Types::DescribeOrganizationResourceCollectionHealthResponse#account #account} => Array&lt;Types::AccountHealth&gt;
749
+ # * {Types::DescribeOrganizationResourceCollectionHealthResponse#next_token #next_token} => String
750
+ #
751
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
752
+ #
753
+ # @example Request syntax with placeholder values
754
+ #
755
+ # resp = client.describe_organization_resource_collection_health({
756
+ # organization_resource_collection_type: "AWS_CLOUD_FORMATION", # required, accepts AWS_CLOUD_FORMATION, AWS_SERVICE, AWS_ACCOUNT
757
+ # account_ids: ["AwsAccountId"],
758
+ # organizational_unit_ids: ["OrganizationalUnitId"],
759
+ # next_token: "UuidNextToken",
760
+ # max_results: 1,
761
+ # })
762
+ #
763
+ # @example Response structure
764
+ #
765
+ # resp.cloud_formation #=> Array
766
+ # resp.cloud_formation[0].stack_name #=> String
767
+ # resp.cloud_formation[0].insight.open_proactive_insights #=> Integer
768
+ # resp.cloud_formation[0].insight.open_reactive_insights #=> Integer
769
+ # resp.cloud_formation[0].insight.mean_time_to_recover_in_milliseconds #=> Integer
770
+ # resp.service #=> Array
771
+ # 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"
772
+ # resp.service[0].insight.open_proactive_insights #=> Integer
773
+ # resp.service[0].insight.open_reactive_insights #=> Integer
774
+ # resp.account #=> Array
775
+ # resp.account[0].account_id #=> String
776
+ # resp.account[0].insight.open_proactive_insights #=> Integer
777
+ # resp.account[0].insight.open_reactive_insights #=> Integer
778
+ # resp.next_token #=> String
779
+ #
780
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeOrganizationResourceCollectionHealth AWS API Documentation
781
+ #
782
+ # @overload describe_organization_resource_collection_health(params = {})
783
+ # @param [Hash] params ({})
784
+ def describe_organization_resource_collection_health(params = {}, options = {})
785
+ req = build_request(:describe_organization_resource_collection_health, params)
786
+ req.send_request(options)
787
+ end
788
+
611
789
  # Returns the number of open proactive insights, open reactive insights,
612
790
  # and the Mean Time to Recover (MTTR) for all closed insights in
613
- # resource collections in your account. You specify the type of AWS
614
- # resources collection. The one type of AWS resource collection
615
- # supported is AWS CloudFormation stacks. DevOps Guru can be configured
616
- # to analyze only the AWS resources that are defined in the stacks. You
617
- # can specify up to 500 AWS CloudFormation stacks.
791
+ # resource collections in your account. You specify the type of Amazon
792
+ # Web Services resources collection. The one type of Amazon Web Services
793
+ # resource collection supported is Amazon Web Services CloudFormation
794
+ # stacks. DevOps Guru can be configured to analyze only the Amazon Web
795
+ # Services resources that are defined in the stacks. You can specify up
796
+ # to 500 Amazon Web Services CloudFormation stacks.
618
797
  #
619
798
  # @option params [required, String] :resource_collection_type
620
- # An AWS resource collection type. This type specifies how analyzed AWS
621
- # resources are defined. The one type of AWS resource collection
622
- # supported is AWS CloudFormation stacks. DevOps Guru can be configured
623
- # to analyze only the AWS resources that are defined in the stacks. You
624
- # can specify up to 500 AWS CloudFormation stacks.
799
+ # An Amazon Web Services resource collection type. This type specifies
800
+ # how analyzed Amazon Web Services resources are defined. The one type
801
+ # of Amazon Web Services resource collection supported is Amazon Web
802
+ # Services CloudFormation stacks. DevOps Guru can be configured to
803
+ # analyze only the Amazon Web Services resources that are defined in the
804
+ # stacks. You can specify up to 500 Amazon Web Services CloudFormation
805
+ # stacks.
625
806
  #
626
807
  # @option params [String] :next_token
627
808
  # The pagination token to use to retrieve the next page of results for
@@ -666,8 +847,8 @@ module Aws::DevOpsGuru
666
847
 
667
848
  # Returns the integration status of services that are integrated with
668
849
  # DevOps Guru. The one service that can be integrated with DevOps Guru
669
- # is AWS Systems Manager, which can be used to create an OpsItem for
670
- # each generated insight.
850
+ # is Amazon Web Services Systems Manager, which can be used to create an
851
+ # OpsItem for each generated insight.
671
852
  #
672
853
  # @return [Types::DescribeServiceIntegrationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
673
854
  #
@@ -687,8 +868,9 @@ module Aws::DevOpsGuru
687
868
  end
688
869
 
689
870
  # Returns an estimate of the monthly cost for DevOps Guru to analyze
690
- # your AWS resources. For more information, see [Estimate your Amazon
691
- # DevOps Guru costs][1] and [Amazon DevOps Guru pricing][2].
871
+ # your Amazon Web Services resources. For more information, see
872
+ # [Estimate your Amazon DevOps Guru costs][1] and [Amazon DevOps Guru
873
+ # pricing][2].
692
874
  #
693
875
  #
694
876
  #
@@ -741,15 +923,17 @@ module Aws::DevOpsGuru
741
923
  req.send_request(options)
742
924
  end
743
925
 
744
- # Returns lists AWS resources that are of the specified resource
745
- # collection type. The one type of AWS resource collection supported is
746
- # AWS CloudFormation stacks. DevOps Guru can be configured to analyze
747
- # only the AWS resources that are defined in the stacks. You can specify
748
- # up to 500 AWS CloudFormation stacks.
926
+ # Returns lists Amazon Web Services resources that are of the specified
927
+ # resource collection type. The one type of Amazon Web Services resource
928
+ # collection supported is Amazon Web Services CloudFormation stacks.
929
+ # DevOps Guru can be configured to analyze only the Amazon Web Services
930
+ # resources that are defined in the stacks. You can specify up to 500
931
+ # Amazon Web Services CloudFormation stacks.
749
932
  #
750
933
  # @option params [required, String] :resource_collection_type
751
- # The type of AWS resource collections to return. The one valid value is
752
- # `CLOUD_FORMATION` for AWS CloudFormation stacks.
934
+ # The type of Amazon Web Services resource collections to return. The
935
+ # one valid value is `CLOUD_FORMATION` for Amazon Web Services
936
+ # CloudFormation stacks.
753
937
  #
754
938
  # @option params [String] :next_token
755
939
  # The pagination token to use to retrieve the next page of results for
@@ -803,6 +987,9 @@ module Aws::DevOpsGuru
803
987
  # The pagination token to use to retrieve the next page of results for
804
988
  # this operation. If this value is null, it retrieves the first page.
805
989
  #
990
+ # @option params [String] :account_id
991
+ # The ID of the Amazon Web Services account.
992
+ #
806
993
  # @return [Types::ListAnomaliesForInsightResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
807
994
  #
808
995
  # * {Types::ListAnomaliesForInsightResponse#proactive_anomalies #proactive_anomalies} => Array&lt;Types::ProactiveAnomalySummary&gt;
@@ -821,6 +1008,7 @@ module Aws::DevOpsGuru
821
1008
  # },
822
1009
  # max_results: 1,
823
1010
  # next_token: "UuidNextToken",
1011
+ # account_id: "AwsAccountId",
824
1012
  # })
825
1013
  #
826
1014
  # @example Response structure
@@ -845,6 +1033,10 @@ module Aws::DevOpsGuru
845
1033
  # resp.proactive_anomalies[0].source_details.cloud_watch_metrics[0].stat #=> String, one of "Sum", "Average", "SampleCount", "Minimum", "Maximum", "p99", "p90", "p50"
846
1034
  # resp.proactive_anomalies[0].source_details.cloud_watch_metrics[0].unit #=> String
847
1035
  # resp.proactive_anomalies[0].source_details.cloud_watch_metrics[0].period #=> Integer
1036
+ # resp.proactive_anomalies[0].source_details.cloud_watch_metrics[0].metric_data_summary.timestamp_metric_value_pair_list #=> Array
1037
+ # resp.proactive_anomalies[0].source_details.cloud_watch_metrics[0].metric_data_summary.timestamp_metric_value_pair_list[0].timestamp #=> Time
1038
+ # resp.proactive_anomalies[0].source_details.cloud_watch_metrics[0].metric_data_summary.timestamp_metric_value_pair_list[0].metric_value #=> Float
1039
+ # resp.proactive_anomalies[0].source_details.cloud_watch_metrics[0].metric_data_summary.status_code #=> String, one of "Complete", "InternalError", "PartialData"
848
1040
  # resp.proactive_anomalies[0].associated_insight_id #=> String
849
1041
  # resp.proactive_anomalies[0].resource_collection.cloud_formation.stack_names #=> Array
850
1042
  # resp.proactive_anomalies[0].resource_collection.cloud_formation.stack_names[0] #=> String
@@ -866,6 +1058,10 @@ module Aws::DevOpsGuru
866
1058
  # resp.reactive_anomalies[0].source_details.cloud_watch_metrics[0].stat #=> String, one of "Sum", "Average", "SampleCount", "Minimum", "Maximum", "p99", "p90", "p50"
867
1059
  # resp.reactive_anomalies[0].source_details.cloud_watch_metrics[0].unit #=> String
868
1060
  # resp.reactive_anomalies[0].source_details.cloud_watch_metrics[0].period #=> Integer
1061
+ # resp.reactive_anomalies[0].source_details.cloud_watch_metrics[0].metric_data_summary.timestamp_metric_value_pair_list #=> Array
1062
+ # resp.reactive_anomalies[0].source_details.cloud_watch_metrics[0].metric_data_summary.timestamp_metric_value_pair_list[0].timestamp #=> Time
1063
+ # resp.reactive_anomalies[0].source_details.cloud_watch_metrics[0].metric_data_summary.timestamp_metric_value_pair_list[0].metric_value #=> Float
1064
+ # resp.reactive_anomalies[0].source_details.cloud_watch_metrics[0].metric_data_summary.status_code #=> String, one of "Complete", "InternalError", "PartialData"
869
1065
  # resp.reactive_anomalies[0].associated_insight_id #=> String
870
1066
  # resp.reactive_anomalies[0].resource_collection.cloud_formation.stack_names #=> Array
871
1067
  # resp.reactive_anomalies[0].resource_collection.cloud_formation.stack_names[0] #=> String
@@ -896,6 +1092,9 @@ module Aws::DevOpsGuru
896
1092
  # The pagination token to use to retrieve the next page of results for
897
1093
  # this operation. If this value is null, it retrieves the first page.
898
1094
  #
1095
+ # @option params [String] :account_id
1096
+ # The ID of the Amazon Web Services account.
1097
+ #
899
1098
  # @return [Types::ListEventsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
900
1099
  #
901
1100
  # * {Types::ListEventsResponse#events #events} => Array&lt;Types::Event&gt;
@@ -923,6 +1122,7 @@ module Aws::DevOpsGuru
923
1122
  # },
924
1123
  # max_results: 1,
925
1124
  # next_token: "UuidNextToken",
1125
+ # account_id: "AwsAccountId",
926
1126
  # })
927
1127
  #
928
1128
  # @example Response structure
@@ -951,9 +1151,9 @@ module Aws::DevOpsGuru
951
1151
  req.send_request(options)
952
1152
  end
953
1153
 
954
- # Returns a list of insights in your AWS account. You can specify which
955
- # insights are returned by their start time and status (`ONGOING`,
956
- # `CLOSED`, or `ANY`).
1154
+ # Returns a list of insights in your Amazon Web Services account. You
1155
+ # can specify which insights are returned by their start time and status
1156
+ # (`ONGOING`, `CLOSED`, or `ANY`).
957
1157
  #
958
1158
  # @option params [required, Types::ListInsightsStatusFilter] :status_filter
959
1159
  # A filter used to filter the returned insights by their status. You can
@@ -1078,6 +1278,103 @@ module Aws::DevOpsGuru
1078
1278
  req.send_request(options)
1079
1279
  end
1080
1280
 
1281
+ # Returns a list of insights associated with the account or OU Id.
1282
+ #
1283
+ # @option params [required, Types::ListInsightsStatusFilter] :status_filter
1284
+ # A filter used by `ListInsights` to specify which insights to return.
1285
+ #
1286
+ # @option params [Integer] :max_results
1287
+ # The maximum number of results to return with a single call. To
1288
+ # retrieve the remaining results, make another call with the returned
1289
+ # `nextToken` value.
1290
+ #
1291
+ # @option params [Array<String>] :account_ids
1292
+ # The ID of the Amazon Web Services account.
1293
+ #
1294
+ # @option params [Array<String>] :organizational_unit_ids
1295
+ # The ID of the organizational unit.
1296
+ #
1297
+ # @option params [String] :next_token
1298
+ # The pagination token to use to retrieve the next page of results for
1299
+ # this operation. If this value is null, it retrieves the first page.
1300
+ #
1301
+ # @return [Types::ListOrganizationInsightsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1302
+ #
1303
+ # * {Types::ListOrganizationInsightsResponse#proactive_insights #proactive_insights} => Array&lt;Types::ProactiveOrganizationInsightSummary&gt;
1304
+ # * {Types::ListOrganizationInsightsResponse#reactive_insights #reactive_insights} => Array&lt;Types::ReactiveOrganizationInsightSummary&gt;
1305
+ # * {Types::ListOrganizationInsightsResponse#next_token #next_token} => String
1306
+ #
1307
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1308
+ #
1309
+ # @example Request syntax with placeholder values
1310
+ #
1311
+ # resp = client.list_organization_insights({
1312
+ # status_filter: { # required
1313
+ # ongoing: {
1314
+ # type: "REACTIVE", # required, accepts REACTIVE, PROACTIVE
1315
+ # },
1316
+ # closed: {
1317
+ # type: "REACTIVE", # required, accepts REACTIVE, PROACTIVE
1318
+ # end_time_range: { # required
1319
+ # from_time: Time.now,
1320
+ # to_time: Time.now,
1321
+ # },
1322
+ # },
1323
+ # any: {
1324
+ # type: "REACTIVE", # required, accepts REACTIVE, PROACTIVE
1325
+ # start_time_range: { # required
1326
+ # from_time: Time.now,
1327
+ # to_time: Time.now,
1328
+ # },
1329
+ # },
1330
+ # },
1331
+ # max_results: 1,
1332
+ # account_ids: ["AwsAccountId"],
1333
+ # organizational_unit_ids: ["OrganizationalUnitId"],
1334
+ # next_token: "UuidNextToken",
1335
+ # })
1336
+ #
1337
+ # @example Response structure
1338
+ #
1339
+ # resp.proactive_insights #=> Array
1340
+ # resp.proactive_insights[0].id #=> String
1341
+ # resp.proactive_insights[0].account_id #=> String
1342
+ # resp.proactive_insights[0].organizational_unit_id #=> String
1343
+ # resp.proactive_insights[0].name #=> String
1344
+ # resp.proactive_insights[0].severity #=> String, one of "LOW", "MEDIUM", "HIGH"
1345
+ # resp.proactive_insights[0].status #=> String, one of "ONGOING", "CLOSED"
1346
+ # resp.proactive_insights[0].insight_time_range.start_time #=> Time
1347
+ # resp.proactive_insights[0].insight_time_range.end_time #=> Time
1348
+ # resp.proactive_insights[0].prediction_time_range.start_time #=> Time
1349
+ # resp.proactive_insights[0].prediction_time_range.end_time #=> Time
1350
+ # resp.proactive_insights[0].resource_collection.cloud_formation.stack_names #=> Array
1351
+ # resp.proactive_insights[0].resource_collection.cloud_formation.stack_names[0] #=> String
1352
+ # resp.proactive_insights[0].service_collection.service_names #=> Array
1353
+ # 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"
1354
+ # resp.reactive_insights #=> Array
1355
+ # resp.reactive_insights[0].id #=> String
1356
+ # resp.reactive_insights[0].account_id #=> String
1357
+ # resp.reactive_insights[0].organizational_unit_id #=> String
1358
+ # resp.reactive_insights[0].name #=> String
1359
+ # resp.reactive_insights[0].severity #=> String, one of "LOW", "MEDIUM", "HIGH"
1360
+ # resp.reactive_insights[0].status #=> String, one of "ONGOING", "CLOSED"
1361
+ # resp.reactive_insights[0].insight_time_range.start_time #=> Time
1362
+ # resp.reactive_insights[0].insight_time_range.end_time #=> Time
1363
+ # resp.reactive_insights[0].resource_collection.cloud_formation.stack_names #=> Array
1364
+ # resp.reactive_insights[0].resource_collection.cloud_formation.stack_names[0] #=> String
1365
+ # resp.reactive_insights[0].service_collection.service_names #=> Array
1366
+ # 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"
1367
+ # resp.next_token #=> String
1368
+ #
1369
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListOrganizationInsights AWS API Documentation
1370
+ #
1371
+ # @overload list_organization_insights(params = {})
1372
+ # @param [Hash] params ({})
1373
+ def list_organization_insights(params = {}, options = {})
1374
+ req = build_request(:list_organization_insights, params)
1375
+ req.send_request(options)
1376
+ end
1377
+
1081
1378
  # Returns a list of a specified insight's recommendations. Each
1082
1379
  # recommendation includes a list of related metrics and a list of
1083
1380
  # related events.
@@ -1092,6 +1389,9 @@ module Aws::DevOpsGuru
1092
1389
  # @option params [String] :locale
1093
1390
  # A locale that specifies the language to use for recommendations.
1094
1391
  #
1392
+ # @option params [String] :account_id
1393
+ # The ID of the Amazon Web Services account.
1394
+ #
1095
1395
  # @return [Types::ListRecommendationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1096
1396
  #
1097
1397
  # * {Types::ListRecommendationsResponse#recommendations #recommendations} => Array&lt;Types::Recommendation&gt;
@@ -1105,6 +1405,7 @@ module Aws::DevOpsGuru
1105
1405
  # insight_id: "InsightId", # required
1106
1406
  # next_token: "UuidNextToken",
1107
1407
  # 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
1408
+ # account_id: "AwsAccountId",
1108
1409
  # })
1109
1410
  #
1110
1411
  # @example Response structure
@@ -1188,10 +1489,11 @@ module Aws::DevOpsGuru
1188
1489
  req.send_request(options)
1189
1490
  end
1190
1491
 
1191
- # Returns a list of insights in your AWS account. You can specify which
1192
- # insights are returned by their start time, one or more statuses
1193
- # (`ONGOING`, `CLOSED`, and `CLOSED`), one or more severities (`LOW`,
1194
- # `MEDIUM`, and `HIGH`), and type (`REACTIVE` or `PROACTIVE`).
1492
+ # Returns a list of insights in your Amazon Web Services account. You
1493
+ # can specify which insights are returned by their start time, one or
1494
+ # more statuses (`ONGOING`, `CLOSED`, and `CLOSED`), one or more
1495
+ # severities (`LOW`, `MEDIUM`, and `HIGH`), and type (`REACTIVE` or
1496
+ # `PROACTIVE`).
1195
1497
  #
1196
1498
  # Use the `Filters` parameter to specify status and severity search
1197
1499
  # parameters. Use the `Type` parameter to specify `REACTIVE` or
@@ -1287,12 +1589,115 @@ module Aws::DevOpsGuru
1287
1589
  req.send_request(options)
1288
1590
  end
1289
1591
 
1592
+ # Returns a list of insights in your organization. You can specify which
1593
+ # insights are returned by their start time, one or more statuses
1594
+ # (`ONGOING`, `CLOSED`, and `CLOSED`), one or more severities (`LOW`,
1595
+ # `MEDIUM`, and `HIGH`), and type (`REACTIVE` or `PROACTIVE`).
1596
+ #
1597
+ # Use the `Filters` parameter to specify status and severity search
1598
+ # parameters. Use the `Type` parameter to specify `REACTIVE` or
1599
+ # `PROACTIVE` in your search.
1600
+ #
1601
+ # @option params [required, Array<String>] :account_ids
1602
+ # The ID of the Amazon Web Services account.
1603
+ #
1604
+ # @option params [required, Types::StartTimeRange] :start_time_range
1605
+ # A time range used to specify when the behavior of an insight or
1606
+ # anomaly started.
1607
+ #
1608
+ # @option params [Types::SearchOrganizationInsightsFilters] :filters
1609
+ # A `SearchOrganizationInsightsFilters` object that is used to set the
1610
+ # severity and status filters on your insight search.
1611
+ #
1612
+ # @option params [Integer] :max_results
1613
+ # The maximum number of results to return with a single call. To
1614
+ # retrieve the remaining results, make another call with the returned
1615
+ # `nextToken` value.
1616
+ #
1617
+ # @option params [String] :next_token
1618
+ # The pagination token to use to retrieve the next page of results for
1619
+ # this operation. If this value is null, it retrieves the first page.
1620
+ #
1621
+ # @option params [required, String] :type
1622
+ # The type of insights you are searching for (`REACTIVE` or
1623
+ # `PROACTIVE`).
1624
+ #
1625
+ # @return [Types::SearchOrganizationInsightsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1626
+ #
1627
+ # * {Types::SearchOrganizationInsightsResponse#proactive_insights #proactive_insights} => Array&lt;Types::ProactiveInsightSummary&gt;
1628
+ # * {Types::SearchOrganizationInsightsResponse#reactive_insights #reactive_insights} => Array&lt;Types::ReactiveInsightSummary&gt;
1629
+ # * {Types::SearchOrganizationInsightsResponse#next_token #next_token} => String
1630
+ #
1631
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1632
+ #
1633
+ # @example Request syntax with placeholder values
1634
+ #
1635
+ # resp = client.search_organization_insights({
1636
+ # account_ids: ["AwsAccountId"], # required
1637
+ # start_time_range: { # required
1638
+ # from_time: Time.now,
1639
+ # to_time: Time.now,
1640
+ # },
1641
+ # filters: {
1642
+ # severities: ["LOW"], # accepts LOW, MEDIUM, HIGH
1643
+ # statuses: ["ONGOING"], # accepts ONGOING, CLOSED
1644
+ # resource_collection: {
1645
+ # cloud_formation: {
1646
+ # stack_names: ["StackName"],
1647
+ # },
1648
+ # },
1649
+ # service_collection: {
1650
+ # 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
1651
+ # },
1652
+ # },
1653
+ # max_results: 1,
1654
+ # next_token: "UuidNextToken",
1655
+ # type: "REACTIVE", # required, accepts REACTIVE, PROACTIVE
1656
+ # })
1657
+ #
1658
+ # @example Response structure
1659
+ #
1660
+ # resp.proactive_insights #=> Array
1661
+ # resp.proactive_insights[0].id #=> String
1662
+ # resp.proactive_insights[0].name #=> String
1663
+ # resp.proactive_insights[0].severity #=> String, one of "LOW", "MEDIUM", "HIGH"
1664
+ # resp.proactive_insights[0].status #=> String, one of "ONGOING", "CLOSED"
1665
+ # resp.proactive_insights[0].insight_time_range.start_time #=> Time
1666
+ # resp.proactive_insights[0].insight_time_range.end_time #=> Time
1667
+ # resp.proactive_insights[0].prediction_time_range.start_time #=> Time
1668
+ # resp.proactive_insights[0].prediction_time_range.end_time #=> Time
1669
+ # resp.proactive_insights[0].resource_collection.cloud_formation.stack_names #=> Array
1670
+ # resp.proactive_insights[0].resource_collection.cloud_formation.stack_names[0] #=> String
1671
+ # resp.proactive_insights[0].service_collection.service_names #=> Array
1672
+ # 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"
1673
+ # resp.reactive_insights #=> Array
1674
+ # resp.reactive_insights[0].id #=> String
1675
+ # resp.reactive_insights[0].name #=> String
1676
+ # resp.reactive_insights[0].severity #=> String, one of "LOW", "MEDIUM", "HIGH"
1677
+ # resp.reactive_insights[0].status #=> String, one of "ONGOING", "CLOSED"
1678
+ # resp.reactive_insights[0].insight_time_range.start_time #=> Time
1679
+ # resp.reactive_insights[0].insight_time_range.end_time #=> Time
1680
+ # resp.reactive_insights[0].resource_collection.cloud_formation.stack_names #=> Array
1681
+ # resp.reactive_insights[0].resource_collection.cloud_formation.stack_names[0] #=> String
1682
+ # resp.reactive_insights[0].service_collection.service_names #=> Array
1683
+ # 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"
1684
+ # resp.next_token #=> String
1685
+ #
1686
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/SearchOrganizationInsights AWS API Documentation
1687
+ #
1688
+ # @overload search_organization_insights(params = {})
1689
+ # @param [Hash] params ({})
1690
+ def search_organization_insights(params = {}, options = {})
1691
+ req = build_request(:search_organization_insights, params)
1692
+ req.send_request(options)
1693
+ end
1694
+
1290
1695
  # Starts the creation of an estimate of the monthly cost to analyze your
1291
- # AWS resources.
1696
+ # Amazon Web Services resources.
1292
1697
  #
1293
1698
  # @option params [required, Types::CostEstimationResourceCollectionFilter] :resource_collection
1294
- # The collection of AWS resources used to create a monthly DevOps Guru
1295
- # cost estimate.
1699
+ # The collection of Amazon Web Services resources used to create a
1700
+ # monthly DevOps Guru cost estimate.
1296
1701
  #
1297
1702
  # @option params [String] :client_token
1298
1703
  # The idempotency token used to identify each cost estimate request.
@@ -1323,18 +1728,20 @@ module Aws::DevOpsGuru
1323
1728
  end
1324
1729
 
1325
1730
  # Updates the collection of resources that DevOps Guru analyzes. The one
1326
- # type of AWS resource collection supported is AWS CloudFormation
1327
- # stacks. DevOps Guru can be configured to analyze only the AWS
1328
- # resources that are defined in the stacks. You can specify up to 500
1329
- # AWS CloudFormation stacks. This method also creates the IAM role
1330
- # required for you to use DevOps Guru.
1731
+ # type of Amazon Web Services resource collection supported is Amazon
1732
+ # Web Services CloudFormation stacks. DevOps Guru can be configured to
1733
+ # analyze only the Amazon Web Services resources that are defined in the
1734
+ # stacks. You can specify up to 500 Amazon Web Services CloudFormation
1735
+ # stacks. This method also creates the IAM role required for you to use
1736
+ # DevOps Guru.
1331
1737
  #
1332
1738
  # @option params [required, String] :action
1333
1739
  # Specifies if the resource collection in the request is added or
1334
1740
  # deleted to the resource collection.
1335
1741
  #
1336
1742
  # @option params [required, Types::UpdateResourceCollectionFilter] :resource_collection
1337
- # Contains information used to update a collection of AWS resources.
1743
+ # Contains information used to update a collection of Amazon Web
1744
+ # Services resources.
1338
1745
  #
1339
1746
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1340
1747
  #
@@ -1360,8 +1767,8 @@ module Aws::DevOpsGuru
1360
1767
 
1361
1768
  # Enables or disables integration with a service that can be integrated
1362
1769
  # with DevOps Guru. The one service that can be integrated with DevOps
1363
- # Guru is AWS Systems Manager, which can be used to create an OpsItem
1364
- # for each generated insight.
1770
+ # Guru is Amazon Web Services Systems Manager, which can be used to
1771
+ # create an OpsItem for each generated insight.
1365
1772
  #
1366
1773
  # @option params [required, Types::UpdateServiceIntegrationConfig] :service_integration
1367
1774
  # An `IntegratedServiceConfig` object used to specify the integrated
@@ -1402,7 +1809,7 @@ module Aws::DevOpsGuru
1402
1809
  params: params,
1403
1810
  config: config)
1404
1811
  context[:gem_name] = 'aws-sdk-devopsguru'
1405
- context[:gem_version] = '1.13.0'
1812
+ context[:gem_version] = '1.14.0'
1406
1813
  Seahorse::Client::Request.new(handlers, context)
1407
1814
  end
1408
1815