aws-sdk-devopsguru 1.5.0 → 1.9.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.
@@ -67,6 +67,28 @@ module Aws::DevOpsGuru
67
67
  include Aws::Structure
68
68
  end
69
69
 
70
+ # A time range that specifies when DevOps Guru opens and then closes an
71
+ # anomaly. This is different from `AnomalyTimeRange`, which specifies
72
+ # the time range when DevOps Guru actually observes the anomalous
73
+ # behavior.
74
+ #
75
+ # @!attribute [rw] open_time
76
+ # The time when an anomaly is opened.
77
+ # @return [Time]
78
+ #
79
+ # @!attribute [rw] close_time
80
+ # The time when an anomaly is closed.
81
+ # @return [Time]
82
+ #
83
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/AnomalyReportedTimeRange AWS API Documentation
84
+ #
85
+ class AnomalyReportedTimeRange < Struct.new(
86
+ :open_time,
87
+ :close_time)
88
+ SENSITIVE = []
89
+ include Aws::Structure
90
+ end
91
+
70
92
  # Details about the source of the anomalous operational data that
71
93
  # triggered the anomaly. The one supported source is Amazon CloudWatch
72
94
  # metrics.
@@ -86,7 +108,9 @@ module Aws::DevOpsGuru
86
108
  end
87
109
 
88
110
  # A time range that specifies when the observed unusual behavior in an
89
- # anomaly started and ended.
111
+ # anomaly started and ended. This is different from
112
+ # `AnomalyReportedTimeRange`, which specifies the time range when DevOps
113
+ # Guru opens and then closes an anomaly.
90
114
  #
91
115
  # @!attribute [rw] start_time
92
116
  # The time when the anomalous behavior started.
@@ -105,9 +129,10 @@ module Aws::DevOpsGuru
105
129
  include Aws::Structure
106
130
  end
107
131
 
108
- # Information about AWS CloudFormation stacks. You can use stacks to
109
- # specify which AWS resources in your account to analyze. For more
110
- # information, see [Stacks][1] in the *AWS CloudFormation User Guide*.
132
+ # Information about AWS CloudFormation stacks. You can use up to 500
133
+ # stacks to specify which AWS resources in your account to analyze. For
134
+ # more information, see [Stacks][1] in the *AWS CloudFormation User
135
+ # Guide*.
111
136
  #
112
137
  #
113
138
  #
@@ -132,9 +157,10 @@ module Aws::DevOpsGuru
132
157
  include Aws::Structure
133
158
  end
134
159
 
135
- # Information about AWS CloudFormation stacks. You can use stacks to
136
- # specify which AWS resources in your account to analyze. For more
137
- # information, see [Stacks][1] in the *AWS CloudFormation User Guide*.
160
+ # Information about AWS CloudFormation stacks. You can use up to 500
161
+ # stacks to specify which AWS resources in your account to analyze. For
162
+ # more information, see [Stacks][1] in the *AWS CloudFormation User
163
+ # Guide*.
138
164
  #
139
165
  #
140
166
  #
@@ -152,6 +178,36 @@ module Aws::DevOpsGuru
152
178
  include Aws::Structure
153
179
  end
154
180
 
181
+ # Information about an AWS CloudFormation stack used to create a monthly
182
+ # cost estimate for DevOps Guru to analyze AWS resources. The maximum
183
+ # number of stacks you can specify for a cost estimate is one. The
184
+ # estimate created is for the cost to analyze the AWS resources defined
185
+ # by the stack. For more information, see [Stacks][1] in the *AWS
186
+ # CloudFormation User Guide*.
187
+ #
188
+ #
189
+ #
190
+ # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacks.html
191
+ #
192
+ # @note When making an API call, you may pass CloudFormationCostEstimationResourceCollectionFilter
193
+ # data as a hash:
194
+ #
195
+ # {
196
+ # stack_names: ["StackName"],
197
+ # }
198
+ #
199
+ # @!attribute [rw] stack_names
200
+ # An array of CloudFormation stack names. Its size is fixed at 1 item.
201
+ # @return [Array<String>]
202
+ #
203
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/CloudFormationCostEstimationResourceCollectionFilter AWS API Documentation
204
+ #
205
+ class CloudFormationCostEstimationResourceCollectionFilter < Struct.new(
206
+ :stack_names)
207
+ SENSITIVE = []
208
+ include Aws::Structure
209
+ end
210
+
155
211
  # Information about the health of AWS resources in your account that are
156
212
  # specified by an AWS CloudFormation stack.
157
213
  #
@@ -274,6 +330,57 @@ module Aws::DevOpsGuru
274
330
  include Aws::Structure
275
331
  end
276
332
 
