aws-sdk-xray 1.30.0 → 1.35.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-xray.rb +2 -1
- data/lib/aws-sdk-xray/client.rb +412 -11
- data/lib/aws-sdk-xray/client_api.rb +211 -0
- data/lib/aws-sdk-xray/types.rb +828 -29
- 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: 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
@@ -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.35.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
|
@@ -382,7 +383,39 @@ module Aws::XRay
|
|
382
383
|
# @option params [String] :filter_expression
|
383
384
|
# The filter expression defining criteria by which to group traces.
|
384
385
|
#
|
386
|
+
# @option params [Types::InsightsConfiguration] :insights_configuration
|
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.
|
395
|
+
#
|
385
396
|
# @option params [Array<Types::Tag>] :tags
|
397
|
+
# A map that contains one or more tag keys and tag values to attach to
|
398
|
+
# an X-Ray group. For more information about ways to use tags, see
|
399
|
+
# [Tagging AWS resources][1] in the *AWS General Reference*.
|
400
|
+
#
|
401
|
+
# The following restrictions apply to tags:
|
402
|
+
#
|
403
|
+
# * Maximum number of user-applied tags per resource: 50
|
404
|
+
#
|
405
|
+
# * Maximum tag key length: 128 Unicode characters
|
406
|
+
#
|
407
|
+
# * Maximum tag value length: 256 Unicode characters
|
408
|
+
#
|
409
|
+
# * Valid values for key and value: a-z, A-Z, 0-9, space, and the
|
410
|
+
# following characters: \_ . : / = + - and @
|
411
|
+
#
|
412
|
+
# * Tag keys and values are case sensitive.
|
413
|
+
#
|
414
|
+
# * Don't use `aws:` as a prefix for keys; it's reserved for AWS use.
|
415
|
+
#
|
416
|
+
#
|
417
|
+
#
|
418
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
|
386
419
|
#
|
387
420
|
# @return [Types::CreateGroupResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
388
421
|
#
|
@@ -393,6 +426,10 @@ module Aws::XRay
|
|
393
426
|
# resp = client.create_group({
|
394
427
|
# group_name: "GroupName", # required
|
395
428
|
# filter_expression: "FilterExpression",
|
429
|
+
# insights_configuration: {
|
430
|
+
# insights_enabled: false,
|
431
|
+
# notifications_enabled: false,
|
432
|
+
# },
|
396
433
|
# tags: [
|
397
434
|
# {
|
398
435
|
# key: "TagKey", # required
|
@@ -406,6 +443,8 @@ module Aws::XRay
|
|
406
443
|
# resp.group.group_name #=> String
|
407
444
|
# resp.group.group_arn #=> String
|
408
445
|
# resp.group.filter_expression #=> String
|
446
|
+
# resp.group.insights_configuration.insights_enabled #=> Boolean
|
447
|
+
# resp.group.insights_configuration.notifications_enabled #=> Boolean
|
409
448
|
#
|
410
449
|
# @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/CreateGroup AWS API Documentation
|
411
450
|
#
|
@@ -429,6 +468,28 @@ module Aws::XRay
|
|
429
468
|
# The rule definition.
|
430
469
|
#
|
431
470
|
# @option params [Array<Types::Tag>] :tags
|
471
|
+
# A map that contains one or more tag keys and tag values to attach to
|
472
|
+
# an X-Ray sampling rule. For more information about ways to use tags,
|
473
|
+
# see [Tagging AWS resources][1] in the *AWS General Reference*.
|
474
|
+
#
|
475
|
+
# The following restrictions apply to tags:
|
476
|
+
#
|
477
|
+
# * Maximum number of user-applied tags per resource: 50
|
478
|
+
#
|
479
|
+
# * Maximum tag key length: 128 Unicode characters
|
480
|
+
#
|
481
|
+
# * Maximum tag value length: 256 Unicode characters
|
482
|
+
#
|
483
|
+
# * Valid values for key and value: a-z, A-Z, 0-9, space, and the
|
484
|
+
# following characters: \_ . : / = + - and @
|
485
|
+
#
|
486
|
+
# * Tag keys and values are case sensitive.
|
487
|
+
#
|
488
|
+
# * Don't use `aws:` as a prefix for keys; it's reserved for AWS use.
|
489
|
+
#
|
490
|
+
#
|
491
|
+
#
|
492
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
|
432
493
|
#
|
433
494
|
# @return [Types::CreateSamplingRuleResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
434
495
|
#
|
@@ -610,6 +671,8 @@ module Aws::XRay
|
|
610
671
|
# resp.group.group_name #=> String
|
611
672
|
# resp.group.group_arn #=> String
|
612
673
|
# resp.group.filter_expression #=> String
|
674
|
+
# resp.group.insights_configuration.insights_enabled #=> Boolean
|
675
|
+
# resp.group.insights_configuration.notifications_enabled #=> Boolean
|
613
676
|
#
|
614
677
|
# @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetGroup AWS API Documentation
|
615
678
|
#
|
@@ -644,6 +707,8 @@ module Aws::XRay
|
|
644
707
|
# resp.groups[0].group_name #=> String
|
645
708
|
# resp.groups[0].group_arn #=> String
|
646
709
|
# resp.groups[0].filter_expression #=> String
|
710
|
+
# resp.groups[0].insights_configuration.insights_enabled #=> Boolean
|
711
|
+
# resp.groups[0].insights_configuration.notifications_enabled #=> Boolean
|
647
712
|
# resp.next_token #=> String
|
648
713
|
#
|
649
714
|
# @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetGroups AWS API Documentation
|
@@ -655,6 +720,277 @@ module Aws::XRay
|
|
655
720
|
req.send_request(options)
|
656
721
|
end
|
657
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
|
+
|
658
994
|
# Retrieves all sampling rules.
|
659
995
|
#
|
660
996
|
# @option params [String] :next_token
|
@@ -809,10 +1145,11 @@ module Aws::XRay
|
|
809
1145
|
# The end of the timeframe for which to generate a graph.
|
810
1146
|
#
|
811
1147
|
# @option params [String] :group_name
|
812
|
-
# The name of a group to generate a graph
|
1148
|
+
# The name of a group based on which you want to generate a graph.
|
813
1149
|
#
|
814
1150
|
# @option params [String] :group_arn
|
815
|
-
# The ARN of a group
|
1151
|
+
# The Amazon Resource Name (ARN) of a group based on which you want to
|
1152
|
+
# generate a graph.
|
816
1153
|
#
|
817
1154
|
# @option params [String] :next_token
|
818
1155
|
# Pagination token.
|
@@ -912,7 +1249,8 @@ module Aws::XRay
|
|
912
1249
|
# from.
|
913
1250
|
#
|
914
1251
|
# @option params [String] :group_arn
|
915
|
-
# 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.
|
916
1254
|
#
|
917
1255
|
# @option params [String] :entity_selector_expression
|
918
1256
|
# A filter expression defining entities that will be aggregated for
|
@@ -922,6 +1260,10 @@ module Aws::XRay
|
|
922
1260
|
# @option params [Integer] :period
|
923
1261
|
# Aggregation period in seconds.
|
924
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
|
+
#
|
925
1267
|
# @option params [String] :next_token
|
926
1268
|
# Pagination token.
|
927
1269
|
#
|
@@ -942,6 +1284,7 @@ module Aws::XRay
|
|
942
1284
|
# group_arn: "GroupARN",
|
943
1285
|
# entity_selector_expression: "EntitySelectorExpression",
|
944
1286
|
# period: 1,
|
1287
|
+
# forecast_statistics: false,
|
945
1288
|
# next_token: "String",
|
946
1289
|
# })
|
947
1290
|
#
|
@@ -965,6 +1308,8 @@ module Aws::XRay
|
|
965
1308
|
# resp.time_series_service_statistics[0].service_summary_statistics.fault_statistics.total_count #=> Integer
|
966
1309
|
# resp.time_series_service_statistics[0].service_summary_statistics.total_count #=> Integer
|
967
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
|
968
1313
|
# resp.time_series_service_statistics[0].response_time_histogram #=> Array
|
969
1314
|
# resp.time_series_service_statistics[0].response_time_histogram[0].value #=> Float
|
970
1315
|
# resp.time_series_service_statistics[0].response_time_histogram[0].count #=> Integer
|
@@ -1098,7 +1443,7 @@ module Aws::XRay
|
|
1098
1443
|
# Set to `true` to get summaries for only a subset of available traces.
|
1099
1444
|
#
|
1100
1445
|
# @option params [Types::SamplingStrategy] :sampling_strategy
|
1101
|
-
# A
|
1446
|
+
# A parameter to indicate whether to enable sampling on trace summaries.
|
1102
1447
|
# Input parameters are Name and Value.
|
1103
1448
|
#
|
1104
1449
|
# @option params [String] :filter_expression
|
@@ -1242,9 +1587,16 @@ module Aws::XRay
|
|
1242
1587
|
req.send_request(options)
|
1243
1588
|
end
|
1244
1589
|
|
1590
|
+
# Returns a list of tags that are applied to the specified AWS X-Ray
|
1591
|
+
# group or sampling rule.
|
1592
|
+
#
|
1245
1593
|
# @option params [required, String] :resource_arn
|
1594
|
+
# The Amazon Resource Number (ARN) of an X-Ray group or sampling rule.
|
1246
1595
|
#
|
1247
1596
|
# @option params [String] :next_token
|
1597
|
+
# A pagination token. If multiple pages of results are returned, use the
|
1598
|
+
# `NextToken` value returned with the current page of results as the
|
1599
|
+
# value of this parameter to get the next page of results.
|
1248
1600
|
#
|
1249
1601
|
# @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1250
1602
|
#
|
@@ -1377,7 +1729,7 @@ module Aws::XRay
|
|
1377
1729
|
# document schema, see [AWS X-Ray Segment Documents][2] in the *AWS
|
1378
1730
|
# X-Ray Developer Guide*.
|
1379
1731
|
#
|
1380
|
-
# **Required
|
1732
|
+
# **Required segment document fields**
|
1381
1733
|
#
|
1382
1734
|
# * `name` - The name of the service that handled the request.
|
1383
1735
|
#
|
@@ -1397,17 +1749,17 @@ module Aws::XRay
|
|
1397
1749
|
#
|
1398
1750
|
# * `in_progress` - Set to `true` instead of specifying an `end_time` to
|
1399
1751
|
# record that a segment has been started, but is not complete. Send an
|
1400
|
-
# in
|
1401
|
-
# will take a long time to serve, to trace
|
1402
|
-
#
|
1403
|
-
#
|
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.
|
1404
1756
|
#
|
1405
1757
|
# A `trace_id` consists of three numbers separated by hyphens. For
|
1406
1758
|
# example, 1-58406520-a006649127e371903a2de979. This includes:
|
1407
1759
|
#
|
1408
1760
|
# **Trace ID Format**
|
1409
1761
|
#
|
1410
|
-
# * The version number,
|
1762
|
+
# * The version number, for instance, `1`.
|
1411
1763
|
#
|
1412
1764
|
# * The time of the original request, in Unix epoch time, in 8
|
1413
1765
|
# hexadecimal digits. For example, 10:00AM December 2nd, 2016 PST in
|
@@ -1451,9 +1803,36 @@ module Aws::XRay
|
|
1451
1803
|
req.send_request(options)
|
1452
1804
|
end
|
1453
1805
|
|
1806
|
+
# Applies tags to an existing AWS X-Ray group or sampling rule.
|
1807
|
+
#
|
1454
1808
|
# @option params [required, String] :resource_arn
|
1809
|
+
# The Amazon Resource Number (ARN) of an X-Ray group or sampling rule.
|
1455
1810
|
#
|
1456
1811
|
# @option params [required, Array<Types::Tag>] :tags
|
1812
|
+
# A map that contains one or more tag keys and tag values to attach to
|
1813
|
+
# an X-Ray group or sampling rule. For more information about ways to
|
1814
|
+
# use tags, see [Tagging AWS resources][1] in the *AWS General
|
1815
|
+
# Reference*.
|
1816
|
+
#
|
1817
|
+
# The following restrictions apply to tags:
|
1818
|
+
#
|
1819
|
+
# * Maximum number of user-applied tags per resource: 50
|
1820
|
+
#
|
1821
|
+
# * Maximum tag key length: 128 Unicode characters
|
1822
|
+
#
|
1823
|
+
# * Maximum tag value length: 256 Unicode characters
|
1824
|
+
#
|
1825
|
+
# * Valid values for key and value: a-z, A-Z, 0-9, space, and the
|
1826
|
+
# following characters: \_ . : / = + - and @
|
1827
|
+
#
|
1828
|
+
# * Tag keys and values are case sensitive.
|
1829
|
+
#
|
1830
|
+
# * Don't use `aws:` as a prefix for keys; it's reserved for AWS use.
|
1831
|
+
# You cannot edit or delete system tags.
|
1832
|
+
#
|
1833
|
+
#
|
1834
|
+
#
|
1835
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
|
1457
1836
|
#
|
1458
1837
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1459
1838
|
#
|
@@ -1478,9 +1857,15 @@ module Aws::XRay
|
|
1478
1857
|
req.send_request(options)
|
1479
1858
|
end
|
1480
1859
|
|
1860
|
+
# Removes tags from an AWS X-Ray group or sampling rule. You cannot edit
|
1861
|
+
# or delete system tags (those with an `aws:` prefix).
|
1862
|
+
#
|
1481
1863
|
# @option params [required, String] :resource_arn
|
1864
|
+
# The Amazon Resource Number (ARN) of an X-Ray group or sampling rule.
|
1482
1865
|
#
|
1483
1866
|
# @option params [required, Array<String>] :tag_keys
|
1867
|
+
# Keys for one or more tags that you want to remove from an X-Ray group
|
1868
|
+
# or sampling rule.
|
1484
1869
|
#
|
1485
1870
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1486
1871
|
#
|
@@ -1512,6 +1897,16 @@ module Aws::XRay
|
|
1512
1897
|
# The updated filter expression defining criteria by which to group
|
1513
1898
|
# traces.
|
1514
1899
|
#
|
1900
|
+
# @option params [Types::InsightsConfiguration] :insights_configuration
|
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.
|
1909
|
+
#
|
1515
1910
|
# @return [Types::UpdateGroupResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1516
1911
|
#
|
1517
1912
|
# * {Types::UpdateGroupResult#group #group} => Types::Group
|
@@ -1522,6 +1917,10 @@ module Aws::XRay
|
|
1522
1917
|
# group_name: "GroupName",
|
1523
1918
|
# group_arn: "GroupARN",
|
1524
1919
|
# filter_expression: "FilterExpression",
|
1920
|
+
# insights_configuration: {
|
1921
|
+
# insights_enabled: false,
|
1922
|
+
# notifications_enabled: false,
|
1923
|
+
# },
|
1525
1924
|
# })
|
1526
1925
|
#
|
1527
1926
|
# @example Response structure
|
@@ -1529,6 +1928,8 @@ module Aws::XRay
|
|
1529
1928
|
# resp.group.group_name #=> String
|
1530
1929
|
# resp.group.group_arn #=> String
|
1531
1930
|
# resp.group.filter_expression #=> String
|
1931
|
+
# resp.group.insights_configuration.insights_enabled #=> Boolean
|
1932
|
+
# resp.group.insights_configuration.notifications_enabled #=> Boolean
|
1532
1933
|
#
|
1533
1934
|
# @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/UpdateGroup AWS API Documentation
|
1534
1935
|
#
|
@@ -1610,7 +2011,7 @@ module Aws::XRay
|
|
1610
2011
|
params: params,
|
1611
2012
|
config: config)
|
1612
2013
|
context[:gem_name] = 'aws-sdk-xray'
|
1613
|
-
context[:gem_version] = '1.
|
2014
|
+
context[:gem_version] = '1.35.0'
|
1614
2015
|
Seahorse::Client::Request.new(handlers, context)
|
1615
2016
|
end
|
1616
2017
|
|