{"id":3020,"library":"mypy-boto3-application-signals","title":"mypy-boto3-application-signals Type Stubs","description":"mypy-boto3-application-signals provides static type annotations for the `boto3` AWS SDK specifically for the CloudWatchApplicationSignals service, currently at version 1.42.76. It is generated by `mypy-boto3-builder` and receives frequent updates, often aligning with `boto3` releases and `mypy-boto3-builder` enhancements, to ensure up-to-date type information for improved code quality and IDE support.","status":"active","version":"1.42.76","language":"en","source_language":"en","source_url":"https://github.com/youtype/mypy_boto3_builder","tags":["boto3","aws","mypy","type-hints","stubs","cloudwatchapplicationsignals","static-analysis"],"install":[{"cmd":"pip install mypy-boto3-application-signals","lang":"bash","label":"Install service-specific stubs"},{"cmd":"pip install boto3-stubs[application-signals]","lang":"bash","label":"Install as part of boto3-stubs"}],"dependencies":[{"reason":"Provides the core AWS SDK functionality that these stubs type-hint.","package":"boto3"}],"imports":[{"note":"Used for type-hinting the boto3 client for CloudWatchApplicationSignals.","symbol":"ApplicationSignalsClient","correct":"from mypy_boto3_application_signals.client import ApplicationSignalsClient"},{"note":"Example of importing a service-specific Literal type.","symbol":"CloudWatchEventSourceType","correct":"from mypy_boto3_application_signals.literals import CloudWatchEventSourceType"},{"note":"Used for type-hinting the boto3 service resource (if applicable for the service).","symbol":"ServiceResource","correct":"from mypy_boto3_application_signals.service_resource import ApplicationSignalsServiceResource"}],"quickstart":{"code":"import boto3\nfrom typing import TYPE_CHECKING\n\nif TYPE_CHECKING:\n    from mypy_boto3_application_signals.client import ApplicationSignalsClient\n\ndef get_application_signals_client() -> ApplicationSignalsClient:\n    \"\"\"Provides a type-hinted CloudWatchApplicationSignals client.\"\"\"\n    # boto3.client will be correctly type-hinted by mypy when mypy-boto3-application-signals is installed.\n    return boto3.client(\"application-signals\")\n\nclient = get_application_signals_client()\n# Example usage with type-hinted client (methods and parameters will autocomplete)\nresponse = client.list_service_dependencies(\n    StartTime=1678886400, # Example timestamp\n    EndTime=1678886400 + 3600 # Example timestamp\n)\n\nprint(response)\n","lang":"python","description":"This quickstart demonstrates how to obtain a type-hinted `CloudWatchApplicationSignalsClient` instance using `mypy-boto3-application-signals`. The `TYPE_CHECKING` guard is a common pattern to ensure `mypy-boto3` packages are only used during type checking, avoiding potential runtime dependencies."},"warnings":[{"fix":"Upgrade your Python environment to 3.9 or newer.","message":"Support for Python 3.8 has been removed across all `mypy-boto3` packages with builder version 8.12.0. Users must use Python 3.9 or higher.","severity":"breaking","affected_versions":"mypy-boto3-builder >=8.12.0, mypy-boto3-application-signals >=1.42.76"},{"fix":"Ensure your project's build and dependency management systems are compatible with PEP 561 stub packages. Verify imports if you were relying on internal package structures.","message":"All `mypy-boto3` packages migrated to PEP 561, impacting how stubs are distributed and potentially how some build systems or explicit import paths behave.","severity":"breaking","affected_versions":"mypy-boto3-builder >=8.12.0, mypy-boto3-application-signals >=1.42.76"},{"fix":"Consider `pip install boto3-stubs-lite[application-signals]` or configure PyCharm to use external type checkers like `mypy` or `pyright`.","message":"PyCharm users might experience slow performance or high CPU usage due to `Literal` overloads. It's recommended to use `boto3-stubs-lite` (if applicable for the service), or disable PyCharm's internal type checker and rely on `mypy` or `pyright`.","severity":"gotcha","affected_versions":"All versions"},{"fix":"Review and update `TypedDict` references in your code to match the new naming conventions.","message":"General `mypy-boto3` `TypeDef` naming conventions changed in builder version 8.9.0. `CreateDistributionRequestRequestTypeDef` became `CreateDistributionRequestTypeDef`, and conflicting `Extra` postfixes moved to the end (e.g., `CreateDistributionExtraRequestTypeDef` to `CreateDistributionRequestExtraTypeDef`).","severity":"breaking","affected_versions":"mypy-boto3-builder >=8.9.0"},{"fix":"For the `sms-voice` service, migrate to `pinpoint-sms-voice`. Always check release notes for changes to specific services you use.","message":"The `sms-voice` service was deprecated and removed from `mypy-boto3` builds in builder version 8.11.0. Users should migrate to `pinpoint-sms-voice` instead. While this specific package is for `application-signals`, this indicates potential breaking changes for other services in the `mypy-boto3` ecosystem.","severity":"deprecated","affected_versions":"mypy-boto3-builder >=8.11.0"}],"env_vars":null,"last_verified":"2026-04-11T00:00:00.000Z","next_check":"2026-07-10T00:00:00.000Z"}