{"id":24759,"library":"types-aiobotocore-sesv2","title":"types-aiobotocore-sesv2","description":"Type annotations for aiobotocore SESV2 service, generated by mypy-boto3-builder. Version 3.5.0, monthly releases aligned with aiobotocore.","status":"active","version":"3.5.0","language":"python","source_language":"en","source_url":"https://github.com/youtype/mypy_boto3_builder","tags":["aws","sesv2","type-annotations","mypy","aiobotocore"],"install":[{"cmd":"pip install types-aiobotocore-sesv2","lang":"bash","label":"pip install"},{"cmd":"pip install 'types-aiobotocore-sesv2[doc]'","lang":"bash","label":"with documentation support"}],"dependencies":[{"reason":"Runtime dependency for AWS SDK calls","package":"aiobotocore","optional":false}],"imports":[{"note":"Direct import from aiobotocore lacks type annotations","wrong":"from aiobotocore.client import SESV2Client","symbol":"SESV2Client","correct":"from types_aiobotocore_sesv2 import SESV2Client"},{"note":"Service resource type is provided by this package","wrong":"from aiobotocore.resources import SESV2ServiceResource","symbol":"SESV2ServiceResource","correct":"from types_aiobotocore_sesv2 import SESV2ServiceResource"},{"note":"Type defs are in a separate module","wrong":"try importing directly from mypy-boto3-builder","symbol":"GetAccountOutputTypeDef","correct":"from types_aiobotocore_sesv2.type_defs import GetAccountOutputTypeDef"}],"quickstart":{"code":"import os\nfrom types_aiobotocore_sesv2 import SESV2Client\n\nsession = aiobotocore.session.AioSession()\nasync def main():\n    async with session.create_client('sesv2', 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 type is SESV2Client\n        response = await client.get_account()\n        print(response['DedicatedIpAutoWarmupEnabled'])\n","lang":"python","description":"Creates an SESV2 client with type annotations, making a GetAccount call."},"warnings":[{"fix":"Upgrade to Python 3.9 or later.","message":"Python 3.8 support removed starting from version 8.12.0 (mypy-boto3-builder). Ensure your runtime is Python 3.9+.","severity":"breaking","affected_versions":">=8.12.0"},{"fix":"Update your imports to use the new shorter TypeDef names.","message":"TypeDef naming changed in builder 8.9.0: longer names like 'CreateDistributionRequestRequestTypeDef' were shortened to 'CreateDistributionRequestTypeDef'. This may break existing type references.","severity":"breaking","affected_versions":"types-aiobotocore-sesv2 packages built with builder >=8.9.0"},{"fix":"Install both: pip install aiobotocore types-aiobotocore-sesv2","message":"The package only provides type stubs. You must also install aiobotocore at runtime.","severity":"gotcha","affected_versions":"all"},{"fix":"Use: from types_aiobotocore_sesv2 import SESV2Client","message":"Do NOT import directly from aiobotocore.client; use the type stubs from this package for proper type checking.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"pip install types-aiobotocore-sesv2","cause":"Package not installed","error":"ModuleNotFoundError: No module named 'types_aiobotocore_sesv2'"},{"fix":"Ensure types-aiobotocore-sesv2 is installed in the same environment as your project.","cause":"IDE using wrong Python interpreter or missing stub package","error":"Cannot find reference 'SESV2Client' in '__init__.py'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}