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.
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 1.38.0
data/lib/aws-sdk-xray.rb CHANGED
@@ -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
 
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-xray/customizations'
48
48
  # @!group service
49
49
  module Aws::XRay
50
50
 
51
- GEM_VERSION = '1.34.0'
51
+ GEM_VERSION = '1.38.0'
52
52
 
53
53
  end
@@ -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
 
@@ -720,6 +720,277 @@ module Aws::XRay
720
720
  req.send_request(options)
721
721
  end
722
722
 
723
+ # Retrieves the summary information of an insight. This includes impact
724
+ # to clients and root cause services, the top anomalous services, the
725
+ # category, the state of the insight, and the start and end time of the
726
+ # insight.
727
+ #
728
+ # @option params [required, String] :insight_id
729
+ # The insight's unique identifier. Use the GetInsightSummaries action
730
+ # to retrieve an InsightId.
731
+ #
732
+ # @return [Types::GetInsightResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
733
+ #
734
+ # * {Types::GetInsightResult#insight #insight} => Types::Insight
735
+ #
736
+ # @example Request syntax with placeholder values
737
+ #
738
+ # resp = client.get_insight({
739
+ # insight_id: "InsightId", # required
740
+ # })
741
+ #
742
+ # @example Response structure
743
+ #
744
+ # resp.insight.insight_id #=> String
745
+ # resp.insight.group_arn #=> String
746
+ # resp.insight.group_name #=> String
747
+ # resp.insight.root_cause_service_id.name #=> String
748
+ # resp.insight.root_cause_service_id.names #=> Array
749
+ # resp.insight.root_cause_service_id.names[0] #=> String
750
+ # resp.insight.root_cause_service_id.account_id #=> String
751
+ # resp.insight.root_cause_service_id.type #=> String
752
+ # resp.insight.categories #=> Array
753
+ # resp.insight.categories[0] #=> String, one of "FAULT"
754
+ # resp.insight.state #=> String, one of "ACTIVE", "CLOSED"
755
+ # resp.insight.start_time #=> Time
756
+ # resp.insight.end_time #=> Time
757
+ # resp.insight.summary #=> String
758
+ # resp.insight.client_request_impact_statistics.fault_count #=> Integer
759
+ # resp.insight.client_request_impact_statistics.ok_count #=> Integer
760
+ # resp.insight.client_request_impact_statistics.total_count #=> Integer
761
+ # resp.insight.root_cause_service_request_impact_statistics.fault_count #=> Integer
762
+ # resp.insight.root_cause_service_request_impact_statistics.ok_count #=> Integer
763
+ # resp.insight.root_cause_service_request_impact_statistics.total_count #=> Integer
764
+ # resp.insight.top_anomalous_services #=> Array
765
+ # resp.insight.top_anomalous_services[0].service_id.name #=> String
766
+ # resp.insight.top_anomalous_services[0].service_id.names #=> Array
767
+ # resp.insight.top_anomalous_services[0].service_id.names[0] #=> String
768
+ # resp.insight.top_anomalous_services[0].service_id.account_id #=> String
769
+ # resp.insight.top_anomalous_services[0].service_id.type #=> String
770
+ #
771
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetInsight AWS API Documentation
772
+ #
773
+ # @overload get_insight(params = {})
774
+ # @param [Hash] params ({})
775
+ def get_insight(params = {}, options = {})
776
+ req = build_request(:get_insight, params)
777
+ req.send_request(options)
778
+ end
779
+
780
+ # X-Ray reevaluates insights periodically until they're resolved, and
781
+ # records each intermediate state as an event. You can review an
782
+ # insight's events in the Impact Timeline on the Inspect page in the
783
+ # X-Ray console.
784
+ #
785
+ # @option params [required, String] :insight_id
786
+ # The insight's unique identifier. Use the GetInsightSummaries action
787
+ # to retrieve an InsightId.
788
+ #
789
+ # @option params [Integer] :max_results
790
+ # Used to retrieve at most the specified value of events.
791
+ #
792
+ # @option params [String] :next_token
793
+ # Specify the pagination token returned by a previous request to
794
+ # retrieve the next page of events.
795
+ #
796
+ # @return [Types::GetInsightEventsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
797
+ #
798
+ # * {Types::GetInsightEventsResult#insight_events #insight_events} => Array<Types::InsightEvent>
799
+ # * {Types::GetInsightEventsResult#next_token #next_token} => String
800
+ #
801
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
802
+ #
803
+ # @example Request syntax with placeholder values
804
+ #
805
+ # resp = client.get_insight_events({
806
+ # insight_id: "InsightId", # required
807
+ # max_results: 1,
808
+ # next_token: "Token",
809
+ # })
810
+ #
811
+ # @example Response structure
812
+ #
813
+ # resp.insight_events #=> Array
814
+ # resp.insight_events[0].summary #=> String
815
+ # resp.insight_events[0].event_time #=> Time
816
+ # resp.insight_events[0].client_request_impact_statistics.fault_count #=> Integer
817
+ # resp.insight_events[0].client_request_impact_statistics.ok_count #=> Integer
818
+ # resp.insight_events[0].client_request_impact_statistics.total_count #=> Integer
819
+ # resp.insight_events[0].root_cause_service_request_impact_statistics.fault_count #=> Integer
820
+ # resp.insight_events[0].root_cause_service_request_impact_statistics.ok_count #=> Integer
821
+ # resp.insight_events[0].root_cause_service_request_impact_statistics.total_count #=> Integer
822
+ # resp.insight_events[0].top_anomalous_services #=> Array
823
+ # resp.insight_events[0].top_anomalous_services[0].service_id.name #=> String
824
+ # resp.insight_events[0].top_anomalous_services[0].service_id.names #=> Array
825
+ # resp.insight_events[0].top_anomalous_services[0].service_id.names[0] #=> String
826
+ # resp.insight_events[0].top_anomalous_services[0].service_id.account_id #=> String
827
+ # resp.insight_events[0].top_anomalous_services[0].service_id.type #=> String
828
+ # resp.next_token #=> String
829
+ #
830
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetInsightEvents AWS API Documentation
831
+ #
832
+ # @overload get_insight_events(params = {})
833
+ # @param [Hash] params ({})
834
+ def get_insight_events(params = {}, options = {})
835
+ req = build_request(:get_insight_events, params)
836
+ req.send_request(options)
837
+ end
838
+
839
+ # Retrieves a service graph structure filtered by the specified insight.
840
+ # The service graph is limited to only structural information. For a
841
+ # complete service graph, use this API with the GetServiceGraph API.
842
+ #
843
+ # @option params [required, String] :insight_id
844
+ # The insight's unique identifier. Use the GetInsightSummaries action
845
+ # to retrieve an InsightId.
846
+ #
847
+ # @option params [required, Time,DateTime,Date,Integer,String] :start_time
848
+ # The estimated start time of the insight, in Unix time seconds. The
849
+ # StartTime is inclusive of the value provided and can't be more than
850
+ # 30 days old.
851
+ #
852
+ # @option params [required, Time,DateTime,Date,Integer,String] :end_time
853
+ # The estimated end time of the insight, in Unix time seconds. The
854
+ # EndTime is exclusive of the value provided. The time range between the
855
+ # start time and end time can't be more than six hours.
856
+ #
857
+ # @option params [String] :next_token
858
+ # Specify the pagination token returned by a previous request to
859
+ # retrieve the next page of results.
860
+ #
861
+ # @return [Types::GetInsightImpactGraphResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
862
+ #
863
+ # * {Types::GetInsightImpactGraphResult#insight_id #insight_id} => String
864
+ # * {Types::GetInsightImpactGraphResult#start_time #start_time} => Time
865
+ # * {Types::GetInsightImpactGraphResult#end_time #end_time} => Time
866
+ # * {Types::GetInsightImpactGraphResult#service_graph_start_time #service_graph_start_time} => Time
867
+ # * {Types::GetInsightImpactGraphResult#service_graph_end_time #service_graph_end_time} => Time
868
+ # * {Types::GetInsightImpactGraphResult#services #services} => Array<Types::InsightImpactGraphService>
869
+ # * {Types::GetInsightImpactGraphResult#next_token #next_token} => String
870
+ #
871
+ # @example Request syntax with placeholder values
872
+ #
873
+ # resp = client.get_insight_impact_graph({
874
+ # insight_id: "InsightId", # required
875
+ # start_time: Time.now, # required
876
+ # end_time: Time.now, # required
877
+ # next_token: "Token",
878
+ # })
879
+ #
880
+ # @example Response structure
881
+ #
882
+ # resp.insight_id #=> String
883
+ # resp.start_time #=> Time
884
+ # resp.end_time #=> Time
885
+ # resp.service_graph_start_time #=> Time
886
+ # resp.service_graph_end_time #=> Time
887
+ # resp.services #=> Array
888
+ # resp.services[0].reference_id #=> Integer
889
+ # resp.services[0].type #=> String
890
+ # resp.services[0].name #=> String
891
+ # resp.services[0].names #=> Array
892
+ # resp.services[0].names[0] #=> String
893
+ # resp.services[0].account_id #=> String
894
+ # resp.services[0].edges #=> Array
895
+ # resp.services[0].edges[0].reference_id #=> Integer
896
+ # resp.next_token #=> String
897
+ #
898
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetInsightImpactGraph AWS API Documentation
899
+ #
900
+ # @overload get_insight_impact_graph(params = {})
901
+ # @param [Hash] params ({})
902
+ def get_insight_impact_graph(params = {}, options = {})
903
+ req = build_request(:get_insight_impact_graph, params)
904
+ req.send_request(options)
905
+ end
906
+
907
+ # Retrieves the summaries of all insights in the specified group
908
+ # matching the provided filter values.
909
+ #
910
+ # @option params [Array<String>] :states
911
+ # The list of insight states.
912
+ #
913
+ # @option params [String] :group_arn
914
+ # The Amazon Resource Name (ARN) of the group. Required if the GroupName
915
+ # isn't provided.
916
+ #
917
+ # @option params [String] :group_name
918
+ # The name of the group. Required if the GroupARN isn't provided.
919
+ #
920
+ # @option params [required, Time,DateTime,Date,Integer,String] :start_time
921
+ # The beginning of the time frame in which the insights started. The
922
+ # start time can't be more than 30 days old.
923
+ #
924
+ # @option params [required, Time,DateTime,Date,Integer,String] :end_time
925
+ # The end of the time frame in which the insights ended. The end time
926
+ # can't be more than 30 days old.
927
+ #
928
+ # @option params [Integer] :max_results
929
+ # The maximum number of results to display.
930
+ #
931
+ # @option params [String] :next_token
932
+ # Pagination token.
933
+ #
934
+ # @return [Types::GetInsightSummariesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
935
+ #
936
+ # * {Types::GetInsightSummariesResult#insight_summaries #insight_summaries} => Array&lt;Types::InsightSummary&gt;
937
+ # * {Types::GetInsightSummariesResult#next_token #next_token} => String
938
+ #
939
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
940
+ #
941
+ # @example Request syntax with placeholder values
942
+ #
943
+ # resp = client.get_insight_summaries({
944
+ # states: ["ACTIVE"], # accepts ACTIVE, CLOSED
945
+ # group_arn: "GroupARN",
946
+ # group_name: "GroupName",
947
+ # start_time: Time.now, # required
948
+ # end_time: Time.now, # required
949
+ # max_results: 1,
950
+ # next_token: "Token",
951
+ # })
952
+ #
953
+ # @example Response structure
954
+ #
955
+ # resp.insight_summaries #=> Array
956
+ # resp.insight_summaries[0].insight_id #=> String
957
+ # resp.insight_summaries[0].group_arn #=> String
958
+ # resp.insight_summaries[0].group_name #=> String
959
+ # resp.insight_summaries[0].root_cause_service_id.name #=> String
960
+ # resp.insight_summaries[0].root_cause_service_id.names #=> Array
961
+ # resp.insight_summaries[0].root_cause_service_id.names[0] #=> String
962
+ # resp.insight_summaries[0].root_cause_service_id.account_id #=> String
963
+ # resp.insight_summaries[0].root_cause_service_id.type #=> String
964
+ # resp.insight_summaries[0].categories #=> Array
965
+ # resp.insight_summaries[0].categories[0] #=> String, one of "FAULT"
966
+ # resp.insight_summaries[0].state #=> String, one of "ACTIVE", "CLOSED"
967
+ # resp.insight_summaries[0].start_time #=> Time
968
+ # resp.insight_summaries[0].end_time #=> Time
969
+ # resp.insight_summaries[0].summary #=> String
970
+ # resp.insight_summaries[0].client_request_impact_statistics.fault_count #=> Integer
971
+ # resp.insight_summaries[0].client_request_impact_statistics.ok_count #=> Integer
972
+ # resp.insight_summaries[0].client_request_impact_statistics.total_count #=> Integer
973
+ # resp.insight_summaries[0].root_cause_service_request_impact_statistics.fault_count #=> Integer
974
+ # resp.insight_summaries[0].root_cause_service_request_impact_statistics.ok_count #=> Integer
975
+ # resp.insight_summaries[0].root_cause_service_request_impact_statistics.total_count #=> Integer
976
+ # resp.insight_summaries[0].top_anomalous_services #=> Array
977
+ # resp.insight_summaries[0].top_anomalous_services[0].service_id.name #=> String
978
+ # resp.insight_summaries[0].top_anomalous_services[0].service_id.names #=> Array
979
+ # resp.insight_summaries[0].top_anomalous_services[0].service_id.names[0] #=> String
980
+ # resp.insight_summaries[0].top_anomalous_services[0].service_id.account_id #=> String
981
+ # resp.insight_summaries[0].top_anomalous_services[0].service_id.type #=> String
982
+ # resp.insight_summaries[0].last_update_time #=> Time
983
+ # resp.next_token #=> String
984
+ #
985
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetInsightSummaries AWS API Documentation
986
+ #
987
+ # @overload get_insight_summaries(params = {})
988
+ # @param [Hash] params ({})
989
+ def get_insight_summaries(params = {}, options = {})
990
+ req = build_request(:get_insight_summaries, params)
991
+ req.send_request(options)
992
+ end
993
+
723
994
  # Retrieves all sampling rules.
