Registry /
type-stubs / mypy-boto3-arc-region-switch
Install & Compatibility
Where this runs
tested against v1.43.76 · 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.642s · 52.1MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 3.8s · import 0.582s · 53MB
50MB installed
● package 50MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
ARCRegionswitchClient
✓ from mypy_boto3_arc_region_switch.client import ARCRegionswitchClient
✗ from boto3.client import ARCRegionswitchClient
Type stubs are imported from the specific `mypy-boto3` package, not directly from `boto3`.
ARCRegionswitchServiceName
✓ from mypy_boto3_arc_region_switch.type_defs import ARCRegionswitchServiceName
Service name literals for type hinting are available in type_defs.
This example demonstrates how to initialize a `boto3` client and use the `ARCRegionswitchClient` type annotation for improved type checking with `mypy`.
import boto3
from mypy_boto3_arc_region_switch.client import ARCRegionswitchClient
def check_arc_config(client: ARCRegionswitchClient) -> None:
try:
# Example operation for ARCRegionswitch service
response = client.get_arc_regionswitch_configuration()
print(f"ARCRegionswitch configuration: {response}")
except Exception as e:
print(f"Error getting ARCRegionswitch configuration: {e}")
if __name__ == '__main__':
# The actual client must be created from boto3
# Ensure AWS credentials are configured (e.g., via AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY env vars)
arc_client: ARCRegionswitchClient = boto3.client(
'arc-regionswitch',
region_name=os.environ.get('AWS_REGION', 'us-east-1')
)
check_arc_config(arc_client)
Debug
Known issues
breakingStarting with `mypy-boto3-builder` version 8.12.0, support for Python 3.8 has been removed. If you are using generated stubs from this builder version or newer, you must upgrade your Python environment to 3.9 or higher.fixUpgrade your Python interpreter to version 3.9 or newer.
affects: mypy-boto3-builder >= 8.12.0
gotchaThis package (`mypy-boto3-arc-region-switch`) provides only type stubs. For your application to run, you must install the `boto3` library separately. These stubs are used by static analysis tools like `mypy` for type checking, not for runtime execution.fixEnsure `boto3` is installed in your environment: `pip install boto3`.
affects: All
breakingTypeDef naming conventions were changed in `mypy-boto3-builder` 8.9.0. Specifically, packed method arguments and conflicting TypeDefs might have shorter names or 'Extra' postfix moved. If your code explicitly imports or references generated TypeDefs, these changes could introduce type errors.fixReview your explicit TypeDef imports and references, updating names according to the new conventions (e.g., `CreateDistributionRequestRequestTypeDef` -> `CreateDistributionRequestTypeDef`).
affects: mypy-boto3-builder >= 8.9.0
gotchaFor the most accurate type checking, ensure that the version of your `mypy-boto3-*` stubs closely matches your installed `boto3` version. Significant version mismatches can lead to incorrect type errors or missed type checks, as service APIs evolve.fixKeep your `mypy-boto3-*` packages and `boto3` up to date and in sync. Consider using a `requirements.txt` with pinned versions.
affects: All
Upgrade
Version history
1.43.76latest on PyPI · released Aug 20, 2026
Audit
Dependencies
boto3requiredRequired at runtime; this package only provides type stubs.
typing-extensionsoptionalUsed for compatibility with older Python versions where `typing` features are backported.