aws-sdk-xray 1.76.0 → 1.78.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -157,6 +157,22 @@ module Aws::XRay
157
157
  include Aws::Structure
158
158
  end
159
159
 
160
+ # @!attribute [rw] retrieval_token
161
+ # Retrieval token.
162
+ # @return [String]
163
+ #
164
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/CancelTraceRetrievalRequest AWS API Documentation
165
+ #
166
+ class CancelTraceRetrievalRequest < Struct.new(
167
+ :retrieval_token)
168
+ SENSITIVE = []
169
+ include Aws::Structure
170
+ end
171
+
172
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/CancelTraceRetrievalResult AWS API Documentation
173
+ #
174
+ class CancelTraceRetrievalResult < Aws::EmptyStructure; end
175
+
160
176
  # @!attribute [rw] group_name
161
177
  # The case-sensitive name of the new group. Default is a reserved name
162
178
  # and names must be unique.
@@ -567,7 +583,7 @@ module Aws::XRay
567
583
  # code.
568
584
  #
569
585
  # @!attribute [rw] throttle_count
570
- # The number of requests that failed with a 419 throttling status
586
+ # The number of requests that failed with a 429 throttling status
571
587
  # code.
572
588
  # @return [Integer]
573
589
  #
@@ -797,6 +813,37 @@ module Aws::XRay
797
813
  include Aws::Structure
798
814
  end
799
815
 
816
+ # @!attribute [rw] next_token
817
+ # Specify the pagination token returned by a previous request to
818
+ # retrieve the next page of indexes.
819
+ # @return [String]
820
+ #
821
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetIndexingRulesRequest AWS API Documentation
822
+ #
823
+ class GetIndexingRulesRequest < Struct.new(
824
+ :next_token)
825
+ SENSITIVE = []
826
+ include Aws::Structure
827
+ end
828
+
829
+ # @!attribute [rw] indexing_rules
830
+ # Retrieves all indexing rules.
831
+ # @return [Array<Types::IndexingRule>]
832
+ #
833
+ # @!attribute [rw] next_token
834
+ # Specify the pagination token returned by a previous request to
835
+ # retrieve the next page of indexes.
836
+ # @return [String]
837
+ #
838
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetIndexingRulesResult AWS API Documentation
839
+ #
840
+ class GetIndexingRulesResult < Struct.new(
841
+ :indexing_rules,
842
+ :next_token)
843
+ SENSITIVE = []
844
+ include Aws::Structure
845
+ end
846
+
800
847
  # @!attribute [rw] insight_id
801
848
  # The insight's unique identifier. Use the GetInsightSummaries action
802
849
  # to retrieve an InsightId.
@@ -1006,6 +1053,47 @@ module Aws::XRay
1006
1053
  include Aws::Structure
1007
1054
  end
1008
1055
 
1056
+ # @!attribute [rw] retrieval_token
1057
+ # Retrieval token.
1058
+ # @return [String]
1059
+ #
1060
+ # @!attribute [rw] next_token
1061
+ # Specify the pagination token returned by a previous request to
1062
+ # retrieve the next page of indexes.
1063
+ # @return [String]
1064
+ #
1065
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetRetrievedTracesGraphRequest AWS API Documentation
1066
+ #
1067
+ class GetRetrievedTracesGraphRequest < Struct.new(
1068
+ :retrieval_token,
1069
+ :next_token)
1070
+ SENSITIVE = []
1071
+ include Aws::Structure
1072
+ end
1073
+
1074
+ # @!attribute [rw] retrieval_status
1075
+ # Status of the retrieval.
1076
+ # @return [String]
1077
+ #
1078
+ # @!attribute [rw] services
1079
+ # Retrieved services.
1080
+ # @return [Array<Types::RetrievedService>]
1081
+ #
1082
+ # @!attribute [rw] next_token
1083
+ # Specify the pagination token returned by a previous request to
1084
+ # retrieve the next page of indexes.
1085
+ # @return [String]
1086
+ #
1087
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetRetrievedTracesGraphResult AWS API Documentation
1088
+ #
1089
+ class GetRetrievedTracesGraphResult < Struct.new(
1090
+ :retrieval_status,
1091
+ :services,
1092
+ :next_token)
1093
+ SENSITIVE = []
1094
+ include Aws::Structure
1095
+ end
1096
+
1009
1097
  # @!attribute [rw] next_token
1010
1098
  # Pagination token.
1011
1099
  # @return [String]
@@ -1290,6 +1378,29 @@ module Aws::XRay
1290
1378
  include Aws::Structure
1291
1379
  end
1292
1380
 
