aws-sdk-devopsguru 1.12.0 → 1.16.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
@@ -275,6 +277,15 @@ module Aws::DevOpsGuru
275
277
  # ** Please note ** When response stubbing is enabled, no HTTP
276
278
  # requests are made, and retries are disabled.
277
279
  #
280
+ # @option options [Boolean] :use_dualstack_endpoint
281
+ # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
282
+ # will be used if available.
283
+ #
284
+ # @option options [Boolean] :use_fips_endpoint
285
+ # When set to `true`, fips compatible endpoints will be used if available.
286
+ # When a `fips` region is used, the region is normalized and this config
287
+ # is set to `true`.
288
+ #
278
289
  # @option options [Boolean] :validate_params (true)
279
290
  # When `true`, request parameters are validated before
280
291
  # sending the request.
@@ -337,10 +348,11 @@ module Aws::DevOpsGuru
337
348
  # notifications using Amazon SNS in your account. For more information,
338
349
  # see [Permissions for cross account Amazon SNS topics][1].
339
350
  #
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].
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].
344
356
  #
345
357
  #
346
358
  #
@@ -380,9 +392,9 @@ module Aws::DevOpsGuru
380
392
  end
381
393
 
382
394
  # 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.
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.
386
398
  #
387
399
  # @return [Types::DescribeAccountHealthResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
388
400
  #
@@ -456,6 +468,9 @@ module Aws::DevOpsGuru
456
468
  # @option params [required, String] :id
457
469
  # The ID of the anomaly.
458
470
  #
471
+ # @option params [String] :account_id
472
+ # The ID of the member account.
473
+ #
459
474
  # @return [Types::DescribeAnomalyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
460
475
  #
461
476
  # * {Types::DescribeAnomalyResponse#proactive_anomaly #proactive_anomaly} => Types::ProactiveAnomaly
@@ -465,6 +480,7 @@ module Aws::DevOpsGuru
465
480
  #
466
481
  # resp = client.describe_anomaly({
467
482
  # id: "AnomalyId", # required
483
+ # account_id: "AwsAccountId",
468
484
  # })
469
485
  #
470
486
  # @example Response structure
@@ -488,6 +504,10 @@ module Aws::DevOpsGuru
488
504
  # resp.proactive_anomaly.source_details.cloud_watch_metrics[0].stat #=> String, one of "Sum", "Average", "SampleCount", "Minimum", "Maximum", "p99", "p90", "p50"
489
505
  # resp.proactive_anomaly.source_details.cloud_watch_metrics[0].unit #=> String
490
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"
491
511
  # resp.proactive_anomaly.associated_insight_id #=> String
492
512
  # resp.proactive_anomaly.resource_collection.cloud_formation.stack_names #=> Array
493
513
  # resp.proactive_anomaly.resource_collection.cloud_formation.stack_names[0] #=> String
@@ -508,6 +528,10 @@ module Aws::DevOpsGuru
508
528
  # resp.reactive_anomaly.source_details.cloud_watch_metrics[0].stat #=> String, one of "Sum", "Average", "SampleCount", "Minimum", "Maximum", "p99", "p90", "p50"
509
529
  # resp.reactive_anomaly.source_details.cloud_watch_metrics[0].unit #=> String
510
530
  # resp.reactive_anomaly.source_details.cloud_watch_metrics[0].period #=> Integer
531
+ # resp.reactive_anomaly.source_details.cloud_watch_metrics[0].metric_data_summary.timestamp_metric_value_pair_list #=> Array
532
+ # resp.reactive_anomaly.source_details.cloud_watch_metrics[0].metric_data_summary.timestamp_metric_value_pair_list[0].timestamp #=> Time
533
+ # resp.reactive_anomaly.source_details.cloud_watch_metrics[0].metric_data_summary.timestamp_metric_value_pair_list[0].metric_value #=> Float
534
+ # resp.reactive_anomaly.source_details.cloud_watch_metrics[0].metric_data_summary.status_code #=> String, one of "Complete", "InternalError", "PartialData"
511
535
  # resp.reactive_anomaly.associated_insight_id #=> String
512
536
  # resp.reactive_anomaly.resource_collection.cloud_formation.stack_names #=> Array
513
537
  # resp.reactive_anomaly.resource_collection.cloud_formation.stack_names[0] #=> String
@@ -521,8 +545,8 @@ module Aws::DevOpsGuru
521
545
  req.send_request(options)
522
546
  end
523
547
 
524
- # Returns the most recent feedback submitted in the current AWS account
525
- # and Region.
548
+ # Returns the most recent feedback submitted in the current Amazon Web
549
+ # Services account and Region.
526
550
  #
527
551
  # @option params [String] :insight_id
528
552
  # The ID of the insight for which the feedback was provided.
@@ -556,6 +580,9 @@ module Aws::DevOpsGuru
556
580
  # @option params [required, String] :id
557
581
  # The ID of the insight.
558
582
  #
