aws-sdk-xray 1.30.0 → 1.35.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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,22 @@ 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')
129
+ InsightsConfiguration = Shapes::StructureShape.new(name: 'InsightsConfiguration')
100
130
  InstanceIdDetail = Shapes::StructureShape.new(name: 'InstanceIdDetail')
101
131
  Integer = Shapes::IntegerShape.new(name: 'Integer')
102
132
  InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
@@ -114,6 +144,7 @@ module Aws::XRay
114
144
  PutTraceSegmentsRequest = Shapes::StructureShape.new(name: 'PutTraceSegmentsRequest')
115
145
  PutTraceSegmentsResult = Shapes::StructureShape.new(name: 'PutTraceSegmentsResult')
116
146
  RequestCount = Shapes::IntegerShape.new(name: 'RequestCount')
147
+ RequestImpactStatistics = Shapes::StructureShape.new(name: 'RequestImpactStatistics')
117
148
  ReservoirSize = Shapes::IntegerShape.new(name: 'ReservoirSize')
118
149
  ResourceARN = Shapes::StringShape.new(name: 'ResourceARN')
119
150
  ResourceARNDetail = Shapes::StructureShape.new(name: 'ResourceARNDetail')
@@ -168,6 +199,7 @@ module Aws::XRay
168
199
  TimeSeriesServiceStatistics = Shapes::StructureShape.new(name: 'TimeSeriesServiceStatistics')
169
200
  TimeSeriesServiceStatisticsList = Shapes::ListShape.new(name: 'TimeSeriesServiceStatisticsList')
170
201
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
202
+ Token = Shapes::StringShape.new(name: 'Token')
171
203
  TooManyTagsException = Shapes::StructureShape.new(name: 'TooManyTagsException')
172
204
  Trace = Shapes::StructureShape.new(name: 'Trace')
173
205
  TraceAvailabilityZones = Shapes::ListShape.new(name: 'TraceAvailabilityZones')
@@ -215,6 +247,11 @@ module Aws::XRay
215
247
  Annotations.key = Shapes::ShapeRef.new(shape: AnnotationKey)
216
248
  Annotations.value = Shapes::ShapeRef.new(shape: ValuesWithServiceIds)
217
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
+
218
255
  AttributeMap.key = Shapes::ShapeRef.new(shape: AttributeKey)
219
256
  AttributeMap.value = Shapes::ShapeRef.new(shape: AttributeValue)
220
257
 
@@ -240,6 +277,7 @@ module Aws::XRay
240
277
 
241
278
  CreateGroupRequest.add_member(:group_name, Shapes::ShapeRef.new(shape: GroupName, required: true, location_name: "GroupName"))
242
279
  CreateGroupRequest.add_member(:filter_expression, Shapes::ShapeRef.new(shape: FilterExpression, location_name: "FilterExpression"))
280
+ CreateGroupRequest.add_member(:insights_configuration, Shapes::ShapeRef.new(shape: InsightsConfiguration, location_name: "InsightsConfiguration"))
243
281
  CreateGroupRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
244
282
  CreateGroupRequest.struct_class = Types::CreateGroupRequest
245
283
 
@@ -343,6 +381,10 @@ module Aws::XRay
343
381
  FaultStatistics.add_member(:total_count, Shapes::ShapeRef.new(shape: NullableLong, location_name: "TotalCount"))
344
382
  FaultStatistics.struct_class = Types::FaultStatistics
345
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
+
346
388
  GetEncryptionConfigRequest.struct_class = Types::GetEncryptionConfigRequest
347
389
 
348
390
  GetEncryptionConfigResult.add_member(:encryption_config, Shapes::ShapeRef.new(shape: EncryptionConfig, location_name: "EncryptionConfig"))
@@ -362,6 +404,49 @@ module Aws::XRay
362
404
  GetGroupsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
363
405
  GetGroupsResult.struct_class = Types::GetGroupsResult
364
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
+
365
450
  GetSamplingRulesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
366
451
  GetSamplingRulesRequest.struct_class = Types::GetSamplingRulesRequest
367
452
 
