aws-sdk-xray 1.8.0 → 1.9.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4067f759528714c273544673d137afd91cfbedb2
4
- data.tar.gz: f66c23bfb513c86f19fb0a2bdf3b548044490868
3
+ metadata.gz: faa1e676a949d5ef8b479cdf785b9540e3579352
4
+ data.tar.gz: ede4b4899ec758291850e442c6327889a110df61
5
5
  SHA512:
6
- metadata.gz: f9c41083f5a59bf1c5fa483238617c058b678f8437c4ca4fbfe7deb95ab9faf27484ecd76018ce2ca068cf4198ae535a4836dd3418514b983e5f2a66450823ed
7
- data.tar.gz: 62bbd74ad6b85c5520a13e104fb6738ac1e309b17bced4920be18fd2b076f1e6e15a9738731035db90731058f2b817e69c082080899671dbd085e4dacaf2e9f5
6
+ metadata.gz: 7388b10e0a481c51ad775fabf404a7ff46123e2beaa6098881b925c70a60bc249cc2d7e093829a5ba420d27ee05f11ee06e0771c80b8c6588da3a80246934923
7
+ data.tar.gz: ff194fdc29f15dbb03b3c499e6c94b079e85ab1cd53a7ca4cc196e37a12500c4a1cd7d03363df696617ecae008df4864781d88b4fac61b93e2877c2321c92efd
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-xray/customizations'
42
42
  # @service
43
43
  module Aws::XRay
44
44
 
45
- GEM_VERSION = '1.8.0'
45
+ GEM_VERSION = '1.9.0'
46
46
 
47
47
  end
@@ -15,6 +15,8 @@ require 'aws-sdk-core/plugins/helpful_socket_errors.rb'
15
15
  require 'aws-sdk-core/plugins/retry_errors.rb'
16
16
  require 'aws-sdk-core/plugins/global_configuration.rb'
17
17
  require 'aws-sdk-core/plugins/regional_endpoint.rb'
18
+ require 'aws-sdk-core/plugins/endpoint_discovery.rb'
19
+ require 'aws-sdk-core/plugins/endpoint_pattern.rb'
18
20
  require 'aws-sdk-core/plugins/response_paging.rb'
19
21
  require 'aws-sdk-core/plugins/stub_responses.rb'
20
22
  require 'aws-sdk-core/plugins/idempotency_token.rb'
@@ -45,6 +47,8 @@ module Aws::XRay
45
47
  add_plugin(Aws::Plugins::RetryErrors)
46
48
  add_plugin(Aws::Plugins::GlobalConfiguration)
47
49
  add_plugin(Aws::Plugins::RegionalEndpoint)
50
+ add_plugin(Aws::Plugins::EndpointDiscovery)
51
+ add_plugin(Aws::Plugins::EndpointPattern)
48
52
  add_plugin(Aws::Plugins::ResponsePaging)
49
53
  add_plugin(Aws::Plugins::StubResponses)
50
54
  add_plugin(Aws::Plugins::IdempotencyToken)
@@ -98,6 +102,10 @@ module Aws::XRay
98
102
  #
99
103
  # @option options [String] :access_key_id
100
104
  #
105
+ # @option options [Boolean] :active_endpoint_cache (false)
106
+ # When set to `true`, a thread polling for endpoints will be running in
107
+ # the background every 60 secs (default). Defaults to `false`.
108
+ #
101
109
  # @option options [Boolean] :client_side_monitoring (false)
102
110
  # When `true`, client-side metrics will be collected for all API requests from
103
111
  # this client.
@@ -118,11 +126,30 @@ module Aws::XRay
118
126
  # When `true`, an attempt is made to coerce request parameters into
119
127
  # the required types.
120
128
  #
129
+ # @option options [Boolean] :disable_host_prefix_injection (false)
130
+ # Set to true to disable SDK automatically adding host prefix
131
+ # to default service endpoint when available.
132
+ #
121
133
  # @option options [String] :endpoint
122
134
  # The client endpoint is normally constructed from the `:region`
123
135
  # option. You should only configure an `:endpoint` when connecting
124
136
  # to test endpoints. This should be avalid HTTP(S) URI.
125
137
  #
138
+ # @option options [Integer] :endpoint_cache_max_entries (1000)
139
+ # Used for the maximum size limit of the LRU cache storing endpoints data
140
+ # for endpoint discovery enabled operations. Defaults to 1000.
141
+ #
142
+ # @option options [Integer] :endpoint_cache_max_threads (10)
143
+ # Used for the maximum threads in use for polling endpoints to be cached, defaults to 10.
144
+ #
145
+ # @option options [Integer] :endpoint_cache_poll_interval (60)
146
+ # When :endpoint_discovery and :active_endpoint_cache is enabled,
147
+ # Use this option to config the time interval in seconds for making
148
+ # requests fetching endpoints information. Defaults to 60 sec.
149
+ #
150
+ # @option options [Boolean] :endpoint_discovery (false)
151
+ # When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
152
+ #
126
153
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
127
154
  # The log formatter.
128
155
  #
@@ -222,6 +249,41 @@ module Aws::XRay
222
249
  req.send_request(options)
223
250
  end
224
251
 