1381
+ # @api private
1382
+ #
1383
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetTraceSegmentDestinationRequest AWS API Documentation
1384
+ #
1385
+ class GetTraceSegmentDestinationRequest < Aws::EmptyStructure; end
1386
+
1387
+ # @!attribute [rw] destination
1388
+ # Retrieves the current destination.
1389
+ # @return [String]
1390
+ #
1391
+ # @!attribute [rw] status
1392
+ # Status of the retrieval.
1393
+ # @return [String]
1394
+ #
1395
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetTraceSegmentDestinationResult AWS API Documentation
1396
+ #
1397
+ class GetTraceSegmentDestinationResult < Struct.new(
1398
+ :destination,
1399
+ :status)
1400
+ SENSITIVE = []
1401
+ include Aws::Structure
1402
+ end
1403
+
1293
1404
  # @!attribute [rw] start_time
1294
1405
  # The start of the time frame for which to retrieve traces.
1295
1406
  # @return [Time]
@@ -1299,8 +1410,8 @@ module Aws::XRay
1299
1410
  # @return [Time]
1300
1411
  #
1301
1412
  # @!attribute [rw] time_range_type
1302
- # A parameter to indicate whether to query trace summaries by TraceId,
1303
- # Event (trace update time), or Service (segment end time).
1413
+ # Query trace summaries by TraceId (trace start time), Event (trace
1414
+ # update time), or Service (trace segment end time).
1304
1415
  # @return [String]
1305
1416
  #
1306
1417
  # @!attribute [rw] sampling
@@ -1369,6 +1480,30 @@ module Aws::XRay
1369
1480
  include Aws::Structure
1370
1481
  end
1371
1482
 
1483
+ # The relation between two services.
1484
+ #
1485
+ # @!attribute [rw] reference_type
1486
+ # Relationship of a trace to the corresponding service.
1487
+ # @return [String]
1488
+ #
1489
+ # @!attribute [rw] source_trace_id
1490
+ # Source trace of a link relationship.
1491
+ # @return [String]
1492
+ #
1493
+ # @!attribute [rw] destination_trace_ids
1494
+ # Destination traces of a link relationship.
1495
+ # @return [Array<String>]
1496
+ #
1497
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GraphLink AWS API Documentation
1498
+ #
1499
+ class GraphLink < Struct.new(
1500
+ :reference_type,
1501
+ :source_trace_id,
1502
+ :destination_trace_ids)
1503
+ SENSITIVE = []
1504
+ include Aws::Structure
1505
+ end
1506
+
1372
1507
  # Details and metadata for a group.
1373
1508
  #
1374
1509
  # @!attribute [rw] group_name
@@ -1496,6 +1631,75 @@ module Aws::XRay
1496
1631
  include Aws::Structure
1497
1632
  end
1498
1633
 
1634
+ # Rule used to determine the server-side sampling rate for spans
1635
+ # ingested through the CloudWatchLogs destination and indexed by X-Ray.
1636
+ #
1637
+ # @!attribute [rw] name
1638
+ # The name of the indexing rule.
1639
+ # @return [String]
1640
+ #
1641
+ # @!attribute [rw] modified_at
1642
+ # Displays when the rule was last modified, in Unix time seconds.
1643
+ # @return [Time]
1644
+ #
1645
+ # @!attribute [rw] rule
1646
+ # The indexing rule.
1647
+ # @return [Types::IndexingRuleValue]
1648
+ #
1649
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/IndexingRule AWS API Documentation
1650
+ #
1651
+ class IndexingRule < Struct.new(
1652
+ :name,
1653
+ :modified_at,
1654
+ :rule)
1655
+ SENSITIVE = []
1656
+ include Aws::Structure
1657
+ end
1658
+
1659
+ # The indexing rule configuration.
1660
+ #
1661
+ # @note IndexingRuleValue is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of IndexingRuleValue corresponding to the set member.
1662
+ #
1663
+ # @!attribute [rw] probabilistic
1664
+ # Indexing rule configuration that is used to probabilistically sample
1665
+ # traceIds.
1666
+ # @return [Types::ProbabilisticRuleValue]
1667
+ #
1668
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/IndexingRuleValue AWS API Documentation
1669
+ #
1670
+ class IndexingRuleValue < Struct.new(
1671
+ :probabilistic,
1672
+ :unknown)
1673
+ SENSITIVE = []
1674
+ include Aws::Structure
1675
+ include Aws::Structure::Union
1676
+
1677
+ class Probabilistic < IndexingRuleValue; end
1678
+ class Unknown < IndexingRuleValue; end
1679
+ end
1680
+
1681
+ # Update to an indexing rule.
1682
+ #
1683
+ # @note IndexingRuleValueUpdate is a union - when making an API calls you must set exactly one of the members.
1684
+ #
1685
+ # @!attribute [rw] probabilistic
1686
+ # Indexing rule configuration that is used to probabilistically sample
1687
+ # traceIds.
1688
+ # @return [Types::ProbabilisticRuleValueUpdate]
1689
+ #
1690
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/IndexingRuleValueUpdate AWS API Documentation
1691
+ #
1692
+ class IndexingRuleValueUpdate < Struct.new(
1693
+ :probabilistic,
1694
+ :unknown)
1695
+ SENSITIVE = []
1696
+ include Aws::Structure
1697
+ include Aws::Structure::Union
1698
+
1699
+ class Probabilistic < IndexingRuleValueUpdate; end
1700
+ class Unknown < IndexingRuleValueUpdate; end
1701
+ end
1702
+
1499
1703
  # When fault rates go outside of the expected range, X-Ray creates an