@@ -404,6 +489,7 @@ module Aws::XRay
404
489
  GetTimeSeriesServiceStatisticsRequest.add_member(:group_arn, Shapes::ShapeRef.new(shape: GroupARN, location_name: "GroupARN"))
405
490
  GetTimeSeriesServiceStatisticsRequest.add_member(:entity_selector_expression, Shapes::ShapeRef.new(shape: EntitySelectorExpression, location_name: "EntitySelectorExpression"))
406
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"))
407
493
  GetTimeSeriesServiceStatisticsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
408
494
  GetTimeSeriesServiceStatisticsRequest.struct_class = Types::GetTimeSeriesServiceStatisticsRequest
409
495
 
@@ -438,11 +524,13 @@ module Aws::XRay
438
524
  Group.add_member(:group_name, Shapes::ShapeRef.new(shape: String, location_name: "GroupName"))
439
525
  Group.add_member(:group_arn, Shapes::ShapeRef.new(shape: String, location_name: "GroupARN"))
440
526
  Group.add_member(:filter_expression, Shapes::ShapeRef.new(shape: String, location_name: "FilterExpression"))
527
+ Group.add_member(:insights_configuration, Shapes::ShapeRef.new(shape: InsightsConfiguration, location_name: "InsightsConfiguration"))
441
528
  Group.struct_class = Types::Group
442
529
 
443
530
  GroupSummary.add_member(:group_name, Shapes::ShapeRef.new(shape: String, location_name: "GroupName"))
444
531
  GroupSummary.add_member(:group_arn, Shapes::ShapeRef.new(shape: String, location_name: "GroupARN"))
445
532
  GroupSummary.add_member(:filter_expression, Shapes::ShapeRef.new(shape: String, location_name: "FilterExpression"))
533
+ GroupSummary.add_member(:insights_configuration, Shapes::ShapeRef.new(shape: InsightsConfiguration, location_name: "InsightsConfiguration"))
446
534
  GroupSummary.struct_class = Types::GroupSummary
447
535
 
448
536
  GroupSummaryList.member = Shapes::ShapeRef.new(shape: GroupSummary)
@@ -460,6 +548,69 @@ module Aws::XRay
460
548
  Http.add_member(:client_ip, Shapes::ShapeRef.new(shape: String, location_name: "ClientIp"))
461
549
  Http.struct_class = Types::Http
462
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
+
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"))
612
+ InsightsConfiguration.struct_class = Types::InsightsConfiguration
613
+
463
614
  InstanceIdDetail.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "Id"))
464
615
  InstanceIdDetail.struct_class = Types::InstanceIdDetail
465
616
 
@@ -495,6 +646,11 @@ module Aws::XRay
495
646
  PutTraceSegmentsResult.add_member(:unprocessed_trace_segments, Shapes::ShapeRef.new(shape: UnprocessedTraceSegmentList, location_name: "UnprocessedTraceSegments"))
496
647
  PutTraceSegmentsResult.struct_class = Types::PutTraceSegmentsResult
497
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
+
498
654
  ResourceARNDetail.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "ARN"))
499
655
  ResourceARNDetail.struct_class = Types::ResourceARNDetail
500
656
 
@@ -672,6 +828,7 @@ module Aws::XRay
672
828
  TimeSeriesServiceStatistics.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "Timestamp"))
673
829
  TimeSeriesServiceStatistics.add_member(:edge_summary_statistics, Shapes::ShapeRef.new(shape: EdgeStatistics, location_name: "EdgeSummaryStatistics"))
674
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"))
675
832
  TimeSeriesServiceStatistics.add_member(:response_time_histogram, Shapes::ShapeRef.new(shape: Histogram, location_name: "ResponseTimeHistogram"))
676
833
  TimeSeriesServiceStatistics.struct_class = Types::TimeSeriesServiceStatistics
677
834
 
@@ -683,6 +840,7 @@ module Aws::XRay
683
840
 
684
841
  Trace.add_member(:id, Shapes::ShapeRef.new(shape: TraceId, location_name: "Id"))
685
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"))
686
844
  Trace.add_member(:segments, Shapes::ShapeRef.new(shape: SegmentList, location_name: "Segments"))
687
845
  Trace.struct_class = Types::Trace
