{"id":6731,"library":"mypy-boto3-signer-data","title":"AWS SignerDataPlane Type Stubs for boto3","description":"mypy-boto3-signer-data provides static type annotations for the `boto3` AWS SDK's SignerDataPlane service. It enhances developer experience by enabling comprehensive type checking, improved IDE auto-completion, and early error detection for `boto3` code interacting with AWS SignerDataPlane. The current version is 1.42.54, generated with `mypy-boto3-builder` 8.12.0, with active development following `boto3` updates and new AWS service releases.","status":"active","version":"1.42.54","language":"en","source_language":"en","source_url":"https://github.com/youtype/mypy_boto3_builder","tags":["aws","boto3","mypy","types","stubs","type-hinting","signer-data"],"install":[{"cmd":"pip install boto3 mypy-boto3-signer-data","lang":"bash","label":"Install with boto3"}],"dependencies":[{"reason":"Runtime dependency for AWS SDK functionality. These packages provide only type stubs.","package":"boto3","optional":false},{"reason":"Development dependency for static type checking.","package":"mypy","optional":true}],"imports":[{"symbol":"SignerDataPlaneClient","correct":"from mypy_boto3_signer_data.client import SignerDataPlaneClient"},{"note":"Used for type-hinting responses from AWS service calls.","symbol":"ListSigningJobsResponseTypeDef","correct":"from mypy_boto3_signer_data.type_defs import ListSigningJobsResponseTypeDef"}],"quickstart":{"code":"import boto3\nfrom typing import TYPE_CHECKING\nimport os\n\nif TYPE_CHECKING:\n    from mypy_boto3_signer_data.client import SignerDataPlaneClient\n    from mypy_boto3_signer_data.type_defs import ListSigningJobsResponseTypeDef\n\n\ndef list_signer_jobs() -> ListSigningJobsResponseTypeDef:\n    \"\"\"Lists AWS Signer Data Plane signing jobs.\"\"\"\n    # Ensure AWS credentials are configured (e.g., via environment variables, ~/.aws/credentials)\n    # This example uses placeholder region and credentials for demonstration.\n    # In a real application, boto3 automatically picks up credentials.\n    region_name = os.environ.get('AWS_DEFAULT_REGION', 'us-east-1')\n    \n    client: SignerDataPlaneClient = boto3.client(\"signer-data\", region_name=region_name)\n    response = client.list_signing_jobs(\n        maxResults=10  # Limit results for example\n    )\n    print(\"Successfully listed Signer Data Plane jobs.\")\n    for job in response.get(\"jobs\", []):\n        print(f\"  Job ID: {job.get('jobId')}, Status: {job.get('status')}\")\n    return response\n\nif __name__ == \"__main__\":\n    try:\n        list_signer_jobs()\n    except Exception as e:\n        print(f\"An error occurred: {e}\")\n        print(\"Please ensure 'boto3' is installed and AWS credentials are configured.\")","lang":"python","description":"This quickstart demonstrates how to use `mypy-boto3-signer-data` for type-hinting a `boto3` SignerDataPlane client and its response. The `TYPE_CHECKING` guard ensures that `mypy-boto3` is only a development dependency. It retrieves and prints a list of signing jobs."},"warnings":[{"fix":"Upgrade your Python environment to version 3.9 or newer.","message":"Support for Python 3.8 has been removed in `mypy-boto3-builder` version 8.12.0, affecting all generated packages including `mypy-boto3-signer-data`. Projects using Python 3.8 or older will encounter compatibility issues.","severity":"breaking","affected_versions":"mypy-boto3-builder >= 8.12.0"},{"fix":"Review your code for any explicit imports or usage of `TypeDef` names, and update them according to the new naming conventions. Refer to the specific service's `type_defs.pyi` for exact `TypeDef` names.","message":"Generated `TypeDef` names may have changed in `mypy-boto3-builder` version 8.9.0. Specifically, packed method arguments use shorter names (e.g., `CreateDistributionRequestRequestTypeDef` to `CreateDistributionRequestTypeDef`), and conflicting `Extra` postfixes were moved (e.g., `CreateDistributionExtraRequestTypeDef` to `CreateDistributionRequestExtraTypeDef`).","severity":"breaking","affected_versions":"mypy-boto3-builder >= 8.9.0"},{"fix":"Always ensure `boto3` is installed in your runtime environment (e.g., `pip install boto3`).","message":"`mypy-boto3-signer-data` provides only type stubs and does not include the actual `boto3` runtime. Your application must have `boto3` installed to function at runtime. The type stubs are solely for static analysis.","severity":"gotcha","affected_versions":"All"},{"fix":"Install each `mypy-boto3-SERVICE_NAME` package individually for the services you use.","message":"`mypy-boto3` uses a separate package for each AWS service. If you need type hints for multiple services (e.g., S3 and SignerDataPlane), you must install each corresponding stub package (e.g., `mypy-boto3-s3` and `mypy-boto3-signer-data`).","severity":"gotcha","affected_versions":"All"},{"fix":"Enclose type stub imports like `from mypy_boto3_signer_data.client import SignerDataPlaneClient` within `if TYPE_CHECKING:` conditional blocks.","message":"To prevent `mypy-boto3-*` packages from becoming runtime dependencies, it is best practice to wrap all imports of types from these libraries within a `if typing.TYPE_CHECKING:` block. This ensures they are only used during static analysis.","severity":"gotcha","affected_versions":"All"},{"fix":"Consider installing the `boto3-stubs-lite` version (e.g., `pip install 'boto3-stubs-lite[signer-data]'`) if available for your service, which is more RAM-friendly but requires explicit type annotations. Alternatively, disable PyCharm's internal type checker and use `mypy` or `pyright` instead for type checking.","message":"For large projects or when using PyCharm, performance issues with Literal overloads in type stubs (issue PY-40997) might lead to high CPU usage or slow IDE performance.","severity":"gotcha","affected_versions":"All"},{"fix":"Refer to official AWS `boto3` documentation for service names and changes. If a service is renamed, update your `boto3.client()` calls and stub imports accordingly.","message":"Occasionally, specific AWS services may be renamed or deprecated within the `boto3` ecosystem (e.g., `sms-voice` was replaced by `pinpoint-sms-voice` in `mypy-boto3-builder` 8.11.0). While this stub is for `signer-data`, always refer to official AWS `boto3` documentation for service names and changes, as they might eventually affect the stub package name or availability.","severity":"deprecated","affected_versions":"mypy-boto3-builder >= 8.11.0"}],"env_vars":null,"last_verified":"2026-04-15T00:00:00.000Z","next_check":"2026-07-14T00:00:00.000Z","problems":[]}