Skip to content

ServiceName#

Mypy_boto3_builder Index / Mypy Boto3 Builder / ServiceName

Auto-generated documentation for mypy_boto3_builder.service_name module.

ServiceName#

Show source in service_name.py:15

Description for boto3 service.

Signature#

class ServiceName:
    def __init__(
        self, name: str, class_name: str, override_boto3_name: str = ""
    ) -> None: ...

ServiceName().hash#

Show source in service_name.py:48

Calculate hash value based on service name.

Signature#

def __hash__(self) -> int: ...

ServiceName().str#

Show source in service_name.py:54

Represent as string for debugging.

Signature#

def __str__(self) -> str: ...

Show source in service_name.py:104

Link to boto3 docs.

Signature#

@property
def boto3_doc_link(self) -> str: ...

ServiceName().boto3_name#

Show source in service_name.py:67

Boto3 package name.

Signature#

@property
def boto3_name(self) -> str: ...

ServiceName().extras_name#

Show source in service_name.py:85

Extras name for subpackage installation.

Signature#

@property
def extras_name(self) -> str: ...

Show source in service_name.py:114

Get link to boto3 docs with anchor.

Arguments#

  • parts - Anchor parts

Signature#

def get_boto3_doc_link(self, *parts: str) -> str: ...

Show source in service_name.py:123

Get link to MD docs with anchor.

Arguments#

  • file - HTML file name
  • parts - Anchor parts

Signature#

@staticmethod
def get_md_doc_link(
    file: Literal[
        "client", "service_resource", "waiters", "paginators", "type_defs", "literals"
    ],
    *parts: str
) -> str: ...

ServiceName().import_name#

Show source in service_name.py:74

Safe mudule import name.

Signature#

@property
def import_name(self) -> str: ...

ServiceName().is_conda_forge_available#

Show source in service_name.py:98

Whether service is available for conda-forge.

Signature#

def is_conda_forge_available(self) -> bool: ...

ServiceName().is_essential#

Show source in service_name.py:92

Whether service is included to boto3-stubs[essential].

Signature#

def is_essential(self) -> bool: ...

ServiceName().underscore_name#

Show source in service_name.py:60

Python-friendly service name.

Signature#

@property
def underscore_name(self) -> str: ...

ServiceNameCatalog#

Show source in service_name.py:149

Finder for boto3 services by name.

Signature#

class ServiceNameCatalog: ...

ServiceNameCatalog.add#

Show source in service_name.py:193

Add new ServiceName to catalog or modify existing one.

Returns#

New ServiceName or modified if it exists.

Signature#

@classmethod
def add(cls, name: str, class_name: str) -> ServiceName: ...

See also#