aws-sdk-xray 1.50.0 → 1.51.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
  SHA256:
3
- metadata.gz: f614c8fff6ba223e72272efa8bb0819ffe99cf4a6c1a94d83590ac2339a51a94
4
- data.tar.gz: 8a1e4080ab68b6817c1ff43352551686b37881993139c3d7e33aa2d563bb2cd6
3
+ metadata.gz: d93d719dd0f8ed3cf09a20092fef680ab19d3c1a7098dbd2632f198a778d111e
4
+ data.tar.gz: 8ea6ce4b0393eff79a29358faa137cfc1577f613c1a1318bd09ccc9b4a9ca7b9
5
5
  SHA512:
6
- metadata.gz: debb6bc27d1a39829fd77f7de2cf13a1d4d5ef2c7ad893ce4e1df79bb55250e8e50eb92494adc88ef93b14bad066a59b600ac869771da433e275bf2ed2383d5d
7
- data.tar.gz: e4ae1a41b33b3797546a38a5dcf9aaffb2b07359e191c55ad498998c279c72e89dbf3e2823c8c3e0eaf25389e06751fc69872d6a60e250f39cee941876727a25
6
+ metadata.gz: 98983788cbc981d794d419fa4826b7ccc1430b1d4cfda7f97cd992fa0cb11f1d4844833df92692fa75c788ffc2306e56ced5dfc9d7681c2832a5a18cd9149018
7
+ data.tar.gz: 719c63308643202299675ca6b0e59d38cb8452ab2b830c05df47ac682f7a4811efbabef6987c89be6c7371016030dc2f2ff9bedbd32ed20b0782f8d6675dee0c
data/CHANGELOG.md CHANGED
@@ -1,6 +1,13 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.51.0 (2023-01-18)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ * Issue - Replace runtime endpoint resolution approach with generated ruby code.
10
+
4
11
  1.50.0 (2022-11-16)
5
12
  ------------------
6
13
 
@@ -315,4 +322,4 @@ Unreleased Changes
315
322
  1.0.0.rc2 (2016-12-09)
316
323
  ------------------
317
324
 
318
- * Feature - Initial release of `aws-sdk-xray`.
325
+ * Feature - Initial release of `aws-sdk-xray`.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.50.0
1
+ 1.51.0
@@ -2207,7 +2207,7 @@ module Aws::XRay
2207
2207
  params: params,
2208
2208
  config: config)
2209
2209
  context[:gem_name] = 'aws-sdk-xray'
2210
- context[:gem_version] = '1.50.0'
2210
+ context[:gem_version] = '1.51.0'
2211
2211
  Seahorse::Client::Request.new(handlers, context)
2212
2212
  end
2213
2213
 
@@ -9,103 +9,43 @@
9
9
 
10
10
  module Aws::XRay
11
11
  class EndpointProvider