333
+ # Information about a filter used to specify which AWS resources are
334
+ # analyzed to create a monthly DevOps Guru cost estimate. For more
335
+ # information, see [Estimate your Amazon DevOps Guru costs][1] and
336
+ # [Amazon DevOps Guru pricing][2].
337
+ #
338
+ #
339
+ #
340
+ # [1]: https://docs.aws.amazon.com/devops-guru/latest/userguide/cost-estimate.html
341
+ # [2]: http://aws.amazon.com/devops-guru/pricing/
342
+ #
343
+ # @note When making an API call, you may pass CostEstimationResourceCollectionFilter
344
+ # data as a hash:
345
+ #
346
+ # {
347
+ # cloud_formation: {
348
+ # stack_names: ["StackName"],
349
+ # },
350
+ # }
351
+ #
352
+ # @!attribute [rw] cloud_formation
353
+ # An object that specifies the CloudFormation stack that defines the
354
+ # AWS resources used to create a monthly estimate for DevOps Guru.
355
+ # @return [Types::CloudFormationCostEstimationResourceCollectionFilter]
356
+ #
357
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/CostEstimationResourceCollectionFilter AWS API Documentation
358
+ #
359
+ class CostEstimationResourceCollectionFilter < Struct.new(
360
+ :cloud_formation)
361
+ SENSITIVE = []
362
+ include Aws::Structure
363
+ end
364
+
365
+ # The time range of a cost estimation.
366
+ #
367
+ # @!attribute [rw] start_time
368
+ # The start time of the cost estimation.
369
+ # @return [Time]
370
+ #
371
+ # @!attribute [rw] end_time
372
+ # The end time of the cost estimation.
373
+ # @return [Time]
374
+ #
375
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/CostEstimationTimeRange AWS API Documentation
376
+ #
377
+ class CostEstimationTimeRange < Struct.new(
378
+ :start_time,
379
+ :end_time)
380
+ SENSITIVE = []
381
+ include Aws::Structure
382
+ end
383
+
277
384
  # @api private
278
385
  #
279
386
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeAccountHealthRequest AWS API Documentation
@@ -386,11 +493,11 @@ module Aws::DevOpsGuru
386
493
  end
387
494
 
388
495
  # @!attribute [rw] proactive_anomaly
389
- # An `ReactiveAnomaly` object that represents the requested anomaly.
496
+ # A `ReactiveAnomaly` object that represents the requested anomaly.
390
497
  # @return [Types::ProactiveAnomaly]
391
498
  #
392
499
  # @!attribute [rw] reactive_anomaly
393
- # An `ProactiveAnomaly` object that represents the requested anomaly.
500
+ # A `ProactiveAnomaly` object that represents the requested anomaly.
394
501
  # @return [Types::ReactiveAnomaly]
395
502
  #
396
503
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeAnomalyResponse AWS API Documentation
@@ -453,11 +560,11 @@ module Aws::DevOpsGuru
453
560
  end
454
561
 
455
562
  # @!attribute [rw] proactive_insight
456
- # An `ProactiveInsight` object that represents the requested insight.
563
+ # A `ProactiveInsight` object that represents the requested insight.
457
564
  # @return [Types::ProactiveInsight]
458
565
  #
459
566
  # @!attribute [rw] reactive_insight
460
- # An `ReactiveInsight` object that represents the requested insight.
567
+ # A `ReactiveInsight` object that represents the requested insight.
461
568
  # @return [Types::ReactiveInsight]
462
569
  #
463
570
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeInsightResponse AWS API Documentation
@@ -473,7 +580,7 @@ module Aws::DevOpsGuru
473
580
  # data as a hash:
474
581
  #
475
582
  # {
476
- # resource_collection_type: "AWS_CLOUD_FORMATION", # required, accepts AWS_CLOUD_FORMATION
583
+ # resource_collection_type: "AWS_CLOUD_FORMATION", # required, accepts AWS_CLOUD_FORMATION, AWS_SERVICE
477
584
  # next_token: "UuidNextToken",
478
585
  # }
479
586
  #
@@ -482,7 +589,7 @@ module Aws::DevOpsGuru
482
589
  # AWS resources are defined. The one type of AWS resource collection
483
590
  # supported is AWS CloudFormation stacks. DevOps Guru can be
484
591
  # configured to analyze only the AWS resources that are defined in the
485
- # stacks.
592
+ # stacks. You can specify up to 500 AWS CloudFormation stacks.
486
593
  # @return [String]
487
594
  #
488
595
  # @!attribute [rw] next_token
@@ -505,6 +612,11 @@ module Aws::DevOpsGuru
505
612
  # information.
506
613
  # @return [Array<Types::CloudFormationHealth>]
507
614
  #
615
+ # @!attribute [rw] service
616
+ # An array of `ServiceHealth` objects that describes the health of the
617
+ # AWS services associated with the resources in the collection.
618
+ # @return [Array<Types::ServiceHealth>]
619
+ #
508
620
  # @!attribute [rw] next_token
509
621
  # The pagination token to use to retrieve the next page of results for
510
622
  # this operation. If there are no more pages, this value is null.
@@ -514,6 +626,7 @@ module Aws::DevOpsGuru
514
626
  #
515
627
  class DescribeResourceCollectionHealthResponse < Struct.new(
516
628
  :cloud_formation,
629
+ :service,
517
630
  :next_token)
518
631
  SENSITIVE = []
519
632
  include Aws::Structure
@@ -574,7 +687,8 @@ module Aws::DevOpsGuru
574
687
  # A collection of AWS resources supported by DevOps Guru. The one type
