aws-sdk-xray 1.24.0 → 1.30.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
@@ -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:
@@ -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,12 @@ module Aws::XRay
161
169
  # {
162
170
  # group_name: "GroupName", # required
163
171
  # filter_expression: "FilterExpression",
172
+ # tags: [
173
+ # {
174
+ # key: "TagKey", # required
175
+ # value: "TagValue", # required
176
+ # },
177
+ # ],
164
178
  # }
165
179
  #
166
180
  # @!attribute [rw] group_name
@@ -172,11 +186,16 @@ module Aws::XRay
172
186
  # The filter expression defining criteria by which to group traces.
173
187
  # @return [String]
174
188
  #
189
+ # @!attribute [rw] tags
190
+ # @return [Array<Types::Tag>]
191
+ #
175
192
  # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/CreateGroupRequest AWS API Documentation
176
193
  #
177
194
  class CreateGroupRequest < Struct.new(
178
195
  :group_name,
179
- :filter_expression)
196
+ :filter_expression,
197
+ :tags)
198
+ SENSITIVE = []
180
199
  include Aws::Structure
181
200
  end
182
201
 
@@ -190,6 +209,7 @@ module Aws::XRay
190
209
  #
191
210
  class CreateGroupResult < Struct.new(
192
211
  :group)
212
+ SENSITIVE = []
193
213
  include Aws::Structure
194
214
  end
195
215
 
@@ -214,16 +234,27 @@ module Aws::XRay
214
234
  # "AttributeKey" => "AttributeValue",
215
235
  # },
216
236
  # },
237
+ # tags: [
238
+ # {
239
+ # key: "TagKey", # required
240
+ # value: "TagValue", # required
241
+ # },
242
+ # ],
217
243
  # }
218
244
  #
219
245
  # @!attribute [rw] sampling_rule
220
246
  # The rule definition.
221
247
  # @return [Types::SamplingRule]
222
248
  #
249
+ # @!attribute [rw] tags
250
+ # @return [Array<Types::Tag>]
251
+ #
223
252
  # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/CreateSamplingRuleRequest AWS API Documentation
224
253
  #
225
254
  class CreateSamplingRuleRequest < Struct.new(
226
- :sampling_rule)
255
+ :sampling_rule,
256
+ :tags)
257
+ SENSITIVE = []
227
258
  include Aws::Structure
228
259
  end
229
260
 
@@ -235,6 +266,7 @@ module Aws::XRay
235
266
  #
236
267
  class CreateSamplingRuleResult < Struct.new(
237
268
  :sampling_rule_record)
269
+ SENSITIVE = []
238
270
  include Aws::Structure
239
271
  end
240
272
 
@@ -259,6 +291,7 @@ module Aws::XRay
259
291
  class DeleteGroupRequest < Struct.new(
260
292
  :group_name,
261
293
  :group_arn)
294
+ SENSITIVE = []
262
295
  include Aws::Structure
263
296
  end
264
297
 
@@ -289,6 +322,7 @@ module Aws::XRay
289
322
  class DeleteSamplingRuleRequest < Struct.new(
290
323
  :rule_name,
291
324
  :rule_arn)
325
+ SENSITIVE = []
292
326
  include Aws::Structure
293
327
  end
294
328
 
@@ -300,6 +334,7 @@ module Aws::XRay
300
334
  #
301
335
  class DeleteSamplingRuleResult < Struct.new(
302
336
  :sampling_rule_record)
337
+ SENSITIVE = []
303
338
  include Aws::Structure
304
339
  end
305
340
 
@@ -339,6 +374,7 @@ module Aws::XRay
339
374
  :summary_statistics,
340
375
  :response_time_histogram,
341
376
  :aliases)
377
+ SENSITIVE = []
342
378
  include Aws::Structure
343
379
  end
344
380
 
@@ -375,6 +411,7 @@ module Aws::XRay
375
411
  :fault_statistics,
376
412
  :total_count,
377
413
  :total_response_time)
414
+ SENSITIVE = []
378
415
  include Aws::Structure
379
416
  end
380
417
 
@@ -402,6 +439,7 @@ module Aws::XRay
402
439
  :key_id,
403
440
  :status,
404
441
  :type)