252
+ # Creates a group resource with a name and a filter expression.
253
+ #
254
+ # @option params [required, String] :group_name
255
+ # The case-sensitive name of the new group. Default is a reserved name
256
+ # and names must be unique.
257
+ #
258
+ # @option params [String] :filter_expression
259
+ # The filter expression defining criteria by which to group traces.
260
+ #
261
+ # @return [Types::CreateGroupResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
262
+ #
263
+ # * {Types::CreateGroupResult#group #group} => Types::Group
264
+ #
265
+ # @example Request syntax with placeholder values
266
+ #
267
+ # resp = client.create_group({
268
+ # group_name: "GroupName", # required
269
+ # filter_expression: "FilterExpression",
270
+ # })
271
+ #
272
+ # @example Response structure
273
+ #
274
+ # resp.group.group_name #=> String
275
+ # resp.group.group_arn #=> String
276
+ # resp.group.filter_expression #=> String
277
+ #
278
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/CreateGroup AWS API Documentation
279
+ #
280
+ # @overload create_group(params = {})
281
+ # @param [Hash] params ({})
282
+ def create_group(params = {}, options = {})
283
+ req = build_request(:create_group, params)
284
+ req.send_request(options)
285
+ end
286
+
225
287
  # Creates a rule to control sampling behavior for instrumented
226
288
  # applications. Services retrieve rules with GetSamplingRules, and
227
289
  # evaluate each rule in ascending order of *priority* for each request.
@@ -288,6 +350,32 @@ module Aws::XRay
288
350
  req.send_request(options)
289
351
  end
290
352
 
353
+ # Deletes a group resource.
354
+ #
355
+ # @option params [String] :group_name
356
+ # The case-sensitive name of the group.
357
+ #
358
+ # @option params [String] :group_arn
359
+ # The ARN of the group that was generated on creation.
360
+ #
361
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
362
+ #
363
+ # @example Request syntax with placeholder values
364
+ #
365
+ # resp = client.delete_group({
366
+ # group_name: "GroupName",
367
+ # group_arn: "GroupARN",
368
+ # })
369
+ #
370
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/DeleteGroup AWS API Documentation
371
+ #
372
+ # @overload delete_group(params = {})
373
+ # @param [Hash] params ({})
374
+ def delete_group(params = {}, options = {})
375
+ req = build_request(:delete_group, params)
376
+ req.send_request(options)
377
+ end
378
+
291
379
  # Deletes a sampling rule.
292
380
  #
293
381
  # @option params [String] :rule_name
@@ -358,6 +446,73 @@ module Aws::XRay
358
446
  req.send_request(options)
359
447
  end
360
448
 
449
+ # Retrieves group resource details.
450
+ #
451
+ # @option params [String] :group_name
452
+ # The case-sensitive name of the group.
453
+ #
454
+ # @option params [String] :group_arn
455
+ # The ARN of the group that was generated on creation.
456
+ #
457
+ # @return [Types::GetGroupResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
458
+ #
459
+ # * {Types::GetGroupResult#group #group} => Types::Group
460
+ #
461
+ # @example Request syntax with placeholder values
462
+ #
463
+ # resp = client.get_group({
464
+ # group_name: "GroupName",
465
+ # group_arn: "GroupARN",
466
+ # })
467
+ #
468
+ # @example Response structure
469
+ #
470
+ # resp.group.group_name #=> String
471
+ # resp.group.group_arn #=> String
472
+ # resp.group.filter_expression #=> String
473
+ #
474
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetGroup AWS API Documentation
475
+ #
476
+ # @overload get_group(params = {})
477
+ # @param [Hash] params ({})
478
+ def get_group(params = {}, options = {})
479
+ req = build_request(:get_group, params)
480
+ req.send_request(options)
481
+ end
482
+
483
+ # Retrieves all active group details.
484
+ #
485
+ # @option params [String] :next_token
486
+ # Pagination token. Not used.
487
+ #
488
+ # @return [Types::GetGroupsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
489
+ #
490
+ # * {Types::GetGroupsResult#groups #groups} => Array<Types::GroupSummary>
491
+ # * {Types::GetGroupsResult#next_token #next_token} => String
492
+ #
493
+ # @example Request syntax with placeholder values
494
+ #
495
+ # resp = client.get_groups({
496
+ # next_token: "GetGroupsNextToken",
497
+ # })
498
+ #
499
+ # @example Response structure
500
+ #
501
+ # resp.groups #=> Array
502
+ # resp.groups[0].group_name #=> String
503
+ # resp.groups[0].group_arn #=> String
504
+ # resp.groups[0].filter_expression #=> String
505
+ # resp.next_token #=> String
506
+ #
507
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetGroups AWS API Documentation
508
+ #
509
+ # @overload get_groups(params = {})
510
+ # @param [Hash] params ({})
511
+ def get_groups(params = {}, options = {})
512
+ req = build_request(:get_groups, params)
513
+ req.send_request(options)
514
+ end
515
+
361
516
  # Retrieves all sampling rules.
362
517
  #
363
518
  # @option params [String] :next_token
@@ -503,6 +658,12 @@ module Aws::XRay
503
658
  # @option params [required, Time,DateTime,Date,Integer,String] :end_time
504
659
  # The end of the time frame for which to generate a graph.
505
660
  #
