Skip to content

FMS module#

Index > FMS

Auto-generated documentation for FMS type annotations stubs module types-aiobotocore-fms.

How to install#

From PyPI with pip#

Install types-aiobotocore for FMS service.

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


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


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

How to uninstall#

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

Usage#

Code samples can be found in Examples.

FMSClient#

Type annotations and code completion for session.create_client("fms") as FMSClient boto3 documentation

# FMSClient usage example

from aiobotocore.session import get_session

from types_aiobotocore_fms.client import FMSClient


session = get_session()
async with session.create_client("fms") as client:
    client: FMSClient

Paginators#

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

# ListAdminAccountsForOrganizationPaginator usage example

from types_aiobotocore_fms.paginator import ListAdminAccountsForOrganizationPaginator

def get_list_admin_accounts_for_organization_paginator() -> ListAdminAccountsForOrganizationPaginator:
    return client.get_paginator("list_admin_accounts_for_organization"))

Literals#

Type annotations for literals used in methods and schema.

# AccountRoleStatusType usage example

from types_aiobotocore_fms.literals import AccountRoleStatusType

def get_value() -> AccountRoleStatusType:
    return "CREATING"

Type definitions#

Type annotations for type definitions used in methods and schema.