Skip to content

WAFV2 module#

Index > WAFV2

Auto-generated documentation for WAFV2 type annotations stubs module types-aiobotocore-wafv2.

How to install#

From PyPI with pip#

Install types-aiobotocore for WAFV2 service.

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


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


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

How to uninstall#

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

Usage#

Code samples can be found in Examples.

WAFV2Client#

Type annotations and code completion for session.create_client("wafv2") as WAFV2Client boto3 documentation

# WAFV2Client usage example

from aiobotocore.session import get_session

from types_aiobotocore_wafv2.client import WAFV2Client


session = get_session()
async with session.create_client("wafv2") as client:
    client: WAFV2Client

Literals#

Type annotations for literals used in methods and schema.

# ActionValueType usage example

from types_aiobotocore_wafv2.literals import ActionValueType

def get_value() -> ActionValueType:
    return "ALLOW"

Type definitions#

Type annotations for type definitions used in methods and schema.