aws-sdk-xray 1.77.0 → 1.78.0

Sign up to get free protection for your applications and to get access to all the features.
data/sig/client.rbs CHANGED
@@ -88,6 +88,15 @@ module Aws
88
88
  ) -> _BatchGetTracesResponseSuccess
89
89
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetTracesResponseSuccess
90
90
 
91
+ interface _CancelTraceRetrievalResponseSuccess
92
+ include ::Seahorse::Client::_ResponseSuccess[Types::CancelTraceRetrievalResult]
93
+ end
94
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/XRay/Client.html#cancel_trace_retrieval-instance_method
95
+ def cancel_trace_retrieval: (
96
+ retrieval_token: ::String
97
+ ) -> _CancelTraceRetrievalResponseSuccess
98
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CancelTraceRetrievalResponseSuccess
99
+
91
100
  interface _CreateGroupResponseSuccess
92
101
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateGroupResult]
93
102
  def group: () -> Types::Group
@@ -201,6 +210,17 @@ module Aws
201
210
  ) -> _GetGroupsResponseSuccess
202
211
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetGroupsResponseSuccess
203
212
 
213
+ interface _GetIndexingRulesResponseSuccess
214
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetIndexingRulesResult]
215
+ def indexing_rules: () -> ::Array[Types::IndexingRule]
216
+ def next_token: () -> ::String
217
+ end
218
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/XRay/Client.html#get_indexing_rules-instance_method
219
+ def get_indexing_rules: (
220
+ ?next_token: ::String
221
+ ) -> _GetIndexingRulesResponseSuccess
222
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetIndexingRulesResponseSuccess
223
+
204
224
  interface _GetInsightResponseSuccess
205
225
  include ::Seahorse::Client::_ResponseSuccess[Types::GetInsightResult]
206
226
  def insight: () -> Types::Insight
@@ -260,6 +280,19 @@ module Aws
260
280
  ) -> _GetInsightSummariesResponseSuccess
261
281
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetInsightSummariesResponseSuccess
262
282
 
283
+ interface _GetRetrievedTracesGraphResponseSuccess
284
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetRetrievedTracesGraphResult]
285
+ def retrieval_status: () -> ("SCHEDULED" | "RUNNING" | "COMPLETE" | "FAILED" | "CANCELLED" | "TIMEOUT")
286
+ def services: () -> ::Array[Types::RetrievedService]
287
+ def next_token: () -> ::String
288
+ end
289
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/XRay/Client.html#get_retrieved_traces_graph-instance_method
290
+ def get_retrieved_traces_graph: (
291
+ retrieval_token: ::String,
292
+ ?next_token: ::String
293
+ ) -> _GetRetrievedTracesGraphResponseSuccess
294
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetRetrievedTracesGraphResponseSuccess
295
+
263
296
  interface _GetSamplingRulesResponseSuccess
264
297
  include ::Seahorse::Client::_ResponseSuccess[Types::GetSamplingRulesResult]
265
298
  def sampling_rule_records: () -> ::Array[Types::SamplingRuleRecord]
@@ -352,6 +385,16 @@ module Aws
352
385
  ) -> _GetTraceGraphResponseSuccess
353
386
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTraceGraphResponseSuccess
354
387
 
388
+ interface _GetTraceSegmentDestinationResponseSuccess
389
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetTraceSegmentDestinationResult]
390
+ def destination: () -> ("XRay" | "CloudWatchLogs")
391
+ def status: () -> ("PENDING" | "ACTIVE")
392
+ end
393
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/XRay/Client.html#get_trace_segment_destination-instance_method
394
+ def get_trace_segment_destination: (
395
+ ) -> _GetTraceSegmentDestinationResponseSuccess
396
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTraceSegmentDestinationResponseSuccess
397
+
355
398
  interface _GetTraceSummariesResponseSuccess
356
399
  include ::Seahorse::Client::_ResponseSuccess[Types::GetTraceSummariesResult]
357
400
  def trace_summaries: () -> ::Array[Types::TraceSummary]
@@ -385,6 +428,21 @@ module Aws
385
428
  ) -> _ListResourcePoliciesResponseSuccess
386
429
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListResourcePoliciesResponseSuccess
387
430
 