688
846
 
@@ -753,6 +911,7 @@ module Aws::XRay
753
911
  UpdateGroupRequest.add_member(:group_name, Shapes::ShapeRef.new(shape: GroupName, location_name: "GroupName"))
754
912
  UpdateGroupRequest.add_member(:group_arn, Shapes::ShapeRef.new(shape: GroupARN, location_name: "GroupARN"))
755
913
  UpdateGroupRequest.add_member(:filter_expression, Shapes::ShapeRef.new(shape: FilterExpression, location_name: "FilterExpression"))
914
+ UpdateGroupRequest.add_member(:insights_configuration, Shapes::ShapeRef.new(shape: InsightsConfiguration, location_name: "InsightsConfiguration"))
756
915
  UpdateGroupRequest.struct_class = Types::UpdateGroupRequest
757
916
 
758
917
  UpdateGroupResult.add_member(:group, Shapes::ShapeRef.new(shape: Group, location_name: "Group"))
@@ -877,6 +1036,58 @@ module Aws::XRay
877
1036
  )
878
1037
  end)
879
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
+
880
1091
  api.add_operation(:get_sampling_rules, Seahorse::Model::Operation.new.tap do |o|
881
1092
  o.name = "GetSamplingRules"
882
1093
  o.http_method = "POST"
@@ -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
@@ -169,6 +183,10 @@ module Aws::XRay
169
183
  # {
170
184
  # group_name: "GroupName", # required
171
185
  # filter_expression: "FilterExpression",
186
+ # insights_configuration: {
187
+ # insights_enabled: false,
188
+ # notifications_enabled: false,
189
+ # },
172
190
  # tags: [
173
191
  # {
174
192
  # key: "TagKey", # required
@@ -186,7 +204,41 @@ module Aws::XRay
186
204
  # The filter expression defining criteria by which to group traces.
187
205
  # @return [String]
188
206
  #
207
+ # @!attribute [rw] insights_configuration
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.
216
+ # @return [Types::InsightsConfiguration]
217
+ #
189
218
  # @!attribute [rw] tags
219
+ # A map that contains one or more tag keys and tag values to attach to
220
+ # an X-Ray group. For more information about ways to use tags, see
221
+ # [Tagging AWS resources][1] in the *AWS General Reference*.
222
+ #
223
+ # The following restrictions apply to tags:
224
+ #
225
+ # * Maximum number of user-applied tags per resource: 50
226
+ #
227
+ # * Maximum tag key length: 128 Unicode characters
228
+ #
229
+ # * Maximum tag value length: 256 Unicode characters
230
+ #
231
+ # * Valid values for key and value: a-z, A-Z, 0-9, space, and the
232
+ # following characters: \_ . : / = + - and @
233
+ #
234
+ # * Tag keys and values are case sensitive.
235
+ #
236
+ # * Don't use `aws:` as a prefix for keys; it's reserved for AWS
237
+ # use.
238
+ #
239
+ #
240
+ #
241
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
190
242
  # @return [Array<Types::Tag>]
191
243
  #
192
244
  # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/CreateGroupRequest AWS API Documentation
@@ -194,6 +246,7 @@ module Aws::XRay
194
246
  class CreateGroupRequest < Struct.new(
195
247
  :group_name,
196
248
  :filter_expression,
249
+ :insights_configuration,
197
250
  :tags)
198
251
  SENSITIVE = []
199
252
  include Aws::Structure
@@ -201,8 +254,9 @@ module Aws::XRay
201
254
 
202
255
  # @!attribute [rw] group
203
256
  # The group that was created. Contains the name of the group that was
204
- # created, the ARN of the group that was generated based on the group
205
- # name, and the filter expression that was 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.
206
260
  # @return [Types::Group]
207
261
  #
208
262
  # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/CreateGroupResult AWS API Documentation
@@ -247,6 +301,29 @@ module Aws::XRay
247
301
  # @return [Types::SamplingRule]
248
302
  #
249
303
  # @!attribute [rw] tags
304
+ # A map that contains one or more tag keys and tag values to attach to
305
+ # an X-Ray sampling rule. For more information about ways to use tags,
306
+ # see [Tagging AWS resources][1] in the *AWS General Reference*.
307
+ #
308
+ # The following restrictions apply to tags:
309
+ #
310
+ # * Maximum number of user-applied tags per resource: 50
311
+ #
312
+ # * Maximum tag key length: 128 Unicode characters
313
+ #
314
+ # * Maximum tag value length: 256 Unicode characters
315
+ #
316
+ # * Valid values for key and value: a-z, A-Z, 0-9, space, and the
317
+ # following characters: \_ . : / = + - and @
318
+ #
319
+ # * Tag keys and values are case sensitive.
320
+ #
321
+ # * Don't use `aws:` as a prefix for keys; it's reserved for AWS
322
+ # use.
323
+ #
324
+ #
325
+ #
326
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
250
327
  # @return [Array<Types::Tag>]
251
328
  #
252
329
  # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/CreateSamplingRuleRequest AWS API Documentation
@@ -665,6 +742,26 @@ module Aws::XRay
665
742
  include Aws::Structure
666
743
  end
667
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
+
668
765
  # @api private
669
766
  #
670
767
  # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetEncryptionConfigRequest AWS API Documentation
@@ -710,8 +807,8 @@ module Aws::XRay
710
807
 
711
808
  # @!attribute [rw] group
712
809
  # The group that was requested. Contains the name of the group, the
713
- # ARN of the group, and the filter expression that assigned to the
714
- # group.
810
+ # ARN of the group, the filter expression, and the insight
811
+ # configuration assigned to the group.
715
812
  # @return [Types::Group]
716
813
  #
717
814
  # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetGroupResult AWS API Documentation
@@ -758,6 +855,253 @@ module Aws::XRay
758
855
  include Aws::Structure
759
856
  end
760
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
+
761
1105
  # @note When making an API call, you may pass GetSamplingRulesRequest
762
1106
  # data as a hash:
763
1107
  #
@@ -906,11 +1250,12 @@ module Aws::XRay
906
1250
  # @return [Time]
907
1251
  #
908
1252
  # @!attribute [rw] group_name
909
- # 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.
910
1254
  # @return [String]
911
1255
  #
912
1256
  # @!attribute [rw] group_arn
913
- # 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.
914
1259
  # @return [String]
915
1260
  #
916
1261
  # @!attribute [rw] next_token
@@ -974,6 +1319,7 @@ module Aws::XRay
974
1319
  # group_arn: "GroupARN",
975
1320
  # entity_selector_expression: "EntitySelectorExpression",
976
1321
  # period: 1,
1322
+ # forecast_statistics: false,
977
1323
  # next_token: "String",
978
1324
  # }
979
1325
  #
@@ -991,7 +1337,8 @@ module Aws::XRay
991
1337
  # @return [String]
992
1338
  #
993
1339
  # @!attribute [rw] group_arn
994
- # 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.
995
1342
  # @return [String]
996
1343
  #
997
1344
  # @!attribute [rw] entity_selector_expression
@@ -1004,6 +1351,11 @@ module Aws::XRay
1004
1351
  # Aggregation period in seconds.
1005
1352
  # @return [Integer]
1006
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
+ #
1007
1359
  # @!attribute [rw] next_token
1008
1360
  # Pagination token.
1009
1361
  # @return [String]
@@ -1017,6 +1369,7 @@ module Aws::XRay
1017
1369
  :group_arn,
1018
1370
  :entity_selector_expression,
1019
1371
  :period,
1372
+ :forecast_statistics,
1020
1373
  :next_token)
