aws-sdk-xray 1.62.0 → 1.64.0

Sign up to get free protection for your applications and to get access to all the features.
data/sig/client.rbs ADDED
@@ -0,0 +1,525 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module XRay
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/XRay/Client.html#initialize-instance_method
14
+ def self.new: (
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?stub_responses: untyped,
52
+ ?token_provider: untyped,
53
+ ?use_dualstack_endpoint: bool,
54
+ ?use_fips_endpoint: bool,
55
+ ?validate_params: bool,
56
+ ?endpoint_provider: untyped,
57
+ ?http_proxy: String,
58
+ ?http_open_timeout: (Float | Integer),
59
+ ?http_read_timeout: (Float | Integer),
60
+ ?http_idle_timeout: (Float | Integer),
61
+ ?http_continue_timeout: (Float | Integer),
62
+ ?ssl_timeout: (Float | Integer | nil),
63
+ ?http_wire_trace: bool,
64
+ ?ssl_verify_peer: bool,
65
+ ?ssl_ca_bundle: String,
66
+ ?ssl_ca_directory: String,
67
+ ?ssl_ca_store: String,
68
+ ?on_chunk_received: Proc,
69
+ ?on_chunk_sent: Proc,
70
+ ?raise_response_errors: bool
71
+ ) -> instance
72
+ | (?Hash[Symbol, untyped]) -> instance
73
+
74
+
75
+ interface _BatchGetTracesResponseSuccess
76
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetTracesResult]
77
+ def traces: () -> ::Array[Types::Trace]
78
+ def unprocessed_trace_ids: () -> ::Array[::String]
79
+ def next_token: () -> ::String
80
+ end
81
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/XRay/Client.html#batch_get_traces-instance_method
82
+ def batch_get_traces: (
83
+ trace_ids: Array[::String],
84
+ ?next_token: ::String
85
+ ) -> _BatchGetTracesResponseSuccess
86
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetTracesResponseSuccess
87
+
88
+ interface _CreateGroupResponseSuccess
89
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateGroupResult]
90
+ def group: () -> Types::Group
91
+ end
92
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/XRay/Client.html#create_group-instance_method
93
+ def create_group: (
94
+ group_name: ::String,
95
+ ?filter_expression: ::String,
96
+ ?insights_configuration: {
97
+ insights_enabled: bool?,
98
+ notifications_enabled: bool?
99
+ },
100
+ ?tags: Array[
101
+ {
102
+ key: ::String,
103
+ value: ::String
104
+ },
105
+ ]
106
+ ) -> _CreateGroupResponseSuccess
107
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateGroupResponseSuccess
108
+
109
+ interface _CreateSamplingRuleResponseSuccess
110
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateSamplingRuleResult]
111
+ def sampling_rule_record: () -> Types::SamplingRuleRecord
112
+ end
113
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/XRay/Client.html#create_sampling_rule-instance_method
114
+ def create_sampling_rule: (
115
+ sampling_rule: {
116
+ rule_name: ::String?,
117
+ rule_arn: ::String?,
118
+ resource_arn: ::String,
119
+ priority: ::Integer,
120
+ fixed_rate: ::Float,
121
+ reservoir_size: ::Integer,
122
+ service_name: ::String,
123
+ service_type: ::String,
124
+ host: ::String,
125
+ http_method: ::String,
126
+ url_path: ::String,
127
+ version: ::Integer,
128
+ attributes: Hash[::String, ::String]?
129
+ },
130
+ ?tags: Array[
131
+ {
132
+ key: ::String,
133
+ value: ::String
134
+ },
135
+ ]
136
+ ) -> _CreateSamplingRuleResponseSuccess
137
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSamplingRuleResponseSuccess
138
+
139
+ interface _DeleteGroupResponseSuccess
140
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteGroupResult]
141
+ end
142
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/XRay/Client.html#delete_group-instance_method
143
+ def delete_group: (
144
+ ?group_name: ::String,
145
+ ?group_arn: ::String
146
+ ) -> _DeleteGroupResponseSuccess
147
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteGroupResponseSuccess
148
+
149
+ interface _DeleteResourcePolicyResponseSuccess
150
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteResourcePolicyResult]
151
+ end
152
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/XRay/Client.html#delete_resource_policy-instance_method
153
+ def delete_resource_policy: (
154
+ policy_name: ::String,
155
+ ?policy_revision_id: ::String
156
+ ) -> _DeleteResourcePolicyResponseSuccess
157
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteResourcePolicyResponseSuccess
158
+
159
+ interface _DeleteSamplingRuleResponseSuccess
160
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteSamplingRuleResult]
161
+ def sampling_rule_record: () -> Types::SamplingRuleRecord
162
+ end
163
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/XRay/Client.html#delete_sampling_rule-instance_method
164
+ def delete_sampling_rule: (
165
+ ?rule_name: ::String,
166
+ ?rule_arn: ::String
167
+ ) -> _DeleteSamplingRuleResponseSuccess
168
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteSamplingRuleResponseSuccess
169
+
170
+ interface _GetEncryptionConfigResponseSuccess
171
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetEncryptionConfigResult]
172
+ def encryption_config: () -> Types::EncryptionConfig
173
+ end
174
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/XRay/Client.html#get_encryption_config-instance_method
175
+ def get_encryption_config: (
176
+ ) -> _GetEncryptionConfigResponseSuccess
177
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetEncryptionConfigResponseSuccess
178
+
179
+ interface _GetGroupResponseSuccess
180
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetGroupResult]
181
+ def group: () -> Types::Group
182
+ end
183
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/XRay/Client.html#get_group-instance_method
184
+ def get_group: (
185
+ ?group_name: ::String,
186
+ ?group_arn: ::String
187
+ ) -> _GetGroupResponseSuccess
188
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetGroupResponseSuccess
189
+
190
+ interface _GetGroupsResponseSuccess
191
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetGroupsResult]
192
+ def groups: () -> ::Array[Types::GroupSummary]
193
+ def next_token: () -> ::String
194
+ end
195
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/XRay/Client.html#get_groups-instance_method
196
+ def get_groups: (
197
+ ?next_token: ::String
198
+ ) -> _GetGroupsResponseSuccess
199
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetGroupsResponseSuccess
200
+
201
+ interface _GetInsightResponseSuccess
202
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetInsightResult]
203
+ def insight: () -> Types::Insight
204
+ end
205
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/XRay/Client.html#get_insight-instance_method
206
+ def get_insight: (
207
+ insight_id: ::String
208
+ ) -> _GetInsightResponseSuccess
209
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetInsightResponseSuccess
210
+
211
+ interface _GetInsightEventsResponseSuccess
212
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetInsightEventsResult]
213
+ def insight_events: () -> ::Array[Types::InsightEvent]
214
+ def next_token: () -> ::String
215
+ end
216
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/XRay/Client.html#get_insight_events-instance_method
217
+ def get_insight_events: (
218
+ insight_id: ::String,
219
+ ?max_results: ::Integer,
220
+ ?next_token: ::String
221
+ ) -> _GetInsightEventsResponseSuccess
222
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetInsightEventsResponseSuccess
223
+
224
+ interface _GetInsightImpactGraphResponseSuccess
225
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetInsightImpactGraphResult]
226
+ def insight_id: () -> ::String
227
+ def start_time: () -> ::Time
228
+ def end_time: () -> ::Time
229
+ def service_graph_start_time: () -> ::Time
230
+ def service_graph_end_time: () -> ::Time
231
+ def services: () -> ::Array[Types::InsightImpactGraphService]
232
+ def next_token: () -> ::String
233
+ end
234
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/XRay/Client.html#get_insight_impact_graph-instance_method
235
+ def get_insight_impact_graph: (
236
+ insight_id: ::String,
237
+ start_time: ::Time,
238
+ end_time: ::Time,
239
+ ?next_token: ::String
240
+ ) -> _GetInsightImpactGraphResponseSuccess
241
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetInsightImpactGraphResponseSuccess
242
+
243
+ interface _GetInsightSummariesResponseSuccess
244
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetInsightSummariesResult]
245
+ def insight_summaries: () -> ::Array[Types::InsightSummary]
246
+ def next_token: () -> ::String
247
+ end
248
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/XRay/Client.html#get_insight_summaries-instance_method
249
+ def get_insight_summaries: (
250
+ ?states: Array[("ACTIVE" | "CLOSED")],
251
+ ?group_arn: ::String,
252
+ ?group_name: ::String,
253
+ start_time: ::Time,
254
+ end_time: ::Time,
255
+ ?max_results: ::Integer,
256
+ ?next_token: ::String
257
+ ) -> _GetInsightSummariesResponseSuccess
258
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetInsightSummariesResponseSuccess
259
+
260
+ interface _GetSamplingRulesResponseSuccess
261
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetSamplingRulesResult]
262
+ def sampling_rule_records: () -> ::Array[Types::SamplingRuleRecord]
263
+ def next_token: () -> ::String
264
+ end
265
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/XRay/Client.html#get_sampling_rules-instance_method
266
+ def get_sampling_rules: (
267
+ ?next_token: ::String
268
+ ) -> _GetSamplingRulesResponseSuccess
269
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSamplingRulesResponseSuccess
270
+
271
+ interface _GetSamplingStatisticSummariesResponseSuccess
272
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetSamplingStatisticSummariesResult]
273
+ def sampling_statistic_summaries: () -> ::Array[Types::SamplingStatisticSummary]
274
+ def next_token: () -> ::String
275
+ end
276
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/XRay/Client.html#get_sampling_statistic_summaries-instance_method
277
+ def get_sampling_statistic_summaries: (
278
+ ?next_token: ::String
279
+ ) -> _GetSamplingStatisticSummariesResponseSuccess
280
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSamplingStatisticSummariesResponseSuccess
281
+
282
+ interface _GetSamplingTargetsResponseSuccess
283
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetSamplingTargetsResult]
284
+ def sampling_target_documents: () -> ::Array[Types::SamplingTargetDocument]
285
+ def last_rule_modification: () -> ::Time
286
+ def unprocessed_statistics: () -> ::Array[Types::UnprocessedStatistics]
287
+ end
288
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/XRay/Client.html#get_sampling_targets-instance_method
289
+ def get_sampling_targets: (
290
+ sampling_statistics_documents: Array[
291
+ {
292
+ rule_name: ::String,
293
+ client_id: ::String,
294
+ timestamp: ::Time,
295
+ request_count: ::Integer,
296
+ sampled_count: ::Integer,
297
+ borrow_count: ::Integer?
298
+ },
299
+ ]
300
+ ) -> _GetSamplingTargetsResponseSuccess
301
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSamplingTargetsResponseSuccess
302
+
303
+ interface _GetServiceGraphResponseSuccess
304
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetServiceGraphResult]
305
+ def start_time: () -> ::Time
306
+ def end_time: () -> ::Time
307
+ def services: () -> ::Array[Types::Service]
308
+ def contains_old_group_versions: () -> bool
309
+ def next_token: () -> ::String
310
+ end
311
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/XRay/Client.html#get_service_graph-instance_method
312
+ def get_service_graph: (
313
+ start_time: ::Time,
314
+ end_time: ::Time,
315
+ ?group_name: ::String,
316
+ ?group_arn: ::String,
317
+ ?next_token: ::String
318
+ ) -> _GetServiceGraphResponseSuccess
319
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetServiceGraphResponseSuccess
320
+
321
+ interface _GetTimeSeriesServiceStatisticsResponseSuccess
322
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetTimeSeriesServiceStatisticsResult]
323
+ def time_series_service_statistics: () -> ::Array[Types::TimeSeriesServiceStatistics]
324
+ def contains_old_group_versions: () -> bool
325
+ def next_token: () -> ::String
326
+ end
327
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/XRay/Client.html#get_time_series_service_statistics-instance_method
328
+ def get_time_series_service_statistics: (
329
+ start_time: ::Time,
330
+ end_time: ::Time,
331
+ ?group_name: ::String,
332
+ ?group_arn: ::String,
333
+ ?entity_selector_expression: ::String,
334
+ ?period: ::Integer,
335
+ ?forecast_statistics: bool,
336
+ ?next_token: ::String
337
+ ) -> _GetTimeSeriesServiceStatisticsResponseSuccess
338
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTimeSeriesServiceStatisticsResponseSuccess
339
+
340
+ interface _GetTraceGraphResponseSuccess
341
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetTraceGraphResult]
342
+ def services: () -> ::Array[Types::Service]
343
+ def next_token: () -> ::String
344
+ end
345
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/XRay/Client.html#get_trace_graph-instance_method
346
+ def get_trace_graph: (
347
+ trace_ids: Array[::String],
348
+ ?next_token: ::String
349
+ ) -> _GetTraceGraphResponseSuccess
350
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTraceGraphResponseSuccess
351
+
352
+ interface _GetTraceSummariesResponseSuccess
353
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetTraceSummariesResult]
354
+ def trace_summaries: () -> ::Array[Types::TraceSummary]
355
+ def approximate_time: () -> ::Time
356
+ def traces_processed_count: () -> ::Integer
357
+ def next_token: () -> ::String
358
+ end
359
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/XRay/Client.html#get_trace_summaries-instance_method
360
+ def get_trace_summaries: (
361
+ start_time: ::Time,
362
+ end_time: ::Time,
363
+ ?time_range_type: ("TraceId" | "Event" | "Service"),
364
+ ?sampling: bool,
365
+ ?sampling_strategy: {
366
+ name: ("PartialScan" | "FixedRate")?,
367
+ value: ::Float?
368
+ },
369
+ ?filter_expression: ::String,
370
+ ?next_token: ::String
371
+ ) -> _GetTraceSummariesResponseSuccess
372
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTraceSummariesResponseSuccess
373
+
374
+ interface _ListResourcePoliciesResponseSuccess
375
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListResourcePoliciesResult]
376
+ def resource_policies: () -> ::Array[Types::ResourcePolicy]
377
+ def next_token: () -> ::String
378
+ end
379
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/XRay/Client.html#list_resource_policies-instance_method
380
+ def list_resource_policies: (
381
+ ?next_token: ::String
382
+ ) -> _ListResourcePoliciesResponseSuccess
383
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListResourcePoliciesResponseSuccess
384
+
385
+ interface _ListTagsForResourceResponseSuccess
386
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
387
+ def tags: () -> ::Array[Types::Tag]
388
+ def next_token: () -> ::String
389
+ end
390
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/XRay/Client.html#list_tags_for_resource-instance_method
391
+ def list_tags_for_resource: (
392
+ resource_arn: ::String,
393
+ ?next_token: ::String
394
+ ) -> _ListTagsForResourceResponseSuccess
395
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
396
+
397
+ interface _PutEncryptionConfigResponseSuccess
398
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutEncryptionConfigResult]
399
+ def encryption_config: () -> Types::EncryptionConfig
400
+ end
401
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/XRay/Client.html#put_encryption_config-instance_method
402
+ def put_encryption_config: (
403
+ ?key_id: ::String,
404
+ type: ("NONE" | "KMS")
405
+ ) -> _PutEncryptionConfigResponseSuccess
406
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutEncryptionConfigResponseSuccess
407
+
408
+ interface _PutResourcePolicyResponseSuccess
409
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutResourcePolicyResult]
410
+ def resource_policy: () -> Types::ResourcePolicy
411
+ end
412
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/XRay/Client.html#put_resource_policy-instance_method
413
+ def put_resource_policy: (
414
+ policy_name: ::String,
415
+ policy_document: ::String,
416
+ ?policy_revision_id: ::String,
417
+ ?bypass_policy_lockout_check: bool
418
+ ) -> _PutResourcePolicyResponseSuccess
419
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutResourcePolicyResponseSuccess
420
+
421
+ interface _PutTelemetryRecordsResponseSuccess
422
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutTelemetryRecordsResult]
423
+ end
424
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/XRay/Client.html#put_telemetry_records-instance_method
425
+ def put_telemetry_records: (
426
+ telemetry_records: Array[
427
+ {
428
+ timestamp: ::Time,
429
+ segments_received_count: ::Integer?,
430
+ segments_sent_count: ::Integer?,
431
+ segments_spillover_count: ::Integer?,
432
+ segments_rejected_count: ::Integer?,
433
+ backend_connection_errors: {
434
+ timeout_count: ::Integer?,
435
+ connection_refused_count: ::Integer?,
436
+ http_code_4_xx_count: ::Integer?,
437
+ http_code_5_xx_count: ::Integer?,
438
+ unknown_host_count: ::Integer?,
439
+ other_count: ::Integer?
440
+ }?
441
+ },
442
+ ],
443
+ ?ec2_instance_id: ::String,
444
+ ?hostname: ::String,
445
+ ?resource_arn: ::String
446
+ ) -> _PutTelemetryRecordsResponseSuccess
447
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutTelemetryRecordsResponseSuccess
448
+
449
+ interface _PutTraceSegmentsResponseSuccess
450
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutTraceSegmentsResult]
451
+ def unprocessed_trace_segments: () -> ::Array[Types::UnprocessedTraceSegment]
452
+ end
453
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/XRay/Client.html#put_trace_segments-instance_method
454
+ def put_trace_segments: (
455
+ trace_segment_documents: Array[::String]
456
+ ) -> _PutTraceSegmentsResponseSuccess
457
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutTraceSegmentsResponseSuccess
458
+
459
+ interface _TagResourceResponseSuccess
460
+ include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
461
+ end
462
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/XRay/Client.html#tag_resource-instance_method
463
+ def tag_resource: (
464
+ resource_arn: ::String,
465
+ tags: Array[
466
+ {
467
+ key: ::String,
468
+ value: ::String
469
+ },
470
+ ]
471
+ ) -> _TagResourceResponseSuccess
472
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
473
+
474
+ interface _UntagResourceResponseSuccess
475
+ include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
476
+ end
477
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/XRay/Client.html#untag_resource-instance_method
478
+ def untag_resource: (
479
+ resource_arn: ::String,
480
+ tag_keys: Array[::String]
481
+ ) -> _UntagResourceResponseSuccess
482
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
483
+
484
+ interface _UpdateGroupResponseSuccess
485
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateGroupResult]
486
+ def group: () -> Types::Group
487
+ end
488
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/XRay/Client.html#update_group-instance_method
489
+ def update_group: (
490
+ ?group_name: ::String,
491
+ ?group_arn: ::String,
492
+ ?filter_expression: ::String,
493
+ ?insights_configuration: {
494
+ insights_enabled: bool?,
495
+ notifications_enabled: bool?
496
+ }
497
+ ) -> _UpdateGroupResponseSuccess
498
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateGroupResponseSuccess
499
+
500
+ interface _UpdateSamplingRuleResponseSuccess
501
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateSamplingRuleResult]
502
+ def sampling_rule_record: () -> Types::SamplingRuleRecord
503
+ end
504
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/XRay/Client.html#update_sampling_rule-instance_method
505
+ def update_sampling_rule: (
506
+ sampling_rule_update: {
507
+ rule_name: ::String?,
508
+ rule_arn: ::String?,
509
+ resource_arn: ::String?,
510
+ priority: ::Integer?,
511
+ fixed_rate: ::Float?,
512
+ reservoir_size: ::Integer?,
513
+ host: ::String?,
514
+ service_name: ::String?,
515
+ service_type: ::String?,
516
+ http_method: ::String?,
517
+ url_path: ::String?,
518
+ attributes: Hash[::String, ::String]?
519
+ }
520
+ ) -> _UpdateSamplingRuleResponseSuccess
521
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateSamplingRuleResponseSuccess
522
+ end
523
+ end
524
+ end
525
+
data/sig/errors.rbs ADDED
@@ -0,0 +1,48 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module XRay
10
+ module Errors
11
+ class ServiceError < ::Aws::Errors::ServiceError
12
+ end
13
+
14
+ class InvalidPolicyRevisionIdException < ::Aws::Errors::ServiceError
15
+ def message: () -> ::String
16
+ end
17
+ class InvalidRequestException < ::Aws::Errors::ServiceError
18
+ def message: () -> ::String
19
+ end
20
+ class LockoutPreventionException < ::Aws::Errors::ServiceError
21
+ def message: () -> ::String
22
+ end
23
+ class MalformedPolicyDocumentException < ::Aws::Errors::ServiceError
24
+ def message: () -> ::String
25
+ end
26
+ class PolicyCountLimitExceededException < ::Aws::Errors::ServiceError
27
+ def message: () -> ::String
28
+ end
29
+ class PolicySizeLimitExceededException < ::Aws::Errors::ServiceError
30
+ def message: () -> ::String
31
+ end
32
+ class ResourceNotFoundException < ::Aws::Errors::ServiceError
33
+ def message: () -> ::String
34
+ def resource_name: () -> ::String
35
+ end
36
+ class RuleLimitExceededException < ::Aws::Errors::ServiceError
37
+ def message: () -> ::String
38
+ end
39
+ class ThrottledException < ::Aws::Errors::ServiceError
40
+ def message: () -> ::String
41
+ end
42
+ class TooManyTagsException < ::Aws::Errors::ServiceError
43
+ def message: () -> ::String
44
+ def resource_name: () -> ::String
45
+ end
46
+ end
47
+ end
48
+ end
data/sig/resource.rbs ADDED
@@ -0,0 +1,79 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module XRay
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/XRay/Resource.html
11
+ class Resource
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/XRay/Resource.html#initialize-instance_method
13
+ def initialize: (
14
+ ?client: Client,
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?stub_responses: untyped,
52
+ ?token_provider: untyped,
53
+ ?use_dualstack_endpoint: bool,
54
+ ?use_fips_endpoint: bool,
55
+ ?validate_params: bool,
56
+ ?endpoint_provider: untyped,
57
+ ?http_proxy: String,
58
+ ?http_open_timeout: (Float | Integer),
59
+ ?http_read_timeout: (Float | Integer),
60
+ ?http_idle_timeout: (Float | Integer),
61
+ ?http_continue_timeout: (Float | Integer),
62
+ ?ssl_timeout: (Float | Integer | nil),
63
+ ?http_wire_trace: bool,
64
+ ?ssl_verify_peer: bool,
65
+ ?ssl_ca_bundle: String,
66
+ ?ssl_ca_directory: String,
67
+ ?ssl_ca_store: String,
68
+ ?on_chunk_received: Proc,
69
+ ?on_chunk_sent: Proc,
70
+ ?raise_response_errors: bool
71
+ ) -> void
72
+ | (?Hash[Symbol, untyped]) -> void
73
+
74
+ def client: () -> Client
75
+
76
+
77
+ end
78
+ end
79
+ end