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-aioboto3 for EFS service.

# install with aioboto3 type annotations
python -m pip install 'types-aioboto3[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-aioboto3-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.client("efs") as EFSClient boto3 documentation

# EFSClient usage example

from aioboto3.session import Session

from types_aiobotocore_efs.client import EFSClient


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

Paginators#

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

# DescribeAccessPointsPaginator usage example

from types_aiobotocore_efs.paginator import DescribeAccessPointsPaginator

def get_describe_access_points_paginator() -> DescribeAccessPointsPaginator:
    return client.get_paginator("describe_access_points"))

Literals#

Type annotations for literals used in methods and schema.

# DescribeAccessPointsPaginatorName usage example

from types_aiobotocore_efs.literals import DescribeAccessPointsPaginatorName

def get_value() -> DescribeAccessPointsPaginatorName:
    return "describe_access_points"

Type definitions#

Type annotations for type definitions used in methods and schema.