aws-sdk-xray 1.4.0 → 1.62.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,9 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
4
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
7
  #
6
8
  # WARNING ABOUT GENERATED CODE
7
9
 
@@ -14,19 +16,30 @@ module Aws::XRay
14
16
  Alias = Shapes::StructureShape.new(name: 'Alias')
15
17
  AliasList = Shapes::ListShape.new(name: 'AliasList')
16
18
  AliasNames = Shapes::ListShape.new(name: 'AliasNames')
19
+ AmazonResourceName = Shapes::StringShape.new(name: 'AmazonResourceName')
17
20
  AnnotationKey = Shapes::StringShape.new(name: 'AnnotationKey')
18
21
  AnnotationValue = Shapes::StructureShape.new(name: 'AnnotationValue')
19
22
  Annotations = Shapes::MapShape.new(name: 'Annotations')
23
+ AnomalousService = Shapes::StructureShape.new(name: 'AnomalousService')
24
+ AnomalousServiceList = Shapes::ListShape.new(name: 'AnomalousServiceList')
20
25
  AttributeKey = Shapes::StringShape.new(name: 'AttributeKey')
21
26
  AttributeMap = Shapes::MapShape.new(name: 'AttributeMap')
22
27
  AttributeValue = Shapes::StringShape.new(name: 'AttributeValue')
28
+ AvailabilityZoneDetail = Shapes::StructureShape.new(name: 'AvailabilityZoneDetail')
23
29
  BackendConnectionErrors = Shapes::StructureShape.new(name: 'BackendConnectionErrors')
24
30
  BatchGetTracesRequest = Shapes::StructureShape.new(name: 'BatchGetTracesRequest')
25
31
  BatchGetTracesResult = Shapes::StructureShape.new(name: 'BatchGetTracesResult')
32
+ Boolean = Shapes::BooleanShape.new(name: 'Boolean')
26
33
  BorrowCount = Shapes::IntegerShape.new(name: 'BorrowCount')
27
34
  ClientID = Shapes::StringShape.new(name: 'ClientID')
35
+ CreateGroupRequest = Shapes::StructureShape.new(name: 'CreateGroupRequest')
36
+ CreateGroupResult = Shapes::StructureShape.new(name: 'CreateGroupResult')
28
37
  CreateSamplingRuleRequest = Shapes::StructureShape.new(name: 'CreateSamplingRuleRequest')
29
38
  CreateSamplingRuleResult = Shapes::StructureShape.new(name: 'CreateSamplingRuleResult')
39
+ DeleteGroupRequest = Shapes::StructureShape.new(name: 'DeleteGroupRequest')
40
+ DeleteGroupResult = Shapes::StructureShape.new(name: 'DeleteGroupResult')
41
+ DeleteResourcePolicyRequest = Shapes::StructureShape.new(name: 'DeleteResourcePolicyRequest')
42
+ DeleteResourcePolicyResult = Shapes::StructureShape.new(name: 'DeleteResourcePolicyResult')
30
43
  DeleteSamplingRuleRequest = Shapes::StructureShape.new(name: 'DeleteSamplingRuleRequest')
31
44
  DeleteSamplingRuleResult = Shapes::StructureShape.new(name: 'DeleteSamplingRuleResult')
32
45
  Double = Shapes::FloatShape.new(name: 'Double')
@@ -38,13 +51,43 @@ module Aws::XRay
38
51
  EncryptionKeyId = Shapes::StringShape.new(name: 'EncryptionKeyId')
39
52
  EncryptionStatus = Shapes::StringShape.new(name: 'EncryptionStatus')
40
53
  EncryptionType = Shapes::StringShape.new(name: 'EncryptionType')
54
+ EntitySelectorExpression = Shapes::StringShape.new(name: 'EntitySelectorExpression')
41
55
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
56
+ ErrorRootCause = Shapes::StructureShape.new(name: 'ErrorRootCause')
57
+ ErrorRootCauseEntity = Shapes::StructureShape.new(name: 'ErrorRootCauseEntity')
58
+ ErrorRootCauseEntityPath = Shapes::ListShape.new(name: 'ErrorRootCauseEntityPath')
59
+ ErrorRootCauseService = Shapes::StructureShape.new(name: 'ErrorRootCauseService')
60
+ ErrorRootCauseServices = Shapes::ListShape.new(name: 'ErrorRootCauseServices')
61
+ ErrorRootCauses = Shapes::ListShape.new(name: 'ErrorRootCauses')
42
62
  ErrorStatistics = Shapes::StructureShape.new(name: 'ErrorStatistics')
63
+ EventSummaryText = Shapes::StringShape.new(name: 'EventSummaryText')
64
+ FaultRootCause = Shapes::StructureShape.new(name: 'FaultRootCause')
65
+ FaultRootCauseEntity = Shapes::StructureShape.new(name: 'FaultRootCauseEntity')
66
+ FaultRootCauseEntityPath = Shapes::ListShape.new(name: 'FaultRootCauseEntityPath')
67
+ FaultRootCauseService = Shapes::StructureShape.new(name: 'FaultRootCauseService')
68
+ FaultRootCauseServices = Shapes::ListShape.new(name: 'FaultRootCauseServices')
69
+ FaultRootCauses = Shapes::ListShape.new(name: 'FaultRootCauses')
43
70
  FaultStatistics = Shapes::StructureShape.new(name: 'FaultStatistics')
44
71
  FilterExpression = Shapes::StringShape.new(name: 'FilterExpression')
45
72
  FixedRate = Shapes::FloatShape.new(name: 'FixedRate')
73
+ ForecastStatistics = Shapes::StructureShape.new(name: 'ForecastStatistics')
46
74
  GetEncryptionConfigRequest = Shapes::StructureShape.new(name: 'GetEncryptionConfigRequest')
47
75
  GetEncryptionConfigResult = Shapes::StructureShape.new(name: 'GetEncryptionConfigResult')
76
+ GetGroupRequest = Shapes::StructureShape.new(name: 'GetGroupRequest')
77
+ GetGroupResult = Shapes::StructureShape.new(name: 'GetGroupResult')
78
+ GetGroupsNextToken = Shapes::StringShape.new(name: 'GetGroupsNextToken')
79
+ GetGroupsRequest = Shapes::StructureShape.new(name: 'GetGroupsRequest')
80
+ GetGroupsResult = Shapes::StructureShape.new(name: 'GetGroupsResult')
81
+ GetInsightEventsMaxResults = Shapes::IntegerShape.new(name: 'GetInsightEventsMaxResults')
82
+ GetInsightEventsRequest = Shapes::StructureShape.new(name: 'GetInsightEventsRequest')
83
+ GetInsightEventsResult = Shapes::StructureShape.new(name: 'GetInsightEventsResult')
84
+ GetInsightImpactGraphRequest = Shapes::StructureShape.new(name: 'GetInsightImpactGraphRequest')
85
+ GetInsightImpactGraphResult = Shapes::StructureShape.new(name: 'GetInsightImpactGraphResult')
86
+ GetInsightRequest = Shapes::StructureShape.new(name: 'GetInsightRequest')
87
+ GetInsightResult = Shapes::StructureShape.new(name: 'GetInsightResult')
88
+ GetInsightSummariesMaxResults = Shapes::IntegerShape.new(name: 'GetInsightSummariesMaxResults')
89
+ GetInsightSummariesRequest = Shapes::StructureShape.new(name: 'GetInsightSummariesRequest')
90
+ GetInsightSummariesResult = Shapes::StructureShape.new(name: 'GetInsightSummariesResult')
48
91
  GetSamplingRulesRequest = Shapes::StructureShape.new(name: 'GetSamplingRulesRequest')
49
92
  GetSamplingRulesResult = Shapes::StructureShape.new(name: 'GetSamplingRulesResult')
50
93
  GetSamplingStatisticSummariesRequest = Shapes::StructureShape.new(name: 'GetSamplingStatisticSummariesRequest')
@@ -53,32 +96,84 @@ module Aws::XRay
53
96
  GetSamplingTargetsResult = Shapes::StructureShape.new(name: 'GetSamplingTargetsResult')
54
97
  GetServiceGraphRequest = Shapes::StructureShape.new(name: 'GetServiceGraphRequest')
55
98
  GetServiceGraphResult = Shapes::StructureShape.new(name: 'GetServiceGraphResult')
99
+ GetTimeSeriesServiceStatisticsRequest = Shapes::StructureShape.new(name: 'GetTimeSeriesServiceStatisticsRequest')
100
+ GetTimeSeriesServiceStatisticsResult = Shapes::StructureShape.new(name: 'GetTimeSeriesServiceStatisticsResult')
56
101
  GetTraceGraphRequest = Shapes::StructureShape.new(name: 'GetTraceGraphRequest')
57
102
  GetTraceGraphResult = Shapes::StructureShape.new(name: 'GetTraceGraphResult')
58
103
  GetTraceSummariesRequest = Shapes::StructureShape.new(name: 'GetTraceSummariesRequest')
59
104
  GetTraceSummariesResult = Shapes::StructureShape.new(name: 'GetTraceSummariesResult')
105
+ Group = Shapes::StructureShape.new(name: 'Group')
106
+ GroupARN = Shapes::StringShape.new(name: 'GroupARN')
107
+ GroupName = Shapes::StringShape.new(name: 'GroupName')
108
+ GroupSummary = Shapes::StructureShape.new(name: 'GroupSummary')
109
+ GroupSummaryList = Shapes::ListShape.new(name: 'GroupSummaryList')
60
110
  HTTPMethod = Shapes::StringShape.new(name: 'HTTPMethod')
61
111
  Histogram = Shapes::ListShape.new(name: 'Histogram')
62
112
  HistogramEntry = Shapes::StructureShape.new(name: 'HistogramEntry')
63
113
  Host = Shapes::StringShape.new(name: 'Host')
64
114
  Hostname = Shapes::StringShape.new(name: 'Hostname')
65
115
  Http = Shapes::StructureShape.new(name: 'Http')