724
995
  #
725
996
  # @option params [String] :next_token
@@ -989,6 +1260,10 @@ module Aws::XRay
989
1260
  # @option params [Integer] :period
990
1261
  # Aggregation period in seconds.
991
1262
  #
1263
+ # @option params [Boolean] :forecast_statistics
1264
+ # The forecasted high and low fault count values. Forecast enabled
1265
+ # requests require the EntitySelectorExpression ID be provided.
1266
+ #
992
1267
  # @option params [String] :next_token
993
1268
  # Pagination token.
994
1269
  #
@@ -1009,6 +1284,7 @@ module Aws::XRay
1009
1284
  # group_arn: "GroupARN",
1010
1285
  # entity_selector_expression: "EntitySelectorExpression",
1011
1286
  # period: 1,
1287
+ # forecast_statistics: false,
1012
1288
  # next_token: "String",
1013
1289
  # })
1014
1290
  #
@@ -1032,6 +1308,8 @@ module Aws::XRay
1032
1308
  # resp.time_series_service_statistics[0].service_summary_statistics.fault_statistics.total_count #=> Integer
1033
1309
  # resp.time_series_service_statistics[0].service_summary_statistics.total_count #=> Integer
1034
1310
  # resp.time_series_service_statistics[0].service_summary_statistics.total_response_time #=> Float
