Skip to content

LakeFormation module#

Index > LakeFormation

Auto-generated documentation for LakeFormation type annotations stubs module types-aiobotocore-lakeformation.

How to install#

From PyPI with pip#

Install types-aioboto3 for LakeFormation service.

# install with aioboto3 type annotations
python -m pip install 'types-aioboto3[lakeformation]'


# Lite version does not provide session.client/resource overloads
# it is more RAM-friendly, but requires explicit type annotations
python -m pip install 'types-aioboto3-lite[lakeformation]'


# standalone installation
python -m pip install types-aiobotocore-lakeformation

How to uninstall#

python -m pip uninstall -y types-aiobotocore-lakeformation

Usage#

Code samples can be found in Examples.

LakeFormationClient#

Type annotations and code completion for session.client("lakeformation") as LakeFormationClient boto3 documentation

# LakeFormationClient usage example

from aioboto3.session import Session

from types_aiobotocore_lakeformation.client import LakeFormationClient


session = Session()
async with session.client("lakeformation") as client:
    client: LakeFormationClient

Paginators#

Type annotations and code completion for paginators from session.client("lakeformation").get_paginator("...").

# GetWorkUnitsPaginator usage example

from types_aiobotocore_lakeformation.paginator import GetWorkUnitsPaginator

def get_get_work_units_paginator() -> GetWorkUnitsPaginator:
    return client.get_paginator("get_work_units"))

Literals#

Type annotations for literals used in methods and schema.

# ApplicationStatusType usage example

from types_aiobotocore_lakeformation.literals import ApplicationStatusType

def get_value() -> ApplicationStatusType:
    return "DISABLED"

Type definitions#

Type annotations for type definitions used in methods and schema.