Registry / type-stubs / mypy-boto3-workspaces-instances

mypy-boto3-workspaces-instances

JSON →
library1.43.55pypypi✓ verified 22d ago

mypy-boto3-workspaces-instances provides comprehensive type annotations for the `boto3` WorkspacesInstances service, compatible with mypy, Pyright, VSCode, and other type-checking tools. It enhances developer experience by offering static type checking and auto-completion for `boto3.client('workspaces-instances')` calls. This library is automatically generated by `mypy-boto3-builder` and is currently at version 1.42.31, with frequent updates to align with new `boto3` releases.

pip install mypy-boto3-workspaces-instances
INSTALL
IMPORT
SIG · MYPY-BOTO3-WORKSPA
M
mypy-boto3-workspaces-instances
type-stubspythonv1.43.55
Install
1.7s avg
Import
Disk
16MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v1.43.55 · 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.910 runs
installs and imports cleanly · install 0.0s · import 0.000s · 18.3MB
glibc
py 3.103.910 runs
installs and imports cleanly · install 1.7s · import 0.000s · 19MB
16MB installed
● package 16MB
Code
Verified usage

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

WorkspacesInstancesClient
from mypy_boto3_workspaces_instances import WorkspacesInstancesClient
from mypy_boto3_workspaces_instances import WorkspacesInstancesClient

This quickstart demonstrates how to initialize a typed `boto3` client for WorkspacesInstances and make a basic API call. Type annotations ensure that arguments and return values are correctly type-checked by tools like `mypy` or `Pyright`.

import boto3 from mypy_boto3_workspaces_instances.client import WorkspacesInstancesClient from mypy_boto3_workspaces_instances.type_defs import DescribeAccountLinksResultTypeDef def list_workspaces_instances() -> None: # Initialize the Boto3 client with type annotation client: WorkspacesInstancesClient = boto3.client('workspaces-instances') # Example API call with type-checked parameters and return value response: DescribeAccountLinksResultTypeDef = client.describe_account_links( LinkStatusFilter=['LINKED'] ) print(f"Account links: {response.get('AccountLinks')}") if __name__ == "__main__": list_workspaces_instances()
Debug
Known issues
breakingSupport for Python 3.8 was removed in `mypy-boto3-builder` version 8.12.0. If you are using this version of the stubs, you must use Python 3.9 or newer.
fix
Upgrade your Python environment to 3.9 or later.
affects: >=8.12.0 of mypy-boto3-builder (which generates mypy-boto3-workspaces-instances >=1.42.31)
breakingTypeDef naming conventions changed in `mypy-boto3-builder` version 8.9.0. This includes shorter names for packed method arguments (e.g., `RequestRequestTypeDef` becoming `RequestTypeDef`) and moving `Extra` postfixes.
fix
Update your code to use the new TypeDef names. Refer to the `mypy-boto3-workspaces-instances.type_defs` module for correct names.
affects: >=8.9.0 of mypy-boto3-builder
gotchaThis package provides type stubs only; it does not include the `boto3` runtime library itself. `boto3` must be installed separately for your application to function.
fix
Ensure `pip install boto3` is part of your project dependencies.
affects: All versions
gotchaPyCharm may experience slow performance or high CPU usage when dealing with `Literal` overloads in `mypy-boto3` due to a known IDE issue (PY-40997).
fix
Consider using `boto3-stubs-lite` (if appropriate for your use case) or disabling PyCharm's internal type checker and relying on external tools like `mypy` or `Pyright`.
affects: All versions with PyCharm
Upgrade
Version history
1.43.55latest on PyPI · released Jul 23, 2026
Audit
Dependencies
boto3requiredThis library provides type stubs for the 'boto3' runtime library, which must be installed separately for actual AWS interaction.
Agent activity
23 hits · last 30 days
node
20
OpenAI (training)
2
Resources
mypy-boto3-workspaces-instances — pip install mypy-boto3-workspaces-instances · libregistry