{"id":3363,"library":"mypy-boto3-groundstation","title":"mypy-boto3-groundstation","description":"mypy-boto3-groundstation provides type annotations for the `boto3` GroundStation service, generated by `mypy-boto3-builder`. It enhances developer experience by enabling static type checking for `boto3` client calls. The current version is 1.42.35, and it follows the release cadence of `mypy-boto3-builder`, which updates frequently with AWS service changes.","status":"active","version":"1.42.35","language":"en","source_language":"en","source_url":"https://github.com/youtype/mypy_boto3_builder","tags":["boto3","mypy","aws","types","stubs","groundstation","type-checking"],"install":[{"cmd":"pip install boto3 mypy-boto3-groundstation","lang":"bash","label":"Install boto3 and GroundStation stubs"}],"dependencies":[{"reason":"This package provides type stubs for boto3's runtime functionality; boto3 itself must be installed and used.","package":"boto3"},{"reason":"This package is designed to be used with the mypy static type checker.","package":"mypy"}],"imports":[{"note":"While boto3.client is the runtime way to get a client, mypy-boto3 provides the specific type annotation for static checking.","wrong":"from boto3.client import GroundStationClient","symbol":"GroundStationClient","correct":"from mypy_boto3_groundstation.client import GroundStationClient"},{"note":"Imports the type for the service resource, if used (less common for GroundStation).","symbol":"GroundStationServiceResource","correct":"from mypy_boto3_groundstation.service_resource import GroundStationServiceResource"},{"note":"Imports specific TypeDef structures for stricter type checking of method parameters or responses.","symbol":"ConfigTypeTypeDef","correct":"from mypy_boto3_groundstation.type_defs import ConfigTypeTypeDef"}],"quickstart":{"code":"import boto3\nfrom mypy_boto3_groundstation.client import GroundStationClient\nfrom mypy_boto3_groundstation.type_defs import ListConfigsResponseTypeDef\n\ndef get_groundstation_config_types() -> List[str]:\n    # The 'client' variable is now type-hinted by mypy-boto3-groundstation\n    client: GroundStationClient = boto3.client(\"groundstation\")\n\n    # Methods and their return types are type-checked\n    response: ListConfigsResponseTypeDef = client.list_configs()\n    config_types = [config['configType'] for config in response.get('configList', [])]\n    return config_types\n\nif __name__ == \"__main__\":\n    # Example of running the function (requires AWS credentials configured for boto3)\n    try:\n        print(f\"Available GroundStation config types: {get_groundstation_config_types()}\")\n    except Exception as e:\n        print(f\"Error fetching config types (ensure AWS config): {e}\")","lang":"python","description":"This quickstart demonstrates how to obtain a type-hinted `boto3` GroundStation client and use one of its methods, `list_configs`, with its corresponding response type definition. This allows `mypy` to validate your `boto3` usage statically."},"warnings":[{"fix":"Upgrade your Python environment to 3.9 or higher. If you need Python 3.8 support, pin to an older `mypy-boto3-groundstation` version generated by a builder <8.12.0.","message":"`mypy-boto3-builder` (which generates this package) removed support for Python 3.8 starting from builder version 8.12.0. This means `mypy-boto3-groundstation` versions generated by builder 8.12.0 or newer will require Python 3.9+.","severity":"breaking","affected_versions":">=1.42.0 (estimated, corresponding to builder 8.12.0)"},{"fix":"Always install `boto3` alongside `mypy-boto3-groundstation` (e.g., `pip install boto3 mypy-boto3-groundstation`).","message":"This package provides *type stubs* for `boto3` and does not include the `boto3` runtime itself. `boto3` must be installed separately for your code to run.","severity":"gotcha","affected_versions":"All versions"},{"fix":"Ensure your build and type-checking tools are up-to-date and compatible with PEP 561-compliant type packages. No direct code change is usually required for users.","message":"The `mypy-boto3-builder` migrated to PEP 561 compliant packages in version 8.12.0. While this is generally beneficial, it might affect how some build systems or custom tooling discover and consume these type packages.","severity":"breaking","affected_versions":">=1.42.0 (estimated, corresponding to builder 8.12.0)"},{"fix":"If you directly import and use specific `TypeDef` names, be aware that they might change with new `mypy-boto3-groundstation` versions. Refer to the generated stub files or the `mypy-boto3-builder` release notes for exact name changes.","message":"TypeDef naming conventions can change with `mypy-boto3-builder` updates. For instance, in builder 8.9.0, verbose names like `CreateDistributionRequestRequestTypeDef` were shortened to `CreateDistributionRequestTypeDef`.","severity":"gotcha","affected_versions":">=1.39.0 (estimated, corresponding to builder 8.9.0) and later"}],"env_vars":null,"last_verified":"2026-04-11T00:00:00.000Z","next_check":"2026-07-10T00:00:00.000Z"}