1021
1374
  SENSITIVE = []
1022
1375
  include Aws::Structure
@@ -1028,7 +1381,7 @@ module Aws::XRay
1028
1381
  #
1029
1382
  # @!attribute [rw] contains_old_group_versions
1030
1383
  # A flag indicating whether or not a group's filter expression has
1031
- # been consistent, or if a returned aggregation may show statistics
1384
+ # been consistent, or if a returned aggregation might show statistics
1032
1385
  # from an older version of the group's filter expression.
1033
1386
  # @return [Boolean]
1034
1387
  #
@@ -1123,7 +1476,7 @@ module Aws::XRay
1123
1476
  # @return [Boolean]
1124
1477
  #
1125
1478
  # @!attribute [rw] sampling_strategy
1126
- # A paramater to indicate whether to enable sampling on trace
1479
+ # A parameter to indicate whether to enable sampling on trace
1127
1480
  # summaries. Input parameters are Name and Value.
1128
1481
  # @return [Types::SamplingStrategy]
1129
1482
  #
@@ -1168,8 +1521,8 @@ module Aws::XRay
1168
1521
  # @!attribute [rw] next_token
1169
1522
  # If the requested time frame contained more than one page of results,
1170
1523
  # you can use this token to retrieve the next page. The first page
1171
- # contains the most most recent results, closest to the end of the
1172
- # time frame.
1524
+ # contains the most recent results, closest to the end of the time
1525
+ # frame.
1173
1526
  # @return [String]