583
+ # @option params [String] :account_id
584
+ # The ID of the member account in the organization.
585
+ #
559
586
  # @return [Types::DescribeInsightResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
560
587
  #
561
588
  # * {Types::DescribeInsightResponse#proactive_insight #proactive_insight} => Types::ProactiveInsight
@@ -565,6 +592,7 @@ module Aws::DevOpsGuru
565
592
  #
566
593
  # resp = client.describe_insight({
567
594
  # id: "InsightId", # required
595
+ # account_id: "AwsAccountId",
568
596
  # })
569
597
  #
570
598
  # @example Response structure
@@ -599,20 +627,184 @@ module Aws::DevOpsGuru
599
627
  req.send_request(options)
600
628
  end
601
629
 
630
+ # Returns active insights, predictive insights, and resource hours
631
+ # analyzed in last hour.
632
+ #
633
+ # @option params [Array<String>] :account_ids
634
+ # The ID of the Amazon Web Services account.
635
+ #
636
+ # @option params [Array<String>] :organizational_unit_ids
637
+ # The ID of the organizational unit.
638
+ #
639
+ # @return [Types::DescribeOrganizationHealthResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
640
+ #
641
+ # * {Types::DescribeOrganizationHealthResponse#open_reactive_insights #open_reactive_insights} => Integer
642
+ # * {Types::DescribeOrganizationHealthResponse#open_proactive_insights #open_proactive_insights} => Integer
643
+ # * {Types::DescribeOrganizationHealthResponse#metrics_analyzed #metrics_analyzed} => Integer
644
+ # * {Types::DescribeOrganizationHealthResponse#resource_hours #resource_hours} => Integer
645
+ #
646
+ # @example Request syntax with placeholder values
647
+ #
648
+ # resp = client.describe_organization_health({
649
+ # account_ids: ["AwsAccountId"],
650
+ # organizational_unit_ids: ["OrganizationalUnitId"],
651
+ # })
652
+ #
653
+ # @example Response structure
654
+ #
655
+ # resp.open_reactive_insights #=> Integer
656
+ # resp.open_proactive_insights #=> Integer
657
+ # resp.metrics_analyzed #=> Integer
658
+ # resp.resource_hours #=> Integer
659
+ #
660
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeOrganizationHealth AWS API Documentation
661
+ #
662
+ # @overload describe_organization_health(params = {})
663
+ # @param [Hash] params ({})
664
+ def describe_organization_health(params = {}, options = {})
665
+ req = build_request(:describe_organization_health, params)
666
+ req.send_request(options)
667
+ end
668
+
669
+ # Returns an overview of your organization's history based on the
670
+ # specified time range. The overview includes the total reactive and
671
+ # proactive insights.
672
+ #
673
+ # @option params [required, Time,DateTime,Date,Integer,String] :from_time
674
+ # The start of the time range passed in. The start time granularity is
675
+ # at the day level. The floor of the start time is used. Returned
676
+ # information occurred after this day.
677
+ #
678
+ # @option params [Time,DateTime,Date,Integer,String] :to_time
679
+ # The end of the time range passed in. The start time granularity is at
680
+ # the day level. The floor of the start time is used. Returned
681
+ # information occurred before this day. If this is not specified, then
682
+ # the current day is used.
683
+ #
684
+ # @option params [Array<String>] :account_ids
685
+ # The ID of the Amazon Web Services account.
686
+ #
687
+ # @option params [Array<String>] :organizational_unit_ids
688
+ # The ID of the organizational unit.
689
+ #
690
+ # @return [Types::DescribeOrganizationOverviewResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
691
+ #
692
+ # * {Types::DescribeOrganizationOverviewResponse#reactive_insights #reactive_insights} => Integer
693
+ # * {Types::DescribeOrganizationOverviewResponse#proactive_insights #proactive_insights} => Integer
694
+ #
695
+ # @example Request syntax with placeholder values
696
+ #
697
+ # resp = client.describe_organization_overview({
698
+ # from_time: Time.now, # required
699
+ # to_time: Time.now,
700
+ # account_ids: ["AwsAccountId"],
701
+ # organizational_unit_ids: ["OrganizationalUnitId"],
702
+ # })
703
+ #
704
+ # @example Response structure
705
+ #
706
+ # resp.reactive_insights #=> Integer
707
+ # resp.proactive_insights #=> Integer
708
+ #
709
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeOrganizationOverview AWS API Documentation
710
+ #
711
+ # @overload describe_organization_overview(params = {})
712
+ # @param [Hash] params ({})
713
+ def describe_organization_overview(params = {}, options = {})
714
+ req = build_request(:describe_organization_overview, params)
715
+ req.send_request(options)
716
+ end
717
+
718
+ # Provides an overview of your system's health. If additional member
719
+ # accounts are part of your organization, you can filter those accounts
720
+ # using the `AccountIds` field.
721
+ #
722
+ # @option params [required, String] :organization_resource_collection_type
723
+ # An Amazon Web Services resource collection type. This type specifies
724
+ # how analyzed Amazon Web Services resources are defined. The one type
725
+ # of Amazon Web Services resource collection supported is Amazon Web
726
+ # Services CloudFormation stacks. DevOps Guru can be configured to
727
+ # analyze only the Amazon Web Services resources that are defined in the
728
+ # stacks. You can specify up to 500 Amazon Web Services CloudFormation
729
+ # stacks.
730
+ #
731
+ # @option params [Array<String>] :account_ids
732
+ # The ID of the Amazon Web Services account.
733
+ #
734
+ # @option params [Array<String>] :organizational_unit_ids
735
+ # The ID of the organizational unit.
736
+ #
737
+ # @option params [String] :next_token
738
+ # The pagination token to use to retrieve the next page of results for
739
+ # this operation. If this value is null, it retrieves the first page.
740
+ #
741
+ # @option params [Integer] :max_results
742
+ # The maximum number of results to return with a single call. To
743
+ # retrieve the remaining results, make another call with the returned
744
+ # `nextToken` value.
745
+ #
746
+ # @return [Types::DescribeOrganizationResourceCollectionHealthResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
747
+ #
748
+ # * {Types::DescribeOrganizationResourceCollectionHealthResponse#cloud_formation #cloud_formation} => Array&lt;Types::CloudFormationHealth&gt;
749
+ # * {Types::DescribeOrganizationResourceCollectionHealthResponse#service #service} => Array&lt;Types::ServiceHealth&gt;
750
+ # * {Types::DescribeOrganizationResourceCollectionHealthResponse#account #account} => Array&lt;Types::AccountHealth&gt;
751
+ # * {Types::DescribeOrganizationResourceCollectionHealthResponse#next_token #next_token} => String
752
+ #
753
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
754
+ #
755
+ # @example Request syntax with placeholder values
756
+ #
757
+ # resp = client.describe_organization_resource_collection_health({
758
+ # organization_resource_collection_type: "AWS_CLOUD_FORMATION", # required, accepts AWS_CLOUD_FORMATION, AWS_SERVICE, AWS_ACCOUNT
759
+ # account_ids: ["AwsAccountId"],
760
+ # organizational_unit_ids: ["OrganizationalUnitId"],
761
+ # next_token: "UuidNextToken",
762
+ # max_results: 1,
763
+ # })
764
+ #
765
+ # @example Response structure
766
+ #
767
+ # resp.cloud_formation #=> Array
768
+ # resp.cloud_formation[0].stack_name #=> String
769
+ # resp.cloud_formation[0].insight.open_proactive_insights #=> Integer
770
+ # resp.cloud_formation[0].insight.open_reactive_insights #=> Integer
771
+ # resp.cloud_formation[0].insight.mean_time_to_recover_in_milliseconds #=> Integer
772
+ # resp.service #=> Array
773
+ # resp.service[0].service_name #=> String, one of "API_GATEWAY", "APPLICATION_ELB", "AUTO_SCALING_GROUP", "CLOUD_FRONT", "DYNAMO_DB", "EC2", "ECS", "EKS", "ELASTIC_BEANSTALK", "ELASTI_CACHE", "ELB", "ES", "KINESIS", "LAMBDA", "NAT_GATEWAY", "NETWORK_ELB", "RDS", "REDSHIFT", "ROUTE_53", "S3", "SAGE_MAKER", "SNS", "SQS", "STEP_FUNCTIONS", "SWF"
774
+ # resp.service[0].insight.open_proactive_insights #=> Integer
775
+ # resp.service[0].insight.open_reactive_insights #=> Integer
776
+ # resp.account #=> Array
777
+ # resp.account[0].account_id #=> String
778
+ # resp.account[0].insight.open_proactive_insights #=> Integer
779
+ # resp.account[0].insight.open_reactive_insights #=> Integer
780
+ # resp.next_token #=> String
781
+ #
782
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeOrganizationResourceCollectionHealth AWS API Documentation
783
+ #
784
+ # @overload describe_organization_resource_collection_health(params = {})
785
+ # @param [Hash] params ({})
786
+ def describe_organization_resource_collection_health(params = {}, options = {})
787
+ req = build_request(:describe_organization_resource_collection_health, params)
788
+ req.send_request(options)
789
+ end
790
+
602
791
  # Returns the number of open proactive insights, open reactive insights,