1311
+ # resp.time_series_service_statistics[0].service_forecast_statistics.fault_count_high #=> Integer
1312
+ # resp.time_series_service_statistics[0].service_forecast_statistics.fault_count_low #=> Integer
1035
1313
  # resp.time_series_service_statistics[0].response_time_histogram #=> Array
1036
1314
  # resp.time_series_service_statistics[0].response_time_histogram[0].value #=> Float
1037
1315
  # resp.time_series_service_statistics[0].response_time_histogram[0].count #=> Integer
@@ -1733,7 +2011,7 @@ module Aws::XRay
1733
2011
  params: params,
1734
2012
  config: config)
1735
2013
  context[:gem_name] = 'aws-sdk-xray'
1736
- context[:gem_version] = '1.34.0'
2014
+ context[:gem_version] = '1.38.0'
1737
2015
  Seahorse::Client::Request.new(handlers, context)
1738
2016
  end
1739
2017
 
@@ -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
 
@@ -20,6 +20,8 @@ module Aws::XRay
20
20
  AnnotationKey = Shapes::StringShape.new(name: 'AnnotationKey')
21
21
  AnnotationValue = Shapes::StructureShape.new(name: 'AnnotationValue')
22
22
  Annotations = Shapes::MapShape.new(name: 'Annotations')
