{"id":3344,"library":"mypy-boto3-chime-sdk-meetings","title":"Type Annotations for Boto3 Chime SDK Meetings","description":"mypy-boto3-chime-sdk-meetings provides comprehensive type annotations for the `boto3` Chime SDK Meetings service, ensuring type-safe AWS interactions for developers. It is generated by the `mypy-boto3-builder` project, which frequently releases updates to keep pace with `boto3` versions. The current version is 1.42.3, aligning with the `boto3` version it types.","status":"active","version":"1.42.3","language":"en","source_language":"en","source_url":"https://github.com/youtype/mypy_boto3_builder","tags":["AWS","boto3","types","mypy","type-checking","chime","chime-sdk-meetings"],"install":[{"cmd":"pip install mypy-boto3-chime-sdk-meetings","lang":"bash","label":"Install standalone stub package"},{"cmd":"pip install 'boto3-stubs[chime-sdk-meetings]'","lang":"bash","label":"Install via boto3-stubs meta-package"}],"dependencies":[{"reason":"Provides the runtime functionality being typed.","package":"boto3","optional":false},{"reason":"Requires Python 3.9 or newer.","package":"python","optional":false}],"imports":[{"note":"It is best practice to use `if TYPE_CHECKING:` to avoid adding `mypy-boto3-*` packages as runtime dependencies. The type hint then uses a forward reference string.","symbol":"ChimeSDKMeetingsClient","correct":"from typing import TYPE_CHECKING\nimport boto3\n\nif TYPE_CHECKING:\n    from mypy_boto3_chime_sdk_meetings.client import ChimeSDKMeetingsClient\n\nclient: 'ChimeSDKMeetingsClient' = boto3.client('chime-sdk-meetings')"},{"symbol":"CreateMeetingRequestRequestTypeDef","correct":"from typing import TYPE_CHECKING\n\nif TYPE_CHECKING:\n    from mypy_boto3_chime_sdk_meetings.type_defs import CreateMeetingRequestRequestTypeDef\n\nrequest: 'CreateMeetingRequestRequestTypeDef' = {'ClientRequestToken': 'token', 'MediaRegion': 'us-east-1'}"}],"quickstart":{"code":"import os\nfrom typing import TYPE_CHECKING\n\nimport boto3\n\n# Ensure boto3 is installed: pip install boto3\n# Ensure stubs are installed: pip install mypy-boto3-chime-sdk-meetings\n\nif TYPE_CHECKING:\n    from mypy_boto3_chime_sdk_meetings.client import ChimeSDKMeetingsClient\n    from mypy_boto3_chime_sdk_meetings.type_defs import CreateMeetingResponseTypeDef\n\nregion = os.environ.get('AWS_REGION', 'us-east-1')\n\n# The client variable gets type-hinted by mypy-boto3\nclient: 'ChimeSDKMeetingsClient' = boto3.client('chime-sdk-meetings', region_name=region)\n\ntry:\n    # Example: Create a meeting\n    meeting_id = 'my-unique-meeting-id'\n    create_meeting_response: CreateMeetingResponseTypeDef = client.create_meeting(\n        ClientRequestToken=meeting_id,\n        MediaRegion='us-east-1',\n        ExternalMeetingId='external-meeting-123'\n    )\n    print(f\"Successfully created meeting: {create_meeting_response['Meeting']['MeetingId']}\")\n\n    # Example: List meetings (requires pagination for more results)\n    list_meetings_response = client.list_meetings()\n    print(f\"Number of meetings: {len(list_meetings_response['Meetings'])}\")\n\n    # Example: Delete a meeting\n    client.delete_meeting(MeetingId=create_meeting_response['Meeting']['MeetingId'])\n    print(f\"Successfully deleted meeting: {create_meeting_response['Meeting']['MeetingId']}\")\n\nexcept Exception as e:\n    print(f\"An error occurred: {e}\")\n","lang":"python","description":"This quickstart demonstrates how to use `mypy-boto3-chime-sdk-meetings` to get type hints for `boto3` calls related to Chime SDK Meetings. It initializes a client, creates a meeting, lists meetings, and then deletes the created meeting. The `if TYPE_CHECKING:` block ensures that the specific `mypy-boto3` imports are only processed by static type checkers, avoiding unnecessary runtime dependencies."},"warnings":[{"fix":"Upgrade your Python environment to 3.9 or newer.","message":"Python 3.8 support was removed for all generated packages, including `mypy-boto3-chime-sdk-meetings`, with `mypy-boto3-builder` version 8.12.0. Users on Python 3.8 or older must upgrade their Python version.","severity":"breaking","affected_versions":"mypy-boto3-builder >= 8.12.0"},{"fix":"Review your code for TypeDef imports and adjust names according to the updated patterns, typically shortening redundant names or moving `Extra` postfixes.","message":"Starting with `mypy-boto3-builder` 8.9.0, TypeDef names for packed method arguments and conflicting TypeDefs were changed to shorter or re-ordered variants (e.g., `CreateDistributionRequestRequestTypeDef` -> `CreateDistributionRequestTypeDef`). This may require updates to existing type hint usage.","severity":"breaking","affected_versions":"mypy-boto3-builder >= 8.9.0"},{"fix":"Verify that your `mypy` configuration and environment allows it to discover installed packages supporting PEP 561. Generally, `mypy` should find them automatically if installed in the same environment.","message":"As of `mypy-boto3-builder` 8.12.0, all packages migrated to PEP 561, making them stub-only packages. While this is an improvement for type checker resolution, ensure your `mypy` configuration correctly finds installed stub packages.","severity":"breaking","affected_versions":"mypy-boto3-builder >= 8.12.0"},{"fix":"Wrap `from mypy_boto3_... import ...` statements in `if TYPE_CHECKING:` blocks and use forward references (string literal type hints) for type annotations.","message":"It is strongly recommended to import `mypy-boto3` types only within `if TYPE_CHECKING:` blocks to avoid adding stub packages as runtime dependencies. This keeps your production environment lighter.","severity":"gotcha","affected_versions":"All versions"},{"fix":"Consider installing `boto3-stubs-lite[chime-sdk-meetings]` instead, or configure PyCharm to use an external type checker like `mypy` or `pyright`.","message":"PyCharm users might experience slow performance and high CPU usage with `Literal` overloads due to a known issue (PY-40997). The project recommends using `boto3-stubs-lite` or disabling PyCharm's type checker and relying on `mypy` or `pyright` instead.","severity":"gotcha","affected_versions":"All versions with PyCharm"}],"env_vars":null,"last_verified":"2026-04-11T00:00:00.000Z","next_check":"2026-07-10T00:00:00.000Z"}