aws-sdk-devopsguru 1.11.0 → 1.15.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -275,6 +275,15 @@ module Aws::DevOpsGuru
275
275
  # ** Please note ** When response stubbing is enabled, no HTTP
276
276
  # requests are made, and retries are disabled.
277
277
  #
278
+ # @option options [Boolean] :use_dualstack_endpoint
279
+ # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
280
+ # will be used if available.
281
+ #
282
+ # @option options [Boolean] :use_fips_endpoint
283
+ # When set to `true`, fips compatible endpoints will be used if available.
284
+ # When a `fips` region is used, the region is normalized and this config
285
+ # is set to `true`.
286
+ #
278
287
  # @option options [Boolean] :validate_params (true)
279
288
  # When `true`, request parameters are validated before
280
289
  # sending the request.
@@ -337,10 +346,11 @@ module Aws::DevOpsGuru
337
346
  # notifications using Amazon SNS in your account. For more information,
338
347
  # see [Permissions for cross account Amazon SNS topics][1].
339
348
  #
340
- # If you use an Amazon SNS topic that is encrypted by an AWS Key
341
- # Management Service customer-managed key (CMK), then you must add
342
- # permissions to the CMK. For more information, see [Permissions for AWS
343
- # 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].
344
354
  #
345
355
  #
346
356
  #
@@ -380,9 +390,9 @@ module Aws::DevOpsGuru
380
390
  end
381
391
 
382
392
  # Returns the number of open reactive insights, the number of open
383
- # proactive insights, and the number of metrics analyzed in your AWS
384
- # account. Use these numbers to gauge the health of operations in your
385
- # 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.
386
396
  #
387
397
  # @return [Types::DescribeAccountHealthResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
388
398
  #
@@ -456,6 +466,9 @@ module Aws::DevOpsGuru
456
466
  # @option params [required, String] :id
457
467
  # The ID of the anomaly.
458
468
  #
469
+ # @option params [String] :account_id
470
+ # The ID of the member account.
471
+ #
459
472
  # @return [Types::DescribeAnomalyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
460
473
  #
461
474
  # * {Types::DescribeAnomalyResponse#proactive_anomaly #proactive_anomaly} => Types::ProactiveAnomaly
@@ -465,6 +478,7 @@ module Aws::DevOpsGuru
465
478
  #
466
479
  # resp = client.describe_anomaly({
467
480
  # id: "AnomalyId", # required
481
+ # account_id: "AwsAccountId",
468
482
  # })
469
483
  #
470
484
  # @example Response structure
@@ -488,6 +502,10 @@ module Aws::DevOpsGuru
488
502
  # resp.proactive_anomaly.source_details.cloud_watch_metrics[0].stat #=> String, one of "Sum", "Average", "SampleCount", "Minimum", "Maximum", "p99", "p90", "p50"
489
503
  # resp.proactive_anomaly.source_details.cloud_watch_metrics[0].unit #=> String
490
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"
491
509
  # resp.proactive_anomaly.associated_insight_id #=> String
492
510
  # resp.proactive_anomaly.resource_collection.cloud_formation.stack_names #=> Array
493
511
  # resp.proactive_anomaly.resource_collection.cloud_formation.stack_names[0] #=> String
@@ -508,6 +526,10 @@ module Aws::DevOpsGuru
508
526
  # resp.reactive_anomaly.source_details.cloud_watch_metrics[0].stat #=> String, one of "Sum", "Average", "SampleCount", "Minimum", "Maximum", "p99", "p90", "p50"
509
527
  # resp.reactive_anomaly.source_details.cloud_watch_metrics[0].unit #=> String
510
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"
511
533
  # resp.reactive_anomaly.associated_insight_id #=> String
512
534
  # resp.reactive_anomaly.resource_collection.cloud_formation.stack_names #=> Array
513
535
  # resp.reactive_anomaly.resource_collection.cloud_formation.stack_names[0] #=> String
@@ -521,8 +543,8 @@ module Aws::DevOpsGuru
521
543
  req.send_request(options)
