aws-sdk-xray 1.32.0 → 1.37.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.
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -20,6 +20,8 @@ module Aws::XRay
20
20
  AnnotationKey = Shapes::StringShape.new(name: 'AnnotationKey')
21
21
  AnnotationValue = Shapes::StructureShape.new(name: 'AnnotationValue')
22
22
  Annotations = Shapes::MapShape.new(name: 'Annotations')
23
+ AnomalousService = Shapes::StructureShape.new(name: 'AnomalousService')
24
+ AnomalousServiceList = Shapes::ListShape.new(name: 'AnomalousServiceList')
23
25
  AttributeKey = Shapes::StringShape.new(name: 'AttributeKey')
24
26
  AttributeMap = Shapes::MapShape.new(name: 'AttributeMap')
25
27
  AttributeValue = Shapes::StringShape.new(name: 'AttributeValue')
@@ -56,6 +58,7 @@ module Aws::XRay
56
58
  ErrorRootCauseServices = Shapes::ListShape.new(name: 'ErrorRootCauseServices')
57
59
  ErrorRootCauses = Shapes::ListShape.new(name: 'ErrorRootCauses')
58
60
  ErrorStatistics = Shapes::StructureShape.new(name: 'ErrorStatistics')
61
+ EventSummaryText = Shapes::StringShape.new(name: 'EventSummaryText')
59
62
  FaultRootCause = Shapes::StructureShape.new(name: 'FaultRootCause')
60
63
  FaultRootCauseEntity = Shapes::StructureShape.new(name: 'FaultRootCauseEntity')
61
64
  FaultRootCauseEntityPath = Shapes::ListShape.new(name: 'FaultRootCauseEntityPath')
@@ -65,6 +68,7 @@ module Aws::XRay
65
68
  FaultStatistics = Shapes::StructureShape.new(name: 'FaultStatistics')
66
69
  FilterExpression = Shapes::StringShape.new(name: 'FilterExpression')
67
70
  FixedRate = Shapes::FloatShape.new(name: 'FixedRate')
71
+ ForecastStatistics = Shapes::StructureShape.new(name: 'ForecastStatistics')
68
72
  GetEncryptionConfigRequest = Shapes::StructureShape.new(name: 'GetEncryptionConfigRequest')
69
73
  GetEncryptionConfigResult = Shapes::StructureShape.new(name: 'GetEncryptionConfigResult')
70
74
  GetGroupRequest = Shapes::StructureShape.new(name: 'GetGroupRequest')
@@ -72,6 +76,16 @@ module Aws::XRay
72
76
  GetGroupsNextToken = Shapes::StringShape.new(name: 'GetGroupsNextToken')
73
77
  GetGroupsRequest = Shapes::StructureShape.new(name: 'GetGroupsRequest')
74
78
  GetGroupsResult = Shapes::StructureShape.new(name: 'GetGroupsResult')
79
+ GetInsightEventsMaxResults = Shapes::IntegerShape.new(name: 'GetInsightEventsMaxResults')
80
+ GetInsightEventsRequest = Shapes::StructureShape.new(name: 'GetInsightEventsRequest')
81
+ GetInsightEventsResult = Shapes::StructureShape.new(name: 'GetInsightEventsResult')
82
+ GetInsightImpactGraphRequest = Shapes::StructureShape.new(name: 'GetInsightImpactGraphRequest')
83
+ GetInsightImpactGraphResult = Shapes::StructureShape.new(name: 'GetInsightImpactGraphResult')
84
+ GetInsightRequest = Shapes::StructureShape.new(name: 'GetInsightRequest')
85
+ GetInsightResult = Shapes::StructureShape.new(name: 'GetInsightResult')
86
+ GetInsightSummariesMaxResults = Shapes::IntegerShape.new(name: 'GetInsightSummariesMaxResults')
87
+ GetInsightSummariesRequest = Shapes::StructureShape.new(name: 'GetInsightSummariesRequest')
88
+ GetInsightSummariesResult = Shapes::StructureShape.new(name: 'GetInsightSummariesResult')
75
89
  GetSamplingRulesRequest = Shapes::StructureShape.new(name: 'GetSamplingRulesRequest')
76
90
  GetSamplingRulesResult = Shapes::StructureShape.new(name: 'GetSamplingRulesResult')
77
91
  GetSamplingStatisticSummariesRequest = Shapes::StructureShape.new(name: 'GetSamplingStatisticSummariesRequest')
@@ -97,6 +111,21 @@ module Aws::XRay
97
111
  Host = Shapes::StringShape.new(name: 'Host')
98
112
  Hostname = Shapes::StringShape.new(name: 'Hostname')
99
113
  Http = Shapes::StructureShape.new(name: 'Http')
114
+ Insight = Shapes::StructureShape.new(name: 'Insight')
115
+ InsightCategory = Shapes::StringShape.new(name: 'InsightCategory')
116
+ InsightCategoryList = Shapes::ListShape.new(name: 'InsightCategoryList')
117
+ InsightEvent = Shapes::StructureShape.new(name: 'InsightEvent')
118
+ InsightEventList = Shapes::ListShape.new(name: 'InsightEventList')
119
+ InsightId = Shapes::StringShape.new(name: 'InsightId')
120
+ InsightImpactGraphEdge = Shapes::StructureShape.new(name: 'InsightImpactGraphEdge')
121
+ InsightImpactGraphEdgeList = Shapes::ListShape.new(name: 'InsightImpactGraphEdgeList')
122
+ InsightImpactGraphService = Shapes::StructureShape.new(name: 'InsightImpactGraphService')
123
+ InsightImpactGraphServiceList = Shapes::ListShape.new(name: 'InsightImpactGraphServiceList')
124
+ InsightState = Shapes::StringShape.new(name: 'InsightState')
125
+ InsightStateList = Shapes::ListShape.new(name: 'InsightStateList')
126
+ InsightSummary = Shapes::StructureShape.new(name: 'InsightSummary')
127
+ InsightSummaryList = Shapes::ListShape.new(name: 'InsightSummaryList')
128
+ InsightSummaryText = Shapes::StringShape.new(name: 'InsightSummaryText')
100
129
  InsightsConfiguration = Shapes::StructureShape.new(name: 'InsightsConfiguration')
101
130
  InstanceIdDetail = Shapes::StructureShape.new(name: 'InstanceIdDetail')
102
131
  Integer = Shapes::IntegerShape.new(name: 'Integer')
@@ -115,6 +144,7 @@ module Aws::XRay
115
144
  PutTraceSegmentsRequest = Shapes::StructureShape.new(name: 'PutTraceSegmentsRequest')
116
145
  PutTraceSegmentsResult = Shapes::StructureShape.new(name: 'PutTraceSegmentsResult')
117
146
  RequestCount = Shapes::IntegerShape.new(name: 'RequestCount')
147
+ RequestImpactStatistics = Shapes::StructureShape.new(name: 'RequestImpactStatistics')
118
148
  ReservoirSize = Shapes::IntegerShape.new(name: 'ReservoirSize')
119
149
  ResourceARN = Shapes::StringShape.new(name: 'ResourceARN')
120
150
  ResourceARNDetail = Shapes::StructureShape.new(name: 'ResourceARNDetail')
@@ -169,6 +199,7 @@ module Aws::XRay
169
199
  TimeSeriesServiceStatistics = Shapes::StructureShape.new(name: 'TimeSeriesServiceStatistics')
170
200
  TimeSeriesServiceStatisticsList = Shapes::ListShape.new(name: 'TimeSeriesServiceStatisticsList')
171
201
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
202
+ Token = Shapes::StringShape.new(name: 'Token')
172
203
  TooManyTagsException = Shapes::StructureShape.new(name: 'TooManyTagsException')
173
204
  Trace = Shapes::StructureShape.new(name: 'Trace')
174
205
  TraceAvailabilityZones = Shapes::ListShape.new(name: 'TraceAvailabilityZones')
@@ -216,6 +247,11 @@ module Aws::XRay
216
247
  Annotations.key = Shapes::ShapeRef.new(shape: AnnotationKey)
217
248
  Annotations.value = Shapes::ShapeRef.new(shape: ValuesWithServiceIds)
218
249
 
