Skip to content

WAFRegional module

Index > WAFRegional

Auto-generated documentation for WAFRegional type annotations stubs module types-aiobotocore-waf-regional.

How to install

From PyPI with pip

Install types-aioboto3 for WAFRegional service.

# install with aioboto3 type annotations
python -m pip install 'types-aioboto3[waf-regional]'


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


# standalone installation
python -m pip install types-aiobotocore-waf-regional

How to uninstall

python -m pip uninstall -y types-aiobotocore-waf-regional

Usage

Code samples can be found in Examples.

WAFRegionalClient

Type annotations and code completion for session.client("waf-regional") as WAFRegionalClient boto3 documentation

Usage example
from aioboto3.session import Session

from types_aiobotocore_waf_regional.client import WAFRegionalClient


session = Session()
async with session.client("waf-regional") as client:
    client: WAFRegionalClient

Literals

Type annotations for literals used in methods and schema.

Usage example
from types_aiobotocore_waf_regional.literals import ChangeActionType

def get_value() -> ChangeActionType:
    return "DELETE"

Typed dictionaries

Type annotations for typed dictionaries used in methods and schema.

Usage example
from types_aiobotocore_waf_regional.type_defs import ExcludedRuleTypeDef

def get_value() -> ExcludedRuleTypeDef:
    return {
        "RuleId": ...,
    }