1174
1527
  #
1175
1528
  # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetTraceSummariesResult AWS API Documentation
@@ -1190,19 +1543,31 @@ module Aws::XRay
1190
1543
  # @return [String]
1191
1544
  #
1192
1545
  # @!attribute [rw] group_arn
1193
- # 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.
1194
1548
  # @return [String]
1195
1549
  #
1196
1550
  # @!attribute [rw] filter_expression
1197
1551
  # The filter expression defining the parameters to include traces.
1198
1552
  # @return [String]
1199
1553
  #
1554
+ # @!attribute [rw] insights_configuration
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.
1562
+ # @return [Types::InsightsConfiguration]
1563
+ #
1200
1564
  # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/Group AWS API Documentation
1201
1565
  #
1202
1566
  class Group < Struct.new(
1203
1567
  :group_name,
1204
1568
  :group_arn,
1205
- :filter_expression)
1569
+ :filter_expression,
1570
+ :insights_configuration)
1206
1571
  SENSITIVE = []
1207
1572
  include Aws::Structure
1208
1573
  end
@@ -1221,12 +1586,24 @@ module Aws::XRay
1221
1586
  # The filter expression defining the parameters to include traces.
1222
1587
  # @return [String]
1223
1588
  #
1589
+ # @!attribute [rw] insights_configuration
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.
1598
+ # @return [Types::InsightsConfiguration]
1599
+ #
1224
1600
  # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GroupSummary AWS API Documentation
1225
1601
  #
1226
1602
  class GroupSummary < Struct.new(
1227
1603
  :group_name,
1228
1604
  :group_arn,
1229
- :filter_expression)
1605
+ :filter_expression,
1606
+ :insights_configuration)
1230
1607
  SENSITIVE = []
1231
1608
  include Aws::Structure
1232
1609
  end
@@ -1286,6 +1663,302 @@ module Aws::XRay
1286
1663
  include Aws::Structure
1287
1664
  end
1288
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
+
1932
+ # The structure containing configurations related to insights.
1933
+ #
1934
+ # @note When making an API call, you may pass InsightsConfiguration
1935
+ # data as a hash:
1936
+ #
1937
+ # {
1938
+ # insights_enabled: false,
1939
+ # notifications_enabled: false,
1940
+ # }
1941
+ #
1942
+ # @!attribute [rw] insights_enabled
1943
+ # Set the InsightsEnabled value to true to enable insights or false to
1944
+ # disable insights.
1945
+ # @return [Boolean]
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
+ #
1953
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/InsightsConfiguration AWS API Documentation
1954
+ #
1955
+ class InsightsConfiguration < Struct.new(
1956
+ :insights_enabled,
1957
+ :notifications_enabled)
1958
+ SENSITIVE = []
1959
+ include Aws::Structure
1960
+ end
1961
+
1289
1962
  # A list of EC2 instance IDs corresponding to the segments in a trace.
1290
1963
  #
1291
1964
  # @!attribute [rw] id
@@ -1322,9 +1995,13 @@ module Aws::XRay
1322
1995
  # }
1323
1996
  #
1324
1997
  # @!attribute [rw] resource_arn
1998
+ # The Amazon Resource Number (ARN) of an X-Ray group or sampling rule.
1325
1999
  # @return [String]
1326
2000
  #
