Client

Auto-generated documentation for mypy_boto3_builder.structures.client module.

Boto3 Client.

Client

[find in source code]

class Client(ClassRecord):
    def __init__(
        name: str,
        service_name: ServiceName,
        boto3_client: BaseClient,
    ) -> None:

Boto3 Client.

See also

Client().__hash__

[find in source code]

def __hash__() -> int:

Calculate hash from client service name.

[find in source code]

@property
def boto3_doc_link() -> str:

List to boto3 docs page.

Client().get_all_names

[find in source code]

def get_all_names() -> list[str]:

Get a list of names for __all__ statement.

Client.get_class_name

[find in source code]

@staticmethod
def get_class_name(service_name: ServiceName) -> str:

Get class name for ServiceName.

See also

Client().get_example_method

[find in source code]

def get_example_method() -> Method | None:

Get a nice method with return TypedDict for documentation.

Client().get_exceptions_property

[find in source code]

def get_exceptions_property() -> Method:

Generate Client exceptions property.

See also

Client().get_required_import_records

[find in source code]

def get_required_import_records() -> set[ImportRecord]:

Extract import records from required type annotations.

See also

Client().own_methods

[find in source code]

@property
def own_methods() -> Iterator[Method]:

Get a list of auto-generated methods.

See also