442
+ SENSITIVE = []
405
443
  include Aws::Structure
406
444
  end
407
445
 
@@ -421,6 +459,7 @@ module Aws::XRay
421
459
  class ErrorRootCause < Struct.new(
422
460
  :services,
423
461
  :client_impacting)
462
+ SENSITIVE = []
424
463
  include Aws::Structure
425
464
  end
426
465
 
@@ -445,6 +484,7 @@ module Aws::XRay
445
484
  :name,
446
485
  :exceptions,
447
486
  :remote)
487
+ SENSITIVE = []
448
488
  include Aws::Structure
449
489
  end
450
490
 
@@ -485,6 +525,7 @@ module Aws::XRay
485
525
  :account_id,
486
526
  :entity_path,
487
527
  :inferred)
528
+ SENSITIVE = []
488
529
  include Aws::Structure
489
530
  end
490
531
 
@@ -512,6 +553,7 @@ module Aws::XRay
512
553
  :throttle_count,
513
554
  :other_count,
514
555
  :total_count)
556
+ SENSITIVE = []
515
557
  include Aws::Structure
516
558
  end
517
559
 
@@ -531,6 +573,7 @@ module Aws::XRay
531
573
  class FaultRootCause < Struct.new(
532
574
  :services,
533
575
  :client_impacting)
576
+ SENSITIVE = []
534
577
  include Aws::Structure
535
578
  end
536
579
 
@@ -555,6 +598,7 @@ module Aws::XRay
555
598
  :name,
556
599
  :exceptions,
557
600
  :remote)
601
+ SENSITIVE = []
558
602
  include Aws::Structure
559
603
  end
560
604
 
@@ -595,6 +639,7 @@ module Aws::XRay
595
639
  :account_id,
596
640
  :entity_path,
597
641
  :inferred)
642
+ SENSITIVE = []
598
643
  include Aws::Structure
599
644
  end
600
645
 
@@ -616,6 +661,7 @@ module Aws::XRay
616
661
  class FaultStatistics < Struct.new(
617
662
  :other_count,
618
663
  :total_count)
664
+ SENSITIVE = []
619
665
  include Aws::Structure
620
666
  end
621
667
 
@@ -633,6 +679,7 @@ module Aws::XRay
633
679
  #
634
680
  class GetEncryptionConfigResult < Struct.new(
635
681
  :encryption_config)
682
+ SENSITIVE = []
636
683
  include Aws::Structure
637
684
  end
638
685
 
@@ -657,6 +704,7 @@ module Aws::XRay
657
704
  class GetGroupRequest < Struct.new(
658
705
  :group_name,
659
706
  :group_arn)
707
+ SENSITIVE = []
660
708
  include Aws::Structure
661
709
  end
662
710
 
@@ -670,6 +718,7 @@ module Aws::XRay
670
718
  #
671
719
  class GetGroupResult < Struct.new(
672
720
  :group)
721
+ SENSITIVE = []
673
722
  include Aws::Structure
674
723
  end
675
724
 
@@ -688,6 +737,7 @@ module Aws::XRay
688
737
  #
689
738
  class GetGroupsRequest < Struct.new(
690
739
  :next_token)
740
+ SENSITIVE = []
691
741
  include Aws::Structure
692
742
  end
693
743
 
@@ -704,6 +754,7 @@ module Aws::XRay
704
754
  class GetGroupsResult < Struct.new(
705
755
  :groups,
706
756
  :next_token)
757
+ SENSITIVE = []
707
758
  include Aws::Structure
708
759
  end
709
760
 
@@ -722,6 +773,7 @@ module Aws::XRay
722
773
  #
723
774
  class GetSamplingRulesRequest < Struct.new(
724
775
  :next_token)
776
+ SENSITIVE = []
725
777
  include Aws::Structure
726
778
  end
727
779
 
@@ -738,6 +790,7 @@ module Aws::XRay
738
790
  class GetSamplingRulesResult < Struct.new(
739
791
  :sampling_rule_records,
740
792
  :next_token)
793
+ SENSITIVE = []
741
794
  include Aws::Structure
742
795
  end
743
796
 
@@ -756,6 +809,7 @@ module Aws::XRay
756
809
  #
