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-aiobotocore for LakeFormation service.

# install with aiobotocore type annotations
python -m pip install 'types-aiobotocore[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-aiobotocore-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.create_client("lakeformation") as LakeFormationClient boto3 documentation

# LakeFormationClient usage example

from aiobotocore.session import get_session

from types_aiobotocore_lakeformation.client import LakeFormationClient


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

Paginators#

Type annotations and code completion for paginators from session.create_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.

# ComparisonOperatorType usage example

from types_aiobotocore_lakeformation.literals import ComparisonOperatorType

def get_value() -> ComparisonOperatorType:
    return "BEGINS_WITH"

Type definitions#

Type annotations for type definitions used in methods and schema.