23
+ AnomalousService = Shapes::StructureShape.new(name: 'AnomalousService')
24
+ AnomalousServiceList = Shapes::ListShape.new(name: 'AnomalousServiceList')
23
25
  AttributeKey = Shapes::StringShape.new(name: 'AttributeKey')
24
26
  AttributeMap = Shapes::MapShape.new(name: 'AttributeMap')
25
27
  AttributeValue = Shapes::StringShape.new(name: 'AttributeValue')
@@ -56,6 +58,7 @@ module Aws::XRay
56
58
  ErrorRootCauseServices = Shapes::ListShape.new(name: 'ErrorRootCauseServices')
57
59
  ErrorRootCauses = Shapes::ListShape.new(name: 'ErrorRootCauses')
58
60
  ErrorStatistics = Shapes::StructureShape.new(name: 'ErrorStatistics')
61
+ EventSummaryText = Shapes::StringShape.new(name: 'EventSummaryText')
59
62
  FaultRootCause = Shapes::StructureShape.new(name: 'FaultRootCause')
60
63
  FaultRootCauseEntity = Shapes::StructureShape.new(name: 'FaultRootCauseEntity')
61
64
  FaultRootCauseEntityPath = Shapes::ListShape.new(name: 'FaultRootCauseEntityPath')
@@ -65,6 +68,7 @@ module Aws::XRay
65
68
  FaultStatistics = Shapes::StructureShape.new(name: 'FaultStatistics')
66
69
  FilterExpression = Shapes::StringShape.new(name: 'FilterExpression')
67
70
  FixedRate = Shapes::FloatShape.new(name: 'FixedRate')
71
+ ForecastStatistics = Shapes::StructureShape.new(name: 'ForecastStatistics')
68
72
  GetEncryptionConfigRequest = Shapes::StructureShape.new(name: 'GetEncryptionConfigRequest')
69
73
  GetEncryptionConfigResult = Shapes::StructureShape.new(name: 'GetEncryptionConfigResult')
70
74
  GetGroupRequest = Shapes::StructureShape.new(name: 'GetGroupRequest')
@@ -72,6 +76,16 @@ module Aws::XRay
72
76
  GetGroupsNextToken = Shapes::StringShape.new(name: 'GetGroupsNextToken')
73
77
  GetGroupsRequest = Shapes::StructureShape.new(name: 'GetGroupsRequest')
74
78
  GetGroupsResult = Shapes::StructureShape.new(name: 'GetGroupsResult')
79
+ GetInsightEventsMaxResults = Shapes::IntegerShape.new(name: 'GetInsightEventsMaxResults')
80
+ GetInsightEventsRequest = Shapes::StructureShape.new(name: 'GetInsightEventsRequest')
81
+ GetInsightEventsResult = Shapes::StructureShape.new(name: 'GetInsightEventsResult')
82
+ GetInsightImpactGraphRequest = Shapes::StructureShape.new(name: 'GetInsightImpactGraphRequest')
83
+ GetInsightImpactGraphResult = Shapes::StructureShape.new(name: 'GetInsightImpactGraphResult')
84
+ GetInsightRequest = Shapes::StructureShape.new(name: 'GetInsightRequest')
85
+ GetInsightResult = Shapes::StructureShape.new(name: 'GetInsightResult')
86
+ GetInsightSummariesMaxResults = Shapes::IntegerShape.new(name: 'GetInsightSummariesMaxResults')
87
+ GetInsightSummariesRequest = Shapes::StructureShape.new(name: 'GetInsightSummariesRequest')
88
+ GetInsightSummariesResult = Shapes::StructureShape.new(name: 'GetInsightSummariesResult')
75
89
  GetSamplingRulesRequest = Shapes::StructureShape.new(name: 'GetSamplingRulesRequest')
76
90
  GetSamplingRulesResult = Shapes::StructureShape.new(name: 'GetSamplingRulesResult')
77
91
  GetSamplingStatisticSummariesRequest = Shapes::StructureShape.new(name: 'GetSamplingStatisticSummariesRequest')
@@ -97,6 +111,21 @@ module Aws::XRay
97
111
  Host = Shapes::StringShape.new(name: 'Host')
98
112
  Hostname = Shapes::StringShape.new(name: 'Hostname')
