aws-sdk-xray 1.34.0 → 1.35.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-xray.rb +1 -1
- data/lib/aws-sdk-xray/client.rb +279 -1
- data/lib/aws-sdk-xray/client_api.rb +201 -0
- data/lib/aws-sdk-xray/types.rb +583 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2fd62832dbdb1d36b24ba612176da06b553d11852588651b3b2fc217598ceaa8
|
4
|
+
data.tar.gz: f0745b0b01906d4c913de29adec10bfe62e8228540b45cf1bbee362b31ec371d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b92ea718b0295814dbb997943485136358709b0d4129b8f32187b738ad3a99ca0290b712a1447107a0d31d7319d4d96302d8c520797c8d49dd70cfc91c320478
|
7
|
+
data.tar.gz: c83a832b1d0f677dd511fb9b235f3db6d6c0e55b41f23885cbbf4ca5f5bab6d0fd04d90d37f4d344cabbf37d8f8ebc8b617369cb8add73774a3abe4bb71e05f6
|
data/lib/aws-sdk-xray.rb
CHANGED
data/lib/aws-sdk-xray/client.rb
CHANGED
@@ -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<Types::InsightSummary>
|
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.
|
2014
|
+
context[:gem_version] = '1.35.0'
|
1737
2015
|
Seahorse::Client::Request.new(handlers, context)
|
1738
2016
|
end
|
1739
2017
|
|
@@ -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"
|
data/lib/aws-sdk-xray/types.rb
CHANGED
@@ -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
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-xray
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.35.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-11-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|