603
792
  # 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.
793
+ # resource collections in your account. You specify the type of Amazon
794
+ # Web Services resources collection. The one type of Amazon Web Services
795
+ # resource collection supported is Amazon Web Services CloudFormation
796
+ # stacks. DevOps Guru can be configured to analyze only the Amazon Web
797
+ # Services resources that are defined in the stacks. You can specify up
798
+ # to 500 Amazon Web Services CloudFormation stacks.
609
799
  #
610
800
  # @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.
801
+ # An Amazon Web Services resource collection type. This type specifies
802
+ # how analyzed Amazon Web Services resources are defined. The one type
803
+ # of Amazon Web Services resource collection supported is Amazon Web
804
+ # Services CloudFormation stacks. DevOps Guru can be configured to
805
+ # analyze only the Amazon Web Services resources that are defined in the
806
+ # stacks. You can specify up to 500 Amazon Web Services CloudFormation
807
+ # stacks.
616
808
  #
617
809
  # @option params [String] :next_token
618
810
  # The pagination token to use to retrieve the next page of results for
@@ -657,8 +849,8 @@ module Aws::DevOpsGuru
657
849
 
658
850
  # Returns the integration status of services that are integrated with
659
851
  # 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.
852
+ # is Amazon Web Services Systems Manager, which can be used to create an
853
+ # OpsItem for each generated insight.
662
854
  #
