aws-sdk-xray 1.34.0 → 1.38.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -59,6 +59,20 @@ module Aws::XRay
59
59
  include Aws::Structure
60
60
  end
61
61
 
62
+ # The service within the service graph that has anomalously high fault
63
+ # rates.
64
+ #
65
+ # @!attribute [rw] service_id
66
+ # @return [Types::ServiceId]
67
+ #
68
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/AnomalousService AWS API Documentation
69
+ #
70
+ class AnomalousService < Struct.new(
71
+ :service_id)
72
+ SENSITIVE = []
73
+ include Aws::Structure
74
+ end
75
+
62
76
  # A list of Availability Zones corresponding to the segments in a trace.
63
77
  #
64
78
  # @!attribute [rw] name
@@ -728,6 +742,26 @@ module Aws::XRay
728
742
  include Aws::Structure
729
743
  end
730
744
 
745
+ # The predicted high and low fault count. This is used to determine if a
746
+ # service has become anomalous and if an insight should be created.
747
+ #
748
+ # @!attribute [rw] fault_count_high
749
+ # The upper limit of fault counts for a service.
750
+ # @return [Integer]
751
+ #
752
+ # @!attribute [rw] fault_count_low
753
+ # The lower limit of fault counts for a service.
754
+ # @return [Integer]
755
+ #
756
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/ForecastStatistics AWS API Documentation
757
+ #
758
+ class ForecastStatistics < Struct.new(
759
+ :fault_count_high,
760
+ :fault_count_low)
761
+ SENSITIVE = []
762
+ include Aws::Structure
763
+ end
764
+
731
765
  # @api private
732
766
  #
733
767
  # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetEncryptionConfigRequest AWS API Documentation
@@ -821,6 +855,253 @@ module Aws::XRay
821
855
  include Aws::Structure
822
856
  end
823
857
 