661
+ # @option params [String] :group_name
662
+ # The name of a group to generate a graph based on.
663
+ #
664
+ # @option params [String] :group_arn
665
+ # The ARN of a group to generate a graph based on.
666
+ #
506
667
  # @option params [String] :next_token
507
668
  # Pagination token. Not used.
508
669
  #
@@ -511,6 +672,7 @@ module Aws::XRay
511
672
  # * {Types::GetServiceGraphResult#start_time #start_time} => Time
512
673
  # * {Types::GetServiceGraphResult#end_time #end_time} => Time
513
674
  # * {Types::GetServiceGraphResult#services #services} => Array<Types::Service>
675
+ # * {Types::GetServiceGraphResult#contains_old_group_versions #contains_old_group_versions} => Boolean
514
676
  # * {Types::GetServiceGraphResult#next_token #next_token} => String
515
677
  #
516
678
  # @example Request syntax with placeholder values
@@ -518,6 +680,8 @@ module Aws::XRay
518
680
  # resp = client.get_service_graph({
519
681
  # start_time: Time.now, # required
520
682
  # end_time: Time.now, # required
683
+ # group_name: "GroupName",
684
+ # group_arn: "GroupARN",
521
685
  # next_token: "String",
522
686
  # })
523
687
  #
@@ -570,6 +734,7 @@ module Aws::XRay
570
734
  # resp.services[0].response_time_histogram #=> Array
571
735
  # resp.services[0].response_time_histogram[0].value #=> Float
572
736
  # resp.services[0].response_time_histogram[0].count #=> Integer
737
+ # resp.contains_old_group_versions #=> Boolean
573
738
  # resp.next_token #=> String
574
739
  #
575
740
  # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetServiceGraph AWS API Documentation
@@ -945,6 +1110,45 @@ module Aws::XRay
945
1110
  req.send_request(options)
946
1111
  end
947
1112
 
1113
+ # Updates a group resource.
1114
+ #
1115
+ # @option params [String] :group_name
1116
+ # The case-sensitive name of the group.
1117
+ #
1118
+ # @option params [String] :group_arn
1119
+ # The ARN that was generated upon create.
1120
+ #
1121
+ # @option params [String] :filter_expression
1122
+ # The updated filter expression defining criteria by which to group
1123
+ # traces.
1124
+ #
1125
+ # @return [Types::UpdateGroupResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1126
+ #
1127
+ # * {Types::UpdateGroupResult#group #group} => Types::Group
1128
+ #
1129
+ # @example Request syntax with placeholder values
1130
+ #
1131
+ # resp = client.update_group({
1132
+ # group_name: "GroupName",
1133
+ # group_arn: "GroupARN",
1134
+ # filter_expression: "FilterExpression",
1135
+ # })
1136
+ #
1137
+ # @example Response structure
1138
+ #
1139
+ # resp.group.group_name #=> String
1140
+ # resp.group.group_arn #=> String
1141
+ # resp.group.filter_expression #=> String
1142
+ #
1143
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/UpdateGroup AWS API Documentation
1144
+ #
1145
+ # @overload update_group(params = {})
1146
+ # @param [Hash] params ({})
1147
+ def update_group(params = {}, options = {})
1148
+ req = build_request(:update_group, params)
1149
+ req.send_request(options)
1150
+ end
1151
+
948
1152
  # Modifies a sampling rule's configuration.
949
1153
  #
950
1154
  # @option params [required, Types::SamplingRuleUpdate] :sampling_rule_update
@@ -1016,7 +1220,7 @@ module Aws::XRay
1016
1220
  params: params,
1017
1221
  config: config)
1018
1222
  context[:gem_name] = 'aws-sdk-xray'
1019
- context[:gem_version] = '1.8.0'
1223
+ context[:gem_version] = '1.9.0'
1020
1224
  Seahorse::Client::Request.new(handlers, context)
1021
1225
  end
1022
1226
 
@@ -23,10 +23,15 @@ module Aws::XRay
23
23
  BackendConnectionErrors = Shapes::StructureShape.new(name: 'BackendConnectionErrors')
24
24
  BatchGetTracesRequest = Shapes::StructureShape.new(name: 'BatchGetTracesRequest')
25
25
  BatchGetTracesResult = Shapes::StructureShape.new(name: 'BatchGetTracesResult')
26
+ Boolean = Shapes::BooleanShape.new(name: 'Boolean')
26
27
  BorrowCount = Shapes::IntegerShape.new(name: 'BorrowCount')
27
28
  ClientID = Shapes::StringShape.new(name: 'ClientID')
29
+ CreateGroupRequest = Shapes::StructureShape.new(name: 'CreateGroupRequest')
30
+ CreateGroupResult = Shapes::StructureShape.new(name: 'CreateGroupResult')
28
31
  CreateSamplingRuleRequest = Shapes::StructureShape.new(name: 'CreateSamplingRuleRequest')
29
32
  CreateSamplingRuleResult = Shapes::StructureShape.new(name: 'CreateSamplingRuleResult')
33
+ DeleteGroupRequest = Shapes::StructureShape.new(name: 'DeleteGroupRequest')
34
+ DeleteGroupResult = Shapes::StructureShape.new(name: 'DeleteGroupResult')
30
35
  DeleteSamplingRuleRequest = Shapes::StructureShape.new(name: 'DeleteSamplingRuleRequest')