663
855
  # @return [Types::DescribeServiceIntegrationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
664
856
  #
@@ -678,8 +870,9 @@ module Aws::DevOpsGuru
678
870
  end
679
871
 
680
872
  # 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].
873
+ # your Amazon Web Services resources. For more information, see
874
+ # [Estimate your Amazon DevOps Guru costs][1] and [Amazon DevOps Guru
875
+ # pricing][2].
683
876
  #
684
877
  #
685
878
  #
@@ -732,15 +925,17 @@ module Aws::DevOpsGuru
732
925
  req.send_request(options)
733
926
  end
734
927
 
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.
928
+ # Returns lists Amazon Web Services resources that are of the specified
929
+ # resource collection type. The one type of Amazon Web Services resource
930
+ # collection supported is Amazon Web Services CloudFormation stacks.
931
+ # DevOps Guru can be configured to analyze only the Amazon Web Services
932
+ # resources that are defined in the stacks. You can specify up to 500
933
+ # Amazon Web Services CloudFormation stacks.
740
934
  #
741
935
  # @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.
936
+ # The type of Amazon Web Services resource collections to return. The
937
+ # one valid value is `CLOUD_FORMATION` for Amazon Web Services
938
+ # CloudFormation stacks.
744
939
  #
745
940
  # @option params [String] :next_token
746
941
  # The pagination token to use to retrieve the next page of results for
@@ -794,6 +989,9 @@ module Aws::DevOpsGuru
794
989
  # The pagination token to use to retrieve the next page of results for
795
990
  # this operation. If this value is null, it retrieves the first page.
796
991
  #
992
+ # @option params [String] :account_id
993
+ # The ID of the Amazon Web Services account.
994
+ #
797
995
  # @return [Types::ListAnomaliesForInsightResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
798
996
  #
799
997
  # * {Types::ListAnomaliesForInsightResponse#proactive_anomalies #proactive_anomalies} => Array&lt;Types::ProactiveAnomalySummary&gt;
@@ -812,6 +1010,7 @@ module Aws::DevOpsGuru
812
1010
  # },
813
1011
  # max_results: 1,
814
1012
  # next_token: "UuidNextToken",
1013
+ # account_id: "AwsAccountId",
815
1014
  # })
816
1015
  #
817
1016
  # @example Response structure
@@ -836,6 +1035,10 @@ module Aws::DevOpsGuru
836
1035
  # resp.proactive_anomalies[0].source_details.cloud_watch_metrics[0].stat #=> String, one of "Sum", "Average", "SampleCount", "Minimum", "Maximum", "p99", "p90", "p50"
837
1036
  # resp.proactive_anomalies[0].source_details.cloud_watch_metrics[0].unit #=> String
838
1037
  # resp.proactive_anomalies[0].source_details.cloud_watch_metrics[0].period #=> Integer
1038
+ # resp.proactive_anomalies[0].source_details.cloud_watch_metrics[0].metric_data_summary.timestamp_metric_value_pair_list #=> Array
1039
+ # resp.proactive_anomalies[0].source_details.cloud_watch_metrics[0].metric_data_summary.timestamp_metric_value_pair_list[0].timestamp #=> Time
1040
+ # resp.proactive_anomalies[0].source_details.cloud_watch_metrics[0].metric_data_summary.timestamp_metric_value_pair_list[0].metric_value #=> Float
1041
+ # resp.proactive_anomalies[0].source_details.cloud_watch_metrics[0].metric_data_summary.status_code #=> String, one of "Complete", "InternalError", "PartialData"
839
1042
  # resp.proactive_anomalies[0].associated_insight_id #=> String
840
1043
  # resp.proactive_anomalies[0].resource_collection.cloud_formation.stack_names #=> Array
841
1044
  # resp.proactive_anomalies[0].resource_collection.cloud_formation.stack_names[0] #=> String
@@ -857,6 +1060,10 @@ module Aws::DevOpsGuru
857
1060
  # resp.reactive_anomalies[0].source_details.cloud_watch_metrics[0].stat #=> String, one of "Sum", "Average", "SampleCount", "Minimum", "Maximum", "p99", "p90", "p50"