757
810
  class GetSamplingStatisticSummariesRequest < Struct.new(
758
811
  :next_token)
812
+ SENSITIVE = []
759
813
  include Aws::Structure
760
814
  end
761
815
 
@@ -773,6 +827,7 @@ module Aws::XRay
773
827
  class GetSamplingStatisticSummariesResult < Struct.new(
774
828
  :sampling_statistic_summaries,
775
829
  :next_token)
830
+ SENSITIVE = []
776
831
  include Aws::Structure
777
832
  end
778
833
 
@@ -801,6 +856,7 @@ module Aws::XRay
801
856
  #
802
857
  class GetSamplingTargetsRequest < Struct.new(
803
858
  :sampling_statistics_documents)
859
+ SENSITIVE = []
804
860
  include Aws::Structure
805
861
  end
806
862
 
@@ -826,6 +882,7 @@ module Aws::XRay
826
882
  :sampling_target_documents,
827
883
  :last_rule_modification,
828
884
  :unprocessed_statistics)
885
+ SENSITIVE = []
829
886
  include Aws::Structure
830
887
  end
831
888
 
@@ -868,6 +925,7 @@ module Aws::XRay
868
925
  :group_name,
869
926
  :group_arn,
870
927
  :next_token)
928
+ SENSITIVE = []
871
929
  include Aws::Structure
872
930
  end
873
931
 
@@ -902,6 +960,7 @@ module Aws::XRay
902
960
  :services,
903
961
  :contains_old_group_versions,
904
962
  :next_token)
963
+ SENSITIVE = []
905
964
  include Aws::Structure
906
965
  end
907
966
 
@@ -959,6 +1018,7 @@ module Aws::XRay
959
1018
  :entity_selector_expression,
960
1019
  :period,
961
1020
  :next_token)
1021
+ SENSITIVE = []
962
1022
  include Aws::Structure
963
1023
  end
964
1024
 
@@ -982,6 +1042,7 @@ module Aws::XRay
982
1042
  :time_series_service_statistics,
983
1043
  :contains_old_group_versions,
984
1044
  :next_token)
1045
+ SENSITIVE = []
985
1046
  include Aws::Structure
986
1047
  end
987
1048
 
@@ -1006,6 +1067,7 @@ module Aws::XRay
1006
1067
  class GetTraceGraphRequest < Struct.new(
1007
1068
  :trace_ids,
1008
1069
  :next_token)
1070
+ SENSITIVE = []
1009
1071
  include Aws::Structure
1010
1072
  end
1011
1073
 
@@ -1022,6 +1084,7 @@ module Aws::XRay
1022
1084
  class GetTraceGraphResult < Struct.new(
1023
1085
  :services,
1024
1086
  :next_token)
1087
+ SENSITIVE = []
1025
1088
  include Aws::Structure
1026
1089
  end
1027
1090
 
@@ -1084,6 +1147,7 @@ module Aws::XRay
1084
1147
  :sampling_strategy,
1085
1148
  :filter_expression,
1086
1149
  :next_token)
1150
+ SENSITIVE = []
1087
1151
  include Aws::Structure
1088
1152
  end
1089
1153
 
@@ -1115,6 +1179,7 @@ module Aws::XRay
1115
1179
  :approximate_time,
1116
1180
  :traces_processed_count,
1117
1181
  :next_token)
1182
+ SENSITIVE = []
1118
1183
  include Aws::Structure
1119
1184
  end
1120
1185
 
@@ -1138,6 +1203,7 @@ module Aws::XRay
1138
1203
  :group_name,
1139
1204
  :group_arn,
1140
1205
  :filter_expression)
1206
+ SENSITIVE = []
1141
1207
  include Aws::Structure
1142
1208
  end
1143
1209
 
@@ -1161,6 +1227,7 @@ module Aws::XRay
1161
1227
  :group_name,
1162
1228
  :group_arn,
1163
1229
  :filter_expression)
1230
+ SENSITIVE = []
1164
1231
  include Aws::Structure
1165
1232
  end
1166
1233
 
@@ -1181,6 +1248,7 @@ module Aws::XRay
1181
1248
  class HistogramEntry < Struct.new(
1182
1249
  :value,
1183
1250
  :count)
1251
+ SENSITIVE = []
1184
1252
  include Aws::Structure