250
+ AnomalousService.add_member(:service_id, Shapes::ShapeRef.new(shape: ServiceId, location_name: "ServiceId"))
251
+ AnomalousService.struct_class = Types::AnomalousService
252
+
253
+ AnomalousServiceList.member = Shapes::ShapeRef.new(shape: AnomalousService)
254
+
219
255
  AttributeMap.key = Shapes::ShapeRef.new(shape: AttributeKey)
220
256
  AttributeMap.value = Shapes::ShapeRef.new(shape: AttributeValue)
221
257
 
@@ -345,6 +381,10 @@ module Aws::XRay
345
381
  FaultStatistics.add_member(:total_count, Shapes::ShapeRef.new(shape: NullableLong, location_name: "TotalCount"))
346
382
  FaultStatistics.struct_class = Types::FaultStatistics
347
383
 
384
+ ForecastStatistics.add_member(:fault_count_high, Shapes::ShapeRef.new(shape: NullableLong, location_name: "FaultCountHigh"))
385
+ ForecastStatistics.add_member(:fault_count_low, Shapes::ShapeRef.new(shape: NullableLong, location_name: "FaultCountLow"))
386
+ ForecastStatistics.struct_class = Types::ForecastStatistics
387
+
348
388
  GetEncryptionConfigRequest.struct_class = Types::GetEncryptionConfigRequest
349
389
 
350
390
  GetEncryptionConfigResult.add_member(:encryption_config, Shapes::ShapeRef.new(shape: EncryptionConfig, location_name: "EncryptionConfig"))
@@ -364,6 +404,49 @@ module Aws::XRay
364
404
  GetGroupsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
365
405
  GetGroupsResult.struct_class = Types::GetGroupsResult
366
406
 
407
+ GetInsightEventsRequest.add_member(:insight_id, Shapes::ShapeRef.new(shape: InsightId, required: true, location_name: "InsightId"))
408
+ GetInsightEventsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: GetInsightEventsMaxResults, location_name: "MaxResults"))
409
+ GetInsightEventsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
410
+ GetInsightEventsRequest.struct_class = Types::GetInsightEventsRequest
411
+
412
+ GetInsightEventsResult.add_member(:insight_events, Shapes::ShapeRef.new(shape: InsightEventList, location_name: "InsightEvents"))
413
+ GetInsightEventsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
414
+ GetInsightEventsResult.struct_class = Types::GetInsightEventsResult
415
+
416
+ GetInsightImpactGraphRequest.add_member(:insight_id, Shapes::ShapeRef.new(shape: InsightId, required: true, location_name: "InsightId"))
417
+ GetInsightImpactGraphRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "StartTime"))
418
+ GetInsightImpactGraphRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "EndTime"))
419
+ GetInsightImpactGraphRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
420
+ GetInsightImpactGraphRequest.struct_class = Types::GetInsightImpactGraphRequest
421
+
422
+ GetInsightImpactGraphResult.add_member(:insight_id, Shapes::ShapeRef.new(shape: InsightId, location_name: "InsightId"))
423
+ GetInsightImpactGraphResult.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "StartTime"))
424
+ GetInsightImpactGraphResult.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndTime"))
425
+ GetInsightImpactGraphResult.add_member(:service_graph_start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ServiceGraphStartTime"))
426
+ GetInsightImpactGraphResult.add_member(:service_graph_end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ServiceGraphEndTime"))
427
+ GetInsightImpactGraphResult.add_member(:services, Shapes::ShapeRef.new(shape: InsightImpactGraphServiceList, location_name: "Services"))
428
+ GetInsightImpactGraphResult.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
429
+ GetInsightImpactGraphResult.struct_class = Types::GetInsightImpactGraphResult
430
+
431
+ GetInsightRequest.add_member(:insight_id, Shapes::ShapeRef.new(shape: InsightId, required: true, location_name: "InsightId"))
432
+ GetInsightRequest.struct_class = Types::GetInsightRequest
433
+
434
+ GetInsightResult.add_member(:insight, Shapes::ShapeRef.new(shape: Insight, location_name: "Insight"))
435
+ GetInsightResult.struct_class = Types::GetInsightResult
436
+
437
+ GetInsightSummariesRequest.add_member(:states, Shapes::ShapeRef.new(shape: InsightStateList, location_name: "States"))
438
+ GetInsightSummariesRequest.add_member(:group_arn, Shapes::ShapeRef.new(shape: GroupARN, location_name: "GroupARN"))
439
+ GetInsightSummariesRequest.add_member(:group_name, Shapes::ShapeRef.new(shape: GroupName, location_name: "GroupName"))
440
+ GetInsightSummariesRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "StartTime"))
441
+ GetInsightSummariesRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "EndTime"))
442
+ GetInsightSummariesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: GetInsightSummariesMaxResults, location_name: "MaxResults"))
443
+ GetInsightSummariesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
444
+ GetInsightSummariesRequest.struct_class = Types::GetInsightSummariesRequest
445
+
446
+ GetInsightSummariesResult.add_member(:insight_summaries, Shapes::ShapeRef.new(shape: InsightSummaryList, location_name: "InsightSummaries"))
447
+ GetInsightSummariesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
448
+ GetInsightSummariesResult.struct_class = Types::GetInsightSummariesResult
449
+
367
450
  GetSamplingRulesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
368
451
  GetSamplingRulesRequest.struct_class = Types::GetSamplingRulesRequest
369
452
 
@@ -406,6 +489,7 @@ module Aws::XRay
406
489
  GetTimeSeriesServiceStatisticsRequest.add_member(:group_arn, Shapes::ShapeRef.new(shape: GroupARN, location_name: "GroupARN"))
407
490
  GetTimeSeriesServiceStatisticsRequest.add_member(:entity_selector_expression, Shapes::ShapeRef.new(shape: EntitySelectorExpression, location_name: "EntitySelectorExpression"))
408
491
  GetTimeSeriesServiceStatisticsRequest.add_member(:period, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "Period"))
492
+ GetTimeSeriesServiceStatisticsRequest.add_member(:forecast_statistics, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "ForecastStatistics"))
409
493
  GetTimeSeriesServiceStatisticsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
410
494
  GetTimeSeriesServiceStatisticsRequest.struct_class = Types::GetTimeSeriesServiceStatisticsRequest
411
495
 
@@ -464,7 +548,67 @@ module Aws::XRay
464
548
  Http.add_member(:client_ip, Shapes::ShapeRef.new(shape: String, location_name: "ClientIp"))
465
549
  Http.struct_class = Types::Http
466
550
 