522
544
  end
523
545
 
524
- # Returns the most recent feedback submitted in the current AWS account
525
- # and Region.
546
+ # Returns the most recent feedback submitted in the current Amazon Web
547
+ # Services account and Region.
526
548
  #
527
549
  # @option params [String] :insight_id
528
550
  # The ID of the insight for which the feedback was provided.
@@ -556,6 +578,9 @@ module Aws::DevOpsGuru
556
578
  # @option params [required, String] :id
557
579
  # The ID of the insight.
558
580
  #
581
+ # @option params [String] :account_id
582
+ # The ID of the member account in the organization.
583
+ #
559
584
  # @return [Types::DescribeInsightResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
560
585
  #
561
586
  # * {Types::DescribeInsightResponse#proactive_insight #proactive_insight} => Types::ProactiveInsight
@@ -565,6 +590,7 @@ module Aws::DevOpsGuru
565
590
  #
566
591
  # resp = client.describe_insight({
567
592
  # id: "InsightId", # required
593
+ # account_id: "AwsAccountId",
568
594
  # })
569
595
  #
570
596
  # @example Response structure
@@ -599,20 +625,184 @@ module Aws::DevOpsGuru
599
625
  req.send_request(options)
600
626
  end
601
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
+
602
789
  # Returns the number of open proactive insights, open reactive insights,
603
790
  # and the Mean Time to Recover (MTTR) for all closed insights in
604
- # resource collections in your account. You specify the type of AWS
605
- # resources collection. The one type of AWS resource collection
606
- # supported is AWS CloudFormation stacks. DevOps Guru can be configured
607
- # to analyze only the AWS resources that are defined in the stacks. You
608
- # 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.
609
797
  #
610
798
  # @option params [required, String] :resource_collection_type
611
- # An AWS resource collection type. This type specifies how analyzed AWS
612
- # resources are defined. The one type of AWS resource collection
613
- # supported is AWS CloudFormation stacks. DevOps Guru can be configured
614
- # to analyze only the AWS resources that are defined in the stacks. You
615
- # 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.
616
806
  #
617
807
  # @option params [String] :next_token
618
808
  # The pagination token to use to retrieve the next page of results for
@@ -657,8 +847,8 @@ module Aws::DevOpsGuru
657
847
 
658
848
  # Returns the integration status of services that are integrated with
659
849
  # DevOps Guru. The one service that can be integrated with DevOps Guru
660
- # is AWS Systems Manager, which can be used to create an OpsItem for
661
- # each generated insight.
850
+ # is Amazon Web Services Systems Manager, which can be used to create an
851
+ # OpsItem for each generated insight.
662
852
  #
663
853
  # @return [Types::DescribeServiceIntegrationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
664
854
  #
@@ -678,8 +868,9 @@ module Aws::DevOpsGuru
678
868
  end
679
869
 
680
870
  # Returns an estimate of the monthly cost for DevOps Guru to analyze
681
- # your AWS resources. For more information, see [Estimate your Amazon
682
- # 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].
683
874
  #
684
875
  #
685
876
  #
@@ -732,15 +923,17 @@ module Aws::DevOpsGuru
732
923
  req.send_request(options)
733
924
  end
734
925
 
735
- # Returns lists AWS resources that are of the specified resource
736
- # collection type. The one type of AWS resource collection supported is
737
- # AWS CloudFormation stacks. DevOps Guru can be configured to analyze
738
- # only the AWS resources that are defined in the stacks. You can specify
739
- # 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.
740
932
  #
741
933
  # @option params [required, String] :resource_collection_type
742
- # The type of AWS resource collections to return. The one valid value is
743
- # `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.
744
937
  #
745
938
  # @option params [String] :next_token
746
939
  # The pagination token to use to retrieve the next page of results for
@@ -794,6 +987,9 @@ module Aws::DevOpsGuru
794
987
  # The pagination token to use to retrieve the next page of results for
795
988
  # this operation. If this value is null, it retrieves the first page.
796
989
  #
