aws-sdk-xray 1.9.0 → 1.10.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: faa1e676a949d5ef8b479cdf785b9540e3579352
4
- data.tar.gz: ede4b4899ec758291850e442c6327889a110df61
3
+ metadata.gz: 88f15a486e43a93526e34d8cc61bd1ae009aad9a
4
+ data.tar.gz: 2fe28aea7000a5c2a015cecaae02deb02ecec92d
5
5
  SHA512:
6
- metadata.gz: 7388b10e0a481c51ad775fabf404a7ff46123e2beaa6098881b925c70a60bc249cc2d7e093829a5ba420d27ee05f11ee06e0771c80b8c6588da3a80246934923
7
- data.tar.gz: ff194fdc29f15dbb03b3c499e6c94b079e85ab1cd53a7ca4cc196e37a12500c4a1cd7d03363df696617ecae008df4864781d88b4fac61b93e2877c2321c92efd
6
+ metadata.gz: d9ecde9cdda53c862a900f71034ec667b1ee99881c456f3d6e36152e8172a71542571acdbb980666cef11797aa391b54d4ace31416fea3bbbeacd4c3458dca0b
7
+ data.tar.gz: ce70dc8e2cf7b1955381b786cc590374e31f934157dc9bbc4cf0a2ca2b23c326238509dc23f55d42dd1af79b255114359f2e50ee15ce5e8bd577cdd2e881bd62
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-xray/customizations'
42
42
  # @service
43
43
  module Aws::XRay
44
44
 
45
- GEM_VERSION = '1.9.0'
45
+ GEM_VERSION = '1.10.0'
46
46
 
47
47
  end
@@ -656,7 +656,7 @@ module Aws::XRay
656
656
  # The start of the time frame for which to generate a graph.
657
657
  #
658
658
  # @option params [required, Time,DateTime,Date,Integer,String] :end_time
659
- # The end of the time frame for which to generate a graph.
659
+ # The end of the timeframe for which to generate a graph.
660
660
  #
661
661
  # @option params [String] :group_name
662
662
  # The name of a group to generate a graph based on.
@@ -922,6 +922,58 @@ module Aws::XRay
922
922
  # resp.trace_summaries[0].service_ids[0].names[0] #=> String
923
923
  # resp.trace_summaries[0].service_ids[0].account_id #=> String
924
924
  # resp.trace_summaries[0].service_ids[0].type #=> String
925
+ # resp.trace_summaries[0].resource_arns #=> Array
926
+ # resp.trace_summaries[0].resource_arns[0].arn #=> String
927
+ # resp.trace_summaries[0].instance_ids #=> Array
928
+ # resp.trace_summaries[0].instance_ids[0].id #=> String
929
+ # resp.trace_summaries[0].availability_zones #=> Array
930
+ # resp.trace_summaries[0].availability_zones[0].name #=> String
931
+ # resp.trace_summaries[0].entry_point.name #=> String
932
+ # resp.trace_summaries[0].entry_point.names #=> Array
933
+ # resp.trace_summaries[0].entry_point.names[0] #=> String
934
+ # resp.trace_summaries[0].entry_point.account_id #=> String
935
+ # resp.trace_summaries[0].entry_point.type #=> String
936
+ # resp.trace_summaries[0].fault_root_causes #=> Array
937
+ # resp.trace_summaries[0].fault_root_causes[0].services #=> Array
938
+ # resp.trace_summaries[0].fault_root_causes[0].services[0].name #=> String
939
+ # resp.trace_summaries[0].fault_root_causes[0].services[0].names #=> Array
940
+ # resp.trace_summaries[0].fault_root_causes[0].services[0].names[0] #=> String
941
+ # resp.trace_summaries[0].fault_root_causes[0].services[0].type #=> String
942
+ # resp.trace_summaries[0].fault_root_causes[0].services[0].account_id #=> String
943
+ # resp.trace_summaries[0].fault_root_causes[0].services[0].entity_path #=> Array
944
+ # resp.trace_summaries[0].fault_root_causes[0].services[0].entity_path[0].name #=> String
945
+ # resp.trace_summaries[0].fault_root_causes[0].services[0].entity_path[0].exceptions #=> Array
946
+ # resp.trace_summaries[0].fault_root_causes[0].services[0].entity_path[0].exceptions[0].name #=> String
947
+ # resp.trace_summaries[0].fault_root_causes[0].services[0].entity_path[0].exceptions[0].message #=> String
948
+ # resp.trace_summaries[0].fault_root_causes[0].services[0].entity_path[0].remote #=> Boolean
949
+ # resp.trace_summaries[0].fault_root_causes[0].services[0].inferred #=> Boolean
950
+ # resp.trace_summaries[0].error_root_causes #=> Array
951
+ # resp.trace_summaries[0].error_root_causes[0].services #=> Array
952
+ # resp.trace_summaries[0].error_root_causes[0].services[0].name #=> String
953
+ # resp.trace_summaries[0].error_root_causes[0].services[0].names #=> Array
954
+ # resp.trace_summaries[0].error_root_causes[0].services[0].names[0] #=> String
955
+ # resp.trace_summaries[0].error_root_causes[0].services[0].type #=> String
956
+ # resp.trace_summaries[0].error_root_causes[0].services[0].account_id #=> String
957
+ # resp.trace_summaries[0].error_root_causes[0].services[0].entity_path #=> Array
958
+ # resp.trace_summaries[0].error_root_causes[0].services[0].entity_path[0].name #=> String
959
+ # resp.trace_summaries[0].error_root_causes[0].services[0].entity_path[0].exceptions #=> Array
960
+ # resp.trace_summaries[0].error_root_causes[0].services[0].entity_path[0].exceptions[0].name #=> String
961
+ # resp.trace_summaries[0].error_root_causes[0].services[0].entity_path[0].exceptions[0].message #=> String
962
+ # resp.trace_summaries[0].error_root_causes[0].services[0].entity_path[0].remote #=> Boolean
963
+ # resp.trace_summaries[0].error_root_causes[0].services[0].inferred #=> Boolean
964
+ # resp.trace_summaries[0].response_time_root_causes #=> Array
965
+ # resp.trace_summaries[0].response_time_root_causes[0].services #=> Array
966
+ # resp.trace_summaries[0].response_time_root_causes[0].services[0].name #=> String
967
+ # resp.trace_summaries[0].response_time_root_causes[0].services[0].names #=> Array
968
+ # resp.trace_summaries[0].response_time_root_causes[0].services[0].names[0] #=> String
969
+ # resp.trace_summaries[0].response_time_root_causes[0].services[0].type #=> String
970
+ # resp.trace_summaries[0].response_time_root_causes[0].services[0].account_id #=> String
971
+ # resp.trace_summaries[0].response_time_root_causes[0].services[0].entity_path #=> Array
972
+ # resp.trace_summaries[0].response_time_root_causes[0].services[0].entity_path[0].name #=> String
973
+ # resp.trace_summaries[0].response_time_root_causes[0].services[0].entity_path[0].coverage #=> Float
974
+ # resp.trace_summaries[0].response_time_root_causes[0].services[0].entity_path[0].remote #=> Boolean
975
+ # resp.trace_summaries[0].response_time_root_causes[0].services[0].inferred #=> Boolean
976
+ # resp.trace_summaries[0].revision #=> Integer
925
977
  # resp.approximate_time #=> Time