551
+ Insight.add_member(:insight_id, Shapes::ShapeRef.new(shape: InsightId, location_name: "InsightId"))
552
+ Insight.add_member(:group_arn, Shapes::ShapeRef.new(shape: GroupARN, location_name: "GroupARN"))
553
+ Insight.add_member(:group_name, Shapes::ShapeRef.new(shape: GroupName, location_name: "GroupName"))
554
+ Insight.add_member(:root_cause_service_id, Shapes::ShapeRef.new(shape: ServiceId, location_name: "RootCauseServiceId"))
555
+ Insight.add_member(:categories, Shapes::ShapeRef.new(shape: InsightCategoryList, location_name: "Categories"))
556
+ Insight.add_member(:state, Shapes::ShapeRef.new(shape: InsightState, location_name: "State"))
557
+ Insight.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "StartTime"))
558
+ Insight.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndTime"))
559
+ Insight.add_member(:summary, Shapes::ShapeRef.new(shape: InsightSummaryText, location_name: "Summary"))
560
+ Insight.add_member(:client_request_impact_statistics, Shapes::ShapeRef.new(shape: RequestImpactStatistics, location_name: "ClientRequestImpactStatistics"))
561
+ Insight.add_member(:root_cause_service_request_impact_statistics, Shapes::ShapeRef.new(shape: RequestImpactStatistics, location_name: "RootCauseServiceRequestImpactStatistics"))
562
+ Insight.add_member(:top_anomalous_services, Shapes::ShapeRef.new(shape: AnomalousServiceList, location_name: "TopAnomalousServices"))
563
+ Insight.struct_class = Types::Insight
564
+
565
+ InsightCategoryList.member = Shapes::ShapeRef.new(shape: InsightCategory)
566
+
567
+ InsightEvent.add_member(:summary, Shapes::ShapeRef.new(shape: EventSummaryText, location_name: "Summary"))
568
+ InsightEvent.add_member(:event_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EventTime"))
569
+ InsightEvent.add_member(:client_request_impact_statistics, Shapes::ShapeRef.new(shape: RequestImpactStatistics, location_name: "ClientRequestImpactStatistics"))
570
+ InsightEvent.add_member(:root_cause_service_request_impact_statistics, Shapes::ShapeRef.new(shape: RequestImpactStatistics, location_name: "RootCauseServiceRequestImpactStatistics"))
571
+ InsightEvent.add_member(:top_anomalous_services, Shapes::ShapeRef.new(shape: AnomalousServiceList, location_name: "TopAnomalousServices"))
572
+ InsightEvent.struct_class = Types::InsightEvent
573
+
574
+ InsightEventList.member = Shapes::ShapeRef.new(shape: InsightEvent)
575
+
576
+ InsightImpactGraphEdge.add_member(:reference_id, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "ReferenceId"))
577
+ InsightImpactGraphEdge.struct_class = Types::InsightImpactGraphEdge
578
+
579
+ InsightImpactGraphEdgeList.member = Shapes::ShapeRef.new(shape: InsightImpactGraphEdge)
580
+
581
+ InsightImpactGraphService.add_member(:reference_id, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "ReferenceId"))
582
+ InsightImpactGraphService.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
583
+ InsightImpactGraphService.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
584
+ InsightImpactGraphService.add_member(:names, Shapes::ShapeRef.new(shape: ServiceNames, location_name: "Names"))
585
+ InsightImpactGraphService.add_member(:account_id, Shapes::ShapeRef.new(shape: String, location_name: "AccountId"))
586
+ InsightImpactGraphService.add_member(:edges, Shapes::ShapeRef.new(shape: InsightImpactGraphEdgeList, location_name: "Edges"))
587
+ InsightImpactGraphService.struct_class = Types::InsightImpactGraphService
588
+
589
+ InsightImpactGraphServiceList.member = Shapes::ShapeRef.new(shape: InsightImpactGraphService)
590
+
591
+ InsightStateList.member = Shapes::ShapeRef.new(shape: InsightState)
592
+
593
+ InsightSummary.add_member(:insight_id, Shapes::ShapeRef.new(shape: InsightId, location_name: "InsightId"))
594
+ InsightSummary.add_member(:group_arn, Shapes::ShapeRef.new(shape: GroupARN, location_name: "GroupARN"))
595
+ InsightSummary.add_member(:group_name, Shapes::ShapeRef.new(shape: GroupName, location_name: "GroupName"))
596
+ InsightSummary.add_member(:root_cause_service_id, Shapes::ShapeRef.new(shape: ServiceId, location_name: "RootCauseServiceId"))
597
+ InsightSummary.add_member(:categories, Shapes::ShapeRef.new(shape: InsightCategoryList, location_name: "Categories"))
598
+ InsightSummary.add_member(:state, Shapes::ShapeRef.new(shape: InsightState, location_name: "State"))
599
+ InsightSummary.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "StartTime"))
600
+ InsightSummary.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndTime"))
601
+ InsightSummary.add_member(:summary, Shapes::ShapeRef.new(shape: InsightSummaryText, location_name: "Summary"))
602
+ InsightSummary.add_member(:client_request_impact_statistics, Shapes::ShapeRef.new(shape: RequestImpactStatistics, location_name: "ClientRequestImpactStatistics"))
603
+ InsightSummary.add_member(:root_cause_service_request_impact_statistics, Shapes::ShapeRef.new(shape: RequestImpactStatistics, location_name: "RootCauseServiceRequestImpactStatistics"))
604
+ InsightSummary.add_member(:top_anomalous_services, Shapes::ShapeRef.new(shape: AnomalousServiceList, location_name: "TopAnomalousServices"))
605
+ InsightSummary.add_member(:last_update_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastUpdateTime"))
606
+ InsightSummary.struct_class = Types::InsightSummary
607
+
608
+ InsightSummaryList.member = Shapes::ShapeRef.new(shape: InsightSummary)
609
+
467
610
  InsightsConfiguration.add_member(:insights_enabled, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "InsightsEnabled"))
611
+ InsightsConfiguration.add_member(:notifications_enabled, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "NotificationsEnabled"))
468
612
  InsightsConfiguration.struct_class = Types::InsightsConfiguration
469
613
 
470
614
  InstanceIdDetail.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "Id"))
@@ -502,6 +646,11 @@ module Aws::XRay
502
646
  PutTraceSegmentsResult.add_member(:unprocessed_trace_segments, Shapes::ShapeRef.new(shape: UnprocessedTraceSegmentList, location_name: "UnprocessedTraceSegments"))
503
647
  PutTraceSegmentsResult.struct_class = Types::PutTraceSegmentsResult
504
648
 
649
+ RequestImpactStatistics.add_member(:fault_count, Shapes::ShapeRef.new(shape: NullableLong, location_name: "FaultCount"))
650
+ RequestImpactStatistics.add_member(:ok_count, Shapes::ShapeRef.new(shape: NullableLong, location_name: "OkCount"))
651
+ RequestImpactStatistics.add_member(:total_count, Shapes::ShapeRef.new(shape: NullableLong, location_name: "TotalCount"))
652
+ RequestImpactStatistics.struct_class = Types::RequestImpactStatistics
653
+
505
654
  ResourceARNDetail.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "ARN"))
506
655
  ResourceARNDetail.struct_class = Types::ResourceARNDetail
507
656
 
@@ -679,6 +828,7 @@ module Aws::XRay
679
828
  TimeSeriesServiceStatistics.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "Timestamp"))
680
829
  TimeSeriesServiceStatistics.add_member(:edge_summary_statistics, Shapes::ShapeRef.new(shape: EdgeStatistics, location_name: "EdgeSummaryStatistics"))
681
830
  TimeSeriesServiceStatistics.add_member(:service_summary_statistics, Shapes::ShapeRef.new(shape: ServiceStatistics, location_name: "ServiceSummaryStatistics"))
831
+ TimeSeriesServiceStatistics.add_member(:service_forecast_statistics, Shapes::ShapeRef.new(shape: ForecastStatistics, location_name: "ServiceForecastStatistics"))
682
832
  TimeSeriesServiceStatistics.add_member(:response_time_histogram, Shapes::ShapeRef.new(shape: Histogram, location_name: "ResponseTimeHistogram"))
683
833
  TimeSeriesServiceStatistics.struct_class = Types::TimeSeriesServiceStatistics
684
834
 
@@ -690,6 +840,7 @@ module Aws::XRay
690
840
 
691
841
  Trace.add_member(:id, Shapes::ShapeRef.new(shape: TraceId, location_name: "Id"))
692
842
  Trace.add_member(:duration, Shapes::ShapeRef.new(shape: NullableDouble, location_name: "Duration"))
843
+ Trace.add_member(:limit_exceeded, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "LimitExceeded"))
693
844
  Trace.add_member(:segments, Shapes::ShapeRef.new(shape: SegmentList, location_name: "Segments"))
694
845
  Trace.struct_class = Types::Trace
695
846
 
@@ -885,6 +1036,58 @@ module Aws::XRay
885
1036
  )
886
1037
  end)
887
1038
 
