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.
@@ -1,372 +1,370 @@
1
1
  # WARNING ABOUT GENERATED CODE
2
2
  #
3
- # This file is generated. See the contributing for info on making contributions:
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
- module XRay
10
- # @api private
11
- module ClientApi
12
-
13
- include Seahorse::Model
14
-
15
- Alias = Shapes::StructureShape.new(name: 'Alias')
16
- AliasList = Shapes::ListShape.new(name: 'AliasList')
17
- AliasNames = Shapes::ListShape.new(name: 'AliasNames')
18
- AnnotationKey = Shapes::StringShape.new(name: 'AnnotationKey')
19
- AnnotationValue = Shapes::StructureShape.new(name: 'AnnotationValue')
20
- Annotations = Shapes::MapShape.new(name: 'Annotations')
21
- BackendConnectionErrors = Shapes::StructureShape.new(name: 'BackendConnectionErrors')
22
- BatchGetTracesRequest = Shapes::StructureShape.new(name: 'BatchGetTracesRequest')
23
- BatchGetTracesResult = Shapes::StructureShape.new(name: 'BatchGetTracesResult')
24
- Double = Shapes::FloatShape.new(name: 'Double')
25
- Edge = Shapes::StructureShape.new(name: 'Edge')
26
- EdgeList = Shapes::ListShape.new(name: 'EdgeList')
27
- EdgeStatistics = Shapes::StructureShape.new(name: 'EdgeStatistics')
28
- ErrorStatistics = Shapes::StructureShape.new(name: 'ErrorStatistics')
29
- FaultStatistics = Shapes::StructureShape.new(name: 'FaultStatistics')
30
- FilterExpression = Shapes::StringShape.new(name: 'FilterExpression')
31
- GetServiceGraphRequest = Shapes::StructureShape.new(name: 'GetServiceGraphRequest')
32
- GetServiceGraphResult = Shapes::StructureShape.new(name: 'GetServiceGraphResult')
33
- GetTraceGraphRequest = Shapes::StructureShape.new(name: 'GetTraceGraphRequest')
34
- GetTraceGraphResult = Shapes::StructureShape.new(name: 'GetTraceGraphResult')
35
- GetTraceSummariesRequest = Shapes::StructureShape.new(name: 'GetTraceSummariesRequest')
36
- GetTraceSummariesResult = Shapes::StructureShape.new(name: 'GetTraceSummariesResult')
37
- Histogram = Shapes::ListShape.new(name: 'Histogram')
38
- HistogramEntry = Shapes::StructureShape.new(name: 'HistogramEntry')
39
- Http = Shapes::StructureShape.new(name: 'Http')
40
- Integer = Shapes::IntegerShape.new(name: 'Integer')
41
- InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
42
- NullableBoolean = Shapes::BooleanShape.new(name: 'NullableBoolean')
43
- NullableDouble = Shapes::FloatShape.new(name: 'NullableDouble')
44
- NullableInteger = Shapes::IntegerShape.new(name: 'NullableInteger')
45
- NullableLong = Shapes::IntegerShape.new(name: 'NullableLong')
46
- PutTelemetryRecordsRequest = Shapes::StructureShape.new(name: 'PutTelemetryRecordsRequest')
47
- PutTelemetryRecordsResult = Shapes::StructureShape.new(name: 'PutTelemetryRecordsResult')
48
- PutTraceSegmentsRequest = Shapes::StructureShape.new(name: 'PutTraceSegmentsRequest')
49
- PutTraceSegmentsResult = Shapes::StructureShape.new(name: 'PutTraceSegmentsResult')
50
- Segment = Shapes::StructureShape.new(name: 'Segment')
51
- SegmentDocument = Shapes::StringShape.new(name: 'SegmentDocument')
52
- SegmentId = Shapes::StringShape.new(name: 'SegmentId')
53
- SegmentList = Shapes::ListShape.new(name: 'SegmentList')
54
- Service = Shapes::StructureShape.new(name: 'Service')
55
- ServiceId = Shapes::StructureShape.new(name: 'ServiceId')
56
- ServiceIds = Shapes::ListShape.new(name: 'ServiceIds')
57
- ServiceList = Shapes::ListShape.new(name: 'ServiceList')
58
- ServiceNames = Shapes::ListShape.new(name: 'ServiceNames')
59
- ServiceStatistics = Shapes::StructureShape.new(name: 'ServiceStatistics')
60
- String = Shapes::StringShape.new(name: 'String')
61
- TelemetryRecord = Shapes::StructureShape.new(name: 'TelemetryRecord')
62
- TelemetryRecordList = Shapes::ListShape.new(name: 'TelemetryRecordList')
63
- ThrottledException = Shapes::StructureShape.new(name: 'ThrottledException')
64
- Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
65
- Trace = Shapes::StructureShape.new(name: 'Trace')
66
- TraceId = Shapes::StringShape.new(name: 'TraceId')
67
- TraceIdList = Shapes::ListShape.new(name: 'TraceIdList')
68
- TraceList = Shapes::ListShape.new(name: 'TraceList')
69
- TraceSegmentDocument = Shapes::StringShape.new(name: 'TraceSegmentDocument')
70
- TraceSegmentDocumentList = Shapes::ListShape.new(name: 'TraceSegmentDocumentList')
71
- TraceSummary = Shapes::StructureShape.new(name: 'TraceSummary')
72
- TraceSummaryList = Shapes::ListShape.new(name: 'TraceSummaryList')
73
- TraceUser = Shapes::StructureShape.new(name: 'TraceUser')
74
- TraceUsers = Shapes::ListShape.new(name: 'TraceUsers')
75
- UnprocessedTraceIdList = Shapes::ListShape.new(name: 'UnprocessedTraceIdList')
76
- UnprocessedTraceSegment = Shapes::StructureShape.new(name: 'UnprocessedTraceSegment')
77
- UnprocessedTraceSegmentList = Shapes::ListShape.new(name: 'UnprocessedTraceSegmentList')
78
- ValueWithServiceIds = Shapes::StructureShape.new(name: 'ValueWithServiceIds')
79
- ValuesWithServiceIds = Shapes::ListShape.new(name: 'ValuesWithServiceIds')
80
-
81
- Alias.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
82
- Alias.add_member(:names, Shapes::ShapeRef.new(shape: AliasNames, location_name: "Names"))
83
- Alias.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
84
- Alias.struct_class = Types::Alias
85
-
86
- AliasList.member = Shapes::ShapeRef.new(shape: Alias)
87
-
88
- AliasNames.member = Shapes::ShapeRef.new(shape: String)
89
-
90
- AnnotationValue.add_member(:number_value, Shapes::ShapeRef.new(shape: NullableDouble, location_name: "NumberValue"))
91
- AnnotationValue.add_member(:boolean_value, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "BooleanValue"))
92
- AnnotationValue.add_member(:string_value, Shapes::ShapeRef.new(shape: String, location_name: "StringValue"))
93
- AnnotationValue.struct_class = Types::AnnotationValue
94
-
95
- Annotations.key = Shapes::ShapeRef.new(shape: AnnotationKey)
96
- Annotations.value = Shapes::ShapeRef.new(shape: ValuesWithServiceIds)
97
-
98
- BackendConnectionErrors.add_member(:timeout_count, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "TimeoutCount"))
99
- BackendConnectionErrors.add_member(:connection_refused_count, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "ConnectionRefusedCount"))
100
- BackendConnectionErrors.add_member(:http_code_4_xx_count, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "HTTPCode4XXCount"))
101
- BackendConnectionErrors.add_member(:http_code_5_xx_count, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "HTTPCode5XXCount"))
102
- BackendConnectionErrors.add_member(:unknown_host_count, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "UnknownHostCount"))
103
- BackendConnectionErrors.add_member(:other_count, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "OtherCount"))
104
- BackendConnectionErrors.struct_class = Types::BackendConnectionErrors
105
-
106
- BatchGetTracesRequest.add_member(:trace_ids, Shapes::ShapeRef.new(shape: TraceIdList, required: true, location_name: "TraceIds"))
107
- BatchGetTracesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
108
- BatchGetTracesRequest.struct_class = Types::BatchGetTracesRequest
109
-
110
- BatchGetTracesResult.add_member(:traces, Shapes::ShapeRef.new(shape: TraceList, location_name: "Traces"))
111
- BatchGetTracesResult.add_member(:unprocessed_trace_ids, Shapes::ShapeRef.new(shape: UnprocessedTraceIdList, location_name: "UnprocessedTraceIds"))
112
- BatchGetTracesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
113
- BatchGetTracesResult.struct_class = Types::BatchGetTracesResult
114
-
115
- Edge.add_member(:reference_id, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "ReferenceId"))
116
- Edge.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "StartTime"))
117
- Edge.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndTime"))
118
- Edge.add_member(:summary_statistics, Shapes::ShapeRef.new(shape: EdgeStatistics, location_name: "SummaryStatistics"))
119
- Edge.add_member(:response_time_histogram, Shapes::ShapeRef.new(shape: Histogram, location_name: "ResponseTimeHistogram"))
120
- Edge.add_member(:aliases, Shapes::ShapeRef.new(shape: AliasList, location_name: "Aliases"))
121
- Edge.struct_class = Types::Edge
122
-
123
- EdgeList.member = Shapes::ShapeRef.new(shape: Edge)
124
-
125
- EdgeStatistics.add_member(:ok_count, Shapes::ShapeRef.new(shape: NullableLong, location_name: "OkCount"))
126
- EdgeStatistics.add_member(:error_statistics, Shapes::ShapeRef.new(shape: ErrorStatistics, location_name: "ErrorStatistics"))
127
- EdgeStatistics.add_member(:fault_statistics, Shapes::ShapeRef.new(shape: FaultStatistics, location_name: "FaultStatistics"))
128
- EdgeStatistics.add_member(:total_count, Shapes::ShapeRef.new(shape: NullableLong, location_name: "TotalCount"))
129
- EdgeStatistics.add_member(:total_response_time, Shapes::ShapeRef.new(shape: NullableDouble, location_name: "TotalResponseTime"))
130
- EdgeStatistics.struct_class = Types::EdgeStatistics
131
-
132
- ErrorStatistics.add_member(:throttle_count, Shapes::ShapeRef.new(shape: NullableLong, location_name: "ThrottleCount"))
133
- ErrorStatistics.add_member(:other_count, Shapes::ShapeRef.new(shape: NullableLong, location_name: "OtherCount"))
134
- ErrorStatistics.add_member(:total_count, Shapes::ShapeRef.new(shape: NullableLong, location_name: "TotalCount"))
135
- ErrorStatistics.struct_class = Types::ErrorStatistics
136
-
137
- FaultStatistics.add_member(:other_count, Shapes::ShapeRef.new(shape: NullableLong, location_name: "OtherCount"))
138
- FaultStatistics.add_member(:total_count, Shapes::ShapeRef.new(shape: NullableLong, location_name: "TotalCount"))
139
- FaultStatistics.struct_class = Types::FaultStatistics
140
-
141
- GetServiceGraphRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "StartTime"))
142
- GetServiceGraphRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "EndTime"))
143
- GetServiceGraphRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
144
- GetServiceGraphRequest.struct_class = Types::GetServiceGraphRequest
145
-
146
- GetServiceGraphResult.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "StartTime"))
147
- GetServiceGraphResult.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndTime"))
148
- GetServiceGraphResult.add_member(:services, Shapes::ShapeRef.new(shape: ServiceList, location_name: "Services"))
149
- GetServiceGraphResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
150
- GetServiceGraphResult.struct_class = Types::GetServiceGraphResult
151
-
152
- GetTraceGraphRequest.add_member(:trace_ids, Shapes::ShapeRef.new(shape: TraceIdList, required: true, location_name: "TraceIds"))
153
- GetTraceGraphRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
154
- GetTraceGraphRequest.struct_class = Types::GetTraceGraphRequest
155
-
156
- GetTraceGraphResult.add_member(:services, Shapes::ShapeRef.new(shape: ServiceList, location_name: "Services"))
157
- GetTraceGraphResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
158
- GetTraceGraphResult.struct_class = Types::GetTraceGraphResult
159
-
160
- GetTraceSummariesRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "StartTime"))
161
- GetTraceSummariesRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "EndTime"))
162
- GetTraceSummariesRequest.add_member(:sampling, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "Sampling"))
163
- GetTraceSummariesRequest.add_member(:filter_expression, Shapes::ShapeRef.new(shape: FilterExpression, location_name: "FilterExpression"))
164
- GetTraceSummariesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
165
- GetTraceSummariesRequest.struct_class = Types::GetTraceSummariesRequest
166
-
167
- GetTraceSummariesResult.add_member(:trace_summaries, Shapes::ShapeRef.new(shape: TraceSummaryList, location_name: "TraceSummaries"))
168
- GetTraceSummariesResult.add_member(:approximate_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ApproximateTime"))
169
- GetTraceSummariesResult.add_member(:traces_processed_count, Shapes::ShapeRef.new(shape: NullableLong, location_name: "TracesProcessedCount"))
170
- GetTraceSummariesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
171
- GetTraceSummariesResult.struct_class = Types::GetTraceSummariesResult
172
-
173
- Histogram.member = Shapes::ShapeRef.new(shape: HistogramEntry)
174
-
175
- HistogramEntry.add_member(:value, Shapes::ShapeRef.new(shape: Double, location_name: "Value"))
176
- HistogramEntry.add_member(:count, Shapes::ShapeRef.new(shape: Integer, location_name: "Count"))
177
- HistogramEntry.struct_class = Types::HistogramEntry
178
-
179
- Http.add_member(:http_url, Shapes::ShapeRef.new(shape: String, location_name: "HttpURL"))
180
- Http.add_member(:http_status, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "HttpStatus"))
181
- Http.add_member(:http_method, Shapes::ShapeRef.new(shape: String, location_name: "HttpMethod"))
182
- Http.add_member(:user_agent, Shapes::ShapeRef.new(shape: String, location_name: "UserAgent"))
183
- Http.add_member(:client_ip, Shapes::ShapeRef.new(shape: String, location_name: "ClientIp"))
184
- Http.struct_class = Types::Http
185
-
186
- PutTelemetryRecordsRequest.add_member(:telemetry_records, Shapes::ShapeRef.new(shape: TelemetryRecordList, required: true, location_name: "TelemetryRecords"))
187
- PutTelemetryRecordsRequest.add_member(:ec2_instance_id, Shapes::ShapeRef.new(shape: String, location_name: "EC2InstanceId"))
188
- PutTelemetryRecordsRequest.add_member(:hostname, Shapes::ShapeRef.new(shape: String, location_name: "Hostname"))
189
- PutTelemetryRecordsRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, location_name: "ResourceARN"))
190
- PutTelemetryRecordsRequest.struct_class = Types::PutTelemetryRecordsRequest
191
-
192
- PutTelemetryRecordsResult.struct_class = Types::PutTelemetryRecordsResult
193
-
194
- PutTraceSegmentsRequest.add_member(:trace_segment_documents, Shapes::ShapeRef.new(shape: TraceSegmentDocumentList, required: true, location_name: "TraceSegmentDocuments"))
195
- PutTraceSegmentsRequest.struct_class = Types::PutTraceSegmentsRequest
196
-
197
- PutTraceSegmentsResult.add_member(:unprocessed_trace_segments, Shapes::ShapeRef.new(shape: UnprocessedTraceSegmentList, location_name: "UnprocessedTraceSegments"))
198
- PutTraceSegmentsResult.struct_class = Types::PutTraceSegmentsResult
199
-
200
- Segment.add_member(:id, Shapes::ShapeRef.new(shape: SegmentId, location_name: "Id"))
201
- Segment.add_member(:document, Shapes::ShapeRef.new(shape: SegmentDocument, location_name: "Document"))
202
- Segment.struct_class = Types::Segment
203
-
204
- SegmentList.member = Shapes::ShapeRef.new(shape: Segment)
205
-
206
- Service.add_member(:reference_id, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "ReferenceId"))
207
- Service.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
208
- Service.add_member(:names, Shapes::ShapeRef.new(shape: ServiceNames, location_name: "Names"))
209
- Service.add_member(:root, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "Root"))
210
- Service.add_member(:account_id, Shapes::ShapeRef.new(shape: String, location_name: "AccountId"))
211
- Service.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
212
- Service.add_member(:state, Shapes::ShapeRef.new(shape: String, location_name: "State"))
213
- Service.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "StartTime"))
214
- Service.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndTime"))
215
- Service.add_member(:edges, Shapes::ShapeRef.new(shape: EdgeList, location_name: "Edges"))
216
- Service.add_member(:summary_statistics, Shapes::ShapeRef.new(shape: ServiceStatistics, location_name: "SummaryStatistics"))
217
- Service.add_member(:duration_histogram, Shapes::ShapeRef.new(shape: Histogram, location_name: "DurationHistogram"))
218
- Service.struct_class = Types::Service
219
-
220
- ServiceId.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
221
- ServiceId.add_member(:names, Shapes::ShapeRef.new(shape: ServiceNames, location_name: "Names"))
222
- ServiceId.add_member(:account_id, Shapes::ShapeRef.new(shape: String, location_name: "AccountId"))
223
- ServiceId.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
224
- ServiceId.struct_class = Types::ServiceId
225
-
226
- ServiceIds.member = Shapes::ShapeRef.new(shape: ServiceId)
227
-
228
- ServiceList.member = Shapes::ShapeRef.new(shape: Service)
229
-
230
- ServiceNames.member = Shapes::ShapeRef.new(shape: String)
231
-
232
- ServiceStatistics.add_member(:ok_count, Shapes::ShapeRef.new(shape: NullableLong, location_name: "OkCount"))
233
- ServiceStatistics.add_member(:error_statistics, Shapes::ShapeRef.new(shape: ErrorStatistics, location_name: "ErrorStatistics"))
234
- ServiceStatistics.add_member(:fault_statistics, Shapes::ShapeRef.new(shape: FaultStatistics, location_name: "FaultStatistics"))
235
- ServiceStatistics.add_member(:total_count, Shapes::ShapeRef.new(shape: NullableLong, location_name: "TotalCount"))
236
- ServiceStatistics.add_member(:total_response_time, Shapes::ShapeRef.new(shape: NullableDouble, location_name: "TotalResponseTime"))
237
- ServiceStatistics.struct_class = Types::ServiceStatistics
238
-
239
- TelemetryRecord.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "Timestamp"))
240
- TelemetryRecord.add_member(:segments_received_count, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "SegmentsReceivedCount"))
241
- TelemetryRecord.add_member(:segments_sent_count, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "SegmentsSentCount"))
242
- TelemetryRecord.add_member(:segments_spillover_count, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "SegmentsSpilloverCount"))
243
- TelemetryRecord.add_member(:segments_rejected_count, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "SegmentsRejectedCount"))
244
- TelemetryRecord.add_member(:backend_connection_errors, Shapes::ShapeRef.new(shape: BackendConnectionErrors, location_name: "BackendConnectionErrors"))
245
- TelemetryRecord.struct_class = Types::TelemetryRecord
246
-
247
- TelemetryRecordList.member = Shapes::ShapeRef.new(shape: TelemetryRecord)
248
-
249
- Trace.add_member(:id, Shapes::ShapeRef.new(shape: TraceId, location_name: "Id"))
250
- Trace.add_member(:duration, Shapes::ShapeRef.new(shape: NullableDouble, location_name: "Duration"))
251
- Trace.add_member(:segments, Shapes::ShapeRef.new(shape: SegmentList, location_name: "Segments"))
252
- Trace.struct_class = Types::Trace
253
-
254
- TraceIdList.member = Shapes::ShapeRef.new(shape: TraceId)
255
-
256
- TraceList.member = Shapes::ShapeRef.new(shape: Trace)
257
-
258
- TraceSegmentDocumentList.member = Shapes::ShapeRef.new(shape: TraceSegmentDocument)
259
-
260
- TraceSummary.add_member(:id, Shapes::ShapeRef.new(shape: TraceId, location_name: "Id"))
261
- TraceSummary.add_member(:duration, Shapes::ShapeRef.new(shape: NullableDouble, location_name: "Duration"))
262
- TraceSummary.add_member(:response_time, Shapes::ShapeRef.new(shape: NullableDouble, location_name: "ResponseTime"))
263
- TraceSummary.add_member(:has_fault, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "HasFault"))
264
- TraceSummary.add_member(:has_error, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "HasError"))
265
- TraceSummary.add_member(:has_throttle, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "HasThrottle"))
266
- TraceSummary.add_member(:is_partial, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "IsPartial"))
267
- TraceSummary.add_member(:http, Shapes::ShapeRef.new(shape: Http, location_name: "Http"))
268
- TraceSummary.add_member(:annotations, Shapes::ShapeRef.new(shape: Annotations, location_name: "Annotations"))
269
- TraceSummary.add_member(:users, Shapes::ShapeRef.new(shape: TraceUsers, location_name: "Users"))
270
- TraceSummary.add_member(:service_ids, Shapes::ShapeRef.new(shape: ServiceIds, location_name: "ServiceIds"))
271
- TraceSummary.struct_class = Types::TraceSummary
272
-
273
- TraceSummaryList.member = Shapes::ShapeRef.new(shape: TraceSummary)
274
-
275
- TraceUser.add_member(:user_name, Shapes::ShapeRef.new(shape: String, location_name: "UserName"))
276
- TraceUser.add_member(:service_ids, Shapes::ShapeRef.new(shape: ServiceIds, location_name: "ServiceIds"))
277
- TraceUser.struct_class = Types::TraceUser
278
-
279
- TraceUsers.member = Shapes::ShapeRef.new(shape: TraceUser)
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