{"id":46705,"library":"types-boto3-cloudfront","title":"types-boto3-cloudfront","description":"Type annotations for boto3 CloudFront service. This package provides static type checking stubs for AWS CloudFront API, generated by mypy-boto3-builder. Current version 1.43.8 follows boto3 CloudFront 1.43.8 API. Release cadence matches AWS SDK updates.","status":"active","version":"1.43.8","language":"python","source_language":"en","source_url":"https://github.com/youtype/mypy_boto3_builder","tags":["boto3","cloudfront","type-stubs","mypy","aws"],"install":[{"cmd":"pip install types-boto3-cloudfront","lang":"bash","label":"Default installation"}],"dependencies":[{"reason":"Runtime dependency for AWS SDK operations; types only apply with boto3 installed.","package":"boto3","optional":false},{"reason":"Sometimes used interchangeably, but types-boto3-cloudfront is the standalone typing package.","package":"mypy-boto3-cloudfront","optional":true}],"imports":[{"wrong":"from mypy_boto3_cloudfront import CloudFrontClient","symbol":"CloudFrontClient","correct":"from types_boto3_cloudfront import CloudFrontClient"}],"quickstart":{"code":"import boto3\nfrom mypy_boto3_cloudfront import CloudFrontClient\n\nclient: CloudFrontClient = boto3.client('cloudfront', region_name='us-east-1')\ndistributions = client.list_distributions()\nprint(distributions)","lang":"python","description":"Typed CloudFront client usage with mypy static type checking."},"warnings":[{"fix":"Install boto3 alongside this package.","message":"The package only provides type stubs, not runtime code. Ensure boto3 is installed separately.","severity":"gotcha","affected_versions":"all"},{"fix":"Update the package or manually add ignored type hints.","message":"Type stubs may lag behind boto3 API changes. If you see type errors for new APIs, the stubs may be outdated.","severity":"gotcha","affected_versions":"all"},{"fix":"Use from mypy_boto3_cloudfront import ... instead of from boto3.cloudfront import ...","message":"Version 1.0.0+ adopted consistent naming with mypy_boto3_cloudfront. Old imports from boto3 stubs may break.","severity":"breaking","affected_versions":"<1.0"}],"env_vars":null,"search_vec":"'1.43.8':30,34 'annot':6 'api':21,35 'aw':19,39,48 'boto3':3,8,26,32,42 'builder':27 'cadenc':37 'check':16 'cloudfront':4,9,20,33,43 'current':28 'follow':31 'generat':22 'match':38 'mypi':25,47 'mypy-boto3-builder':24 'packag':12 'provid':13 'releas':36 'sdk':40 'servic':10 'static':14 'stub':17,46 'type':2,5,15,45 'type-stub':44 'types-boto3-cloudfront':1 'updat':41 'version':29","created_at":"2026-06-07T13:01:13.410310+00:00","updated_at":"2026-06-07T13:01:13.410310+00:00","problems":{"verify_error":"Traceback (most recent call last):\n  File \"<string>\", line 1, in <module>\n  File \"/tmp/tmpb1lhb83u/venv/lib/python3.12/site-packages/types_boto3_cloudfront/__init__.py\", line 66, in <module>\n    from .client import CloudFrontClient\n  File \"/tmp/tmpb1lhb83u/venv/lib/python3.12/site-packages/types_bot"},"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/youtype/mypy_boto3_builder","github":"https://github.com/youtype/mypy_boto3_builder","docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["devops"],"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}}