Client
Auto-generated documentation for mypy_boto3_builder.structures.client module.
Boto3 Client.
- mypy-boto3-builder / Modules / Mypy Boto3 Builder / Structures / Client
Client
class Client(ClassRecord):
def __init__(
name: str,
service_name: ServiceName,
boto3_client: BaseClient,
) -> None:
Boto3 Client.
See also
Client().__hash__
def __hash__() -> int:
Calculate hash from client service name.
Client().boto3_doc_link
@property
def boto3_doc_link() -> str:
List to boto3 docs page.
Client().get_all_names
def get_all_names() -> list[str]:
Get a list of names for __all__
statement.
Client.get_class_name
@staticmethod
def get_class_name(service_name: ServiceName) -> str:
Get class name for ServiceName.
See also
Client().get_example_method
def get_example_method() -> Method | None:
Get a nice method with return TypedDict for documentation.
Client().get_exceptions_property
def get_exceptions_property() -> Method:
Generate Client exceptions property.
See also
Client().get_required_import_records
def get_required_import_records() -> set[ImportRecord]:
Extract import records from required type annotations.
See also
Client().own_methods
@property
def own_methods() -> Iterator[Method]:
Get a list of auto-generated methods.