{"id":3612,"library":"mypy-boto3-launch-wizard","title":"mypy-boto3-launch-wizard","description":"mypy-boto3-launch-wizard provides type annotations for the `boto3` LaunchWizard service. It is currently at version 1.42.30 and is part of the `mypy-boto3` ecosystem, with new versions released regularly in sync with `boto3` updates, generated by `mypy-boto3-builder`.","status":"active","version":"1.42.30","language":"python","source_language":"en","source_url":"https://github.com/youtype/mypy_boto3_builder","tags":["aws","boto3","mypy","type-hints","stubs","launch-wizard","static-analysis"],"install":[{"cmd":"pip install mypy-boto3-launch-wizard","lang":"bash","label":"Install standalone stubs"},{"cmd":"pip install 'boto3-stubs[launch-wizard]'","lang":"bash","label":"Install as part of boto3-stubs"}],"dependencies":[{"reason":"This package provides type stubs for the `boto3` library; `boto3` itself is a runtime dependency for your application.","package":"boto3","optional":false},{"reason":"Required for proper type-checking support on Python versions older than 3.9, and explicitly mentioned in builder release notes.","package":"typing-extensions","optional":true}],"imports":[{"wrong":"from mypy_boto3_launch_wizard import LaunchWizardClient","symbol":"LaunchWizardClient","correct":"from mypy_boto3_launch_wizard import LaunchWizardClient"}],"quickstart":{"code":"import boto3\nfrom typing import TYPE_CHECKING\n\nif TYPE_CHECKING:\n    from mypy_boto3_launch_wizard.client import LaunchWizardClient\n\n\ndef get_launch_wizard_client() -> LaunchWizardClient:\n    \"\"\"Provides a type-hinted AWS LaunchWizard client.\"\"\"\n    # boto3.client is dynamically typed, so explicit annotation is needed for mypy\n    client: LaunchWizardClient = boto3.client(\n        \"launch-wizard\",\n        region_name=os.environ.get('AWS_DEFAULT_REGION', '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', '')\n    )\n    return client\n\n# Example usage:\nif __name__ == \"__main__\":\n    import os\n    client = get_launch_wizard_client()\n    try:\n        # Replace with an actual LaunchWizard API call, e.g., listing deployments\n        # This will provide type hints for available methods and parameters\n        response = client.list_deployments()\n        print(\"Successfully retrieved LaunchWizard deployments (or similar call).\")\n        print(f\"Deployments: {response.get('deployments', [])}\")\n    except Exception as e:\n        print(f\"An error occurred: {e}\")\n        print(\"Ensure AWS credentials and region are configured.\")\n\n","lang":"python","description":"This quickstart demonstrates how to obtain a type-hinted AWS LaunchWizard client using `boto3` and the `mypy-boto3-launch-wizard` stubs. It uses a `TYPE_CHECKING` block to ensure the stubs are only used for static analysis, preventing a runtime dependency if desired."},"warnings":[{"fix":"Upgrade Python to 3.9 or newer.","message":"Python 3.8 support was removed for all `mypy-boto3` packages (including this one) as of `mypy-boto3-builder` version 8.12.0. Users on Python 3.8 or older must upgrade their Python version.","severity":"breaking","affected_versions":">=8.12.0 of mypy-boto3-builder generated packages"},{"fix":"Update your TypeDef import names to match the new shorter conventions or consult the specific service documentation for the correct TypeDef names.","message":"Some TypeDef naming conventions changed in `mypy-boto3-builder` 8.9.0. For example, `CreateDistributionRequestRequestTypeDef` became `CreateDistributionRequestTypeDef`. This can lead to breaking type check errors if you're using explicit TypeDef imports.","severity":"breaking","affected_versions":">=8.9.0 of mypy-boto3-builder generated packages"},{"fix":"Ensure your `mypy` and IDE configurations are up-to-date and correctly configured for PEP 561 type stub discovery. Usually, no manual action is needed if `mypy` is correctly set up.","message":"Starting with `mypy-boto3-builder` 8.12.0, all generated packages migrated to PEP 561 (distribution of type information for Python packages). While this generally improves compatibility, it might require ensuring your type checkers (like mypy) are up-to-date and correctly configured to discover PEP 561 compliant stub packages.","severity":"gotcha","affected_versions":">=8.12.0 of mypy-boto3-builder generated packages"},{"fix":"Consider using `boto3-stubs-lite[launch-wizard]` (if available) or rely on external type checkers like `mypy` or `pyright`.","message":"PyCharm users might experience slow performance and high CPU usage due to an issue with Literal overloads (issue PY-40997). It is recommended to use the `boto3-stubs-lite` version if available for the service or disable PyCharm's type checker and rely on `mypy`/`pyright` instead.","severity":"gotcha","affected_versions":"All versions"}],"env_vars":null,"search_vec":"'1.42.30':24 'analysi':62 'annot':13 'aw':50 'boto3':3,8,16,32,42,48,51 'builder':49 'current':21 'ecosystem':33 'generat':44 'hint':55 'launch':4,9,58 'launch-wizard':57 'launchwizard':17 'mypi':2,7,31,47,52 'mypy-boto3':30 'mypy-boto3-builder':46 'mypy-boto3-launch-wizard':1,6 'new':35 'part':27 'provid':11 'regular':38 'releas':37 'servic':18 'static':61 'static-analysi':60 'stub':56 'sync':40 'type':12,54 'type-hint':53 'updat':43 'version':23,36 'wizard':5,10,59","created_at":"2026-04-11T17:37:05.756668+00:00","updated_at":"2026-04-16T19:03:34.531819+00:00","problems":{"verify_error":"Traceback (most recent call last):\n  File \"<string>\", line 1, in <module>\n  File \"/tmp/tmpror5yh5r/venv/lib/python3.12/site-packages/mypy_boto3_launch_wizard/__init__.py\", line 33, in <module>\n    from .client import LaunchWizardClient\n  File \"/tmp/tmpror5yh5r/venv/lib/python3.12/site-packages/mypy_"},"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":"1.43.79","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_launch_wizard/","changelog":null,"pypi":"https://pypi.org/project/mypy-boto3-launch-wizard/","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}}