99
113
  Http = Shapes::StructureShape.new(name: 'Http')
114
+ Insight = Shapes::StructureShape.new(name: 'Insight')
115
+ InsightCategory = Shapes::StringShape.new(name: 'InsightCategory')
116
+ InsightCategoryList = Shapes::ListShape.new(name: 'InsightCategoryList')
117
+ InsightEvent = Shapes::StructureShape.new(name: 'InsightEvent')
118
+ InsightEventList = Shapes::ListShape.new(name: 'InsightEventList')
119
+ InsightId = Shapes::StringShape.new(name: 'InsightId')
120
+ InsightImpactGraphEdge = Shapes::StructureShape.new(name: 'InsightImpactGraphEdge')
121
+ InsightImpactGraphEdgeList = Shapes::ListShape.new(name: 'InsightImpactGraphEdgeList')
122
+ InsightImpactGraphService = Shapes::StructureShape.new(name: 'InsightImpactGraphService')
123
+ InsightImpactGraphServiceList = Shapes::ListShape.new(name: 'InsightImpactGraphServiceList')
124
+ InsightState = Shapes::StringShape.new(name: 'InsightState')
125
+ InsightStateList = Shapes::ListShape.new(name: 'InsightStateList')
126
+ InsightSummary = Shapes::StructureShape.new(name: 'InsightSummary')
127
+ InsightSummaryList = Shapes::ListShape.new(name: 'InsightSummaryList')
128
+ InsightSummaryText = Shapes::StringShape.new(name: 'InsightSummaryText')
100
129
  InsightsConfiguration = Shapes::StructureShape.new(name: 'InsightsConfiguration')
101
130
  InstanceIdDetail = Shapes::StructureShape.new(name: 'InstanceIdDetail')
102
131
  Integer = Shapes::IntegerShape.new(name: 'Integer')
@@ -115,6 +144,7 @@ module Aws::XRay
115
144
  PutTraceSegmentsRequest = Shapes::StructureShape.new(name: 'PutTraceSegmentsRequest')
116
145
  PutTraceSegmentsResult = Shapes::StructureShape.new(name: 'PutTraceSegmentsResult')
117
146
  RequestCount = Shapes::IntegerShape.new(name: 'RequestCount')
147
+ RequestImpactStatistics = Shapes::StructureShape.new(name: 'RequestImpactStatistics')
118
148
  ReservoirSize = Shapes::IntegerShape.new(name: 'ReservoirSize')
119
149
  ResourceARN = Shapes::StringShape.new(name: 'ResourceARN')
120
150
  ResourceARNDetail = Shapes::StructureShape.new(name: 'ResourceARNDetail')
@@ -169,6 +199,7 @@ module Aws::XRay
169
199
  TimeSeriesServiceStatistics = Shapes::StructureShape.new(name: 'TimeSeriesServiceStatistics')
170
200
  TimeSeriesServiceStatisticsList = Shapes::ListShape.new(name: 'TimeSeriesServiceStatisticsList')
171
201
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
202
+ Token = Shapes::StringShape.new(name: 'Token')
172
203
  TooManyTagsException = Shapes::StructureShape.new(name: 'TooManyTagsException')
173
204
  Trace = Shapes::StructureShape.new(name: 'Trace')
174
205
  TraceAvailabilityZones = Shapes::ListShape.new(name: 'TraceAvailabilityZones')
@@ -216,6 +247,11 @@ module Aws::XRay
216
247
  Annotations.key = Shapes::ShapeRef.new(shape: AnnotationKey)
217
248
  Annotations.value = Shapes::ShapeRef.new(shape: ValuesWithServiceIds)
218
249
 
250
+ AnomalousService.add_member(:service_id, Shapes::ShapeRef.new(shape: ServiceId, location_name: "ServiceId"))
251
+ AnomalousService.struct_class = Types::AnomalousService
252
+
253
+ AnomalousServiceList.member = Shapes::ShapeRef.new(shape: AnomalousService)
254
+
219
255
  AttributeMap.key = Shapes::ShapeRef.new(shape: AttributeKey)
220
256
  AttributeMap.value = Shapes::ShapeRef.new(shape: AttributeValue)
221
257
 
@@ -345,6 +381,10 @@ module Aws::XRay
345
381
  FaultStatistics.add_member(:total_count, Shapes::ShapeRef.new(shape: NullableLong, location_name: "TotalCount"))
346
382
  FaultStatistics.struct_class = Types::FaultStatistics
347
383
 
384
+ ForecastStatistics.add_member(:fault_count_high, Shapes::ShapeRef.new(shape: NullableLong, location_name: "FaultCountHigh"))
385
+ ForecastStatistics.add_member(:fault_count_low, Shapes::ShapeRef.new(shape: NullableLong, location_name: "FaultCountLow"))
386
+ ForecastStatistics.struct_class = Types::ForecastStatistics
387
+
348
388
  GetEncryptionConfigRequest.struct_class = Types::GetEncryptionConfigRequest
349
389
 
350
390
  GetEncryptionConfigResult.add_member(:encryption_config, Shapes::ShapeRef.new(shape: EncryptionConfig, location_name: "EncryptionConfig"))
@@ -364,6 +404,49 @@ module Aws::XRay
364
404
  GetGroupsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
365
405
  GetGroupsResult.struct_class = Types::GetGroupsResult
