| Server IP : 35.80.110.71 / Your IP : 216.73.216.221 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ip-172-31-21-44 6.17.0-1019-aws #19~24.04.1-Ubuntu SMP Tue Jun 23 18:53:06 UTC 2026 x86_64 User : ubuntu ( 1000) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/boto-stubs/s3/ |
Upload File : |
from _typeshed import Incomplete
from typing import Any
from .connection import S3Connection
from .user import User
CannedACLStrings: list[str]
class Policy:
parent: Any
namespace: Any
acl: ACL
def __init__(self, parent: Incomplete | None = None) -> None: ...
owner: User
def startElement(self, name: str, attrs: dict[str, Any], connection: S3Connection) -> None | User | ACL: ...
def endElement(self, name: str, value: Any, connection: S3Connection) -> None: ...
def to_xml(self) -> str: ...
class ACL:
policy: Policy
grants: list[Grant]
def __init__(self, policy: Policy | None = None) -> None: ...
def add_grant(self, grant: Grant) -> None: ...
def add_email_grant(self, permission: str, email_address: str) -> None: ...
def add_user_grant(self, permission: str, user_id: str, display_name: str | None = None) -> None: ...
def startElement(self, name, attrs, connection): ...
def endElement(self, name: str, value: Any, connection: S3Connection) -> None: ...
def to_xml(self) -> str: ...
class Grant:
NameSpace: str
permission: str
id: str
display_name: str
uri: str
email_address: str
type: str
def __init__(
self,
permission: str | None = None,
type: str | None = None,
id: str | None = None,
display_name: str | None = None,
uri: str | None = None,
email_address: str | None = None,
) -> None: ...
def startElement(self, name, attrs, connection): ...
def endElement(self, name: str, value: Any, connection: S3Connection) -> None: ...
def to_xml(self) -> str: ...