1327
2001
  # @!attribute [rw] next_token
2002
+ # A pagination token. If multiple pages of results are returned, use
2003
+ # the `NextToken` value returned with the current page of results as
2004
+ # the value of this parameter to get the next page of results.
1328
2005
  # @return [String]
1329
2006
  #
1330
2007
  # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/ListTagsForResourceRequest AWS API Documentation
@@ -1337,9 +2014,14 @@ module Aws::XRay
1337
2014
  end
1338
2015
 
1339
2016
  # @!attribute [rw] tags
2017
+ # A list of tags, as key and value pairs, that is associated with the
2018
+ # specified X-Ray group or sampling rule.
1340
2019
  # @return [Array<Types::Tag>]
1341
2020
  #
1342
2021
  # @!attribute [rw] next_token
2022
+ # A pagination token. If multiple pages of results are returned, use
2023
+ # the `NextToken` value returned with the current page of results to
2024
+ # get the next page of results.
1343
2025
  # @return [String]
1344
2026
  #
1345
2027
  # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/ListTagsForResourceResponse AWS API Documentation
@@ -1488,6 +2170,30 @@ module Aws::XRay
1488
2170
  include Aws::Structure
1489
2171
  end
1490
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
+
1491
2197
  # A list of resources ARNs corresponding to the segments in a trace.
1492
2198
  #
1493
2199
  # @!attribute [rw] arn
@@ -1502,6 +2208,9 @@ module Aws::XRay
1502
2208
  include Aws::Structure
1503
2209
  end
1504
2210
 
2211
+ # The resource was not found. Verify that the name or Amazon Resource
2212
+ # Name (ARN) of the resource is correct.
2213
+ #
1505
2214
  # @!attribute [rw] message
1506
2215
  # @return [String]
1507
2216
  #
@@ -1545,7 +2254,7 @@ module Aws::XRay
1545
2254
  # @return [String]
1546
2255
  #
1547
2256
  # @!attribute [rw] coverage
1548
- # The types and messages of the exceptions.
2257
+ # The type and messages of the exceptions.
1549
2258
  # @return [Float]
1550
2259
  #
1551
2260
  # @!attribute [rw] remote
@@ -1861,7 +2570,7 @@ module Aws::XRay
1861
2570
  end
1862
2571
 
1863
2572
  # Aggregated request sampling data for a sampling rule across all
1864
- # services for a 10 second window.
2573
+ # services for a 10-second window.
1865
2574
  #
1866
2575
  # @!attribute [rw] rule_name
1867
2576
  # The name of the sampling rule.
@@ -1990,7 +2699,8 @@ module Aws::XRay
1990
2699
  # @return [Float]
1991
2700
  #
1992
2701
  # @!attribute [rw] reservoir_quota
1993
- # 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.
1994
2704
  # @return [Integer]
1995
2705
  #
1996
2706
  # @!attribute [rw] reservoir_quota_ttl
@@ -2044,8 +2754,8 @@ module Aws::XRay
2044
2754
  end
2045
2755
 
2046
2756
  # Information about an application that processed requests, users that
2047
- # made requests, or downstream services, resources and applications that
2048
- # an application used.
2757
+ # made requests, or downstream services, resources, and applications
2758
+ # that an application used.
2049
2759
  #
2050
2760
  # @!attribute [rw] reference_id
2051
2761
  # Identifier for the service. Unique within the service map.
@@ -2072,7 +2782,7 @@ module Aws::XRay
2072
2782
  # The type of service.
2073
2783
  #
2074
2784
  # * AWS Resource - The type of an AWS resource. For example,
2075
- # `AWS::EC2::Instance` for a application running on Amazon EC2 or
2785
+ # `AWS::EC2::Instance` for an application running on Amazon EC2 or
2076
2786
  # `AWS::DynamoDB::Table` for an Amazon DynamoDB table that the
2077
2787
  # application used.
2078
2788
  #
@@ -2194,6 +2904,23 @@ module Aws::XRay
2194
2904
  include Aws::Structure
2195
2905
  end
2196
2906
 