366
406
 
407
+ GetInsightEventsRequest.add_member(:insight_id, Shapes::ShapeRef.new(shape: InsightId, required: true, location_name: "InsightId"))
408
+ GetInsightEventsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: GetInsightEventsMaxResults, location_name: "MaxResults"))
409
+ GetInsightEventsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
410
+ GetInsightEventsRequest.struct_class = Types::GetInsightEventsRequest
411
+
412
+ GetInsightEventsResult.add_member(:insight_events, Shapes::ShapeRef.new(shape: InsightEventList, location_name: "InsightEvents"))
413
+ GetInsightEventsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
414
+ GetInsightEventsResult.struct_class = Types::GetInsightEventsResult
415
+
416
+ GetInsightImpactGraphRequest.add_member(:insight_id, Shapes::ShapeRef.new(shape: InsightId, required: true, location_name: "InsightId"))
417
+ GetInsightImpactGraphRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "StartTime"))
418
+ GetInsightImpactGraphRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "EndTime"))
419
+ GetInsightImpactGraphRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
420
+ GetInsightImpactGraphRequest.struct_class = Types::GetInsightImpactGraphRequest
421
+
422
+ GetInsightImpactGraphResult.add_member(:insight_id, Shapes::ShapeRef.new(shape: InsightId, location_name: "InsightId"))
423
+ GetInsightImpactGraphResult.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "StartTime"))
424
+ GetInsightImpactGraphResult.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndTime"))
425
+ GetInsightImpactGraphResult.add_member(:service_graph_start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ServiceGraphStartTime"))
426
+ GetInsightImpactGraphResult.add_member(:service_graph_end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ServiceGraphEndTime"))
427
+ GetInsightImpactGraphResult.add_member(:services, Shapes::ShapeRef.new(shape: InsightImpactGraphServiceList, location_name: "Services"))
428
+ GetInsightImpactGraphResult.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
429
+ GetInsightImpactGraphResult.struct_class = Types::GetInsightImpactGraphResult
430
+
431
+ GetInsightRequest.add_member(:insight_id, Shapes::ShapeRef.new(shape: InsightId, required: true, location_name: "InsightId"))
432
+ GetInsightRequest.struct_class = Types::GetInsightRequest
433
+
434
+ GetInsightResult.add_member(:insight, Shapes::ShapeRef.new(shape: Insight, location_name: "Insight"))
435
+ GetInsightResult.struct_class = Types::GetInsightResult
436
+
437
+ GetInsightSummariesRequest.add_member(:states, Shapes::ShapeRef.new(shape: InsightStateList, location_name: "States"))
438
+ GetInsightSummariesRequest.add_member(:group_arn, Shapes::ShapeRef.new(shape: GroupARN, location_name: "GroupARN"))
439
+ GetInsightSummariesRequest.add_member(:group_name, Shapes::ShapeRef.new(shape: GroupName, location_name: "GroupName"))
440
+ GetInsightSummariesRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "StartTime"))
441
+ GetInsightSummariesRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "EndTime"))
442
+ GetInsightSummariesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: GetInsightSummariesMaxResults, location_name: "MaxResults"))
443
+ GetInsightSummariesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
444
+ GetInsightSummariesRequest.struct_class = Types::GetInsightSummariesRequest
445
+
446
+ GetInsightSummariesResult.add_member(:insight_summaries, Shapes::ShapeRef.new(shape: InsightSummaryList, location_name: "InsightSummaries"))
447
+ GetInsightSummariesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
448
+ GetInsightSummariesResult.struct_class = Types::GetInsightSummariesResult
449
+
367
450
  GetSamplingRulesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
368
451
  GetSamplingRulesRequest.struct_class = Types::GetSamplingRulesRequest
369
452
 
@@ -406,6 +489,7 @@ module Aws::XRay
406
489
  GetTimeSeriesServiceStatisticsRequest.add_member(:group_arn, Shapes::ShapeRef.new(shape: GroupARN, location_name: "GroupARN"))
407
490
  GetTimeSeriesServiceStatisticsRequest.add_member(:entity_selector_expression, Shapes::ShapeRef.new(shape: EntitySelectorExpression, location_name: "EntitySelectorExpression"))
408
491
  GetTimeSeriesServiceStatisticsRequest.add_member(:period, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "Period"))
492
+ GetTimeSeriesServiceStatisticsRequest.add_member(:forecast_statistics, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "ForecastStatistics"))
409
493
  GetTimeSeriesServiceStatisticsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
410
494
  GetTimeSeriesServiceStatisticsRequest.struct_class = Types::GetTimeSeriesServiceStatisticsRequest
411
495
 
@@ -464,6 +548,65 @@ module Aws::XRay
464
548
  Http.add_member(:client_ip, Shapes::ShapeRef.new(shape: String, location_name: "ClientIp"))
465
549
  Http.struct_class = Types::Http
466
550
 
