aws-sdk-xray 1.77.0 → 1.79.0

Sign up to get free protection for your applications and to get access to all the features.
data/sig/client.rbs CHANGED
@@ -39,7 +39,9 @@ module Aws
39
39
  ?logger: untyped,
40
40
  ?max_attempts: Integer,
41
41
  ?profile: String,
42
+ ?request_checksum_calculation: String,
42
43
  ?request_min_compression_size_bytes: Integer,
44
+ ?response_checksum_validation: String,
43
45
  ?retry_backoff: Proc,
44
46
  ?retry_base_delay: Float,
45
47
  ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
@@ -88,6 +90,15 @@ module Aws
88
90
  ) -> _BatchGetTracesResponseSuccess
89
91
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetTracesResponseSuccess
90
92
 
93
+ interface _CancelTraceRetrievalResponseSuccess
94
+ include ::Seahorse::Client::_ResponseSuccess[Types::CancelTraceRetrievalResult]
95
+ end
96
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/XRay/Client.html#cancel_trace_retrieval-instance_method
97
+ def cancel_trace_retrieval: (
98
+ retrieval_token: ::String
99
+ ) -> _CancelTraceRetrievalResponseSuccess
100
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CancelTraceRetrievalResponseSuccess
101
+
91
102
  interface _CreateGroupResponseSuccess
92
103
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateGroupResult]
93
104
  def group: () -> Types::Group
@@ -201,6 +212,17 @@ module Aws
201
212
  ) -> _GetGroupsResponseSuccess
202
213
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetGroupsResponseSuccess
203
214
 
215
+ interface _GetIndexingRulesResponseSuccess
216
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetIndexingRulesResult]
217
+ def indexing_rules: () -> ::Array[Types::IndexingRule]
218
+ def next_token: () -> ::String
219
+ end
220
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/XRay/Client.html#get_indexing_rules-instance_method
221
+ def get_indexing_rules: (
222
+ ?next_token: ::String
223
+ ) -> _GetIndexingRulesResponseSuccess
224
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetIndexingRulesResponseSuccess
225
+
204
226
  interface _GetInsightResponseSuccess
205
227
  include ::Seahorse::Client::_ResponseSuccess[Types::GetInsightResult]
206
228
  def insight: () -> Types::Insight
@@ -260,6 +282,19 @@ module Aws
260
282
  ) -> _GetInsightSummariesResponseSuccess
261
283
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetInsightSummariesResponseSuccess
262
284
 
285
+ interface _GetRetrievedTracesGraphResponseSuccess
286
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetRetrievedTracesGraphResult]
287
+ def retrieval_status: () -> ("SCHEDULED" | "RUNNING" | "COMPLETE" | "FAILED" | "CANCELLED" | "TIMEOUT")
288
+ def services: () -> ::Array[Types::RetrievedService]
289
+ def next_token: () -> ::String
290
+ end
291
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/XRay/Client.html#get_retrieved_traces_graph-instance_method
292
+ def get_retrieved_traces_graph: (
293
+ retrieval_token: ::String,
294
+ ?next_token: ::String
295
+ ) -> _GetRetrievedTracesGraphResponseSuccess
296
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetRetrievedTracesGraphResponseSuccess
297
+
263
298
  interface _GetSamplingRulesResponseSuccess
264
299
  include ::Seahorse::Client::_ResponseSuccess[Types::GetSamplingRulesResult]
265
300
  def sampling_rule_records: () -> ::Array[Types::SamplingRuleRecord]
@@ -352,6 +387,16 @@ module Aws
352
387
  ) -> _GetTraceGraphResponseSuccess
353
388
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTraceGraphResponseSuccess
354
389
 
390
+ interface _GetTraceSegmentDestinationResponseSuccess
391
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetTraceSegmentDestinationResult]
392
+ def destination: () -> ("XRay" | "CloudWatchLogs")
393
+ def status: () -> ("PENDING" | "ACTIVE")
394
+ end
395
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/XRay/Client.html#get_trace_segment_destination-instance_method
396
+ def get_trace_segment_destination: (
397
+ ) -> _GetTraceSegmentDestinationResponseSuccess
398
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTraceSegmentDestinationResponseSuccess
399
+
355
400
  interface _GetTraceSummariesResponseSuccess
356
401
  include ::Seahorse::Client::_ResponseSuccess[Types::GetTraceSummariesResult]
357
402
  def trace_summaries: () -> ::Array[Types::TraceSummary]
