massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / coc-python-data / languageServer.0.5.59 / Typeshed / third_party / 2and3 / boto / s3 / website.pyi
1 from typing import Any, Optional\r
2 \r
3 def tag(key, value): ...\r
4 \r
5 class WebsiteConfiguration:\r
6     suffix = ...  # type: Any\r
7     error_key = ...  # type: Any\r
8     redirect_all_requests_to = ...  # type: Any\r
9     routing_rules = ...  # type: Any\r
10     def __init__(self, suffix: Optional[Any] = ..., error_key: Optional[Any] = ..., redirect_all_requests_to: Optional[Any] = ..., routing_rules: Optional[Any] = ...) -> None: ...\r
11     def startElement(self, name, attrs, connection): ...\r
12     def endElement(self, name, value, connection): ...\r
13     def to_xml(self): ...\r
14 \r
15 class _XMLKeyValue:\r
16     translator = ...  # type: Any\r
17     container = ...  # type: Any\r
18     def __init__(self, translator, container: Optional[Any] = ...) -> None: ...\r
19     def startElement(self, name, attrs, connection): ...\r
20     def endElement(self, name, value, connection): ...\r
21     def to_xml(self): ...\r
22 \r
23 class RedirectLocation(_XMLKeyValue):\r
24     TRANSLATOR = ...  # type: Any\r
25     hostname = ...  # type: Any\r
26     protocol = ...  # type: Any\r
27     def __init__(self, hostname: Optional[Any] = ..., protocol: Optional[Any] = ...) -> None: ...\r
28     def to_xml(self): ...\r
29 \r
30 class RoutingRules(list):\r
31     def add_rule(self, rule): ...\r
32     def startElement(self, name, attrs, connection): ...\r
33     def endElement(self, name, value, connection): ...\r
34     def to_xml(self): ...\r
35 \r
36 class RoutingRule:\r
37     condition = ...  # type: Any\r
38     redirect = ...  # type: Any\r
39     def __init__(self, condition: Optional[Any] = ..., redirect: Optional[Any] = ...) -> None: ...\r
40     def startElement(self, name, attrs, connection): ...\r
41     def endElement(self, name, value, connection): ...\r
42     def to_xml(self): ...\r
43     @classmethod\r
44     def when(cls, key_prefix: Optional[Any] = ..., http_error_code: Optional[Any] = ...): ...\r
45     def then_redirect(self, hostname: Optional[Any] = ..., protocol: Optional[Any] = ..., replace_key: Optional[Any] = ..., replace_key_prefix: Optional[Any] = ..., http_redirect_code: Optional[Any] = ...): ...\r
46 \r
47 class Condition(_XMLKeyValue):\r
48     TRANSLATOR = ...  # type: Any\r
49     key_prefix = ...  # type: Any\r
50     http_error_code = ...  # type: Any\r
51     def __init__(self, key_prefix: Optional[Any] = ..., http_error_code: Optional[Any] = ...) -> None: ...\r
52     def to_xml(self): ...\r
53 \r
54 class Redirect(_XMLKeyValue):\r
55     TRANSLATOR = ...  # type: Any\r
56     hostname = ...  # type: Any\r
57     protocol = ...  # type: Any\r
58     replace_key = ...  # type: Any\r
59     replace_key_prefix = ...  # type: Any\r
60     http_redirect_code = ...  # type: Any\r
61     def __init__(self, hostname: Optional[Any] = ..., protocol: Optional[Any] = ..., replace_key: Optional[Any] = ..., replace_key_prefix: Optional[Any] = ..., http_redirect_code: Optional[Any] = ...) -> None: ...\r
62     def to_xml(self): ...\r