431
+ interface _ListRetrievedTracesResponseSuccess
432
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListRetrievedTracesResult]
433
+ def retrieval_status: () -> ("SCHEDULED" | "RUNNING" | "COMPLETE" | "FAILED" | "CANCELLED" | "TIMEOUT")
434
+ def trace_format: () -> ("XRAY" | "OTEL")
435
+ def traces: () -> ::Array[Types::RetrievedTrace]
436
+ def next_token: () -> ::String
437
+ end
438
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/XRay/Client.html#list_retrieved_traces-instance_method
439
+ def list_retrieved_traces: (
440
+ retrieval_token: ::String,
441
+ ?trace_format: ("XRAY" | "OTEL"),
442
+ ?next_token: ::String
443
+ ) -> _ListRetrievedTracesResponseSuccess
444
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRetrievedTracesResponseSuccess
445
+
388
446
  interface _ListTagsForResourceResponseSuccess
389
447
  include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
390
448
  def tags: () -> ::Array[Types::Tag]
@@ -459,6 +517,18 @@ module Aws
459
517
  ) -> _PutTraceSegmentsResponseSuccess
460
518
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutTraceSegmentsResponseSuccess
461
519
 
520
+ interface _StartTraceRetrievalResponseSuccess
521
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartTraceRetrievalResult]
522
+ def retrieval_token: () -> ::String
523
+ end
524
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/XRay/Client.html#start_trace_retrieval-instance_method
525
+ def start_trace_retrieval: (
526
+ trace_ids: Array[::String],
527
+ start_time: ::Time,
528
+ end_time: ::Time
529
+ ) -> _StartTraceRetrievalResponseSuccess
530
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartTraceRetrievalResponseSuccess
531
+
462
532
  interface _TagResourceResponseSuccess
463
533
  include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
464
534
  end
@@ -500,6 +570,21 @@ module Aws
500
570
  ) -> _UpdateGroupResponseSuccess
501
571
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateGroupResponseSuccess
502
572
 
573
+ interface _UpdateIndexingRuleResponseSuccess
574
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateIndexingRuleResult]
575
+ def indexing_rule: () -> Types::IndexingRule
576
+ end
577
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/XRay/Client.html#update_indexing_rule-instance_method
578
+ def update_indexing_rule: (
579
+ name: ::String,
580
+ rule: {
581
+ probabilistic: {
582
+ desired_sampling_percentage: ::Float
583
+ }?
584
+ }
585
+ ) -> _UpdateIndexingRuleResponseSuccess
586
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateIndexingRuleResponseSuccess
587
+
503
588
  interface _UpdateSamplingRuleResponseSuccess
504
589
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateSamplingRuleResult]
505
590
  def sampling_rule_record: () -> Types::SamplingRuleRecord
@@ -522,6 +607,17 @@ module Aws
522
607
  }
523
608
  ) -> _UpdateSamplingRuleResponseSuccess
524
609
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateSamplingRuleResponseSuccess
610
+
611
+ interface _UpdateTraceSegmentDestinationResponseSuccess
612
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateTraceSegmentDestinationResult]
613
+ def destination: () -> ("XRay" | "CloudWatchLogs")
614
+ def status: () -> ("PENDING" | "ACTIVE")
615
+ end
616
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/XRay/Client.html#update_trace_segment_destination-instance_method
617
+ def update_trace_segment_destination: (
618
+ ?destination: ("XRay" | "CloudWatchLogs")
619
+ ) -> _UpdateTraceSegmentDestinationResponseSuccess
620
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateTraceSegmentDestinationResponseSuccess
525
621
  end
526
622
  end
527
623
  end
data/sig/types.rbs CHANGED
@@ -55,6 +55,14 @@ module Aws::XRay
55
55
  SENSITIVE: []
56
56
  end
57
57
 
58
+ class CancelTraceRetrievalRequest
59
+ attr_accessor retrieval_token: ::String
60
+ SENSITIVE: []
61
+ end
62
+
63
+ class CancelTraceRetrievalResult < Aws::EmptyStructure
64
+ end
65
+
58
66
  class CreateGroupRequest
59
67
  attr_accessor group_name: ::String
60
68
  attr_accessor filter_expression: ::String
@@ -231,6 +239,17 @@ module Aws::XRay
231
239
  SENSITIVE: []
232
240
  end
233
241
 