990
+ # @option params [String] :account_id
991
+ # The ID of the Amazon Web Services account.
992
+ #
797
993
  # @return [Types::ListAnomaliesForInsightResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
798
994
  #
799
995
  # * {Types::ListAnomaliesForInsightResponse#proactive_anomalies #proactive_anomalies} => Array&lt;Types::ProactiveAnomalySummary&gt;
@@ -812,6 +1008,7 @@ module Aws::DevOpsGuru
812
1008
  # },
813
1009
  # max_results: 1,
814
1010
  # next_token: "UuidNextToken",
1011
+ # account_id: "AwsAccountId",
815
1012
  # })
816
1013
  #
817
1014
  # @example Response structure
@@ -836,6 +1033,10 @@ module Aws::DevOpsGuru
836
1033
  # resp.proactive_anomalies[0].source_details.cloud_watch_metrics[0].stat #=> String, one of "Sum", "Average", "SampleCount", "Minimum", "Maximum", "p99", "p90", "p50"
837
1034
  # resp.proactive_anomalies[0].source_details.cloud_watch_metrics[0].unit #=> String
838
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"
839
1040
  # resp.proactive_anomalies[0].associated_insight_id #=> String
840
1041
  # resp.proactive_anomalies[0].resource_collection.cloud_formation.stack_names #=> Array
841
1042
  # resp.proactive_anomalies[0].resource_collection.cloud_formation.stack_names[0] #=> String
@@ -857,6 +1058,10 @@ module Aws::DevOpsGuru
857
1058
  # resp.reactive_anomalies[0].source_details.cloud_watch_metrics[0].stat #=> String, one of "Sum", "Average", "SampleCount", "Minimum", "Maximum", "p99", "p90", "p50"
858
1059
  # resp.reactive_anomalies[0].source_details.cloud_watch_metrics[0].unit #=> String
859
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"
860
1065
  # resp.reactive_anomalies[0].associated_insight_id #=> String
861
1066
  # resp.reactive_anomalies[0].resource_collection.cloud_formation.stack_names #=> Array
862
1067
  # resp.reactive_anomalies[0].resource_collection.cloud_formation.stack_names[0] #=> String
@@ -887,6 +1092,9 @@ module Aws::DevOpsGuru
887
1092
  # The pagination token to use to retrieve the next page of results for
888
1093
  # this operation. If this value is null, it retrieves the first page.
889
1094
  #
1095
+ # @option params [String] :account_id
1096
+ # The ID of the Amazon Web Services account.
1097
+ #
890
1098
  # @return [Types::ListEventsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
891
1099
  #
892
1100
  # * {Types::ListEventsResponse#events #events} => Array&lt;Types::Event&gt;
@@ -914,6 +1122,7 @@ module Aws::DevOpsGuru
914
1122
  # },
915
1123
  # max_results: 1,
916
1124
  # next_token: "UuidNextToken",
1125
+ # account_id: "AwsAccountId",
917
1126
  # })
918
1127
  #
919
1128
  # @example Response structure
@@ -942,9 +1151,9 @@ module Aws::DevOpsGuru
942
1151
  req.send_request(options)
943
1152
  end
944
1153
 
945
- # Returns a list of insights in your AWS account. You can specify which
946
- # insights are returned by their start time and status (`ONGOING`,
947
- # `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`).
948
1157
  #
949
1158
  # @option params [required, Types::ListInsightsStatusFilter] :status_filter
950
1159
  # A filter used to filter the returned insights by their status. You can
@@ -1069,6 +1278,103 @@ module Aws::DevOpsGuru
1069
1278
  req.send_request(options)
1070
1279
  end
1071
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
+
1072
1378
  # Returns a list of a specified insight's recommendations. Each
1073
1379
  # recommendation includes a list of related metrics and a list of
1074
1380
  # related events.
@@ -1083,6 +1389,9 @@ module Aws::DevOpsGuru
1083
1389
  # @option params [String] :locale
1084
1390
  # A locale that specifies the language to use for recommendations.
1085
1391
  #