31
36
  DeleteSamplingRuleResult = Shapes::StructureShape.new(name: 'DeleteSamplingRuleResult')
32
37
  Double = Shapes::FloatShape.new(name: 'Double')
@@ -45,6 +50,11 @@ module Aws::XRay
45
50
  FixedRate = Shapes::FloatShape.new(name: 'FixedRate')
46
51
  GetEncryptionConfigRequest = Shapes::StructureShape.new(name: 'GetEncryptionConfigRequest')
47
52
  GetEncryptionConfigResult = Shapes::StructureShape.new(name: 'GetEncryptionConfigResult')
53
+ GetGroupRequest = Shapes::StructureShape.new(name: 'GetGroupRequest')
54
+ GetGroupResult = Shapes::StructureShape.new(name: 'GetGroupResult')
55
+ GetGroupsNextToken = Shapes::StringShape.new(name: 'GetGroupsNextToken')
56
+ GetGroupsRequest = Shapes::StructureShape.new(name: 'GetGroupsRequest')
57
+ GetGroupsResult = Shapes::StructureShape.new(name: 'GetGroupsResult')
48
58
  GetSamplingRulesRequest = Shapes::StructureShape.new(name: 'GetSamplingRulesRequest')
49
59
  GetSamplingRulesResult = Shapes::StructureShape.new(name: 'GetSamplingRulesResult')
50
60
  GetSamplingStatisticSummariesRequest = Shapes::StructureShape.new(name: 'GetSamplingStatisticSummariesRequest')
@@ -57,6 +67,11 @@ module Aws::XRay
57
67
  GetTraceGraphResult = Shapes::StructureShape.new(name: 'GetTraceGraphResult')
58
68
  GetTraceSummariesRequest = Shapes::StructureShape.new(name: 'GetTraceSummariesRequest')
59
69
  GetTraceSummariesResult = Shapes::StructureShape.new(name: 'GetTraceSummariesResult')
70
+ Group = Shapes::StructureShape.new(name: 'Group')
71
+ GroupARN = Shapes::StringShape.new(name: 'GroupARN')
72
+ GroupName = Shapes::StringShape.new(name: 'GroupName')
73
+ GroupSummary = Shapes::StructureShape.new(name: 'GroupSummary')
74
+ GroupSummaryList = Shapes::ListShape.new(name: 'GroupSummaryList')
60
75
  HTTPMethod = Shapes::StringShape.new(name: 'HTTPMethod')
61
76
  Histogram = Shapes::ListShape.new(name: 'Histogram')
62
77
  HistogramEntry = Shapes::StructureShape.new(name: 'HistogramEntry')
@@ -125,6 +140,8 @@ module Aws::XRay
125
140
  UnprocessedTraceIdList = Shapes::ListShape.new(name: 'UnprocessedTraceIdList')
126
141
  UnprocessedTraceSegment = Shapes::StructureShape.new(name: 'UnprocessedTraceSegment')
127
142
  UnprocessedTraceSegmentList = Shapes::ListShape.new(name: 'UnprocessedTraceSegmentList')
143
+ UpdateGroupRequest = Shapes::StructureShape.new(name: 'UpdateGroupRequest')
144
+ UpdateGroupResult = Shapes::StructureShape.new(name: 'UpdateGroupResult')
128
145
  UpdateSamplingRuleRequest = Shapes::StructureShape.new(name: 'UpdateSamplingRuleRequest')
129
146
  UpdateSamplingRuleResult = Shapes::StructureShape.new(name: 'UpdateSamplingRuleResult')
130
147
  ValueWithServiceIds = Shapes::StructureShape.new(name: 'ValueWithServiceIds')
@@ -168,12 +185,25 @@ module Aws::XRay
168
185
  BatchGetTracesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
169
186
  BatchGetTracesResult.struct_class = Types::BatchGetTracesResult
170
187
 
188
+ CreateGroupRequest.add_member(:group_name, Shapes::ShapeRef.new(shape: GroupName, required: true, location_name: "GroupName"))
189
+ CreateGroupRequest.add_member(:filter_expression, Shapes::ShapeRef.new(shape: FilterExpression, location_name: "FilterExpression"))
190
+ CreateGroupRequest.struct_class = Types::CreateGroupRequest
191
+
192
+ CreateGroupResult.add_member(:group, Shapes::ShapeRef.new(shape: Group, location_name: "Group"))
193
+ CreateGroupResult.struct_class = Types::CreateGroupResult
194
+
171
195
  CreateSamplingRuleRequest.add_member(:sampling_rule, Shapes::ShapeRef.new(shape: SamplingRule, required: true, location_name: "SamplingRule"))
172
196
  CreateSamplingRuleRequest.struct_class = Types::CreateSamplingRuleRequest
173
197
 
174
198
  CreateSamplingRuleResult.add_member(:sampling_rule_record, Shapes::ShapeRef.new(shape: SamplingRuleRecord, location_name: "SamplingRuleRecord"))
175
199
  CreateSamplingRuleResult.struct_class = Types::CreateSamplingRuleResult
176
200
 