242
+ class GetIndexingRulesRequest
243
+ attr_accessor next_token: ::String
244
+ SENSITIVE: []
245
+ end
246
+
247
+ class GetIndexingRulesResult
248
+ attr_accessor indexing_rules: ::Array[Types::IndexingRule]
249
+ attr_accessor next_token: ::String
250
+ SENSITIVE: []
251
+ end
252
+
234
253
  class GetInsightEventsRequest
235
254
  attr_accessor insight_id: ::String
236
255
  attr_accessor max_results: ::Integer
@@ -290,6 +309,19 @@ module Aws::XRay
290
309
  SENSITIVE: []
291
310
  end
292
311
 
312
+ class GetRetrievedTracesGraphRequest
313
+ attr_accessor retrieval_token: ::String
314
+ attr_accessor next_token: ::String
315
+ SENSITIVE: []
316
+ end
317
+
318
+ class GetRetrievedTracesGraphResult
319
+ attr_accessor retrieval_status: ("SCHEDULED" | "RUNNING" | "COMPLETE" | "FAILED" | "CANCELLED" | "TIMEOUT")
320
+ attr_accessor services: ::Array[Types::RetrievedService]
321
+ attr_accessor next_token: ::String
322
+ SENSITIVE: []
323
+ end
324
+
293
325
  class GetSamplingRulesRequest
294
326
  attr_accessor next_token: ::String
295
327
  SENSITIVE: []
@@ -373,6 +405,15 @@ module Aws::XRay
373
405
  SENSITIVE: []
374
406
  end
375
407
 
408
+ class GetTraceSegmentDestinationRequest < Aws::EmptyStructure
409
+ end
410
+
411
+ class GetTraceSegmentDestinationResult
412
+ attr_accessor destination: ("XRay" | "CloudWatchLogs")
413
+ attr_accessor status: ("PENDING" | "ACTIVE")
414
+ SENSITIVE: []
415
+ end
416
+
376
417
  class GetTraceSummariesRequest
377
418
  attr_accessor start_time: ::Time
378
419
  attr_accessor end_time: ::Time
@@ -392,6 +433,13 @@ module Aws::XRay
392
433
  SENSITIVE: []
393
434
  end
394
435
 
436
+ class GraphLink
437
+ attr_accessor reference_type: ::String
438
+ attr_accessor source_trace_id: ::String
439
+ attr_accessor destination_trace_ids: ::Array[::String]
440
+ SENSITIVE: []
441
+ end
442
+
395
443
  class Group
396
444
  attr_accessor group_name: ::String
397
445
  attr_accessor group_arn: ::String
@@ -423,6 +471,35 @@ module Aws::XRay
423
471
  SENSITIVE: []
424
472
  end
425
473
 
474
+ class IndexingRule
475
+ attr_accessor name: ::String
476
+ attr_accessor modified_at: ::Time
477
+ attr_accessor rule: Types::IndexingRuleValue
478
+ SENSITIVE: []
479
+ end
480
+
481
+ class IndexingRuleValue
482
+ attr_accessor probabilistic: Types::ProbabilisticRuleValue
483
+ attr_accessor unknown: untyped
484
+ SENSITIVE: []
485
+
486
+ class Probabilistic < IndexingRuleValue
487
+ end
488
+ class Unknown < IndexingRuleValue
489
+ end
490
+ end
491
+
492
+ class IndexingRuleValueUpdate
493
+ attr_accessor probabilistic: Types::ProbabilisticRuleValueUpdate
494
+ attr_accessor unknown: untyped
495
+ SENSITIVE: []
496
+
497
+ class Probabilistic < IndexingRuleValueUpdate
498
+ end
499
+ class Unknown < IndexingRuleValueUpdate
500
+ end
501
+ end
502
+
426
503
  class Insight
427
504
  attr_accessor insight_id: ::String
428
505
  attr_accessor group_arn: ::String
@@ -512,6 +589,21 @@ module Aws::XRay
512
589
  SENSITIVE: []
513
590
  end
514
591
 
592
+ class ListRetrievedTracesRequest
593
+ attr_accessor retrieval_token: ::String
594
+ attr_accessor trace_format: ("XRAY" | "OTEL")
595
+ attr_accessor next_token: ::String
596
+ SENSITIVE: []
597
+ end
598
+
599
+ class ListRetrievedTracesResult
600
+ attr_accessor retrieval_status: ("SCHEDULED" | "RUNNING" | "COMPLETE" | "FAILED" | "CANCELLED" | "TIMEOUT")
601
+ attr_accessor trace_format: ("XRAY" | "OTEL")
602
+ attr_accessor traces: ::Array[Types::RetrievedTrace]
603
+ attr_accessor next_token: ::String
604
+ SENSITIVE: []
605
+ end
606
+
515
607
  class ListTagsForResourceRequest
