Registry / type-stubs / mypy-boto3-arc-region-switch

mypy-boto3-arc-region-switch

JSON →
library1.43.76pypypi✓ verified 22d ago

This library provides type annotations (stubs) for the `boto3` ARCRegionswitch service client, generated with `mypy-boto3-builder`. It enhances development experience by enabling static type checking for `boto3` code. The current version is 1.42.59, and it is actively maintained with frequent updates tied to `boto3` releases and `mypy-boto3-builder` improvements.

pip install mypy-boto3-arc-region-switch boto3
INSTALL
IMPORT
SIG · MYPY-BOTO3-ARC-REG
M
mypy-boto3-arc-region-switch
type-stubspythonv1.43.76
Install
3.8s avg
Import
612ms
Disk
50MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
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
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.642s · 52.1MB
glibc
py 3.103.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.
fix
Upgrade 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.
fix
Ensure `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.
fix
Review 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.
fix
Keep 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.
Agent activity
18 hits · last 30 days
node
16
OpenAI (training)
1
Resources
mypy-boto3-arc-region-switch — pip install mypy-boto3-arc-region-switch · libregistry