Registry / type-stubs / mypy-boto3-rtbfabric

mypy-boto3-rtbfabric

JSON →
library1.43.56pypypi✓ verified 23d ago

mypy-boto3-rtbfabric provides type annotations for the `boto3` RTBFabric service, enabling static type checking for AWS SDK operations. It is generated by the `mypy-boto3-builder` project. The current version is 1.42.88, with frequent releases often multiple times a month, synchronized with upstream `boto3` API changes and `mypy-boto3-builder` updates.

pip install mypy-boto3-rtbfabric boto3
INSTALL
IMPORT
SIG · MYPY-BOTO3-RTBFABR
M
mypy-boto3-rtbfabric
type-stubspythonv1.43.56
Install
2.6s avg
Import
615ms
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.56 · 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.658s · 52.1MB
glibc
py 3.103.910 runs
installs and imports cleanly · install 2.6s · import 0.572s · 53MB
50MB installed
● package 50MB
Code
Verified usage

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

RTBFabricClient
from mypy_boto3_rtbfabric import RTBFabricClient
ListProfilesResponseTypeDef
from mypy_boto3_rtbfabric.type_defs import ListProfilesResponseTypeDef
Type definitions are typically imported from the `type_defs` submodule.
ListProfilesPaginator
from mypy_boto3_rtbfabric.paginator import ListProfilesPaginator
Paginator types are imported from the `paginator` submodule.

This quickstart demonstrates how to initialize a `boto3` client for the `rtbfabric` service with type hints from `mypy-boto3-rtbfabric`. It shows how to use the `RTBFabricClient` type and how `type_defs` can be imported for response objects. Note that RTBFabric might be a niche AWS service, so specific method calls might vary; the example uses a common pattern to illustrate type stub usage.

import boto3 from mypy_boto3_rtbfabric import RTBFabricClient from mypy_boto3_rtbfabric.type_defs import ResponseMetadataTypeDef # Using a common base TypeDef for demo # Initialize the boto3 client with type hints # The 'rtbfabric' service might be an internal or less common AWS service. # Replace with your actual service details and methods if available. client: RTBFabricClient = boto3.client("rtbfabric") # Call a hypothetical API method and type-hint its response. # This demonstrates how type stubs enable static analysis for your boto3 calls. print("Attempting to call a hypothetical RTBFabric method (e.g., list_profiles)...") try: # Actual method names and TypeDefs depend on the RTBFabric service API. # Using get_paginator('list_profiles') as a plausible example of stub interaction. paginator = client.get_paginator("list_profiles") # The paginate() method typically returns a generator of response dicts. # For simplicity, we'll just demonstrate the client's type-hinted methods. response_meta: ResponseMetadataTypeDef = client.list_tags_for_resource(ResourceArn="dummy-arn")["ResponseMetadata"] print(f"Successfully interacted with RTBFabric client. Status Code: {response_meta['HTTPStatusCode']}") except client.exceptions.RTBFabricException as e: print(f"RTBFabric specific exception caught: {e} (Expected if service is not configured or method is unknown).") except Exception as e: print(f"Generic exception caught: {e} (Expected if service or method is unavailable).") print("\nClient methods available (demonstration of type-hinted access):") # dir(client) will show many methods, demonstrating the stubs are active print(f"Client methods (first 5): {dir(client)[10:15]}")
Debug
Known issues
breakingStarting with `mypy-boto3-builder` version 8.12.0 (and consequently `mypy-boto3` packages), Python 3.8 is no longer supported. Ensure your project uses Python 3.9 or newer.
fix
Upgrade your Python environment to 3.9 or a newer version.
affects: >=8.12.0 (builder)
breakingIn `mypy-boto3-builder` version 8.9.0, there were breaking changes to `TypeDef` naming conventions. Request type definitions became shorter (e.g., `CreateDistributionRequestRequestTypeDef` -> `CreateDistributionRequestTypeDef`), and `Extra` postfixes moved to the end (e.g., `CreateDistributionExtraRequestTypeDef` -> `CreateDistributionRequestExtraTypeDef`). This might affect custom type hints based on older `TypeDef` names.
fix
Review and update `TypeDef` names in your codebase according to the new conventions. Consult the `mypy-boto3` documentation or regenerate your code if you relied on these specific `TypeDef` names.
affects: >=8.9.0 (builder)
gotchaThis package (`mypy-boto3-rtbfabric`) provides only type stubs. It does not include the actual `boto3` runtime library. You must install `boto3` separately for your application to function at runtime.
fix
Always install `boto3` alongside `mypy-boto3-rtbfabric` using `pip install boto3 mypy-boto3-rtbfabric`.
affects: *
gotchaTo benefit from these type stubs, you need a static type checker like `mypy` configured in your development environment. Without running a type checker, the stubs have no effect on runtime behavior.
fix
Install `mypy` (`pip install mypy`) and integrate it into your build or CI process. Run `mypy your_module.py` to check for type errors.
affects: *
deprecatedThe `sms-voice` service was deprecated and removed from `mypy-boto3` (and `boto3`) starting with builder version 8.11.0. Users should migrate to the `pinpoint-sms-voice` service instead.
fix
If you were using `sms-voice`, switch to the `pinpoint-sms-voice` service and its corresponding `mypy-boto3-pinpoint-sms-voice` stubs.
affects: >=8.11.0 (builder)
Upgrade
Version history
1.43.56latest on PyPI · released Jul 24, 2026
Audit
Dependencies
boto3requiredRuntime dependency for AWS SDK functionality. mypy-boto3-rtbfabric only provides type stubs.
mypyoptionalDevelopment dependency for static type checking.
Agent activity
12 hits · last 30 days
node
10
OpenAI (training)
1
Resources
mypy-boto3-rtbfabric — pip install mypy-boto3-rtbfabric · libregistry