2907
+ # A map that contains tag keys and tag values to attach to an AWS X-Ray
2908
+ # group or sampling rule. For more information about ways to use tags,
2909
+ # see [Tagging AWS resources][1] in the *AWS General Reference*.
2910
+ #
2911
+ # The following restrictions apply to tags:
2912
+ #
2913
+ # * Maximum number of user-applied tags per resource: 50
2914
+ #
2915
+ # * Tag keys and values are case sensitive.
2916
+ #
2917
+ # * Don't use `aws:` as a prefix for keys; it's reserved for AWS use.
2918
+ # You cannot edit or delete system tags.
2919
+ #
2920
+ #
2921
+ #
2922
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
2923
+ #
2197
2924
  # @note When making an API call, you may pass Tag
2198
2925
  # data as a hash:
2199
2926
  #
@@ -2203,9 +2930,17 @@ module Aws::XRay
2203
2930
  # }
2204
2931
  #
2205
2932
  # @!attribute [rw] key
2933
+ # A tag key, such as `Stage` or `Name`. A tag key cannot be empty. The
2934
+ # key can be a maximum of 128 characters, and can contain only Unicode
2935
+ # letters, numbers, or separators, or the following special
2936
+ # characters: `+ - = . _ : /`
2206
2937
  # @return [String]
2207
2938
  #
2208
2939
  # @!attribute [rw] value
2940
+ # An optional tag value, such as `Production` or `test-only`. The
2941
+ # value can be a maximum of 255 characters, and contain only Unicode
2942
+ # letters, numbers, or separators, or the following special
2943
+ # characters: `+ - = . _ : /`
2209
2944
  # @return [String]
2210
2945
  #
2211
2946
  # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/Tag AWS API Documentation
@@ -2231,9 +2966,34 @@ module Aws::XRay
2231
2966
  # }
2232
2967
  #
2233
2968
  # @!attribute [rw] resource_arn
2969
+ # The Amazon Resource Number (ARN) of an X-Ray group or sampling rule.
2234
2970
  # @return [String]
2235
2971
  #
2236
2972
  # @!attribute [rw] tags
2973
+ # A map that contains one or more tag keys and tag values to attach to
2974
+ # an X-Ray group or sampling rule. For more information about ways to
2975
+ # use tags, see [Tagging AWS resources][1] in the *AWS General
2976
+ # Reference*.
2977
+ #
2978
+ # The following restrictions apply to tags:
2979
+ #
2980
+ # * Maximum number of user-applied tags per resource: 50
2981
+ #
2982
+ # * Maximum tag key length: 128 Unicode characters
2983
+ #
2984
+ # * Maximum tag value length: 256 Unicode characters
2985
+ #
2986
+ # * Valid values for key and value: a-z, A-Z, 0-9, space, and the
2987
+ # following characters: \_ . : / = + - and @
2988
+ #
2989
+ # * Tag keys and values are case sensitive.
2990
+ #
2991
+ # * Don't use `aws:` as a prefix for keys; it's reserved for AWS
2992
+ # use. You cannot edit or delete system tags.
2993
+ #
2994
+ #
2995
+ #
2996
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
2237
2997
  # @return [Array<Types::Tag>]
2238
2998
  #
2239
2999
  # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/TagResourceRequest AWS API Documentation
@@ -2326,6 +3086,10 @@ module Aws::XRay
2326
3086
  # Response statistics for a service.
2327
3087
  # @return [Types::ServiceStatistics]
2328
3088
  #
3089
+ # @!attribute [rw] service_forecast_statistics
3090
+ # The forecasted high and low fault count values.
3091
+ # @return [Types::ForecastStatistics]
3092
+ #
2329
3093
  # @!attribute [rw] response_time_histogram
2330
3094
  # The response time histogram for the selected entities.
2331
3095
  # @return [Array<Types::HistogramEntry>]
@@ -2336,11 +3100,15 @@ module Aws::XRay
2336
3100
  :timestamp,
2337
3101
  :edge_summary_statistics,
2338
3102
  :service_summary_statistics,
3103
+ :service_forecast_statistics,
2339
3104
  :response_time_histogram)
2340
3105
  SENSITIVE = []
2341
3106
  include Aws::Structure
2342
3107
  end
2343
3108
 