1185
1253
  end
1186
1254
 
@@ -1214,6 +1282,7 @@ module Aws::XRay
1214
1282
  :http_method,
1215
1283
  :user_agent,
1216
1284
  :client_ip)
1285
+ SENSITIVE = []
1217
1286
  include Aws::Structure
1218
1287
  end
1219
1288
 
@@ -1227,6 +1296,7 @@ module Aws::XRay
1227
1296
  #
1228
1297
  class InstanceIdDetail < Struct.new(
1229
1298
  :id)
1299
+ SENSITIVE = []
1230
1300
  include Aws::Structure
1231
1301
  end
1232
1302
 
@@ -1239,6 +1309,45 @@ module Aws::XRay
1239
1309
  #
1240
1310
  class InvalidRequestException < Struct.new(
1241
1311
  :message)
1312
+ SENSITIVE = []
1313
+ include Aws::Structure
1314
+ end
1315
+
1316
+ # @note When making an API call, you may pass ListTagsForResourceRequest
1317
+ # data as a hash:
1318
+ #
1319
+ # {
1320
+ # resource_arn: "AmazonResourceName", # required
1321
+ # next_token: "String",
1322
+ # }
1323
+ #
1324
+ # @!attribute [rw] resource_arn
1325
+ # @return [String]
1326
+ #
1327
+ # @!attribute [rw] next_token
1328
+ # @return [String]
1329
+ #
1330
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/ListTagsForResourceRequest AWS API Documentation
1331
+ #
1332
+ class ListTagsForResourceRequest < Struct.new(
1333
+ :resource_arn,
1334
+ :next_token)
1335
+ SENSITIVE = []
1336
+ include Aws::Structure
1337
+ end
1338
+
1339
+ # @!attribute [rw] tags
1340
+ # @return [Array<Types::Tag>]
1341
+ #
1342
+ # @!attribute [rw] next_token
1343
+ # @return [String]
1344
+ #
1345
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/ListTagsForResourceResponse AWS API Documentation
1346
+ #
1347
+ class ListTagsForResourceResponse < Struct.new(
1348
+ :tags,
1349
+ :next_token)
1350
+ SENSITIVE = []
1242
1351
  include Aws::Structure
1243
1352
  end
1244
1353
 
@@ -1278,6 +1387,7 @@ module Aws::XRay
1278
1387
  class PutEncryptionConfigRequest < Struct.new(
1279
1388
  :key_id,
1280
1389
  :type)
1390
+ SENSITIVE = []
1281
1391
  include Aws::Structure
1282
1392
  end
1283
1393
 
@@ -1289,6 +1399,7 @@ module Aws::XRay
1289
1399
  #
1290
1400
  class PutEncryptionConfigResult < Struct.new(
1291
1401
  :encryption_config)
1402
+ SENSITIVE = []
1292
1403
  include Aws::Structure
1293
1404
  end
1294
1405
 
@@ -1337,6 +1448,7 @@ module Aws::XRay
1337
1448
  :ec2_instance_id,
1338
1449
  :hostname,
1339
1450
  :resource_arn)
1451
+ SENSITIVE = []
1340
1452
  include Aws::Structure
1341
1453
  end
1342
1454
 
@@ -1360,6 +1472,7 @@ module Aws::XRay
1360
1472
  #
1361
1473
  class PutTraceSegmentsRequest < Struct.new(
1362
1474
  :trace_segment_documents)
1475
+ SENSITIVE = []
1363
1476
  include Aws::Structure
1364
1477
  end
1365
1478
 
@@ -1371,6 +1484,7 @@ module Aws::XRay
1371
1484
  #
1372
1485
  class PutTraceSegmentsResult < Struct.new(
1373
1486
  :unprocessed_trace_segments)
1487
+ SENSITIVE = []
1374
1488
  include Aws::Structure
1375
1489
  end
1376
1490
 
@@ -1384,6 +1498,22 @@ module Aws::XRay
1384
1498
  #
1385
1499
  class ResourceARNDetail < Struct.new(
1386
1500
  :arn)