1392
+ # @option params [String] :account_id
1393
+ # The ID of the Amazon Web Services account.
1394
+ #
1086
1395
  # @return [Types::ListRecommendationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1087
1396
  #
1088
1397
  # * {Types::ListRecommendationsResponse#recommendations #recommendations} => Array&lt;Types::Recommendation&gt;
@@ -1096,6 +1405,7 @@ module Aws::DevOpsGuru
1096
1405
  # insight_id: "InsightId", # required
1097
1406
  # next_token: "UuidNextToken",
1098
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",
1099
1409
  # })
1100
1410
  #
1101
1411
  # @example Response structure
@@ -1179,10 +1489,11 @@ module Aws::DevOpsGuru
1179
1489
  req.send_request(options)
1180
1490
  end
1181
1491
 
1182
- # Returns a list of insights in your AWS account. You can specify which
1183
- # insights are returned by their start time, one or more statuses
1184
- # (`ONGOING`, `CLOSED`, and `CLOSED`), one or more severities (`LOW`,
1185
- # `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`).
1186
1497
  #
1187
1498
  # Use the `Filters` parameter to specify status and severity search
1188
1499
  # parameters. Use the `Type` parameter to specify `REACTIVE` or
@@ -1278,12 +1589,115 @@ module Aws::DevOpsGuru
1278
1589
  req.send_request(options)
1279
1590
  end
1280
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
+
1281
1695
  # Starts the creation of an estimate of the monthly cost to analyze your
1282
- # AWS resources.
1696
+ # Amazon Web Services resources.
1283
1697
  #
1284
1698
  # @option params [required, Types::CostEstimationResourceCollectionFilter] :resource_collection
1285
- # The collection of AWS resources used to create a monthly DevOps Guru
1286
- # cost estimate.
1699
+ # The collection of Amazon Web Services resources used to create a
1700
+ # monthly DevOps Guru cost estimate.
1287
1701
  #
1288
1702
  # @option params [String] :client_token
1289
1703
  # The idempotency token used to identify each cost estimate request.
@@ -1314,18 +1728,20 @@ module Aws::DevOpsGuru
1314
1728
  end
1315
1729
 
1316
1730
  # Updates the collection of resources that DevOps Guru analyzes. The one
1317
- # type of AWS resource collection supported is AWS CloudFormation
1318
- # stacks. DevOps Guru can be configured to analyze only the AWS
1319
- # resources that are defined in the stacks. You can specify up to 500
1320
- # AWS CloudFormation stacks. This method also creates the IAM role
1321
- # 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.
1322
1737
  #
1323
1738
  # @option params [required, String] :action
1324
1739
  # Specifies if the resource collection in the request is added or
1325
1740
  # deleted to the resource collection.
1326
1741
  #
1327
1742
  # @option params [required, Types::UpdateResourceCollectionFilter] :resource_collection
1328
- # Contains information used to update a collection of AWS resources.
1743
+ # Contains information used to update a collection of Amazon Web
1744
+ # Services resources.
1329
1745
  #
1330
1746
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1331
1747
  #
@@ -1351,8 +1767,8 @@ module Aws::DevOpsGuru
1351
1767
 
1352
1768
  # Enables or disables integration with a service that can be integrated
1353
1769
  # with DevOps Guru. The one service that can be integrated with DevOps
1354
- # Guru is AWS Systems Manager, which can be used to create an OpsItem
1355
- # 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.
1356
1772
  #
1357
1773
  # @option params [required, Types::UpdateServiceIntegrationConfig] :service_integration
1358
1774
  # An `IntegratedServiceConfig` object used to specify the integrated
@@ -1393,7 +1809,7 @@ module Aws::DevOpsGuru
1393
1809
  params: params,
1394
1810
  config: config)
1395
1811
  context[:gem_name] = 'aws-sdk-devopsguru'
1396
- context[:gem_version] = '1.11.0'
1812
+ context[:gem_version] = '1.15.0'
1397
1813
  Seahorse::Client::Request.new(handlers, context)
1398
1814
  end
1399
1815