858
+ # @note When making an API call, you may pass GetInsightEventsRequest
859
+ # data as a hash:
860
+ #
861
+ # {
862
+ # insight_id: "InsightId", # required
863
+ # max_results: 1,
864
+ # next_token: "Token",
865
+ # }
866
+ #
867
+ # @!attribute [rw] insight_id
868
+ # The insight's unique identifier. Use the GetInsightSummaries action
869
+ # to retrieve an InsightId.
870
+ # @return [String]
871
+ #
872
+ # @!attribute [rw] max_results
873
+ # Used to retrieve at most the specified value of events.
874
+ # @return [Integer]
875
+ #
876
+ # @!attribute [rw] next_token
877
+ # Specify the pagination token returned by a previous request to
878
+ # retrieve the next page of events.
879
+ # @return [String]
880
+ #
881
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetInsightEventsRequest AWS API Documentation
882
+ #
883
+ class GetInsightEventsRequest < Struct.new(
884
+ :insight_id,
885
+ :max_results,
886
+ :next_token)
887
+ SENSITIVE = []
888
+ include Aws::Structure
889
+ end
890
+
891
+ # @!attribute [rw] insight_events
892
+ # A detailed description of the event. This includes the time of the
893
+ # event, client and root cause impact statistics, and the top
894
+ # anomalous service at the time of the event.
895
+ # @return [Array<Types::InsightEvent>]
896
+ #
897
+ # @!attribute [rw] next_token
898
+ # Use this token to retrieve the next page of insight events.
899
+ # @return [String]
900
+ #
901
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetInsightEventsResult AWS API Documentation
902
+ #
903
+ class GetInsightEventsResult < Struct.new(
904
+ :insight_events,
905
+ :next_token)
906
+ SENSITIVE = []
907
+ include Aws::Structure
908
+ end
909
+
910
+ # @note When making an API call, you may pass GetInsightImpactGraphRequest
911
+ # data as a hash:
912
+ #
913
+ # {
914
+ # insight_id: "InsightId", # required
915
+ # start_time: Time.now, # required
916
+ # end_time: Time.now, # required
917
+ # next_token: "Token",
918
+ # }
919
+ #
920
+ # @!attribute [rw] insight_id
921
+ # The insight's unique identifier. Use the GetInsightSummaries action
922
+ # to retrieve an InsightId.
923
+ # @return [String]
924
+ #
925
+ # @!attribute [rw] start_time
926
+ # The estimated start time of the insight, in Unix time seconds. The
927
+ # StartTime is inclusive of the value provided and can't be more than
928
+ # 30 days old.
929
+ # @return [Time]
930
+ #
931
+ # @!attribute [rw] end_time
932
+ # The estimated end time of the insight, in Unix time seconds. The
933
+ # EndTime is exclusive of the value provided. The time range between
934
+ # the start time and end time can't be more than six hours.
935
+ # @return [Time]
936
+ #
937
+ # @!attribute [rw] next_token
938
+ # Specify the pagination token returned by a previous request to
939
+ # retrieve the next page of results.
940
+ # @return [String]
941
+ #
942
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetInsightImpactGraphRequest AWS API Documentation
943
+ #
944
+ class GetInsightImpactGraphRequest < Struct.new(
945
+ :insight_id,
946
+ :start_time,
947
+ :end_time,
948
+ :next_token)
949
+ SENSITIVE = []
950
+ include Aws::Structure
951
+ end
952
+
953
+ # @!attribute [rw] insight_id
954
+ # The insight's unique identifier.
955
+ # @return [String]
956
+ #
957
+ # @!attribute [rw] start_time
958
+ # The provided start time.
959
+ # @return [Time]
960
+ #
961
+ # @!attribute [rw] end_time
962
+ # The provided end time.
963
+ # @return [Time]
964
+ #
965
+ # @!attribute [rw] service_graph_start_time
966
+ # The time, in Unix seconds, at which the service graph started.
967
+ # @return [Time]
968
+ #
969
+ # @!attribute [rw] service_graph_end_time
970
+ # The time, in Unix seconds, at which the service graph ended.
971
+ # @return [Time]
972
+ #
973
+ # @!attribute [rw] services
974
+ # The AWS instrumented services related to the insight.
975
+ # @return [Array<Types::InsightImpactGraphService>]
976
+ #
977
+ # @!attribute [rw] next_token
978
+ # Pagination token.
979
+ # @return [String]
980
+ #
981
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetInsightImpactGraphResult AWS API Documentation
982
+ #
983
+ class GetInsightImpactGraphResult < Struct.new(
984
+ :insight_id,
985
+ :start_time,
986
+ :end_time,
987
+ :service_graph_start_time,
988
+ :service_graph_end_time,
989
+ :services,
990
+ :next_token)
991
+ SENSITIVE = []
992
+ include Aws::Structure
993
+ end
994
+
995
+ # @note When making an API call, you may pass GetInsightRequest
996
+ # data as a hash:
997
+ #
998
+ # {
999
+ # insight_id: "InsightId", # required
1000
+ # }
1001
+ #
1002
+ # @!attribute [rw] insight_id
1003
+ # The insight's unique identifier. Use the GetInsightSummaries action
1004
+ # to retrieve an InsightId.
1005
+ # @return [String]
1006
+ #
1007
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetInsightRequest AWS API Documentation
1008
+ #
1009
+ class GetInsightRequest < Struct.new(
1010
+ :insight_id)
1011
+ SENSITIVE = []
1012
+ include Aws::Structure
1013
+ end
1014
+
1015
+ # @!attribute [rw] insight
1016
+ # The summary information of an insight.
1017
+ # @return [Types::Insight]
1018
+ #
1019
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetInsightResult AWS API Documentation
1020
+ #
1021
+ class GetInsightResult < Struct.new(
1022
+ :insight)
1023
+ SENSITIVE = []
1024
+ include Aws::Structure
1025
+ end
1026
+
1027
+ # @note When making an API call, you may pass GetInsightSummariesRequest
1028
+ # data as a hash:
1029
+ #
1030
+ # {
1031
+ # states: ["ACTIVE"], # accepts ACTIVE, CLOSED
1032
+ # group_arn: "GroupARN",
1033
+ # group_name: "GroupName",
1034
+ # start_time: Time.now, # required
1035
+ # end_time: Time.now, # required
1036
+ # max_results: 1,
1037
+ # next_token: "Token",
1038
+ # }
1039
+ #
1040
+ # @!attribute [rw] states
1041
+ # The list of insight states.
1042
+ # @return [Array<String>]
1043
+ #
1044
+ # @!attribute [rw] group_arn
1045
+ # The Amazon Resource Name (ARN) of the group. Required if the
1046
+ # GroupName isn't provided.
1047
+ # @return [String]
1048
+ #
1049
+ # @!attribute [rw] group_name
1050
+ # The name of the group. Required if the GroupARN isn't provided.
1051
+ # @return [String]
1052
+ #
1053
+ # @!attribute [rw] start_time
1054
+ # The beginning of the time frame in which the insights started. The
1055
+ # start time can't be more than 30 days old.
1056
+ # @return [Time]
1057
+ #
1058
+ # @!attribute [rw] end_time
1059
+ # The end of the time frame in which the insights ended. The end time
1060
+ # can't be more than 30 days old.
1061
+ # @return [Time]
1062
+ #
1063
+ # @!attribute [rw] max_results
1064
+ # The maximum number of results to display.
1065
+ # @return [Integer]
1066
+ #
1067
+ # @!attribute [rw] next_token
1068
+ # Pagination token.
1069
+ # @return [String]
1070
+ #
1071
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetInsightSummariesRequest AWS API Documentation
1072
+ #
1073
+ class GetInsightSummariesRequest < Struct.new(
1074
+ :states,
1075
+ :group_arn,
1076
+ :group_name,
1077
+ :start_time,
1078
+ :end_time,
1079
+ :max_results,
1080
+ :next_token)
1081
+ SENSITIVE = []
1082
+ include Aws::Structure
1083
+ end
1084
+
1085
+ # @!attribute [rw] insight_summaries
1086
+ # The summary of each insight within the group matching the provided
1087
+ # filters. The summary contains the InsightID, start and end time, the
1088
+ # root cause service, the root cause and client impact statistics, the
1089
+ # top anomalous services, and the status of the insight.
1090
+ # @return [Array<Types::InsightSummary>]
1091
+ #
1092
+ # @!attribute [rw] next_token
1093
+ # Pagination token.
1094
+ # @return [String]
1095
+ #
1096
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetInsightSummariesResult AWS API Documentation
1097
+ #
1098
+ class GetInsightSummariesResult < Struct.new(
1099
+ :insight_summaries,
1100
+ :next_token)
1101
+ SENSITIVE = []
1102
+ include Aws::Structure
1103
+ end
1104
+
824
1105
  # @note When making an API call, you may pass GetSamplingRulesRequest