1501
+ SENSITIVE = []
1502
+ include Aws::Structure
1503
+ end
1504
+
1505
+ # @!attribute [rw] message
1506
+ # @return [String]
1507
+ #
1508
+ # @!attribute [rw] resource_name
1509
+ # @return [String]
1510
+ #
1511
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/ResourceNotFoundException AWS API Documentation
1512
+ #
1513
+ class ResourceNotFoundException < Struct.new(
1514
+ :message,
1515
+ :resource_name)
1516
+ SENSITIVE = []
1387
1517
  include Aws::Structure
1388
1518
  end
1389
1519
 
@@ -1403,6 +1533,7 @@ module Aws::XRay
1403
1533
  class ResponseTimeRootCause < Struct.new(
1404
1534
  :services,
1405
1535
  :client_impacting)
1536
+ SENSITIVE = []
1406
1537
  include Aws::Structure
1407
1538
  end
1408
1539
 
@@ -1427,6 +1558,7 @@ module Aws::XRay
1427
1558
  :name,
1428
1559
  :coverage,
1429
1560
  :remote)
1561
+ SENSITIVE = []
1430
1562
  include Aws::Structure
1431
1563
  end
1432
1564
 
@@ -1467,6 +1599,7 @@ module Aws::XRay
1467
1599
  :account_id,
1468
1600
  :entity_path,
1469
1601
  :inferred)
1602
+ SENSITIVE = []
1470
1603
  include Aws::Structure
1471
1604
  end
1472
1605
 
@@ -1485,6 +1618,7 @@ module Aws::XRay
1485
1618
  class RootCauseException < Struct.new(
1486
1619
  :name,
1487
1620
  :message)
1621
+ SENSITIVE = []
1488
1622
  include Aws::Structure
1489
1623
  end
1490
1624
 
@@ -1497,6 +1631,7 @@ module Aws::XRay
1497
1631
  #
1498
1632
  class RuleLimitExceededException < Struct.new(
1499
1633
  :message)
1634
+ SENSITIVE = []
1500
1635
  include Aws::Structure
1501
1636
  end
1502
1637
 
@@ -1601,6 +1736,7 @@ module Aws::XRay
1601
1736
  :url_path,
1602
1737
  :version,
1603
1738
  :attributes)
1739
+ SENSITIVE = []
1604
1740
  include Aws::Structure
1605
1741
  end
1606
1742
 
@@ -1624,6 +1760,7 @@ module Aws::XRay
1624
1760
  :sampling_rule,
1625
1761
  :created_at,
1626
1762
  :modified_at)
1763
+ SENSITIVE = []
1627
1764
  include Aws::Structure
1628
1765
  end
1629
1766
 
@@ -1719,6 +1856,7 @@ module Aws::XRay
1719
1856
  :http_method,
1720
1857
  :url_path,
1721
1858
  :attributes)
1859
+ SENSITIVE = []
1722
1860
  include Aws::Structure
1723
1861
  end
1724
1862
 
@@ -1753,6 +1891,7 @@ module Aws::XRay
1753
1891
  :request_count,
1754
1892
  :borrow_count,
1755
1893
  :sampled_count)
1894
+ SENSITIVE = []
1756
1895
  include Aws::Structure
1757
1896
  end
1758
1897
 
@@ -1805,6 +1944,7 @@ module Aws::XRay
1805
1944
  :request_count,
1806
1945
  :sampled_count,
1807
1946
  :borrow_count)
1947
+ SENSITIVE = []
1808
1948
  include Aws::Structure
1809
1949
  end
1810
1950
 
@@ -1831,6 +1971,7 @@ module Aws::XRay
1831
1971
  class SamplingStrategy < Struct.new(
1832
1972
  :name,
1833
1973
  :value)
1974
+ SENSITIVE = []
1834
1975
  include Aws::Structure
1835
1976
  end
1836
1977
 
@@ -1869,6 +2010,7 @@ module Aws::XRay
1869
2010
  :reservoir_quota,
1870
2011
  :reservoir_quota_ttl,
1871
2012
  :interval)
2013
+ SENSITIVE = []
1872
2014
  include Aws::Structure
1873
2015
  end
1874
2016
 
@@ -1897,6 +2039,7 @@ module Aws::XRay
1897
2039
  class Segment < Struct.new(
1898
2040
  :id,
1899
2041
  :document)