1039
+ api.add_operation(:get_insight, Seahorse::Model::Operation.new.tap do |o|
1040
+ o.name = "GetInsight"
1041
+ o.http_method = "POST"
1042
+ o.http_request_uri = "/Insight"
1043
+ o.input = Shapes::ShapeRef.new(shape: GetInsightRequest)
1044
+ o.output = Shapes::ShapeRef.new(shape: GetInsightResult)
1045
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1046
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
1047
+ end)
1048
+
1049
+ api.add_operation(:get_insight_events, Seahorse::Model::Operation.new.tap do |o|
1050
+ o.name = "GetInsightEvents"
1051
+ o.http_method = "POST"
1052
+ o.http_request_uri = "/InsightEvents"
1053
+ o.input = Shapes::ShapeRef.new(shape: GetInsightEventsRequest)
1054
+ o.output = Shapes::ShapeRef.new(shape: GetInsightEventsResult)
1055
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1056
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
1057
+ o[:pager] = Aws::Pager.new(
1058
+ limit_key: "max_results",
1059
+ tokens: {
1060
+ "next_token" => "next_token"
1061
+ }
1062
+ )
1063
+ end)
1064
+
1065
+ api.add_operation(:get_insight_impact_graph, Seahorse::Model::Operation.new.tap do |o|
1066
+ o.name = "GetInsightImpactGraph"
1067
+ o.http_method = "POST"
1068
+ o.http_request_uri = "/InsightImpactGraph"
1069
+ o.input = Shapes::ShapeRef.new(shape: GetInsightImpactGraphRequest)
1070
+ o.output = Shapes::ShapeRef.new(shape: GetInsightImpactGraphResult)
1071
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1072
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
1073
+ end)
1074
+
1075
+ api.add_operation(:get_insight_summaries, Seahorse::Model::Operation.new.tap do |o|
1076
+ o.name = "GetInsightSummaries"
1077
+ o.http_method = "POST"
1078
+ o.http_request_uri = "/InsightSummaries"
1079
+ o.input = Shapes::ShapeRef.new(shape: GetInsightSummariesRequest)
1080
+ o.output = Shapes::ShapeRef.new(shape: GetInsightSummariesResult)
1081
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1082
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
1083
+ o[:pager] = Aws::Pager.new(
1084
+ limit_key: "max_results",
1085
+ tokens: {
1086
+ "next_token" => "next_token"
1087
+ }
1088
+ )
1089
+ end)
1090
+
888
1091
  api.add_operation(:get_sampling_rules, Seahorse::Model::Operation.new.tap do |o|
889
1092
  o.name = "GetSamplingRules"
890
1093
  o.http_method = "POST"
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -35,7 +35,7 @@ module Aws::XRay
35
35
  end
36
36
 
37
37
  # Value of a segment annotation. Has one of three value types: Number,
38
- # Boolean or String.
38
+ # Boolean, or String.
39
39
  #
40
40
  # @!attribute [rw] number_value
41
41
  # Value for a Number annotation.
@@ -59,10 +59,24 @@ module Aws::XRay
59
59
  include Aws::Structure
60
60
  end
61
61
 
62
- # A list of availability zones corresponding to the segments in a trace.
62
+ # The service within the service graph that has anomalously high fault
63
+ # rates.
64
+ #
65
+ # @!attribute [rw] service_id
66
+ # @return [Types::ServiceId]
67
+ #
68
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/AnomalousService AWS API Documentation
69
+ #
70
+ class AnomalousService < Struct.new(
71
+ :service_id)
72
+ SENSITIVE = []
73
+ include Aws::Structure
74
+ end
75
+
76
+ # A list of Availability Zones corresponding to the segments in a trace.
63
77
  #
64
78
  # @!attribute [rw] name
65
- # The name of a corresponding availability zone.
79
+ # The name of a corresponding Availability Zone.
66
80
  # @return [String]
67
81
  #
68
82
  # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/AvailabilityZoneDetail AWS API Documentation
@@ -171,6 +185,7 @@ module Aws::XRay
171
185
  # filter_expression: "FilterExpression",
172
186
  # insights_configuration: {
173
187
  # insights_enabled: false,
188
+ # notifications_enabled: false,
174
189
  # },
175
190
  # tags: [
176
191
  # {
@@ -190,9 +205,14 @@ module Aws::XRay
190
205
  # @return [String]
191
206
  #
192
207
  # @!attribute [rw] insights_configuration
193
- # The structure containing configurations related to insights. The
194
- # InsightsEnabled boolean can be set to true to enable insights for
195
- # the new group or false to disable insights for the new group.
208
+ # The structure containing configurations related to insights.
209
+ #
210
+ # * The InsightsEnabled boolean can be set to true to enable insights
211
+ # for the new group or false to disable insights for the new group.
212
+ #
213
+ # * The NotifcationsEnabled boolean can be set to true to enable
214
+ # insights notifications for the new group. Notifications may only
215
+ # be enabled on a group with InsightsEnabled set to true.
196
216
  # @return [Types::InsightsConfiguration]
197
217
  #
198
218
  # @!attribute [rw] tags
@@ -234,9 +254,9 @@ module Aws::XRay
234
254
 
235
255
  # @!attribute [rw] group
236
256
  # The group that was created. Contains the name of the group that was
237
- # created, the ARN of the group that was generated based on the group
238
- # name, the filter expression, and the insight configuration that was
239
- # assigned to the group.
257
+ # created, the Amazon Resource Name (ARN) of the group that was
258
+ # generated based on the group name, the filter expression, and the
259
+ # insight configuration that was assigned to the group.
240
260
  # @return [Types::Group]
241
261
  #
242
262
  # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/CreateGroupResult AWS API Documentation
@@ -722,6 +742,26 @@ module Aws::XRay
722
742
  include Aws::Structure
723
743
  end
724
744
 
745
+ # The predicted high and low fault count. This is used to determine if a
746
+ # service has become anomalous and if an insight should be created.
747
+ #
748
+ # @!attribute [rw] fault_count_high
749
+ # The upper limit of fault counts for a service.
750
+ # @return [Integer]
751
+ #
752
+ # @!attribute [rw] fault_count_low
753
+ # The lower limit of fault counts for a service.
754
+ # @return [Integer]
755
+ #
756
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/ForecastStatistics AWS API Documentation
757
+ #
758
+ class ForecastStatistics < Struct.new(
759
+ :fault_count_high,
760
+ :fault_count_low)
761
+ SENSITIVE = []
762
+ include Aws::Structure
763
+ end
764
+
725
765
  # @api private
726
766
  #
727
767
  # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetEncryptionConfigRequest AWS API Documentation
@@ -767,8 +807,8 @@ module Aws::XRay
767
807
 
768
808
  # @!attribute [rw] group
769
809
  # The group that was requested. Contains the name of the group, the
770
- # ARN of the group, and the filter expression that assigned to the
771
- # group.
810
+ # ARN of the group, the filter expression, and the insight
811
+ # configuration assigned to the group.
772
812
  # @return [Types::Group]
773
813
  #
774
814
  # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetGroupResult AWS API Documentation
@@ -815,6 +855,253 @@ module Aws::XRay
815
855
  include Aws::Structure
816
856
  end
817
857
 
858
+ # @note When making an API call, you may pass GetInsightEventsRequest
859
+ # data as a hash:
860
+ #
861
+ # {
862
+ # insight_id: "InsightId", # required
863
+ # max_results: 1,
864
+ # next_token: "Token",
865
+ # }
866
+ #
867
+ # @!attribute [rw] insight_id
868
+ # The insight's unique identifier. Use the GetInsightSummaries action
869
+ # to retrieve an InsightId.
870
+ # @return [String]
871
+ #
872
+ # @!attribute [rw] max_results
873
+ # Used to retrieve at most the specified value of events.
874
+ # @return [Integer]
875
+ #
876
+ # @!attribute [rw] next_token
877
+ # Specify the pagination token returned by a previous request to
878
+ # retrieve the next page of events.
879
+ # @return [String]
880
+ #
881
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetInsightEventsRequest AWS API Documentation
882
+ #
883
+ class GetInsightEventsRequest < Struct.new(
884
+ :insight_id,
885
+ :max_results,
886
+ :next_token)
887
+ SENSITIVE = []
888
+ include Aws::Structure
889
+ end
890
+
891
+ # @!attribute [rw] insight_events
892
+ # A detailed description of the event. This includes the time of the
893
+ # event, client and root cause impact statistics, and the top
894
+ # anomalous service at the time of the event.
895
+ # @return [Array<Types::InsightEvent>]
896
+ #
897
+ # @!attribute [rw] next_token
898
+ # Use this token to retrieve the next page of insight events.
899
+ # @return [String]
900
+ #
901
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetInsightEventsResult AWS API Documentation
902
+ #
903
+ class GetInsightEventsResult < Struct.new(
904
+ :insight_events,
905
+ :next_token)
906
+ SENSITIVE = []
907
+ include Aws::Structure
908
+ end
909
+
910
+ # @note When making an API call, you may pass GetInsightImpactGraphRequest
911
+ # data as a hash:
912
+ #
913
+ # {
914
+ # insight_id: "InsightId", # required
915
+ # start_time: Time.now, # required
916
+ # end_time: Time.now, # required
917
+ # next_token: "Token",
918
+ # }
919
+ #
920
+ # @!attribute [rw] insight_id
921
+ # The insight's unique identifier. Use the GetInsightSummaries action
922
+ # to retrieve an InsightId.
923
+ # @return [String]
924
+ #
925
+ # @!attribute [rw] start_time
926
+ # The estimated start time of the insight, in Unix time seconds. The
927
+ # StartTime is inclusive of the value provided and can't be more than
928
+ # 30 days old.
929
+ # @return [Time]
930
+ #
931
+ # @!attribute [rw] end_time
932
+ # The estimated end time of the insight, in Unix time seconds. The
933
+ # EndTime is exclusive of the value provided. The time range between
934
+ # the start time and end time can't be more than six hours.
935
+ # @return [Time]
936
+ #
937
+ # @!attribute [rw] next_token
938
+ # Specify the pagination token returned by a previous request to
939
+ # retrieve the next page of results.
940
+ # @return [String]
941
+ #
942
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetInsightImpactGraphRequest AWS API Documentation
943
+ #
944
+ class GetInsightImpactGraphRequest < Struct.new(
945
+ :insight_id,
946
+ :start_time,
947
+ :end_time,
948
+ :next_token)
949
+ SENSITIVE = []
950
+ include Aws::Structure
951
+ end
952
+
953
+ # @!attribute [rw] insight_id
954
+ # The insight's unique identifier.
955
+ # @return [String]
956
+ #
957
+ # @!attribute [rw] start_time
958
+ # The provided start time.
959
+ # @return [Time]
960
+ #
961
+ # @!attribute [rw] end_time
962
+ # The provided end time.
963
+ # @return [Time]
964
+ #
965
+ # @!attribute [rw] service_graph_start_time
966
+ # The time, in Unix seconds, at which the service graph started.
967
+ # @return [Time]
968
+ #
969
+ # @!attribute [rw] service_graph_end_time
970
+ # The time, in Unix seconds, at which the service graph ended.
971
+ # @return [Time]
972
+ #
973
+ # @!attribute [rw] services
974
+ # The AWS instrumented services related to the insight.
975
+ # @return [Array<Types::InsightImpactGraphService>]
976
+ #
977
+ # @!attribute [rw] next_token
978
+ # Pagination token.
979
+ # @return [String]
980
+ #
981
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetInsightImpactGraphResult AWS API Documentation
982
+ #
983
+ class GetInsightImpactGraphResult < Struct.new(
984
+ :insight_id,
985
+ :start_time,
986
+ :end_time,
987
+ :service_graph_start_time,
988
+ :service_graph_end_time,
989
+ :services,
990
+ :next_token)
991
+ SENSITIVE = []
992
+ include Aws::Structure
993
+ end
994
+
995
+ # @note When making an API call, you may pass GetInsightRequest
996
+ # data as a hash:
997
+ #
998
+ # {
999
+ # insight_id: "InsightId", # required
1000
+ # }
1001
+ #
1002
+ # @!attribute [rw] insight_id
1003
+ # The insight's unique identifier. Use the GetInsightSummaries action
1004
+ # to retrieve an InsightId.
1005
+ # @return [String]
1006
+ #
1007
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetInsightRequest AWS API Documentation
1008
+ #
1009
+ class GetInsightRequest < Struct.new(
1010
+ :insight_id)
1011
+ SENSITIVE = []
1012
+ include Aws::Structure
1013
+ end
1014
+
1015
+ # @!attribute [rw] insight
1016
+ # The summary information of an insight.
1017
+ # @return [Types::Insight]
1018
+ #
1019
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetInsightResult AWS API Documentation
1020
+ #
1021
+ class GetInsightResult < Struct.new(
1022
+ :insight)
1023
+ SENSITIVE = []
1024
+ include Aws::Structure
1025
+ end
1026
+
1027
+ # @note When making an API call, you may pass GetInsightSummariesRequest
1028
+ # data as a hash:
1029
+ #
1030
+ # {
1031
+ # states: ["ACTIVE"], # accepts ACTIVE, CLOSED
1032
+ # group_arn: "GroupARN",
1033
+ # group_name: "GroupName",
1034
+ # start_time: Time.now, # required
1035
+ # end_time: Time.now, # required
1036
+ # max_results: 1,
1037
+ # next_token: "Token",
1038
+ # }
1039
+ #
1040
+ # @!attribute [rw] states
1041
+ # The list of insight states.
1042
+ # @return [Array<String>]
1043
+ #
1044
+ # @!attribute [rw] group_arn
1045
+ # The Amazon Resource Name (ARN) of the group. Required if the
1046
+ # GroupName isn't provided.
1047
+ # @return [String]
1048
+ #
1049
+ # @!attribute [rw] group_name
1050
+ # The name of the group. Required if the GroupARN isn't provided.
1051
+ # @return [String]
1052
+ #
1053
+ # @!attribute [rw] start_time
1054
+ # The beginning of the time frame in which the insights started. The
1055
+ # start time can't be more than 30 days old.
1056
+ # @return [Time]
1057
+ #
1058
+ # @!attribute [rw] end_time
1059
+ # The end of the time frame in which the insights ended. The end time
1060
+ # can't be more than 30 days old.
1061
+ # @return [Time]
1062
+ #
1063
+ # @!attribute [rw] max_results
1064
+ # The maximum number of results to display.
1065
+ # @return [Integer]
1066
+ #
1067
+ # @!attribute [rw] next_token
1068
+ # Pagination token.
1069
+ # @return [String]
1070
+ #
1071
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetInsightSummariesRequest AWS API Documentation
1072
+ #
1073
+ class GetInsightSummariesRequest < Struct.new(
1074
+ :states,
1075
+ :group_arn,
1076
+ :group_name,
1077
+ :start_time,
1078
+ :end_time,
1079
+ :max_results,
1080
+ :next_token)
1081
+ SENSITIVE = []
1082
+ include Aws::Structure
1083
+ end
1084
+
1085
+ # @!attribute [rw] insight_summaries
1086
+ # The summary of each insight within the group matching the provided
1087
+ # filters. The summary contains the InsightID, start and end time, the
1088
+ # root cause service, the root cause and client impact statistics, the
1089
+ # top anomalous services, and the status of the insight.
1090
+ # @return [Array<Types::InsightSummary>]
1091
+ #
1092
+ # @!attribute [rw] next_token
1093
+ # Pagination token.
1094
+ # @return [String]
1095
+ #
1096
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetInsightSummariesResult AWS API Documentation
1097
+ #
1098
+ class GetInsightSummariesResult < Struct.new(
1099
+ :insight_summaries,
1100
+ :next_token)
1101
+ SENSITIVE = []
1102
+ include Aws::Structure
1103
+ end
1104
+
818
1105
  # @note When making an API call, you may pass GetSamplingRulesRequest
819
1106
  # data as a hash:
820
1107
  #
@@ -963,11 +1250,12 @@ module Aws::XRay
963
1250
  # @return [Time]
964
1251
  #
965
1252
  # @!attribute [rw] group_name
966
- # The name of a group to generate a graph based on.
1253
+ # The name of a group based on which you want to generate a graph.
967
1254
  # @return [String]
968
1255
  #
969
1256
  # @!attribute [rw] group_arn
970
- # The ARN of a group to generate a graph based on.
1257
+ # The Amazon Resource Name (ARN) of a group based on which you want to
1258
+ # generate a graph.
971
1259
  # @return [String]
972
1260
  #
973
1261
  # @!attribute [rw] next_token
@@ -1031,6 +1319,7 @@ module Aws::XRay
1031
1319
  # group_arn: "GroupARN",
1032
1320
  # entity_selector_expression: "EntitySelectorExpression",
1033
1321
  # period: 1,
1322
+ # forecast_statistics: false,
1034
1323
  # next_token: "String",
1035
1324
  # }
1036
1325
  #
@@ -1048,7 +1337,8 @@ module Aws::XRay
1048
1337
  # @return [String]
1049
1338
  #
1050
1339
  # @!attribute [rw] group_arn
1051
- # The ARN of the group for which to pull statistics from.
1340
+ # The Amazon Resource Name (ARN) of the group for which to pull
1341
+ # statistics from.
1052
1342
  # @return [String]
1053
1343
  #
1054
1344
  # @!attribute [rw] entity_selector_expression
@@ -1061,6 +1351,11 @@ module Aws::XRay
1061
1351
  # Aggregation period in seconds.
1062
1352
  # @return [Integer]
1063
1353
  #
1354
+ # @!attribute [rw] forecast_statistics
1355
+ # The forecasted high and low fault count values. Forecast enabled
1356
+ # requests require the EntitySelectorExpression ID be provided.
1357
+ # @return [Boolean]
1358
+ #
1064
1359
  # @!attribute [rw] next_token
1065
1360
  # Pagination token.
1066
1361
  # @return [String]
@@ -1074,6 +1369,7 @@ module Aws::XRay
1074
1369
  :group_arn,
1075
1370
  :entity_selector_expression,
1076
1371
  :period,
1372
+ :forecast_statistics,
1077
1373
  :next_token)