1500
1704
  # insight. Insights tracks emergent issues within your applications.
1501
1705
  #
@@ -1858,6 +2062,57 @@ module Aws::XRay
1858
2062
  include Aws::Structure
1859
2063
  end
1860
2064
 
2065
+ # @!attribute [rw] retrieval_token
2066
+ # Retrieval token.
2067
+ # @return [String]
2068
+ #
2069
+ # @!attribute [rw] trace_format
2070
+ # Format of the requested traces.
2071
+ # @return [String]
2072
+ #
2073
+ # @!attribute [rw] next_token
2074
+ # Specify the pagination token returned by a previous request to
2075
+ # retrieve the next page of indexes.
2076
+ # @return [String]
2077
+ #
2078
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/ListRetrievedTracesRequest AWS API Documentation
2079
+ #
2080
+ class ListRetrievedTracesRequest < Struct.new(
2081
+ :retrieval_token,
2082
+ :trace_format,
2083
+ :next_token)
2084
+ SENSITIVE = []
2085
+ include Aws::Structure
2086
+ end
2087
+
2088
+ # @!attribute [rw] retrieval_status
2089
+ # Status of the retrieval.
2090
+ # @return [String]
2091
+ #
2092
+ # @!attribute [rw] trace_format
2093
+ # Format of the requested traces.
2094
+ # @return [String]
2095
+ #
2096
+ # @!attribute [rw] traces
2097
+ # Full traces for the specified requests.
2098
+ # @return [Array<Types::RetrievedTrace>]
2099
+ #
2100
+ # @!attribute [rw] next_token
2101
+ # Specify the pagination token returned by a previous request to
2102
+ # retrieve the next page of indexes.
2103
+ # @return [String]
2104
+ #
2105
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/ListRetrievedTracesResult AWS API Documentation
2106
+ #
2107
+ class ListRetrievedTracesResult < Struct.new(
2108
+ :retrieval_status,
2109
+ :trace_format,
2110
+ :traces,
2111
+ :next_token)
2112
+ SENSITIVE = []
2113
+ include Aws::Structure
2114
+ end
2115
+
1861
2116
  # @!attribute [rw] resource_arn
1862
2117
  # The Amazon Resource Number (ARN) of an X-Ray group or sampling rule.
1863
2118
  # @return [String]
@@ -1951,6 +2206,41 @@ module Aws::XRay
1951
2206
  include Aws::Structure
1952
2207
  end
1953
2208
 
2209
+ # The indexing rule configuration for probabilistic sampling.
2210
+ #
2211
+ # @!attribute [rw] desired_sampling_percentage
2212
+ # Configured sampling percentage of traceIds. Note that sampling can
2213
+ # be subject to limits to ensure completeness of data.
2214
+ # @return [Float]
2215
+ #
2216
+ # @!attribute [rw] actual_sampling_percentage
2217
+ # Applied sampling percentage of traceIds.
2218
+ # @return [Float]
2219
+ #
2220
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/ProbabilisticRuleValue AWS API Documentation
2221
+ #
2222
+ class ProbabilisticRuleValue < Struct.new(
2223
+ :desired_sampling_percentage,
2224
+ :actual_sampling_percentage)
2225
+ SENSITIVE = []
2226
+ include Aws::Structure
2227
+ end
2228
+
2229
+ # Update to the indexing rule configuration for probabilistic sampling.
2230
+ #
2231
+ # @!attribute [rw] desired_sampling_percentage
2232
+ # Configured sampling percentage of traceIds. Note that sampling can
2233
+ # be subject to limits to ensure completeness of data.
2234
+ # @return [Float]
2235
+ #
2236
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/ProbabilisticRuleValueUpdate AWS API Documentation
2237
+ #
2238
+ class ProbabilisticRuleValueUpdate < Struct.new(
2239
+ :desired_sampling_percentage)
2240
+ SENSITIVE = []
2241
+ include Aws::Structure
2242
+ end
2243
+
1954
2244
  # @!attribute [rw] key_id
