massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-pyright / node_modules / pyright / dist / typeshed-fallback / stubs / aws-xray-sdk / aws_xray_sdk / core / sampling / local / sampling_rule.pyi
1 from aws_xray_sdk.core.utils.search_pattern import wildcard_match as wildcard_match
2
3 from ...exceptions.exceptions import InvalidSamplingManifestError as InvalidSamplingManifestError
4 from .reservoir import Reservoir as Reservoir
5
6 class SamplingRule:
7     FIXED_TARGET: str
8     RATE: str
9     HOST: str
10     METHOD: str
11     PATH: str
12     SERVICE_NAME: str
13     def __init__(self, rule_dict, version: int = ..., default: bool = ...) -> None: ...
14     def applies(self, host, method, path): ...
15     @property
16     def fixed_target(self): ...
17     @property
18     def rate(self): ...
19     @property
20     def host(self): ...
21     @property
22     def method(self): ...
23     @property
24     def path(self): ...
25     @property
26     def reservoir(self): ...
27     @property
28     def version(self): ...