1078
1374
  SENSITIVE = []
1079
1375
  include Aws::Structure
@@ -1085,7 +1381,7 @@ module Aws::XRay
1085
1381
  #
1086
1382
  # @!attribute [rw] contains_old_group_versions
1087
1383
  # A flag indicating whether or not a group's filter expression has
1088
- # been consistent, or if a returned aggregation may show statistics
1384
+ # been consistent, or if a returned aggregation might show statistics
1089
1385
  # from an older version of the group's filter expression.
1090
1386
  # @return [Boolean]
1091
1387
  #
@@ -1180,7 +1476,7 @@ module Aws::XRay
1180
1476
  # @return [Boolean]
1181
1477
  #
1182
1478
  # @!attribute [rw] sampling_strategy
1183
- # A paramater to indicate whether to enable sampling on trace
1479
+ # A parameter to indicate whether to enable sampling on trace
1184
1480
  # summaries. Input parameters are Name and Value.
1185
1481
  # @return [Types::SamplingStrategy]
1186
1482
  #
@@ -1225,8 +1521,8 @@ module Aws::XRay
1225
1521
  # @!attribute [rw] next_token
1226
1522
  # If the requested time frame contained more than one page of results,
1227
1523
  # you can use this token to retrieve the next page. The first page
1228
- # contains the most most recent results, closest to the end of the
1229
- # time frame.
1524
+ # contains the most recent results, closest to the end of the time
1525
+ # frame.
1230
1526
  # @return [String]
