{"id":3705,"library":"mypy-boto3-ssm-guiconnect","title":"mypy-boto3-ssm-guiconnect Type Annotations","description":"mypy-boto3-ssm-guiconnect provides comprehensive type annotations for the AWS SSM GUIConnect service, designed to be used with `boto3`. It enables static analysis tools like `mypy` to perform rigorous type checking on `boto3` calls related to SSM GUIConnect resources, enhancing code reliability. The library is automatically generated by `mypy-boto3-builder` and its version (currently 1.42.3) synchronizes with `boto3`'s service definitions, with frequent updates.","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-hinting","ssm-guiconnect","static-analysis"],"install":[{"cmd":"pip install mypy-boto3-ssm-guiconnect","lang":"bash","label":"Install package"}],"dependencies":[{"reason":"Provides the AWS SDK for Python at runtime; this package only offers type stubs for it. `boto3` must be installed separately.","package":"boto3","optional":false}],"imports":[{"wrong":"from mypy_boto3_ssm_guiconnect import SSMGUIConnectClient","symbol":"SSMGUIConnectClient","correct":"from mypy_boto3_ssm_guiconnect import SSMGUIConnectClient"}],"quickstart":{"code":"import boto3\nfrom mypy_boto3_ssm_guiconnect import SSMGUIConnectClient\nfrom typing import TYPE_CHECKING\n\n# --- Type Checking (only active during static analysis) ---\nif TYPE_CHECKING:\n    # Define the client with its specific type annotation\n    # Mypy will use the stubs from mypy-boto3-ssm-guiconnect to validate calls.\n    client: SSMGUIConnectClient = boto3.client(\"ssm-guiconnect\")\n\n    # Example of type-checking an attribute access. \n    # For SSM GUIConnect, direct public API methods might be less common,\n    # but the client object itself is fully type-hinted.\n    _ = client.meta.service_model\n\n# --- Runtime Code (executes normally) ---\n# The actual boto3 client is created and used as usual.\nreal_client = boto3.client(\"ssm-guiconnect\")\n\nprint(f\"Boto3 SSM GUIConnect client created: {real_client.__class__.__name__}\")\n# Add actual runtime interactions here if applicable for your use case.\n# Example: try:\n#     response = real_client.some_ssm_guiconnect_method() \n#     print(response)\n# except Exception as e:\n#     print(f\"Error during SSM GUIConnect call: {e}\")","lang":"python","description":"This quickstart demonstrates how to use `mypy-boto3-ssm-guiconnect` to add type hints to your `boto3` SSM GUIConnect client. The `if TYPE_CHECKING:` block is processed by `mypy` to validate method calls and attribute access, while the runtime code remains unchanged."},"warnings":[{"fix":"Upgrade your Python environment to 3.9 or newer. If Python 3.8 support is critical, pin to an older `mypy-boto3-ssm-guiconnect` version (e.g., `<1.42.0`).","message":"Beginning with `mypy-boto3-builder` 8.12.0 (which generated `mypy-boto3-ssm-guiconnect` 1.42.x and newer), Python 3.8 is no longer supported. Projects using these stubs must upgrade their Python environment.","severity":"breaking","affected_versions":"mypy-boto3-ssm-guiconnect >= 1.42.0"},{"fix":"Review and update `TypeDef` imports and usage in your type-hinted code to match the new generated names. Consult the `mypy-boto3-builder`'s release notes for specific service-related `TypeDef` changes if issues persist.","message":"If upgrading from `mypy-boto3-ssm-guiconnect` versions generated by `mypy-boto3-builder` older than 8.9.0 (roughly prior to `mypy-boto3-ssm-guiconnect` 1.36.0), explicit references to `TypeDef` names might break. The builder introduced naming convention changes (e.g., shorter names, `Extra` postfix moved) for consistency.","severity":"breaking","affected_versions":"Migration from versions < 1.36.0 to >= 1.36.0"},{"fix":"Ensure your `TYPE_CHECKING` blocks and type annotations correctly reference types provided by `mypy-boto3-ssm-guiconnect`.","message":"Always import client types and other type definitions directly from the `mypy_boto3_ssm_guiconnect` package or its submodules (e.g., `from mypy_boto3_ssm_guiconnect import SSMGUIConnectClient`). Do not attempt to import type definitions or client types from the `boto3` package itself, as `boto3` does not provide its own type stubs.","severity":"gotcha","affected_versions":"All versions"}],"env_vars":null,"search_vec":"'1.42.3':66 'analysi':32,87 'annot':7,16 'automat':55 'aw':19,76 'boto3':3,10,28,42,60,69,77 'builder':61 'call':43 'check':40 'code':50 'comprehens':14 'current':65 'definit':72 'design':23 'enabl':30 'enhanc':49 'frequent':74 'generat':56 'guiconnect':5,12,21,47,84 'hint':81 'librari':53 'like':34 'mypi':2,9,35,59,78 'mypy-boto3-builder':58 'mypy-boto3-ssm-guiconnect':1,8 'perform':37 'provid':13 'relat':44 'reliabl':51 'resourc':48 'rigor':38 'servic':22,71 'ssm':4,11,20,46,83 'ssm-guiconnect':82 'static':31,86 'static-analysi':85 'synchron':67 'tool':33 'type':6,15,39,80 'type-hint':79 'updat':75 'use':26 'version':64","created_at":"2026-04-11T17:41:11.053636+00:00","updated_at":"2026-04-16T17:14:30.391706+00:00","problems":{"verify_error":"Traceback (most recent call last):\n  File \"<string>\", line 1, in <module>\n  File \"/tmp/tmpmabk3_x4/venv/lib/python3.12/site-packages/mypy_boto3_ssm_guiconnect/__init__.py\", line 22, in <module>\n    from .client import SSMGUIConnectClient\n  File \"/tmp/tmpmabk3_x4/venv/lib/python3.12/site-packages/myp"},"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_ssm_guiconnect/","changelog":null,"pypi":"https://pypi.org/project/mypy-boto3-ssm-guiconnect/","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}}