575
688
  # of AWS resource collection supported is AWS CloudFormation stacks.
576
689
  # DevOps Guru can be configured to analyze only the AWS resources that
577
- # are defined in the stacks.
690
+ # are defined in the stacks. You can specify up to 500 AWS
691
+ # CloudFormation stacks.
578
692
  # @return [Types::ResourceCollection]
579
693
  #
580
694
  # @!attribute [rw] id
@@ -680,11 +794,75 @@ module Aws::DevOpsGuru
680
794
  include Aws::Structure
681
795
  end
682
796
 
797
+ # @note When making an API call, you may pass GetCostEstimationRequest
798
+ # data as a hash:
799
+ #
800
+ # {
801
+ # next_token: "UuidNextToken",
802
+ # }
803
+ #
804
+ # @!attribute [rw] next_token
805
+ # The pagination token to use to retrieve the next page of results for
806
+ # this operation. If this value is null, it retrieves the first page.
807
+ # @return [String]
808
+ #
809
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/GetCostEstimationRequest AWS API Documentation
810
+ #
811
+ class GetCostEstimationRequest < Struct.new(
812
+ :next_token)
813
+ SENSITIVE = []
814
+ include Aws::Structure
815
+ end
816
+
817
+ # @!attribute [rw] resource_collection
818
+ # The collection of the AWS resources used to create your monthly
819
+ # DevOps Guru cost estimate.
820
+ # @return [Types::CostEstimationResourceCollectionFilter]
821
+ #
822
+ # @!attribute [rw] status
823
+ # The status of creating this cost estimate. If it's still in
824
+ # progress, the status `ONGOING` is returned. If it is finished, the
825
+ # status `COMPLETED` is returned.
826
+ # @return [String]
827
+ #
828
+ # @!attribute [rw] costs
829
+ # An array of `ResourceCost` objects that each contains details about
830
+ # the monthly cost estimate to analyze one of your AWS resources.
831
+ # @return [Array<Types::ServiceResourceCost>]
832
+ #
833
+ # @!attribute [rw] time_range
834
+ # The start and end time of the cost estimation.
835
+ # @return [Types::CostEstimationTimeRange]
836
+ #
837
+ # @!attribute [rw] total_cost
838
+ # The estimated monthly cost to analyze the AWS resources. This value
839
+ # is the sum of the estimated costs to analyze each resource in the
840
+ # `Costs` object in this response.
841
+ # @return [Float]
842
+ #
843
+ # @!attribute [rw] next_token
844
+ # The pagination token to use to retrieve the next page of results for
845
+ # this operation. If there are no more pages, this value is null.
846
+ # @return [String]
847
+ #
848
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/GetCostEstimationResponse AWS API Documentation
849
+ #
850
+ class GetCostEstimationResponse < Struct.new(
851
+ :resource_collection,
852
+ :status,
853
+ :costs,
854
+ :time_range,
855
+ :total_cost,
856
+ :next_token)
857
+ SENSITIVE = []
858
+ include Aws::Structure
859
+ end
860
+
683
861
  # @note When making an API call, you may pass GetResourceCollectionRequest
684
862
  # data as a hash:
685
863
  #
686
864
  # {
687
- # resource_collection_type: "AWS_CLOUD_FORMATION", # required, accepts AWS_CLOUD_FORMATION
865
+ # resource_collection_type: "AWS_CLOUD_FORMATION", # required, accepts AWS_CLOUD_FORMATION, AWS_SERVICE
688
866
  # next_token: "UuidNextToken",
689
867
  # }
690
868
  #
@@ -711,7 +889,8 @@ module Aws::DevOpsGuru
711
889
  # The requested list of AWS resource collections. The one type of AWS
712
890
  # resource collection supported is AWS CloudFormation stacks. DevOps
713
891
  # Guru can be configured to analyze only the AWS resources that are
714
- # defined in the stacks.
892
+ # defined in the stacks. You can specify up to 500 AWS CloudFormation
893
+ # stacks.
715
894
  # @return [Types::ResourceCollectionFilter]
716
895
  #
717
896
  # @!attribute [rw] next_token
@@ -939,7 +1118,8 @@ module Aws::DevOpsGuru
939
1118
  # A collection of AWS resources supported by DevOps Guru. The one type
940
1119
  # of AWS resource collection supported is AWS CloudFormation stacks.
941
1120
  # DevOps Guru can be configured to analyze only the AWS resources that
942
- # are defined in the stacks.
1121
+ # are defined in the stacks. You can specify up to 500 AWS
1122
+ # CloudFormation stacks.
943
1123
  # @return [Types::ResourceCollection]
944
1124
  #
945
1125
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListEventsFilters AWS API Documentation
@@ -1274,6 +1454,7 @@ module Aws::DevOpsGuru
1274
1454
  # {
1275
1455
  # insight_id: "InsightId", # required
1276
1456
  # next_token: "UuidNextToken",
1457
+ # 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
1277
1458
  # }
1278
1459
  #
1279
1460
  # @!attribute [rw] insight_id