516
608
  attr_accessor resource_arn: ::String
517
609
  attr_accessor next_token: ::String
@@ -544,6 +636,17 @@ module Aws::XRay
544
636
  SENSITIVE: []
545
637
  end
546
638
 
639
+ class ProbabilisticRuleValue
640
+ attr_accessor desired_sampling_percentage: ::Float
641
+ attr_accessor actual_sampling_percentage: ::Float
642
+ SENSITIVE: []
643
+ end
644
+
645
+ class ProbabilisticRuleValueUpdate
646
+ attr_accessor desired_sampling_percentage: ::Float
647
+ SENSITIVE: []
648
+ end
649
+
547
650
  class PutEncryptionConfigRequest
548
651
  attr_accessor key_id: ::String
549
652
  attr_accessor type: ("NONE" | "KMS")
@@ -638,6 +741,19 @@ module Aws::XRay
638
741
  SENSITIVE: []
639
742
  end
640
743
 
744
+ class RetrievedService
745
+ attr_accessor service: Types::Service
746
+ attr_accessor links: ::Array[Types::GraphLink]
747
+ SENSITIVE: []
748
+ end
749
+
750
+ class RetrievedTrace
751
+ attr_accessor id: ::String
752
+ attr_accessor duration: ::Float
753
+ attr_accessor spans: ::Array[Types::Span]
754
+ SENSITIVE: []
755
+ end
756
+
641
757
  class RootCauseException
642
758
  attr_accessor name: ::String
643
759
  attr_accessor message: ::String
@@ -763,6 +879,24 @@ module Aws::XRay
763
879
  SENSITIVE: []
764
880
  end
765
881
 
882
+ class Span
883
+ attr_accessor id: ::String
884
+ attr_accessor document: ::String
885
+ SENSITIVE: []
886
+ end
887
+
888
+ class StartTraceRetrievalRequest
889
+ attr_accessor trace_ids: ::Array[::String]
890
+ attr_accessor start_time: ::Time
891
+ attr_accessor end_time: ::Time
892
+ SENSITIVE: []
893
+ end
894
+
895
+ class StartTraceRetrievalResult
896
+ attr_accessor retrieval_token: ::String
897
+ SENSITIVE: []
898
+ end
899
+
766
900
  class Tag
767
901
  attr_accessor key: ::String
768
902
  attr_accessor value: ::String
@@ -883,6 +1017,17 @@ module Aws::XRay
883
1017
  SENSITIVE: []
884
1018
  end
885
1019
 
1020
+ class UpdateIndexingRuleRequest
1021
+ attr_accessor name: ::String
1022
+ attr_accessor rule: Types::IndexingRuleValueUpdate
1023
+ SENSITIVE: []
1024
+ end
1025
+
1026
+ class UpdateIndexingRuleResult
1027
+ attr_accessor indexing_rule: Types::IndexingRule
1028
+ SENSITIVE: []
1029
+ end
1030
+
886
1031
  class UpdateSamplingRuleRequest
887
1032
  attr_accessor sampling_rule_update: Types::SamplingRuleUpdate
888
1033
  SENSITIVE: []
@@ -893,6 +1038,17 @@ module Aws::XRay
893
1038
  SENSITIVE: []
894
1039
  end
895
1040
 
1041
+ class UpdateTraceSegmentDestinationRequest
1042
+ attr_accessor destination: ("XRay" | "CloudWatchLogs")
1043
+ SENSITIVE: []
1044
+ end
1045
+
1046
+ class UpdateTraceSegmentDestinationResult
1047
+ attr_accessor destination: ("XRay" | "CloudWatchLogs")
1048
+ attr_accessor status: ("PENDING" | "ACTIVE")
1049
+ SENSITIVE: []
1050
+ end
1051
+
896
1052
  class ValueWithServiceIds
897
1053
  attr_accessor annotation_value: Types::AnnotationValue
898
1054
  attr_accessor service_ids: ::Array[Types::ServiceId]
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.77.0
4
+ version: 1.78.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: 2024-10-18 00:00:00.000000000 Z
11
+ date: 2024-11-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core