551
+ Insight.add_member(:insight_id, Shapes::ShapeRef.new(shape: InsightId, location_name: "InsightId"))
552
+ Insight.add_member(:group_arn, Shapes::ShapeRef.new(shape: GroupARN, location_name: "GroupARN"))
553
+ Insight.add_member(:group_name, Shapes::ShapeRef.new(shape: GroupName, location_name: "GroupName"))
554
+ Insight.add_member(:root_cause_service_id, Shapes::ShapeRef.new(shape: ServiceId, location_name: "RootCauseServiceId"))
555
+ Insight.add_member(:categories, Shapes::ShapeRef.new(shape: InsightCategoryList, location_name: "Categories"))
556
+ Insight.add_member(:state, Shapes::ShapeRef.new(shape: InsightState, location_name: "State"))
557
+ Insight.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "StartTime"))
558
+ Insight.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndTime"))
559
+ Insight.add_member(:summary, Shapes::ShapeRef.new(shape: InsightSummaryText, location_name: "Summary"))
560
+ Insight.add_member(:client_request_impact_statistics, Shapes::ShapeRef.new(shape: RequestImpactStatistics, location_name: "ClientRequestImpactStatistics"))
561
+ Insight.add_member(:root_cause_service_request_impact_statistics, Shapes::ShapeRef.new(shape: RequestImpactStatistics, location_name: "RootCauseServiceRequestImpactStatistics"))
562
+ Insight.add_member(:top_anomalous_services, Shapes::ShapeRef.new(shape: AnomalousServiceList, location_name: "TopAnomalousServices"))
563
+ Insight.struct_class = Types::Insight
564
+
565
+ InsightCategoryList.member = Shapes::ShapeRef.new(shape: InsightCategory)
566
+
567
+ InsightEvent.add_member(:summary, Shapes::ShapeRef.new(shape: EventSummaryText, location_name: "Summary"))
568
+ InsightEvent.add_member(:event_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EventTime"))
569
+ InsightEvent.add_member(:client_request_impact_statistics, Shapes::ShapeRef.new(shape: RequestImpactStatistics, location_name: "ClientRequestImpactStatistics"))
570
+ InsightEvent.add_member(:root_cause_service_request_impact_statistics, Shapes::ShapeRef.new(shape: RequestImpactStatistics, location_name: "RootCauseServiceRequestImpactStatistics"))
571
+ InsightEvent.add_member(:top_anomalous_services, Shapes::ShapeRef.new(shape: AnomalousServiceList, location_name: "TopAnomalousServices"))
572
+ InsightEvent.struct_class = Types::InsightEvent
573
+
574
+ InsightEventList.member = Shapes::ShapeRef.new(shape: InsightEvent)
575
+
576
+ InsightImpactGraphEdge.add_member(:reference_id, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "ReferenceId"))
577
+ InsightImpactGraphEdge.struct_class = Types::InsightImpactGraphEdge
578
+
579
+ InsightImpactGraphEdgeList.member = Shapes::ShapeRef.new(shape: InsightImpactGraphEdge)
580
+
581
+ InsightImpactGraphService.add_member(:reference_id, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "ReferenceId"))
582
+ InsightImpactGraphService.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
583
+ InsightImpactGraphService.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
584
+ InsightImpactGraphService.add_member(:names, Shapes::ShapeRef.new(shape: ServiceNames, location_name: "Names"))
585
+ InsightImpactGraphService.add_member(:account_id, Shapes::ShapeRef.new(shape: String, location_name: "AccountId"))
586
+ InsightImpactGraphService.add_member(:edges, Shapes::ShapeRef.new(shape: InsightImpactGraphEdgeList, location_name: "Edges"))
587
+ InsightImpactGraphService.struct_class = Types::InsightImpactGraphService
588
+
589
+ InsightImpactGraphServiceList.member = Shapes::ShapeRef.new(shape: InsightImpactGraphService)
590
+
591
+ InsightStateList.member = Shapes::ShapeRef.new(shape: InsightState)
592
+
593
+ InsightSummary.add_member(:insight_id, Shapes::ShapeRef.new(shape: InsightId, location_name: "InsightId"))
594
+ InsightSummary.add_member(:group_arn, Shapes::ShapeRef.new(shape: GroupARN, location_name: "GroupARN"))
595
+ InsightSummary.add_member(:group_name, Shapes::ShapeRef.new(shape: GroupName, location_name: "GroupName"))
596
+ InsightSummary.add_member(:root_cause_service_id, Shapes::ShapeRef.new(shape: ServiceId, location_name: "RootCauseServiceId"))
597
+ InsightSummary.add_member(:categories, Shapes::ShapeRef.new(shape: InsightCategoryList, location_name: "Categories"))
598
+ InsightSummary.add_member(:state, Shapes::ShapeRef.new(shape: InsightState, location_name: "State"))
599
+ InsightSummary.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "StartTime"))
600
+ InsightSummary.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndTime"))
601
+ InsightSummary.add_member(:summary, Shapes::ShapeRef.new(shape: InsightSummaryText, location_name: "Summary"))
602
+ InsightSummary.add_member(:client_request_impact_statistics, Shapes::ShapeRef.new(shape: RequestImpactStatistics, location_name: "ClientRequestImpactStatistics"))
603
+ InsightSummary.add_member(:root_cause_service_request_impact_statistics, Shapes::ShapeRef.new(shape: RequestImpactStatistics, location_name: "RootCauseServiceRequestImpactStatistics"))
604
+ InsightSummary.add_member(:top_anomalous_services, Shapes::ShapeRef.new(shape: AnomalousServiceList, location_name: "TopAnomalousServices"))
605
+ InsightSummary.add_member(:last_update_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastUpdateTime"))
606
+ InsightSummary.struct_class = Types::InsightSummary
607
+
608
+ InsightSummaryList.member = Shapes::ShapeRef.new(shape: InsightSummary)
609
+
467
610
  InsightsConfiguration.add_member(:insights_enabled, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "InsightsEnabled"))