@@ -1285,11 +1466,16 @@ module Aws::DevOpsGuru
1285
1466
  # this operation. If this value is null, it retrieves the first page.
1286
1467
  # @return [String]
1287
1468
  #
1469
+ # @!attribute [rw] locale
1470
+ # A locale that specifies the language to use for recommendations.
1471
+ # @return [String]
1472
+ #
1288
1473
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListRecommendationsRequest AWS API Documentation
1289
1474
  #
1290
1475
  class ListRecommendationsRequest < Struct.new(
1291
1476
  :insight_id,
1292
- :next_token)
1477
+ :next_token,
1478
+ :locale)
1293
1479
  SENSITIVE = []
1294
1480
  include Aws::Structure
1295
1481
  end
@@ -1476,9 +1662,16 @@ module Aws::DevOpsGuru
1476
1662
  #
1477
1663
  # @!attribute [rw] anomaly_time_range
1478
1664
  # A time range that specifies when the observed unusual behavior in an
1479
- # anomaly started and ended.
1665
+ # anomaly started and ended. This is different from
1666
+ # `AnomalyReportedTimeRange`, which specifies the time range when
1667
+ # DevOps Guru opens and then closes an anomaly.
1480
1668
  # @return [Types::AnomalyTimeRange]
1481
1669
  #
1670
+ # @!attribute [rw] anomaly_reported_time_range
1671
+ # A `AnomalyReportedTimeRange` object that specifies the time range
1672
+ # between when the anomaly is opened and the time when it is closed.
1673
+ # @return [Types::AnomalyReportedTimeRange]
1674
+ #
1482
1675
  # @!attribute [rw] prediction_time_range
1483
1676
  # The time range during which anomalous behavior in a proactive
1484
1677
  # anomaly or an insight is expected to occur.
@@ -1499,7 +1692,8 @@ module Aws::DevOpsGuru
1499
1692
  # A collection of AWS resources supported by DevOps Guru. The one type
1500
1693
  # of AWS resource collection supported is AWS CloudFormation stacks.
1501
1694
  # DevOps Guru can be configured to analyze only the AWS resources that
1502
- # are defined in the stacks.
1695
+ # are defined in the stacks. You can specify up to 500 AWS
1696
+ # CloudFormation stacks.
1503
1697
  # @return [Types::ResourceCollection]
1504
1698
  #
1505
1699
  # @!attribute [rw] limit
@@ -1516,6 +1710,7 @@ module Aws::DevOpsGuru
1516
1710
  :status,
1517
1711
  :update_time,
1518
1712
  :anomaly_time_range,
1713
+ :anomaly_reported_time_range,
1519
1714
  :prediction_time_range,
1520
1715
  :source_details,
1521
1716
  :associated_insight_id,
@@ -1546,9 +1741,16 @@ module Aws::DevOpsGuru
1546
1741
  #
1547
1742
  # @!attribute [rw] anomaly_time_range
1548
1743
  # A time range that specifies when the observed unusual behavior in an
1549
- # anomaly started and ended.
1744
+ # anomaly started and ended. This is different from
1745
+ # `AnomalyReportedTimeRange`, which specifies the time range when
1746
+ # DevOps Guru opens and then closes an anomaly.
1550
1747
  # @return [Types::AnomalyTimeRange]
1551
1748
  #
1749
+ # @!attribute [rw] anomaly_reported_time_range
1750
+ # A `AnomalyReportedTimeRange` object that specifies the time range
1751
+ # between when the anomaly is opened and the time when it is closed.
1752
+ # @return [Types::AnomalyReportedTimeRange]
1753
+ #
1552
1754
  # @!attribute [rw] prediction_time_range
1553
1755
  # The time range during which anomalous behavior in a proactive
1554
1756
  # anomaly or an insight is expected to occur.
@@ -1569,7 +1771,8 @@ module Aws::DevOpsGuru
1569
1771
  # A collection of AWS resources supported by DevOps Guru. The one type
1570
1772
  # of AWS resource collection supported is AWS CloudFormation stacks.
1571
1773
  # DevOps Guru can be configured to analyze only the AWS resources that
1572
- # are defined in the stacks.
1774
+ # are defined in the stacks. You can specify up to 500 AWS
1775
+ # CloudFormation stacks.
1573
1776
  # @return [Types::ResourceCollection]
1574
1777
  #
1575
1778
  # @!attribute [rw] limit
@@ -1586,6 +1789,7 @@ module Aws::DevOpsGuru
1586
1789
  :status,
1587
1790
  :update_time,
1588
1791
  :anomaly_time_range,
1792
+ :anomaly_reported_time_range,
1589
1793
  :prediction_time_range,
1590
1794
  :source_details,
1591
1795
  :associated_insight_id,
@@ -1628,7 +1832,8 @@ module Aws::DevOpsGuru
1628
1832
  # A collection of AWS resources supported by DevOps Guru. The one type
1629
1833
  # of AWS resource collection supported is AWS CloudFormation stacks.
1630
1834
  # DevOps Guru can be configured to analyze only the AWS resources that