116
+ Insight = Shapes::StructureShape.new(name: 'Insight')
117
+ InsightCategory = Shapes::StringShape.new(name: 'InsightCategory')
118
+ InsightCategoryList = Shapes::ListShape.new(name: 'InsightCategoryList')
119
+ InsightEvent = Shapes::StructureShape.new(name: 'InsightEvent')
120
+ InsightEventList = Shapes::ListShape.new(name: 'InsightEventList')
121
+ InsightId = Shapes::StringShape.new(name: 'InsightId')
122
+ InsightImpactGraphEdge = Shapes::StructureShape.new(name: 'InsightImpactGraphEdge')
123
+ InsightImpactGraphEdgeList = Shapes::ListShape.new(name: 'InsightImpactGraphEdgeList')
124
+ InsightImpactGraphService = Shapes::StructureShape.new(name: 'InsightImpactGraphService')
125
+ InsightImpactGraphServiceList = Shapes::ListShape.new(name: 'InsightImpactGraphServiceList')
126
+ InsightState = Shapes::StringShape.new(name: 'InsightState')
127
+ InsightStateList = Shapes::ListShape.new(name: 'InsightStateList')
128
+ InsightSummary = Shapes::StructureShape.new(name: 'InsightSummary')
129
+ InsightSummaryList = Shapes::ListShape.new(name: 'InsightSummaryList')
130
+ InsightSummaryText = Shapes::StringShape.new(name: 'InsightSummaryText')
131
+ InsightsConfiguration = Shapes::StructureShape.new(name: 'InsightsConfiguration')
132
+ InstanceIdDetail = Shapes::StructureShape.new(name: 'InstanceIdDetail')
66
133
  Integer = Shapes::IntegerShape.new(name: 'Integer')
134
+ InvalidPolicyRevisionIdException = Shapes::StructureShape.new(name: 'InvalidPolicyRevisionIdException')
67
135
  InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
136
+ ListResourcePoliciesRequest = Shapes::StructureShape.new(name: 'ListResourcePoliciesRequest')
137
+ ListResourcePoliciesResult = Shapes::StructureShape.new(name: 'ListResourcePoliciesResult')
138
+ ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
139
+ ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
140
+ LockoutPreventionException = Shapes::StructureShape.new(name: 'LockoutPreventionException')
141
+ MalformedPolicyDocumentException = Shapes::StructureShape.new(name: 'MalformedPolicyDocumentException')
68
142
  NullableBoolean = Shapes::BooleanShape.new(name: 'NullableBoolean')
69
143
  NullableDouble = Shapes::FloatShape.new(name: 'NullableDouble')
70
144
  NullableInteger = Shapes::IntegerShape.new(name: 'NullableInteger')
71
145
  NullableLong = Shapes::IntegerShape.new(name: 'NullableLong')
146
+ PolicyCountLimitExceededException = Shapes::StructureShape.new(name: 'PolicyCountLimitExceededException')
147
+ PolicyDocument = Shapes::StringShape.new(name: 'PolicyDocument')
148
+ PolicyName = Shapes::StringShape.new(name: 'PolicyName')
149
+ PolicyRevisionId = Shapes::StringShape.new(name: 'PolicyRevisionId')
150
+ PolicySizeLimitExceededException = Shapes::StructureShape.new(name: 'PolicySizeLimitExceededException')
72
151
  Priority = Shapes::IntegerShape.new(name: 'Priority')
73
152
  PutEncryptionConfigRequest = Shapes::StructureShape.new(name: 'PutEncryptionConfigRequest')
74
153
  PutEncryptionConfigResult = Shapes::StructureShape.new(name: 'PutEncryptionConfigResult')
154
+ PutResourcePolicyRequest = Shapes::StructureShape.new(name: 'PutResourcePolicyRequest')
155
+ PutResourcePolicyResult = Shapes::StructureShape.new(name: 'PutResourcePolicyResult')
75
156
  PutTelemetryRecordsRequest = Shapes::StructureShape.new(name: 'PutTelemetryRecordsRequest')
76
157
  PutTelemetryRecordsResult = Shapes::StructureShape.new(name: 'PutTelemetryRecordsResult')
77
158
  PutTraceSegmentsRequest = Shapes::StructureShape.new(name: 'PutTraceSegmentsRequest')
78
159
  PutTraceSegmentsResult = Shapes::StructureShape.new(name: 'PutTraceSegmentsResult')
79
160
  RequestCount = Shapes::IntegerShape.new(name: 'RequestCount')
161
+ RequestImpactStatistics = Shapes::StructureShape.new(name: 'RequestImpactStatistics')
80
162
  ReservoirSize = Shapes::IntegerShape.new(name: 'ReservoirSize')
81
163
  ResourceARN = Shapes::StringShape.new(name: 'ResourceARN')
164
+ ResourceARNDetail = Shapes::StructureShape.new(name: 'ResourceARNDetail')
165
+ ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
166
+ ResourcePolicy = Shapes::StructureShape.new(name: 'ResourcePolicy')
167
+ ResourcePolicyList = Shapes::ListShape.new(name: 'ResourcePolicyList')
168
+ ResourcePolicyNextToken = Shapes::StringShape.new(name: 'ResourcePolicyNextToken')
169
+ ResponseTimeRootCause = Shapes::StructureShape.new(name: 'ResponseTimeRootCause')
170
+ ResponseTimeRootCauseEntity = Shapes::StructureShape.new(name: 'ResponseTimeRootCauseEntity')
171
+ ResponseTimeRootCauseEntityPath = Shapes::ListShape.new(name: 'ResponseTimeRootCauseEntityPath')
172
+ ResponseTimeRootCauseService = Shapes::StructureShape.new(name: 'ResponseTimeRootCauseService')
173
+ ResponseTimeRootCauseServices = Shapes::ListShape.new(name: 'ResponseTimeRootCauseServices')
174
+ ResponseTimeRootCauses = Shapes::ListShape.new(name: 'ResponseTimeRootCauses')
175
+ RootCauseException = Shapes::StructureShape.new(name: 'RootCauseException')
176
+ RootCauseExceptions = Shapes::ListShape.new(name: 'RootCauseExceptions')
82
177
  RuleLimitExceededException = Shapes::StructureShape.new(name: 'RuleLimitExceededException')
83
178
  RuleName = Shapes::StringShape.new(name: 'RuleName')
84
179
  SampledCount = Shapes::IntegerShape.new(name: 'SampledCount')
@@ -90,6 +185,8 @@ module Aws::XRay
90
185
  SamplingStatisticSummaryList = Shapes::ListShape.new(name: 'SamplingStatisticSummaryList')
91
186
  SamplingStatisticsDocument = Shapes::StructureShape.new(name: 'SamplingStatisticsDocument')
92
187
  SamplingStatisticsDocumentList = Shapes::ListShape.new(name: 'SamplingStatisticsDocumentList')
188
+ SamplingStrategy = Shapes::StructureShape.new(name: 'SamplingStrategy')
189
+ SamplingStrategyName = Shapes::StringShape.new(name: 'SamplingStrategyName')
93
190
  SamplingTargetDocument = Shapes::StructureShape.new(name: 'SamplingTargetDocument')
94
191
  SamplingTargetDocumentList = Shapes::ListShape.new(name: 'SamplingTargetDocumentList')
95
192
  Segment = Shapes::StructureShape.new(name: 'Segment')
@@ -105,14 +202,29 @@ module Aws::XRay
105
202
  ServiceStatistics = Shapes::StructureShape.new(name: 'ServiceStatistics')
106
203
  ServiceType = Shapes::StringShape.new(name: 'ServiceType')
107
204
  String = Shapes::StringShape.new(name: 'String')
205
+ Tag = Shapes::StructureShape.new(name: 'Tag')
206
+ TagKey = Shapes::StringShape.new(name: 'TagKey')
207
+ TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
208
+ TagList = Shapes::ListShape.new(name: 'TagList')
209
+ TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
210
+ TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
211
+ TagValue = Shapes::StringShape.new(name: 'TagValue')
108
212
  TelemetryRecord = Shapes::StructureShape.new(name: 'TelemetryRecord')
109
213
  TelemetryRecordList = Shapes::ListShape.new(name: 'TelemetryRecordList')
110
214
  ThrottledException = Shapes::StructureShape.new(name: 'ThrottledException')
215
+ TimeRangeType = Shapes::StringShape.new(name: 'TimeRangeType')
216
+ TimeSeriesServiceStatistics = Shapes::StructureShape.new(name: 'TimeSeriesServiceStatistics')
217
+ TimeSeriesServiceStatisticsList = Shapes::ListShape.new(name: 'TimeSeriesServiceStatisticsList')
111
218
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
219
+ Token = Shapes::StringShape.new(name: 'Token')
220
+ TooManyTagsException = Shapes::StructureShape.new(name: 'TooManyTagsException')
112
221
  Trace = Shapes::StructureShape.new(name: 'Trace')
222
+ TraceAvailabilityZones = Shapes::ListShape.new(name: 'TraceAvailabilityZones')
113
223
  TraceId = Shapes::StringShape.new(name: 'TraceId')
114
224
  TraceIdList = Shapes::ListShape.new(name: 'TraceIdList')
225
+ TraceInstanceIds = Shapes::ListShape.new(name: 'TraceInstanceIds')
115
226
  TraceList = Shapes::ListShape.new(name: 'TraceList')
227
+ TraceResourceARNs = Shapes::ListShape.new(name: 'TraceResourceARNs')
116
228
  TraceSegmentDocument = Shapes::StringShape.new(name: 'TraceSegmentDocument')
117
229
  TraceSegmentDocumentList = Shapes::ListShape.new(name: 'TraceSegmentDocumentList')
118
230
  TraceSummary = Shapes::StructureShape.new(name: 'TraceSummary')
@@ -125,6 +237,10 @@ module Aws::XRay
125
237
  UnprocessedTraceIdList = Shapes::ListShape.new(name: 'UnprocessedTraceIdList')
