aws-sdk-xray 1.0.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-xray.rb +1 -1
- data/lib/aws-sdk-xray/client.rb +5 -5
- data/lib/aws-sdk-xray/client_api.rb +28 -4
- data/lib/aws-sdk-xray/types.rb +5 -5
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7acc0ab42c00ef460a6492bcc5bca33db3a196f1
|
4
|
+
data.tar.gz: 6ce223e54e9a4125fbfcfa86c390648661526662
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1adc13c485256a775697bced77f52c560e2849db3d54f87e395a774b58e4b652d2422c943ffa2ac65cbc1c10e17e8cb071d1ab50db3fcf13cca3960b4a7fe9af
|
7
|
+
data.tar.gz: 3de75c9b75d4f7d5976799385d4dc650ea3d2736a9c4dcfc8a9676715aec3fa3da3f01fda075570e5f30a9f31aaead24a4412447fa455e06db5378fd4cc02c35
|
data/lib/aws-sdk-xray.rb
CHANGED
data/lib/aws-sdk-xray/client.rb
CHANGED
@@ -486,7 +486,7 @@ module Aws::XRay
|
|
486
486
|
# resp = client.put_telemetry_records({
|
487
487
|
# telemetry_records: [ # required
|
488
488
|
# {
|
489
|
-
# timestamp: Time.now,
|
489
|
+
# timestamp: Time.now, # required
|
490
490
|
# segments_received_count: 1,
|
491
491
|
# segments_sent_count: 1,
|
492
492
|
# segments_spillover_count: 1,
|
@@ -501,9 +501,9 @@ module Aws::XRay
|
|
501
501
|
# },
|
502
502
|
# },
|
503
503
|
# ],
|
504
|
-
# ec2_instance_id: "
|
505
|
-
# hostname: "
|
506
|
-
# resource_arn: "
|
504
|
+
# ec2_instance_id: "EC2InstanceId",
|
505
|
+
# hostname: "Hostname",
|
506
|
+
# resource_arn: "ResourceARN",
|
507
507
|
# })
|
508
508
|
#
|
509
509
|
# @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/PutTelemetryRecords AWS API Documentation
|
@@ -610,7 +610,7 @@ module Aws::XRay
|
|
610
610
|
params: params,
|
611
611
|
config: config)
|
612
612
|
context[:gem_name] = 'aws-sdk-xray'
|
613
|
-
context[:gem_version] = '1.
|
613
|
+
context[:gem_version] = '1.1.0'
|
614
614
|
Seahorse::Client::Request.new(handlers, context)
|
615
615
|
end
|
616
616
|
|
@@ -21,9 +21,11 @@ module Aws::XRay
|
|
21
21
|
BatchGetTracesRequest = Shapes::StructureShape.new(name: 'BatchGetTracesRequest')
|
22
22
|
BatchGetTracesResult = Shapes::StructureShape.new(name: 'BatchGetTracesResult')
|
23
23
|
Double = Shapes::FloatShape.new(name: 'Double')
|
24
|
+
EC2InstanceId = Shapes::StringShape.new(name: 'EC2InstanceId')
|
24
25
|
Edge = Shapes::StructureShape.new(name: 'Edge')
|
25
26
|
EdgeList = Shapes::ListShape.new(name: 'EdgeList')
|
26
27
|
EdgeStatistics = Shapes::StructureShape.new(name: 'EdgeStatistics')
|
28
|
+
ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
|
27
29
|
ErrorStatistics = Shapes::StructureShape.new(name: 'ErrorStatistics')
|
28
30
|
FaultStatistics = Shapes::StructureShape.new(name: 'FaultStatistics')
|
29
31
|
FilterExpression = Shapes::StringShape.new(name: 'FilterExpression')
|
@@ -35,6 +37,7 @@ module Aws::XRay
|
|
35
37
|
GetTraceSummariesResult = Shapes::StructureShape.new(name: 'GetTraceSummariesResult')
|
36
38
|
Histogram = Shapes::ListShape.new(name: 'Histogram')
|
37
39
|
HistogramEntry = Shapes::StructureShape.new(name: 'HistogramEntry')
|
40
|
+
Hostname = Shapes::StringShape.new(name: 'Hostname')
|
38
41
|
Http = Shapes::StructureShape.new(name: 'Http')
|
39
42
|
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
40
43
|
InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
|
@@ -46,6 +49,7 @@ module Aws::XRay
|
|
46
49
|
PutTelemetryRecordsResult = Shapes::StructureShape.new(name: 'PutTelemetryRecordsResult')
|
47
50
|
PutTraceSegmentsRequest = Shapes::StructureShape.new(name: 'PutTraceSegmentsRequest')
|
48
51
|
PutTraceSegmentsResult = Shapes::StructureShape.new(name: 'PutTraceSegmentsResult')
|
52
|
+
ResourceARN = Shapes::StringShape.new(name: 'ResourceARN')
|
49
53
|
Segment = Shapes::StructureShape.new(name: 'Segment')
|
50
54
|
SegmentDocument = Shapes::StringShape.new(name: 'SegmentDocument')
|
51
55
|
SegmentId = Shapes::StringShape.new(name: 'SegmentId')
|
@@ -183,9 +187,9 @@ module Aws::XRay
|
|
183
187
|
Http.struct_class = Types::Http
|
184
188
|
|
185
189
|
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:
|
187
|
-
PutTelemetryRecordsRequest.add_member(:hostname, Shapes::ShapeRef.new(shape:
|
188
|
-
PutTelemetryRecordsRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape:
|
190
|
+
PutTelemetryRecordsRequest.add_member(:ec2_instance_id, Shapes::ShapeRef.new(shape: EC2InstanceId, location_name: "EC2InstanceId"))
|
191
|
+
PutTelemetryRecordsRequest.add_member(:hostname, Shapes::ShapeRef.new(shape: Hostname, location_name: "Hostname"))
|
192
|
+
PutTelemetryRecordsRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceARN, location_name: "ResourceARN"))
|
189
193
|
PutTelemetryRecordsRequest.struct_class = Types::PutTelemetryRecordsRequest
|
190
194
|
|
191
195
|
PutTelemetryRecordsResult.struct_class = Types::PutTelemetryRecordsResult
|
@@ -236,7 +240,7 @@ module Aws::XRay
|
|
236
240
|
ServiceStatistics.add_member(:total_response_time, Shapes::ShapeRef.new(shape: NullableDouble, location_name: "TotalResponseTime"))
|
237
241
|
ServiceStatistics.struct_class = Types::ServiceStatistics
|
238
242
|
|
239
|
-
TelemetryRecord.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "Timestamp"))
|
243
|
+
TelemetryRecord.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "Timestamp"))
|
240
244
|
TelemetryRecord.add_member(:segments_received_count, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "SegmentsReceivedCount"))
|
241
245
|
TelemetryRecord.add_member(:segments_sent_count, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "SegmentsSentCount"))
|
242
246
|
TelemetryRecord.add_member(:segments_spillover_count, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "SegmentsSpilloverCount"))
|
@@ -314,6 +318,11 @@ module Aws::XRay
|
|
314
318
|
o.output = Shapes::ShapeRef.new(shape: BatchGetTracesResult)
|
315
319
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
316
320
|
o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
|
321
|
+
o[:pager] = Aws::Pager.new(
|
322
|
+
tokens: {
|
323
|
+
"next_token" => "next_token"
|
324
|
+
}
|
325
|
+
)
|
317
326
|
end)
|
318
327
|
|
319
328
|
api.add_operation(:get_service_graph, Seahorse::Model::Operation.new.tap do |o|
|
@@ -324,6 +333,11 @@ module Aws::XRay
|
|
324
333
|
o.output = Shapes::ShapeRef.new(shape: GetServiceGraphResult)
|
325
334
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
326
335
|
o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
|
336
|
+
o[:pager] = Aws::Pager.new(
|
337
|
+
tokens: {
|
338
|
+
"next_token" => "next_token"
|
339
|
+
}
|
340
|
+
)
|
327
341
|
end)
|
328
342
|
|
329
343
|
api.add_operation(:get_trace_graph, Seahorse::Model::Operation.new.tap do |o|
|
@@ -334,6 +348,11 @@ module Aws::XRay
|
|
334
348
|
o.output = Shapes::ShapeRef.new(shape: GetTraceGraphResult)
|
335
349
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
336
350
|
o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
|
351
|
+
o[:pager] = Aws::Pager.new(
|
352
|
+
tokens: {
|
353
|
+
"next_token" => "next_token"
|
354
|
+
}
|
355
|
+
)
|
337
356
|
end)
|
338
357
|
|
339
358
|
api.add_operation(:get_trace_summaries, Seahorse::Model::Operation.new.tap do |o|
|
@@ -344,6 +363,11 @@ module Aws::XRay
|
|
344
363
|
o.output = Shapes::ShapeRef.new(shape: GetTraceSummariesResult)
|
345
364
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
346
365
|
o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
|
366
|
+
o[:pager] = Aws::Pager.new(
|
367
|
+
tokens: {
|
368
|
+
"next_token" => "next_token"
|
369
|
+
}
|
370
|
+
)
|
347
371
|
end)
|
348
372
|
|
349
373
|
api.add_operation(:put_telemetry_records, Seahorse::Model::Operation.new.tap do |o|
|
data/lib/aws-sdk-xray/types.rb
CHANGED
@@ -497,7 +497,7 @@ module Aws::XRay
|
|
497
497
|
# {
|
498
498
|
# telemetry_records: [ # required
|
499
499
|
# {
|
500
|
-
# timestamp: Time.now,
|
500
|
+
# timestamp: Time.now, # required
|
501
501
|
# segments_received_count: 1,
|
502
502
|
# segments_sent_count: 1,
|
503
503
|
# segments_spillover_count: 1,
|
@@ -512,9 +512,9 @@ module Aws::XRay
|
|
512
512
|
# },
|
513
513
|
# },
|
514
514
|
# ],
|
515
|
-
# ec2_instance_id: "
|
516
|
-
# hostname: "
|
517
|
-
# resource_arn: "
|
515
|
+
# ec2_instance_id: "EC2InstanceId",
|
516
|
+
# hostname: "Hostname",
|
517
|
+
# resource_arn: "ResourceARN",
|
518
518
|
# }
|
519
519
|
#
|
520
520
|
# @!attribute [rw] telemetry_records
|
@@ -746,7 +746,7 @@ module Aws::XRay
|
|
746
746
|
# data as a hash:
|
747
747
|
#
|
748
748
|
# {
|
749
|
-
# timestamp: Time.now,
|
749
|
+
# timestamp: Time.now, # required
|
750
750
|
# segments_received_count: 1,
|
751
751
|
# segments_sent_count: 1,
|
752
752
|
# segments_spillover_count: 1,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-xray
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-11-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -56,7 +56,9 @@ files:
|
|
56
56
|
homepage: http://github.com/aws/aws-sdk-ruby
|
57
57
|
licenses:
|
58
58
|
- Apache-2.0
|
59
|
-
metadata:
|
59
|
+
metadata:
|
60
|
+
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-xray
|
61
|
+
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-xray/CHANGELOG.md
|
60
62
|
post_install_message:
|
61
63
|
rdoc_options: []
|
62
64
|
require_paths:
|