3109
+ # You have exceeded the maximum number of tags you can apply to this
3110
+ # resource.
3111
+ #
2344
3112
  # @!attribute [rw] message
2345
3113
  # @return [String]
2346
3114
  #
@@ -2368,6 +3136,16 @@ module Aws::XRay
2368
3136
  # segment and the end time of the last segment that completed.
2369
3137
  # @return [Float]
2370
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
+ #
2371
3149
  # @!attribute [rw] segments
2372
3150
  # Segment documents for the segments and subsegments that comprise the
2373
3151
  # trace.
@@ -2378,6 +3156,7 @@ module Aws::XRay
2378
3156
  class Trace < Struct.new(
2379
3157
  :id,
2380
3158
  :duration,
3159
+ :limit_exceeded,
2381
3160
  :segments)
2382
3161
  SENSITIVE = []
2383
3162
  include Aws::Structure
@@ -2446,7 +3225,7 @@ module Aws::XRay
2446
3225
  # @return [Array<Types::InstanceIdDetail>]
2447
3226
  #
2448
3227
  # @!attribute [rw] availability_zones
2449
- # 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
2450
3229
  # segments.
2451
3230
  # @return [Array<Types::AvailabilityZoneDetail>]
2452
3231
  #
@@ -2455,8 +3234,8 @@ module Aws::XRay
2455
3234
  # @return [Types::ServiceId]
2456
3235
  #
2457
3236
  # @!attribute [rw] fault_root_causes
2458
- # A collection of FaultRootCause structures corresponding to the the
2459
- # trace segments.
3237
+ # A collection of FaultRootCause structures corresponding to the trace
3238
+ # segments.
2460
3239
  # @return [Array<Types::FaultRootCause>]
2461
3240
  #
2462
3241
  # @!attribute [rw] error_root_causes
@@ -2581,9 +3360,12 @@ module Aws::XRay
2581
3360
  # }
2582
3361
  #
2583
3362
  # @!attribute [rw] resource_arn
3363
+ # The Amazon Resource Number (ARN) of an X-Ray group or sampling rule.
2584
3364
  # @return [String]
2585
3365
  #
2586
3366
  # @!attribute [rw] tag_keys
3367
+ # Keys for one or more tags that you want to remove from an X-Ray
3368
+ # group or sampling rule.
2587
3369
  # @return [Array<String>]
2588
3370
  #
2589
3371
  # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/UntagResourceRequest AWS API Documentation
@@ -2606,6 +3388,10 @@ module Aws::XRay
2606
3388
  # group_name: "GroupName",
2607
3389
  # group_arn: "GroupARN",
2608
3390
  # filter_expression: "FilterExpression",
3391
+ # insights_configuration: {
3392
+ # insights_enabled: false,
3393
+ # notifications_enabled: false,
3394
+ # },
2609
3395
  # }
2610
3396
  #
2611
3397
  # @!attribute [rw] group_name
@@ -2621,20 +3407,33 @@ module Aws::XRay
2621
3407
  # traces.
2622
3408
  # @return [String]
2623
3409
  #
3410
+ # @!attribute [rw] insights_configuration
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.
3419
+ # @return [Types::InsightsConfiguration]
3420
+ #
2624
3421
  # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/UpdateGroupRequest AWS API Documentation
2625
3422
  #
2626
3423
  class UpdateGroupRequest < Struct.new(
2627
3424
  :group_name,
2628
3425
  :group_arn,
2629
- :filter_expression)
3426
+ :filter_expression,
3427
+ :insights_configuration)
2630
3428
  SENSITIVE = []
2631
3429
  include Aws::Structure
2632
3430
  end
2633
3431
 
2634
3432
  # @!attribute [rw] group
2635
3433
  # The group that was updated. Contains the name of the group that was
2636
- # updated, the ARN of the group that was updated, and the updated
2637
- # filter expression assigned to the group.
3434
+ # updated, the ARN of the group that was updated, the updated filter
3435
+ # expression, and the updated insight configuration assigned to the
3436
+ # group.
2638
3437
  # @return [Types::Group]
2639
3438
  #
2640
3439
  # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/UpdateGroupResult AWS API Documentation