1631
- # are defined in the stacks.
1835
+ # are defined in the stacks. You can specify up to 500 AWS
1836
+ # CloudFormation stacks.
1632
1837
  # @return [Types::ResourceCollection]
1633
1838
  #
1634
1839
  # @!attribute [rw] ssm_ops_item_id
@@ -1685,9 +1890,14 @@ module Aws::DevOpsGuru
1685
1890
  # A collection of AWS resources supported by DevOps Guru. The one type
1686
1891
  # of AWS resource collection supported is AWS CloudFormation stacks.
1687
1892
  # DevOps Guru can be configured to analyze only the AWS resources that
1688
- # are defined in the stacks.
1893
+ # are defined in the stacks. You can specify up to 500 AWS
1894
+ # CloudFormation stacks.
1689
1895
  # @return [Types::ResourceCollection]
1690
1896
  #
1897
+ # @!attribute [rw] service_collection
1898
+ # A collection of the names of AWS services.
1899
+ # @return [Types::ServiceCollection]
1900
+ #
1691
1901
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ProactiveInsightSummary AWS API Documentation
1692
1902
  #
1693
1903
  class ProactiveInsightSummary < Struct.new(
@@ -1697,7 +1907,8 @@ module Aws::DevOpsGuru
1697
1907
  :status,
1698
1908
  :insight_time_range,
1699
1909
  :prediction_time_range,
1700
- :resource_collection)
1910
+ :resource_collection,
1911
+ :service_collection)
1701
1912
  SENSITIVE = []
1702
1913
  include Aws::Structure
1703
1914
  end
@@ -1746,9 +1957,16 @@ module Aws::DevOpsGuru
1746
1957
  #
1747
1958
  # @!attribute [rw] anomaly_time_range
1748
1959
  # A time range that specifies when the observed unusual behavior in an
1749
- # anomaly started and ended.
1960
+ # anomaly started and ended. This is different from
1961
+ # `AnomalyReportedTimeRange`, which specifies the time range when
1962
+ # DevOps Guru opens and then closes an anomaly.
1750
1963
  # @return [Types::AnomalyTimeRange]
1751
1964
  #
1965
+ # @!attribute [rw] anomaly_reported_time_range
1966
+ # A `AnomalyReportedTimeRange` object that specifies the time range
1967
+ # between when the anomaly is opened and the time when it is closed.
1968
+ # @return [Types::AnomalyReportedTimeRange]
1969
+ #
1752
1970
  # @!attribute [rw] source_details
1753
1971
  # Details about the source of the analyzed operational data that
1754
1972
  # triggered the anomaly. The one supported source is Amazon CloudWatch
@@ -1764,7 +1982,8 @@ module Aws::DevOpsGuru
1764
1982
  # A collection of AWS resources supported by DevOps Guru. The one type
1765
1983
  # of AWS resource collection supported is AWS CloudFormation stacks.
1766
1984
  # DevOps Guru can be configured to analyze only the AWS resources that
1767
- # are defined in the stacks.
1985
+ # are defined in the stacks. You can specify up to 500 AWS
1986
+ # CloudFormation stacks.
1768
1987
  # @return [Types::ResourceCollection]
1769
1988
  #
1770
1989
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ReactiveAnomaly AWS API Documentation
@@ -1774,6 +1993,7 @@ module Aws::DevOpsGuru
1774
1993
  :severity,
1775
1994
  :status,
1776
1995
  :anomaly_time_range,
1996
+ :anomaly_reported_time_range,
1777
1997
  :source_details,
1778
1998
  :associated_insight_id,
1779
1999
  :resource_collection)
@@ -1798,9 +2018,16 @@ module Aws::DevOpsGuru
1798
2018
  #
1799
2019
  # @!attribute [rw] anomaly_time_range
1800
2020
  # A time range that specifies when the observed unusual behavior in an
1801
- # anomaly started and ended.
2021
+ # anomaly started and ended. This is different from
2022
+ # `AnomalyReportedTimeRange`, which specifies the time range when
2023
+ # DevOps Guru opens and then closes an anomaly.
1802
2024
  # @return [Types::AnomalyTimeRange]
1803
2025
  #
2026
+ # @!attribute [rw] anomaly_reported_time_range
2027
+ # A `AnomalyReportedTimeRange` object that specifies the time range
2028
+ # between when the anomaly is opened and the time when it is closed.
2029
+ # @return [Types::AnomalyReportedTimeRange]
2030
+ #
1804
2031
  # @!attribute [rw] source_details
1805
2032
  # Details about the source of the analyzed operational data that
1806
2033
  # triggered the anomaly. The one supported source is Amazon CloudWatch
@@ -1816,7 +2043,8 @@ module Aws::DevOpsGuru
1816
2043
  # A collection of AWS resources supported by DevOps Guru. The one type
1817
2044
  # of AWS resource collection supported is AWS CloudFormation stacks.
1818
2045
  # DevOps Guru can be configured to analyze only the AWS resources that
1819
- # are defined in the stacks.
2046
+ # are defined in the stacks. You can specify up to 500 AWS
2047
+ # CloudFormation stacks.
1820
2048
  # @return [Types::ResourceCollection]