1231
1527
  #
1232
1528
  # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetTraceSummariesResult AWS API Documentation
@@ -1247,7 +1543,8 @@ module Aws::XRay
1247
1543
  # @return [String]
1248
1544
  #
1249
1545
  # @!attribute [rw] group_arn
1250
- # The ARN of the group generated based on the GroupName.
1546
+ # The Amazon Resource Name (ARN) of the group generated based on the
1547
+ # GroupName.
1251
1548
  # @return [String]
1252
1549
  #
1253
1550
  # @!attribute [rw] filter_expression
@@ -1255,9 +1552,13 @@ module Aws::XRay
1255
1552
  # @return [String]
1256
1553
  #
1257
1554
  # @!attribute [rw] insights_configuration
1258
- # The structure containing configurations related to insights. The
1259
- # InsightsEnabled boolean can be set to true to enable insights for
1260
- # the group or false to disable insights for the group.
1555
+ # The structure containing configurations related to insights.
1556
+ #
1557
+ # * The InsightsEnabled boolean can be set to true to enable insights
1558
+ # for the group or false to disable insights for the group.
1559
+ #
1560
+ # * The NotifcationsEnabled boolean can be set to true to enable
1561
+ # insights notifications through Amazon EventBridge for the group.
1261
1562
  # @return [Types::InsightsConfiguration]
1262
1563
  #
1263
1564
  # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/Group AWS API Documentation
@@ -1286,9 +1587,14 @@ module Aws::XRay
1286
1587
  # @return [String]
1287
1588
  #
1288
1589
  # @!attribute [rw] insights_configuration
1289
- # The structure containing configurations related to insights. The
1290
- # InsightsEnabled boolean can be set to true to enable insights for
1291
- # the groups or false to disable insights for the groups.
1590
+ # The structure containing configurations related to insights.
1591
+ #
1592
+ # * The InsightsEnabled boolean can be set to true to enable insights
1593
+ # for the group or false to disable insights for the group.
1594
+ #
1595
+ # * The NotificationsEnabled boolean can be set to true to enable
1596
+ # insights notifications. Notifications can only be enabled on a
1597
+ # group with InsightsEnabled set to true.
1292
1598
  # @return [Types::InsightsConfiguration]
1293
1599
  #
1294
1600
  # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GroupSummary AWS API Documentation
@@ -1357,6 +1663,272 @@ module Aws::XRay
1357
1663
  include Aws::Structure
1358
1664
  end
1359
1665
 