126
238
  UnprocessedTraceSegment = Shapes::StructureShape.new(name: 'UnprocessedTraceSegment')
127
239
  UnprocessedTraceSegmentList = Shapes::ListShape.new(name: 'UnprocessedTraceSegmentList')
240
+ UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
241
+ UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
242
+ UpdateGroupRequest = Shapes::StructureShape.new(name: 'UpdateGroupRequest')
243
+ UpdateGroupResult = Shapes::StructureShape.new(name: 'UpdateGroupResult')
128
244
  UpdateSamplingRuleRequest = Shapes::StructureShape.new(name: 'UpdateSamplingRuleRequest')
129
245
  UpdateSamplingRuleResult = Shapes::StructureShape.new(name: 'UpdateSamplingRuleResult')
130
246
  ValueWithServiceIds = Shapes::StructureShape.new(name: 'ValueWithServiceIds')
@@ -148,9 +264,17 @@ module Aws::XRay
148
264
  Annotations.key = Shapes::ShapeRef.new(shape: AnnotationKey)
149
265
  Annotations.value = Shapes::ShapeRef.new(shape: ValuesWithServiceIds)
150
266
 
267
+ AnomalousService.add_member(:service_id, Shapes::ShapeRef.new(shape: ServiceId, location_name: "ServiceId"))
268
+ AnomalousService.struct_class = Types::AnomalousService
269
+
270
+ AnomalousServiceList.member = Shapes::ShapeRef.new(shape: AnomalousService)
271
+
151
272
  AttributeMap.key = Shapes::ShapeRef.new(shape: AttributeKey)
152
273
  AttributeMap.value = Shapes::ShapeRef.new(shape: AttributeValue)
153
274
 
275
+ AvailabilityZoneDetail.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
276
+ AvailabilityZoneDetail.struct_class = Types::AvailabilityZoneDetail
277
+
154
278
  BackendConnectionErrors.add_member(:timeout_count, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "TimeoutCount"))
155
279
  BackendConnectionErrors.add_member(:connection_refused_count, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "ConnectionRefusedCount"))
156
280
  BackendConnectionErrors.add_member(:http_code_4_xx_count, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "HTTPCode4XXCount"))
@@ -168,12 +292,34 @@ module Aws::XRay
168
292
  BatchGetTracesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
169
293
  BatchGetTracesResult.struct_class = Types::BatchGetTracesResult
170
294
 
295
+ CreateGroupRequest.add_member(:group_name, Shapes::ShapeRef.new(shape: GroupName, required: true, location_name: "GroupName"))
296
+ CreateGroupRequest.add_member(:filter_expression, Shapes::ShapeRef.new(shape: FilterExpression, location_name: "FilterExpression"))
297
+ CreateGroupRequest.add_member(:insights_configuration, Shapes::ShapeRef.new(shape: InsightsConfiguration, location_name: "InsightsConfiguration"))
298
+ CreateGroupRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
299
+ CreateGroupRequest.struct_class = Types::CreateGroupRequest
300
+
301
+ CreateGroupResult.add_member(:group, Shapes::ShapeRef.new(shape: Group, location_name: "Group"))
302
+ CreateGroupResult.struct_class = Types::CreateGroupResult
303
+
171
304
  CreateSamplingRuleRequest.add_member(:sampling_rule, Shapes::ShapeRef.new(shape: SamplingRule, required: true, location_name: "SamplingRule"))
305
+ CreateSamplingRuleRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
172
306
  CreateSamplingRuleRequest.struct_class = Types::CreateSamplingRuleRequest
173
307
 
174
308
  CreateSamplingRuleResult.add_member(:sampling_rule_record, Shapes::ShapeRef.new(shape: SamplingRuleRecord, location_name: "SamplingRuleRecord"))
175
309
  CreateSamplingRuleResult.struct_class = Types::CreateSamplingRuleResult
176
310
 
311
+ DeleteGroupRequest.add_member(:group_name, Shapes::ShapeRef.new(shape: GroupName, location_name: "GroupName"))
312
+ DeleteGroupRequest.add_member(:group_arn, Shapes::ShapeRef.new(shape: GroupARN, location_name: "GroupARN"))
313
+ DeleteGroupRequest.struct_class = Types::DeleteGroupRequest
314
+
315
+ DeleteGroupResult.struct_class = Types::DeleteGroupResult
316
+
317
+ DeleteResourcePolicyRequest.add_member(:policy_name, Shapes::ShapeRef.new(shape: PolicyName, required: true, location_name: "PolicyName"))
318
+ DeleteResourcePolicyRequest.add_member(:policy_revision_id, Shapes::ShapeRef.new(shape: PolicyRevisionId, location_name: "PolicyRevisionId"))
319
+ DeleteResourcePolicyRequest.struct_class = Types::DeleteResourcePolicyRequest
320
+
321
+ DeleteResourcePolicyResult.struct_class = Types::DeleteResourcePolicyResult
322
+
177
323
  DeleteSamplingRuleRequest.add_member(:rule_name, Shapes::ShapeRef.new(shape: String, location_name: "RuleName"))
178
324
  DeleteSamplingRuleRequest.add_member(:rule_arn, Shapes::ShapeRef.new(shape: String, location_name: "RuleARN"))
179
325
  DeleteSamplingRuleRequest.struct_class = Types::DeleteSamplingRuleRequest
@@ -187,6 +333,8 @@ module Aws::XRay
187
333
  Edge.add_member(:summary_statistics, Shapes::ShapeRef.new(shape: EdgeStatistics, location_name: "SummaryStatistics"))
188
334
  Edge.add_member(:response_time_histogram, Shapes::ShapeRef.new(shape: Histogram, location_name: "ResponseTimeHistogram"))
189
335
  Edge.add_member(:aliases, Shapes::ShapeRef.new(shape: AliasList, location_name: "Aliases"))
336
+ Edge.add_member(:edge_type, Shapes::ShapeRef.new(shape: String, location_name: "EdgeType"))
337
+ Edge.add_member(:received_event_age_histogram, Shapes::ShapeRef.new(shape: Histogram, location_name: "ReceivedEventAgeHistogram"))
190
338
  Edge.struct_class = Types::Edge
191
339
 
192
340
  EdgeList.member = Shapes::ShapeRef.new(shape: Edge)
@@ -203,20 +351,127 @@ module Aws::XRay
203
351
  EncryptionConfig.add_member(:type, Shapes::ShapeRef.new(shape: EncryptionType, location_name: "Type"))
204
352
  EncryptionConfig.struct_class = Types::EncryptionConfig
205
353
 
354
+ ErrorRootCause.add_member(:services, Shapes::ShapeRef.new(shape: ErrorRootCauseServices, location_name: "Services"))
355
+ ErrorRootCause.add_member(:client_impacting, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "ClientImpacting"))
356
+ ErrorRootCause.struct_class = Types::ErrorRootCause
357
+
358
+ ErrorRootCauseEntity.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
359
+ ErrorRootCauseEntity.add_member(:exceptions, Shapes::ShapeRef.new(shape: RootCauseExceptions, location_name: "Exceptions"))
360
+ ErrorRootCauseEntity.add_member(:remote, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "Remote"))
361
+ ErrorRootCauseEntity.struct_class = Types::ErrorRootCauseEntity
362
+
363
+ ErrorRootCauseEntityPath.member = Shapes::ShapeRef.new(shape: ErrorRootCauseEntity)
364
+
365
+ ErrorRootCauseService.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
366
+ ErrorRootCauseService.add_member(:names, Shapes::ShapeRef.new(shape: ServiceNames, location_name: "Names"))
367
+ ErrorRootCauseService.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
368
+ ErrorRootCauseService.add_member(:account_id, Shapes::ShapeRef.new(shape: String, location_name: "AccountId"))
369
+ ErrorRootCauseService.add_member(:entity_path, Shapes::ShapeRef.new(shape: ErrorRootCauseEntityPath, location_name: "EntityPath"))
370
+ ErrorRootCauseService.add_member(:inferred, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "Inferred"))
371
+ ErrorRootCauseService.struct_class = Types::ErrorRootCauseService
372
+
373
+ ErrorRootCauseServices.member = Shapes::ShapeRef.new(shape: ErrorRootCauseService)
374
+
375
+ ErrorRootCauses.member = Shapes::ShapeRef.new(shape: ErrorRootCause)
376
+
206
377
  ErrorStatistics.add_member(:throttle_count, Shapes::ShapeRef.new(shape: NullableLong, location_name: "ThrottleCount"))
207
378
  ErrorStatistics.add_member(:other_count, Shapes::ShapeRef.new(shape: NullableLong, location_name: "OtherCount"))
208
379
  ErrorStatistics.add_member(:total_count, Shapes::ShapeRef.new(shape: NullableLong, location_name: "TotalCount"))
209
380
  ErrorStatistics.struct_class = Types::ErrorStatistics
210
381
 
382
+ FaultRootCause.add_member(:services, Shapes::ShapeRef.new(shape: FaultRootCauseServices, location_name: "Services"))
383
+ FaultRootCause.add_member(:client_impacting, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "ClientImpacting"))
384
+ FaultRootCause.struct_class = Types::FaultRootCause
385
+
386
+ FaultRootCauseEntity.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
387
+ FaultRootCauseEntity.add_member(:exceptions, Shapes::ShapeRef.new(shape: RootCauseExceptions, location_name: "Exceptions"))
388
+ FaultRootCauseEntity.add_member(:remote, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "Remote"))
389
+ FaultRootCauseEntity.struct_class = Types::FaultRootCauseEntity
390
+
391
+ FaultRootCauseEntityPath.member = Shapes::ShapeRef.new(shape: FaultRootCauseEntity)
392
+
393
+ FaultRootCauseService.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
394
+ FaultRootCauseService.add_member(:names, Shapes::ShapeRef.new(shape: ServiceNames, location_name: "Names"))
395
+ FaultRootCauseService.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
396
+ FaultRootCauseService.add_member(:account_id, Shapes::ShapeRef.new(shape: String, location_name: "AccountId"))
397
+ FaultRootCauseService.add_member(:entity_path, Shapes::ShapeRef.new(shape: FaultRootCauseEntityPath, location_name: "EntityPath"))
398
+ FaultRootCauseService.add_member(:inferred, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "Inferred"))
399
+ FaultRootCauseService.struct_class = Types::FaultRootCauseService
400
+
401
+ FaultRootCauseServices.member = Shapes::ShapeRef.new(shape: FaultRootCauseService)
402
+
403
+ FaultRootCauses.member = Shapes::ShapeRef.new(shape: FaultRootCause)
404
+
211
405
  FaultStatistics.add_member(:other_count, Shapes::ShapeRef.new(shape: NullableLong, location_name: "OtherCount"))