926
978
  # resp.traces_processed_count #=> Integer
927
979
  # resp.next_token #=> String
@@ -1116,7 +1168,7 @@ module Aws::XRay
1116
1168
  # The case-sensitive name of the group.
1117
1169
  #
1118
1170
  # @option params [String] :group_arn
1119
- # The ARN that was generated upon create.
1171
+ # The ARN that was generated upon creation.
1120
1172
  #
1121
1173
  # @option params [String] :filter_expression
1122
1174
  # The updated filter expression defining criteria by which to group
@@ -1220,7 +1272,7 @@ module Aws::XRay
1220
1272
  params: params,
1221
1273
  config: config)
1222
1274
  context[:gem_name] = 'aws-sdk-xray'
1223
- context[:gem_version] = '1.9.0'
1275
+ context[:gem_version] = '1.10.0'
1224
1276
  Seahorse::Client::Request.new(handlers, context)
1225
1277
  end
1226
1278
 
@@ -20,6 +20,7 @@ module Aws::XRay
20
20
  AttributeKey = Shapes::StringShape.new(name: 'AttributeKey')
21
21
  AttributeMap = Shapes::MapShape.new(name: 'AttributeMap')
22
22
  AttributeValue = Shapes::StringShape.new(name: 'AttributeValue')
23
+ AvailabilityZoneDetail = Shapes::StructureShape.new(name: 'AvailabilityZoneDetail')
23
24
  BackendConnectionErrors = Shapes::StructureShape.new(name: 'BackendConnectionErrors')
24
25
  BatchGetTracesRequest = Shapes::StructureShape.new(name: 'BatchGetTracesRequest')
25
26
  BatchGetTracesResult = Shapes::StructureShape.new(name: 'BatchGetTracesResult')
@@ -44,7 +45,19 @@ module Aws::XRay
44
45
  EncryptionStatus = Shapes::StringShape.new(name: 'EncryptionStatus')
45
46
  EncryptionType = Shapes::StringShape.new(name: 'EncryptionType')
46
47
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
48
+ ErrorRootCause = Shapes::StructureShape.new(name: 'ErrorRootCause')
49
+ ErrorRootCauseEntity = Shapes::StructureShape.new(name: 'ErrorRootCauseEntity')
50
+ ErrorRootCauseEntityPath = Shapes::ListShape.new(name: 'ErrorRootCauseEntityPath')
51
+ ErrorRootCauseService = Shapes::StructureShape.new(name: 'ErrorRootCauseService')
52
+ ErrorRootCauseServices = Shapes::ListShape.new(name: 'ErrorRootCauseServices')
53
+ ErrorRootCauses = Shapes::ListShape.new(name: 'ErrorRootCauses')
47
54
  ErrorStatistics = Shapes::StructureShape.new(name: 'ErrorStatistics')
