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

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("...").

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.

Usage example
from types_aiobotocore_efs.literals import DescribeFileSystemsPaginatorName

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

Typed dictionaries

Type annotations for typed dictionaries used in methods and schema.

Usage example
from types_aiobotocore_efs.type_defs import PosixUserTypeDef

def get_value() -> PosixUserTypeDef:
    return {
        "Uid": ...,
        "Gid": ...,
    }