aws-sdk-xray 1.26.0 → 1.32.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-xray.rb +5 -2
- data/lib/aws-sdk-xray/client.rb +229 -9
- data/lib/aws-sdk-xray/client_api.rb +96 -0
- data/lib/aws-sdk-xray/errors.rb +44 -0
- data/lib/aws-sdk-xray/resource.rb +2 -0
- data/lib/aws-sdk-xray/types.rb +436 -8
- metadata +4 -4
data/lib/aws-sdk-xray/errors.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -26,8 +28,10 @@ module Aws::XRay
|
|
26
28
|
#
|
27
29
|
# ## Error Classes
|
28
30
|
# * {InvalidRequestException}
|
31
|
+
# * {ResourceNotFoundException}
|
29
32
|
# * {RuleLimitExceededException}
|
30
33
|
# * {ThrottledException}
|
34
|
+
# * {TooManyTagsException}
|
31
35
|
#
|
32
36
|
# Additionally, error classes are dynamically generated for service errors based on the error code
|
33
37
|
# if they are not defined above.
|
@@ -50,6 +54,26 @@ module Aws::XRay
|
|
50
54
|
end
|
51
55
|
end
|
52
56
|
|
57
|
+
class ResourceNotFoundException < ServiceError
|
58
|
+
|
59
|
+
# @param [Seahorse::Client::RequestContext] context
|
60
|
+
# @param [String] message
|
61
|
+
# @param [Aws::XRay::Types::ResourceNotFoundException] data
|
62
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
63
|
+
super(context, message, data)
|
64
|
+
end
|
65
|
+
|
66
|
+
# @return [String]
|
67
|
+
def message
|
68
|
+
@message || @data[:message]
|
69
|
+
end
|
70
|
+
|
71
|
+
# @return [String]
|
72
|
+
def resource_name
|
73
|
+
@data[:resource_name]
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
53
77
|
class RuleLimitExceededException < ServiceError
|
54
78
|
|
55
79
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -80,5 +104,25 @@ module Aws::XRay
|
|
80
104
|
end
|
81
105
|
end
|
82
106
|
|
107
|
+
class TooManyTagsException < ServiceError
|
108
|
+
|
109
|
+
# @param [Seahorse::Client::RequestContext] context
|
110
|
+
# @param [String] message
|
111
|
+
# @param [Aws::XRay::Types::TooManyTagsException] data
|
112
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
113
|
+
super(context, message, data)
|
114
|
+
end
|
115
|
+
|
116
|
+
# @return [String]
|
117
|
+
def message
|
118
|
+
@message || @data[:message]
|
119
|
+
end
|
120
|
+
|
121
|
+
# @return [String]
|
122
|
+
def resource_name
|
123
|
+
@data[:resource_name]
|
124
|
+
end
|
125
|
+
end
|
126
|
+
|
83
127
|
end
|
84
128
|
end
|
data/lib/aws-sdk-xray/types.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -28,6 +30,7 @@ module Aws::XRay
|
|
28
30
|
:name,
|
29
31
|
:names,
|
30
32
|
:type)
|
33
|
+
SENSITIVE = []
|
31
34
|
include Aws::Structure
|
32
35
|
end
|
33
36
|
|
@@ -52,6 +55,7 @@ module Aws::XRay
|
|
52
55
|
:number_value,
|
53
56
|
:boolean_value,
|
54
57
|
:string_value)
|
58
|
+
SENSITIVE = []
|
55
59
|
include Aws::Structure
|
56
60
|
end
|
57
61
|
|
@@ -65,6 +69,7 @@ module Aws::XRay
|
|
65
69
|
#
|
66
70
|
class AvailabilityZoneDetail < Struct.new(
|
67
71
|
:name)
|
72
|
+
SENSITIVE = []
|
68
73
|
include Aws::Structure
|
69
74
|
end
|
70
75
|
|
@@ -107,6 +112,7 @@ module Aws::XRay
|
|
107
112
|
:http_code_5_xx_count,
|
108
113
|
:unknown_host_count,
|
109
114
|
:other_count)
|
115
|
+
SENSITIVE = []
|
110
116
|
include Aws::Structure
|
111
117
|
end
|
112
118
|
|
@@ -131,6 +137,7 @@ module Aws::XRay
|
|
131
137
|
class BatchGetTracesRequest < Struct.new(
|
132
138
|
:trace_ids,
|
133
139
|
:next_token)
|
140
|
+
SENSITIVE = []
|
134
141
|
include Aws::Structure
|
135
142
|
end
|
136
143
|
|
@@ -152,6 +159,7 @@ module Aws::XRay
|
|
152
159
|
:traces,
|
153
160
|
:unprocessed_trace_ids,
|
154
161
|
:next_token)
|
162
|
+
SENSITIVE = []
|
155
163
|
include Aws::Structure
|
156
164
|
end
|
157
165
|
|
@@ -161,6 +169,15 @@ module Aws::XRay
|
|
161
169
|
# {
|
162
170
|
# group_name: "GroupName", # required
|
163
171
|
# filter_expression: "FilterExpression",
|
172
|
+
# insights_configuration: {
|
173
|
+
# insights_enabled: false,
|
174
|
+
# },
|
175
|
+
# tags: [
|
176
|
+
# {
|
177
|
+
# key: "TagKey", # required
|
178
|
+
# value: "TagValue", # required
|
179
|
+
# },
|
180
|
+
# ],
|
164
181
|
# }
|
165
182
|
#
|
166
183
|
# @!attribute [rw] group_name
|
@@ -172,24 +189,61 @@ module Aws::XRay
|
|
172
189
|
# The filter expression defining criteria by which to group traces.
|
173
190
|
# @return [String]
|
174
191
|
#
|
192
|
+
# @!attribute [rw] insights_configuration
|
193
|
+
# The structure containing configurations related to insights. The
|
194
|
+
# InsightsEnabled boolean can be set to true to enable insights for
|
195
|
+
# the new group or false to disable insights for the new group.
|
196
|
+
# @return [Types::InsightsConfiguration]
|
197
|
+
#
|
198
|
+
# @!attribute [rw] tags
|
199
|
+
# A map that contains one or more tag keys and tag values to attach to
|
200
|
+
# an X-Ray group. For more information about ways to use tags, see
|
201
|
+
# [Tagging AWS resources][1] in the *AWS General Reference*.
|
202
|
+
#
|
203
|
+
# The following restrictions apply to tags:
|
204
|
+
#
|
205
|
+
# * Maximum number of user-applied tags per resource: 50
|
206
|
+
#
|
207
|
+
# * Maximum tag key length: 128 Unicode characters
|
208
|
+
#
|
209
|
+
# * Maximum tag value length: 256 Unicode characters
|
210
|
+
#
|
211
|
+
# * Valid values for key and value: a-z, A-Z, 0-9, space, and the
|
212
|
+
# following characters: \_ . : / = + - and @
|
213
|
+
#
|
214
|
+
# * Tag keys and values are case sensitive.
|
215
|
+
#
|
216
|
+
# * Don't use `aws:` as a prefix for keys; it's reserved for AWS
|
217
|
+
# use.
|
218
|
+
#
|
219
|
+
#
|
220
|
+
#
|
221
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
|
222
|
+
# @return [Array<Types::Tag>]
|
223
|
+
#
|
175
224
|
# @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/CreateGroupRequest AWS API Documentation
|
176
225
|
#
|
177
226
|
class CreateGroupRequest < Struct.new(
|
178
227
|
:group_name,
|
179
|
-
:filter_expression
|
228
|
+
:filter_expression,
|
229
|
+
:insights_configuration,
|
230
|
+
:tags)
|
231
|
+
SENSITIVE = []
|
180
232
|
include Aws::Structure
|
181
233
|
end
|
182
234
|
|
183
235
|
# @!attribute [rw] group
|
184
236
|
# The group that was created. Contains the name of the group that was
|
185
237
|
# created, the ARN of the group that was generated based on the group
|
186
|
-
# name,
|
238
|
+
# name, the filter expression, and the insight configuration that was
|
239
|
+
# assigned to the group.
|
187
240
|
# @return [Types::Group]
|
188
241
|
#
|
189
242
|
# @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/CreateGroupResult AWS API Documentation
|
190
243
|
#
|
191
244
|
class CreateGroupResult < Struct.new(
|
192
245
|
:group)
|
246
|
+
SENSITIVE = []
|
193
247
|
include Aws::Structure
|
194
248
|
end
|
195
249
|
|
@@ -214,16 +268,50 @@ module Aws::XRay
|
|
214
268
|
# "AttributeKey" => "AttributeValue",
|
215
269
|
# },
|
216
270
|
# },
|
271
|
+
# tags: [
|
272
|
+
# {
|
273
|
+
# key: "TagKey", # required
|
274
|
+
# value: "TagValue", # required
|
275
|
+
# },
|
276
|
+
# ],
|
217
277
|
# }
|
218
278
|
#
|
219
279
|
# @!attribute [rw] sampling_rule
|
220
280
|
# The rule definition.
|
221
281
|
# @return [Types::SamplingRule]
|
222
282
|
#
|
283
|
+
# @!attribute [rw] tags
|
284
|
+
# A map that contains one or more tag keys and tag values to attach to
|
285
|
+
# an X-Ray sampling rule. For more information about ways to use tags,
|
286
|
+
# see [Tagging AWS resources][1] in the *AWS General Reference*.
|
287
|
+
#
|
288
|
+
# The following restrictions apply to tags:
|
289
|
+
#
|
290
|
+
# * Maximum number of user-applied tags per resource: 50
|
291
|
+
#
|
292
|
+
# * Maximum tag key length: 128 Unicode characters
|
293
|
+
#
|
294
|
+
# * Maximum tag value length: 256 Unicode characters
|
295
|
+
#
|
296
|
+
# * Valid values for key and value: a-z, A-Z, 0-9, space, and the
|
297
|
+
# following characters: \_ . : / = + - and @
|
298
|
+
#
|
299
|
+
# * Tag keys and values are case sensitive.
|
300
|
+
#
|
301
|
+
# * Don't use `aws:` as a prefix for keys; it's reserved for AWS
|
302
|
+
# use.
|
303
|
+
#
|
304
|
+
#
|
305
|
+
#
|
306
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
|
307
|
+
# @return [Array<Types::Tag>]
|
308
|
+
#
|
223
309
|
# @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/CreateSamplingRuleRequest AWS API Documentation
|
224
310
|
#
|
225
311
|
class CreateSamplingRuleRequest < Struct.new(
|
226
|
-
:sampling_rule
|
312
|
+
:sampling_rule,
|
313
|
+
:tags)
|
314
|
+
SENSITIVE = []
|
227
315
|
include Aws::Structure
|
228
316
|
end
|
229
317
|
|
@@ -235,6 +323,7 @@ module Aws::XRay
|
|
235
323
|
#
|
236
324
|
class CreateSamplingRuleResult < Struct.new(
|
237
325
|
:sampling_rule_record)
|
326
|
+
SENSITIVE = []
|
238
327
|
include Aws::Structure
|
239
328
|
end
|
240
329
|
|
@@ -259,6 +348,7 @@ module Aws::XRay
|
|
259
348
|
class DeleteGroupRequest < Struct.new(
|
260
349
|
:group_name,
|
261
350
|
:group_arn)
|
351
|
+
SENSITIVE = []
|
262
352
|
include Aws::Structure
|
263
353
|
end
|
264
354
|
|
@@ -289,6 +379,7 @@ module Aws::XRay
|
|
289
379
|
class DeleteSamplingRuleRequest < Struct.new(
|
290
380
|
:rule_name,
|
291
381
|
:rule_arn)
|
382
|
+
SENSITIVE = []
|
292
383
|
include Aws::Structure
|
293
384
|
end
|
294
385
|
|
@@ -300,6 +391,7 @@ module Aws::XRay
|
|
300
391
|
#
|
301
392
|
class DeleteSamplingRuleResult < Struct.new(
|
302
393
|
:sampling_rule_record)
|
394
|
+
SENSITIVE = []
|
303
395
|
include Aws::Structure
|
304
396
|
end
|
305
397
|
|
@@ -339,6 +431,7 @@ module Aws::XRay
|
|
339
431
|
:summary_statistics,
|
340
432
|
:response_time_histogram,
|
341
433
|
:aliases)
|
434
|
+
SENSITIVE = []
|
342
435
|
include Aws::Structure
|
343
436
|
end
|
344
437
|
|
@@ -375,6 +468,7 @@ module Aws::XRay
|
|
375
468
|
:fault_statistics,
|
376
469
|
:total_count,
|
377
470
|
:total_response_time)
|
471
|
+
SENSITIVE = []
|
378
472
|
include Aws::Structure
|
379
473
|
end
|
380
474
|
|
@@ -402,6 +496,7 @@ module Aws::XRay
|
|
402
496
|
:key_id,
|
403
497
|
:status,
|
404
498
|
:type)
|
499
|
+
SENSITIVE = []
|
405
500
|
include Aws::Structure
|
406
501
|
end
|
407
502
|
|
@@ -421,6 +516,7 @@ module Aws::XRay
|
|
421
516
|
class ErrorRootCause < Struct.new(
|
422
517
|
:services,
|
423
518
|
:client_impacting)
|
519
|
+
SENSITIVE = []
|
424
520
|
include Aws::Structure
|
425
521
|
end
|
426
522
|
|
@@ -445,6 +541,7 @@ module Aws::XRay
|
|
445
541
|
:name,
|
446
542
|
:exceptions,
|
447
543
|
:remote)
|
544
|
+
SENSITIVE = []
|
448
545
|
include Aws::Structure
|
449
546
|
end
|
450
547
|
|
@@ -485,6 +582,7 @@ module Aws::XRay
|
|
485
582
|
:account_id,
|
486
583
|
:entity_path,
|
487
584
|
:inferred)
|
585
|
+
SENSITIVE = []
|
488
586
|
include Aws::Structure
|
489
587
|
end
|
490
588
|
|
@@ -512,6 +610,7 @@ module Aws::XRay
|
|
512
610
|
:throttle_count,
|
513
611
|
:other_count,
|
514
612
|
:total_count)
|
613
|
+
SENSITIVE = []
|
515
614
|
include Aws::Structure
|
516
615
|
end
|
517
616
|
|
@@ -531,6 +630,7 @@ module Aws::XRay
|
|
531
630
|
class FaultRootCause < Struct.new(
|
532
631
|
:services,
|
533
632
|
:client_impacting)
|
633
|
+
SENSITIVE = []
|
534
634
|
include Aws::Structure
|
535
635
|
end
|
536
636
|
|
@@ -555,6 +655,7 @@ module Aws::XRay
|
|
555
655
|
:name,
|
556
656
|
:exceptions,
|
557
657
|
:remote)
|
658
|
+
SENSITIVE = []
|
558
659
|
include Aws::Structure
|
559
660
|
end
|
560
661
|
|
@@ -595,6 +696,7 @@ module Aws::XRay
|
|
595
696
|
:account_id,
|
596
697
|
:entity_path,
|
597
698
|
:inferred)
|
699
|
+
SENSITIVE = []
|
598
700
|
include Aws::Structure
|
599
701
|
end
|
600
702
|
|
@@ -616,6 +718,7 @@ module Aws::XRay
|
|
616
718
|
class FaultStatistics < Struct.new(
|
617
719
|
:other_count,
|
618
720
|
:total_count)
|
721
|
+
SENSITIVE = []
|
619
722
|
include Aws::Structure
|
620
723
|
end
|
621
724
|
|
@@ -633,6 +736,7 @@ module Aws::XRay
|
|
633
736
|
#
|
634
737
|
class GetEncryptionConfigResult < Struct.new(
|
635
738
|
:encryption_config)
|
739
|
+
SENSITIVE = []
|
636
740
|
include Aws::Structure
|
637
741
|
end
|
638
742
|
|
@@ -657,6 +761,7 @@ module Aws::XRay
|
|
657
761
|
class GetGroupRequest < Struct.new(
|
658
762
|
:group_name,
|
659
763
|
:group_arn)
|
764
|
+
SENSITIVE = []
|
660
765
|
include Aws::Structure
|
661
766
|
end
|
662
767
|
|
@@ -670,6 +775,7 @@ module Aws::XRay
|
|
670
775
|
#
|
671
776
|
class GetGroupResult < Struct.new(
|
672
777
|
:group)
|
778
|
+
SENSITIVE = []
|
673
779
|
include Aws::Structure
|
674
780
|
end
|
675
781
|
|
@@ -688,6 +794,7 @@ module Aws::XRay
|
|
688
794
|
#
|
689
795
|
class GetGroupsRequest < Struct.new(
|
690
796
|
:next_token)
|
797
|
+
SENSITIVE = []
|
691
798
|
include Aws::Structure
|
692
799
|
end
|
693
800
|
|
@@ -704,6 +811,7 @@ module Aws::XRay
|
|
704
811
|
class GetGroupsResult < Struct.new(
|
705
812
|
:groups,
|
706
813
|
:next_token)
|
814
|
+
SENSITIVE = []
|
707
815
|
include Aws::Structure
|
708
816
|
end
|
709
817
|
|
@@ -722,6 +830,7 @@ module Aws::XRay
|
|
722
830
|
#
|
723
831
|
class GetSamplingRulesRequest < Struct.new(
|
724
832
|
:next_token)
|
833
|
+
SENSITIVE = []
|
725
834
|
include Aws::Structure
|
726
835
|
end
|
727
836
|
|
@@ -738,6 +847,7 @@ module Aws::XRay
|
|
738
847
|
class GetSamplingRulesResult < Struct.new(
|
739
848
|
:sampling_rule_records,
|
740
849
|
:next_token)
|
850
|
+
SENSITIVE = []
|
741
851
|
include Aws::Structure
|
742
852
|
end
|
743
853
|
|
@@ -756,6 +866,7 @@ module Aws::XRay
|
|
756
866
|
#
|
757
867
|
class GetSamplingStatisticSummariesRequest < Struct.new(
|
758
868
|
:next_token)
|
869
|
+
SENSITIVE = []
|
759
870
|
include Aws::Structure
|
760
871
|
end
|
761
872
|
|
@@ -773,6 +884,7 @@ module Aws::XRay
|
|
773
884
|
class GetSamplingStatisticSummariesResult < Struct.new(
|
774
885
|
:sampling_statistic_summaries,
|
775
886
|
:next_token)
|
887
|
+
SENSITIVE = []
|
776
888
|
include Aws::Structure
|
777
889
|
end
|
778
890
|
|
@@ -801,6 +913,7 @@ module Aws::XRay
|
|
801
913
|
#
|
802
914
|
class GetSamplingTargetsRequest < Struct.new(
|
803
915
|
:sampling_statistics_documents)
|
916
|
+
SENSITIVE = []
|
804
917
|
include Aws::Structure
|
805
918
|
end
|
806
919
|
|
@@ -826,6 +939,7 @@ module Aws::XRay
|
|
826
939
|
:sampling_target_documents,
|
827
940
|
:last_rule_modification,
|
828
941
|
:unprocessed_statistics)
|
942
|
+
SENSITIVE = []
|
829
943
|
include Aws::Structure
|
830
944
|
end
|
831
945
|
|
@@ -868,6 +982,7 @@ module Aws::XRay
|
|
868
982
|
:group_name,
|
869
983
|
:group_arn,
|
870
984
|
:next_token)
|
985
|
+
SENSITIVE = []
|
871
986
|
include Aws::Structure
|
872
987
|
end
|
873
988
|
|
@@ -902,6 +1017,7 @@ module Aws::XRay
|
|
902
1017
|
:services,
|
903
1018
|
:contains_old_group_versions,
|
904
1019
|
:next_token)
|
1020
|
+
SENSITIVE = []
|
905
1021
|
include Aws::Structure
|
906
1022
|
end
|
907
1023
|
|
@@ -959,6 +1075,7 @@ module Aws::XRay
|
|
959
1075
|
:entity_selector_expression,
|
960
1076
|
:period,
|
961
1077
|
:next_token)
|
1078
|
+
SENSITIVE = []
|
962
1079
|
include Aws::Structure
|
963
1080
|
end
|
964
1081
|
|
@@ -982,6 +1099,7 @@ module Aws::XRay
|
|
982
1099
|
:time_series_service_statistics,
|
983
1100
|
:contains_old_group_versions,
|
984
1101
|
:next_token)
|
1102
|
+
SENSITIVE = []
|
985
1103
|
include Aws::Structure
|
986
1104
|
end
|
987
1105
|
|
@@ -1006,6 +1124,7 @@ module Aws::XRay
|
|
1006
1124
|
class GetTraceGraphRequest < Struct.new(
|
1007
1125
|
:trace_ids,
|
1008
1126
|
:next_token)
|
1127
|
+
SENSITIVE = []
|
1009
1128
|
include Aws::Structure
|
1010
1129
|
end
|
1011
1130
|
|
@@ -1022,6 +1141,7 @@ module Aws::XRay
|
|
1022
1141
|
class GetTraceGraphResult < Struct.new(
|
1023
1142
|
:services,
|
1024
1143
|
:next_token)
|
1144
|
+
SENSITIVE = []
|
1025
1145
|
include Aws::Structure
|
1026
1146
|
end
|
1027
1147
|
|
@@ -1084,6 +1204,7 @@ module Aws::XRay
|
|
1084
1204
|
:sampling_strategy,
|
1085
1205
|
:filter_expression,
|
1086
1206
|
:next_token)
|
1207
|
+
SENSITIVE = []
|
1087
1208
|
include Aws::Structure
|
1088
1209
|
end
|
1089
1210
|
|
@@ -1115,6 +1236,7 @@ module Aws::XRay
|
|
1115
1236
|
:approximate_time,
|
1116
1237
|
:traces_processed_count,
|
1117
1238
|
:next_token)
|
1239
|
+
SENSITIVE = []
|
1118
1240
|
include Aws::Structure
|
1119
1241
|
end
|
1120
1242
|
|
@@ -1132,12 +1254,20 @@ module Aws::XRay
|
|
1132
1254
|
# The filter expression defining the parameters to include traces.
|
1133
1255
|
# @return [String]
|
1134
1256
|
#
|
1257
|
+
# @!attribute [rw] insights_configuration
|
1258
|
+
# The structure containing configurations related to insights. The
|
1259
|
+
# InsightsEnabled boolean can be set to true to enable insights for
|
1260
|
+
# the group or false to disable insights for the group.
|
1261
|
+
# @return [Types::InsightsConfiguration]
|
1262
|
+
#
|
1135
1263
|
# @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/Group AWS API Documentation
|
1136
1264
|
#
|
1137
1265
|
class Group < Struct.new(
|
1138
1266
|
:group_name,
|
1139
1267
|
:group_arn,
|
1140
|
-
:filter_expression
|
1268
|
+
:filter_expression,
|
1269
|
+
:insights_configuration)
|
1270
|
+
SENSITIVE = []
|
1141
1271
|
include Aws::Structure
|
1142
1272
|
end
|
1143
1273
|
|
@@ -1155,12 +1285,20 @@ module Aws::XRay
|
|
1155
1285
|
# The filter expression defining the parameters to include traces.
|
1156
1286
|
# @return [String]
|
1157
1287
|
#
|
1288
|
+
# @!attribute [rw] insights_configuration
|
1289
|
+
# The structure containing configurations related to insights. The
|
1290
|
+
# InsightsEnabled boolean can be set to true to enable insights for
|
1291
|
+
# the groups or false to disable insights for the groups.
|
1292
|
+
# @return [Types::InsightsConfiguration]
|
1293
|
+
#
|
1158
1294
|
# @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GroupSummary AWS API Documentation
|
1159
1295
|
#
|
1160
1296
|
class GroupSummary < Struct.new(
|
1161
1297
|
:group_name,
|
1162
1298
|
:group_arn,
|
1163
|
-
:filter_expression
|
1299
|
+
:filter_expression,
|
1300
|
+
:insights_configuration)
|
1301
|
+
SENSITIVE = []
|
1164
1302
|
include Aws::Structure
|
1165
1303
|
end
|
1166
1304
|
|
@@ -1181,6 +1319,7 @@ module Aws::XRay
|
|
1181
1319
|
class HistogramEntry < Struct.new(
|
1182
1320
|
:value,
|
1183
1321
|
:count)
|
1322
|
+
SENSITIVE = []
|
1184
1323
|
include Aws::Structure
|
1185
1324
|
end
|
1186
1325
|
|
@@ -1214,6 +1353,29 @@ module Aws::XRay
|
|
1214
1353
|
:http_method,
|
1215
1354
|
:user_agent,
|
1216
1355
|
:client_ip)
|
1356
|
+
SENSITIVE = []
|
1357
|
+
include Aws::Structure
|
1358
|
+
end
|
1359
|
+
|
1360
|
+
# The structure containing configurations related to insights.
|
1361
|
+
#
|
1362
|
+
# @note When making an API call, you may pass InsightsConfiguration
|
1363
|
+
# data as a hash:
|
1364
|
+
#
|
1365
|
+
# {
|
1366
|
+
# insights_enabled: false,
|
1367
|
+
# }
|
1368
|
+
#
|
1369
|
+
# @!attribute [rw] insights_enabled
|
1370
|
+
# Set the InsightsEnabled value to true to enable insights or false to
|
1371
|
+
# disable insights.
|
1372
|
+
# @return [Boolean]
|
1373
|
+
#
|
1374
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/InsightsConfiguration AWS API Documentation
|
1375
|
+
#
|
1376
|
+
class InsightsConfiguration < Struct.new(
|
1377
|
+
:insights_enabled)
|
1378
|
+
SENSITIVE = []
|
1217
1379
|
include Aws::Structure
|
1218
1380
|
end
|
1219
1381
|
|
@@ -1227,6 +1389,7 @@ module Aws::XRay
|
|
1227
1389
|
#
|
1228
1390
|
class InstanceIdDetail < Struct.new(
|
1229
1391
|
:id)
|
1392
|
+
SENSITIVE = []
|
1230
1393
|
include Aws::Structure
|
1231
1394
|
end
|
1232
1395
|
|
@@ -1239,6 +1402,54 @@ module Aws::XRay
|
|
1239
1402
|
#
|
1240
1403
|
class InvalidRequestException < Struct.new(
|
1241
1404
|
:message)
|
1405
|
+
SENSITIVE = []
|
1406
|
+
include Aws::Structure
|
1407
|
+
end
|
1408
|
+
|
1409
|
+
# @note When making an API call, you may pass ListTagsForResourceRequest
|
1410
|
+
# data as a hash:
|
1411
|
+
#
|
1412
|
+
# {
|
1413
|
+
# resource_arn: "AmazonResourceName", # required
|
1414
|
+
# next_token: "String",
|
1415
|
+
# }
|
1416
|
+
#
|
1417
|
+
# @!attribute [rw] resource_arn
|
1418
|
+
# The Amazon Resource Number (ARN) of an X-Ray group or sampling rule.
|
1419
|
+
# @return [String]
|
1420
|
+
#
|
1421
|
+
# @!attribute [rw] next_token
|
1422
|
+
# A pagination token. If multiple pages of results are returned, use
|
1423
|
+
# the `NextToken` value returned with the current page of results as
|
1424
|
+
# the value of this parameter to get the next page of results.
|
1425
|
+
# @return [String]
|
1426
|
+
#
|
1427
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/ListTagsForResourceRequest AWS API Documentation
|
1428
|
+
#
|
1429
|
+
class ListTagsForResourceRequest < Struct.new(
|
1430
|
+
:resource_arn,
|
1431
|
+
:next_token)
|
1432
|
+
SENSITIVE = []
|
1433
|
+
include Aws::Structure
|
1434
|
+
end
|
1435
|
+
|
1436
|
+
# @!attribute [rw] tags
|
1437
|
+
# A list of tags, as key and value pairs, that is associated with the
|
1438
|
+
# specified X-Ray group or sampling rule.
|
1439
|
+
# @return [Array<Types::Tag>]
|
1440
|
+
#
|
1441
|
+
# @!attribute [rw] next_token
|
1442
|
+
# A pagination token. If multiple pages of results are returned, use
|
1443
|
+
# the `NextToken` value returned with the current page of results to
|
1444
|
+
# get the next page of results.
|
1445
|
+
# @return [String]
|
1446
|
+
#
|
1447
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/ListTagsForResourceResponse AWS API Documentation
|
1448
|
+
#
|
1449
|
+
class ListTagsForResourceResponse < Struct.new(
|
1450
|
+
:tags,
|
1451
|
+
:next_token)
|
1452
|
+
SENSITIVE = []
|
1242
1453
|
include Aws::Structure
|
1243
1454
|
end
|
1244
1455
|
|
@@ -1278,6 +1489,7 @@ module Aws::XRay
|
|
1278
1489
|
class PutEncryptionConfigRequest < Struct.new(
|
1279
1490
|
:key_id,
|
1280
1491
|
:type)
|
1492
|
+
SENSITIVE = []
|
1281
1493
|
include Aws::Structure
|
1282
1494
|
end
|
1283
1495
|
|
@@ -1289,6 +1501,7 @@ module Aws::XRay
|
|
1289
1501
|
#
|
1290
1502
|
class PutEncryptionConfigResult < Struct.new(
|
1291
1503
|
:encryption_config)
|
1504
|
+
SENSITIVE = []
|
1292
1505
|
include Aws::Structure
|
1293
1506
|
end
|
1294
1507
|
|
@@ -1337,6 +1550,7 @@ module Aws::XRay
|
|
1337
1550
|
:ec2_instance_id,
|
1338
1551
|
:hostname,
|
1339
1552
|
:resource_arn)
|
1553
|
+
SENSITIVE = []
|
1340
1554
|
include Aws::Structure
|
1341
1555
|
end
|
1342
1556
|
|
@@ -1360,6 +1574,7 @@ module Aws::XRay
|
|
1360
1574
|
#
|
1361
1575
|
class PutTraceSegmentsRequest < Struct.new(
|
1362
1576
|
:trace_segment_documents)
|
1577
|
+
SENSITIVE = []
|
1363
1578
|
include Aws::Structure
|
1364
1579
|
end
|
1365
1580
|
|
@@ -1371,6 +1586,7 @@ module Aws::XRay
|
|
1371
1586
|
#
|
1372
1587
|
class PutTraceSegmentsResult < Struct.new(
|
1373
1588
|
:unprocessed_trace_segments)
|
1589
|
+
SENSITIVE = []
|
1374
1590
|
include Aws::Structure
|
1375
1591
|
end
|
1376
1592
|
|
@@ -1384,6 +1600,25 @@ module Aws::XRay
|
|
1384
1600
|
#
|
1385
1601
|
class ResourceARNDetail < Struct.new(
|
1386
1602
|
:arn)
|
1603
|
+
SENSITIVE = []
|
1604
|
+
include Aws::Structure
|
1605
|
+
end
|
1606
|
+
|
1607
|
+
# The resource was not found. Verify that the name or ARN of the
|
1608
|
+
# resource is correct.
|
1609
|
+
#
|
1610
|
+
# @!attribute [rw] message
|
1611
|
+
# @return [String]
|
1612
|
+
#
|
1613
|
+
# @!attribute [rw] resource_name
|
1614
|
+
# @return [String]
|
1615
|
+
#
|
1616
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/ResourceNotFoundException AWS API Documentation
|
1617
|
+
#
|
1618
|
+
class ResourceNotFoundException < Struct.new(
|
1619
|
+
:message,
|
1620
|
+
:resource_name)
|
1621
|
+
SENSITIVE = []
|
1387
1622
|
include Aws::Structure
|
1388
1623
|
end
|
1389
1624
|
|
@@ -1403,6 +1638,7 @@ module Aws::XRay
|
|
1403
1638
|
class ResponseTimeRootCause < Struct.new(
|
1404
1639
|
:services,
|
1405
1640
|
:client_impacting)
|
1641
|
+
SENSITIVE = []
|
1406
1642
|
include Aws::Structure
|
1407
1643
|
end
|
1408
1644
|
|
@@ -1427,6 +1663,7 @@ module Aws::XRay
|
|
1427
1663
|
:name,
|
1428
1664
|
:coverage,
|
1429
1665
|
:remote)
|
1666
|
+
SENSITIVE = []
|
1430
1667
|
include Aws::Structure
|
1431
1668
|
end
|
1432
1669
|
|
@@ -1467,6 +1704,7 @@ module Aws::XRay
|
|
1467
1704
|
:account_id,
|
1468
1705
|
:entity_path,
|
1469
1706
|
:inferred)
|
1707
|
+
SENSITIVE = []
|
1470
1708
|
include Aws::Structure
|
1471
1709
|
end
|
1472
1710
|
|
@@ -1485,6 +1723,7 @@ module Aws::XRay
|
|
1485
1723
|
class RootCauseException < Struct.new(
|
1486
1724
|
:name,
|
1487
1725
|
:message)
|
1726
|
+
SENSITIVE = []
|
1488
1727
|
include Aws::Structure
|
1489
1728
|
end
|
1490
1729
|
|
@@ -1497,6 +1736,7 @@ module Aws::XRay
|
|
1497
1736
|
#
|
1498
1737
|
class RuleLimitExceededException < Struct.new(
|
1499
1738
|
:message)
|
1739
|
+
SENSITIVE = []
|
1500
1740
|
include Aws::Structure
|
1501
1741
|
end
|
1502
1742
|
|
@@ -1601,6 +1841,7 @@ module Aws::XRay
|
|
1601
1841
|
:url_path,
|
1602
1842
|
:version,
|
1603
1843
|
:attributes)
|
1844
|
+
SENSITIVE = []
|
1604
1845
|
include Aws::Structure
|
1605
1846
|
end
|
1606
1847
|
|
@@ -1624,6 +1865,7 @@ module Aws::XRay
|
|
1624
1865
|
:sampling_rule,
|
1625
1866
|
:created_at,
|
1626
1867
|
:modified_at)
|
1868
|
+
SENSITIVE = []
|
1627
1869
|
include Aws::Structure
|
1628
1870
|
end
|
1629
1871
|
|
@@ -1719,6 +1961,7 @@ module Aws::XRay
|
|
1719
1961
|
:http_method,
|
1720
1962
|
:url_path,
|
1721
1963
|
:attributes)
|
1964
|
+
SENSITIVE = []
|
1722
1965
|
include Aws::Structure
|
1723
1966
|
end
|
1724
1967
|
|
@@ -1753,6 +1996,7 @@ module Aws::XRay
|
|
1753
1996
|
:request_count,
|
1754
1997
|
:borrow_count,
|
1755
1998
|
:sampled_count)
|
1999
|
+
SENSITIVE = []
|
1756
2000
|
include Aws::Structure
|
1757
2001
|
end
|
1758
2002
|
|
@@ -1805,6 +2049,7 @@ module Aws::XRay
|
|
1805
2049
|
:request_count,
|
1806
2050
|
:sampled_count,
|
1807
2051
|
:borrow_count)
|
2052
|
+
SENSITIVE = []
|
1808
2053
|
include Aws::Structure
|
1809
2054
|
end
|
1810
2055
|
|
@@ -1831,6 +2076,7 @@ module Aws::XRay
|
|
1831
2076
|
class SamplingStrategy < Struct.new(
|
1832
2077
|
:name,
|
1833
2078
|
:value)
|
2079
|
+
SENSITIVE = []
|
1834
2080
|
include Aws::Structure
|
1835
2081
|
end
|
1836
2082
|
|
@@ -1869,6 +2115,7 @@ module Aws::XRay
|
|
1869
2115
|
:reservoir_quota,
|
1870
2116
|
:reservoir_quota_ttl,
|
1871
2117
|
:interval)
|
2118
|
+
SENSITIVE = []
|
1872
2119
|
include Aws::Structure
|
1873
2120
|
end
|
1874
2121
|
|
@@ -1897,6 +2144,7 @@ module Aws::XRay
|
|
1897
2144
|
class Segment < Struct.new(
|
1898
2145
|
:id,
|
1899
2146
|
:document)
|
2147
|
+
SENSITIVE = []
|
1900
2148
|
include Aws::Structure
|
1901
2149
|
end
|
1902
2150
|
|
@@ -1987,6 +2235,7 @@ module Aws::XRay
|
|
1987
2235
|
:summary_statistics,
|
1988
2236
|
:duration_histogram,
|
1989
2237
|
:response_time_histogram)
|
2238
|
+
SENSITIVE = []
|
1990
2239
|
include Aws::Structure
|
1991
2240
|
end
|
1992
2241
|
|
@@ -2009,6 +2258,7 @@ module Aws::XRay
|
|
2009
2258
|
:names,
|
2010
2259
|
:account_id,
|
2011
2260
|
:type)
|
2261
|
+
SENSITIVE = []
|
2012
2262
|
include Aws::Structure
|
2013
2263
|
end
|
2014
2264
|
|
@@ -2045,9 +2295,115 @@ module Aws::XRay
|
|
2045
2295
|
:fault_statistics,
|
2046
2296
|
:total_count,
|
2047
2297
|
:total_response_time)
|
2298
|
+
SENSITIVE = []
|
2299
|
+
include Aws::Structure
|
2300
|
+
end
|
2301
|
+
|
2302
|
+
# A map that contains tag keys and tag values to attach to an AWS X-Ray
|
2303
|
+
# group or sampling rule. For more information about ways to use tags,
|
2304
|
+
# see [Tagging AWS resources][1] in the *AWS General Reference*.
|
2305
|
+
#
|
2306
|
+
# The following restrictions apply to tags:
|
2307
|
+
#
|
2308
|
+
# * Maximum number of user-applied tags per resource: 50
|
2309
|
+
#
|
2310
|
+
# * Tag keys and values are case sensitive.
|
2311
|
+
#
|
2312
|
+
# * Don't use `aws:` as a prefix for keys; it's reserved for AWS use.
|
2313
|
+
# You cannot edit or delete system tags.
|
2314
|
+
#
|
2315
|
+
#
|
2316
|
+
#
|
2317
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
|
2318
|
+
#
|
2319
|
+
# @note When making an API call, you may pass Tag
|
2320
|
+
# data as a hash:
|
2321
|
+
#
|
2322
|
+
# {
|
2323
|
+
# key: "TagKey", # required
|
2324
|
+
# value: "TagValue", # required
|
2325
|
+
# }
|
2326
|
+
#
|
2327
|
+
# @!attribute [rw] key
|
2328
|
+
# A tag key, such as `Stage` or `Name`. A tag key cannot be empty. The
|
2329
|
+
# key can be a maximum of 128 characters, and can contain only Unicode
|
2330
|
+
# letters, numbers, or separators, or the following special
|
2331
|
+
# characters: `+ - = . _ : /`
|
2332
|
+
# @return [String]
|
2333
|
+
#
|
2334
|
+
# @!attribute [rw] value
|
2335
|
+
# An optional tag value, such as `Production` or `test-only`. The
|
2336
|
+
# value can be a maximum of 255 characters, and contain only Unicode
|
2337
|
+
# letters, numbers, or separators, or the following special
|
2338
|
+
# characters: `+ - = . _ : /`
|
2339
|
+
# @return [String]
|
2340
|
+
#
|
2341
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/Tag AWS API Documentation
|
2342
|
+
#
|
2343
|
+
class Tag < Struct.new(
|
2344
|
+
:key,
|
2345
|
+
:value)
|
2346
|
+
SENSITIVE = []
|
2347
|
+
include Aws::Structure
|
2348
|
+
end
|
2349
|
+
|
2350
|
+
# @note When making an API call, you may pass TagResourceRequest
|
2351
|
+
# data as a hash:
|
2352
|
+
#
|
2353
|
+
# {
|
2354
|
+
# resource_arn: "AmazonResourceName", # required
|
2355
|
+
# tags: [ # required
|
2356
|
+
# {
|
2357
|
+
# key: "TagKey", # required
|
2358
|
+
# value: "TagValue", # required
|
2359
|
+
# },
|
2360
|
+
# ],
|
2361
|
+
# }
|
2362
|
+
#
|
2363
|
+
# @!attribute [rw] resource_arn
|
2364
|
+
# The Amazon Resource Number (ARN) of an X-Ray group or sampling rule.
|
2365
|
+
# @return [String]
|
2366
|
+
#
|
2367
|
+
# @!attribute [rw] tags
|
2368
|
+
# A map that contains one or more tag keys and tag values to attach to
|
2369
|
+
# an X-Ray group or sampling rule. For more information about ways to
|
2370
|
+
# use tags, see [Tagging AWS resources][1] in the *AWS General
|
2371
|
+
# Reference*.
|
2372
|
+
#
|
2373
|
+
# The following restrictions apply to tags:
|
2374
|
+
#
|
2375
|
+
# * Maximum number of user-applied tags per resource: 50
|
2376
|
+
#
|
2377
|
+
# * Maximum tag key length: 128 Unicode characters
|
2378
|
+
#
|
2379
|
+
# * Maximum tag value length: 256 Unicode characters
|
2380
|
+
#
|
2381
|
+
# * Valid values for key and value: a-z, A-Z, 0-9, space, and the
|
2382
|
+
# following characters: \_ . : / = + - and @
|
2383
|
+
#
|
2384
|
+
# * Tag keys and values are case sensitive.
|
2385
|
+
#
|
2386
|
+
# * Don't use `aws:` as a prefix for keys; it's reserved for AWS
|
2387
|
+
# use. You cannot edit or delete system tags.
|
2388
|
+
#
|
2389
|
+
#
|
2390
|
+
#
|
2391
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
|
2392
|
+
# @return [Array<Types::Tag>]
|
2393
|
+
#
|
2394
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/TagResourceRequest AWS API Documentation
|
2395
|
+
#
|
2396
|
+
class TagResourceRequest < Struct.new(
|
2397
|
+
:resource_arn,
|
2398
|
+
:tags)
|
2399
|
+
SENSITIVE = []
|
2048
2400
|
include Aws::Structure
|
2049
2401
|
end
|
2050
2402
|
|
2403
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/TagResourceResponse AWS API Documentation
|
2404
|
+
#
|
2405
|
+
class TagResourceResponse < Aws::EmptyStructure; end
|
2406
|
+
|
2051
2407
|
# @note When making an API call, you may pass TelemetryRecord
|
2052
2408
|
# data as a hash:
|
2053
2409
|
#
|
@@ -2094,6 +2450,7 @@ module Aws::XRay
|
|
2094
2450
|
:segments_spillover_count,
|
2095
2451
|
:segments_rejected_count,
|
2096
2452
|
:backend_connection_errors)
|
2453
|
+
SENSITIVE = []
|
2097
2454
|
include Aws::Structure
|
2098
2455
|
end
|
2099
2456
|
|
@@ -2106,6 +2463,7 @@ module Aws::XRay
|
|
2106
2463
|
#
|
2107
2464
|
class ThrottledException < Struct.new(
|
2108
2465
|
:message)
|
2466
|
+
SENSITIVE = []
|
2109
2467
|
include Aws::Structure
|
2110
2468
|
end
|
2111
2469
|
|
@@ -2134,6 +2492,25 @@ module Aws::XRay
|
|
2134
2492
|
:edge_summary_statistics,
|
2135
2493
|
:service_summary_statistics,
|
2136
2494
|
:response_time_histogram)
|
2495
|
+
SENSITIVE = []
|
2496
|
+
include Aws::Structure
|
2497
|
+
end
|
2498
|
+
|
2499
|
+
# You have exceeded the maximum number of tags you can apply to this
|
2500
|
+
# resource.
|
2501
|
+
#
|
2502
|
+
# @!attribute [rw] message
|
2503
|
+
# @return [String]
|
2504
|
+
#
|
2505
|
+
# @!attribute [rw] resource_name
|
2506
|
+
# @return [String]
|
2507
|
+
#
|
2508
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/TooManyTagsException AWS API Documentation
|
2509
|
+
#
|
2510
|
+
class TooManyTagsException < Struct.new(
|
2511
|
+
:message,
|
2512
|
+
:resource_name)
|
2513
|
+
SENSITIVE = []
|
2137
2514
|
include Aws::Structure
|
2138
2515
|
end
|
2139
2516
|
|
@@ -2160,6 +2537,7 @@ module Aws::XRay
|
|
2160
2537
|
:id,
|
2161
2538
|
:duration,
|
2162
2539
|
:segments)
|
2540
|
+
SENSITIVE = []
|
2163
2541
|
include Aws::Structure
|
2164
2542
|
end
|
2165
2543
|
|
@@ -2280,6 +2658,7 @@ module Aws::XRay
|
|
2280
2658
|
:response_time_root_causes,
|
2281
2659
|
:revision,
|
2282
2660
|
:matched_event_time)
|
2661
|
+
SENSITIVE = []
|
2283
2662
|
include Aws::Structure
|
2284
2663
|
end
|
2285
2664
|
|
@@ -2298,6 +2677,7 @@ module Aws::XRay
|
|
2298
2677
|
class TraceUser < Struct.new(
|
2299
2678
|
:user_name,
|
2300
2679
|
:service_ids)
|
2680
|
+
SENSITIVE = []
|
2301
2681
|
include Aws::Structure
|
2302
2682
|
end
|
2303
2683
|
|
@@ -2322,6 +2702,7 @@ module Aws::XRay
|
|
2322
2702
|
:rule_name,
|
2323
2703
|
:error_code,
|
2324
2704
|
:message)
|
2705
|
+
SENSITIVE = []
|
2325
2706
|
include Aws::Structure
|
2326
2707
|
end
|
2327
2708
|
|
@@ -2345,9 +2726,40 @@ module Aws::XRay
|
|
2345
2726
|
:id,
|
2346
2727
|
:error_code,
|
2347
2728
|
:message)
|
2729
|
+
SENSITIVE = []
|
2348
2730
|
include Aws::Structure
|
2349
2731
|
end
|
2350
2732
|
|
2733
|
+
# @note When making an API call, you may pass UntagResourceRequest
|
2734
|
+
# data as a hash:
|
2735
|
+
#
|
2736
|
+
# {
|
2737
|
+
# resource_arn: "AmazonResourceName", # required
|
2738
|
+
# tag_keys: ["TagKey"], # required
|
2739
|
+
# }
|
2740
|
+
#
|
2741
|
+
# @!attribute [rw] resource_arn
|
2742
|
+
# The Amazon Resource Number (ARN) of an X-Ray group or sampling rule.
|
2743
|
+
# @return [String]
|
2744
|
+
#
|
2745
|
+
# @!attribute [rw] tag_keys
|
2746
|
+
# Keys for one or more tags that you want to remove from an X-Ray
|
2747
|
+
# group or sampling rule.
|
2748
|
+
# @return [Array<String>]
|
2749
|
+
#
|
2750
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/UntagResourceRequest AWS API Documentation
|
2751
|
+
#
|
2752
|
+
class UntagResourceRequest < Struct.new(
|
2753
|
+
:resource_arn,
|
2754
|
+
:tag_keys)
|
2755
|
+
SENSITIVE = []
|
2756
|
+
include Aws::Structure
|
2757
|
+
end
|
2758
|
+
|
2759
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/UntagResourceResponse AWS API Documentation
|
2760
|
+
#
|
2761
|
+
class UntagResourceResponse < Aws::EmptyStructure; end
|
2762
|
+
|
2351
2763
|
# @note When making an API call, you may pass UpdateGroupRequest
|
2352
2764
|
# data as a hash:
|
2353
2765
|
#
|
@@ -2355,6 +2767,9 @@ module Aws::XRay
|
|
2355
2767
|
# group_name: "GroupName",
|
2356
2768
|
# group_arn: "GroupARN",
|
2357
2769
|
# filter_expression: "FilterExpression",
|
2770
|
+
# insights_configuration: {
|
2771
|
+
# insights_enabled: false,
|
2772
|
+
# },
|
2358
2773
|
# }
|
2359
2774
|
#
|
2360
2775
|
# @!attribute [rw] group_name
|
@@ -2370,25 +2785,35 @@ module Aws::XRay
|
|
2370
2785
|
# traces.
|
2371
2786
|
# @return [String]
|
2372
2787
|
#
|
2788
|
+
# @!attribute [rw] insights_configuration
|
2789
|
+
# The structure containing configurations related to insights. The
|
2790
|
+
# InsightsEnabled boolean can be set to true to enable insights for
|
2791
|
+
# the group or false to disable insights for the group.
|
2792
|
+
# @return [Types::InsightsConfiguration]
|
2793
|
+
#
|
2373
2794
|
# @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/UpdateGroupRequest AWS API Documentation
|
2374
2795
|
#
|
2375
2796
|
class UpdateGroupRequest < Struct.new(
|
2376
2797
|
:group_name,
|
2377
2798
|
:group_arn,
|
2378
|
-
:filter_expression
|
2799
|
+
:filter_expression,
|
2800
|
+
:insights_configuration)
|
2801
|
+
SENSITIVE = []
|
2379
2802
|
include Aws::Structure
|
2380
2803
|
end
|
2381
2804
|
|
2382
2805
|
# @!attribute [rw] group
|
2383
2806
|
# The group that was updated. Contains the name of the group that was
|
2384
|
-
# updated, the ARN of the group that was updated,
|
2385
|
-
#
|
2807
|
+
# updated, the ARN of the group that was updated, the updated filter
|
2808
|
+
# expression, and the updated insight configuration assigned to the
|
2809
|
+
# group.
|
2386
2810
|
# @return [Types::Group]
|
2387
2811
|
#
|
2388
2812
|
# @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/UpdateGroupResult AWS API Documentation
|
2389
2813
|
#
|
2390
2814
|
class UpdateGroupResult < Struct.new(
|
2391
2815
|
:group)
|
2816
|
+
SENSITIVE = []
|
2392
2817
|
include Aws::Structure
|
2393
2818
|
end
|
2394
2819
|
|
@@ -2422,6 +2847,7 @@ module Aws::XRay
|
|
2422
2847
|
#
|
2423
2848
|
class UpdateSamplingRuleRequest < Struct.new(
|
2424
2849
|
:sampling_rule_update)
|
2850
|
+
SENSITIVE = []
|
2425
2851
|
include Aws::Structure
|
2426
2852
|
end
|
2427
2853
|
|
@@ -2433,6 +2859,7 @@ module Aws::XRay
|
|
2433
2859
|
#
|
2434
2860
|
class UpdateSamplingRuleResult < Struct.new(
|
2435
2861
|
:sampling_rule_record)
|
2862
|
+
SENSITIVE = []
|
2436
2863
|
include Aws::Structure
|
2437
2864
|
end
|
2438
2865
|
|
@@ -2451,6 +2878,7 @@ module Aws::XRay
|
|
2451
2878
|
class ValueWithServiceIds < Struct.new(
|
2452
2879
|
:annotation_value,
|
2453
2880
|
:service_ids)
|
2881
|
+
SENSITIVE = []
|
2454
2882
|
include Aws::Structure
|
2455
2883
|
end
|
2456
2884
|
|