55
+ FaultRootCause = Shapes::StructureShape.new(name: 'FaultRootCause')
56
+ FaultRootCauseEntity = Shapes::StructureShape.new(name: 'FaultRootCauseEntity')
57
+ FaultRootCauseEntityPath = Shapes::ListShape.new(name: 'FaultRootCauseEntityPath')
58
+ FaultRootCauseService = Shapes::StructureShape.new(name: 'FaultRootCauseService')
59
+ FaultRootCauseServices = Shapes::ListShape.new(name: 'FaultRootCauseServices')
60
+ FaultRootCauses = Shapes::ListShape.new(name: 'FaultRootCauses')
48
61
  FaultStatistics = Shapes::StructureShape.new(name: 'FaultStatistics')
49
62
  FilterExpression = Shapes::StringShape.new(name: 'FilterExpression')
50
63
  FixedRate = Shapes::FloatShape.new(name: 'FixedRate')
@@ -78,6 +91,7 @@ module Aws::XRay
78
91
  Host = Shapes::StringShape.new(name: 'Host')
79
92
  Hostname = Shapes::StringShape.new(name: 'Hostname')
80
93
  Http = Shapes::StructureShape.new(name: 'Http')
94
+ InstanceIdDetail = Shapes::StructureShape.new(name: 'InstanceIdDetail')
81
95
  Integer = Shapes::IntegerShape.new(name: 'Integer')
82
96
  InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
83
97
  NullableBoolean = Shapes::BooleanShape.new(name: 'NullableBoolean')
@@ -94,6 +108,15 @@ module Aws::XRay
94
108
  RequestCount = Shapes::IntegerShape.new(name: 'RequestCount')
95
109
  ReservoirSize = Shapes::IntegerShape.new(name: 'ReservoirSize')
96
110
  ResourceARN = Shapes::StringShape.new(name: 'ResourceARN')
111
+ ResourceARNDetail = Shapes::StructureShape.new(name: 'ResourceARNDetail')
112
+ ResponseTimeRootCause = Shapes::StructureShape.new(name: 'ResponseTimeRootCause')
113
+ ResponseTimeRootCauseEntity = Shapes::StructureShape.new(name: 'ResponseTimeRootCauseEntity')
114
+ ResponseTimeRootCauseEntityPath = Shapes::ListShape.new(name: 'ResponseTimeRootCauseEntityPath')
115
+ ResponseTimeRootCauseService = Shapes::StructureShape.new(name: 'ResponseTimeRootCauseService')
116
+ ResponseTimeRootCauseServices = Shapes::ListShape.new(name: 'ResponseTimeRootCauseServices')
117
+ ResponseTimeRootCauses = Shapes::ListShape.new(name: 'ResponseTimeRootCauses')
118
+ RootCauseException = Shapes::StructureShape.new(name: 'RootCauseException')
119
+ RootCauseExceptions = Shapes::ListShape.new(name: 'RootCauseExceptions')
97
120
  RuleLimitExceededException = Shapes::StructureShape.new(name: 'RuleLimitExceededException')
98
121
  RuleName = Shapes::StringShape.new(name: 'RuleName')
99
122
  SampledCount = Shapes::IntegerShape.new(name: 'SampledCount')
@@ -125,9 +148,12 @@ module Aws::XRay
125
148
  ThrottledException = Shapes::StructureShape.new(name: 'ThrottledException')
126
149
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
127
150
  Trace = Shapes::StructureShape.new(name: 'Trace')
151
+ TraceAvailabilityZones = Shapes::ListShape.new(name: 'TraceAvailabilityZones')
128
152
  TraceId = Shapes::StringShape.new(name: 'TraceId')
129
153
  TraceIdList = Shapes::ListShape.new(name: 'TraceIdList')
154
+ TraceInstanceIds = Shapes::ListShape.new(name: 'TraceInstanceIds')
130
155
  TraceList = Shapes::ListShape.new(name: 'TraceList')
156
+ TraceResourceARNs = Shapes::ListShape.new(name: 'TraceResourceARNs')
131
157
  TraceSegmentDocument = Shapes::StringShape.new(name: 'TraceSegmentDocument')
132
158
  TraceSegmentDocumentList = Shapes::ListShape.new(name: 'TraceSegmentDocumentList')
133
159
  TraceSummary = Shapes::StructureShape.new(name: 'TraceSummary')
@@ -168,6 +194,9 @@ module Aws::XRay
168
194
  AttributeMap.key = Shapes::ShapeRef.new(shape: AttributeKey)
169
195
  AttributeMap.value = Shapes::ShapeRef.new(shape: AttributeValue)
170
196
 
197
+ AvailabilityZoneDetail.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
198
+ AvailabilityZoneDetail.struct_class = Types::AvailabilityZoneDetail
199
+
171
200
  BackendConnectionErrors.add_member(:timeout_count, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "TimeoutCount"))
172
201
  BackendConnectionErrors.add_member(:connection_refused_count, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "ConnectionRefusedCount"))
173
202
  BackendConnectionErrors.add_member(:http_code_4_xx_count, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "HTTPCode4XXCount"))
@@ -233,11 +262,55 @@ module Aws::XRay
233
262
  EncryptionConfig.add_member(:type, Shapes::ShapeRef.new(shape: EncryptionType, location_name: "Type"))
234
263
  EncryptionConfig.struct_class = Types::EncryptionConfig
235
264
 