1955
2245
  # An Amazon Web Services KMS key in one of the following formats:
1956
2246
  #
@@ -2282,6 +2572,54 @@ module Aws::XRay
2282
2572
  include Aws::Structure
2283
2573
  end
2284
2574
 
2575
+ # Retrieved information about an application that processed requests,
2576
+ # users that made requests, or downstream services, resources, and
2577
+ # applications that an application used.
2578
+ #
2579
+ # @!attribute [rw] service
2580
+ # Information about an application that processed requests, users that
2581
+ # made requests, or downstream services, resources, and applications
2582
+ # that an application used.
2583
+ # @return [Types::Service]
2584
+ #
2585
+ # @!attribute [rw] links
2586
+ # Relation between two 2 services.
2587
+ # @return [Array<Types::GraphLink>]
2588
+ #
2589
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/RetrievedService AWS API Documentation
2590
+ #
2591
+ class RetrievedService < Struct.new(
2592
+ :service,
2593
+ :links)
2594
+ SENSITIVE = []
2595
+ include Aws::Structure
2596
+ end
2597
+
2598
+ # Retrieved collection of spans with matching trace IDs.
2599
+ #
2600
+ # @!attribute [rw] id
2601
+ # The unique identifier for the span.
2602
+ # @return [String]
2603
+ #
2604
+ # @!attribute [rw] duration
2605
+ # The length of time in seconds between the start time of the root
2606
+ # span and the end time of the last span that completed.
2607
+ # @return [Float]
2608
+ #
2609
+ # @!attribute [rw] spans
2610
+ # Spans that comprise the trace.
2611
+ # @return [Array<Types::Span>]
2612
+ #
2613
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/RetrievedTrace AWS API Documentation
2614
+ #
2615
+ class RetrievedTrace < Struct.new(
2616
+ :id,
2617
+ :duration,
2618
+ :spans)
2619
+ SENSITIVE = []
2620
+ include Aws::Structure
2621
+ end
2622
+
2285
2623
  # The exception associated with a root cause.
2286
2624
  #
2287
2625
  # @!attribute [rw] name
@@ -2654,13 +2992,13 @@ module Aws::XRay
2654
2992
  # it.
2655
2993
  #
2656
2994
  # For the full segment document schema, see [Amazon Web Services X-Ray
2657
- # Segment Documents][2] in the *Amazon Web Services X-Ray Developer
2995
+ # segment documents][2] in the *Amazon Web Services X-Ray Developer
2658
2996
  # Guide*.
2659
2997
  #
2660
2998
  #
2661
2999
  #
2662
3000
  # [1]: https://docs.aws.amazon.com/xray/latest/api/API_PutTraceSegments.html
2663
- # [2]: https://docs.aws.amazon.com/xray/latest/devguide/xray-api-segmentdocuments.html
3001
+ # [2]: https://docs.aws.amazon.com/xray/latest/devguide/aws-xray-interface-api.html#xray-api-segmentdocuments
2664
3002
  #
2665
3003
  # @!attribute [rw] id
2666
3004
  # The segment's ID.
@@ -2831,6 +3169,66 @@ module Aws::XRay
2831
3169
  include Aws::Structure
2832
3170
  end
2833
3171
 