2042
+ SENSITIVE = []
1900
2043
  include Aws::Structure
1901
2044
  end
1902
2045
 
@@ -1987,6 +2130,7 @@ module Aws::XRay
1987
2130
  :summary_statistics,
1988
2131
  :duration_histogram,
1989
2132
  :response_time_histogram)
2133
+ SENSITIVE = []
1990
2134
  include Aws::Structure
1991
2135
  end
1992
2136
 
@@ -2009,6 +2153,7 @@ module Aws::XRay
2009
2153
  :names,
2010
2154
  :account_id,
2011
2155
  :type)
2156
+ SENSITIVE = []
2012
2157
  include Aws::Structure
2013
2158
  end
2014
2159
 
@@ -2045,9 +2190,65 @@ module Aws::XRay
2045
2190
  :fault_statistics,
2046
2191
  :total_count,
2047
2192
  :total_response_time)
2193
+ SENSITIVE = []
2194
+ include Aws::Structure
2195
+ end
2196
+
2197
+ # @note When making an API call, you may pass Tag
2198
+ # data as a hash:
2199
+ #
2200
+ # {
2201
+ # key: "TagKey", # required
2202
+ # value: "TagValue", # required
2203
+ # }
2204
+ #
2205
+ # @!attribute [rw] key
2206
+ # @return [String]
2207
+ #
2208
+ # @!attribute [rw] value
2209
+ # @return [String]
2210
+ #
2211
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/Tag AWS API Documentation
2212
+ #
2213
+ class Tag < Struct.new(
2214
+ :key,
2215
+ :value)
2216
+ SENSITIVE = []
2048
2217
  include Aws::Structure
2049
2218
  end
2050
2219
 
2220
+ # @note When making an API call, you may pass TagResourceRequest
2221
+ # data as a hash:
2222
+ #
2223
+ # {
2224
+ # resource_arn: "AmazonResourceName", # required
2225
+ # tags: [ # required
2226
+ # {
2227
+ # key: "TagKey", # required
2228
+ # value: "TagValue", # required
2229
+ # },
2230
+ # ],
2231
+ # }
2232
+ #
2233
+ # @!attribute [rw] resource_arn
2234
+ # @return [String]
2235
+ #
2236
+ # @!attribute [rw] tags
2237
+ # @return [Array<Types::Tag>]
2238
+ #
2239
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/TagResourceRequest AWS API Documentation
2240
+ #
2241
+ class TagResourceRequest < Struct.new(
2242
+ :resource_arn,
2243
+ :tags)
2244
+ SENSITIVE = []
2245
+ include Aws::Structure
2246
+ end
2247
+
2248
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/TagResourceResponse AWS API Documentation
2249
+ #
2250
+ class TagResourceResponse < Aws::EmptyStructure; end
2251
+
2051
2252
  # @note When making an API call, you may pass TelemetryRecord
2052
2253
  # data as a hash:
2053
2254
  #
@@ -2094,6 +2295,7 @@ module Aws::XRay
2094
2295
  :segments_spillover_count,
2095
2296
  :segments_rejected_count,
2096
2297
  :backend_connection_errors)
2298
+ SENSITIVE = []
2097
2299
  include Aws::Structure
2098
2300
  end
2099
2301
 
@@ -2106,6 +2308,7 @@ module Aws::XRay
2106
2308
  #
2107
2309
  class ThrottledException < Struct.new(
2108
2310
  :message)
2311
+ SENSITIVE = []
2109
2312
  include Aws::Structure
2110
2313
  end
2111
2314
 
@@ -2134,6 +2337,22 @@ module Aws::XRay
2134
2337
  :edge_summary_statistics,
2135
2338
  :service_summary_statistics,
2136
2339
  :response_time_histogram)
2340
+ SENSITIVE = []
2341
+ include Aws::Structure
2342
+ end
2343
+
2344
+ # @!attribute [rw] message
2345
+ # @return [String]
2346
+ #
2347
+ # @!attribute [rw] resource_name
2348
+ # @return [String]
2349
+ #
2350
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/TooManyTagsException AWS API Documentation
2351
+ #
2352
+ class TooManyTagsException < Struct.new(
2353
+ :message,
2354
+ :resource_name)
2355
+ SENSITIVE = []
2137
2356
  include Aws::Structure