265
+ ErrorRootCause.add_member(:services, Shapes::ShapeRef.new(shape: ErrorRootCauseServices, location_name: "Services"))
266
+ ErrorRootCause.struct_class = Types::ErrorRootCause
267
+
268
+ ErrorRootCauseEntity.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
269
+ ErrorRootCauseEntity.add_member(:exceptions, Shapes::ShapeRef.new(shape: RootCauseExceptions, location_name: "Exceptions"))
270
+ ErrorRootCauseEntity.add_member(:remote, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "Remote"))
271
+ ErrorRootCauseEntity.struct_class = Types::ErrorRootCauseEntity
272
+
273
+ ErrorRootCauseEntityPath.member = Shapes::ShapeRef.new(shape: ErrorRootCauseEntity)
274
+
275
+ ErrorRootCauseService.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
276
+ ErrorRootCauseService.add_member(:names, Shapes::ShapeRef.new(shape: ServiceNames, location_name: "Names"))
277
+ ErrorRootCauseService.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
278
+ ErrorRootCauseService.add_member(:account_id, Shapes::ShapeRef.new(shape: String, location_name: "AccountId"))
279
+ ErrorRootCauseService.add_member(:entity_path, Shapes::ShapeRef.new(shape: ErrorRootCauseEntityPath, location_name: "EntityPath"))
280
+ ErrorRootCauseService.add_member(:inferred, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "Inferred"))
281
+ ErrorRootCauseService.struct_class = Types::ErrorRootCauseService
282
+
283
+ ErrorRootCauseServices.member = Shapes::ShapeRef.new(shape: ErrorRootCauseService)
284
+
285
+ ErrorRootCauses.member = Shapes::ShapeRef.new(shape: ErrorRootCause)
286
+
236
287
  ErrorStatistics.add_member(:throttle_count, Shapes::ShapeRef.new(shape: NullableLong, location_name: "ThrottleCount"))
237
288
  ErrorStatistics.add_member(:other_count, Shapes::ShapeRef.new(shape: NullableLong, location_name: "OtherCount"))
238
289
  ErrorStatistics.add_member(:total_count, Shapes::ShapeRef.new(shape: NullableLong, location_name: "TotalCount"))
239
290
  ErrorStatistics.struct_class = Types::ErrorStatistics
240
291
 
292
+ FaultRootCause.add_member(:services, Shapes::ShapeRef.new(shape: FaultRootCauseServices, location_name: "Services"))
293
+ FaultRootCause.struct_class = Types::FaultRootCause
294
+
295
+ FaultRootCauseEntity.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
296
+ FaultRootCauseEntity.add_member(:exceptions, Shapes::ShapeRef.new(shape: RootCauseExceptions, location_name: "Exceptions"))
297
+ FaultRootCauseEntity.add_member(:remote, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "Remote"))
298
+ FaultRootCauseEntity.struct_class = Types::FaultRootCauseEntity
299
+
300
+ FaultRootCauseEntityPath.member = Shapes::ShapeRef.new(shape: FaultRootCauseEntity)
301
+
302
+ FaultRootCauseService.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
303
+ FaultRootCauseService.add_member(:names, Shapes::ShapeRef.new(shape: ServiceNames, location_name: "Names"))
304
+ FaultRootCauseService.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
305
+ FaultRootCauseService.add_member(:account_id, Shapes::ShapeRef.new(shape: String, location_name: "AccountId"))
306
+ FaultRootCauseService.add_member(:entity_path, Shapes::ShapeRef.new(shape: FaultRootCauseEntityPath, location_name: "EntityPath"))
307
+ FaultRootCauseService.add_member(:inferred, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "Inferred"))
308
+ FaultRootCauseService.struct_class = Types::FaultRootCauseService
309
+
310
+ FaultRootCauseServices.member = Shapes::ShapeRef.new(shape: FaultRootCauseService)
311
+
312
+ FaultRootCauses.member = Shapes::ShapeRef.new(shape: FaultRootCause)
313
+
241
314
  FaultStatistics.add_member(:other_count, Shapes::ShapeRef.new(shape: NullableLong, location_name: "OtherCount"))
242
315
  FaultStatistics.add_member(:total_count, Shapes::ShapeRef.new(shape: NullableLong, location_name: "TotalCount"))
243
316
  FaultStatistics.struct_class = Types::FaultStatistics
@@ -343,6 +416,9 @@ module Aws::XRay
343
416
  Http.add_member(:client_ip, Shapes::ShapeRef.new(shape: String, location_name: "ClientIp"))
344
417
  Http.struct_class = Types::Http
345
418
 
419
+ InstanceIdDetail.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "Id"))
420
+ InstanceIdDetail.struct_class = Types::InstanceIdDetail
421
+
346
422
  PutEncryptionConfigRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: EncryptionKeyId, location_name: "KeyId"))
347
423
  PutEncryptionConfigRequest.add_member(:type, Shapes::ShapeRef.new(shape: EncryptionType, required: true, location_name: "Type"))
348
424
  PutEncryptionConfigRequest.struct_class = Types::PutEncryptionConfigRequest
@@ -364,6 +440,37 @@ module Aws::XRay
364
440
  PutTraceSegmentsResult.add_member(:unprocessed_trace_segments, Shapes::ShapeRef.new(shape: UnprocessedTraceSegmentList, location_name: "UnprocessedTraceSegments"))
365
441
  PutTraceSegmentsResult.struct_class = Types::PutTraceSegmentsResult