825
1106
  # data as a hash:
826
1107
  #
@@ -1038,6 +1319,7 @@ module Aws::XRay
1038
1319
  # group_arn: "GroupARN",
1039
1320
  # entity_selector_expression: "EntitySelectorExpression",
1040
1321
  # period: 1,
1322
+ # forecast_statistics: false,
1041
1323
  # next_token: "String",
1042
1324
  # }
1043
1325
  #
@@ -1069,6 +1351,11 @@ module Aws::XRay
1069
1351
  # Aggregation period in seconds.
1070
1352
  # @return [Integer]
1071
1353
  #
1354
+ # @!attribute [rw] forecast_statistics
1355
+ # The forecasted high and low fault count values. Forecast enabled
1356
+ # requests require the EntitySelectorExpression ID be provided.
1357
+ # @return [Boolean]
1358
+ #
1072
1359
  # @!attribute [rw] next_token
1073
1360
  # Pagination token.
1074
1361
  # @return [String]
@@ -1082,6 +1369,7 @@ module Aws::XRay
1082
1369
  :group_arn,
1083
1370
  :entity_selector_expression,
1084
1371
  :period,
1372
+ :forecast_statistics,
1085
1373
  :next_token)
1086
1374
  SENSITIVE = []
1087
1375
  include Aws::Structure
@@ -1375,6 +1663,272 @@ module Aws::XRay
1375
1663
  include Aws::Structure
1376
1664
  end
1377
1665
 
