aws-sdk-xray 1.0.0.rc2 → 1.0.0.rc3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-xray.rb +2 -2
- data/lib/aws-sdk-xray/client.rb +555 -489
- data/lib/aws-sdk-xray/client_api.rb +360 -362
- data/lib/aws-sdk-xray/errors.rb +4 -13
- data/lib/aws-sdk-xray/resource.rb +12 -14
- data/lib/aws-sdk-xray/types.rb +969 -855
- metadata +2 -2
@@ -1,372 +1,370 @@
|
|
1
1
|
# WARNING ABOUT GENERATED CODE
|
2
2
|
#
|
3
|
-
# This file is generated. See the contributing for
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
4
|
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
|
5
5
|
#
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
|
-
module Aws
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
UnprocessedTraceIdList.member = Shapes::ShapeRef.new(shape: TraceId)
|
282
|
-
|
283
|
-
UnprocessedTraceSegment.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "Id"))
|
284
|
-
UnprocessedTraceSegment.add_member(:error_code, Shapes::ShapeRef.new(shape: String, location_name: "ErrorCode"))
|
285
|
-
UnprocessedTraceSegment.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
286
|
-
UnprocessedTraceSegment.struct_class = Types::UnprocessedTraceSegment
|
287
|
-
|
288
|
-
UnprocessedTraceSegmentList.member = Shapes::ShapeRef.new(shape: UnprocessedTraceSegment)
|
289
|
-
|
290
|
-
ValueWithServiceIds.add_member(:annotation_value, Shapes::ShapeRef.new(shape: AnnotationValue, location_name: "AnnotationValue"))
|
291
|
-
ValueWithServiceIds.add_member(:service_ids, Shapes::ShapeRef.new(shape: ServiceIds, location_name: "ServiceIds"))
|
292
|
-
ValueWithServiceIds.struct_class = Types::ValueWithServiceIds
|
293
|
-
|
294
|
-
ValuesWithServiceIds.member = Shapes::ShapeRef.new(shape: ValueWithServiceIds)
|
295
|
-
|
296
|
-
|
297
|
-
# @api private
|
298
|
-
API = Seahorse::Model::Api.new.tap do |api|
|
299
|
-
|
300
|
-
api.version = "2016-04-12"
|
301
|
-
|
302
|
-
api.metadata = {
|
303
|
-
"endpointPrefix" => "xray",
|
304
|
-
"protocol" => "rest-json",
|
305
|
-
"serviceFullName" => "AWS X-Ray",
|
306
|
-
"signatureVersion" => "v4",
|
307
|
-
}
|
308
|
-
|
309
|
-
api.add_operation(:batch_get_traces, Seahorse::Model::Operation.new.tap do |o|
|
310
|
-
o.name = "BatchGetTraces"
|
311
|
-
o.http_method = "POST"
|
312
|
-
o.http_request_uri = "/Traces"
|
313
|
-
o.input = Shapes::ShapeRef.new(shape: BatchGetTracesRequest)
|
314
|
-
o.output = Shapes::ShapeRef.new(shape: BatchGetTracesResult)
|
315
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
316
|
-
o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
|
317
|
-
end)
|
318
|
-
|
319
|
-
api.add_operation(:get_service_graph, Seahorse::Model::Operation.new.tap do |o|
|
320
|
-
o.name = "GetServiceGraph"
|
321
|
-
o.http_method = "POST"
|
322
|
-
o.http_request_uri = "/ServiceGraph"
|
323
|
-
o.input = Shapes::ShapeRef.new(shape: GetServiceGraphRequest)
|
324
|
-
o.output = Shapes::ShapeRef.new(shape: GetServiceGraphResult)
|
325
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
326
|
-
o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
|
327
|
-
end)
|
328
|
-
|
329
|
-
api.add_operation(:get_trace_graph, Seahorse::Model::Operation.new.tap do |o|
|
330
|
-
o.name = "GetTraceGraph"
|
331
|
-
o.http_method = "POST"
|
332
|
-
o.http_request_uri = "/TraceGraph"
|
333
|
-
o.input = Shapes::ShapeRef.new(shape: GetTraceGraphRequest)
|
334
|
-
o.output = Shapes::ShapeRef.new(shape: GetTraceGraphResult)
|
335
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
336
|
-
o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
|
337
|
-
end)
|
338
|
-
|
339
|
-
api.add_operation(:get_trace_summaries, Seahorse::Model::Operation.new.tap do |o|
|
340
|
-
o.name = "GetTraceSummaries"
|
341
|
-
o.http_method = "POST"
|
342
|
-
o.http_request_uri = "/TraceSummaries"
|
343
|
-
o.input = Shapes::ShapeRef.new(shape: GetTraceSummariesRequest)
|
344
|
-
o.output = Shapes::ShapeRef.new(shape: GetTraceSummariesResult)
|
345
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
346
|
-
o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
|
347
|
-
end)
|
348
|
-
|
349
|
-
api.add_operation(:put_telemetry_records, Seahorse::Model::Operation.new.tap do |o|
|
350
|
-
o.name = "PutTelemetryRecords"
|
351
|
-
o.http_method = "POST"
|
352
|
-
o.http_request_uri = "/TelemetryRecords"
|
353
|
-
o.input = Shapes::ShapeRef.new(shape: PutTelemetryRecordsRequest)
|
354
|
-
o.output = Shapes::ShapeRef.new(shape: PutTelemetryRecordsResult)
|
355
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
356
|
-
o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
|
357
|
-
end)
|
358
|
-
|
359
|
-
api.add_operation(:put_trace_segments, Seahorse::Model::Operation.new.tap do |o|
|
360
|
-
o.name = "PutTraceSegments"
|
361
|
-
o.http_method = "POST"
|
362
|
-
o.http_request_uri = "/TraceSegments"
|
363
|
-
o.input = Shapes::ShapeRef.new(shape: PutTraceSegmentsRequest)
|
364
|
-
o.output = Shapes::ShapeRef.new(shape: PutTraceSegmentsResult)
|
365
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
366
|
-
o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
|
367
|
-
end)
|
368
|
-
end
|
8
|
+
module Aws::XRay
|
9
|
+
# @api private
|
10
|
+
module ClientApi
|
11
|
+
|
12
|
+
include Seahorse::Model
|
13
|
+
|
14
|
+
Alias = Shapes::StructureShape.new(name: 'Alias')
|
15
|
+
AliasList = Shapes::ListShape.new(name: 'AliasList')
|
16
|
+
AliasNames = Shapes::ListShape.new(name: 'AliasNames')
|
17
|
+
AnnotationKey = Shapes::StringShape.new(name: 'AnnotationKey')
|
18
|
+
AnnotationValue = Shapes::StructureShape.new(name: 'AnnotationValue')
|
19
|
+
Annotations = Shapes::MapShape.new(name: 'Annotations')
|
20
|
+
BackendConnectionErrors = Shapes::StructureShape.new(name: 'BackendConnectionErrors')
|
21
|
+
BatchGetTracesRequest = Shapes::StructureShape.new(name: 'BatchGetTracesRequest')
|
22
|
+
BatchGetTracesResult = Shapes::StructureShape.new(name: 'BatchGetTracesResult')
|
23
|
+
Double = Shapes::FloatShape.new(name: 'Double')
|
24
|
+
Edge = Shapes::StructureShape.new(name: 'Edge')
|
25
|
+
EdgeList = Shapes::ListShape.new(name: 'EdgeList')
|
26
|
+
EdgeStatistics = Shapes::StructureShape.new(name: 'EdgeStatistics')
|
27
|
+
ErrorStatistics = Shapes::StructureShape.new(name: 'ErrorStatistics')
|
28
|
+
FaultStatistics = Shapes::StructureShape.new(name: 'FaultStatistics')
|
29
|
+
FilterExpression = Shapes::StringShape.new(name: 'FilterExpression')
|
30
|
+
GetServiceGraphRequest = Shapes::StructureShape.new(name: 'GetServiceGraphRequest')
|
31
|
+
GetServiceGraphResult = Shapes::StructureShape.new(name: 'GetServiceGraphResult')
|
32
|
+
GetTraceGraphRequest = Shapes::StructureShape.new(name: 'GetTraceGraphRequest')
|
33
|
+
GetTraceGraphResult = Shapes::StructureShape.new(name: 'GetTraceGraphResult')
|
34
|
+
GetTraceSummariesRequest = Shapes::StructureShape.new(name: 'GetTraceSummariesRequest')
|
35
|
+
GetTraceSummariesResult = Shapes::StructureShape.new(name: 'GetTraceSummariesResult')
|
36
|
+
Histogram = Shapes::ListShape.new(name: 'Histogram')
|
37
|
+
HistogramEntry = Shapes::StructureShape.new(name: 'HistogramEntry')
|
38
|
+
Http = Shapes::StructureShape.new(name: 'Http')
|
39
|
+
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
40
|
+
InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
|
41
|
+
NullableBoolean = Shapes::BooleanShape.new(name: 'NullableBoolean')
|
42
|
+
NullableDouble = Shapes::FloatShape.new(name: 'NullableDouble')
|
43
|
+
NullableInteger = Shapes::IntegerShape.new(name: 'NullableInteger')
|
44
|
+
NullableLong = Shapes::IntegerShape.new(name: 'NullableLong')
|
45
|
+
PutTelemetryRecordsRequest = Shapes::StructureShape.new(name: 'PutTelemetryRecordsRequest')
|
46
|
+
PutTelemetryRecordsResult = Shapes::StructureShape.new(name: 'PutTelemetryRecordsResult')
|
47
|
+
PutTraceSegmentsRequest = Shapes::StructureShape.new(name: 'PutTraceSegmentsRequest')
|
48
|
+
PutTraceSegmentsResult = Shapes::StructureShape.new(name: 'PutTraceSegmentsResult')
|
49
|
+
Segment = Shapes::StructureShape.new(name: 'Segment')
|
50
|
+
SegmentDocument = Shapes::StringShape.new(name: 'SegmentDocument')
|
51
|
+
SegmentId = Shapes::StringShape.new(name: 'SegmentId')
|
52
|
+
SegmentList = Shapes::ListShape.new(name: 'SegmentList')
|
53
|
+
Service = Shapes::StructureShape.new(name: 'Service')
|
54
|
+
ServiceId = Shapes::StructureShape.new(name: 'ServiceId')
|
55
|
+
ServiceIds = Shapes::ListShape.new(name: 'ServiceIds')
|
56
|
+
ServiceList = Shapes::ListShape.new(name: 'ServiceList')
|
57
|
+
ServiceNames = Shapes::ListShape.new(name: 'ServiceNames')
|
58
|
+
ServiceStatistics = Shapes::StructureShape.new(name: 'ServiceStatistics')
|
59
|
+
String = Shapes::StringShape.new(name: 'String')
|
60
|
+
TelemetryRecord = Shapes::StructureShape.new(name: 'TelemetryRecord')
|
61
|
+
TelemetryRecordList = Shapes::ListShape.new(name: 'TelemetryRecordList')
|
62
|
+
ThrottledException = Shapes::StructureShape.new(name: 'ThrottledException')
|
63
|
+
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
64
|
+
Trace = Shapes::StructureShape.new(name: 'Trace')
|
65
|
+
TraceId = Shapes::StringShape.new(name: 'TraceId')
|
66
|
+
TraceIdList = Shapes::ListShape.new(name: 'TraceIdList')
|
67
|
+
TraceList = Shapes::ListShape.new(name: 'TraceList')
|
68
|
+
TraceSegmentDocument = Shapes::StringShape.new(name: 'TraceSegmentDocument')
|
69
|
+
TraceSegmentDocumentList = Shapes::ListShape.new(name: 'TraceSegmentDocumentList')
|
70
|
+
TraceSummary = Shapes::StructureShape.new(name: 'TraceSummary')
|
71
|
+
TraceSummaryList = Shapes::ListShape.new(name: 'TraceSummaryList')
|
72
|
+
TraceUser = Shapes::StructureShape.new(name: 'TraceUser')
|
73
|
+
TraceUsers = Shapes::ListShape.new(name: 'TraceUsers')
|
74
|
+
UnprocessedTraceIdList = Shapes::ListShape.new(name: 'UnprocessedTraceIdList')
|
75
|
+
UnprocessedTraceSegment = Shapes::StructureShape.new(name: 'UnprocessedTraceSegment')
|
76
|
+
UnprocessedTraceSegmentList = Shapes::ListShape.new(name: 'UnprocessedTraceSegmentList')
|
77
|
+
ValueWithServiceIds = Shapes::StructureShape.new(name: 'ValueWithServiceIds')
|
78
|
+
ValuesWithServiceIds = Shapes::ListShape.new(name: 'ValuesWithServiceIds')
|
79
|
+
|
80
|
+
Alias.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
|
81
|
+
Alias.add_member(:names, Shapes::ShapeRef.new(shape: AliasNames, location_name: "Names"))
|
82
|
+
Alias.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
|
83
|
+
Alias.struct_class = Types::Alias
|
84
|
+
|
85
|
+
AliasList.member = Shapes::ShapeRef.new(shape: Alias)
|
86
|
+
|
87
|
+
AliasNames.member = Shapes::ShapeRef.new(shape: String)
|
88
|
+
|
89
|
+
AnnotationValue.add_member(:number_value, Shapes::ShapeRef.new(shape: NullableDouble, location_name: "NumberValue"))
|
90
|
+
AnnotationValue.add_member(:boolean_value, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "BooleanValue"))
|
91
|
+
AnnotationValue.add_member(:string_value, Shapes::ShapeRef.new(shape: String, location_name: "StringValue"))
|
92
|
+
AnnotationValue.struct_class = Types::AnnotationValue
|
93
|
+
|
94
|
+
Annotations.key = Shapes::ShapeRef.new(shape: AnnotationKey)
|
95
|
+
Annotations.value = Shapes::ShapeRef.new(shape: ValuesWithServiceIds)
|
96
|
+
|
97
|
+
BackendConnectionErrors.add_member(:timeout_count, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "TimeoutCount"))
|
98
|
+
BackendConnectionErrors.add_member(:connection_refused_count, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "ConnectionRefusedCount"))
|
99
|
+
BackendConnectionErrors.add_member(:http_code_4_xx_count, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "HTTPCode4XXCount"))
|
100
|
+
BackendConnectionErrors.add_member(:http_code_5_xx_count, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "HTTPCode5XXCount"))
|
101
|
+
BackendConnectionErrors.add_member(:unknown_host_count, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "UnknownHostCount"))
|
102
|
+
BackendConnectionErrors.add_member(:other_count, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "OtherCount"))
|
103
|
+
BackendConnectionErrors.struct_class = Types::BackendConnectionErrors
|
104
|
+
|
105
|
+
BatchGetTracesRequest.add_member(:trace_ids, Shapes::ShapeRef.new(shape: TraceIdList, required: true, location_name: "TraceIds"))
|
106
|
+
BatchGetTracesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
107
|
+
BatchGetTracesRequest.struct_class = Types::BatchGetTracesRequest
|
108
|
+
|
109
|
+
BatchGetTracesResult.add_member(:traces, Shapes::ShapeRef.new(shape: TraceList, location_name: "Traces"))
|
110
|
+
BatchGetTracesResult.add_member(:unprocessed_trace_ids, Shapes::ShapeRef.new(shape: UnprocessedTraceIdList, location_name: "UnprocessedTraceIds"))
|
111
|
+
BatchGetTracesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
112
|
+
BatchGetTracesResult.struct_class = Types::BatchGetTracesResult
|
113
|
+
|
114
|
+
Edge.add_member(:reference_id, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "ReferenceId"))
|
115
|
+
Edge.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "StartTime"))
|
116
|
+
Edge.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndTime"))
|
117
|
+
Edge.add_member(:summary_statistics, Shapes::ShapeRef.new(shape: EdgeStatistics, location_name: "SummaryStatistics"))
|
118
|
+
Edge.add_member(:response_time_histogram, Shapes::ShapeRef.new(shape: Histogram, location_name: "ResponseTimeHistogram"))
|
119
|
+
Edge.add_member(:aliases, Shapes::ShapeRef.new(shape: AliasList, location_name: "Aliases"))
|
120
|
+
Edge.struct_class = Types::Edge
|
121
|
+
|
122
|
+
EdgeList.member = Shapes::ShapeRef.new(shape: Edge)
|
123
|
+
|
124
|
+
EdgeStatistics.add_member(:ok_count, Shapes::ShapeRef.new(shape: NullableLong, location_name: "OkCount"))
|
125
|
+
EdgeStatistics.add_member(:error_statistics, Shapes::ShapeRef.new(shape: ErrorStatistics, location_name: "ErrorStatistics"))
|
126
|
+
EdgeStatistics.add_member(:fault_statistics, Shapes::ShapeRef.new(shape: FaultStatistics, location_name: "FaultStatistics"))
|
127
|
+
EdgeStatistics.add_member(:total_count, Shapes::ShapeRef.new(shape: NullableLong, location_name: "TotalCount"))
|
128
|
+
EdgeStatistics.add_member(:total_response_time, Shapes::ShapeRef.new(shape: NullableDouble, location_name: "TotalResponseTime"))
|
129
|
+
EdgeStatistics.struct_class = Types::EdgeStatistics
|
130
|
+
|
131
|
+
ErrorStatistics.add_member(:throttle_count, Shapes::ShapeRef.new(shape: NullableLong, location_name: "ThrottleCount"))
|
132
|
+
ErrorStatistics.add_member(:other_count, Shapes::ShapeRef.new(shape: NullableLong, location_name: "OtherCount"))
|
133
|
+
ErrorStatistics.add_member(:total_count, Shapes::ShapeRef.new(shape: NullableLong, location_name: "TotalCount"))
|
134
|
+
ErrorStatistics.struct_class = Types::ErrorStatistics
|
135
|
+
|
136
|
+
FaultStatistics.add_member(:other_count, Shapes::ShapeRef.new(shape: NullableLong, location_name: "OtherCount"))
|
137
|
+
FaultStatistics.add_member(:total_count, Shapes::ShapeRef.new(shape: NullableLong, location_name: "TotalCount"))
|
138
|
+
FaultStatistics.struct_class = Types::FaultStatistics
|
139
|
+
|
140
|
+
GetServiceGraphRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "StartTime"))
|
141
|
+
GetServiceGraphRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "EndTime"))
|
142
|
+
GetServiceGraphRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
143
|
+
GetServiceGraphRequest.struct_class = Types::GetServiceGraphRequest
|
144
|
+
|
145
|
+
GetServiceGraphResult.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "StartTime"))
|
146
|
+
GetServiceGraphResult.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndTime"))
|
147
|
+
GetServiceGraphResult.add_member(:services, Shapes::ShapeRef.new(shape: ServiceList, location_name: "Services"))
|
148
|
+
GetServiceGraphResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
149
|
+
GetServiceGraphResult.struct_class = Types::GetServiceGraphResult
|
150
|
+
|
151
|
+
GetTraceGraphRequest.add_member(:trace_ids, Shapes::ShapeRef.new(shape: TraceIdList, required: true, location_name: "TraceIds"))
|
152
|
+
GetTraceGraphRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
153
|
+
GetTraceGraphRequest.struct_class = Types::GetTraceGraphRequest
|
154
|
+
|
155
|
+
GetTraceGraphResult.add_member(:services, Shapes::ShapeRef.new(shape: ServiceList, location_name: "Services"))
|
156
|
+
GetTraceGraphResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
157
|
+
GetTraceGraphResult.struct_class = Types::GetTraceGraphResult
|
158
|
+
|
159
|
+
GetTraceSummariesRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "StartTime"))
|
160
|
+
GetTraceSummariesRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "EndTime"))
|
161
|
+
GetTraceSummariesRequest.add_member(:sampling, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "Sampling"))
|
162
|
+
GetTraceSummariesRequest.add_member(:filter_expression, Shapes::ShapeRef.new(shape: FilterExpression, location_name: "FilterExpression"))
|
163
|
+
GetTraceSummariesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
164
|
+
GetTraceSummariesRequest.struct_class = Types::GetTraceSummariesRequest
|
165
|
+
|
166
|
+
GetTraceSummariesResult.add_member(:trace_summaries, Shapes::ShapeRef.new(shape: TraceSummaryList, location_name: "TraceSummaries"))
|
167
|
+
GetTraceSummariesResult.add_member(:approximate_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ApproximateTime"))
|
168
|
+
GetTraceSummariesResult.add_member(:traces_processed_count, Shapes::ShapeRef.new(shape: NullableLong, location_name: "TracesProcessedCount"))
|
169
|
+
GetTraceSummariesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
170
|
+
GetTraceSummariesResult.struct_class = Types::GetTraceSummariesResult
|
171
|
+
|
172
|
+
Histogram.member = Shapes::ShapeRef.new(shape: HistogramEntry)
|
173
|
+
|
174
|
+
HistogramEntry.add_member(:value, Shapes::ShapeRef.new(shape: Double, location_name: "Value"))
|
175
|
+
HistogramEntry.add_member(:count, Shapes::ShapeRef.new(shape: Integer, location_name: "Count"))
|
176
|
+
HistogramEntry.struct_class = Types::HistogramEntry
|
177
|
+
|
178
|
+
Http.add_member(:http_url, Shapes::ShapeRef.new(shape: String, location_name: "HttpURL"))
|
179
|
+
Http.add_member(:http_status, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "HttpStatus"))
|
180
|
+
Http.add_member(:http_method, Shapes::ShapeRef.new(shape: String, location_name: "HttpMethod"))
|
181
|
+
Http.add_member(:user_agent, Shapes::ShapeRef.new(shape: String, location_name: "UserAgent"))
|
182
|
+
Http.add_member(:client_ip, Shapes::ShapeRef.new(shape: String, location_name: "ClientIp"))
|
183
|
+
Http.struct_class = Types::Http
|
184
|
+
|
185
|
+
PutTelemetryRecordsRequest.add_member(:telemetry_records, Shapes::ShapeRef.new(shape: TelemetryRecordList, required: true, location_name: "TelemetryRecords"))
|
186
|
+
PutTelemetryRecordsRequest.add_member(:ec2_instance_id, Shapes::ShapeRef.new(shape: String, location_name: "EC2InstanceId"))
|
187
|
+
PutTelemetryRecordsRequest.add_member(:hostname, Shapes::ShapeRef.new(shape: String, location_name: "Hostname"))
|
188
|
+
PutTelemetryRecordsRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, location_name: "ResourceARN"))
|
189
|
+
PutTelemetryRecordsRequest.struct_class = Types::PutTelemetryRecordsRequest
|
190
|
+
|
191
|
+
PutTelemetryRecordsResult.struct_class = Types::PutTelemetryRecordsResult
|
192
|
+
|
193
|
+
PutTraceSegmentsRequest.add_member(:trace_segment_documents, Shapes::ShapeRef.new(shape: TraceSegmentDocumentList, required: true, location_name: "TraceSegmentDocuments"))
|
194
|
+
PutTraceSegmentsRequest.struct_class = Types::PutTraceSegmentsRequest
|
195
|
+
|
196
|
+
PutTraceSegmentsResult.add_member(:unprocessed_trace_segments, Shapes::ShapeRef.new(shape: UnprocessedTraceSegmentList, location_name: "UnprocessedTraceSegments"))
|
197
|
+
PutTraceSegmentsResult.struct_class = Types::PutTraceSegmentsResult
|
198
|
+
|
199
|
+
Segment.add_member(:id, Shapes::ShapeRef.new(shape: SegmentId, location_name: "Id"))
|
200
|
+
Segment.add_member(:document, Shapes::ShapeRef.new(shape: SegmentDocument, location_name: "Document"))
|
201
|
+
Segment.struct_class = Types::Segment
|
202
|
+
|
203
|
+
SegmentList.member = Shapes::ShapeRef.new(shape: Segment)
|
204
|
+
|
205
|
+
Service.add_member(:reference_id, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "ReferenceId"))
|
206
|
+
Service.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
|
207
|
+
Service.add_member(:names, Shapes::ShapeRef.new(shape: ServiceNames, location_name: "Names"))
|
208
|
+
Service.add_member(:root, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "Root"))
|
209
|
+
Service.add_member(:account_id, Shapes::ShapeRef.new(shape: String, location_name: "AccountId"))
|
210
|
+
Service.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
|
211
|
+
Service.add_member(:state, Shapes::ShapeRef.new(shape: String, location_name: "State"))
|
212
|
+
Service.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "StartTime"))
|
213
|
+
Service.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndTime"))
|
214
|
+
Service.add_member(:edges, Shapes::ShapeRef.new(shape: EdgeList, location_name: "Edges"))
|
215
|
+
Service.add_member(:summary_statistics, Shapes::ShapeRef.new(shape: ServiceStatistics, location_name: "SummaryStatistics"))
|
216
|
+
Service.add_member(:duration_histogram, Shapes::ShapeRef.new(shape: Histogram, location_name: "DurationHistogram"))
|
217
|
+
Service.struct_class = Types::Service
|
218
|
+
|
219
|
+
ServiceId.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
|
220
|
+
ServiceId.add_member(:names, Shapes::ShapeRef.new(shape: ServiceNames, location_name: "Names"))
|
221
|
+
ServiceId.add_member(:account_id, Shapes::ShapeRef.new(shape: String, location_name: "AccountId"))
|
222
|
+
ServiceId.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
|
223
|
+
ServiceId.struct_class = Types::ServiceId
|
224
|
+
|
225
|
+
ServiceIds.member = Shapes::ShapeRef.new(shape: ServiceId)
|
226
|
+
|
227
|
+
ServiceList.member = Shapes::ShapeRef.new(shape: Service)
|
228
|
+
|
229
|
+
ServiceNames.member = Shapes::ShapeRef.new(shape: String)
|
230
|
+
|
231
|
+
ServiceStatistics.add_member(:ok_count, Shapes::ShapeRef.new(shape: NullableLong, location_name: "OkCount"))
|
232
|
+
ServiceStatistics.add_member(:error_statistics, Shapes::ShapeRef.new(shape: ErrorStatistics, location_name: "ErrorStatistics"))
|
233
|
+
ServiceStatistics.add_member(:fault_statistics, Shapes::ShapeRef.new(shape: FaultStatistics, location_name: "FaultStatistics"))
|
234
|
+
ServiceStatistics.add_member(:total_count, Shapes::ShapeRef.new(shape: NullableLong, location_name: "TotalCount"))
|
235
|
+
ServiceStatistics.add_member(:total_response_time, Shapes::ShapeRef.new(shape: NullableDouble, location_name: "TotalResponseTime"))
|
236
|
+
ServiceStatistics.struct_class = Types::ServiceStatistics
|
237
|
+
|
238
|
+
TelemetryRecord.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "Timestamp"))
|
239
|
+
TelemetryRecord.add_member(:segments_received_count, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "SegmentsReceivedCount"))
|
240
|
+
TelemetryRecord.add_member(:segments_sent_count, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "SegmentsSentCount"))
|
241
|
+
TelemetryRecord.add_member(:segments_spillover_count, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "SegmentsSpilloverCount"))
|
242
|
+
TelemetryRecord.add_member(:segments_rejected_count, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "SegmentsRejectedCount"))
|
243
|
+
TelemetryRecord.add_member(:backend_connection_errors, Shapes::ShapeRef.new(shape: BackendConnectionErrors, location_name: "BackendConnectionErrors"))
|
244
|
+
TelemetryRecord.struct_class = Types::TelemetryRecord
|
245
|
+
|
246
|
+
TelemetryRecordList.member = Shapes::ShapeRef.new(shape: TelemetryRecord)
|
247
|
+
|
248
|
+
Trace.add_member(:id, Shapes::ShapeRef.new(shape: TraceId, location_name: "Id"))
|
249
|
+
Trace.add_member(:duration, Shapes::ShapeRef.new(shape: NullableDouble, location_name: "Duration"))
|
250
|
+
Trace.add_member(:segments, Shapes::ShapeRef.new(shape: SegmentList, location_name: "Segments"))
|
251
|
+
Trace.struct_class = Types::Trace
|
252
|
+
|
253
|
+
TraceIdList.member = Shapes::ShapeRef.new(shape: TraceId)
|
254
|
+
|
255
|
+
TraceList.member = Shapes::ShapeRef.new(shape: Trace)
|
256
|
+
|
257
|
+
TraceSegmentDocumentList.member = Shapes::ShapeRef.new(shape: TraceSegmentDocument)
|
258
|
+
|
259
|
+
TraceSummary.add_member(:id, Shapes::ShapeRef.new(shape: TraceId, location_name: "Id"))
|
260
|
+
TraceSummary.add_member(:duration, Shapes::ShapeRef.new(shape: NullableDouble, location_name: "Duration"))
|
261
|
+
TraceSummary.add_member(:response_time, Shapes::ShapeRef.new(shape: NullableDouble, location_name: "ResponseTime"))
|
262
|
+
TraceSummary.add_member(:has_fault, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "HasFault"))
|
263
|
+
TraceSummary.add_member(:has_error, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "HasError"))
|
264
|
+
TraceSummary.add_member(:has_throttle, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "HasThrottle"))
|
265
|
+
TraceSummary.add_member(:is_partial, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "IsPartial"))
|
266
|
+
TraceSummary.add_member(:http, Shapes::ShapeRef.new(shape: Http, location_name: "Http"))
|
267
|
+
TraceSummary.add_member(:annotations, Shapes::ShapeRef.new(shape: Annotations, location_name: "Annotations"))
|
268
|
+
TraceSummary.add_member(:users, Shapes::ShapeRef.new(shape: TraceUsers, location_name: "Users"))
|
269
|
+
TraceSummary.add_member(:service_ids, Shapes::ShapeRef.new(shape: ServiceIds, location_name: "ServiceIds"))
|
270
|
+
TraceSummary.struct_class = Types::TraceSummary
|
271
|
+
|
272
|
+
TraceSummaryList.member = Shapes::ShapeRef.new(shape: TraceSummary)
|
273
|
+
|
274
|
+
TraceUser.add_member(:user_name, Shapes::ShapeRef.new(shape: String, location_name: "UserName"))
|
275
|
+
TraceUser.add_member(:service_ids, Shapes::ShapeRef.new(shape: ServiceIds, location_name: "ServiceIds"))
|
276
|
+
TraceUser.struct_class = Types::TraceUser
|
277
|
+
|
278
|
+
TraceUsers.member = Shapes::ShapeRef.new(shape: TraceUser)
|
279
|
+
|
280
|
+
UnprocessedTraceIdList.member = Shapes::ShapeRef.new(shape: TraceId)
|
369
281
|
|
282
|
+
UnprocessedTraceSegment.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "Id"))
|
283
|
+
UnprocessedTraceSegment.add_member(:error_code, Shapes::ShapeRef.new(shape: String, location_name: "ErrorCode"))
|
284
|
+
UnprocessedTraceSegment.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
285
|
+
UnprocessedTraceSegment.struct_class = Types::UnprocessedTraceSegment
|
286
|
+
|
287
|
+
UnprocessedTraceSegmentList.member = Shapes::ShapeRef.new(shape: UnprocessedTraceSegment)
|
288
|
+
|
289
|
+
ValueWithServiceIds.add_member(:annotation_value, Shapes::ShapeRef.new(shape: AnnotationValue, location_name: "AnnotationValue"))
|
290
|
+
ValueWithServiceIds.add_member(:service_ids, Shapes::ShapeRef.new(shape: ServiceIds, location_name: "ServiceIds"))
|
291
|
+
ValueWithServiceIds.struct_class = Types::ValueWithServiceIds
|
292
|
+
|
293
|
+
ValuesWithServiceIds.member = Shapes::ShapeRef.new(shape: ValueWithServiceIds)
|
294
|
+
|
295
|
+
|
296
|
+
# @api private
|
297
|
+
API = Seahorse::Model::Api.new.tap do |api|
|
298
|
+
|
299
|
+
api.version = "2016-04-12"
|
300
|
+
|
301
|
+
api.metadata = {
|
302
|
+
"endpointPrefix" => "xray",
|
303
|
+
"protocol" => "rest-json",
|
304
|
+
"serviceFullName" => "AWS X-Ray",
|
305
|
+
"signatureVersion" => "v4",
|
306
|
+
}
|
307
|
+
|
308
|
+
api.add_operation(:batch_get_traces, Seahorse::Model::Operation.new.tap do |o|
|
309
|
+
o.name = "BatchGetTraces"
|
310
|
+
o.http_method = "POST"
|
311
|
+
o.http_request_uri = "/Traces"
|
312
|
+
o.input = Shapes::ShapeRef.new(shape: BatchGetTracesRequest)
|
313
|
+
o.output = Shapes::ShapeRef.new(shape: BatchGetTracesResult)
|
314
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
315
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
|
316
|
+
end)
|
317
|
+
|
318
|
+
api.add_operation(:get_service_graph, Seahorse::Model::Operation.new.tap do |o|
|
319
|
+
o.name = "GetServiceGraph"
|
320
|
+
o.http_method = "POST"
|
321
|
+
o.http_request_uri = "/ServiceGraph"
|
322
|
+
o.input = Shapes::ShapeRef.new(shape: GetServiceGraphRequest)
|
323
|
+
o.output = Shapes::ShapeRef.new(shape: GetServiceGraphResult)
|
324
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
325
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
|
326
|
+
end)
|
327
|
+
|
328
|
+
api.add_operation(:get_trace_graph, Seahorse::Model::Operation.new.tap do |o|
|
329
|
+
o.name = "GetTraceGraph"
|
330
|
+
o.http_method = "POST"
|
331
|
+
o.http_request_uri = "/TraceGraph"
|
332
|
+
o.input = Shapes::ShapeRef.new(shape: GetTraceGraphRequest)
|
333
|
+
o.output = Shapes::ShapeRef.new(shape: GetTraceGraphResult)
|
334
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
335
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
|
336
|
+
end)
|
337
|
+
|
338
|
+
api.add_operation(:get_trace_summaries, Seahorse::Model::Operation.new.tap do |o|
|
339
|
+
o.name = "GetTraceSummaries"
|
340
|
+
o.http_method = "POST"
|
341
|
+
o.http_request_uri = "/TraceSummaries"
|
342
|
+
o.input = Shapes::ShapeRef.new(shape: GetTraceSummariesRequest)
|
343
|
+
o.output = Shapes::ShapeRef.new(shape: GetTraceSummariesResult)
|
344
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
345
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
|
346
|
+
end)
|
347
|
+
|
348
|
+
api.add_operation(:put_telemetry_records, Seahorse::Model::Operation.new.tap do |o|
|
349
|
+
o.name = "PutTelemetryRecords"
|
350
|
+
o.http_method = "POST"
|
351
|
+
o.http_request_uri = "/TelemetryRecords"
|
352
|
+
o.input = Shapes::ShapeRef.new(shape: PutTelemetryRecordsRequest)
|
353
|
+
o.output = Shapes::ShapeRef.new(shape: PutTelemetryRecordsResult)
|
354
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
355
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
|
356
|
+
end)
|
357
|
+
|
358
|
+
api.add_operation(:put_trace_segments, Seahorse::Model::Operation.new.tap do |o|
|
359
|
+
o.name = "PutTraceSegments"
|
360
|
+
o.http_method = "POST"
|
361
|
+
o.http_request_uri = "/TraceSegments"
|
362
|
+
o.input = Shapes::ShapeRef.new(shape: PutTraceSegmentsRequest)
|
363
|
+
o.output = Shapes::ShapeRef.new(shape: PutTraceSegmentsResult)
|
364
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
365
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
|
366
|
+
end)
|
370
367
|
end
|
368
|
+
|
371
369
|
end
|
372
370
|
end
|