366
442
 
443
+ ResourceARNDetail.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "ARN"))
444
+ ResourceARNDetail.struct_class = Types::ResourceARNDetail
445
+
446
+ ResponseTimeRootCause.add_member(:services, Shapes::ShapeRef.new(shape: ResponseTimeRootCauseServices, location_name: "Services"))
447
+ ResponseTimeRootCause.struct_class = Types::ResponseTimeRootCause
448
+
449
+ ResponseTimeRootCauseEntity.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
450
+ ResponseTimeRootCauseEntity.add_member(:coverage, Shapes::ShapeRef.new(shape: NullableDouble, location_name: "Coverage"))
451
+ ResponseTimeRootCauseEntity.add_member(:remote, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "Remote"))
452
+ ResponseTimeRootCauseEntity.struct_class = Types::ResponseTimeRootCauseEntity
453
+
454
+ ResponseTimeRootCauseEntityPath.member = Shapes::ShapeRef.new(shape: ResponseTimeRootCauseEntity)
455
+
456
+ ResponseTimeRootCauseService.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
457
+ ResponseTimeRootCauseService.add_member(:names, Shapes::ShapeRef.new(shape: ServiceNames, location_name: "Names"))
458
+ ResponseTimeRootCauseService.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
459
+ ResponseTimeRootCauseService.add_member(:account_id, Shapes::ShapeRef.new(shape: String, location_name: "AccountId"))
460
+ ResponseTimeRootCauseService.add_member(:entity_path, Shapes::ShapeRef.new(shape: ResponseTimeRootCauseEntityPath, location_name: "EntityPath"))
461
+ ResponseTimeRootCauseService.add_member(:inferred, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "Inferred"))
462
+ ResponseTimeRootCauseService.struct_class = Types::ResponseTimeRootCauseService
463
+
464
+ ResponseTimeRootCauseServices.member = Shapes::ShapeRef.new(shape: ResponseTimeRootCauseService)
465
+
466
+ ResponseTimeRootCauses.member = Shapes::ShapeRef.new(shape: ResponseTimeRootCause)
467
+
468
+ RootCauseException.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
469
+ RootCauseException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
470
+ RootCauseException.struct_class = Types::RootCauseException
471
+
472
+ RootCauseExceptions.member = Shapes::ShapeRef.new(shape: RootCauseException)
473
+
367
474
  SamplingRule.add_member(:rule_name, Shapes::ShapeRef.new(shape: RuleName, location_name: "RuleName"))
368
475
  SamplingRule.add_member(:rule_arn, Shapes::ShapeRef.new(shape: String, location_name: "RuleARN"))
369
476
  SamplingRule.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceARN, required: true, location_name: "ResourceARN"))
@@ -483,10 +590,16 @@ module Aws::XRay
483
590
  Trace.add_member(:segments, Shapes::ShapeRef.new(shape: SegmentList, location_name: "Segments"))
484
591
  Trace.struct_class = Types::Trace
485
592
 
593
+ TraceAvailabilityZones.member = Shapes::ShapeRef.new(shape: AvailabilityZoneDetail)
594
+
486
595
  TraceIdList.member = Shapes::ShapeRef.new(shape: TraceId)
487
596
 
597
+ TraceInstanceIds.member = Shapes::ShapeRef.new(shape: InstanceIdDetail)
598
+
488
599
  TraceList.member = Shapes::ShapeRef.new(shape: Trace)
489
600
 
601
+ TraceResourceARNs.member = Shapes::ShapeRef.new(shape: ResourceARNDetail)
602
+
490
603
  TraceSegmentDocumentList.member = Shapes::ShapeRef.new(shape: TraceSegmentDocument)
491
604
 
492
605
  TraceSummary.add_member(:id, Shapes::ShapeRef.new(shape: TraceId, location_name: "Id"))
@@ -500,6 +613,14 @@ module Aws::XRay
500
613
  TraceSummary.add_member(:annotations, Shapes::ShapeRef.new(shape: Annotations, location_name: "Annotations"))
501
614
  TraceSummary.add_member(:users, Shapes::ShapeRef.new(shape: TraceUsers, location_name: "Users"))
502
615
  TraceSummary.add_member(:service_ids, Shapes::ShapeRef.new(shape: ServiceIds, location_name: "ServiceIds"))
616
+ TraceSummary.add_member(:resource_arns, Shapes::ShapeRef.new(shape: TraceResourceARNs, location_name: "ResourceARNs"))
617
+ TraceSummary.add_member(:instance_ids, Shapes::ShapeRef.new(shape: TraceInstanceIds, location_name: "InstanceIds"))
618
+ TraceSummary.add_member(:availability_zones, Shapes::ShapeRef.new(shape: TraceAvailabilityZones, location_name: "AvailabilityZones"))
619
+ TraceSummary.add_member(:entry_point, Shapes::ShapeRef.new(shape: ServiceId, location_name: "EntryPoint"))
620
+ TraceSummary.add_member(:fault_root_causes, Shapes::ShapeRef.new(shape: FaultRootCauses, location_name: "FaultRootCauses"))
621
+ TraceSummary.add_member(:error_root_causes, Shapes::ShapeRef.new(shape: ErrorRootCauses, location_name: "ErrorRootCauses"))
622
+ TraceSummary.add_member(:response_time_root_causes, Shapes::ShapeRef.new(shape: ResponseTimeRootCauses, location_name: "ResponseTimeRootCauses"))
623
+ TraceSummary.add_member(:revision, Shapes::ShapeRef.new(shape: Integer, location_name: "Revision"))
503
624
  TraceSummary.struct_class = Types::TraceSummary