201
+ DeleteGroupRequest.add_member(:group_name, Shapes::ShapeRef.new(shape: GroupName, location_name: "GroupName"))
202
+ DeleteGroupRequest.add_member(:group_arn, Shapes::ShapeRef.new(shape: GroupARN, location_name: "GroupARN"))
203
+ DeleteGroupRequest.struct_class = Types::DeleteGroupRequest
204
+
205
+ DeleteGroupResult.struct_class = Types::DeleteGroupResult
206
+
177
207
  DeleteSamplingRuleRequest.add_member(:rule_name, Shapes::ShapeRef.new(shape: String, location_name: "RuleName"))
178
208
  DeleteSamplingRuleRequest.add_member(:rule_arn, Shapes::ShapeRef.new(shape: String, location_name: "RuleARN"))
179
209
  DeleteSamplingRuleRequest.struct_class = Types::DeleteSamplingRuleRequest
@@ -217,6 +247,20 @@ module Aws::XRay
217
247
  GetEncryptionConfigResult.add_member(:encryption_config, Shapes::ShapeRef.new(shape: EncryptionConfig, location_name: "EncryptionConfig"))
218
248
  GetEncryptionConfigResult.struct_class = Types::GetEncryptionConfigResult
219
249
 
250
+ GetGroupRequest.add_member(:group_name, Shapes::ShapeRef.new(shape: GroupName, location_name: "GroupName"))
251
+ GetGroupRequest.add_member(:group_arn, Shapes::ShapeRef.new(shape: GroupARN, location_name: "GroupARN"))
252
+ GetGroupRequest.struct_class = Types::GetGroupRequest
253
+
254
+ GetGroupResult.add_member(:group, Shapes::ShapeRef.new(shape: Group, location_name: "Group"))
255
+ GetGroupResult.struct_class = Types::GetGroupResult
256
+
257
+ GetGroupsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: GetGroupsNextToken, location_name: "NextToken"))
258
+ GetGroupsRequest.struct_class = Types::GetGroupsRequest
259
+
260
+ GetGroupsResult.add_member(:groups, Shapes::ShapeRef.new(shape: GroupSummaryList, location_name: "Groups"))
261
+ GetGroupsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
262
+ GetGroupsResult.struct_class = Types::GetGroupsResult
263
+
220
264
  GetSamplingRulesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
221
265
  GetSamplingRulesRequest.struct_class = Types::GetSamplingRulesRequest
222
266
 
@@ -241,12 +285,15 @@ module Aws::XRay
241
285
 
242
286
  GetServiceGraphRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "StartTime"))
243
287
  GetServiceGraphRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "EndTime"))
288
+ GetServiceGraphRequest.add_member(:group_name, Shapes::ShapeRef.new(shape: GroupName, location_name: "GroupName"))
289
+ GetServiceGraphRequest.add_member(:group_arn, Shapes::ShapeRef.new(shape: GroupARN, location_name: "GroupARN"))
244
290
  GetServiceGraphRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
245
291
  GetServiceGraphRequest.struct_class = Types::GetServiceGraphRequest
246
292
 
247
293
  GetServiceGraphResult.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "StartTime"))
248
294
  GetServiceGraphResult.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndTime"))
249
295
  GetServiceGraphResult.add_member(:services, Shapes::ShapeRef.new(shape: ServiceList, location_name: "Services"))
296
+ GetServiceGraphResult.add_member(:contains_old_group_versions, Shapes::ShapeRef.new(shape: Boolean, location_name: "ContainsOldGroupVersions"))
250
297
  GetServiceGraphResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
251
298
  GetServiceGraphResult.struct_class = Types::GetServiceGraphResult
252
299
 
@@ -271,6 +318,18 @@ module Aws::XRay
271
318
  GetTraceSummariesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
272
319
  GetTraceSummariesResult.struct_class = Types::GetTraceSummariesResult
273
320
 
321
+ Group.add_member(:group_name, Shapes::ShapeRef.new(shape: String, location_name: "GroupName"))
322
+ Group.add_member(:group_arn, Shapes::ShapeRef.new(shape: String, location_name: "GroupARN"))
323
+ Group.add_member(:filter_expression, Shapes::ShapeRef.new(shape: String, location_name: "FilterExpression"))
324
+ Group.struct_class = Types::Group
325
+
326
+ GroupSummary.add_member(:group_name, Shapes::ShapeRef.new(shape: String, location_name: "GroupName"))
327
+ GroupSummary.add_member(:group_arn, Shapes::ShapeRef.new(shape: String, location_name: "GroupARN"))
328
+ GroupSummary.add_member(:filter_expression, Shapes::ShapeRef.new(shape: String, location_name: "FilterExpression"))
329
+ GroupSummary.struct_class = Types::GroupSummary
330
+
331
+ GroupSummaryList.member = Shapes::ShapeRef.new(shape: GroupSummary)
332
+
274
333
  Histogram.member = Shapes::ShapeRef.new(shape: HistogramEntry)
275
334
 
276
335
  HistogramEntry.add_member(:value, Shapes::ShapeRef.new(shape: Double, location_name: "Value"))
@@ -467,6 +526,14 @@ module Aws::XRay
467
526
 
468
527
  UnprocessedTraceSegmentList.member = Shapes::ShapeRef.new(shape: UnprocessedTraceSegment)
469
528
 