1821
2049
  #
1822
2050
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ReactiveAnomalySummary AWS API Documentation
@@ -1826,6 +2054,7 @@ module Aws::DevOpsGuru
1826
2054
  :severity,
1827
2055
  :status,
1828
2056
  :anomaly_time_range,
2057
+ :anomaly_reported_time_range,
1829
2058
  :source_details,
1830
2059
  :associated_insight_id,
1831
2060
  :resource_collection)
@@ -1861,7 +2090,8 @@ module Aws::DevOpsGuru
1861
2090
  # A collection of AWS resources supported by DevOps Guru. The one type
1862
2091
  # of AWS resource collection supported is AWS CloudFormation stacks.
1863
2092
  # DevOps Guru can be configured to analyze only the AWS resources that
1864
- # are defined in the stacks.
2093
+ # are defined in the stacks. You can specify up to 500 AWS
2094
+ # CloudFormation stacks.
1865
2095
  # @return [Types::ResourceCollection]
1866
2096
  #
1867
2097
  # @!attribute [rw] ssm_ops_item_id
@@ -1912,9 +2142,14 @@ module Aws::DevOpsGuru
1912
2142
  # A collection of AWS resources supported by DevOps Guru. The one type
1913
2143
  # of AWS resource collection supported is AWS CloudFormation stacks.
1914
2144
  # DevOps Guru can be configured to analyze only the AWS resources that
1915
- # are defined in the stacks.
2145
+ # are defined in the stacks. You can specify up to 500 AWS
2146
+ # CloudFormation stacks.
1916
2147
  # @return [Types::ResourceCollection]
1917
2148
  #
2149
+ # @!attribute [rw] service_collection
2150
+ # A collection of the names of AWS services.
2151
+ # @return [Types::ServiceCollection]
2152
+ #
1918
2153
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ReactiveInsightSummary AWS API Documentation
1919
2154
  #
1920
2155
  class ReactiveInsightSummary < Struct.new(
@@ -1923,7 +2158,8 @@ module Aws::DevOpsGuru
1923
2158
  :severity,
1924
2159
  :status,
1925
2160
  :insight_time_range,
1926
- :resource_collection)
2161
+ :resource_collection,
2162
+ :service_collection)
1927
2163
  SENSITIVE = []
1928
2164
  include Aws::Structure
1929
2165
  end
@@ -2062,7 +2298,8 @@ module Aws::DevOpsGuru
2062
2298
  #
2063
2299
  # @!attribute [rw] resources
2064
2300
  # A `ResourceCollection` object that contains arrays of the names of
2065
- # AWS CloudFormation stacks.
2301
+ # AWS CloudFormation stacks. You can specify up to 500 AWS
2302
+ # CloudFormation stacks.
2066
2303
  # @return [Array<Types::RecommendationRelatedEventResource>]
2067
2304
  #
2068
2305
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/RecommendationRelatedEvent AWS API Documentation
@@ -2122,7 +2359,8 @@ module Aws::DevOpsGuru
2122
2359
  # A collection of AWS resources supported by DevOps Guru. The one type
2123
2360
  # of AWS resource collection supported is AWS CloudFormation stacks.
2124
2361
  # DevOps Guru can be configured to analyze only the AWS resources that
2125
- # are defined in the stacks.
2362
+ # are defined in the stacks. You can specify up to 500 AWS
2363
+ # CloudFormation stacks.
2126
2364
  #
2127
2365
  # @note When making an API call, you may pass ResourceCollection
2128
2366
  # data as a hash:
@@ -2135,7 +2373,8 @@ module Aws::DevOpsGuru
2135
2373
  #
2136
2374
  # @!attribute [rw] cloud_formation
2137
2375
  # An array of the names of AWS CloudFormation stacks. The stacks
2138
- # define AWS resources that DevOps Guru analyzes.
2376
+ # define AWS resources that DevOps Guru analyzes. You can specify up
2377
+ # to 500 AWS CloudFormation stacks.
2139
2378
  # @return [Types::CloudFormationCollection]
2140
2379
  #
2141
2380
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ResourceCollection AWS API Documentation
@@ -2150,9 +2389,10 @@ module Aws::DevOpsGuru
2150
2389
  # analyzed for anomalous behavior by DevOps Guru.
2151
2390
  #
2152
2391
  # @!attribute [rw] cloud_formation
2153
- # Information about AWS CloudFormation stacks. You can use stacks to
2154
- # specify which AWS resources in your account to analyze. For more
2155
- # information, see [Stacks][1] in the *AWS CloudFormation User Guide*.
2392
+ # Information about AWS CloudFormation stacks. You can use up to 500
2393
+ # stacks to specify which AWS resources in your account to analyze.
2394
+ # For more information, see [Stacks][1] in the *AWS CloudFormation
2395
+ # User Guide*.
2156
2396
  #
2157
2397
  #
2158
2398
  #
@@ -2204,6 +2444,9 @@ module Aws::DevOpsGuru
2204
2444
  # stack_names: ["StackName"],
2205
2445
  # },