468
611
  InsightsConfiguration.add_member(:notifications_enabled, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "NotificationsEnabled"))
469
612
  InsightsConfiguration.struct_class = Types::InsightsConfiguration
@@ -503,6 +646,11 @@ module Aws::XRay
503
646
  PutTraceSegmentsResult.add_member(:unprocessed_trace_segments, Shapes::ShapeRef.new(shape: UnprocessedTraceSegmentList, location_name: "UnprocessedTraceSegments"))
504
647
  PutTraceSegmentsResult.struct_class = Types::PutTraceSegmentsResult
505
648
 
649
+ RequestImpactStatistics.add_member(:fault_count, Shapes::ShapeRef.new(shape: NullableLong, location_name: "FaultCount"))
650
+ RequestImpactStatistics.add_member(:ok_count, Shapes::ShapeRef.new(shape: NullableLong, location_name: "OkCount"))
651
+ RequestImpactStatistics.add_member(:total_count, Shapes::ShapeRef.new(shape: NullableLong, location_name: "TotalCount"))
652
+ RequestImpactStatistics.struct_class = Types::RequestImpactStatistics
653
+
506
654
  ResourceARNDetail.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "ARN"))
507
655
  ResourceARNDetail.struct_class = Types::ResourceARNDetail
508
656
 
@@ -680,6 +828,7 @@ module Aws::XRay
680
828
  TimeSeriesServiceStatistics.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "Timestamp"))
681
829
  TimeSeriesServiceStatistics.add_member(:edge_summary_statistics, Shapes::ShapeRef.new(shape: EdgeStatistics, location_name: "EdgeSummaryStatistics"))
682
830
  TimeSeriesServiceStatistics.add_member(:service_summary_statistics, Shapes::ShapeRef.new(shape: ServiceStatistics, location_name: "ServiceSummaryStatistics"))
831
+ TimeSeriesServiceStatistics.add_member(:service_forecast_statistics, Shapes::ShapeRef.new(shape: ForecastStatistics, location_name: "ServiceForecastStatistics"))
683
832
  TimeSeriesServiceStatistics.add_member(:response_time_histogram, Shapes::ShapeRef.new(shape: Histogram, location_name: "ResponseTimeHistogram"))
684
833
  TimeSeriesServiceStatistics.struct_class = Types::TimeSeriesServiceStatistics
685
834
 
@@ -887,6 +1036,58 @@ module Aws::XRay
887
1036
  )
888
1037
  end)
889
1038
 
1039
+ api.add_operation(:get_insight, Seahorse::Model::Operation.new.tap do |o|
1040
+ o.name = "GetInsight"
1041
+ o.http_method = "POST"
1042
+ o.http_request_uri = "/Insight"
1043
+ o.input = Shapes::ShapeRef.new(shape: GetInsightRequest)
1044
+ o.output = Shapes::ShapeRef.new(shape: GetInsightResult)
1045
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1046
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
1047
+ end)
1048
+
1049
+ api.add_operation(:get_insight_events, Seahorse::Model::Operation.new.tap do |o|
1050
+ o.name = "GetInsightEvents"
1051
+ o.http_method = "POST"
1052
+ o.http_request_uri = "/InsightEvents"
1053
+ o.input = Shapes::ShapeRef.new(shape: GetInsightEventsRequest)
1054
+ o.output = Shapes::ShapeRef.new(shape: GetInsightEventsResult)
1055
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1056
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
1057
+ o[:pager] = Aws::Pager.new(
1058
+ limit_key: "max_results",
1059
+ tokens: {
1060
+ "next_token" => "next_token"
1061
+ }
1062
+ )
1063
+ end)
1064
+
1065
+ api.add_operation(:get_insight_impact_graph, Seahorse::Model::Operation.new.tap do |o|
1066
+ o.name = "GetInsightImpactGraph"
1067
+ o.http_method = "POST"
1068
+ o.http_request_uri = "/InsightImpactGraph"
1069
+ o.input = Shapes::ShapeRef.new(shape: GetInsightImpactGraphRequest)
1070
+ o.output = Shapes::ShapeRef.new(shape: GetInsightImpactGraphResult)
1071
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1072
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
1073
+ end)
1074
+
1075
+ api.add_operation(:get_insight_summaries, Seahorse::Model::Operation.new.tap do |o|
1076
+ o.name = "GetInsightSummaries"
1077
+ o.http_method = "POST"
1078
+ o.http_request_uri = "/InsightSummaries"
1079
+ o.input = Shapes::ShapeRef.new(shape: GetInsightSummariesRequest)
1080
+ o.output = Shapes::ShapeRef.new(shape: GetInsightSummariesResult)
1081
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1082
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
1083
+ o[:pager] = Aws::Pager.new(
1084
+ limit_key: "max_results",
1085
+ tokens: {
1086
+ "next_token" => "next_token"
1087
+ }
1088
+ )
1089
+ end)
1090
+
890
1091
  api.add_operation(:get_sampling_rules, Seahorse::Model::Operation.new.tap do |o|
891
1092
  o.name = "GetSamplingRules"
892
1093
  o.http_method = "POST"