3172
+ # A span from a trace that has been ingested by the X-Ray service. A
3173
+ # span represents a unit of work or an operation performed by a service.
3174
+ #
3175
+ # @!attribute [rw] id
3176
+ # The span ID.
3177
+ # @return [String]
3178
+ #
3179
+ # @!attribute [rw] document
3180
+ # The span document.
3181
+ # @return [String]
3182
+ #
3183
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/Span AWS API Documentation
3184
+ #
3185
+ class Span < Struct.new(
3186
+ :id,
3187
+ :document)
3188
+ SENSITIVE = []
3189
+ include Aws::Structure
3190
+ end
3191
+
3192
+ # @!attribute [rw] trace_ids
3193
+ # Specify the trace IDs of the traces to be retrieved.
3194
+ # @return [Array<String>]
3195
+ #
3196
+ # @!attribute [rw] start_time
3197
+ # The start of the time range to retrieve traces. The range is
3198
+ # inclusive, so the specified start time is included in the query.
3199
+ # Specified as epoch time, the number of seconds since January 1,
3200
+ # 1970, 00:00:00 UTC.
3201
+ # @return [Time]
3202
+ #
3203
+ # @!attribute [rw] end_time
3204
+ # The end of the time range to retrieve traces. The range is
3205
+ # inclusive, so the specified end time is included in the query.
3206
+ # Specified as epoch time, the number of seconds since January 1,
3207
+ # 1970, 00:00:00 UTC.
3208
+ # @return [Time]
3209
+ #
3210
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/StartTraceRetrievalRequest AWS API Documentation
3211
+ #
3212
+ class StartTraceRetrievalRequest < Struct.new(
3213
+ :trace_ids,
3214
+ :start_time,
3215
+ :end_time)
3216
+ SENSITIVE = []
3217
+ include Aws::Structure
3218
+ end
3219
+
3220
+ # @!attribute [rw] retrieval_token
3221
+ # Retrieval token.
3222
+ # @return [String]
3223
+ #
3224
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/StartTraceRetrievalResult AWS API Documentation
3225
+ #
3226
+ class StartTraceRetrievalResult < Struct.new(
3227
+ :retrieval_token)
3228
+ SENSITIVE = []
3229
+ include Aws::Structure
3230
+ end
3231
+
2834
3232
  # A map that contains tag keys and tag values to attach to an Amazon Web
2835
3233
  # Services X-Ray group or sampling rule. For more information about ways
2836
3234
  # to use tags, see [Tagging Amazon Web Services resources][1] in the
@@ -3322,6 +3720,35 @@ module Aws::XRay
3322
3720
  include Aws::Structure
3323
3721
  end
3324
3722
 
3723
+ # @!attribute [rw] name
3724
+ # Name of the indexing rule to be updated.
3725
+ # @return [String]
3726
+ #
3727
+ # @!attribute [rw] rule
3728
+ # Rule configuration to be updated.
3729
+ # @return [Types::IndexingRuleValueUpdate]
3730
+ #
3731
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/UpdateIndexingRuleRequest AWS API Documentation
3732
+ #
3733
+ class UpdateIndexingRuleRequest < Struct.new(
3734
+ :name,
3735
+ :rule)
3736
+ SENSITIVE = []
3737
+ include Aws::Structure
3738
+ end
3739
+
3740
+ # @!attribute [rw] indexing_rule
3741
+ # Updated indexing rule.
3742
+ # @return [Types::IndexingRule]
3743
+ #
3744
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/UpdateIndexingRuleResult AWS API Documentation
3745
+ #
3746
+ class UpdateIndexingRuleResult < Struct.new(
3747
+ :indexing_rule)
3748
+ SENSITIVE = []
3749
+ include Aws::Structure
3750
+ end
3751
+
3325
3752
  # @!attribute [rw] sampling_rule_update
3326
3753
  # The rule and fields to change.
3327
3754
  # @return [Types::SamplingRuleUpdate]
@@ -3346,6 +3773,35 @@ module Aws::XRay
3346
3773
  include Aws::Structure
3347
3774
  end
3348
3775
 
3776
+ # @!attribute [rw] destination
3777
+ # The configured destination of trace segments.
3778
+ # @return [String]
3779
+ #
3780
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/UpdateTraceSegmentDestinationRequest AWS API Documentation
3781
+ #
3782
+ class UpdateTraceSegmentDestinationRequest < Struct.new(
3783
+ :destination)
3784
+ SENSITIVE = []
3785
+ include Aws::Structure
3786
+ end
3787
+
3788
+ # @!attribute [rw] destination
3789
+ # The destination of the trace segments.
3790
+ # @return [String]
3791
+ #
3792
+ # @!attribute [rw] status
3793
+ # The status of the update.
3794
+ # @return [String]
3795
+ #
3796
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/UpdateTraceSegmentDestinationResult AWS API Documentation
3797
+ #
3798
+ class UpdateTraceSegmentDestinationResult < Struct.new(
3799
+ :destination,
3800
+ :status)
3801
+ SENSITIVE = []
3802
+ include Aws::Structure
3803
+ end
3804
+
3349
3805
  # Information about a segment annotation.
3350
3806
  #
3351
3807
  # @!attribute [rw] annotation_value
data/lib/aws-sdk-xray.rb CHANGED
@@ -54,7 +54,7 @@ module Aws::XRay
54
54
  autoload :EndpointProvider, 'aws-sdk-xray/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-xray/endpoints'
56
56
 
57
- GEM_VERSION = '1.76.0'
57
+ GEM_VERSION = '1.78.0'
58
58
 
59
59
  end
60
60