1666
+ # When fault rates go outside of the expected range, X-Ray creates an
1667
+ # insight. Insights tracks emergent issues within your applications.
1668
+ #
1669
+ # @!attribute [rw] insight_id
1670
+ # The insights unique identifier.
1671
+ # @return [String]
1672
+ #
1673
+ # @!attribute [rw] group_arn
1674
+ # The Amazon Resource Name (ARN) of the group that the insight belongs
1675
+ # to.
1676
+ # @return [String]
1677
+ #
1678
+ # @!attribute [rw] group_name
1679
+ # The name of the group that the insight belongs to.
1680
+ # @return [String]
1681
+ #
1682
+ # @!attribute [rw] root_cause_service_id
1683
+ # @return [Types::ServiceId]
1684
+ #
1685
+ # @!attribute [rw] categories
1686
+ # The categories that label and describe the type of insight.
1687
+ # @return [Array<String>]
1688
+ #
1689
+ # @!attribute [rw] state
1690
+ # The current state of the insight.
1691
+ # @return [String]
1692
+ #
1693
+ # @!attribute [rw] start_time
1694
+ # The time, in Unix seconds, at which the insight began.
1695
+ # @return [Time]
1696
+ #
1697
+ # @!attribute [rw] end_time
1698
+ # The time, in Unix seconds, at which the insight ended.
1699
+ # @return [Time]
1700
+ #
1701
+ # @!attribute [rw] summary
1702
+ # A brief description of the insight.
1703
+ # @return [String]
1704
+ #
1705
+ # @!attribute [rw] client_request_impact_statistics
1706
+ # The impact statistics of the client side service. This includes the
1707
+ # number of requests to the client service and whether the requests
1708
+ # were faults or okay.
1709
+ # @return [Types::RequestImpactStatistics]
1710
+ #
1711
+ # @!attribute [rw] root_cause_service_request_impact_statistics
1712
+ # The impact statistics of the root cause service. This includes the
1713
+ # number of requests to the client service and whether the requests
1714
+ # were faults or okay.
1715
+ # @return [Types::RequestImpactStatistics]
1716
+ #
1717
+ # @!attribute [rw] top_anomalous_services
1718
+ # The service within the insight that is most impacted by the
1719
+ # incident.
1720
+ # @return [Array<Types::AnomalousService>]
1721
+ #
1722
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/Insight AWS API Documentation
1723
+ #
1724
+ class Insight < Struct.new(
1725
+ :insight_id,
1726
+ :group_arn,
1727
+ :group_name,
1728
+ :root_cause_service_id,
1729
+ :categories,
1730
+ :state,
1731
+ :start_time,
1732
+ :end_time,
1733
+ :summary,
1734
+ :client_request_impact_statistics,
1735
+ :root_cause_service_request_impact_statistics,
1736
+ :top_anomalous_services)
1737
+ SENSITIVE = []
1738
+ include Aws::Structure
1739
+ end
1740
+
1741
+ # X-Ray reevaluates insights periodically until they are resolved, and
1742
+ # records each intermediate state in an event. You can review incident
1743
+ # events in the Impact Timeline on the Inspect page in the X-Ray
1744
+ # console.
1745
+ #
1746
+ # @!attribute [rw] summary
1747
+ # A brief description of the event.
1748
+ # @return [String]
1749
+ #
1750
+ # @!attribute [rw] event_time
1751
+ # The time, in Unix seconds, at which the event was recorded.
1752
+ # @return [Time]
1753
+ #
1754
+ # @!attribute [rw] client_request_impact_statistics
1755
+ # The impact statistics of the client side service. This includes the
1756
+ # number of requests to the client service and whether the requests
1757
+ # were faults or okay.
1758
+ # @return [Types::RequestImpactStatistics]
1759
+ #
1760
+ # @!attribute [rw] root_cause_service_request_impact_statistics
1761
+ # The impact statistics of the root cause service. This includes the
1762
+ # number of requests to the client service and whether the requests
1763
+ # were faults or okay.
1764
+ # @return [Types::RequestImpactStatistics]
1765
+ #
1766
+ # @!attribute [rw] top_anomalous_services
1767
+ # The service during the event that is most impacted by the incident.
1768
+ # @return [Array<Types::AnomalousService>]
1769
+ #
1770
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/InsightEvent AWS API Documentation
1771
+ #
1772
+ class InsightEvent < Struct.new(
1773
+ :summary,
1774
+ :event_time,
1775
+ :client_request_impact_statistics,
1776
+ :root_cause_service_request_impact_statistics,
1777
+ :top_anomalous_services)
1778
+ SENSITIVE = []
1779
+ include Aws::Structure
1780
+ end
1781
+
1782
+ # The connection between two service in an insight impact graph.
1783
+ #
1784
+ # @!attribute [rw] reference_id
1785
+ # Identifier of the edge. Unique within a service map.
1786
+ # @return [Integer]
1787
+ #
1788
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/InsightImpactGraphEdge AWS API Documentation
1789
+ #
1790
+ class InsightImpactGraphEdge < Struct.new(
1791
+ :reference_id)
1792
+ SENSITIVE = []
1793
+ include Aws::Structure
1794
+ end
1795
+
1796
+ # Information about an application that processed requests, users that
1797
+ # made requests, or downstream services, resources, and applications
1798
+ # that an application used.
1799
+ #
1800
+ # @!attribute [rw] reference_id
1801
+ # Identifier for the service. Unique within the service map.
1802
+ # @return [Integer]
1803
+ #
1804
+ # @!attribute [rw] type
1805
+ # Identifier for the service. Unique within the service map.
1806
+ #
1807
+ # * AWS Resource - The type of an AWS resource. For example,
1808
+ # AWS::EC2::Instance for an application running on Amazon EC2 or
1809
+ # AWS::DynamoDB::Table for an Amazon DynamoDB table that the
1810
+ # application used.
1811
+ #
1812
+ # * AWS Service - The type of an AWS service. For example,
1813
+ # AWS::DynamoDB for downstream calls to Amazon DynamoDB that didn't
1814
+ # target a specific table.
1815
+ #
1816
+ # * AWS Service - The type of an AWS service. For example,
1817
+ # AWS::DynamoDB for downstream calls to Amazon DynamoDB that didn't
1818
+ # target a specific table.
1819
+ #
1820
+ # * remote - A downstream service of indeterminate type.
1821
+ # @return [String]
1822
+ #
1823
+ # @!attribute [rw] name
1824
+ # The canonical name of the service.
1825
+ # @return [String]
1826
+ #
1827
+ # @!attribute [rw] names
1828
+ # A list of names for the service, including the canonical name.
1829
+ # @return [Array<String>]
1830
+ #
1831
+ # @!attribute [rw] account_id
1832
+ # Identifier of the AWS account in which the service runs.
1833
+ # @return [String]
1834
+ #
1835
+ # @!attribute [rw] edges
1836
+ # Connections to downstream services.
1837
+ # @return [Array<Types::InsightImpactGraphEdge>]
1838
+ #
1839
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/InsightImpactGraphService AWS API Documentation
1840
+ #
1841
+ class InsightImpactGraphService < Struct.new(
1842
+ :reference_id,
1843
+ :type,
1844
+ :name,
1845
+ :names,
1846
+ :account_id,
1847
+ :edges)
1848
+ SENSITIVE = []
1849
+ include Aws::Structure
1850
+ end
1851
+
1852
+ # Information that describes an insight.
1853
+ #
1854
+ # @!attribute [rw] insight_id
1855
+ # The insights unique identifier.
1856
+ # @return [String]
1857
+ #
1858
+ # @!attribute [rw] group_arn
1859
+ # The Amazon Resource Name (ARN) of the group that the insight belongs
1860
+ # to.
1861
+ # @return [String]
1862
+ #
1863
+ # @!attribute [rw] group_name
1864
+ # The name of the group that the insight belongs to.
1865
+ # @return [String]
1866
+ #
1867
+ # @!attribute [rw] root_cause_service_id
1868
+ # @return [Types::ServiceId]
1869
+ #
1870
+ # @!attribute [rw] categories
1871
+ # Categories The categories that label and describe the type of
1872
+ # insight.
1873
+ # @return [Array<String>]
1874
+ #
1875
+ # @!attribute [rw] state
1876
+ # The current state of the insight.
1877
+ # @return [String]
1878
+ #
1879
+ # @!attribute [rw] start_time
1880
+ # The time, in Unix seconds, at which the insight began.
1881
+ # @return [Time]
1882
+ #
1883
+ # @!attribute [rw] end_time
1884
+ # The time, in Unix seconds, at which the insight ended.
1885
+ # @return [Time]
1886
+ #
1887
+ # @!attribute [rw] summary
1888
+ # A brief description of the insight.
1889
+ # @return [String]
1890
+ #
1891
+ # @!attribute [rw] client_request_impact_statistics
1892
+ # The impact statistics of the client side service. This includes the
1893
+ # number of requests to the client service and whether the requests
1894
+ # were faults or okay.
1895
+ # @return [Types::RequestImpactStatistics]
1896
+ #
1897
+ # @!attribute [rw] root_cause_service_request_impact_statistics
1898
+ # The impact statistics of the root cause service. This includes the
1899
+ # number of requests to the client service and whether the requests
1900
+ # were faults or okay.
1901
+ # @return [Types::RequestImpactStatistics]
1902
+ #
1903
+ # @!attribute [rw] top_anomalous_services
1904
+ # The service within the insight that is most impacted by the
1905
+ # incident.
1906
+ # @return [Array<Types::AnomalousService>]
1907
+ #
1908
+ # @!attribute [rw] last_update_time
1909
+ # The time, in Unix seconds, that the insight was last updated.
1910
+ # @return [Time]
1911
+ #
1912
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/InsightSummary AWS API Documentation
1913
+ #
1914
+ class InsightSummary < Struct.new(
1915
+ :insight_id,
1916
+ :group_arn,
1917
+ :group_name,
1918
+ :root_cause_service_id,
1919
+ :categories,
1920
+ :state,
1921
+ :start_time,
1922
+ :end_time,
1923
+ :summary,
1924
+ :client_request_impact_statistics,
1925
+ :root_cause_service_request_impact_statistics,
1926
+ :top_anomalous_services,
1927
+ :last_update_time)
1928
+ SENSITIVE = []
1929
+ include Aws::Structure
1930
+ end
1931
+
1378
1932
  # The structure containing configurations related to insights.