529
+ UpdateGroupRequest.add_member(:group_name, Shapes::ShapeRef.new(shape: GroupName, location_name: "GroupName"))
530
+ UpdateGroupRequest.add_member(:group_arn, Shapes::ShapeRef.new(shape: GroupARN, location_name: "GroupARN"))
531
+ UpdateGroupRequest.add_member(:filter_expression, Shapes::ShapeRef.new(shape: FilterExpression, location_name: "FilterExpression"))
532
+ UpdateGroupRequest.struct_class = Types::UpdateGroupRequest
533
+
534
+ UpdateGroupResult.add_member(:group, Shapes::ShapeRef.new(shape: Group, location_name: "Group"))
535
+ UpdateGroupResult.struct_class = Types::UpdateGroupResult
536
+
470
537
  UpdateSamplingRuleRequest.add_member(:sampling_rule_update, Shapes::ShapeRef.new(shape: SamplingRuleUpdate, required: true, location_name: "SamplingRuleUpdate"))
471
538
  UpdateSamplingRuleRequest.struct_class = Types::UpdateSamplingRuleRequest
472
539
 
@@ -510,6 +577,16 @@ module Aws::XRay
510
577
  )
511
578
  end)
512
579
 
580
+ api.add_operation(:create_group, Seahorse::Model::Operation.new.tap do |o|
581
+ o.name = "CreateGroup"
582
+ o.http_method = "POST"
583
+ o.http_request_uri = "/CreateGroup"
584
+ o.input = Shapes::ShapeRef.new(shape: CreateGroupRequest)
585
+ o.output = Shapes::ShapeRef.new(shape: CreateGroupResult)
586
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
587
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
588
+ end)
589
+
513
590
  api.add_operation(:create_sampling_rule, Seahorse::Model::Operation.new.tap do |o|
514
591
  o.name = "CreateSamplingRule"
515
592
  o.http_method = "POST"
@@ -521,6 +598,16 @@ module Aws::XRay
521
598
  o.errors << Shapes::ShapeRef.new(shape: RuleLimitExceededException)
522
599
  end)
523
600
 
601
+ api.add_operation(:delete_group, Seahorse::Model::Operation.new.tap do |o|
602
+ o.name = "DeleteGroup"
603
+ o.http_method = "POST"
604
+ o.http_request_uri = "/DeleteGroup"
605
+ o.input = Shapes::ShapeRef.new(shape: DeleteGroupRequest)
606
+ o.output = Shapes::ShapeRef.new(shape: DeleteGroupResult)
607
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
608
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
609
+ end)
610
+
524
611
  api.add_operation(:delete_sampling_rule, Seahorse::Model::Operation.new.tap do |o|
525
612
  o.name = "DeleteSamplingRule"
526
613
  o.http_method = "POST"
@@ -541,6 +628,26 @@ module Aws::XRay
541
628
  o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
542
629
  end)
543
630
 
631
+ api.add_operation(:get_group, Seahorse::Model::Operation.new.tap do |o|
632
+ o.name = "GetGroup"
633
+ o.http_method = "POST"
634
+ o.http_request_uri = "/GetGroup"
635
+ o.input = Shapes::ShapeRef.new(shape: GetGroupRequest)
636
+ o.output = Shapes::ShapeRef.new(shape: GetGroupResult)
637
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
638
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
639
+ end)
640
+
641
+ api.add_operation(:get_groups, Seahorse::Model::Operation.new.tap do |o|
642
+ o.name = "GetGroups"
643
+ o.http_method = "POST"
644
+ o.http_request_uri = "/Groups"
645
+ o.input = Shapes::ShapeRef.new(shape: GetGroupsRequest)
646
+ o.output = Shapes::ShapeRef.new(shape: GetGroupsResult)
647
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
648
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
649
+ end)
650
+
544
651
  api.add_operation(:get_sampling_rules, Seahorse::Model::Operation.new.tap do |o|
545
652
  o.name = "GetSamplingRules"
546
653
  o.http_method = "POST"
@@ -646,6 +753,16 @@ module Aws::XRay
646
753
  o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
647
754
  end)
648
755
 