1666
+ # When fault rates go outside of the expected range, X-Ray creates an
1667
+ # insight. Insights tracks emergent issues within your applications.
1668
+ #
1669
+ # @!attribute [rw] insight_id
1670
+ # The insights unique identifier.
1671
+ # @return [String]
1672
+ #
1673
+ # @!attribute [rw] group_arn
1674
+ # The Amazon Resource Name (ARN) of the group that the insight belongs
1675
+ # to.
1676
+ # @return [String]
1677
+ #
1678
+ # @!attribute [rw] group_name
1679
+ # The name of the group that the insight belongs to.
1680
+ # @return [String]
1681
+ #
1682
+ # @!attribute [rw] root_cause_service_id
1683
+ # @return [Types::ServiceId]
1684
+ #
1685
+ # @!attribute [rw] categories
1686
+ # The categories that label and describe the type of insight.
1687
+ # @return [Array<String>]
1688
+ #
1689
+ # @!attribute [rw] state
1690
+ # The current state of the insight.
1691
+ # @return [String]
1692
+ #
1693
+ # @!attribute [rw] start_time
1694
+ # The time, in Unix seconds, at which the insight began.
1695
+ # @return [Time]
1696
+ #
1697
+ # @!attribute [rw] end_time
1698
+ # The time, in Unix seconds, at which the insight ended.
1699
+ # @return [Time]
1700
+ #
1701
+ # @!attribute [rw] summary
1702
+ # A brief description of the insight.
1703
+ # @return [String]
1704
+ #
1705
+ # @!attribute [rw] client_request_impact_statistics
1706
+ # The impact statistics of the client side service. This includes the
1707
+ # number of requests to the client service and whether the requests
1708
+ # were faults or okay.
1709
+ # @return [Types::RequestImpactStatistics]
1710
+ #
1711
+ # @!attribute [rw] root_cause_service_request_impact_statistics
1712
+ # The impact statistics of the root cause service. This includes the
1713
+ # number of requests to the client service and whether the requests
1714
+ # were faults or okay.
1715
+ # @return [Types::RequestImpactStatistics]
1716
+ #
1717
+ # @!attribute [rw] top_anomalous_services
1718
+ # The service within the insight that is most impacted by the
1719
+ # incident.
1720
+ # @return [Array<Types::AnomalousService>]
1721
+ #
1722
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/Insight AWS API Documentation
1723
+ #
1724
+ class Insight < Struct.new(
1725
+ :insight_id,
1726
+ :group_arn,
1727
+ :group_name,
1728
+ :root_cause_service_id,
1729
+ :categories,
1730
+ :state,
1731
+ :start_time,
1732
+ :end_time,
1733
+ :summary,
1734
+ :client_request_impact_statistics,
1735
+ :root_cause_service_request_impact_statistics,
1736
+ :top_anomalous_services)
1737
+ SENSITIVE = []
1738
+ include Aws::Structure
1739
+ end
1740
+
1741
+ # X-Ray reevaluates insights periodically until they are resolved, and
1742
+ # records each intermediate state in an event. You can review incident
1743
+ # events in the Impact Timeline on the Inspect page in the X-Ray
1744
+ # console.
1745
+ #
1746
+ # @!attribute [rw] summary
1747
+ # A brief description of the event.
1748
+ # @return [String]
1749
+ #
1750
+ # @!attribute [rw] event_time
1751
+ # The time, in Unix seconds, at which the event was recorded.
1752
+ # @return [Time]
1753
+ #
1754
+ # @!attribute [rw] client_request_impact_statistics
1755
+ # The impact statistics of the client side service. This includes the
1756
+ # number of requests to the client service and whether the requests
1757
+ # were faults or okay.
1758
+ # @return [Types::RequestImpactStatistics]
1759
+ #
1760
+ # @!attribute [rw] root_cause_service_request_impact_statistics
1761
+ # The impact statistics of the root cause service. This includes the
1762
+ # number of requests to the client service and whether the requests
1763
+ # were faults or okay.
1764
+ # @return [Types::RequestImpactStatistics]
1765
+ #
1766
+ # @!attribute [rw] top_anomalous_services
1767
+ # The service during the event that is most impacted by the incident.
1768
+ # @return [Array<Types::AnomalousService>]
1769
+ #
1770
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/InsightEvent AWS API Documentation
1771
+ #
1772
+ class InsightEvent < Struct.new(
1773
+ :summary,
1774
+ :event_time,
1775
+ :client_request_impact_statistics,
1776
+ :root_cause_service_request_impact_statistics,
1777
+ :top_anomalous_services)
1778
+ SENSITIVE = []
1779
+ include Aws::Structure
1780
+ end
1781
+
1782
+ # The connection between two service in an insight impact graph.
1783
+ #
1784
+ # @!attribute [rw] reference_id
1785
+ # Identifier of the edge. Unique within a service map.
1786
+ # @return [Integer]
1787
+ #
1788
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/InsightImpactGraphEdge AWS API Documentation
1789
+ #
1790
+ class InsightImpactGraphEdge < Struct.new(
1791
+ :reference_id)
1792
+ SENSITIVE = []
1793
+ include Aws::Structure
1794
+ end
1795
+
1796
+ # Information about an application that processed requests, users that
1797
+ # made requests, or downstream services, resources, and applications
1798
+ # that an application used.
1799
+ #
1800
+ # @!attribute [rw] reference_id
1801
+ # Identifier for the service. Unique within the service map.
1802
+ # @return [Integer]
1803
+ #
1804
+ # @!attribute [rw] type
1805
+ # Identifier for the service. Unique within the service map.
1806
+ #
1807
+ # * AWS Resource - The type of an AWS resource. For example,
1808
+ # AWS::EC2::Instance for an application running on Amazon EC2 or
1809
+ # AWS::DynamoDB::Table for an Amazon DynamoDB table that the
1810
+ # application used.
1811
+ #
1812
+ # * AWS Service - The type of an AWS service. For example,
1813
+ # AWS::DynamoDB for downstream calls to Amazon DynamoDB that didn't
1814
+ # target a specific table.
1815
+ #
1816
+ # * AWS Service - The type of an AWS service. For example,
1817
+ # AWS::DynamoDB for downstream calls to Amazon DynamoDB that didn't
1818
+ # target a specific table.
1819
+ #
1820
+ # * remote - A downstream service of indeterminate type.
1821
+ # @return [String]
1822
+ #
1823
+ # @!attribute [rw] name
1824
+ # The canonical name of the service.
1825
+ # @return [String]
1826
+ #
1827
+ # @!attribute [rw] names
1828
+ # A list of names for the service, including the canonical name.
1829
+ # @return [Array<String>]
1830
+ #
1831
+ # @!attribute [rw] account_id
1832
+ # Identifier of the AWS account in which the service runs.
1833
+ # @return [String]
1834
+ #
1835
+ # @!attribute [rw] edges
1836
+ # Connections to downstream services.
1837
+ # @return [Array<Types::InsightImpactGraphEdge>]
1838
+ #
1839
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/InsightImpactGraphService AWS API Documentation
1840
+ #
1841
+ class InsightImpactGraphService < Struct.new(
1842
+ :reference_id,
1843
+ :type,
1844
+ :name,
1845
+ :names,
1846
+ :account_id,
1847
+ :edges)
1848
+ SENSITIVE = []
1849
+ include Aws::Structure
1850
+ end
1851
+
1852
+ # Information that describes an insight.
1853
+ #
1854
+ # @!attribute [rw] insight_id
1855
+ # The insights unique identifier.
1856
+ # @return [String]
1857
+ #
1858
+ # @!attribute [rw] group_arn
1859
+ # The Amazon Resource Name (ARN) of the group that the insight belongs
1860
+ # to.
1861
+ # @return [String]
1862
+ #
1863
+ # @!attribute [rw] group_name
1864
+ # The name of the group that the insight belongs to.
1865
+ # @return [String]
1866
+ #
1867
+ # @!attribute [rw] root_cause_service_id
1868
+ # @return [Types::ServiceId]
1869
+ #
1870
+ # @!attribute [rw] categories
1871
+ # Categories The categories that label and describe the type of
1872
+ # insight.
1873
+ # @return [Array<String>]
1874
+ #
1875
+ # @!attribute [rw] state
1876
+ # The current state of the insight.
1877
+ # @return [String]
1878
+ #
1879
+ # @!attribute [rw] start_time
1880
+ # The time, in Unix seconds, at which the insight began.
1881
+ # @return [Time]
1882
+ #
1883
+ # @!attribute [rw] end_time
1884
+ # The time, in Unix seconds, at which the insight ended.
1885
+ # @return [Time]
1886
+ #
1887
+ # @!attribute [rw] summary
1888
+ # A brief description of the insight.
1889
+ # @return [String]
1890
+ #
1891
+ # @!attribute [rw] client_request_impact_statistics
1892
+ # The impact statistics of the client side service. This includes the
1893
+ # number of requests to the client service and whether the requests
1894
+ # were faults or okay.
1895
+ # @return [Types::RequestImpactStatistics]
1896
+ #
1897
+ # @!attribute [rw] root_cause_service_request_impact_statistics
1898
+ # The impact statistics of the root cause service. This includes the
1899
+ # number of requests to the client service and whether the requests
1900
+ # were faults or okay.
1901
+ # @return [Types::RequestImpactStatistics]
1902
+ #
1903
+ # @!attribute [rw] top_anomalous_services
1904
+ # The service within the insight that is most impacted by the
1905
+ # incident.
1906
+ # @return [Array<Types::AnomalousService>]
1907
+ #
1908
+ # @!attribute [rw] last_update_time
1909
+ # The time, in Unix seconds, that the insight was last updated.
1910
+ # @return [Time]
1911
+ #
1912
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/InsightSummary AWS API Documentation
1913
+ #
1914
+ class InsightSummary < Struct.new(
1915
+ :insight_id,
1916
+ :group_arn,
1917
+ :group_name,
1918
+ :root_cause_service_id,
1919
+ :categories,
1920
+ :state,
1921
+ :start_time,
1922
+ :end_time,
1923
+ :summary,
1924
+ :client_request_impact_statistics,
1925
+ :root_cause_service_request_impact_statistics,
1926
+ :top_anomalous_services,
1927
+ :last_update_time)
1928
+ SENSITIVE = []
1929
+ include Aws::Structure
1930
+ end
1931
+
1360
1932
  # The structure containing configurations related to insights.
1361
1933
  #
1362
1934
  # @note When making an API call, you may pass InsightsConfiguration
@@ -1364,6 +1936,7 @@ module Aws::XRay
1364
1936
  #
1365
1937
  # {
1366
1938
  # insights_enabled: false,
1939
+ # notifications_enabled: false,
1367
1940
  # }
1368
1941
  #
1369
1942
  # @!attribute [rw] insights_enabled
@@ -1371,10 +1944,17 @@ module Aws::XRay
1371
1944
  # disable insights.
1372
1945
  # @return [Boolean]
1373
1946
  #
1947
+ # @!attribute [rw] notifications_enabled
1948
+ # Set the NotificationsEnabled value to true to enable insights
1949
+ # notifications. Notifications can only be enabled on a group with
1950
+ # InsightsEnabled set to true.
1951
+ # @return [Boolean]
1952
+ #
1374
1953
  # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/InsightsConfiguration AWS API Documentation
1375
1954
  #