858
1061
  # resp.reactive_anomalies[0].source_details.cloud_watch_metrics[0].unit #=> String
859
1062
  # resp.reactive_anomalies[0].source_details.cloud_watch_metrics[0].period #=> Integer
1063
+ # resp.reactive_anomalies[0].source_details.cloud_watch_metrics[0].metric_data_summary.timestamp_metric_value_pair_list #=> Array
1064
+ # resp.reactive_anomalies[0].source_details.cloud_watch_metrics[0].metric_data_summary.timestamp_metric_value_pair_list[0].timestamp #=> Time
1065
+ # resp.reactive_anomalies[0].source_details.cloud_watch_metrics[0].metric_data_summary.timestamp_metric_value_pair_list[0].metric_value #=> Float
1066
+ # resp.reactive_anomalies[0].source_details.cloud_watch_metrics[0].metric_data_summary.status_code #=> String, one of "Complete", "InternalError", "PartialData"
860
1067
  # resp.reactive_anomalies[0].associated_insight_id #=> String
861
1068
  # resp.reactive_anomalies[0].resource_collection.cloud_formation.stack_names #=> Array
862
1069
  # resp.reactive_anomalies[0].resource_collection.cloud_formation.stack_names[0] #=> String
@@ -887,6 +1094,9 @@ module Aws::DevOpsGuru
887
1094
  # The pagination token to use to retrieve the next page of results for
888
1095
  # this operation. If this value is null, it retrieves the first page.
889
1096
  #
1097
+ # @option params [String] :account_id
1098
+ # The ID of the Amazon Web Services account.
1099
+ #
890
1100
  # @return [Types::ListEventsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
891
1101
  #
892
1102
  # * {Types::ListEventsResponse#events #events} => Array&lt;Types::Event&gt;
@@ -914,6 +1124,7 @@ module Aws::DevOpsGuru
914
1124
  # },
915
1125
  # max_results: 1,
916
1126
  # next_token: "UuidNextToken",
1127
+ # account_id: "AwsAccountId",
917
1128
  # })
918
1129
  #
919
1130
  # @example Response structure
@@ -942,9 +1153,9 @@ module Aws::DevOpsGuru
942
1153
  req.send_request(options)
943
1154
  end
