--- /dev/null
+from typing import Any, Optional\r
+\r
+def tag(key, value): ...\r
+\r
+class WebsiteConfiguration:\r
+ suffix = ... # type: Any\r
+ error_key = ... # type: Any\r
+ redirect_all_requests_to = ... # type: Any\r
+ routing_rules = ... # type: Any\r
+ def __init__(self, suffix: Optional[Any] = ..., error_key: Optional[Any] = ..., redirect_all_requests_to: Optional[Any] = ..., routing_rules: Optional[Any] = ...) -> None: ...\r
+ def startElement(self, name, attrs, connection): ...\r
+ def endElement(self, name, value, connection): ...\r
+ def to_xml(self): ...\r
+\r
+class _XMLKeyValue:\r
+ translator = ... # type: Any\r
+ container = ... # type: Any\r
+ def __init__(self, translator, container: Optional[Any] = ...) -> None: ...\r
+ def startElement(self, name, attrs, connection): ...\r
+ def endElement(self, name, value, connection): ...\r
+ def to_xml(self): ...\r
+\r
+class RedirectLocation(_XMLKeyValue):\r
+ TRANSLATOR = ... # type: Any\r
+ hostname = ... # type: Any\r
+ protocol = ... # type: Any\r
+ def __init__(self, hostname: Optional[Any] = ..., protocol: Optional[Any] = ...) -> None: ...\r
+ def to_xml(self): ...\r
+\r
+class RoutingRules(list):\r
+ def add_rule(self, rule): ...\r
+ def startElement(self, name, attrs, connection): ...\r
+ def endElement(self, name, value, connection): ...\r
+ def to_xml(self): ...\r
+\r
+class RoutingRule:\r
+ condition = ... # type: Any\r
+ redirect = ... # type: Any\r
+ def __init__(self, condition: Optional[Any] = ..., redirect: Optional[Any] = ...) -> None: ...\r
+ def startElement(self, name, attrs, connection): ...\r
+ def endElement(self, name, value, connection): ...\r
+ def to_xml(self): ...\r
+ @classmethod\r
+ def when(cls, key_prefix: Optional[Any] = ..., http_error_code: Optional[Any] = ...): ...\r
+ 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
+\r
+class Condition(_XMLKeyValue):\r
+ TRANSLATOR = ... # type: Any\r
+ key_prefix = ... # type: Any\r
+ http_error_code = ... # type: Any\r
+ def __init__(self, key_prefix: Optional[Any] = ..., http_error_code: Optional[Any] = ...) -> None: ...\r
+ def to_xml(self): ...\r
+\r
+class Redirect(_XMLKeyValue):\r
+ TRANSLATOR = ... # type: Any\r
+ hostname = ... # type: Any\r
+ protocol = ... # type: Any\r
+ replace_key = ... # type: Any\r
+ replace_key_prefix = ... # type: Any\r
+ http_redirect_code = ... # type: Any\r
+ 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
+ def to_xml(self): ...\r