212
406
  FaultStatistics.add_member(:total_count, Shapes::ShapeRef.new(shape: NullableLong, location_name: "TotalCount"))
213
407
  FaultStatistics.struct_class = Types::FaultStatistics
214
408
 
409
+ ForecastStatistics.add_member(:fault_count_high, Shapes::ShapeRef.new(shape: NullableLong, location_name: "FaultCountHigh"))
410
+ ForecastStatistics.add_member(:fault_count_low, Shapes::ShapeRef.new(shape: NullableLong, location_name: "FaultCountLow"))
411
+ ForecastStatistics.struct_class = Types::ForecastStatistics
412
+
215
413
  GetEncryptionConfigRequest.struct_class = Types::GetEncryptionConfigRequest
216
414
 
217
415
  GetEncryptionConfigResult.add_member(:encryption_config, Shapes::ShapeRef.new(shape: EncryptionConfig, location_name: "EncryptionConfig"))
218
416
  GetEncryptionConfigResult.struct_class = Types::GetEncryptionConfigResult
219
417
 
418
+ GetGroupRequest.add_member(:group_name, Shapes::ShapeRef.new(shape: GroupName, location_name: "GroupName"))
419
+ GetGroupRequest.add_member(:group_arn, Shapes::ShapeRef.new(shape: GroupARN, location_name: "GroupARN"))
420
+ GetGroupRequest.struct_class = Types::GetGroupRequest
421
+
422
+ GetGroupResult.add_member(:group, Shapes::ShapeRef.new(shape: Group, location_name: "Group"))
423
+ GetGroupResult.struct_class = Types::GetGroupResult
424
+
425
+ GetGroupsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: GetGroupsNextToken, location_name: "NextToken"))
426
+ GetGroupsRequest.struct_class = Types::GetGroupsRequest
427
+
428
+ GetGroupsResult.add_member(:groups, Shapes::ShapeRef.new(shape: GroupSummaryList, location_name: "Groups"))
429
+ GetGroupsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
430
+ GetGroupsResult.struct_class = Types::GetGroupsResult
431
+
432
+ GetInsightEventsRequest.add_member(:insight_id, Shapes::ShapeRef.new(shape: InsightId, required: true, location_name: "InsightId"))
433
+ GetInsightEventsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: GetInsightEventsMaxResults, location_name: "MaxResults"))
434
+ GetInsightEventsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
435
+ GetInsightEventsRequest.struct_class = Types::GetInsightEventsRequest
436
+
437
+ GetInsightEventsResult.add_member(:insight_events, Shapes::ShapeRef.new(shape: InsightEventList, location_name: "InsightEvents"))
438
+ GetInsightEventsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
439
+ GetInsightEventsResult.struct_class = Types::GetInsightEventsResult
440
+
441
+ GetInsightImpactGraphRequest.add_member(:insight_id, Shapes::ShapeRef.new(shape: InsightId, required: true, location_name: "InsightId"))
442
+ GetInsightImpactGraphRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "StartTime"))
443
+ GetInsightImpactGraphRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "EndTime"))
444
+ GetInsightImpactGraphRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
445
+ GetInsightImpactGraphRequest.struct_class = Types::GetInsightImpactGraphRequest
446
+
447
+ GetInsightImpactGraphResult.add_member(:insight_id, Shapes::ShapeRef.new(shape: InsightId, location_name: "InsightId"))
448
+ GetInsightImpactGraphResult.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "StartTime"))
449
+ GetInsightImpactGraphResult.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndTime"))
450
+ GetInsightImpactGraphResult.add_member(:service_graph_start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ServiceGraphStartTime"))
451
+ GetInsightImpactGraphResult.add_member(:service_graph_end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ServiceGraphEndTime"))
452
+ GetInsightImpactGraphResult.add_member(:services, Shapes::ShapeRef.new(shape: InsightImpactGraphServiceList, location_name: "Services"))
453
+ GetInsightImpactGraphResult.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
454
+ GetInsightImpactGraphResult.struct_class = Types::GetInsightImpactGraphResult
455
+
456
+ GetInsightRequest.add_member(:insight_id, Shapes::ShapeRef.new(shape: InsightId, required: true, location_name: "InsightId"))
457
+ GetInsightRequest.struct_class = Types::GetInsightRequest
458
+
459
+ GetInsightResult.add_member(:insight, Shapes::ShapeRef.new(shape: Insight, location_name: "Insight"))
460
+ GetInsightResult.struct_class = Types::GetInsightResult
461
+
462
+ GetInsightSummariesRequest.add_member(:states, Shapes::ShapeRef.new(shape: InsightStateList, location_name: "States"))
463
+ GetInsightSummariesRequest.add_member(:group_arn, Shapes::ShapeRef.new(shape: GroupARN, location_name: "GroupARN"))
464
+ GetInsightSummariesRequest.add_member(:group_name, Shapes::ShapeRef.new(shape: GroupName, location_name: "GroupName"))
465
+ GetInsightSummariesRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "StartTime"))
466
+ GetInsightSummariesRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "EndTime"))
467
+ GetInsightSummariesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: GetInsightSummariesMaxResults, location_name: "MaxResults"))
468
+ GetInsightSummariesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
469
+ GetInsightSummariesRequest.struct_class = Types::GetInsightSummariesRequest
470
+
471
+ GetInsightSummariesResult.add_member(:insight_summaries, Shapes::ShapeRef.new(shape: InsightSummaryList, location_name: "InsightSummaries"))
472
+ GetInsightSummariesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
473
+ GetInsightSummariesResult.struct_class = Types::GetInsightSummariesResult
474
+
220
475
  GetSamplingRulesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
221
476
  GetSamplingRulesRequest.struct_class = Types::GetSamplingRulesRequest
222
477
 
@@ -241,15 +496,33 @@ module Aws::XRay
241
496
 
242
497
  GetServiceGraphRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "StartTime"))
243
498
  GetServiceGraphRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "EndTime"))
499
+ GetServiceGraphRequest.add_member(:group_name, Shapes::ShapeRef.new(shape: GroupName, location_name: "GroupName"))
500
+ GetServiceGraphRequest.add_member(:group_arn, Shapes::ShapeRef.new(shape: GroupARN, location_name: "GroupARN"))
244
501
  GetServiceGraphRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
245
502
  GetServiceGraphRequest.struct_class = Types::GetServiceGraphRequest
246
503
 
247
504
  GetServiceGraphResult.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "StartTime"))
248
505
  GetServiceGraphResult.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndTime"))
249
506
  GetServiceGraphResult.add_member(:services, Shapes::ShapeRef.new(shape: ServiceList, location_name: "Services"))
507
+ GetServiceGraphResult.add_member(:contains_old_group_versions, Shapes::ShapeRef.new(shape: Boolean, location_name: "ContainsOldGroupVersions"))
250
508
  GetServiceGraphResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
251
509
  GetServiceGraphResult.struct_class = Types::GetServiceGraphResult
252
510
 
511
+ GetTimeSeriesServiceStatisticsRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "StartTime"))
512
+ GetTimeSeriesServiceStatisticsRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "EndTime"))
513
+ GetTimeSeriesServiceStatisticsRequest.add_member(:group_name, Shapes::ShapeRef.new(shape: GroupName, location_name: "GroupName"))
514
+ GetTimeSeriesServiceStatisticsRequest.add_member(:group_arn, Shapes::ShapeRef.new(shape: GroupARN, location_name: "GroupARN"))
515
+ GetTimeSeriesServiceStatisticsRequest.add_member(:entity_selector_expression, Shapes::ShapeRef.new(shape: EntitySelectorExpression, location_name: "EntitySelectorExpression"))
516
+ GetTimeSeriesServiceStatisticsRequest.add_member(:period, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "Period"))
517
+ GetTimeSeriesServiceStatisticsRequest.add_member(:forecast_statistics, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "ForecastStatistics"))
518
+ GetTimeSeriesServiceStatisticsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
519
+ GetTimeSeriesServiceStatisticsRequest.struct_class = Types::GetTimeSeriesServiceStatisticsRequest
520
+
521
+ GetTimeSeriesServiceStatisticsResult.add_member(:time_series_service_statistics, Shapes::ShapeRef.new(shape: TimeSeriesServiceStatisticsList, location_name: "TimeSeriesServiceStatistics"))
522
+ GetTimeSeriesServiceStatisticsResult.add_member(:contains_old_group_versions, Shapes::ShapeRef.new(shape: Boolean, location_name: "ContainsOldGroupVersions"))
523
+ GetTimeSeriesServiceStatisticsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
524
+ GetTimeSeriesServiceStatisticsResult.struct_class = Types::GetTimeSeriesServiceStatisticsResult
525
+
253
526
  GetTraceGraphRequest.add_member(:trace_ids, Shapes::ShapeRef.new(shape: TraceIdList, required: true, location_name: "TraceIds"))
254
527
  GetTraceGraphRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
255
528
  GetTraceGraphRequest.struct_class = Types::GetTraceGraphRequest
@@ -260,7 +533,9 @@ module Aws::XRay
260
533
 
261
534
  GetTraceSummariesRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "StartTime"))
262
535
  GetTraceSummariesRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "EndTime"))