2138
2357
  end
2139
2358
 
@@ -2160,6 +2379,7 @@ module Aws::XRay
2160
2379
  :id,
2161
2380
  :duration,
2162
2381
  :segments)
2382
+ SENSITIVE = []
2163
2383
  include Aws::Structure
2164
2384
  end
2165
2385
 
@@ -2280,6 +2500,7 @@ module Aws::XRay
2280
2500
  :response_time_root_causes,
2281
2501
  :revision,
2282
2502
  :matched_event_time)
2503
+ SENSITIVE = []
2283
2504
  include Aws::Structure
2284
2505
  end
2285
2506
 
@@ -2298,6 +2519,7 @@ module Aws::XRay
2298
2519
  class TraceUser < Struct.new(
2299
2520
  :user_name,
2300
2521
  :service_ids)
2522
+ SENSITIVE = []
2301
2523
  include Aws::Structure
2302
2524
  end
2303
2525
 
@@ -2322,6 +2544,7 @@ module Aws::XRay
2322
2544
  :rule_name,
2323
2545
  :error_code,
2324
2546
  :message)
2547
+ SENSITIVE = []
2325
2548
  include Aws::Structure
2326
2549
  end
2327
2550
 
@@ -2345,9 +2568,37 @@ module Aws::XRay
2345
2568
  :id,
2346
2569
  :error_code,
2347
2570
  :message)
2571
+ SENSITIVE = []
2348
2572
  include Aws::Structure
2349
2573
  end
2350
2574
 
2575
+ # @note When making an API call, you may pass UntagResourceRequest
2576
+ # data as a hash:
2577
+ #
2578
+ # {
2579
+ # resource_arn: "AmazonResourceName", # required
2580
+ # tag_keys: ["TagKey"], # required
2581
+ # }
2582
+ #
2583
+ # @!attribute [rw] resource_arn
2584
+ # @return [String]
2585
+ #
2586
+ # @!attribute [rw] tag_keys
2587
+ # @return [Array<String>]
2588
+ #
2589
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/UntagResourceRequest AWS API Documentation
2590
+ #
2591
+ class UntagResourceRequest < Struct.new(
2592
+ :resource_arn,
2593
+ :tag_keys)
2594
+ SENSITIVE = []
2595
+ include Aws::Structure
2596
+ end
2597
+
2598
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/UntagResourceResponse AWS API Documentation
2599
+ #
2600
+ class UntagResourceResponse < Aws::EmptyStructure; end
2601
+
2351
2602
  # @note When making an API call, you may pass UpdateGroupRequest
2352
2603
  # data as a hash:
2353
2604
  #
@@ -2376,6 +2627,7 @@ module Aws::XRay
2376
2627
  :group_name,
2377
2628
  :group_arn,
2378
2629
  :filter_expression)
2630
+ SENSITIVE = []
2379
2631
  include Aws::Structure
2380
2632
  end
2381
2633
 
@@ -2389,6 +2641,7 @@ module Aws::XRay
2389
2641
  #
2390
2642
  class UpdateGroupResult < Struct.new(
2391
2643
  :group)
2644
+ SENSITIVE = []
2392
2645
  include Aws::Structure
2393
2646
  end
2394
2647
 
@@ -2422,6 +2675,7 @@ module Aws::XRay
2422
2675
  #
2423
2676
  class UpdateSamplingRuleRequest < Struct.new(
2424
2677
  :sampling_rule_update)
2678
+ SENSITIVE = []
2425
2679
  include Aws::Structure
2426
2680
  end
2427
2681
 
@@ -2433,6 +2687,7 @@ module Aws::XRay
2433
2687
  #
2434
2688
  class UpdateSamplingRuleResult < Struct.new(
2435
2689
  :sampling_rule_record)
2690
+ SENSITIVE = []
2436
2691
  include Aws::Structure
2437
2692
  end
2438
2693
 
@@ -2451,6 +2706,7 @@ module Aws::XRay
2451
2706
  class ValueWithServiceIds < Struct.new(
2452
2707
  :annotation_value,
2453
2708
  :service_ids)
2709
+ SENSITIVE = []
2454
2710
  include Aws::Structure
2455
2711
  end
2456
2712