504
625
 
505
626
  TraceSummaryList.member = Shapes::ShapeRef.new(shape: TraceSummary)
@@ -55,6 +55,19 @@ module Aws::XRay
55
55
  include Aws::Structure
56
56
  end
57
57
 
58
+ # A list of availability zones corresponding to the segments in a trace.
59
+ #
60
+ # @!attribute [rw] name
61
+ # The name of a corresponding availability zone.
62
+ # @return [String]
63
+ #
64
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/AvailabilityZoneDetail AWS API Documentation
65
+ #
66
+ class AvailabilityZoneDetail < Struct.new(
67
+ :name)
68
+ include Aws::Structure
69
+ end
70
+
58
71
  # @note When making an API call, you may pass BackendConnectionErrors
59
72
  # data as a hash:
60
73
  #
@@ -392,6 +405,84 @@ module Aws::XRay
392
405
  include Aws::Structure
393
406
  end
394
407
 
408
+ # The root cause of a trace summary error.
409
+ #
410
+ # @!attribute [rw] services
411
+ # A list of services corresponding to an error. A service identifies a
412
+ # segment and it contains a name, account ID, type, and inferred flag.
413
+ # @return [Array<Types::ErrorRootCauseService>]
414
+ #
415
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/ErrorRootCause AWS API Documentation
416
+ #
417
+ class ErrorRootCause < Struct.new(
418
+ :services)
419
+ include Aws::Structure
420
+ end
421
+
422
+ # A collection of segments and corresponding subsegments associated to a
423
+ # trace summary error.
424
+ #
425
+ # @!attribute [rw] name
426
+ # The name of the entity.
427
+ # @return [String]
428
+ #
429
+ # @!attribute [rw] exceptions
430
+ # The types and messages of the exceptions.
431
+ # @return [Array<Types::RootCauseException>]
432
+ #
433
+ # @!attribute [rw] remote
434
+ # A flag that denotes a remote subsegment.
435
+ # @return [Boolean]
436
+ #
437
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/ErrorRootCauseEntity AWS API Documentation
438
+ #
439
+ class ErrorRootCauseEntity < Struct.new(
440
+ :name,
441
+ :exceptions,
442
+ :remote)
443
+ include Aws::Structure
444
+ end
445
+
446
+ # A collection of fields identifying the services in a trace summary
447
+ # error.
448
+ #
449
+ # @!attribute [rw] name
450
+ # The service name.
451
+ # @return [String]
452
+ #
453
+ # @!attribute [rw] names
454
+ # A collection of associated service names.
455
+ # @return [Array<String>]
456
+ #
457
+ # @!attribute [rw] type
458
+ # The type associated to the service.
459
+ # @return [String]
460
+ #
461
+ # @!attribute [rw] account_id
462
+ # The account ID associated to the service.
463
+ # @return [String]
464
+ #
465
+ # @!attribute [rw] entity_path
466
+ # The path of root cause entities found on the service.
467
+ # @return [Array<Types::ErrorRootCauseEntity>]
468
+ #
469
+ # @!attribute [rw] inferred
470
+ # A Boolean value indicating if the service is inferred from the
471
+ # trace.
472
+ # @return [Boolean]
473
+ #
474
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/ErrorRootCauseService AWS API Documentation
475
+ #
476
+ class ErrorRootCauseService < Struct.new(
477
+ :name,
478
+ :names,
479
+ :type,
480
+ :account_id,
481
+ :entity_path,
482
+ :inferred)
483
+ include Aws::Structure
484
+ end
485
+
395
486
  # Information about requests that failed with a 4xx Client Error status
396
487
  # code.
397
488
  #
@@ -419,6 +510,84 @@ module Aws::XRay
419
510
  include Aws::Structure
420
511
  end
421
512
 