536
+ GetTraceSummariesRequest.add_member(:time_range_type, Shapes::ShapeRef.new(shape: TimeRangeType, location_name: "TimeRangeType"))
263
537
  GetTraceSummariesRequest.add_member(:sampling, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "Sampling"))
538
+ GetTraceSummariesRequest.add_member(:sampling_strategy, Shapes::ShapeRef.new(shape: SamplingStrategy, location_name: "SamplingStrategy"))
264
539
  GetTraceSummariesRequest.add_member(:filter_expression, Shapes::ShapeRef.new(shape: FilterExpression, location_name: "FilterExpression"))
265
540
  GetTraceSummariesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
266
541
  GetTraceSummariesRequest.struct_class = Types::GetTraceSummariesRequest
@@ -271,6 +546,20 @@ module Aws::XRay
271
546
  GetTraceSummariesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
272
547
  GetTraceSummariesResult.struct_class = Types::GetTraceSummariesResult
273
548
 
549
+ Group.add_member(:group_name, Shapes::ShapeRef.new(shape: String, location_name: "GroupName"))
550
+ Group.add_member(:group_arn, Shapes::ShapeRef.new(shape: String, location_name: "GroupARN"))
551
+ Group.add_member(:filter_expression, Shapes::ShapeRef.new(shape: String, location_name: "FilterExpression"))
552
+ Group.add_member(:insights_configuration, Shapes::ShapeRef.new(shape: InsightsConfiguration, location_name: "InsightsConfiguration"))
553
+ Group.struct_class = Types::Group
554
+
555
+ GroupSummary.add_member(:group_name, Shapes::ShapeRef.new(shape: String, location_name: "GroupName"))
556
+ GroupSummary.add_member(:group_arn, Shapes::ShapeRef.new(shape: String, location_name: "GroupARN"))
557
+ GroupSummary.add_member(:filter_expression, Shapes::ShapeRef.new(shape: String, location_name: "FilterExpression"))
558
+ GroupSummary.add_member(:insights_configuration, Shapes::ShapeRef.new(shape: InsightsConfiguration, location_name: "InsightsConfiguration"))
559
+ GroupSummary.struct_class = Types::GroupSummary
560
+
561
+ GroupSummaryList.member = Shapes::ShapeRef.new(shape: GroupSummary)
562
+
274
563
  Histogram.member = Shapes::ShapeRef.new(shape: HistogramEntry)
275
564
 
276
565
  HistogramEntry.add_member(:value, Shapes::ShapeRef.new(shape: Double, location_name: "Value"))
@@ -284,6 +573,105 @@ module Aws::XRay
284
573
  Http.add_member(:client_ip, Shapes::ShapeRef.new(shape: String, location_name: "ClientIp"))
285
574
  Http.struct_class = Types::Http
286
575
 
576
+ Insight.add_member(:insight_id, Shapes::ShapeRef.new(shape: InsightId, location_name: "InsightId"))
577
+ Insight.add_member(:group_arn, Shapes::ShapeRef.new(shape: GroupARN, location_name: "GroupARN"))
578
+ Insight.add_member(:group_name, Shapes::ShapeRef.new(shape: GroupName, location_name: "GroupName"))
579
+ Insight.add_member(:root_cause_service_id, Shapes::ShapeRef.new(shape: ServiceId, location_name: "RootCauseServiceId"))
580
+ Insight.add_member(:categories, Shapes::ShapeRef.new(shape: InsightCategoryList, location_name: "Categories"))
581
+ Insight.add_member(:state, Shapes::ShapeRef.new(shape: InsightState, location_name: "State"))
582
+ Insight.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "StartTime"))
583
+ Insight.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndTime"))
584
+ Insight.add_member(:summary, Shapes::ShapeRef.new(shape: InsightSummaryText, location_name: "Summary"))
585
+ Insight.add_member(:client_request_impact_statistics, Shapes::ShapeRef.new(shape: RequestImpactStatistics, location_name: "ClientRequestImpactStatistics"))
586
+ Insight.add_member(:root_cause_service_request_impact_statistics, Shapes::ShapeRef.new(shape: RequestImpactStatistics, location_name: "RootCauseServiceRequestImpactStatistics"))
587
+ Insight.add_member(:top_anomalous_services, Shapes::ShapeRef.new(shape: AnomalousServiceList, location_name: "TopAnomalousServices"))
588
+ Insight.struct_class = Types::Insight
589
+
590
+ InsightCategoryList.member = Shapes::ShapeRef.new(shape: InsightCategory)
591
+
592
+ InsightEvent.add_member(:summary, Shapes::ShapeRef.new(shape: EventSummaryText, location_name: "Summary"))
593
+ InsightEvent.add_member(:event_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EventTime"))
594
+ InsightEvent.add_member(:client_request_impact_statistics, Shapes::ShapeRef.new(shape: RequestImpactStatistics, location_name: "ClientRequestImpactStatistics"))
595
+ InsightEvent.add_member(:root_cause_service_request_impact_statistics, Shapes::ShapeRef.new(shape: RequestImpactStatistics, location_name: "RootCauseServiceRequestImpactStatistics"))
596
+ InsightEvent.add_member(:top_anomalous_services, Shapes::ShapeRef.new(shape: AnomalousServiceList, location_name: "TopAnomalousServices"))
597
+ InsightEvent.struct_class = Types::InsightEvent
598
+
599
+ InsightEventList.member = Shapes::ShapeRef.new(shape: InsightEvent)
600
+
601
+ InsightImpactGraphEdge.add_member(:reference_id, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "ReferenceId"))
602
+ InsightImpactGraphEdge.struct_class = Types::InsightImpactGraphEdge
603
+
604
+ InsightImpactGraphEdgeList.member = Shapes::ShapeRef.new(shape: InsightImpactGraphEdge)
605
+
606
+ InsightImpactGraphService.add_member(:reference_id, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "ReferenceId"))
607
+ InsightImpactGraphService.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
608
+ InsightImpactGraphService.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
609
+ InsightImpactGraphService.add_member(:names, Shapes::ShapeRef.new(shape: ServiceNames, location_name: "Names"))
610
+ InsightImpactGraphService.add_member(:account_id, Shapes::ShapeRef.new(shape: String, location_name: "AccountId"))
611
+ InsightImpactGraphService.add_member(:edges, Shapes::ShapeRef.new(shape: InsightImpactGraphEdgeList, location_name: "Edges"))
612
+ InsightImpactGraphService.struct_class = Types::InsightImpactGraphService
613
+
614
+ InsightImpactGraphServiceList.member = Shapes::ShapeRef.new(shape: InsightImpactGraphService)
615
+
616
+ InsightStateList.member = Shapes::ShapeRef.new(shape: InsightState)
617
+
618
+ InsightSummary.add_member(:insight_id, Shapes::ShapeRef.new(shape: InsightId, location_name: "InsightId"))
619
+ InsightSummary.add_member(:group_arn, Shapes::ShapeRef.new(shape: GroupARN, location_name: "GroupARN"))
620
+ InsightSummary.add_member(:group_name, Shapes::ShapeRef.new(shape: GroupName, location_name: "GroupName"))
621
+ InsightSummary.add_member(:root_cause_service_id, Shapes::ShapeRef.new(shape: ServiceId, location_name: "RootCauseServiceId"))
622
+ InsightSummary.add_member(:categories, Shapes::ShapeRef.new(shape: InsightCategoryList, location_name: "Categories"))
623
+ InsightSummary.add_member(:state, Shapes::ShapeRef.new(shape: InsightState, location_name: "State"))
624
+ InsightSummary.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "StartTime"))
625
+ InsightSummary.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndTime"))
626
+ InsightSummary.add_member(:summary, Shapes::ShapeRef.new(shape: InsightSummaryText, location_name: "Summary"))
627
+ InsightSummary.add_member(:client_request_impact_statistics, Shapes::ShapeRef.new(shape: RequestImpactStatistics, location_name: "ClientRequestImpactStatistics"))
628
+ InsightSummary.add_member(:root_cause_service_request_impact_statistics, Shapes::ShapeRef.new(shape: RequestImpactStatistics, location_name: "RootCauseServiceRequestImpactStatistics"))
629
+ InsightSummary.add_member(:top_anomalous_services, Shapes::ShapeRef.new(shape: AnomalousServiceList, location_name: "TopAnomalousServices"))
630
+ InsightSummary.add_member(:last_update_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastUpdateTime"))
631
+ InsightSummary.struct_class = Types::InsightSummary
632
+
633
+ InsightSummaryList.member = Shapes::ShapeRef.new(shape: InsightSummary)
634
+
635
+ InsightsConfiguration.add_member(:insights_enabled, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "InsightsEnabled"))
636
+ InsightsConfiguration.add_member(:notifications_enabled, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "NotificationsEnabled"))
637
+ InsightsConfiguration.struct_class = Types::InsightsConfiguration
638
+
639
+ InstanceIdDetail.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "Id"))
640
+ InstanceIdDetail.struct_class = Types::InstanceIdDetail
641
+
642
+ InvalidPolicyRevisionIdException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
643
+ InvalidPolicyRevisionIdException.struct_class = Types::InvalidPolicyRevisionIdException
644
+
645
+ InvalidRequestException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
646
+ InvalidRequestException.struct_class = Types::InvalidRequestException
647
+
648
+ ListResourcePoliciesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: ResourcePolicyNextToken, location_name: "NextToken"))
649
+ ListResourcePoliciesRequest.struct_class = Types::ListResourcePoliciesRequest
650
+
651
+ ListResourcePoliciesResult.add_member(:resource_policies, Shapes::ShapeRef.new(shape: ResourcePolicyList, location_name: "ResourcePolicies"))
652
+ ListResourcePoliciesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: ResourcePolicyNextToken, location_name: "NextToken"))
653
+ ListResourcePoliciesResult.struct_class = Types::ListResourcePoliciesResult
654
+
655
+ ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "ResourceARN"))
656
+ ListTagsForResourceRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
657
+ ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
658
+
659
+ ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
660
+ ListTagsForResourceResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
661
+ ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
662
+
663
+ LockoutPreventionException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
664
+ LockoutPreventionException.struct_class = Types::LockoutPreventionException
665
+
666
+ MalformedPolicyDocumentException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
667
+ MalformedPolicyDocumentException.struct_class = Types::MalformedPolicyDocumentException
668
+
669
+ PolicyCountLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
670
+ PolicyCountLimitExceededException.struct_class = Types::PolicyCountLimitExceededException
671
+
672
+ PolicySizeLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
673
+ PolicySizeLimitExceededException.struct_class = Types::PolicySizeLimitExceededException
674
+
287
675
  PutEncryptionConfigRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: EncryptionKeyId, location_name: "KeyId"))