756
+ api.add_operation(:update_group, Seahorse::Model::Operation.new.tap do |o|
757
+ o.name = "UpdateGroup"
758
+ o.http_method = "POST"
759
+ o.http_request_uri = "/UpdateGroup"
760
+ o.input = Shapes::ShapeRef.new(shape: UpdateGroupRequest)
761
+ o.output = Shapes::ShapeRef.new(shape: UpdateGroupResult)
762
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
763
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
764
+ end)
765
+
649
766
  api.add_operation(:update_sampling_rule, Seahorse::Model::Operation.new.tap do |o|
650
767
  o.name = "UpdateSamplingRule"
651
768
  o.http_method = "POST"
@@ -142,6 +142,44 @@ module Aws::XRay
142
142
  include Aws::Structure
143
143
  end
144
144
 
145
+ # @note When making an API call, you may pass CreateGroupRequest
146
+ # data as a hash:
147
+ #
148
+ # {
149
+ # group_name: "GroupName", # required
150
+ # filter_expression: "FilterExpression",
151
+ # }
152
+ #
153
+ # @!attribute [rw] group_name
154
+ # The case-sensitive name of the new group. Default is a reserved name
155
+ # and names must be unique.
156
+ # @return [String]
157
+ #
158
+ # @!attribute [rw] filter_expression
159
+ # The filter expression defining criteria by which to group traces.
160
+ # @return [String]
161
+ #
162
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/CreateGroupRequest AWS API Documentation
163
+ #
164
+ class CreateGroupRequest < Struct.new(
165
+ :group_name,
166
+ :filter_expression)
167
+ include Aws::Structure
168
+ end
169
+
170
+ # @!attribute [rw] group
171
+ # The group that was created. Contains the name of the group that was
172
+ # created, the ARN of the group that was generated based on the group
173
+ # name, and the filter expression that was assigned to the group.
174
+ # @return [Types::Group]
175
+ #
176
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/CreateGroupResult AWS API Documentation
177
+ #
178
+ class CreateGroupResult < Struct.new(
179
+ :group)
180
+ include Aws::Structure
181
+ end
182
+
145
183
  # @note When making an API call, you may pass CreateSamplingRuleRequest
146
184
  # data as a hash:
147
185
  #
@@ -187,6 +225,34 @@ module Aws::XRay
187
225
  include Aws::Structure
188
226
  end
189
227
 
228
+ # @note When making an API call, you may pass DeleteGroupRequest
229
+ # data as a hash:
230
+ #
231
+ # {
232
+ # group_name: "GroupName",
233
+ # group_arn: "GroupARN",
234
+ # }
235
+ #
236
+ # @!attribute [rw] group_name
237
+ # The case-sensitive name of the group.
238
+ # @return [String]
239
+ #
240
+ # @!attribute [rw] group_arn
241
+ # The ARN of the group that was generated on creation.
242
+ # @return [String]
243
+ #
244
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/DeleteGroupRequest AWS API Documentation
245
+ #
246
+ class DeleteGroupRequest < Struct.new(
247
+ :group_name,
248
+ :group_arn)
249
+ include Aws::Structure
250
+ end
251
+
252
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/DeleteGroupResult AWS API Documentation
253
+ #
254
+ class DeleteGroupResult < Aws::EmptyStructure; end
255
+
190
256
  # @note When making an API call, you may pass DeleteSamplingRuleRequest
191
257
  # data as a hash:
192
258
  #
@@ -391,6 +457,77 @@ module Aws::XRay
391
457
  include Aws::Structure
392
458
  end
393
459
 
460
+ # @note When making an API call, you may pass GetGroupRequest
461
+ # data as a hash:
462
+ #
463
+ # {
464
+ # group_name: "GroupName",
465
+ # group_arn: "GroupARN",
466
+ # }
467
+ #
468
+ # @!attribute [rw] group_name
469
+ # The case-sensitive name of the group.
470
+ # @return [String]
471
+ #
472
+ # @!attribute [rw] group_arn
473
+ # The ARN of the group that was generated on creation.
474
+ # @return [String]
475
+ #
476
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetGroupRequest AWS API Documentation
477
+ #
478
+ class GetGroupRequest < Struct.new(
479
+ :group_name,
480
+ :group_arn)
481
+ include Aws::Structure
482
+ end
483
+
484
+ # @!attribute [rw] group
485
+ # The group that was requested. Contains the name of the group, the
486
+ # ARN of the group, and the filter expression that assigned to the
487
+ # group.
488
+ # @return [Types::Group]
489
+ #
490
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetGroupResult AWS API Documentation
491
+ #
492
+ class GetGroupResult < Struct.new(
493
+ :group)
494
+ include Aws::Structure
495
+ end
496
+
497
+ # @note When making an API call, you may pass GetGroupsRequest
498
+ # data as a hash:
499
+ #
500
+ # {
501
+ # next_token: "GetGroupsNextToken",
502
+ # }
503
+ #
504
+ # @!attribute [rw] next_token
505
+ # Pagination token. Not used.
506
+ # @return [String]
507
+ #
508
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetGroupsRequest AWS API Documentation
509
+ #
510
+ class GetGroupsRequest < Struct.new(
511
+ :next_token)
512
+ include Aws::Structure
513
+ end
514
+
515
+ # @!attribute [rw] groups
516
+ # The collection of all active groups.
517
+ # @return [Array<Types::GroupSummary>]
518
+ #
519
+ # @!attribute [rw] next_token
520
+ # Pagination token. Not used.
521
+ # @return [String]
522
+ #
523
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetGroupsResult AWS API Documentation
524
+ #
525
+ class GetGroupsResult < Struct.new(
526
+ :groups,
527
+ :next_token)
528
+ include Aws::Structure
529
+ end
530
+
394
531
  # @note When making an API call, you may pass GetSamplingRulesRequest
395
532
  # data as a hash:
396
533
  #
@@ -519,6 +656,8 @@ module Aws::XRay
519
656
  # {
520
657
  # start_time: Time.now, # required
521
658
  # end_time: Time.now, # required
659
+ # group_name: "GroupName",
660
+ # group_arn: "GroupARN",
522
661
  # next_token: "String",
523
662
  # }
524
663
  #
@@ -530,6 +669,14 @@ module Aws::XRay
530
669
  # The end of the time frame for which to generate a graph.
531
670
  # @return [Time]
532
671
  #
672
+ # @!attribute [rw] group_name
673
+ # The name of a group to generate a graph based on.
674
+ # @return [String]
675
+ #
676
+ # @!attribute [rw] group_arn
677
+ # The ARN of a group to generate a graph based on.
678
+ # @return [String]
679
+ #
533
680
  # @!attribute [rw] next_token
534
681
  # Pagination token. Not used.
535
682
  # @return [String]
@@ -539,6 +686,8 @@ module Aws::XRay
539
686
  class GetServiceGraphRequest < Struct.new(
540
687
  :start_time,
541
688
  :end_time,
689
+ :group_name,
690
+ :group_arn,
542
691
  :next_token)
543
692
  include Aws::Structure
544
693
  end
@@ -556,6 +705,12 @@ module Aws::XRay
556
705
  # specified time frame.
557
706
  # @return [Array<Types::Service>]
558
707
  #
708
+ # @!attribute [rw] contains_old_group_versions
709
+ # A flag indicating whether or not the group's filter expression has
710
+ # been consistent, or if the returned service graph may show traces
711
+ # from an older version of the group's filter expression.
712
+ # @return [Boolean]
713
+ #
559
714
  # @!attribute [rw] next_token
560
715
  # Pagination token. Not used.
561
716
  # @return [String]
@@ -566,6 +721,7 @@ module Aws::XRay
566
721
  :start_time,
567
722
  :end_time,
568
723
  :services,
724
+ :contains_old_group_versions,
569
725
  :next_token)