944
1155
 
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`).
1156
+ # Returns a list of insights in your Amazon Web Services account. You
1157
+ # can specify which insights are returned by their start time and status
1158
+ # (`ONGOING`, `CLOSED`, or `ANY`).
948
1159
  #
949
1160
  # @option params [required, Types::ListInsightsStatusFilter] :status_filter
950
1161
  # A filter used to filter the returned insights by their status. You can
@@ -1069,6 +1280,103 @@ module Aws::DevOpsGuru
1069
1280
  req.send_request(options)
1070
1281
  end
1071
1282
 
1283
+ # Returns a list of insights associated with the account or OU Id.
1284
+ #
1285
+ # @option params [required, Types::ListInsightsStatusFilter] :status_filter
1286
+ # A filter used by `ListInsights` to specify which insights to return.
1287
+ #
1288
+ # @option params [Integer] :max_results
1289
+ # The maximum number of results to return with a single call. To
1290
+ # retrieve the remaining results, make another call with the returned
1291
+ # `nextToken` value.
1292
+ #
1293
+ # @option params [Array<String>] :account_ids
1294
+ # The ID of the Amazon Web Services account.
1295
+ #
1296
+ # @option params [Array<String>] :organizational_unit_ids
1297
+ # The ID of the organizational unit.
1298
+ #
1299
+ # @option params [String] :next_token
1300
+ # The pagination token to use to retrieve the next page of results for
1301
+ # this operation. If this value is null, it retrieves the first page.
1302
+ #
1303
+ # @return [Types::ListOrganizationInsightsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1304
+ #
1305
+ # * {Types::ListOrganizationInsightsResponse#proactive_insights #proactive_insights} => Array&lt;Types::ProactiveOrganizationInsightSummary&gt;
1306
+ # * {Types::ListOrganizationInsightsResponse#reactive_insights #reactive_insights} => Array&lt;Types::ReactiveOrganizationInsightSummary&gt;
1307
+ # * {Types::ListOrganizationInsightsResponse#next_token #next_token} => String
1308
+ #
1309
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1310
+ #
1311
+ # @example Request syntax with placeholder values
1312
+ #
1313
+ # resp = client.list_organization_insights({
1314
+ # status_filter: { # required
1315
+ # ongoing: {
1316
+ # type: "REACTIVE", # required, accepts REACTIVE, PROACTIVE
1317
+ # },
1318
+ # closed: {
1319
+ # type: "REACTIVE", # required, accepts REACTIVE, PROACTIVE
1320
+ # end_time_range: { # required
1321
+ # from_time: Time.now,
1322
+ # to_time: Time.now,
1323
+ # },
1324
+ # },
1325
+ # any: {
1326
+ # type: "REACTIVE", # required, accepts REACTIVE, PROACTIVE
1327
+ # start_time_range: { # required
1328
+ # from_time: Time.now,
1329
+ # to_time: Time.now,
1330
+ # },
1331
+ # },
1332
+ # },
1333
+ # max_results: 1,
1334
+ # account_ids: ["AwsAccountId"],
1335
+ # organizational_unit_ids: ["OrganizationalUnitId"],
1336
+ # next_token: "UuidNextToken",
1337
+ # })
1338
+ #
1339
+ # @example Response structure
1340
+ #
1341
+ # resp.proactive_insights #=> Array
1342
+ # resp.proactive_insights[0].id #=> String
1343
+ # resp.proactive_insights[0].account_id #=> String
1344
+ # resp.proactive_insights[0].organizational_unit_id #=> String
1345
+ # resp.proactive_insights[0].name #=> String
1346
+ # resp.proactive_insights[0].severity #=> String, one of "LOW", "MEDIUM", "HIGH"
1347
+ # resp.proactive_insights[0].status #=> String, one of "ONGOING", "CLOSED"
1348
+ # resp.proactive_insights[0].insight_time_range.start_time #=> Time
1349
+ # resp.proactive_insights[0].insight_time_range.end_time #=> Time
1350
+ # resp.proactive_insights[0].prediction_time_range.start_time #=> Time
1351
+ # resp.proactive_insights[0].prediction_time_range.end_time #=> Time
1352
+ # resp.proactive_insights[0].resource_collection.cloud_formation.stack_names #=> Array
1353
+ # resp.proactive_insights[0].resource_collection.cloud_formation.stack_names[0] #=> String
1354
+ # resp.proactive_insights[0].service_collection.service_names #=> Array
1355
+ # resp.proactive_insights[0].service_collection.service_names[0] #=> String, one of "API_GATEWAY", "APPLICATION_ELB", "AUTO_SCALING_GROUP", "CLOUD_FRONT", "DYNAMO_DB", "EC2", "ECS", "EKS", "ELASTIC_BEANSTALK", "ELASTI_CACHE", "ELB", "ES", "KINESIS", "LAMBDA", "NAT_GATEWAY", "NETWORK_ELB", "RDS", "REDSHIFT", "ROUTE_53", "S3", "SAGE_MAKER", "SNS", "SQS", "STEP_FUNCTIONS", "SWF"
1356
+ # resp.reactive_insights #=> Array
1357
+ # resp.reactive_insights[0].id #=> String
1358
+ # resp.reactive_insights[0].account_id #=> String
1359
+ # resp.reactive_insights[0].organizational_unit_id #=> String
1360
+ # resp.reactive_insights[0].name #=> String
1361
+ # resp.reactive_insights[0].severity #=> String, one of "LOW", "MEDIUM", "HIGH"
1362
+ # resp.reactive_insights[0].status #=> String, one of "ONGOING", "CLOSED"
1363
+ # resp.reactive_insights[0].insight_time_range.start_time #=> Time
1364
+ # resp.reactive_insights[0].insight_time_range.end_time #=> Time
1365
+ # resp.reactive_insights[0].resource_collection.cloud_formation.stack_names #=> Array
1366
+ # resp.reactive_insights[0].resource_collection.cloud_formation.stack_names[0] #=> String
1367
+ # resp.reactive_insights[0].service_collection.service_names #=> Array
1368
+ # resp.reactive_insights[0].service_collection.service_names[0] #=> String, one of "API_GATEWAY", "APPLICATION_ELB", "AUTO_SCALING_GROUP", "CLOUD_FRONT", "DYNAMO_DB", "EC2", "ECS", "EKS", "ELASTIC_BEANSTALK", "ELASTI_CACHE", "ELB", "ES", "KINESIS", "LAMBDA", "NAT_GATEWAY", "NETWORK_ELB", "RDS", "REDSHIFT", "ROUTE_53", "S3", "SAGE_MAKER", "SNS", "SQS", "STEP_FUNCTIONS", "SWF"
1369
+ # resp.next_token #=> String
1370
+ #
1371
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListOrganizationInsights AWS API Documentation
1372
+ #
1373
+ # @overload list_organization_insights(params = {})
1374
+ # @param [Hash] params ({})
1375
+ def list_organization_insights(params = {}, options = {})
1376
+ req = build_request(:list_organization_insights, params)
1377
+ req.send_request(options)
1378
+ end
1379
+
1072
1380
  # Returns a list of a specified insight's recommendations. Each
1073
1381
  # recommendation includes a list of related metrics and a list of
1074
1382
  # related events.
@@ -1083,6 +1391,9 @@ module Aws::DevOpsGuru
1083
1391
  # @option params [String] :locale
1084
1392
  # A locale that specifies the language to use for recommendations.
1085
1393
  #
1394
+ # @option params [String] :account_id
1395
+ # The ID of the Amazon Web Services account.
1396
+ #
1086
1397
  # @return [Types::ListRecommendationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1087
1398
  #
1088
1399
  # * {Types::ListRecommendationsResponse#recommendations #recommendations} => Array&lt;Types::Recommendation&gt;
@@ -1096,6 +1407,7 @@ module Aws::DevOpsGuru
1096
1407
  # insight_id: "InsightId", # required
1097
1408
  # next_token: "UuidNextToken",
1098
1409
  # 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
1410
+ # account_id: "AwsAccountId",
1099
1411
  # })
1100
1412
  #
1101
1413
  # @example Response structure
@@ -1179,10 +1491,11 @@ module Aws::DevOpsGuru
1179
1491
  req.send_request(options)
1180
1492
  end
1181
1493
 
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`).
1494
+ # Returns a list of insights in your Amazon Web Services account. You
1495
+ # can specify which insights are returned by their start time, one or
1496
+ # more statuses (`ONGOING`, `CLOSED`, and `CLOSED`), one or more
1497
+ # severities (`LOW`, `MEDIUM`, and `HIGH`), and type (`REACTIVE` or
1498
+ # `PROACTIVE`).
1186
1499
  #
1187
1500
  # Use the `Filters` parameter to specify status and severity search
1188
1501
  # parameters. Use the `Type` parameter to specify `REACTIVE` or
@@ -1278,12 +1591,115 @@ module Aws::DevOpsGuru
1278
1591
  req.send_request(options)
1279
1592
  end
1280
1593
 
1594
+ # Returns a list of insights in your organization. You can specify which
1595
+ # insights are returned by their start time, one or more statuses
1596
+ # (`ONGOING`, `CLOSED`, and `CLOSED`), one or more severities (`LOW`,
1597
+ # `MEDIUM`, and `HIGH`), and type (`REACTIVE` or `PROACTIVE`).
1598
+ #
1599
+ # Use the `Filters` parameter to specify status and severity search
1600
+ # parameters. Use the `Type` parameter to specify `REACTIVE` or
1601
+ # `PROACTIVE` in your search.
1602
+ #
1603
+ # @option params [required, Array<String>] :account_ids
1604
+ # The ID of the Amazon Web Services account.
1605
+ #
1606
+ # @option params [required, Types::StartTimeRange] :start_time_range
1607
+ # A time range used to specify when the behavior of an insight or
1608
+ # anomaly started.
1609
+ #
1610
+ # @option params [Types::SearchOrganizationInsightsFilters] :filters
1611
+ # A `SearchOrganizationInsightsFilters` object that is used to set the
1612
+ # severity and status filters on your insight search.
1613
+ #
1614
+ # @option params [Integer] :max_results
1615
+ # The maximum number of results to return with a single call. To
1616
+ # retrieve the remaining results, make another call with the returned
1617
+ # `nextToken` value.
1618
+ #
1619
+ # @option params [String] :next_token
1620
+ # The pagination token to use to retrieve the next page of results for
1621
+ # this operation. If this value is null, it retrieves the first page.
1622
+ #
1623
+ # @option params [required, String] :type
1624
+ # The type of insights you are searching for (`REACTIVE` or
1625
+ # `PROACTIVE`).
1626
+ #
1627
+ # @return [Types::SearchOrganizationInsightsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1628
+ #
1629
+ # * {Types::SearchOrganizationInsightsResponse#proactive_insights #proactive_insights} => Array&lt;Types::ProactiveInsightSummary&gt;
1630
+ # * {Types::SearchOrganizationInsightsResponse#reactive_insights #reactive_insights} => Array&lt;Types::ReactiveInsightSummary&gt;
1631
+ # * {Types::SearchOrganizationInsightsResponse#next_token #next_token} => String
1632
+ #
1633
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1634
+ #
1635
+ # @example Request syntax with placeholder values
1636
+ #
1637
+ # resp = client.search_organization_insights({
1638
+ # account_ids: ["AwsAccountId"], # required
1639
+ # start_time_range: { # required
1640
+ # from_time: Time.now,
1641
+ # to_time: Time.now,
1642
+ # },
1643
+ # filters: {
1644
+ # severities: ["LOW"], # accepts LOW, MEDIUM, HIGH
1645
+ # statuses: ["ONGOING"], # accepts ONGOING, CLOSED
1646
+ # resource_collection: {
1647
+ # cloud_formation: {
1648
+ # stack_names: ["StackName"],
1649
+ # },
1650
+ # },
1651
+ # service_collection: {
1652
+ # 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
1653
+ # },
1654
+ # },
1655
+ # max_results: 1,
1656
+ # next_token: "UuidNextToken",
1657
+ # type: "REACTIVE", # required, accepts REACTIVE, PROACTIVE
1658
+ # })
1659
+ #
1660
+ # @example Response structure
1661
+ #
1662
+ # resp.proactive_insights #=> Array
1663
+ # resp.proactive_insights[0].id #=> String
1664
+ # resp.proactive_insights[0].name #=> String
1665
+ # resp.proactive_insights[0].severity #=> String, one of "LOW", "MEDIUM", "HIGH"
1666
+ # resp.proactive_insights[0].status #=> String, one of "ONGOING", "CLOSED"
1667
+ # resp.proactive_insights[0].insight_time_range.start_time #=> Time
1668
+ # resp.proactive_insights[0].insight_time_range.end_time #=> Time
1669
+ # resp.proactive_insights[0].prediction_time_range.start_time #=> Time
1670
+ # resp.proactive_insights[0].prediction_time_range.end_time #=> Time
1671
+ # resp.proactive_insights[0].resource_collection.cloud_formation.stack_names #=> Array
1672
+ # resp.proactive_insights[0].resource_collection.cloud_formation.stack_names[0] #=> String
1673
+ # resp.proactive_insights[0].service_collection.service_names #=> Array
1674
+ # 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"
1675
+ # resp.reactive_insights #=> Array
1676
+ # resp.reactive_insights[0].id #=> String
1677
+ # resp.reactive_insights[0].name #=> String
1678
+ # resp.reactive_insights[0].severity #=> String, one of "LOW", "MEDIUM", "HIGH"
1679
+ # resp.reactive_insights[0].status #=> String, one of "ONGOING", "CLOSED"
1680
+ # resp.reactive_insights[0].insight_time_range.start_time #=> Time
1681
+ # resp.reactive_insights[0].insight_time_range.end_time #=> Time
1682
+ # resp.reactive_insights[0].resource_collection.cloud_formation.stack_names #=> Array
1683
+ # resp.reactive_insights[0].resource_collection.cloud_formation.stack_names[0] #=> String
1684
+ # resp.reactive_insights[0].service_collection.service_names #=> Array
1685
+ # 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"
1686
+ # resp.next_token #=> String
1687
+ #
1688
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/SearchOrganizationInsights AWS API Documentation
1689
+ #
1690
+ # @overload search_organization_insights(params = {})
1691
+ # @param [Hash] params ({})
1692
+ def search_organization_insights(params = {}, options = {})
1693
+ req = build_request(:search_organization_insights, params)
1694
+ req.send_request(options)
1695
+ end
1696
+
1281
1697
  # Starts the creation of an estimate of the monthly cost to analyze your
