{"id":3629,"library":"mypy-boto3-mediapackage-vod","title":"mypy-boto3-mediapackage-vod","description":"mypy-boto3-mediapackage-vod provides static type annotations for the `boto3` MediaPackageVod service client, enhancing development with improved IDE auto-completion, static analysis, and early error detection. It is version 1.42.3 and is actively maintained, with releases tied to updates in `boto3` and its generator, `mypy-boto3-builder`.","status":"active","version":"1.42.3","language":"python","source_language":"en","source_url":"https://github.com/youtype/mypy_boto3_builder","tags":["aws","boto3","mypy","type-hints","stubs","mediapackage-vod"],"install":[{"cmd":"pip install mypy-boto3-mediapackage-vod","lang":"bash","label":"Install package"}],"dependencies":[{"reason":"Provides the actual runtime functionality for AWS services; this package only adds type annotations.","package":"boto3","optional":false},{"reason":"Requires Python 3.9 or newer.","package":"python","optional":false}],"imports":[{"wrong":"from mypy_boto3_mediapackage_vod import MediaPackageVodClient","symbol":"MediaPackageVodClient","correct":"from mypy_boto3_mediapackage_vod import MediaPackageVodClient"}],"quickstart":{"code":"import boto3\nfrom typing import TYPE_CHECKING\n\nif TYPE_CHECKING:\n    from mypy_boto3_mediapackage_vod.client import MediaPackageVodClient\n    from mypy_boto3_mediapackage_vod.type_defs import ListAssetsResponseTypeDef\n\ndef list_vod_assets() -> ListAssetsResponseTypeDef:\n    # mypy-boto3-mediapackage-vod provides type hints for the client\n    client: MediaPackageVodClient = boto3.client(\"mediapackage-vod\")\n    response = client.list_assets()\n    return response\n\nif __name__ == \"__main__\":\n    # Example usage (requires AWS credentials configured)\n    try:\n        assets = list_vod_assets()\n        print(f\"Found {len(assets.get('Assets', []))} MediaPackage VOD assets.\")\n    except Exception as e:\n        print(f\"Error listing assets: {e}\")","lang":"python","description":"This quickstart demonstrates how to initialize a `boto3` MediaPackageVod client with type hints provided by `mypy-boto3-mediapackage-vod`. The `TYPE_CHECKING` block ensures that type imports are only active during static analysis, preventing runtime dependencies. The example then calls `list_assets` and uses the typed response."},"warnings":[{"fix":"Upgrade your Python environment to version 3.9 or newer. The `requires_python` metadata explicitly states `>=3.9`.","message":"Support for Python 3.8 was removed in `mypy-boto3-builder` version 8.12.0, affecting all generated `mypy-boto3` stub packages, including `mypy-boto3-mediapackage-vod`. Projects using Python 3.8 will no longer receive type hints or updates from this version onwards.","severity":"breaking","affected_versions":">=1.42.0 (corresponding to mypy-boto3-builder 8.12.0)"},{"fix":"Ensure your `mypy` and build environment are up-to-date and correctly configured to recognize PEP 561 stub-only packages. Most modern Python tooling should handle this automatically.","message":"The `mypy-boto3-builder` (which generates this package) migrated to PEP 561 compliant packages in version 8.12.0. This change might affect how some build systems or older static analysis tools interpret the stub distribution.","severity":"breaking","affected_versions":">=1.42.0 (corresponding to mypy-boto3-builder 8.12.0)"},{"fix":"Always ensure you have `pip install boto3` in your project's dependencies alongside `mypy-boto3-mediapackage-vod`.","message":"This package provides only type annotations; it does NOT install or include `boto3` itself. For your application to run, `boto3` must be installed separately in your environment.","severity":"gotcha","affected_versions":"All versions"},{"fix":"If your code explicitly imports or references generated `TypedDict` names, you may need to update these references to match the new naming conventions.","message":"Breaking changes were introduced in `mypy-boto3-builder` 8.9.0 regarding `TypedDict` naming conventions. Specifically, method argument `TypeDef`s now use shorter names (e.g., `CreateDistributionRequestRequestTypeDef` -> `CreateDistributionRequestTypeDef`), and conflicting `TypeDef` `Extra` postfixes were moved to the end (e.g., `CreateDistributionExtraRequestTypeDef` -> `CreateDistributionRequestExtraTypeDef`).","severity":"breaking","affected_versions":">=1.42.0 (corresponding to mypy-boto3-builder 8.9.0)"},{"fix":"Add explicit type hints to your `boto3` client/resource instantiations, e.g., `client: MediaPackageVodClient = boto3.client('mediapackage-vod')`.","message":"While many IDEs and `mypy` can infer types, explicitly annotating `boto3.client` and `boto3.resource` calls with the imported client/resource types from `mypy_boto3_servicename` can improve accuracy, especially in IDEs like VSCode or when using 'lite' stub versions.","severity":"gotcha","affected_versions":"All versions"}],"env_vars":null,"search_vec":"'1.42.3':38 'activ':41 'analysi':30 'annot':14 'auto':27 'auto-complet':26 'aw':57 'boto3':3,8,17,49,55,58 'builder':56 'client':20 'complet':28 'detect':34 'develop':22 'earli':32 'enhanc':21 'error':33 'generat':52 'hint':62 'ide':25 'improv':24 'maintain':42 'mediapackag':4,9,65 'mediapackage-vod':64 'mediapackagevod':18 'mypi':2,7,54,59 'mypy-boto3-builder':53 'mypy-boto3-mediapackage-vod':1,6 'provid':11 'releas':44 'servic':19 'static':12,29 'stub':63 'tie':45 'type':13,61 'type-hint':60 'updat':47 'version':37 'vod':5,10,66","created_at":"2026-04-11T17:37:50.971385+00:00","updated_at":"2026-04-16T17:04:15.866391+00:00","problems":{"verify_error":"Traceback (most recent call last):\n  File \"<string>\", line 1, in <module>\n  File \"/tmp/tmp_6y3t36f/venv/lib/python3.12/site-packages/mypy_boto3_mediapackage_vod/__init__.py\", line 29, in <module>\n    from .client import MediaPackageVodClient\n  File \"/tmp/tmp_6y3t36f/venv/lib/python3.12/site-packages"},"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":"1.43.0","cli_name":"","cli_version":null,"type":"library","homepage":null,"github":"https://github.com/youtype/mypy_boto3_builder","docs":"https://youtype.github.io/boto3_stubs_docs/mypy_boto3_mediapackage_vod/","changelog":null,"pypi":"https://pypi.org/project/mypy-boto3-mediapackage-vod/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["type-stubs","aws"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"passing","verified_at":"2026-07-03","last_verified":"2026-08-29","next_check":"2026-07-10","install_tag":null}}