@@ -385,6 +430,21 @@ module Aws
385
430
  ) -> _ListResourcePoliciesResponseSuccess
386
431
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListResourcePoliciesResponseSuccess
387
432
 
433
+ interface _ListRetrievedTracesResponseSuccess
434
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListRetrievedTracesResult]
435
+ def retrieval_status: () -> ("SCHEDULED" | "RUNNING" | "COMPLETE" | "FAILED" | "CANCELLED" | "TIMEOUT")
436
+ def trace_format: () -> ("XRAY" | "OTEL")
437
+ def traces: () -> ::Array[Types::RetrievedTrace]
438
+ def next_token: () -> ::String
439
+ end
440
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/XRay/Client.html#list_retrieved_traces-instance_method
441
+ def list_retrieved_traces: (
442
+ retrieval_token: ::String,
443
+ ?trace_format: ("XRAY" | "OTEL"),
444
+ ?next_token: ::String
445
+ ) -> _ListRetrievedTracesResponseSuccess
446
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRetrievedTracesResponseSuccess
447
+
388
448
  interface _ListTagsForResourceResponseSuccess
389
449
  include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
390
450
  def tags: () -> ::Array[Types::Tag]
@@ -459,6 +519,18 @@ module Aws
459
519
  ) -> _PutTraceSegmentsResponseSuccess
460
520
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutTraceSegmentsResponseSuccess
461
521
 
522
+ interface _StartTraceRetrievalResponseSuccess
523
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartTraceRetrievalResult]
524
+ def retrieval_token: () -> ::String
525
+ end
526
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/XRay/Client.html#start_trace_retrieval-instance_method
527
+ def start_trace_retrieval: (
528
+ trace_ids: Array[::String],
529
+ start_time: ::Time,
530
+ end_time: ::Time
531
+ ) -> _StartTraceRetrievalResponseSuccess
532
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartTraceRetrievalResponseSuccess
533
+
462
534
  interface _TagResourceResponseSuccess
463
535
  include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
464
536
  end
@@ -500,6 +572,21 @@ module Aws
500
572
  ) -> _UpdateGroupResponseSuccess
501
573
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateGroupResponseSuccess
502
574
 
575
+ interface _UpdateIndexingRuleResponseSuccess
576
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateIndexingRuleResult]
577
+ def indexing_rule: () -> Types::IndexingRule
578
+ end
579
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/XRay/Client.html#update_indexing_rule-instance_method
580
+ def update_indexing_rule: (
581
+ name: ::String,
582
+ rule: {
583
+ probabilistic: {
584
+ desired_sampling_percentage: ::Float
585
+ }?
586
+ }
587
+ ) -> _UpdateIndexingRuleResponseSuccess
588
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateIndexingRuleResponseSuccess
589
+
503
590
  interface _UpdateSamplingRuleResponseSuccess
504
591
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateSamplingRuleResult]
505
592
  def sampling_rule_record: () -> Types::SamplingRuleRecord
@@ -522,6 +609,17 @@ module Aws
522
609
  }
523
610
  ) -> _UpdateSamplingRuleResponseSuccess
524
611
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateSamplingRuleResponseSuccess
612
+
613
+ interface _UpdateTraceSegmentDestinationResponseSuccess
614
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateTraceSegmentDestinationResult]
615
+ def destination: () -> ("XRay" | "CloudWatchLogs")
616
+ def status: () -> ("PENDING" | "ACTIVE")
617
+ end
618
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/XRay/Client.html#update_trace_segment_destination-instance_method
619
+ def update_trace_segment_destination: (
620
+ ?destination: ("XRay" | "CloudWatchLogs")
621
+ ) -> _UpdateTraceSegmentDestinationResponseSuccess
622
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateTraceSegmentDestinationResponseSuccess
525
623
  end
526
624
  end
527
625
  end
data/sig/resource.rbs CHANGED
@@ -39,7 +39,9 @@ module Aws
39
39
  ?logger: untyped,
40
40
  ?max_attempts: Integer,
41
41
  ?profile: String,
42
+ ?request_checksum_calculation: String,
42
43
  ?request_min_compression_size_bytes: Integer,
44
+ ?response_checksum_validation: String,
43
45
  ?retry_backoff: Proc,
44
46
  ?retry_base_delay: Float,
45
47
  ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
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.79.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: 2025-01-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.210.0
22
+ version: 3.216.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.210.0
32
+ version: 3.216.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement