All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
org.sonar.python.types.typeshed.third_party.2and3.boto.s3.acl.pyi Maven / Gradle / Ivy
from typing import Any, Dict, List, Optional, Text, Union
from .connection import S3Connection
from .user import User
CannedACLStrings: List[str]
class Policy:
parent: Any
namespace: Any
acl: ACL
def __init__(self, parent: Optional[Any] = ...) -> None: ...
owner: User
def startElement(self, name: Text, attrs: Dict[str, Any], connection: S3Connection) -> Union[None, User, ACL]: ...
def endElement(self, name: Text, value: Any, connection: S3Connection) -> None: ...
def to_xml(self) -> str: ...
class ACL:
policy: Policy
grants: List[Grant]
def __init__(self, policy: Optional[Policy] = ...) -> None: ...
def add_grant(self, grant: Grant) -> None: ...
def add_email_grant(self, permission: Text, email_address: Text) -> None: ...
def add_user_grant(self, permission: Text, user_id: Text, display_name: Optional[Text] = ...) -> None: ...
def startElement(self, name, attrs, connection): ...
def endElement(self, name: Text, value: Any, connection: S3Connection) -> None: ...
def to_xml(self) -> str: ...
class Grant:
NameSpace: Text
permission: Text
id: Text
display_name: Text
uri: Text
email_address: Text
type: Text
def __init__(
self,
permission: Optional[Text] = ...,
type: Optional[Text] = ...,
id: Optional[Text] = ...,
display_name: Optional[Text] = ...,
uri: Optional[Text] = ...,
email_address: Optional[Text] = ...,
) -> None: ...
def startElement(self, name, attrs, connection): ...
def endElement(self, name: Text, value: Any, connection: S3Connection) -> None: ...
def to_xml(self) -> str: ...