288
676
  PutEncryptionConfigRequest.add_member(:type, Shapes::ShapeRef.new(shape: EncryptionType, required: true, location_name: "Type"))
289
677
  PutEncryptionConfigRequest.struct_class = Types::PutEncryptionConfigRequest
@@ -291,6 +679,15 @@ module Aws::XRay
291
679
  PutEncryptionConfigResult.add_member(:encryption_config, Shapes::ShapeRef.new(shape: EncryptionConfig, location_name: "EncryptionConfig"))
292
680
  PutEncryptionConfigResult.struct_class = Types::PutEncryptionConfigResult
293
681
 
682
+ PutResourcePolicyRequest.add_member(:policy_name, Shapes::ShapeRef.new(shape: PolicyName, required: true, location_name: "PolicyName"))
683
+ PutResourcePolicyRequest.add_member(:policy_document, Shapes::ShapeRef.new(shape: PolicyDocument, required: true, location_name: "PolicyDocument"))
684
+ PutResourcePolicyRequest.add_member(:policy_revision_id, Shapes::ShapeRef.new(shape: PolicyRevisionId, location_name: "PolicyRevisionId"))
685
+ PutResourcePolicyRequest.add_member(:bypass_policy_lockout_check, Shapes::ShapeRef.new(shape: Boolean, location_name: "BypassPolicyLockoutCheck"))
686
+ PutResourcePolicyRequest.struct_class = Types::PutResourcePolicyRequest
687
+
688
+ PutResourcePolicyResult.add_member(:resource_policy, Shapes::ShapeRef.new(shape: ResourcePolicy, location_name: "ResourcePolicy"))
689
+ PutResourcePolicyResult.struct_class = Types::PutResourcePolicyResult
690
+
294
691
  PutTelemetryRecordsRequest.add_member(:telemetry_records, Shapes::ShapeRef.new(shape: TelemetryRecordList, required: true, location_name: "TelemetryRecords"))
295
692
  PutTelemetryRecordsRequest.add_member(:ec2_instance_id, Shapes::ShapeRef.new(shape: EC2InstanceId, location_name: "EC2InstanceId"))
296
693
  PutTelemetryRecordsRequest.add_member(:hostname, Shapes::ShapeRef.new(shape: Hostname, location_name: "Hostname"))
@@ -305,6 +702,58 @@ module Aws::XRay
305
702
  PutTraceSegmentsResult.add_member(:unprocessed_trace_segments, Shapes::ShapeRef.new(shape: UnprocessedTraceSegmentList, location_name: "UnprocessedTraceSegments"))
306
703
  PutTraceSegmentsResult.struct_class = Types::PutTraceSegmentsResult
307
704
 
705
+ RequestImpactStatistics.add_member(:fault_count, Shapes::ShapeRef.new(shape: NullableLong, location_name: "FaultCount"))
706
+ RequestImpactStatistics.add_member(:ok_count, Shapes::ShapeRef.new(shape: NullableLong, location_name: "OkCount"))
707
+ RequestImpactStatistics.add_member(:total_count, Shapes::ShapeRef.new(shape: NullableLong, location_name: "TotalCount"))
708
+ RequestImpactStatistics.struct_class = Types::RequestImpactStatistics
709
+
710
+ ResourceARNDetail.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "ARN"))
711
+ ResourceARNDetail.struct_class = Types::ResourceARNDetail
712
+
713
+ ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
714
+ ResourceNotFoundException.add_member(:resource_name, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "ResourceName"))
715
+ ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
716
+
717
+ ResourcePolicy.add_member(:policy_name, Shapes::ShapeRef.new(shape: PolicyName, location_name: "PolicyName"))
718
+ ResourcePolicy.add_member(:policy_document, Shapes::ShapeRef.new(shape: PolicyDocument, location_name: "PolicyDocument"))
719
+ ResourcePolicy.add_member(:policy_revision_id, Shapes::ShapeRef.new(shape: PolicyRevisionId, location_name: "PolicyRevisionId"))
720
+ ResourcePolicy.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastUpdatedTime"))
721
+ ResourcePolicy.struct_class = Types::ResourcePolicy
722
+
723
+ ResourcePolicyList.member = Shapes::ShapeRef.new(shape: ResourcePolicy)
724
+
725
+ ResponseTimeRootCause.add_member(:services, Shapes::ShapeRef.new(shape: ResponseTimeRootCauseServices, location_name: "Services"))
726
+ ResponseTimeRootCause.add_member(:client_impacting, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "ClientImpacting"))
727
+ ResponseTimeRootCause.struct_class = Types::ResponseTimeRootCause
728
+
729
+ ResponseTimeRootCauseEntity.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
730
+ ResponseTimeRootCauseEntity.add_member(:coverage, Shapes::ShapeRef.new(shape: NullableDouble, location_name: "Coverage"))
731
+ ResponseTimeRootCauseEntity.add_member(:remote, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "Remote"))
732
+ ResponseTimeRootCauseEntity.struct_class = Types::ResponseTimeRootCauseEntity
733
+
734
+ ResponseTimeRootCauseEntityPath.member = Shapes::ShapeRef.new(shape: ResponseTimeRootCauseEntity)
735
+
736
+ ResponseTimeRootCauseService.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
737
+ ResponseTimeRootCauseService.add_member(:names, Shapes::ShapeRef.new(shape: ServiceNames, location_name: "Names"))
738
+ ResponseTimeRootCauseService.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
739
+ ResponseTimeRootCauseService.add_member(:account_id, Shapes::ShapeRef.new(shape: String, location_name: "AccountId"))
740
+ ResponseTimeRootCauseService.add_member(:entity_path, Shapes::ShapeRef.new(shape: ResponseTimeRootCauseEntityPath, location_name: "EntityPath"))
741
+ ResponseTimeRootCauseService.add_member(:inferred, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "Inferred"))
742
+ ResponseTimeRootCauseService.struct_class = Types::ResponseTimeRootCauseService
743
+
744
+ ResponseTimeRootCauseServices.member = Shapes::ShapeRef.new(shape: ResponseTimeRootCauseService)
745
+
746
+ ResponseTimeRootCauses.member = Shapes::ShapeRef.new(shape: ResponseTimeRootCause)
747
+
748
+ RootCauseException.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
749
+ RootCauseException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
750
+ RootCauseException.struct_class = Types::RootCauseException
751
+
752
+ RootCauseExceptions.member = Shapes::ShapeRef.new(shape: RootCauseException)
753
+
754
+ RuleLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
755
+ RuleLimitExceededException.struct_class = Types::RuleLimitExceededException
756
+
308
757
  SamplingRule.add_member(:rule_name, Shapes::ShapeRef.new(shape: RuleName, location_name: "RuleName"))
309
758
  SamplingRule.add_member(:rule_arn, Shapes::ShapeRef.new(shape: String, location_name: "RuleARN"))
310
759
  SamplingRule.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceARN, required: true, location_name: "ResourceARN"))
@@ -360,6 +809,10 @@ module Aws::XRay
360
809
 
361
810
  SamplingStatisticsDocumentList.member = Shapes::ShapeRef.new(shape: SamplingStatisticsDocument)
362
811
 
812
+ SamplingStrategy.add_member(:name, Shapes::ShapeRef.new(shape: SamplingStrategyName, location_name: "Name"))
813
+ SamplingStrategy.add_member(:value, Shapes::ShapeRef.new(shape: NullableDouble, location_name: "Value"))
814
+ SamplingStrategy.struct_class = Types::SamplingStrategy
815
+
363
816
  SamplingTargetDocument.add_member(:rule_name, Shapes::ShapeRef.new(shape: String, location_name: "RuleName"))
364
817
  SamplingTargetDocument.add_member(:fixed_rate, Shapes::ShapeRef.new(shape: Double, location_name: "FixedRate"))
365
818
  SamplingTargetDocument.add_member(:reservoir_quota, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "ReservoirQuota"))
@@ -409,6 +862,20 @@ module Aws::XRay
409
862
  ServiceStatistics.add_member(:total_response_time, Shapes::ShapeRef.new(shape: NullableDouble, location_name: "TotalResponseTime"))
410
863
  ServiceStatistics.struct_class = Types::ServiceStatistics
411
864
 
865
+ Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
866
+ Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "Value"))
867
+ Tag.struct_class = Types::Tag
868
+
869
+ TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
870
+
871
+ TagList.member = Shapes::ShapeRef.new(shape: Tag)
872
+
873
+ TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "ResourceARN"))
874
+ TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "Tags"))
875
+ TagResourceRequest.struct_class = Types::TagResourceRequest
876
+
877
+ TagResourceResponse.struct_class = Types::TagResourceResponse
878
+
412
879
  TelemetryRecord.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "Timestamp"))
413
880
  TelemetryRecord.add_member(:segments_received_count, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "SegmentsReceivedCount"))
414
881
  TelemetryRecord.add_member(:segments_sent_count, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "SegmentsSentCount"))
@@ -419,18 +886,42 @@ module Aws::XRay
419
886
 
420
887
  TelemetryRecordList.member = Shapes::ShapeRef.new(shape: TelemetryRecord)
421
888
 
