aws-sdk-xray 1.31.0 → 1.36.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 +2 -1
- data/lib/aws-sdk-xray/client.rb +314 -17
- data/lib/aws-sdk-xray/client_api.rb +203 -0
- data/lib/aws-sdk-xray/types.rb +667 -40
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 37650680957b9bfdf483897f8aec573c060091d35e603d64ec1b89c21663fbfb
|
4
|
+
data.tar.gz: '03404448f352d96c7872d5b548ea226629d7807da000d2579af5d6123c3ec1ef'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b0e7cc4313696aada1e6b86aa9488cc3b7a382f8266585f986e685779935e2377277924bdead34ef99caf9a67800207b5b148ec65770a6e2d86a4a88f2acd9f5
|
7
|
+
data.tar.gz: fd5f73505074c74e54a354e546a7df116bff4f08826f24ff327bb4cd650864f65cf9db1cc87437d84c12dff8c19952a65ebc5283f447a9e27a26eb61cf650b9f
|
data/lib/aws-sdk-xray.rb
CHANGED
@@ -7,6 +7,7 @@
|
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
10
|
+
|
10
11
|
require 'aws-sdk-core'
|
11
12
|
require 'aws-sigv4'
|
12
13
|
|
@@ -47,6 +48,6 @@ require_relative 'aws-sdk-xray/customizations'
|
|
47
48
|
# @!group service
|
48
49
|
module Aws::XRay
|
49
50
|
|
50
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.36.0'
|
51
52
|
|
52
53
|
end
|
data/lib/aws-sdk-xray/client.rb
CHANGED
@@ -357,6 +357,7 @@ module Aws::XRay
|
|
357
357
|
# resp.traces #=> Array
|
358
358
|
# resp.traces[0].id #=> String
|
359
359
|
# resp.traces[0].duration #=> Float
|
360
|
+
# resp.traces[0].limit_exceeded #=> Boolean
|
360
361
|
# resp.traces[0].segments #=> Array
|
361
362
|
# resp.traces[0].segments[0].id #=> String
|
362
363
|
# resp.traces[0].segments[0].document #=> String
|
@@ -383,9 +384,14 @@ module Aws::XRay
|
|
383
384
|
# The filter expression defining criteria by which to group traces.
|
384
385
|
#
|
385
386
|
# @option params [Types::InsightsConfiguration] :insights_configuration
|
386
|
-
# The structure containing configurations related to insights.
|
387
|
-
#
|
388
|
-
#
|
387
|
+
# The structure containing configurations related to insights.
|
388
|
+
#
|
389
|
+
# * The InsightsEnabled boolean can be set to true to enable insights
|
390
|
+
# for the new group or false to disable insights for the new group.
|
391
|
+
#
|
392
|
+
# * The NotifcationsEnabled boolean can be set to true to enable
|
393
|
+
# insights notifications for the new group. Notifications may only be
|
394
|
+
# enabled on a group with InsightsEnabled set to true.
|
389
395
|
#
|
390
396
|
# @option params [Array<Types::Tag>] :tags
|
391
397
|
# A map that contains one or more tag keys and tag values to attach to
|
@@ -422,6 +428,7 @@ module Aws::XRay
|
|
422
428
|
# filter_expression: "FilterExpression",
|
423
429
|
# insights_configuration: {
|
424
430
|
# insights_enabled: false,
|
431
|
+
# notifications_enabled: false,
|
425
432
|
# },
|
426
433
|
# tags: [
|
427
434
|
# {
|
@@ -437,6 +444,7 @@ module Aws::XRay
|
|
437
444
|
# resp.group.group_arn #=> String
|
438
445
|
# resp.group.filter_expression #=> String
|
439
446
|
# resp.group.insights_configuration.insights_enabled #=> Boolean
|
447
|
+
# resp.group.insights_configuration.notifications_enabled #=> Boolean
|
440
448
|
#
|
441
449
|
# @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/CreateGroup AWS API Documentation
|
442
450
|
#
|
@@ -664,6 +672,7 @@ module Aws::XRay
|
|
664
672
|
# resp.group.group_arn #=> String
|
665
673
|
# resp.group.filter_expression #=> String
|
666
674
|
# resp.group.insights_configuration.insights_enabled #=> Boolean
|
675
|
+
# resp.group.insights_configuration.notifications_enabled #=> Boolean
|
667
676
|
#
|
668
677
|
# @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetGroup AWS API Documentation
|
669
678
|
#
|
@@ -699,6 +708,7 @@ module Aws::XRay
|
|
699
708
|
# resp.groups[0].group_arn #=> String
|
700
709
|
# resp.groups[0].filter_expression #=> String
|
701
710
|
# resp.groups[0].insights_configuration.insights_enabled #=> Boolean
|
711
|
+
# resp.groups[0].insights_configuration.notifications_enabled #=> Boolean
|
702
712
|
# resp.next_token #=> String
|
703
713
|
#
|
704
714
|
# @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetGroups AWS API Documentation
|
@@ -710,6 +720,277 @@ module Aws::XRay
|
|
710
720
|
req.send_request(options)
|
711
721
|
end
|
712
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
|
+
|
713
994
|
# Retrieves all sampling rules.
|
714
995
|
#
|
715
996
|
# @option params [String] :next_token
|
@@ -864,10 +1145,11 @@ module Aws::XRay
|
|
864
1145
|
# The end of the timeframe for which to generate a graph.
|
865
1146
|
#
|
866
1147
|
# @option params [String] :group_name
|
867
|
-
# The name of a group to generate a graph
|
1148
|
+
# The name of a group based on which you want to generate a graph.
|
868
1149
|
#
|
869
1150
|
# @option params [String] :group_arn
|
870
|
-
# The ARN of a group
|
1151
|
+
# The Amazon Resource Name (ARN) of a group based on which you want to
|
1152
|
+
# generate a graph.
|
871
1153
|
#
|
872
1154
|
# @option params [String] :next_token
|
873
1155
|
# Pagination token.
|
@@ -967,7 +1249,8 @@ module Aws::XRay
|
|
967
1249
|
# from.
|
968
1250
|
#
|
969
1251
|
# @option params [String] :group_arn
|
970
|
-
# The ARN of the group for which to pull
|
1252
|
+
# The Amazon Resource Name (ARN) of the group for which to pull
|
1253
|
+
# statistics from.
|
971
1254
|
#
|
972
1255
|
# @option params [String] :entity_selector_expression
|
973
1256
|
# A filter expression defining entities that will be aggregated for
|
@@ -977,6 +1260,10 @@ module Aws::XRay
|
|
977
1260
|
# @option params [Integer] :period
|
978
1261
|
# Aggregation period in seconds.
|
979
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
|
+
#
|
980
1267
|
# @option params [String] :next_token
|
981
1268
|
# Pagination token.
|
982
1269
|
#
|
@@ -997,6 +1284,7 @@ module Aws::XRay
|
|
997
1284
|
# group_arn: "GroupARN",
|
998
1285
|
# entity_selector_expression: "EntitySelectorExpression",
|
999
1286
|
# period: 1,
|
1287
|
+
# forecast_statistics: false,
|
1000
1288
|
# next_token: "String",
|
1001
1289
|
# })
|
1002
1290
|
#
|
@@ -1020,6 +1308,8 @@ module Aws::XRay
|
|
1020
1308
|
# resp.time_series_service_statistics[0].service_summary_statistics.fault_statistics.total_count #=> Integer
|
1021
1309
|
# resp.time_series_service_statistics[0].service_summary_statistics.total_count #=> Integer
|
1022
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
|
1023
1313
|
# resp.time_series_service_statistics[0].response_time_histogram #=> Array
|
1024
1314
|
# resp.time_series_service_statistics[0].response_time_histogram[0].value #=> Float
|
1025
1315
|
# resp.time_series_service_statistics[0].response_time_histogram[0].count #=> Integer
|
@@ -1153,7 +1443,7 @@ module Aws::XRay
|
|
1153
1443
|
# Set to `true` to get summaries for only a subset of available traces.
|
1154
1444
|
#
|
1155
1445
|
# @option params [Types::SamplingStrategy] :sampling_strategy
|
1156
|
-
# A
|
1446
|
+
# A parameter to indicate whether to enable sampling on trace summaries.
|
1157
1447
|
# Input parameters are Name and Value.
|
1158
1448
|
#
|
1159
1449
|
# @option params [String] :filter_expression
|
@@ -1439,7 +1729,7 @@ module Aws::XRay
|
|
1439
1729
|
# document schema, see [AWS X-Ray Segment Documents][2] in the *AWS
|
1440
1730
|
# X-Ray Developer Guide*.
|
1441
1731
|
#
|
1442
|
-
# **Required
|
1732
|
+
# **Required segment document fields**
|
1443
1733
|
#
|
1444
1734
|
# * `name` - The name of the service that handled the request.
|
1445
1735
|
#
|
@@ -1459,17 +1749,17 @@ module Aws::XRay
|
|
1459
1749
|
#
|
1460
1750
|
# * `in_progress` - Set to `true` instead of specifying an `end_time` to
|
1461
1751
|
# record that a segment has been started, but is not complete. Send an
|
1462
|
-
# in
|
1463
|
-
# will take a long time to serve, to trace
|
1464
|
-
#
|
1465
|
-
#
|
1752
|
+
# in-progress segment when your application receives a request that
|
1753
|
+
# will take a long time to serve, to trace that the request was
|
1754
|
+
# received. When the response is sent, send the complete segment to
|
1755
|
+
# overwrite the in-progress segment.
|
1466
1756
|
#
|
1467
1757
|
# A `trace_id` consists of three numbers separated by hyphens. For
|
1468
1758
|
# example, 1-58406520-a006649127e371903a2de979. This includes:
|
1469
1759
|
#
|
1470
1760
|
# **Trace ID Format**
|
1471
1761
|
#
|
1472
|
-
# * The version number,
|
1762
|
+
# * The version number, for instance, `1`.
|
1473
1763
|
#
|
1474
1764
|
# * The time of the original request, in Unix epoch time, in 8
|
1475
1765
|
# hexadecimal digits. For example, 10:00AM December 2nd, 2016 PST in
|
@@ -1608,9 +1898,14 @@ module Aws::XRay
|
|
1608
1898
|
# traces.
|
1609
1899
|
#
|
1610
1900
|
# @option params [Types::InsightsConfiguration] :insights_configuration
|
1611
|
-
# The structure containing configurations related to insights.
|
1612
|
-
#
|
1613
|
-
#
|
1901
|
+
# The structure containing configurations related to insights.
|
1902
|
+
#
|
1903
|
+
# * The InsightsEnabled boolean can be set to true to enable insights
|
1904
|
+
# for the group or false to disable insights for the group.
|
1905
|
+
#
|
1906
|
+
# * The NotifcationsEnabled boolean can be set to true to enable
|
1907
|
+
# insights notifications for the group. Notifications can only be
|
1908
|
+
# enabled on a group with InsightsEnabled set to true.
|
1614
1909
|
#
|
1615
1910
|
# @return [Types::UpdateGroupResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1616
1911
|
#
|
@@ -1624,6 +1919,7 @@ module Aws::XRay
|
|
1624
1919
|
# filter_expression: "FilterExpression",
|
1625
1920
|
# insights_configuration: {
|
1626
1921
|
# insights_enabled: false,
|
1922
|
+
# notifications_enabled: false,
|
1627
1923
|
# },
|
1628
1924
|
# })
|
1629
1925
|
#
|
@@ -1633,6 +1929,7 @@ module Aws::XRay
|
|
1633
1929
|
# resp.group.group_arn #=> String
|
1634
1930
|
# resp.group.filter_expression #=> String
|
1635
1931
|
# resp.group.insights_configuration.insights_enabled #=> Boolean
|
1932
|
+
# resp.group.insights_configuration.notifications_enabled #=> Boolean
|
1636
1933
|
#
|
1637
1934
|
# @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/UpdateGroup AWS API Documentation
|
1638
1935
|
#
|
@@ -1714,7 +2011,7 @@ module Aws::XRay
|
|
1714
2011
|
params: params,
|
1715
2012
|
config: config)
|
1716
2013
|
context[:gem_name] = 'aws-sdk-xray'
|
1717
|
-
context[:gem_version] = '1.
|
2014
|
+
context[:gem_version] = '1.36.0'
|
1718
2015
|
Seahorse::Client::Request.new(handlers, context)
|
1719
2016
|
end
|
1720
2017
|
|