12
- def initialize(rule_set = nil)
13
- @@rule_set ||= begin
14
- endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
15
- Aws::Endpoints::RuleSet.new(
16
- version: endpoint_rules['version'],
17
- service_id: endpoint_rules['serviceId'],
18
- parameters: endpoint_rules['parameters'],
19
- rules: endpoint_rules['rules']
20
- )
12
+ def resolve_endpoint(parameters)
13
+ region = parameters.region
14
+ use_dual_stack = parameters.use_dual_stack
15
+ use_fips = parameters.use_fips
16
+ endpoint = parameters.endpoint
17
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
+ if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
19
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
+ end
22
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
+ end
25
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
26
+ end
27
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
29
+ return Aws::Endpoints::Endpoint.new(url: "https://xray-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
+ end
31
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
32
+ end
33
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ return Aws::Endpoints::Endpoint.new(url: "https://xray-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
+ end
37
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
38
+ end
39
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
40
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
41
+ return Aws::Endpoints::Endpoint.new(url: "https://xray.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
42
+ end
43
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
44
+ end
45
+ return Aws::Endpoints::Endpoint.new(url: "https://xray.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
21
46
  end
22
- @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
- end
47
+ raise ArgumentError, 'No endpoint could be resolved'
24
48
 
25
- def resolve_endpoint(parameters)
26
- @provider.resolve_endpoint(parameters)
27
49
  end
28
-
29
- # @api private
30
- RULES = <<-JSON
31
- eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
- bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
33
- dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
34
- cmVxdWVzdC4iLCJ0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Byb3Bl
101
- cnRpZXMiOnt9LCJoZWFkZXJzIjp7fX0sInR5cGUiOiJlbmRwb2ludCJ9XX0s
102
- eyJjb25kaXRpb25zIjpbXSwiZXJyb3IiOiJEdWFsU3RhY2sgaXMgZW5hYmxl
103
- ZCBidXQgdGhpcyBwYXJ0aXRpb24gZG9lcyBub3Qgc3VwcG9ydCBEdWFsU3Rh
104
- Y2siLCJ0eXBlIjoiZXJyb3IifV19LHsiY29uZGl0aW9ucyI6W10sImVuZHBv
105
- aW50Ijp7InVybCI6Imh0dHBzOi8veHJheS57UmVnaW9ufS57UGFydGl0aW9u
106
- UmVzdWx0I2Ruc1N1ZmZpeH0iLCJwcm9wZXJ0aWVzIjp7fSwiaGVhZGVycyI6
107
- e319LCJ0eXBlIjoiZW5kcG9pbnQifV19XX0=
108
-
109
- JSON
110
50
  end
111
51
  end
@@ -87,18 +87,6 @@ module Aws::XRay
87
87
  include Aws::Structure
88
88
  end
89
89
 
90
- # @note When making an API call, you may pass BackendConnectionErrors
91
- # data as a hash:
92
- #
93
- # {
94
- # timeout_count: 1,
95
- # connection_refused_count: 1,
96
- # http_code_4_xx_count: 1,
97
- # http_code_5_xx_count: 1,
98
- # unknown_host_count: 1,
99
- # other_count: 1,
100
- # }
101
- #
102
90
  # @!attribute [rw] timeout_count
103
91
  # @return [Integer]
104
92
  #
@@ -130,14 +118,6 @@ module Aws::XRay
130
118
  include Aws::Structure
131
119
  end
132
120
 
133
- # @note When making an API call, you may pass BatchGetTracesRequest
134
- # data as a hash:
135
- #
136
- # {
137
- # trace_ids: ["TraceId"], # required
138
- # next_token: "String",
139
- # }
140
- #
141
121
  # @!attribute [rw] trace_ids
142
122
  # Specify the trace IDs of requests for which to retrieve segments.
143
123
  # @return [Array<String>]
@@ -177,24 +157,6 @@ module Aws::XRay
177
157
  include Aws::Structure
178
158
  end
179
159
 
180
- # @note When making an API call, you may pass CreateGroupRequest
181
- # data as a hash:
182
- #
183
- # {
184
- # group_name: "GroupName", # required
185
- # filter_expression: "FilterExpression",
186
- # insights_configuration: {
187
- # insights_enabled: false,
188
- # notifications_enabled: false,
189
- # },
190
- # tags: [
191
- # {
192
- # key: "TagKey", # required
193
- # value: "TagValue", # required
194
- # },
195
- # ],
196
- # }
197
- #
198
160
  # @!attribute [rw] group_name
199
161
  # The case-sensitive name of the new group. Default is a reserved name
200
162
  # and names must be unique.
@@ -268,35 +230,6 @@ module Aws::XRay
268
230
  include Aws::Structure
269
231
  end
270
232
 
271
- # @note When making an API call, you may pass CreateSamplingRuleRequest
272
- # data as a hash:
273
- #
274
- # {
275
- # sampling_rule: { # required
276
- # rule_name: "RuleName",
277
- # rule_arn: "String",
278
- # resource_arn: "ResourceARN", # required
279
- # priority: 1, # required
280
- # fixed_rate: 1.0, # required
281
- # reservoir_size: 1, # required
282
- # service_name: "ServiceName", # required
283
- # service_type: "ServiceType", # required
284
- # host: "Host", # required
285
- # http_method: "HTTPMethod", # required
286
- # url_path: "URLPath", # required
287
- # version: 1, # required
288
- # attributes: {
289
- # "AttributeKey" => "AttributeValue",
290
- # },
291
- # },
292
- # tags: [
293
- # {
294
- # key: "TagKey", # required
295
- # value: "TagValue", # required
296
- # },
297
- # ],
298
- # }
299
- #
300
233
  # @!attribute [rw] sampling_rule
301
234
  # The rule definition.
302
235
  # @return [Types::SamplingRule]
@@ -349,14 +282,6 @@ module Aws::XRay
349
282
  include Aws::Structure
350
283
  end
351
284
 
352
- # @note When making an API call, you may pass DeleteGroupRequest
353
- # data as a hash:
354
- #
355
- # {
356
- # group_name: "GroupName",
357
- # group_arn: "GroupARN",
358
- # }
359
- #
360
285
  # @!attribute [rw] group_name
361
286
  # The case-sensitive name of the group.
362
287
  # @return [String]
@@ -378,14 +303,6 @@ module Aws::XRay
378
303
  #
379
304
  class DeleteGroupResult < Aws::EmptyStructure; end
380
305
 
381
- # @note When making an API call, you may pass DeleteResourcePolicyRequest
382
- # data as a hash:
383
- #
384
- # {
385
- # policy_name: "PolicyName", # required
386
- # policy_revision_id: "PolicyRevisionId",
387
- # }
388
- #
389
306
  # @!attribute [rw] policy_name
390
307
  # The name of the resource policy to delete.
391
308
  # @return [String]
@@ -410,14 +327,6 @@ module Aws::XRay
410
327
  #
411
328
  class DeleteResourcePolicyResult < Aws::EmptyStructure; end
412
329
 
413
- # @note When making an API call, you may pass DeleteSamplingRuleRequest
414
- # data as a hash:
415
- #
416
- # {
417
- # rule_name: "String",
418
- # rule_arn: "String",
419
- # }
420
- #
421
330
  # @!attribute [rw] rule_name
422
331
  # The name of the sampling rule. Specify a rule by either name or ARN,
423
332
  # but not both.
@@ -828,14 +737,6 @@ module Aws::XRay
828
737
  include Aws::Structure
829
738
  end
830
739
 
831
- # @note When making an API call, you may pass GetGroupRequest
832
- # data as a hash:
833
- #
834
- # {
835
- # group_name: "GroupName",
836
- # group_arn: "GroupARN",
837
- # }
838
- #
839
740
  # @!attribute [rw] group_name
840
741
  # The case-sensitive name of the group.
841
742
  # @return [String]
@@ -867,13 +768,6 @@ module Aws::XRay
867
768
  include Aws::Structure
868
769
  end
869
770
 
870
- # @note When making an API call, you may pass GetGroupsRequest
871
- # data as a hash:
872
- #
873
- # {
874
- # next_token: "GetGroupsNextToken",
875
- # }
876
- #
877
771
  # @!attribute [rw] next_token
878
772
  # Pagination token.
879
773
  # @return [String]
@@ -903,15 +797,6 @@ module Aws::XRay
903
797
  include Aws::Structure
904
798
  end
905
799
 
906
- # @note When making an API call, you may pass GetInsightEventsRequest
907
- # data as a hash:
908
- #
909
- # {
910
- # insight_id: "InsightId", # required
911
- # max_results: 1,
912
- # next_token: "Token",
913
- # }
914
- #
915
800
  # @!attribute [rw] insight_id
916
801
  # The insight's unique identifier. Use the GetInsightSummaries action
917
802
  # to retrieve an InsightId.
@@ -955,16 +840,6 @@ module Aws::XRay
955
840
  include Aws::Structure
956
841
  end
957
842
 
958
- # @note When making an API call, you may pass GetInsightImpactGraphRequest
959
- # data as a hash:
960
- #
961
- # {
962
- # insight_id: "InsightId", # required
963
- # start_time: Time.now, # required
964
- # end_time: Time.now, # required
965
- # next_token: "Token",
966
- # }
967
- #
968
843
  # @!attribute [rw] insight_id
969
844
  # The insight's unique identifier. Use the GetInsightSummaries action
970
845
  # to retrieve an InsightId.
@@ -1041,13 +916,6 @@ module Aws::XRay
1041
916
  include Aws::Structure
1042
917
  end
1043
918
 
1044
- # @note When making an API call, you may pass GetInsightRequest
1045
- # data as a hash:
1046
- #
1047
- # {
1048
- # insight_id: "InsightId", # required
1049
- # }
1050
- #
1051
919
  # @!attribute [rw] insight_id
1052
920
  # The insight's unique identifier. Use the GetInsightSummaries action
1053
921
  # to retrieve an InsightId.
@@ -1073,19 +941,6 @@ module Aws::XRay
1073
941
  include Aws::Structure
1074
942
  end
1075
943
 
1076
- # @note When making an API call, you may pass GetInsightSummariesRequest
1077
- # data as a hash:
1078
- #
1079
- # {
1080
- # states: ["ACTIVE"], # accepts ACTIVE, CLOSED
1081
- # group_arn: "GroupARN",
1082
- # group_name: "GroupName",
1083
- # start_time: Time.now, # required
1084
- # end_time: Time.now, # required
1085
- # max_results: 1,
1086
- # next_token: "Token",
1087
- # }
1088
- #
1089
944
  # @!attribute [rw] states
1090
945
  # The list of insight states.
1091
946
  # @return [Array<String>]
@@ -1151,13 +1006,6 @@ module Aws::XRay
1151
1006
  include Aws::Structure
1152
1007
  end
1153
1008
 
1154
- # @note When making an API call, you may pass GetSamplingRulesRequest
1155
- # data as a hash:
1156
- #
1157
- # {
1158
- # next_token: "String",
1159
- # }
1160
- #
1161
1009
  # @!attribute [rw] next_token
1162
1010
  # Pagination token.
1163
1011
  # @return [String]
@@ -1187,13 +1035,6 @@ module Aws::XRay
1187
1035
  include Aws::Structure
1188
1036
  end
1189
1037
 
1190
- # @note When making an API call, you may pass GetSamplingStatisticSummariesRequest
1191
- # data as a hash:
1192
- #
1193
- # {
1194
- # next_token: "String",
1195
- # }
1196
- #
1197
1038
  # @!attribute [rw] next_token
1198
1039
  # Pagination token.
1199
1040
  # @return [String]
@@ -1224,22 +1065,6 @@ module Aws::XRay
1224
1065
  include Aws::Structure
1225
1066
  end
1226
1067
 
1227
- # @note When making an API call, you may pass GetSamplingTargetsRequest
1228
- # data as a hash:
1229
- #
1230
- # {
1231
- # sampling_statistics_documents: [ # required
1232
- # {
1233
- # rule_name: "RuleName", # required
1234
- # client_id: "ClientID", # required
1235
- # timestamp: Time.now, # required
1236
- # request_count: 1, # required
1237
- # sampled_count: 1, # required
1238
- # borrow_count: 1,
1239
- # },
1240
- # ],
1241
- # }
1242
- #
1243
1068
  # @!attribute [rw] sampling_statistics_documents
1244
1069
  # Information about rules that the service is using to sample
1245
1070
  # requests.
@@ -1287,17 +1112,6 @@ module Aws::XRay
1287
1112
  include Aws::Structure
1288
1113
  end
1289
1114
 
1290
- # @note When making an API call, you may pass GetServiceGraphRequest
1291
- # data as a hash:
1292
- #
1293
- # {
1294
- # start_time: Time.now, # required
1295
- # end_time: Time.now, # required
1296
- # group_name: "GroupName",
1297
- # group_arn: "GroupARN",
1298
- # next_token: "String",
1299
- # }
1300
- #
1301
1115
  # @!attribute [rw] start_time
1302
1116
  # The start of the time frame for which to generate a graph.
1303
1117
  # @return [Time]
@@ -1366,20 +1180,6 @@ module Aws::XRay
1366
1180
  include Aws::Structure
1367
1181
  end
1368
1182
 
1369
- # @note When making an API call, you may pass GetTimeSeriesServiceStatisticsRequest
1370
- # data as a hash:
1371
- #
1372
- # {
1373
- # start_time: Time.now, # required
1374
- # end_time: Time.now, # required
1375
- # group_name: "GroupName",
1376
- # group_arn: "GroupARN",
1377
- # entity_selector_expression: "EntitySelectorExpression",
1378
- # period: 1,
1379
- # forecast_statistics: false,
1380
- # next_token: "String",
1381
- # }
1382
- #
1383
1183
  # @!attribute [rw] start_time
1384
1184
  # The start of the time frame for which to aggregate statistics.
1385
1185
  # @return [Time]
@@ -1456,14 +1256,6 @@ module Aws::XRay
1456
1256
  include Aws::Structure
1457
1257
  end
1458
1258
 
1459
- # @note When making an API call, you may pass GetTraceGraphRequest
1460
- # data as a hash:
1461
- #
1462
- # {
1463
- # trace_ids: ["TraceId"], # required
1464
- # next_token: "String",
1465
- # }
1466
- #
1467
1259
  # @!attribute [rw] trace_ids
1468
1260
  # Trace IDs of requests for which to generate a service graph.
1469
1261
  # @return [Array<String>]
@@ -1498,22 +1290,6 @@ module Aws::XRay
1498
1290
  include Aws::Structure
1499
1291
  end
1500
1292
 
1501
- # @note When making an API call, you may pass GetTraceSummariesRequest
1502
- # data as a hash:
1503
- #
1504
- # {
1505
- # start_time: Time.now, # required
1506
- # end_time: Time.now, # required
1507
- # time_range_type: "TraceId", # accepts TraceId, Event
1508
- # sampling: false,
1509
- # sampling_strategy: {
1510
- # name: "PartialScan", # accepts PartialScan, FixedRate
1511
- # value: 1.0,
1512
- # },
1513
- # filter_expression: "FilterExpression",
1514
- # next_token: "String",
1515
- # }
1516
- #
1517
1293
  # @!attribute [rw] start_time
1518
1294
  # The start of the time frame for which to retrieve traces.
1519
1295
  # @return [Time]
@@ -1989,14 +1765,6 @@ module Aws::XRay
1989
1765
 
1990
1766
  # The structure containing configurations related to insights.
1991
1767
  #
1992
- # @note When making an API call, you may pass InsightsConfiguration
1993
- # data as a hash:
1994
- #
1995
- # {
1996
- # insights_enabled: false,
1997
- # notifications_enabled: false,
1998
- # }
1999
- #
2000
1768
  # @!attribute [rw] insights_enabled
2001
1769
  # Set the InsightsEnabled value to true to enable insights or false to
2002
1770
  # disable insights.
@@ -2060,13 +1828,6 @@ module Aws::XRay
2060
1828
  include Aws::Structure
2061
1829
  end
2062
1830
 
2063
- # @note When making an API call, you may pass ListResourcePoliciesRequest
2064
- # data as a hash:
2065
- #
2066
- # {
2067
- # next_token: "ResourcePolicyNextToken",
2068
- # }
2069
- #
2070
1831
  # @!attribute [rw] next_token
2071
1832
  # Not currently supported.
2072
1833
  # @return [String]
@@ -2097,14 +1858,6 @@ module Aws::XRay
2097
1858
  include Aws::Structure
2098
1859
  end
2099
1860
 
2100
- # @note When making an API call, you may pass ListTagsForResourceRequest
2101
- # data as a hash:
2102
- #
2103
- # {
2104
- # resource_arn: "AmazonResourceName", # required
2105
- # next_token: "String",
2106
- # }
2107
- #
2108
1861
  # @!attribute [rw] resource_arn
2109
1862
  # The Amazon Resource Number (ARN) of an X-Ray group or sampling rule.
2110
1863
  # @return [String]
@@ -2198,14 +1951,6 @@ module Aws::XRay
2198
1951
  include Aws::Structure
2199
1952
  end
2200
1953
 
2201
- # @note When making an API call, you may pass PutEncryptionConfigRequest
2202
- # data as a hash:
2203
- #
2204
- # {
2205
- # key_id: "EncryptionKeyId",
2206
- # type: "NONE", # required, accepts NONE, KMS
2207
- # }
2208
- #
2209
1954
  # @!attribute [rw] key_id
2210
1955
  # An Amazon Web Services KMS key in one of the following formats:
2211
1956
  #
@@ -2249,16 +1994,6 @@ module Aws::XRay
2249
1994
  include Aws::Structure
2250
1995
  end
2251
1996
 
2252
- # @note When making an API call, you may pass PutResourcePolicyRequest
2253
- # data as a hash:
2254
- #
2255
- # {
2256
- # policy_name: "PolicyName", # required
2257
- # policy_document: "PolicyDocument", # required
2258
- # policy_revision_id: "PolicyRevisionId",
2259
- # bypass_policy_lockout_check: false,
2260
- # }
2261
- #
2262
1997
  # @!attribute [rw] policy_name
2263
1998
  # The name of the resource policy. Must be unique within a specific
2264
1999
  # Amazon Web Services account.
@@ -2321,32 +2056,6 @@ module Aws::XRay
2321
2056
  include Aws::Structure
2322
2057
  end
2323
2058
 
2324
- # @note When making an API call, you may pass PutTelemetryRecordsRequest
2325
- # data as a hash:
2326
- #
2327
- # {
2328
- # telemetry_records: [ # required
2329
- # {
2330
- # timestamp: Time.now, # required
2331
- # segments_received_count: 1,
2332
- # segments_sent_count: 1,
2333
- # segments_spillover_count: 1,
2334
- # segments_rejected_count: 1,
2335
- # backend_connection_errors: {
2336
- # timeout_count: 1,
2337
- # connection_refused_count: 1,
2338
- # http_code_4_xx_count: 1,
2339
- # http_code_5_xx_count: 1,
2340
- # unknown_host_count: 1,
2341
- # other_count: 1,
2342
- # },
2343
- # },
2344
- # ],
2345
- # ec2_instance_id: "EC2InstanceId",
2346
- # hostname: "Hostname",
2347
- # resource_arn: "ResourceARN",
2348
- # }
2349
- #
2350
2059
  # @!attribute [rw] telemetry_records
2351
2060
  # @return [Array<Types::TelemetryRecord>]
2352
2061
  #
@@ -2374,13 +2083,6 @@ module Aws::XRay
2374
2083
  #
2375
2084
  class PutTelemetryRecordsResult < Aws::EmptyStructure; end
2376
2085
 
2377
- # @note When making an API call, you may pass PutTraceSegmentsRequest
2378
- # data as a hash:
2379
- #
2380
- # {
2381
- # trace_segment_documents: ["TraceSegmentDocument"], # required
2382
- # }
2383
- #
2384
2086
  # @!attribute [rw] trace_segment_documents
2385
2087
  # A string containing a JSON document defining one or more segments or
2386
2088
  # subsegments.
@@ -2617,27 +2319,6 @@ module Aws::XRay
2617
2319
  # properties of a request. The service can ignore rules that don't
2618
2320
  # match its properties.
2619
2321
  #
2620
- # @note When making an API call, you may pass SamplingRule
2621
- # data as a hash:
2622
- #
2623
- # {
2624
- # rule_name: "RuleName",
2625
- # rule_arn: "String",
2626
- # resource_arn: "ResourceARN", # required
2627
- # priority: 1, # required
2628
- # fixed_rate: 1.0, # required
2629
- # reservoir_size: 1, # required
2630
- # service_name: "ServiceName", # required
2631
- # service_type: "ServiceType", # required
2632
- # host: "Host", # required
2633
- # http_method: "HTTPMethod", # required
2634
- # url_path: "URLPath", # required
2635
- # version: 1, # required
2636
- # attributes: {
2637
- # "AttributeKey" => "AttributeValue",
2638
- # },
2639
- # }
2640
- #
2641
2322
  # @!attribute [rw] rule_name
2642
2323
  # The name of the sampling rule. Specify a rule by either name or ARN,
2643
2324
  # but not both.
@@ -2748,26 +2429,6 @@ module Aws::XRay
2748
2429
 
2749
2430
  # A document specifying changes to a sampling rule's configuration.
2750
2431
  #
2751
- # @note When making an API call, you may pass SamplingRuleUpdate
2752
- # data as a hash:
2753
- #
2754
- # {
2755
- # rule_name: "RuleName",
2756
- # rule_arn: "String",
2757
- # resource_arn: "ResourceARN",
2758
- # priority: 1,
2759
- # fixed_rate: 1.0,
2760
- # reservoir_size: 1,
2761
- # host: "Host",
2762
- # service_name: "ServiceName",
2763
- # service_type: "ServiceType",
2764
- # http_method: "HTTPMethod",
2765
- # url_path: "URLPath",
2766
- # attributes: {
2767
- # "AttributeKey" => "AttributeValue",
2768
- # },
2769
- # }
2770
- #
2771
2432
  # @!attribute [rw] rule_name
2772
2433
  # The name of the sampling rule. Specify a rule by either name or ARN,
2773
2434
  # but not both.
@@ -2886,18 +2547,6 @@ module Aws::XRay
2886
2547
  #
2887
2548
  # [1]: https://docs.aws.amazon.com/xray/latest/api/API_GetSamplingTargets.html
2888
2549
  #
2889
- # @note When making an API call, you may pass SamplingStatisticsDocument
2890
- # data as a hash:
2891
- #
2892
- # {
2893
- # rule_name: "RuleName", # required
2894
- # client_id: "ClientID", # required
2895
- # timestamp: Time.now, # required
2896
- # request_count: 1, # required
2897
- # sampled_count: 1, # required
2898
- # borrow_count: 1,
2899
- # }
2900
- #
2901
2550
  # @!attribute [rw] rule_name
2902
2551
  # The name of the sampling rule.
2903
2552
  # @return [String]
@@ -2937,14 +2586,6 @@ module Aws::XRay
2937
2586
 
2938
2587
  # The name and value of a sampling rule to apply to a trace summary.
2939
2588
  #
2940
- # @note When making an API call, you may pass SamplingStrategy
2941
- # data as a hash:
2942
- #
2943
- # {
2944
- # name: "PartialScan", # accepts PartialScan, FixedRate
2945
- # value: 1.0,
2946
- # }
2947
- #
2948
2589
  # @!attribute [rw] name
2949
2590
  # The name of a sampling rule.
2950
2591
  # @return [String]
@@ -3208,14 +2849,6 @@ module Aws::XRay
3208
2849
  #
3209
2850
  # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
3210
2851
  #
3211
- # @note When making an API call, you may pass Tag
3212
- # data as a hash:
3213
- #
3214
- # {
3215
- # key: "TagKey", # required
3216
- # value: "TagValue", # required
3217
- # }
3218
- #
3219
2852
  # @!attribute [rw] key
3220
2853
  # A tag key, such as `Stage` or `Name`. A tag key cannot be empty. The
3221
2854
  # key can be a maximum of 128 characters, and can contain only Unicode
@@ -3239,19 +2872,6 @@ module Aws::XRay
3239
2872
  include Aws::Structure
3240
2873
  end
3241
2874
 
3242
- # @note When making an API call, you may pass TagResourceRequest
3243
- # data as a hash:
3244
- #
3245
- # {
3246
- # resource_arn: "AmazonResourceName", # required
3247
- # tags: [ # required
3248
- # {
3249
- # key: "TagKey", # required
3250
- # value: "TagValue", # required
3251
- # },
3252
- # ],
3253
- # }
3254
- #
3255
2875
  # @!attribute [rw] resource_arn
3256
2876
  # The Amazon Resource Number (ARN) of an X-Ray group or sampling rule.
3257
2877
  # @return [String]
@@ -3296,25 +2916,6 @@ module Aws::XRay
3296
2916
  #
3297
2917
  class TagResourceResponse < Aws::EmptyStructure; end
3298
2918
 
3299
- # @note When making an API call, you may pass TelemetryRecord
3300
- # data as a hash:
3301
- #
3302
- # {
3303
- # timestamp: Time.now, # required
3304
- # segments_received_count: 1,
3305
- # segments_sent_count: 1,
3306
- # segments_spillover_count: 1,
3307
- # segments_rejected_count: 1,
3308
- # backend_connection_errors: {
3309
- # timeout_count: 1,
3310
- # connection_refused_count: 1,
3311
- # http_code_4_xx_count: 1,
3312
- # http_code_5_xx_count: 1,
3313
- # unknown_host_count: 1,
3314
- # other_count: 1,
3315
- # },
3316
- # }
3317
- #
3318
2919
  # @!attribute [rw] timestamp
3319
2920
  # @return [Time]
3320
2921
  #
@@ -3643,14 +3244,6 @@ module Aws::XRay
3643
3244
  include Aws::Structure
3644
3245
  end
3645
3246
 
3646
- # @note When making an API call, you may pass UntagResourceRequest
3647
- # data as a hash:
3648
- #
3649
- # {
3650
- # resource_arn: "AmazonResourceName", # required
3651
- # tag_keys: ["TagKey"], # required
3652
- # }
3653
- #
3654
3247
  # @!attribute [rw] resource_arn
3655
3248
  # The Amazon Resource Number (ARN) of an X-Ray group or sampling rule.
3656
3249
  # @return [String]
@@ -3673,19 +3266,6 @@ module Aws::XRay
3673
3266
  #
3674
3267
  class UntagResourceResponse < Aws::EmptyStructure; end
3675
3268
 
3676
- # @note When making an API call, you may pass UpdateGroupRequest
3677
- # data as a hash:
3678
- #
3679
- # {
3680
- # group_name: "GroupName",
3681
- # group_arn: "GroupARN",
3682
- # filter_expression: "FilterExpression",
3683
- # insights_configuration: {
3684
- # insights_enabled: false,
3685
- # notifications_enabled: false,
3686
- # },
3687
- # }
3688
- #
3689
3269
  # @!attribute [rw] group_name
3690
3270
  # The case-sensitive name of the group.
3691
3271
  # @return [String]
@@ -3736,28 +3316,6 @@ module Aws::XRay
3736
3316
  include Aws::Structure
3737
3317
  end
3738
3318
 
3739
- # @note When making an API call, you may pass UpdateSamplingRuleRequest
3740
- # data as a hash:
3741
- #
3742
- # {
3743
- # sampling_rule_update: { # required
3744
- # rule_name: "RuleName",
3745
- # rule_arn: "String",
3746
- # resource_arn: "ResourceARN",
3747
- # priority: 1,
3748
- # fixed_rate: 1.0,
3749
- # reservoir_size: 1,
3750
- # host: "Host",
3751
- # service_name: "ServiceName",
3752
- # service_type: "ServiceType",
3753
- # http_method: "HTTPMethod",
3754
- # url_path: "URLPath",
3755
- # attributes: {
3756
- # "AttributeKey" => "AttributeValue",
3757
- # },
3758
- # },
3759
- # }
3760
- #
3761
3319
  # @!attribute [rw] sampling_rule_update
3762
3320
  # The rule and fields to change.
3763
3321
  # @return [Types::SamplingRuleUpdate]
data/lib/aws-sdk-xray.rb CHANGED
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-xray/customizations'
52
52
  # @!group service
53
53
  module Aws::XRay
54
54
 
55
- GEM_VERSION = '1.50.0'
55
+ GEM_VERSION = '1.51.0'
56
56
 
57
57
  end
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.50.0
4
+ version: 1.51.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: 2022-11-16 00:00:00.000000000 Z
11
+ date: 2023-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core