889
+ ThrottledException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
890
+ ThrottledException.struct_class = Types::ThrottledException
891
+
892
+ TimeSeriesServiceStatistics.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "Timestamp"))
893
+ TimeSeriesServiceStatistics.add_member(:edge_summary_statistics, Shapes::ShapeRef.new(shape: EdgeStatistics, location_name: "EdgeSummaryStatistics"))
894
+ TimeSeriesServiceStatistics.add_member(:service_summary_statistics, Shapes::ShapeRef.new(shape: ServiceStatistics, location_name: "ServiceSummaryStatistics"))
895
+ TimeSeriesServiceStatistics.add_member(:service_forecast_statistics, Shapes::ShapeRef.new(shape: ForecastStatistics, location_name: "ServiceForecastStatistics"))
896
+ TimeSeriesServiceStatistics.add_member(:response_time_histogram, Shapes::ShapeRef.new(shape: Histogram, location_name: "ResponseTimeHistogram"))
897
+ TimeSeriesServiceStatistics.struct_class = Types::TimeSeriesServiceStatistics
898
+
899
+ TimeSeriesServiceStatisticsList.member = Shapes::ShapeRef.new(shape: TimeSeriesServiceStatistics)
900
+
901
+ TooManyTagsException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
902
+ TooManyTagsException.add_member(:resource_name, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "ResourceName"))
903
+ TooManyTagsException.struct_class = Types::TooManyTagsException
904
+
422
905
  Trace.add_member(:id, Shapes::ShapeRef.new(shape: TraceId, location_name: "Id"))
423
906
  Trace.add_member(:duration, Shapes::ShapeRef.new(shape: NullableDouble, location_name: "Duration"))
907
+ Trace.add_member(:limit_exceeded, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "LimitExceeded"))
424
908
  Trace.add_member(:segments, Shapes::ShapeRef.new(shape: SegmentList, location_name: "Segments"))
425
909
  Trace.struct_class = Types::Trace
426
910
 
911
+ TraceAvailabilityZones.member = Shapes::ShapeRef.new(shape: AvailabilityZoneDetail)
912
+
427
913
  TraceIdList.member = Shapes::ShapeRef.new(shape: TraceId)
428
914
 
915
+ TraceInstanceIds.member = Shapes::ShapeRef.new(shape: InstanceIdDetail)
916
+
429
917
  TraceList.member = Shapes::ShapeRef.new(shape: Trace)
430
918
 
919
+ TraceResourceARNs.member = Shapes::ShapeRef.new(shape: ResourceARNDetail)
920
+
431
921
  TraceSegmentDocumentList.member = Shapes::ShapeRef.new(shape: TraceSegmentDocument)
432
922
 
433
923
  TraceSummary.add_member(:id, Shapes::ShapeRef.new(shape: TraceId, location_name: "Id"))
924
+ TraceSummary.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "StartTime"))
434
925
  TraceSummary.add_member(:duration, Shapes::ShapeRef.new(shape: NullableDouble, location_name: "Duration"))
435
926
  TraceSummary.add_member(:response_time, Shapes::ShapeRef.new(shape: NullableDouble, location_name: "ResponseTime"))
436
927
  TraceSummary.add_member(:has_fault, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "HasFault"))
@@ -441,6 +932,15 @@ module Aws::XRay
441
932
  TraceSummary.add_member(:annotations, Shapes::ShapeRef.new(shape: Annotations, location_name: "Annotations"))
442
933
  TraceSummary.add_member(:users, Shapes::ShapeRef.new(shape: TraceUsers, location_name: "Users"))
443
934
  TraceSummary.add_member(:service_ids, Shapes::ShapeRef.new(shape: ServiceIds, location_name: "ServiceIds"))
935
+ TraceSummary.add_member(:resource_arns, Shapes::ShapeRef.new(shape: TraceResourceARNs, location_name: "ResourceARNs"))
936
+ TraceSummary.add_member(:instance_ids, Shapes::ShapeRef.new(shape: TraceInstanceIds, location_name: "InstanceIds"))
937
+ TraceSummary.add_member(:availability_zones, Shapes::ShapeRef.new(shape: TraceAvailabilityZones, location_name: "AvailabilityZones"))
938
+ TraceSummary.add_member(:entry_point, Shapes::ShapeRef.new(shape: ServiceId, location_name: "EntryPoint"))
939
+ TraceSummary.add_member(:fault_root_causes, Shapes::ShapeRef.new(shape: FaultRootCauses, location_name: "FaultRootCauses"))
940
+ TraceSummary.add_member(:error_root_causes, Shapes::ShapeRef.new(shape: ErrorRootCauses, location_name: "ErrorRootCauses"))
941
+ TraceSummary.add_member(:response_time_root_causes, Shapes::ShapeRef.new(shape: ResponseTimeRootCauses, location_name: "ResponseTimeRootCauses"))
942
+ TraceSummary.add_member(:revision, Shapes::ShapeRef.new(shape: Integer, location_name: "Revision"))
943
+ TraceSummary.add_member(:matched_event_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "MatchedEventTime"))
444
944
  TraceSummary.struct_class = Types::TraceSummary
445
945
 
446
946
  TraceSummaryList.member = Shapes::ShapeRef.new(shape: TraceSummary)
@@ -467,6 +967,21 @@ module Aws::XRay
467
967
 
468
968
  UnprocessedTraceSegmentList.member = Shapes::ShapeRef.new(shape: UnprocessedTraceSegment)
469
969
 
970
+ UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "ResourceARN"))
971
+ UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "TagKeys"))
972
+ UntagResourceRequest.struct_class = Types::UntagResourceRequest
973
+
974
+ UntagResourceResponse.struct_class = Types::UntagResourceResponse
975
+
976
+ UpdateGroupRequest.add_member(:group_name, Shapes::ShapeRef.new(shape: GroupName, location_name: "GroupName"))
977
+ UpdateGroupRequest.add_member(:group_arn, Shapes::ShapeRef.new(shape: GroupARN, location_name: "GroupARN"))
978
+ UpdateGroupRequest.add_member(:filter_expression, Shapes::ShapeRef.new(shape: FilterExpression, location_name: "FilterExpression"))
979
+ UpdateGroupRequest.add_member(:insights_configuration, Shapes::ShapeRef.new(shape: InsightsConfiguration, location_name: "InsightsConfiguration"))
980
+ UpdateGroupRequest.struct_class = Types::UpdateGroupRequest
981
+
982
+ UpdateGroupResult.add_member(:group, Shapes::ShapeRef.new(shape: Group, location_name: "Group"))
983
+ UpdateGroupResult.struct_class = Types::UpdateGroupResult
984
+
470
985
  UpdateSamplingRuleRequest.add_member(:sampling_rule_update, Shapes::ShapeRef.new(shape: SamplingRuleUpdate, required: true, location_name: "SamplingRuleUpdate"))
471
986
  UpdateSamplingRuleRequest.struct_class = Types::UpdateSamplingRuleRequest
472
987
 
@@ -486,10 +1001,13 @@ module Aws::XRay
486
1001
  api.version = "2016-04-12"
487
1002
 
488
1003
  api.metadata = {
1004
+ "apiVersion" => "2016-04-12",
489
1005
  "endpointPrefix" => "xray",
490
1006
  "protocol" => "rest-json",
491
1007
  "serviceFullName" => "AWS X-Ray",
1008
+ "serviceId" => "XRay",
492
1009
  "signatureVersion" => "v4",
1010
+ "uid" => "xray-2016-04-12",
493
1011
  }
494
1012
 
495
1013
  api.add_operation(:batch_get_traces, Seahorse::Model::Operation.new.tap do |o|
@@ -507,6 +1025,16 @@ module Aws::XRay
507
1025
  )
508
1026
  end)
509
1027
 
1028
+ api.add_operation(:create_group, Seahorse::Model::Operation.new.tap do |o|
1029
+ o.name = "CreateGroup"
1030
+ o.http_method = "POST"
1031
+ o.http_request_uri = "/CreateGroup"
1032
+ o.input = Shapes::ShapeRef.new(shape: CreateGroupRequest)
1033
+ o.output = Shapes::ShapeRef.new(shape: CreateGroupResult)
1034
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1035
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
1036
+ end)
1037
+
510
1038
  api.add_operation(:create_sampling_rule, Seahorse::Model::Operation.new.tap do |o|
511
1039
  o.name = "CreateSamplingRule"
512
1040
  o.http_method = "POST"
@@ -518,6 +1046,27 @@ module Aws::XRay
518
1046
  o.errors << Shapes::ShapeRef.new(shape: RuleLimitExceededException)
519
1047
  end)
520
1048
 
1049
+ api.add_operation(:delete_group, Seahorse::Model::Operation.new.tap do |o|
1050
+ o.name = "DeleteGroup"
1051
+ o.http_method = "POST"
1052
+ o.http_request_uri = "/DeleteGroup"
1053
+ o.input = Shapes::ShapeRef.new(shape: DeleteGroupRequest)
1054
+ o.output = Shapes::ShapeRef.new(shape: DeleteGroupResult)
1055
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1056
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
1057
+ end)
1058
+
1059
+ api.add_operation(:delete_resource_policy, Seahorse::Model::Operation.new.tap do |o|
1060
+ o.name = "DeleteResourcePolicy"
1061
+ o.http_method = "POST"
1062
+ o.http_request_uri = "/DeleteResourcePolicy"
1063
+ o.input = Shapes::ShapeRef.new(shape: DeleteResourcePolicyRequest)
1064
+ o.output = Shapes::ShapeRef.new(shape: DeleteResourcePolicyResult)
1065
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1066
+ o.errors << Shapes::ShapeRef.new(shape: InvalidPolicyRevisionIdException)
1067
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
1068
+ end)
1069
+
521
1070
  api.add_operation(:delete_sampling_rule, Seahorse::Model::Operation.new.tap do |o|
522
1071
  o.name = "DeleteSamplingRule"
523
1072
  o.http_method = "POST"
@@ -538,6 +1087,83 @@ module Aws::XRay
538
1087
  o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
539
1088
  end)
540
1089
 
