Registry /
type-stubs / mypy-boto3-iot-jobs-data
Install & Compatibility
Where this runs
tested against v1.43.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.594s · 51.8MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 3.9s · import 0.562s · 52MB
50MB installed
● package 50MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
IoTJobsDataPlaneClient
✓ from mypy_boto3_iot_jobs_data.client import IoTJobsDataPlaneClient
For explicit type annotation of the client object.
DescribeJobExecutionResponseTypeDef
✓ from mypy_boto3_iot_jobs_data.type_defs import DescribeJobExecutionResponseTypeDef
To explicitly type dictionary responses from the service API calls.
This quickstart demonstrates how to initialize an IoTJobsDataPlane client with type annotations and use it to call a service method. The `TYPE_CHECKING` block is standard practice to ensure type imports are only active during static analysis, avoiding runtime dependencies on the stub package. Explicit type annotations for the client and response dictionaries provide maximum benefit for type checking and IDE features. [5, 8, 12, 16]
import boto3
from typing import TYPE_CHECKING
from mypy_boto3_iot_jobs_data.client import IoTJobsDataPlaneClient
from mypy_boto3_iot_jobs_data.type_defs import DescribeJobExecutionResponseTypeDef
# Boto3 client without type annotations
# client = boto3.client("iot-jobs-data")
# Boto3 client with explicit type annotations for better IDE support and static analysis
if TYPE_CHECKING:
client: IoTJobsDataPlaneClient = boto3.client("iot-jobs-data")
else:
client = boto3.client("iot-jobs-data")
try:
# Example: Describe a job execution
job_id = "your-job-id"
thing_name = "your-thing-name"
# The response object will be implicitly typed due to the client annotation
response: DescribeJobExecutionResponseTypeDef = client.describe_job_execution(
jobId=job_id,
thingName=thing_name
)
print(f"Job Execution Status: {response.get('execution', {}).get('status')}")
except client.exceptions.ResourceNotFoundException:
print(f"Job execution for Job ID '{job_id}' and Thing Name '{thing_name}' not found.")
except Exception as e:
print(f"An error occurred: {e}")
Debug
Known issues
breakingSupport for Python 3.8 has been removed in `mypy-boto3-builder` version 8.12.0 and subsequent generated packages. Projects targeting `mypy-boto3-iot-jobs-data` must use Python 3.9 or newer.fixUpgrade your Python environment to 3.9 or a later version. If you need Python 3.8 support, you must use an older version of `mypy-boto3-builder` and its generated stubs, or consider generating stubs locally from an older `boto3` version. [9]
affects: >=8.12.0 of mypy-boto3-builder (corresponds to mypy-boto3-iot-jobs-data 1.42.x and above)
breakingType definition (TypeDef) names for packed method arguments were shortened, and conflicting 'Extra' postfixes were moved. This can break code that explicitly imports or references these TypeDefs by their old names.fixReview your code for explicit references to TypeDefs. Consult the specific service documentation (e.g., `mypy-boto3-iot-jobs-data` docs) for the updated TypeDef names. [9]
affects: >=8.9.0 of mypy-boto3-builder
gotchaPyCharm users may experience slow performance or high CPU usage due to `Literal` overloads in `mypy-boto3` packages. This is a known issue (PY-40997).fixIt is recommended to use `boto3-stubs-lite` (if appropriate for your use case) or to disable PyCharm's built-in type checker and use an external tool like `mypy` or `pyright` instead. [4, 17]
affects: All versions, specifically impacting PyCharm users.
gotchaWhile `mypy-boto3` aims for implicit type discovery, explicit type annotations for `boto3.client()` calls (e.g., `client: IoTJobsDataPlaneClient = boto3.client(...)`) are often necessary for optimal code completion and type checking in IDEs like VSCode and PyCharm.fixAlways add explicit type annotations for the client object returned by `boto3.client()` or `session.client()` to ensure your IDE provides the best possible assistance. [5, 16]
affects: All versions
Upgrade
Version history
1.43.0latest on PyPI · released Apr 29, 2026
Audit
Dependencies
boto3requiredThis package provides type stubs for the `boto3` library; `boto3` itself is required for runtime functionality.