513
+ # The root cause information for a trace summary fault.
514
+ #
515
+ # @!attribute [rw] services
516
+ # A list of corresponding services. A service identifies a segment and
517
+ # it contains a name, account ID, type, and inferred flag.
518
+ # @return [Array<Types::FaultRootCauseService>]
519
+ #
520
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/FaultRootCause AWS API Documentation
521
+ #
522
+ class FaultRootCause < Struct.new(
523
+ :services)
524
+ include Aws::Structure
525
+ end
526
+
527
+ # A collection of segments and corresponding subsegments associated to a
528
+ # trace summary fault error.
529
+ #
530
+ # @!attribute [rw] name
531
+ # The name of the entity.
532
+ # @return [String]
533
+ #
534
+ # @!attribute [rw] exceptions
535
+ # The types and messages of the exceptions.
536
+ # @return [Array<Types::RootCauseException>]
537
+ #
538
+ # @!attribute [rw] remote
539
+ # A flag that denotes a remote subsegment.
540
+ # @return [Boolean]
541
+ #
542
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/FaultRootCauseEntity AWS API Documentation
543
+ #
544
+ class FaultRootCauseEntity < Struct.new(
545
+ :name,
546
+ :exceptions,
547
+ :remote)
548
+ include Aws::Structure
549
+ end
550
+
551
+ # A collection of fields identifying the services in a trace summary
552
+ # fault.
553
+ #
554
+ # @!attribute [rw] name
555
+ # The service name.
556
+ # @return [String]
557
+ #
558
+ # @!attribute [rw] names
559
+ # A collection of associated service names.
560
+ # @return [Array<String>]
561
+ #
562
+ # @!attribute [rw] type
563
+ # The type associated to the service.
564
+ # @return [String]
565
+ #
566
+ # @!attribute [rw] account_id
567
+ # The account ID associated to the service.
568
+ # @return [String]
569
+ #
570
+ # @!attribute [rw] entity_path
571
+ # The path of root cause entities found on the service.
572
+ # @return [Array<Types::FaultRootCauseEntity>]
573
+ #
574
+ # @!attribute [rw] inferred
575
+ # A Boolean value indicating if the service is inferred from the
576
+ # trace.
577
+ # @return [Boolean]
578
+ #
579
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/FaultRootCauseService AWS API Documentation
580
+ #
581
+ class FaultRootCauseService < Struct.new(
582
+ :name,
583
+ :names,
584
+ :type,
585
+ :account_id,
586
+ :entity_path,
587
+ :inferred)
588
+ include Aws::Structure
589
+ end
590
+
422
591
  # Information about requests that failed with a 5xx Server Error status
423
592
  # code.
424
593
  #
@@ -666,7 +835,7 @@ module Aws::XRay
666
835
  # @return [Time]
667
836
  #
668
837
  # @!attribute [rw] end_time
669
- # The end of the time frame for which to generate a graph.
838
+ # The end of the timeframe for which to generate a graph.
670
839
  # @return [Time]
671
840
  #
672
841
  # @!attribute [rw] group_name
@@ -706,9 +875,9 @@ module Aws::XRay
706
875
  # @return [Array<Types::Service>]
707
876
  #
708
877
  # @!attribute [rw] contains_old_group_versions
709
- # A flag indicating whether or not the group's filter expression has
710
- # been consistent, or if the returned service graph may show traces
711
- # from an older version of the group's filter expression.
878
+ # A flag indicating whether the group's filter expression has been
879
+ # consistent, or if the returned service graph may show traces from an
880
+ # older version of the group's filter expression.
712
881
  # @return [Boolean]
713
882
  #
714
883
  # @!attribute [rw] next_token
@@ -941,6 +1110,19 @@ module Aws::XRay
941
1110
  include Aws::Structure
942
1111
  end
943
1112
 
1113
+ # A list of EC2 instance IDs corresponding to the segments in a trace.
1114
+ #
1115
+ # @!attribute [rw] id
1116
+ # The ID of a corresponding EC2 instance.
1117
+ # @return [String]
1118
+ #
1119
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/InstanceIdDetail AWS API Documentation
1120
+ #
1121
+ class InstanceIdDetail < Struct.new(
1122
+ :id)
1123
+ include Aws::Structure
1124
+ end
1125
+
944
1126
  # @note When making an API call, you may pass PutEncryptionConfigRequest
945
1127
  # data as a hash:
946
1128
  #
@@ -1072,6 +1254,115 @@ module Aws::XRay
1072
1254
  include Aws::Structure
1073
1255
  end
1074
1256
 
