aws-sdk-xray 1.23.0 → 1.24.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 +1 -1
- data/lib/aws-sdk-xray/client.rb +40 -18
- data/lib/aws-sdk-xray/client_api.rb +3 -0
- data/lib/aws-sdk-xray/resource.rb +1 -7
- data/lib/aws-sdk-xray/types.rb +18 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7cb073c5f49c5c8b5b328aa51ecb698f2ffb3768
|
4
|
+
data.tar.gz: 022c880bfb54be7b02a5c688967e8f4df4496d62
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '039257128b9b0521c6498e3cc124b54db572c91281c2a9996c849baaf96689c83ba662b8f9f7aa75e02ac35c2418dc723d4bf50aa133436ac80b7ab44177ae6b'
|
7
|
+
data.tar.gz: c62584feb47bcc3db42761a4b2dcc327a67e1b88e5e48806bae5a25273bec9f252523c572f6b8aeebcd997e59681273d8319857049f703ff3ffaf2f5c645b9d4
|
data/lib/aws-sdk-xray.rb
CHANGED
data/lib/aws-sdk-xray/client.rb
CHANGED
@@ -32,11 +32,11 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:xray)
|
|
32
32
|
module Aws::XRay
|
33
33
|
# An API client for XRay. To construct a client, you need to configure a `:region` and `:credentials`.
|
34
34
|
#
|
35
|
-
#
|
36
|
-
#
|
37
|
-
#
|
38
|
-
#
|
39
|
-
#
|
35
|
+
# client = Aws::XRay::Client.new(
|
36
|
+
# region: region_name,
|
37
|
+
# credentials: credentials,
|
38
|
+
# # ...
|
39
|
+
# )
|
40
40
|
#
|
41
41
|
# For details on configuring region and credentials see
|
42
42
|
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
@@ -229,15 +229,19 @@ module Aws::XRay
|
|
229
229
|
#
|
230
230
|
# @option options [String] :retry_mode ("legacy")
|
231
231
|
# Specifies which retry algorithm to use. Values are:
|
232
|
-
#
|
233
|
-
#
|
234
|
-
#
|
235
|
-
#
|
236
|
-
#
|
237
|
-
#
|
238
|
-
#
|
239
|
-
#
|
240
|
-
#
|
232
|
+
#
|
233
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
234
|
+
# no retry mode is provided.
|
235
|
+
#
|
236
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
237
|
+
# This includes support for retry quotas, which limit the number of
|
238
|
+
# unsuccessful retries a client can make.
|
239
|
+
#
|
240
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
241
|
+
# functionality of `standard` mode along with automatic client side
|
242
|
+
# throttling. This is a provisional mode that may change behavior
|
243
|
+
# in the future.
|
244
|
+
#
|
241
245
|
#
|
242
246
|
# @option options [String] :secret_access_key
|
243
247
|
#
|
@@ -265,8 +269,7 @@ module Aws::XRay
|
|
265
269
|
#
|
266
270
|
# @option options [Integer] :http_read_timeout (60) The default
|
267
271
|
# number of seconds to wait for response data. This value can
|
268
|
-
# safely be set
|
269
|
-
# per-request on the session yielded by {#session_for}.
|
272
|
+
# safely be set per-request on the session.
|
270
273
|
#
|
271
274
|
# @option options [Float] :http_idle_timeout (5) The number of
|
272
275
|
# seconds a connection is allowed to sit idle before it is
|
@@ -278,7 +281,7 @@ module Aws::XRay
|
|
278
281
|
# request body. This option has no effect unless the request has
|
279
282
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
280
283
|
# disables this behaviour. This value can safely be set per
|
281
|
-
# request on the session
|
284
|
+
# request on the session.
|
282
285
|
#
|
283
286
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
284
287
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -321,6 +324,8 @@ module Aws::XRay
|
|
321
324
|
# * {Types::BatchGetTracesResult#unprocessed_trace_ids #unprocessed_trace_ids} => Array<String>
|
322
325
|
# * {Types::BatchGetTracesResult#next_token #next_token} => String
|
323
326
|
#
|
327
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
328
|
+
#
|
324
329
|
# @example Request syntax with placeholder values
|
325
330
|
#
|
326
331
|
# resp = client.batch_get_traces({
|
@@ -590,6 +595,8 @@ module Aws::XRay
|
|
590
595
|
# * {Types::GetGroupsResult#groups #groups} => Array<Types::GroupSummary>
|
591
596
|
# * {Types::GetGroupsResult#next_token #next_token} => String
|
592
597
|
#
|
598
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
599
|
+
#
|
593
600
|
# @example Request syntax with placeholder values
|
594
601
|
#
|
595
602
|
# resp = client.get_groups({
|
@@ -623,6 +630,8 @@ module Aws::XRay
|
|
623
630
|
# * {Types::GetSamplingRulesResult#sampling_rule_records #sampling_rule_records} => Array<Types::SamplingRuleRecord>
|
624
631
|
# * {Types::GetSamplingRulesResult#next_token #next_token} => String
|
625
632
|
#
|
633
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
634
|
+
#
|
626
635
|
# @example Request syntax with placeholder values
|
627
636
|
#
|
628
637
|
# resp = client.get_sampling_rules({
|
@@ -670,6 +679,8 @@ module Aws::XRay
|
|
670
679
|
# * {Types::GetSamplingStatisticSummariesResult#sampling_statistic_summaries #sampling_statistic_summaries} => Array<Types::SamplingStatisticSummary>
|
671
680
|
# * {Types::GetSamplingStatisticSummariesResult#next_token #next_token} => String
|
672
681
|
#
|
682
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
683
|
+
#
|
673
684
|
# @example Request syntax with placeholder values
|
674
685
|
#
|
675
686
|
# resp = client.get_sampling_statistic_summaries({
|
@@ -779,6 +790,8 @@ module Aws::XRay
|
|
779
790
|
# * {Types::GetServiceGraphResult#contains_old_group_versions #contains_old_group_versions} => Boolean
|
780
791
|
# * {Types::GetServiceGraphResult#next_token #next_token} => String
|
781
792
|
#
|
793
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
794
|
+
#
|
782
795
|
# @example Request syntax with placeholder values
|
783
796
|
#
|
784
797
|
# resp = client.get_service_graph({
|
@@ -883,6 +896,8 @@ module Aws::XRay
|
|
883
896
|
# * {Types::GetTimeSeriesServiceStatisticsResult#contains_old_group_versions #contains_old_group_versions} => Boolean
|
884
897
|
# * {Types::GetTimeSeriesServiceStatisticsResult#next_token #next_token} => String
|
885
898
|
#
|
899
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
900
|
+
#
|
886
901
|
# @example Request syntax with placeholder values
|
887
902
|
#
|
888
903
|
# resp = client.get_time_series_service_statistics({
|
@@ -943,6 +958,8 @@ module Aws::XRay
|
|
943
958
|
# * {Types::GetTraceGraphResult#services #services} => Array<Types::Service>
|
944
959
|
# * {Types::GetTraceGraphResult#next_token #next_token} => String
|
945
960
|
#
|
961
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
962
|
+
#
|
946
963
|
# @example Request syntax with placeholder values
|
947
964
|
#
|
948
965
|
# resp = client.get_trace_graph({
|
@@ -1064,6 +1081,8 @@ module Aws::XRay
|
|
1064
1081
|
# * {Types::GetTraceSummariesResult#traces_processed_count #traces_processed_count} => Integer
|
1065
1082
|
# * {Types::GetTraceSummariesResult#next_token #next_token} => String
|
1066
1083
|
#
|
1084
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1085
|
+
#
|
1067
1086
|
# @example Request syntax with placeholder values
|
1068
1087
|
#
|
1069
1088
|
# resp = client.get_trace_summaries({
|
@@ -1144,6 +1163,7 @@ module Aws::XRay
|
|
1144
1163
|
# resp.trace_summaries[0].fault_root_causes[0].services[0].entity_path[0].exceptions[0].message #=> String
|
1145
1164
|
# resp.trace_summaries[0].fault_root_causes[0].services[0].entity_path[0].remote #=> Boolean
|
1146
1165
|
# resp.trace_summaries[0].fault_root_causes[0].services[0].inferred #=> Boolean
|
1166
|
+
# resp.trace_summaries[0].fault_root_causes[0].client_impacting #=> Boolean
|
1147
1167
|
# resp.trace_summaries[0].error_root_causes #=> Array
|
1148
1168
|
# resp.trace_summaries[0].error_root_causes[0].services #=> Array
|
1149
1169
|
# resp.trace_summaries[0].error_root_causes[0].services[0].name #=> String
|
@@ -1158,6 +1178,7 @@ module Aws::XRay
|
|
1158
1178
|
# resp.trace_summaries[0].error_root_causes[0].services[0].entity_path[0].exceptions[0].message #=> String
|
1159
1179
|
# resp.trace_summaries[0].error_root_causes[0].services[0].entity_path[0].remote #=> Boolean
|
1160
1180
|
# resp.trace_summaries[0].error_root_causes[0].services[0].inferred #=> Boolean
|
1181
|
+
# resp.trace_summaries[0].error_root_causes[0].client_impacting #=> Boolean
|
1161
1182
|
# resp.trace_summaries[0].response_time_root_causes #=> Array
|
1162
1183
|
# resp.trace_summaries[0].response_time_root_causes[0].services #=> Array
|
1163
1184
|
# resp.trace_summaries[0].response_time_root_causes[0].services[0].name #=> String
|
@@ -1170,6 +1191,7 @@ module Aws::XRay
|
|
1170
1191
|
# resp.trace_summaries[0].response_time_root_causes[0].services[0].entity_path[0].coverage #=> Float
|
1171
1192
|
# resp.trace_summaries[0].response_time_root_causes[0].services[0].entity_path[0].remote #=> Boolean
|
1172
1193
|
# resp.trace_summaries[0].response_time_root_causes[0].services[0].inferred #=> Boolean
|
1194
|
+
# resp.trace_summaries[0].response_time_root_causes[0].client_impacting #=> Boolean
|
1173
1195
|
# resp.trace_summaries[0].revision #=> Integer
|
1174
1196
|
# resp.trace_summaries[0].matched_event_time #=> Time
|
1175
1197
|
# resp.approximate_time #=> Time
|
@@ -1472,7 +1494,7 @@ module Aws::XRay
|
|
1472
1494
|
params: params,
|
1473
1495
|
config: config)
|
1474
1496
|
context[:gem_name] = 'aws-sdk-xray'
|
1475
|
-
context[:gem_version] = '1.
|
1497
|
+
context[:gem_version] = '1.24.0'
|
1476
1498
|
Seahorse::Client::Request.new(handlers, context)
|
1477
1499
|
end
|
1478
1500
|
|
@@ -271,6 +271,7 @@ module Aws::XRay
|
|
271
271
|
EncryptionConfig.struct_class = Types::EncryptionConfig
|
272
272
|
|
273
273
|
ErrorRootCause.add_member(:services, Shapes::ShapeRef.new(shape: ErrorRootCauseServices, location_name: "Services"))
|
274
|
+
ErrorRootCause.add_member(:client_impacting, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "ClientImpacting"))
|
274
275
|
ErrorRootCause.struct_class = Types::ErrorRootCause
|
275
276
|
|
276
277
|
ErrorRootCauseEntity.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
|
@@ -298,6 +299,7 @@ module Aws::XRay
|
|
298
299
|
ErrorStatistics.struct_class = Types::ErrorStatistics
|
299
300
|
|
300
301
|
FaultRootCause.add_member(:services, Shapes::ShapeRef.new(shape: FaultRootCauseServices, location_name: "Services"))
|
302
|
+
FaultRootCause.add_member(:client_impacting, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "ClientImpacting"))
|
301
303
|
FaultRootCause.struct_class = Types::FaultRootCause
|
302
304
|
|
303
305
|
FaultRootCauseEntity.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
|
@@ -471,6 +473,7 @@ module Aws::XRay
|
|
471
473
|
ResourceARNDetail.struct_class = Types::ResourceARNDetail
|
472
474
|
|
473
475
|
ResponseTimeRootCause.add_member(:services, Shapes::ShapeRef.new(shape: ResponseTimeRootCauseServices, location_name: "Services"))
|
476
|
+
ResponseTimeRootCause.add_member(:client_impacting, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "ClientImpacting"))
|
474
477
|
ResponseTimeRootCause.struct_class = Types::ResponseTimeRootCause
|
475
478
|
|
476
479
|
ResponseTimeRootCauseEntity.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
|
@@ -6,13 +6,7 @@
|
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
8
|
module Aws::XRay
|
9
|
-
|
10
|
-
# To create a resource object:
|
11
|
-
# resource = Aws::XRay::Resource.new(region: 'us-west-2')
|
12
|
-
# You can supply a client object with custom configuration that will be used for all resource operations.
|
13
|
-
# If you do not pass +:client+, a default client will be constructed.
|
14
|
-
# client = Aws::XRay::Client.new(region: 'us-west-2')
|
15
|
-
# resource = Aws::XRay::Resource.new(client: client)
|
9
|
+
|
16
10
|
class Resource
|
17
11
|
|
18
12
|
# @param options ({})
|
data/lib/aws-sdk-xray/types.rb
CHANGED
@@ -412,10 +412,15 @@ module Aws::XRay
|
|
412
412
|
# segment and it contains a name, account ID, type, and inferred flag.
|
413
413
|
# @return [Array<Types::ErrorRootCauseService>]
|
414
414
|
#
|
415
|
+
# @!attribute [rw] client_impacting
|
416
|
+
# A flag that denotes that the root cause impacts the trace client.
|
417
|
+
# @return [Boolean]
|
418
|
+
#
|
415
419
|
# @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/ErrorRootCause AWS API Documentation
|
416
420
|
#
|
417
421
|
class ErrorRootCause < Struct.new(
|
418
|
-
:services
|
422
|
+
:services,
|
423
|
+
:client_impacting)
|
419
424
|
include Aws::Structure
|
420
425
|
end
|
421
426
|
|
@@ -517,10 +522,15 @@ module Aws::XRay
|
|
517
522
|
# it contains a name, account ID, type, and inferred flag.
|
518
523
|
# @return [Array<Types::FaultRootCauseService>]
|
519
524
|
#
|
525
|
+
# @!attribute [rw] client_impacting
|
526
|
+
# A flag that denotes that the root cause impacts the trace client.
|
527
|
+
# @return [Boolean]
|
528
|
+
#
|
520
529
|
# @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/FaultRootCause AWS API Documentation
|
521
530
|
#
|
522
531
|
class FaultRootCause < Struct.new(
|
523
|
-
:services
|
532
|
+
:services,
|
533
|
+
:client_impacting)
|
524
534
|
include Aws::Structure
|
525
535
|
end
|
526
536
|
|
@@ -1384,10 +1394,15 @@ module Aws::XRay
|
|
1384
1394
|
# contains a name, account ID, type, and inferred flag.
|
1385
1395
|
# @return [Array<Types::ResponseTimeRootCauseService>]
|
1386
1396
|
#
|
1397
|
+
# @!attribute [rw] client_impacting
|
1398
|
+
# A flag that denotes that the root cause impacts the trace client.
|
1399
|
+
# @return [Boolean]
|
1400
|
+
#
|
1387
1401
|
# @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/ResponseTimeRootCause AWS API Documentation
|
1388
1402
|
#
|
1389
1403
|
class ResponseTimeRootCause < Struct.new(
|
1390
|
-
:services
|
1404
|
+
:services,
|
1405
|
+
:client_impacting)
|
1391
1406
|
include Aws::Structure
|
1392
1407
|
end
|
1393
1408
|
|
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.
|
4
|
+
version: 1.24.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: 2020-03-
|
11
|
+
date: 2020-03-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|