2206
2446
  # },
2447
+ # service_collection: {
2448
+ # 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
2449
+ # },
2207
2450
  # }
2208
2451
  #
2209
2452
  # @!attribute [rw] severities
@@ -2218,15 +2461,21 @@ module Aws::DevOpsGuru
2218
2461
  # A collection of AWS resources supported by DevOps Guru. The one type
2219
2462
  # of AWS resource collection supported is AWS CloudFormation stacks.
2220
2463
  # DevOps Guru can be configured to analyze only the AWS resources that
2221
- # are defined in the stacks.
2464
+ # are defined in the stacks. You can specify up to 500 AWS
2465
+ # CloudFormation stacks.
2222
2466
  # @return [Types::ResourceCollection]
2223
2467
  #
2468
+ # @!attribute [rw] service_collection
2469
+ # A collection of the names of AWS services.
2470
+ # @return [Types::ServiceCollection]
2471
+ #
2224
2472
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/SearchInsightsFilters AWS API Documentation
2225
2473
  #
2226
2474
  class SearchInsightsFilters < Struct.new(
2227
2475
  :severities,
2228
2476
  :statuses,
2229
- :resource_collection)
2477
+ :resource_collection,
2478
+ :service_collection)
2230
2479
  SENSITIVE = []
2231
2480
  include Aws::Structure
2232
2481
  end
@@ -2247,6 +2496,9 @@ module Aws::DevOpsGuru
2247
2496
  # stack_names: ["StackName"],
2248
2497
  # },
2249
2498
  # },
2499
+ # service_collection: {
2500
+ # 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
2501
+ # },
2250
2502
  # },
2251
2503
  # max_results: 1,
2252
2504
  # next_token: "UuidNextToken",
@@ -2314,6 +2566,68 @@ module Aws::DevOpsGuru
2314
2566
  include Aws::Structure
2315
2567
  end
2316
2568
 
2569
+ # A collection of the names of AWS services.
2570
+ #
2571
+ # @note When making an API call, you may pass ServiceCollection
2572
+ # data as a hash:
2573
+ #
2574
+ # {
2575
+ # 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
2576
+ # }
2577
+ #
2578
+ # @!attribute [rw] service_names
2579
+ # An array of strings that each specifies the name of an AWS service.
2580
+ # @return [Array<String>]
2581
+ #
2582
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ServiceCollection AWS API Documentation
2583
+ #
2584
+ class ServiceCollection < Struct.new(
2585
+ :service_names)
2586
+ SENSITIVE = []
2587
+ include Aws::Structure
2588
+ end
2589
+
2590
+ # Represents the health of an AWS service.
2591
+ #
2592
+ # @!attribute [rw] service_name
2593
+ # The name of the AWS service.
2594
+ # @return [String]
2595
+ #
2596
+ # @!attribute [rw] insight
2597
+ # Represents the health of an AWS service. This is a
2598
+ # `ServiceInsightHealth` that contains the number of open proactive
2599
+ # and reactive insights for this service.
2600
+ # @return [Types::ServiceInsightHealth]
2601
+ #
2602
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ServiceHealth AWS API Documentation
2603
+ #
2604
+ class ServiceHealth < Struct.new(
2605
+ :service_name,
2606
+ :insight)
2607
+ SENSITIVE = []
2608
+ include Aws::Structure
2609
+ end
2610
+
2611
+ # Contains the number of open proactive and reactive insights in an
2612
+ # analyzed AWS service.
2613
+ #
2614
+ # @!attribute [rw] open_proactive_insights
2615
+ # The number of open proactive insights in the AWS service
2616
+ # @return [Integer]
2617
+ #
2618
+ # @!attribute [rw] open_reactive_insights
2619
+ # The number of open reactive insights in the AWS service
2620
+ # @return [Integer]
2621
+ #
2622
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ServiceInsightHealth AWS API Documentation
2623
+ #
2624
+ class ServiceInsightHealth < Struct.new(
2625
+ :open_proactive_insights,
2626
+ :open_reactive_insights)
2627
+ SENSITIVE = []
2628
+ include Aws::Structure
2629
+ end
2630
+
2317
2631
  # Information about the integration of DevOps Guru with another AWS
2318
2632
  # service, such as AWS Systems Manager.
2319
2633
  #
@@ -2343,6 +2657,59 @@ module Aws::DevOpsGuru
2343
2657
  include Aws::Structure
2344
2658
  end
2345
2659
 
2660
+ # An object that contains information about the estimated monthly cost
2661
+ # to analyze an AWS resource. For more information, see [Estimate your
2662
+ # Amazon DevOps Guru costs][1] and [Amazon DevOps Guru pricing][2].
2663
+ #
2664
+ #
2665
+ #
2666
+ # [1]: https://docs.aws.amazon.com/devops-guru/latest/userguide/cost-estimate.html
2667
+ # [2]: http://aws.amazon.com/devops-guru/pricing/
2668
+ #
2669
+ # @!attribute [rw] type
2670
+ # The type of the AWS resource.
2671
+ # @return [String]
2672
+ #
2673
+ # @!attribute [rw] state
2674
+ # The state of the resource. The resource is `ACTIVE` if it produces
2675
+ # metrics, events, or logs within an hour, otherwise it is `INACTIVE`.
2676
+ # You pay for the number of active AWS resource hours analyzed for
2677
+ # each resource. Inactive resources are not charged.
2678
+ # @return [String]
2679
+ #
2680
+ # @!attribute [rw] count
2681
+ # The number of active resources analyzed for this service to create a
2682
+ # monthly cost estimate.
2683
+ # @return [Integer]
2684
+ #
2685
+ # @!attribute [rw] unit_cost
2686
+ # The price per hour to analyze the resources in the service. For more
2687
+ # information, see [Estimate your Amazon DevOps Guru costs][1] and
2688
+ # [Amazon DevOps Guru pricing][2].
2689
+ #
2690
+ #
2691
+ #
2692
+ # [1]: https://docs.aws.amazon.com/devops-guru/latest/userguide/cost-estimate.html
2693
+ # [2]: http://aws.amazon.com/devops-guru/pricing/
2694
+ # @return [Float]
2695
+ #
2696
+ # @!attribute [rw] cost
2697
+ # The total estimated monthly cost to analyze the active resources for
2698
+ # this resource.
2699
+ # @return [Float]
2700
+ #
2701
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ServiceResourceCost AWS API Documentation
2702
+ #
2703
+ class ServiceResourceCost < Struct.new(
2704
+ :type,
2705
+ :state,
2706
+ :count,
2707
+ :unit_cost,
2708
+ :cost)
2709
+ SENSITIVE = []
2710
+ include Aws::Structure
2711
+ end
2712
+
2346
2713
  # Contains the Amazon Resource Name (ARN) of an Amazon Simple
2347
2714
  # Notification Service topic.
2348
2715
  #
@@ -2382,6 +2749,43 @@ module Aws::DevOpsGuru
2382
2749
  include Aws::Structure
2383
2750
  end
2384
2751
 
2752
+ # @note When making an API call, you may pass StartCostEstimationRequest
2753
+ # data as a hash:
2754
+ #
2755
+ # {
2756
+ # resource_collection: { # required
2757
+ # cloud_formation: {
2758
+ # stack_names: ["StackName"],
2759
+ # },
2760
+ # },
2761
+ # client_token: "ClientToken",
2762
+ # }
2763
+ #
2764
+ # @!attribute [rw] resource_collection
2765
+ # The collection of AWS resources used to create a monthly DevOps Guru
2766
+ # cost estimate.
2767
+ # @return [Types::CostEstimationResourceCollectionFilter]
2768
+ #
2769
+ # @!attribute [rw] client_token
2770
+ # The idempotency token used to identify each cost estimate request.
2771
+ #
2772
+ # **A suitable default value is auto-generated.** You should normally
2773
+ # not need to pass this option.
2774
+ # @return [String]
2775
+ #
2776
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/StartCostEstimationRequest AWS API Documentation
2777
+ #
2778
+ class StartCostEstimationRequest < Struct.new(
2779
+ :resource_collection,
2780
+ :client_token)
2781
+ SENSITIVE = []
2782
+ include Aws::Structure
2783
+ end
2784
+
2785
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/StartCostEstimationResponse AWS API Documentation
2786
+ #
2787
+ class StartCostEstimationResponse < Aws::EmptyStructure; end
2788
+
2385
2789
  # A time range used to specify when the behavior of an insight or
2386
2790
  # anomaly started.
2387
2791
  #
@@ -2441,7 +2845,8 @@ module Aws::DevOpsGuru
2441
2845
  end
2442
2846
 
2443
2847
  # Contains the names of AWS CloudFormation stacks used to update a
2444
- # collection of stacks.
2848
+ # collection of stacks. You can specify up to 500 AWS CloudFormation
2849
+ # stacks.
2445
2850
  #
2446
2851
  # @note When making an API call, you may pass UpdateCloudFormationCollectionFilter
2447
2852
  # data as a hash:
@@ -2451,7 +2856,8 @@ module Aws::DevOpsGuru
2451
2856
  # }
2452
2857
  #
2453
2858
  # @!attribute [rw] stack_names
2454
- # An array of the name of stacks to update.
2859
+ # An array of the names of the AWS CloudFormation stacks to update.
2860
+ # You can specify up to 500 AWS CloudFormation stacks.
2455
2861
  # @return [Array<String>]
2456
2862
  #
2457
2863
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/UpdateCloudFormationCollectionFilter AWS API Documentation
@@ -2474,7 +2880,8 @@ module Aws::DevOpsGuru
2474
2880
  # }
2475
2881
  #
2476
2882
  # @!attribute [rw] cloud_formation
2477
- # An collection of AWS CloudFormation stacks.
2883
+ # An collection of AWS CloudFormation stacks. You can specify up to
2884
+ # 500 AWS CloudFormation stacks.
2478
2885
  # @return [Types::UpdateCloudFormationCollectionFilter]
2479
2886
  #
2480
2887
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/UpdateResourceCollectionFilter AWS API Documentation