1257
+ # A list of resources ARNs corresponding to the segments in a trace.
1258
+ #
1259
+ # @!attribute [rw] arn
1260
+ # The ARN of a corresponding resource.
1261
+ # @return [String]
1262
+ #
1263
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/ResourceARNDetail AWS API Documentation
1264
+ #
1265
+ class ResourceARNDetail < Struct.new(
1266
+ :arn)
1267
+ include Aws::Structure
1268
+ end
1269
+
1270
+ # The root cause information for a response time warning.
1271
+ #
1272
+ # @!attribute [rw] services
1273
+ # A list of corresponding services. A service identifies a segment and
1274
+ # contains a name, account ID, type, and inferred flag.
1275
+ # @return [Array<Types::ResponseTimeRootCauseService>]
1276
+ #
1277
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/ResponseTimeRootCause AWS API Documentation
1278
+ #
1279
+ class ResponseTimeRootCause < Struct.new(
1280
+ :services)
1281
+ include Aws::Structure
1282
+ end
1283
+
1284
+ # A collection of segments and corresponding subsegments associated to a
1285
+ # response time warning.
1286
+ #
1287
+ # @!attribute [rw] name
1288
+ # The name of the entity.
1289
+ # @return [String]
1290
+ #
1291
+ # @!attribute [rw] coverage
1292
+ # The types and messages of the exceptions.
1293
+ # @return [Float]
1294
+ #
1295
+ # @!attribute [rw] remote
1296
+ # A flag that denotes a remote subsegment.
1297
+ # @return [Boolean]
1298
+ #
1299
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/ResponseTimeRootCauseEntity AWS API Documentation
1300
+ #
1301
+ class ResponseTimeRootCauseEntity < Struct.new(
1302
+ :name,
1303
+ :coverage,
1304
+ :remote)
1305
+ include Aws::Structure
1306
+ end
1307
+
1308
+ # A collection of fields identifying the service in a response time
1309
+ # warning.
1310
+ #
1311
+ # @!attribute [rw] name
1312
+ # The service name.
1313
+ # @return [String]
1314
+ #
1315
+ # @!attribute [rw] names
1316
+ # A collection of associated service names.
1317
+ # @return [Array<String>]
1318
+ #
1319
+ # @!attribute [rw] type
1320
+ # The type associated to the service.
1321
+ # @return [String]
1322
+ #
1323
+ # @!attribute [rw] account_id
1324
+ # The account ID associated to the service.
1325
+ # @return [String]
1326
+ #
1327
+ # @!attribute [rw] entity_path
1328
+ # The path of root cause entities found on the service.
1329
+ # @return [Array<Types::ResponseTimeRootCauseEntity>]
1330
+ #
1331
+ # @!attribute [rw] inferred
1332
+ # A Boolean value indicating if the service is inferred from the
1333
+ # trace.
1334
+ # @return [Boolean]
1335
+ #
1336
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/ResponseTimeRootCauseService AWS API Documentation
1337
+ #
1338
+ class ResponseTimeRootCauseService < Struct.new(
1339
+ :name,
1340
+ :names,
1341
+ :type,
1342
+ :account_id,
1343
+ :entity_path,
1344
+ :inferred)
1345
+ include Aws::Structure
1346
+ end
1347
+
1348
+ # The exception associated with a root cause.
1349
+ #
1350
+ # @!attribute [rw] name
1351
+ # The name of the exception.
1352
+ # @return [String]
1353
+ #
1354
+ # @!attribute [rw] message
1355
+ # The message of the exception.
1356
+ # @return [String]
1357
+ #
1358
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/RootCauseException AWS API Documentation
1359
+ #
1360
+ class RootCauseException < Struct.new(
1361
+ :name,
1362
+ :message)
1363
+ include Aws::Structure
1364
+ end
1365
+
1075
1366
  # A sampling rule that services use to decide whether to instrument a
1076
1367
  # request. Rule fields can match properties of the service, or
1077
1368
  # properties of a request. The service can ignore rules that don't
@@ -1721,6 +2012,44 @@ module Aws::XRay
1721
2012
  # Service IDs from the trace's segment documents.
1722
2013
  # @return [Array<Types::ServiceId>]
1723
2014
  #
2015
+ # @!attribute [rw] resource_arns
2016
+ # A list of resource ARNs for any resource corresponding to the trace
2017
+ # segments.
2018
+ # @return [Array<Types::ResourceARNDetail>]
2019
+ #
2020
+ # @!attribute [rw] instance_ids
2021
+ # A list of EC2 instance IDs for any instance corresponding to the
2022
+ # trace segments.
2023
+ # @return [Array<Types::InstanceIdDetail>]
2024
+ #
2025
+ # @!attribute [rw] availability_zones
2026
+ # A list of availability zones for any zone corresponding to the trace
2027
+ # segments.
2028
+ # @return [Array<Types::AvailabilityZoneDetail>]
2029
+ #
2030
+ # @!attribute [rw] entry_point
2031
+ # The root of a trace.
2032
+ # @return [Types::ServiceId]
2033
+ #
2034
+ # @!attribute [rw] fault_root_causes
2035
+ # A collection of FaultRootCause structures corresponding to the the
2036
+ # trace segments.
2037
+ # @return [Array<Types::FaultRootCause>]
2038
+ #
2039
+ # @!attribute [rw] error_root_causes
2040
+ # A collection of ErrorRootCause structures corresponding to the trace
2041
+ # segments.
2042
+ # @return [Array<Types::ErrorRootCause>]
2043
+ #
2044
+ # @!attribute [rw] response_time_root_causes
2045
+ # A collection of ResponseTimeRootCause structures corresponding to
2046
+ # the trace segments.
2047
+ # @return [Array<Types::ResponseTimeRootCause>]
2048
+ #
2049
+ # @!attribute [rw] revision
2050
+ # The revision number of a trace.
2051
+ # @return [Integer]
2052
+ #
1724
2053
  # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/TraceSummary AWS API Documentation
1725
2054
  #
1726
2055
  class TraceSummary < Struct.new(
@@ -1734,7 +2063,15 @@ module Aws::XRay
1734
2063
  :http,
1735
2064
  :annotations,
1736
2065
  :users,
1737
- :service_ids)
2066
+ :service_ids,
2067
+ :resource_arns,
2068
+ :instance_ids,
2069
+ :availability_zones,
2070
+ :entry_point,
2071
+ :fault_root_causes,
2072
+ :error_root_causes,
2073
+ :response_time_root_causes,
2074
+ :revision)
1738
2075
  include Aws::Structure
1739
2076
  end
1740
2077
 
@@ -1817,7 +2154,7 @@ module Aws::XRay
1817
2154
  # @return [String]
1818
2155
  #
1819
2156
  # @!attribute [rw] group_arn
1820
- # The ARN that was generated upon create.
2157
+ # The ARN that was generated upon creation.
1821
2158
  # @return [String]
1822
2159
  #
1823
2160
  # @!attribute [rw] filter_expression
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.9.0
4
+ version: 1.10.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: 2018-11-20 00:00:00.000000000 Z
11
+ date: 2018-11-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core