570
726
  include Aws::Structure
571
727
  end
@@ -686,6 +842,52 @@ module Aws::XRay
686
842
  include Aws::Structure
687
843
  end
688
844
 
845
+ # Details and metadata for a group.
846
+ #
847
+ # @!attribute [rw] group_name
848
+ # The unique case-sensitive name of the group.
849
+ # @return [String]
850
+ #
851
+ # @!attribute [rw] group_arn
852
+ # The ARN of the group generated based on the GroupName.
853
+ # @return [String]
854
+ #
855
+ # @!attribute [rw] filter_expression
856
+ # The filter expression defining the parameters to include traces.
857
+ # @return [String]
858
+ #
859
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/Group AWS API Documentation
860
+ #
861
+ class Group < Struct.new(
862
+ :group_name,
863
+ :group_arn,
864
+ :filter_expression)
865
+ include Aws::Structure
866
+ end
867
+
868
+ # Details for a group without metadata.
869
+ #
870
+ # @!attribute [rw] group_name
871
+ # The unique case-sensitive name of the group.
872
+ # @return [String]
873
+ #
874
+ # @!attribute [rw] group_arn
875
+ # The ARN of the group generated based on the GroupName.
876
+ # @return [String]
877
+ #
878
+ # @!attribute [rw] filter_expression
879
+ # The filter expression defining the parameters to include traces.
880
+ # @return [String]
881
+ #
882
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GroupSummary AWS API Documentation
883
+ #
884
+ class GroupSummary < Struct.new(
885
+ :group_name,
886
+ :group_arn,
887
+ :filter_expression)
888
+ include Aws::Structure
889
+ end
890
+
689
891
  # An entry in a histogram for a statistic. A histogram maps the range of
690
892
  # observed values on the X axis, and the prevalence of each value on the
691
893
  # Y axis.
@@ -1601,6 +1803,50 @@ module Aws::XRay
1601
1803
  include Aws::Structure
1602
1804
  end
1603
1805
 
1806
+ # @note When making an API call, you may pass UpdateGroupRequest
1807
+ # data as a hash:
1808
+ #
1809
+ # {
1810
+ # group_name: "GroupName",
1811
+ # group_arn: "GroupARN",
1812
+ # filter_expression: "FilterExpression",
1813
+ # }
1814
+ #
1815
+ # @!attribute [rw] group_name
1816
+ # The case-sensitive name of the group.
1817
+ # @return [String]
1818
+ #
1819
+ # @!attribute [rw] group_arn
1820
+ # The ARN that was generated upon create.
1821
+ # @return [String]
1822
+ #
1823
+ # @!attribute [rw] filter_expression
1824
+ # The updated filter expression defining criteria by which to group
1825
+ # traces.
1826
+ # @return [String]
1827
+ #
1828
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/UpdateGroupRequest AWS API Documentation
1829
+ #
1830
+ class UpdateGroupRequest < Struct.new(
1831
+ :group_name,
1832
+ :group_arn,
1833
+ :filter_expression)
1834
+ include Aws::Structure
1835
+ end
1836
+
1837
+ # @!attribute [rw] group
1838
+ # The group that was updated. Contains the name of the group that was
1839
+ # updated, the ARN of the group that was updated, and the updated
1840
+ # filter expression assigned to the group.
1841
+ # @return [Types::Group]
1842
+ #
1843
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/UpdateGroupResult AWS API Documentation
1844
+ #
1845
+ class UpdateGroupResult < Struct.new(
1846
+ :group)
1847
+ include Aws::Structure
1848
+ end
1849
+
1604
1850
  # @note When making an API call, you may pass UpdateSamplingRuleRequest
1605
1851
  # data as a hash:
1606
1852
  #
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.8.0
4
+ version: 1.9.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: 2018-10-24 00:00:00.000000000 Z
11
+ date: 2018-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.26.0
22
+ version: 3.39.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.26.0
32
+ version: 3.39.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement