Skip to content

EFS module#

Index > EFS

Auto-generated documentation for EFS type annotations stubs module types-aiobotocore-efs.

How to install#

From PyPI with pip#

Install types-aiobotocore for EFS service.

# install with aiobotocore type annotations
python -m pip install 'types-aiobotocore[efs]'


# 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[efs]'


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

How to uninstall#

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

Usage#

Code samples can be found in Examples.

EFSClient#

Type annotations and code completion for session.create_client("efs") as EFSClient boto3 documentation

# EFSClient usage example

from aiobotocore.session import get_session

from types_aiobotocore_efs.client import EFSClient


session = get_session()
async with session.create_client("efs") as client:
    client: EFSClient

Paginators#

Type annotations and code completion for paginators from session.create_client("efs").get_paginator("...").

# DescribeFileSystemsPaginator usage example

from types_aiobotocore_efs.paginator import DescribeFileSystemsPaginator

def get_describe_file_systems_paginator() -> DescribeFileSystemsPaginator:
    return client.get_paginator("describe_file_systems"))

Literals#

Type annotations for literals used in methods and schema.

# DescribeFileSystemsPaginatorName usage example

from types_aiobotocore_efs.literals import DescribeFileSystemsPaginatorName

def get_value() -> DescribeFileSystemsPaginatorName:
    return "describe_file_systems"

Type definitions#

Type annotations for type definitions used in methods and schema.