{"id":24761,"library":"types-aiobotocore-wafv2","title":"types-aiobotocore-wafv2","description":"Type annotations for aiobotocore WAFV2 service (version 3.5.0), generated by mypy-boto3-builder 8.12.0. Provides static typing stubs for AWS WAFV2 async client and service resources when using aiobotocore. Compatible with Python >=3.9.","status":"active","version":"3.5.0","language":"python","source_language":"en","source_url":"https://github.com/youtype/mypy_boto3_builder","tags":["aws","aiobotocore","wafv2","type-hints","mypy","boto3"],"install":[{"cmd":"pip install 'types-aiobotocore-wafv2'","lang":"bash","label":"Install from PyPI"}],"dependencies":[{"reason":"Runtime dependency for AWS SDK interactions; stubs are used with aiobotocore.","package":"aiobotocore","optional":false},{"reason":"Required for Python 3.9 compatibility with certain type constructs.","package":"typing-extensions","optional":true}],"imports":[{"wrong":"from types_aiobotocore_wafv2 import WAFV2Client","symbol":"WAFV2Client","correct":"from types_aiobotocore_wafv2 import WAFV2Client"}],"quickstart":{"code":"import os\nfrom types_aiobotocore_wafv2 import WAFV2Client\n\nasync def get_web_acls():\n    # Replace with actual credentials\n    session = aiobotocore.session.AioSession()\n    async with session.create_client('wafv2', region_name='us-east-1',\n                                      aws_access_key_id=os.environ.get('AWS_ACCESS_KEY_ID', ''),\n                                      aws_secret_access_key=os.environ.get('AWS_SECRET_ACCESS_KEY', '')) as client:\n        # client is now type-annotated as WAFV2Client\n        result = await client.list_web_acls(Scope='REGIONAL')\n        return result['WebACLs']","lang":"python","description":"Async client initialization with type annotations for WAFV2."},"warnings":[{"fix":"Update any hardcoded type names to match the new shorter pattern. Check your type hints for any RequestRequestTypeDef suffixes.","message":"Version 8.9.0 of the builder introduced breaking changes: TypeDefs for packed method arguments use shorter names (e.g., CreateDistributionRequestRequestTypeDef -> CreateDistributionRequestTypeDef). This affects type definitions inherited from the builder.","severity":"breaking","affected_versions":">=3.5.0"},{"fix":"Upgrade your Python runtime to 3.9 or later.","message":"Python 3.8 support was removed in version 8.12.0. This package requires Python >=3.9.","severity":"deprecated","affected_versions":">=3.5.0"},{"fix":"Install aiobotocore (e.g., pip install aiobotocore) alongside this stubs package.","message":"The package only provides type stubs. It does not include the actual aiobotocore client implementation. You must have aiobotocore and boto3 installed separately.","severity":"gotcha","affected_versions":"all"},{"fix":"Use import from types_aiobotocore_wafv2, not from types_aiobotocore_wafv2 (can't import with hyphens).","message":"The top-level package name is types_aiobotocore_wafv2 (with underscores), not types-aiobotocore-wafv2 (with hyphens). Python import paths use underscores.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'3.5.0':12 '3.9':38 '8.12.0':19 'aiobotocor':3,8,34,40 'annot':6 'async':27 'aw':25,39 'boto3':17,46 'builder':18 'client':28 'compat':35 'generat':13 'hint':44 'mypi':16,45 'mypy-boto3-builder':15 'provid':20 'python':37 'resourc':31 'servic':10,30 'static':21 'stub':23 'type':2,5,22,43 'type-hint':42 'types-aiobotocore-wafv2':1 'use':33 'version':11 'wafv2':4,9,26,41","created_at":"2026-05-01T08:14:47.538795+00:00","updated_at":"2026-05-01T08:14:47.538795+00:00","problems":{"verify_error":"Traceback (most recent call last):\n  File \"<string>\", line 1, in <module>\n  File \"/tmp/tmp6whg9w6z/venv/lib/python3.12/site-packages/types_aiobotocore_wafv2/__init__.py\", line 25, in <module>\n    from .client import WAFV2Client\n  File \"/tmp/tmp6whg9w6z/venv/lib/python3.12/site-packages/types_aioboto"},"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":"3.7.0","cli_name":"","cli_version":null,"type":"library","homepage":null,"github":"https://github.com/youtype/mypy_boto3_builder","docs":"https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_wafv2/","changelog":null,"pypi":"https://pypi.org/project/types-aiobotocore-wafv2/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["type-stubs","aws"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"import_fail","verified_at":"2026-07-03","last_verified":"2026-07-03","next_check":"2026-07-10","install_tag":null}}