1379
1933
  #
1380
1934
  # @note When making an API call, you may pass InsightsConfiguration
@@ -1616,6 +2170,30 @@ module Aws::XRay
1616
2170
  include Aws::Structure
1617
2171
  end
1618
2172
 
2173
+ # Statistics that describe how the incident has impacted a service.
2174
+ #
2175
+ # @!attribute [rw] fault_count
2176
+ # The number of requests that have resulted in a fault,
2177
+ # @return [Integer]
2178
+ #
2179
+ # @!attribute [rw] ok_count
2180
+ # The number of successful requests.
2181
+ # @return [Integer]
2182
+ #
2183
+ # @!attribute [rw] total_count
2184
+ # The total number of requests to the service.
2185
+ # @return [Integer]
2186
+ #
2187
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/RequestImpactStatistics AWS API Documentation
2188
+ #
2189
+ class RequestImpactStatistics < Struct.new(
2190
+ :fault_count,
2191
+ :ok_count,
2192
+ :total_count)
2193
+ SENSITIVE = []
2194
+ include Aws::Structure
2195
+ end
2196
+
1619
2197
  # A list of resources ARNs corresponding to the segments in a trace.
1620
2198
  #
1621
2199
  # @!attribute [rw] arn
@@ -2508,6 +3086,10 @@ module Aws::XRay
2508
3086
  # Response statistics for a service.
2509
3087
  # @return [Types::ServiceStatistics]
2510
3088
  #
3089
+ # @!attribute [rw] service_forecast_statistics
3090
+ # The forecasted high and low fault count values.
3091
+ # @return [Types::ForecastStatistics]
3092
+ #
2511
3093
  # @!attribute [rw] response_time_histogram
2512
3094
  # The response time histogram for the selected entities.
2513
3095
  # @return [Array<Types::HistogramEntry>]
@@ -2518,6 +3100,7 @@ module Aws::XRay
2518
3100
  :timestamp,
2519
3101
  :edge_summary_statistics,
2520
3102
  :service_summary_statistics,
3103
+ :service_forecast_statistics,
2521
3104
  :response_time_histogram)
2522
3105
  SENSITIVE = []
2523
3106
  include Aws::Structure