Registry / type-stubs / mypy-boto3-snow-device-management

mypy-boto3-snow-device-management

JSON →
library1.43.0pypypi✓ verified 22d ago

This library provides type annotations (stubs) for the `boto3` AWS Snow Device Management service, generated by `mypy-boto3-builder`. It enhances type checking for `boto3` code with tools like `mypy`, preventing common runtime errors related to incorrect AWS API calls. The current version is 1.42.3, with releases closely following `boto3` updates and the `mypy-boto3-builder`'s frequent development cycle.

pip install mypy-boto3-snow-device-management boto3 mypy
INSTALL
IMPORT
SIG · MYPY-BOTO3-SNOW-DE
M
mypy-boto3-snow-device-management
type-stubspythonv1.43.0
Install
6.1s avg
Import
581ms
Disk
114MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
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
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.602s · 116.5MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 6.1s · import 0.560s · 114MB
114MB installed
● package 114MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

SnowDeviceManagementClient
from mypy_boto3_snow_device_management.client import SnowDeviceManagementClient
Imports the type for the AWS SnowDeviceManagement client object.
DescribeDeviceOutputTypeDef
from mypy_boto3_snow_device_management.type_defs import DescribeDeviceOutputTypeDef
Imports a common TypeDef for response objects, useful for explicit type hinting.

This example demonstrates how to initialize a `boto3` client and use the `mypy-boto3-snow-device-management` type stubs to add type annotations. This allows `mypy` to verify method calls and response structures at static analysis time, catching potential errors before runtime. Remember to replace 'your-device-id-placeholder' with an actual device ID or set the `AWS_SNOW_DEVICE_ID` environment variable for a successful API call.

import boto3 from mypy_boto3_snow_device_management.client import SnowDeviceManagementClient from mypy_boto3_snow_device_management.type_defs import DescribeDeviceOutputTypeDef import os # Create a boto3 client (runtime object) # Mypy will now correctly type-check operations on 'client' client: SnowDeviceManagementClient = boto3.client("snow-device-management") # Example usage with type hints device_id = os.environ.get('AWS_SNOW_DEVICE_ID', 'your-device-id-placeholder') if device_id == 'your-device-id-placeholder': print("Please set the AWS_SNOW_DEVICE_ID environment variable for a real test.") print("Using a placeholder, type checking will still work.") try: response: DescribeDeviceOutputTypeDef = client.describe_device(deviceId=device_id) print(f"Device ARN: {response.get('deviceArn')}") print(f"Device type: {response.get('deviceType')}") # Mypy would warn if 'deviceArn' was not a valid key in DescribeDeviceOutputTypeDef except client.exceptions.ResourceNotFoundException: print(f"Device with ID '{device_id}' not found.") except Exception as e: print(f"An error occurred: {e}")
Debug
Known issues
breakingStarting with `mypy-boto3-builder` version 8.12.0 (and thus packages built with it), Python 3.8 is no longer supported. All generated `mypy-boto3-*` packages will now require Python 3.9 or higher.
fix
Upgrade your Python environment to 3.9 or newer before installing or using affected `mypy-boto3-*` packages.
affects: >=8.12.0
breakingAs of `mypy-boto3-builder` version 8.9.0, there were changes to TypeDef naming conventions. Specifically, some generated type definition names were shortened (e.g., `*RequestRequestTypeDef` became `*RequestTypeDef`). If you directly imported specific TypeDefs, you may need to update their names.
fix
Review your explicit `from mypy_boto3_SERVICE.type_defs import ...` statements and adjust TypeDef names according to the new conventions.
affects: >=8.9.0
gotchaThis package provides *only* type annotations for `boto3`. It does not include any runtime functionality itself. You must have `boto3` installed separately for your code to execute, and a type checker like `mypy` to leverage the benefits of these stubs.
fix
Ensure `boto3` is installed (`pip install boto3`) and that you run a static type checker (e.g., `mypy your_script.py`) as part of your development workflow.
affects: all
gotchaThe versions of service-specific `mypy-boto3-*` packages are tied to the `boto3` version they stub and the `mypy-boto3-builder`'s release cycle. Breaking changes or new features in the underlying `boto3` or `mypy-boto3-builder` can impact these stub packages, sometimes leading to more frequent updates or specific version requirements.
fix
Keep `mypy-boto3-snow-device-management` and `boto3` synchronized to avoid type mismatches. Consult `mypy-boto3-builder` release notes for broader ecosystem changes.
affects: all
Upgrade
Version history
1.43.0latest on PyPI · released Apr 29, 2026
Audit
Dependencies
boto3requiredProvides the runtime functionality; this package only provides type stubs.
mypyoptionalThe static type checker that utilizes these stubs.
Agent activity
26 hits · last 30 days
node
22
OpenAI (training)
3
Resources
mypy-boto3-snow-device-management — pip install mypy-boto3-snow-device-management · libregistry