1376
1955
  class InsightsConfiguration < Struct.new(
1377
- :insights_enabled)
1956
+ :insights_enabled,
1957
+ :notifications_enabled)
1378
1958
  SENSITIVE = []
1379
1959
  include Aws::Structure
1380
1960
  end
@@ -1590,6 +2170,30 @@ module Aws::XRay
1590
2170
  include Aws::Structure
1591
2171
  end
1592
2172
 
2173
+ # Statistics that describe how the incident has impacted a service.
2174
+ #
2175
+ # @!attribute [rw] fault_count
2176
+ # The number of requests that have resulted in a fault,
2177
+ # @return [Integer]
2178
+ #
2179
+ # @!attribute [rw] ok_count
2180
+ # The number of successful requests.
2181
+ # @return [Integer]
2182
+ #
2183
+ # @!attribute [rw] total_count
2184
+ # The total number of requests to the service.
2185
+ # @return [Integer]
2186
+ #
2187
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/RequestImpactStatistics AWS API Documentation
2188
+ #
2189
+ class RequestImpactStatistics < Struct.new(
2190
+ :fault_count,
2191
+ :ok_count,
2192
+ :total_count)
2193
+ SENSITIVE = []
2194
+ include Aws::Structure
2195
+ end
2196
+
1593
2197
  # A list of resources ARNs corresponding to the segments in a trace.
1594
2198
  #
1595
2199
  # @!attribute [rw] arn
@@ -1604,8 +2208,8 @@ module Aws::XRay
1604
2208
  include Aws::Structure
1605
2209
  end
1606
2210
 
1607
- # The resource was not found. Verify that the name or ARN of the
1608
- # resource is correct.
2211
+ # The resource was not found. Verify that the name or Amazon Resource
2212
+ # Name (ARN) of the resource is correct.
1609
2213
  #
1610
2214
  # @!attribute [rw] message
1611
2215
  # @return [String]
@@ -1650,7 +2254,7 @@ module Aws::XRay
1650
2254
  # @return [String]
1651
2255
  #
1652
2256
  # @!attribute [rw] coverage
1653
- # The types and messages of the exceptions.
2257
+ # The type and messages of the exceptions.
1654
2258
  # @return [Float]
1655
2259
  #
1656
2260
  # @!attribute [rw] remote
@@ -1966,7 +2570,7 @@ module Aws::XRay
1966
2570
  end
1967
2571
 
1968
2572
  # Aggregated request sampling data for a sampling rule across all
1969
- # services for a 10 second window.
2573
+ # services for a 10-second window.
1970
2574
  #
1971
2575
  # @!attribute [rw] rule_name
1972
2576
  # The name of the sampling rule.
@@ -2095,7 +2699,8 @@ module Aws::XRay
2095
2699
  # @return [Float]
2096
2700
  #
2097
2701
  # @!attribute [rw] reservoir_quota
2098
- # The number of requests per second that X-Ray allocated this service.
2702
+ # The number of requests per second that X-Ray allocated for this
2703
+ # service.
2099
2704
  # @return [Integer]
2100
2705
  #
2101
2706
  # @!attribute [rw] reservoir_quota_ttl
@@ -2149,8 +2754,8 @@ module Aws::XRay
2149
2754
  end
2150
2755
 
2151
2756
  # Information about an application that processed requests, users that
2152
- # made requests, or downstream services, resources and applications that
2153
- # an application used.
2757
+ # made requests, or downstream services, resources, and applications
2758
+ # that an application used.
2154
2759
  #
2155
2760
  # @!attribute [rw] reference_id
2156
2761
  # Identifier for the service. Unique within the service map.
@@ -2177,7 +2782,7 @@ module Aws::XRay
2177
2782
  # The type of service.
2178
2783
  #
2179
2784
  # * AWS Resource - The type of an AWS resource. For example,
2180
- # `AWS::EC2::Instance` for a application running on Amazon EC2 or
2785
+ # `AWS::EC2::Instance` for an application running on Amazon EC2 or
2181
2786
  # `AWS::DynamoDB::Table` for an Amazon DynamoDB table that the
2182
2787
  # application used.
2183
2788
  #
@@ -2481,6 +3086,10 @@ module Aws::XRay
2481
3086
  # Response statistics for a service.
2482
3087
  # @return [Types::ServiceStatistics]
2483
3088
  #
3089
+ # @!attribute [rw] service_forecast_statistics
3090
+ # The forecasted high and low fault count values.
3091
+ # @return [Types::ForecastStatistics]
3092
+ #
2484
3093
  # @!attribute [rw] response_time_histogram
2485
3094
  # The response time histogram for the selected entities.
2486
3095
  # @return [Array<Types::HistogramEntry>]
@@ -2491,6 +3100,7 @@ module Aws::XRay
2491
3100
  :timestamp,
2492
3101
  :edge_summary_statistics,
2493
3102
  :service_summary_statistics,
3103
+ :service_forecast_statistics,
2494
3104
  :response_time_histogram)
2495
3105
  SENSITIVE = []
2496
3106
  include Aws::Structure
@@ -2526,6 +3136,16 @@ module Aws::XRay
2526
3136
  # segment and the end time of the last segment that completed.
2527
3137
  # @return [Float]
2528
3138
  #
3139
+ # @!attribute [rw] limit_exceeded
3140
+ # LimitExceeded is set to true when the trace has exceeded one of the
3141
+ # defined quotas. For more information about quotas, see [AWS X-Ray
3142
+ # endpoints and quotas][1].
3143
+ #
3144
+ #
3145
+ #
3146
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/xray.html
3147
+ # @return [Boolean]
3148
+ #
2529
3149
  # @!attribute [rw] segments
2530
3150
  # Segment documents for the segments and subsegments that comprise the
2531
3151
  # trace.
@@ -2536,6 +3156,7 @@ module Aws::XRay
2536
3156
  class Trace < Struct.new(
2537
3157
  :id,
2538
3158
  :duration,
3159
+ :limit_exceeded,
2539
3160
  :segments)
2540
3161
  SENSITIVE = []
2541
3162
  include Aws::Structure
@@ -2604,7 +3225,7 @@ module Aws::XRay
2604
3225
  # @return [Array<Types::InstanceIdDetail>]
2605
3226
  #
2606
3227
  # @!attribute [rw] availability_zones
2607
- # A list of availability zones for any zone corresponding to the trace
3228
+ # A list of Availability Zones for any zone corresponding to the trace
2608
3229
  # segments.
2609
3230
  # @return [Array<Types::AvailabilityZoneDetail>]
2610
3231
  #
@@ -2613,8 +3234,8 @@ module Aws::XRay
2613
3234
  # @return [Types::ServiceId]
2614
3235
  #
2615
3236
  # @!attribute [rw] fault_root_causes
2616
- # A collection of FaultRootCause structures corresponding to the the
2617
- # trace segments.
3237
+ # A collection of FaultRootCause structures corresponding to the trace
3238
+ # segments.
2618
3239
  # @return [Array<Types::FaultRootCause>]
2619
3240
  #
2620
3241
  # @!attribute [rw] error_root_causes
@@ -2769,6 +3390,7 @@ module Aws::XRay
2769
3390
  # filter_expression: "FilterExpression",
2770
3391
  # insights_configuration: {
2771
3392
  # insights_enabled: false,
3393
+ # notifications_enabled: false,
2772
3394
  # },
2773
3395
  # }
2774
3396
  #
@@ -2786,9 +3408,14 @@ module Aws::XRay
2786
3408
  # @return [String]
2787
3409
  #
2788
3410
  # @!attribute [rw] insights_configuration
2789
- # The structure containing configurations related to insights. The
2790
- # InsightsEnabled boolean can be set to true to enable insights for
2791
- # the group or false to disable insights for the group.
3411
+ # The structure containing configurations related to insights.
3412
+ #
3413
+ # * The InsightsEnabled boolean can be set to true to enable insights
3414
+ # for the group or false to disable insights for the group.
3415
+ #
3416
+ # * The NotifcationsEnabled boolean can be set to true to enable
3417
+ # insights notifications for the group. Notifications can only be
3418
+ # enabled on a group with InsightsEnabled set to true.
2792
3419
  # @return [Types::InsightsConfiguration]
2793
3420
  #
2794
3421
  # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/UpdateGroupRequest AWS API Documentation