1090
+ api.add_operation(:get_group, Seahorse::Model::Operation.new.tap do |o|
1091
+ o.name = "GetGroup"
1092
+ o.http_method = "POST"
1093
+ o.http_request_uri = "/GetGroup"
1094
+ o.input = Shapes::ShapeRef.new(shape: GetGroupRequest)
1095
+ o.output = Shapes::ShapeRef.new(shape: GetGroupResult)
1096
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1097
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
1098
+ end)
1099
+
1100
+ api.add_operation(:get_groups, Seahorse::Model::Operation.new.tap do |o|
1101
+ o.name = "GetGroups"
1102
+ o.http_method = "POST"
1103
+ o.http_request_uri = "/Groups"
1104
+ o.input = Shapes::ShapeRef.new(shape: GetGroupsRequest)
1105
+ o.output = Shapes::ShapeRef.new(shape: GetGroupsResult)
1106
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1107
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
1108
+ o[:pager] = Aws::Pager.new(
1109
+ tokens: {
1110
+ "next_token" => "next_token"
1111
+ }
1112
+ )
1113
+ end)
1114
+
1115
+ api.add_operation(:get_insight, Seahorse::Model::Operation.new.tap do |o|
1116
+ o.name = "GetInsight"
1117
+ o.http_method = "POST"
1118
+ o.http_request_uri = "/Insight"
1119
+ o.input = Shapes::ShapeRef.new(shape: GetInsightRequest)
1120
+ o.output = Shapes::ShapeRef.new(shape: GetInsightResult)
1121
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1122
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
1123
+ end)
1124
+
1125
+ api.add_operation(:get_insight_events, Seahorse::Model::Operation.new.tap do |o|
1126
+ o.name = "GetInsightEvents"
1127
+ o.http_method = "POST"
1128
+ o.http_request_uri = "/InsightEvents"
1129
+ o.input = Shapes::ShapeRef.new(shape: GetInsightEventsRequest)
1130
+ o.output = Shapes::ShapeRef.new(shape: GetInsightEventsResult)
1131
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1132
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
1133
+ o[:pager] = Aws::Pager.new(
1134
+ limit_key: "max_results",
1135
+ tokens: {
1136
+ "next_token" => "next_token"
1137
+ }
1138
+ )
1139
+ end)
1140
+
1141
+ api.add_operation(:get_insight_impact_graph, Seahorse::Model::Operation.new.tap do |o|
1142
+ o.name = "GetInsightImpactGraph"
1143
+ o.http_method = "POST"
1144
+ o.http_request_uri = "/InsightImpactGraph"
1145
+ o.input = Shapes::ShapeRef.new(shape: GetInsightImpactGraphRequest)
1146
+ o.output = Shapes::ShapeRef.new(shape: GetInsightImpactGraphResult)
1147
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1148
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
1149
+ end)
1150
+
1151
+ api.add_operation(:get_insight_summaries, Seahorse::Model::Operation.new.tap do |o|
1152
+ o.name = "GetInsightSummaries"
1153
+ o.http_method = "POST"
1154
+ o.http_request_uri = "/InsightSummaries"
1155
+ o.input = Shapes::ShapeRef.new(shape: GetInsightSummariesRequest)
1156
+ o.output = Shapes::ShapeRef.new(shape: GetInsightSummariesResult)
1157
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1158
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
1159
+ o[:pager] = Aws::Pager.new(
1160
+ limit_key: "max_results",
1161
+ tokens: {
1162
+ "next_token" => "next_token"
1163
+ }
1164
+ )
1165
+ end)
1166
+
541
1167
  api.add_operation(:get_sampling_rules, Seahorse::Model::Operation.new.tap do |o|
542
1168
  o.name = "GetSamplingRules"
543
1169
  o.http_method = "POST"
@@ -546,6 +1172,11 @@ module Aws::XRay
546
1172
  o.output = Shapes::ShapeRef.new(shape: GetSamplingRulesResult)
547
1173
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
548
1174
  o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
1175
+ o[:pager] = Aws::Pager.new(
1176
+ tokens: {
1177
+ "next_token" => "next_token"
1178
+ }
1179
+ )
549
1180
  end)
550
1181
 
551
1182
  api.add_operation(:get_sampling_statistic_summaries, Seahorse::Model::Operation.new.tap do |o|
@@ -556,6 +1187,11 @@ module Aws::XRay
556
1187
  o.output = Shapes::ShapeRef.new(shape: GetSamplingStatisticSummariesResult)
557
1188
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
558
1189
  o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
1190
+ o[:pager] = Aws::Pager.new(
1191
+ tokens: {
1192
+ "next_token" => "next_token"
1193
+ }
1194
+ )
559
1195
  end)
560
1196
 
561
1197
  api.add_operation(:get_sampling_targets, Seahorse::Model::Operation.new.tap do |o|
@@ -583,6 +1219,21 @@ module Aws::XRay
583
1219
  )
584
1220
  end)
585
1221
 
1222
+ api.add_operation(:get_time_series_service_statistics, Seahorse::Model::Operation.new.tap do |o|
1223
+ o.name = "GetTimeSeriesServiceStatistics"
1224
+ o.http_method = "POST"
1225
+ o.http_request_uri = "/TimeSeriesServiceStatistics"
1226
+ o.input = Shapes::ShapeRef.new(shape: GetTimeSeriesServiceStatisticsRequest)
1227
+ o.output = Shapes::ShapeRef.new(shape: GetTimeSeriesServiceStatisticsResult)
1228
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1229
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
1230
+ o[:pager] = Aws::Pager.new(
1231
+ tokens: {
1232
+ "next_token" => "next_token"
1233
+ }
1234
+ )
1235
+ end)
1236
+
586
1237
  api.add_operation(:get_trace_graph, Seahorse::Model::Operation.new.tap do |o|
587
1238
  o.name = "GetTraceGraph"
588
1239
  o.http_method = "POST"
@@ -613,6 +1264,37 @@ module Aws::XRay
613
1264
  )
614
1265
  end)
615
1266
 
1267
+ api.add_operation(:list_resource_policies, Seahorse::Model::Operation.new.tap do |o|
1268
+ o.name = "ListResourcePolicies"
1269
+ o.http_method = "POST"
1270
+ o.http_request_uri = "/ListResourcePolicies"
1271
+ o.input = Shapes::ShapeRef.new(shape: ListResourcePoliciesRequest)
1272
+ o.output = Shapes::ShapeRef.new(shape: ListResourcePoliciesResult)
1273
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1274
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
1275
+ o[:pager] = Aws::Pager.new(
1276
+ tokens: {
1277
+ "next_token" => "next_token"
1278
+ }
1279
+ )
1280
+ end)
1281
+
1282
+ api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
1283
+ o.name = "ListTagsForResource"
1284
+ o.http_method = "POST"
1285
+ o.http_request_uri = "/ListTagsForResource"
1286
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
1287
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
1288
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1289
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
1290
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1291
+ o[:pager] = Aws::Pager.new(
1292
+ tokens: {
1293
+ "next_token" => "next_token"
1294
+ }
1295
+ )
1296
+ end)
1297
+
616
1298
  api.add_operation(:put_encryption_config, Seahorse::Model::Operation.new.tap do |o|
617
1299
  o.name = "PutEncryptionConfig"
618
1300
  o.http_method = "POST"
@@ -623,6 +1305,20 @@ module Aws::XRay
623
1305
  o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
624
1306
  end)
625
1307
 
1308
+ api.add_operation(:put_resource_policy, Seahorse::Model::Operation.new.tap do |o|
1309
+ o.name = "PutResourcePolicy"
1310
+ o.http_method = "POST"
1311
+ o.http_request_uri = "/PutResourcePolicy"
1312
+ o.input = Shapes::ShapeRef.new(shape: PutResourcePolicyRequest)
1313
+ o.output = Shapes::ShapeRef.new(shape: PutResourcePolicyResult)
1314
+ o.errors << Shapes::ShapeRef.new(shape: MalformedPolicyDocumentException)
1315
+ o.errors << Shapes::ShapeRef.new(shape: LockoutPreventionException)
1316
+ o.errors << Shapes::ShapeRef.new(shape: InvalidPolicyRevisionIdException)
1317
+ o.errors << Shapes::ShapeRef.new(shape: PolicySizeLimitExceededException)
1318
+ o.errors << Shapes::ShapeRef.new(shape: PolicyCountLimitExceededException)
1319
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
1320
+ end)
1321
+
626
1322
  api.add_operation(:put_telemetry_records, Seahorse::Model::Operation.new.tap do |o|
627
1323
  o.name = "PutTelemetryRecords"
628
1324
  o.http_method = "POST"
@@ -643,6 +1339,39 @@ module Aws::XRay
643
1339
  o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
644
1340
  end)
645
1341
 
1342
+ api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
1343
+ o.name = "TagResource"
1344
+ o.http_method = "POST"
1345
+ o.http_request_uri = "/TagResource"
1346
+ o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
1347
+ o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
1348
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1349
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
1350
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1351
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
1352
+ end)
1353
+
1354
+ api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
1355
+ o.name = "UntagResource"
1356
+ o.http_method = "POST"
1357
+ o.http_request_uri = "/UntagResource"
1358
+ o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
1359
+ o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
1360
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1361
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
1362
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1363
+ end)
1364
+
1365
+ api.add_operation(:update_group, Seahorse::Model::Operation.new.tap do |o|
1366
+ o.name = "UpdateGroup"
1367
+ o.http_method = "POST"
1368
+ o.http_request_uri = "/UpdateGroup"
1369
+ o.input = Shapes::ShapeRef.new(shape: UpdateGroupRequest)
1370
+ o.output = Shapes::ShapeRef.new(shape: UpdateGroupResult)
1371
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1372
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
1373
+ end)
1374
+
646
1375
  api.add_operation(:update_sampling_rule, Seahorse::Model::Operation.new.tap do |o|
647
1376
  o.name = "UpdateSamplingRule"
648
1377
  o.http_method = "POST"