1282
- # AWS resources.
1698
+ # Amazon Web Services resources.
1283
1699
  #
1284
1700
  # @option params [required, Types::CostEstimationResourceCollectionFilter] :resource_collection
1285
- # The collection of AWS resources used to create a monthly DevOps Guru
1286
- # cost estimate.
1701
+ # The collection of Amazon Web Services resources used to create a
1702
+ # monthly DevOps Guru cost estimate.
1287
1703
  #
1288
1704
  # @option params [String] :client_token
1289
1705
  # The idempotency token used to identify each cost estimate request.
@@ -1314,18 +1730,20 @@ module Aws::DevOpsGuru
1314
1730
  end
1315
1731
 
1316
1732
  # 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.
1733
+ # type of Amazon Web Services resource collection supported is Amazon
1734
+ # Web Services CloudFormation stacks. DevOps Guru can be configured to
1735
+ # analyze only the Amazon Web Services resources that are defined in the
1736
+ # stacks. You can specify up to 500 Amazon Web Services CloudFormation
1737
+ # stacks. This method also creates the IAM role required for you to use
1738
+ # DevOps Guru.
1322
1739
  #
1323
1740
  # @option params [required, String] :action
1324
1741
  # Specifies if the resource collection in the request is added or
1325
1742
  # deleted to the resource collection.
1326
1743
  #
1327
1744
  # @option params [required, Types::UpdateResourceCollectionFilter] :resource_collection
1328
- # Contains information used to update a collection of AWS resources.
1745
+ # Contains information used to update a collection of Amazon Web
1746
+ # Services resources.
1329
1747
  #
1330
1748
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1331
1749
  #
@@ -1351,8 +1769,8 @@ module Aws::DevOpsGuru
1351
1769
 
1352
1770
  # Enables or disables integration with a service that can be integrated
1353
1771
  # 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.
1772
+ # Guru is Amazon Web Services Systems Manager, which can be used to
1773
+ # create an OpsItem for each generated insight.
1356
1774
  #
1357
1775
  # @option params [required, Types::UpdateServiceIntegrationConfig] :service_integration
1358
1776
  # An `IntegratedServiceConfig` object used to specify the integrated
@@ -1393,7 +1811,7 @@ module Aws::DevOpsGuru
1393
1811
  params: params,
1394
1812
  config: config)
1395
1813
  context[:gem_name] = 'aws-sdk-devopsguru'
1396
- context[:gem_version] = '1.12.0'
1814
+ context[:gem_version] = '1.16.0'
1397
1815
  Seahorse::Client::Request.new(handlers, context)
1398
1816
  end
1399
1817