Registry / type-stubs / mypy-boto3-gameliftstreams

mypy-boto3-gameliftstreams

JSON →
library1.43.59pypypi✓ verified 22d ago

mypy-boto3-gameliftstreams provides type annotations for the boto3 GameLiftStreams service. It enhances static analysis for boto3 client calls related to GameLift Streams, offering improved autocompletion and error checking in IDEs and with type checkers like Mypy. The library is actively maintained, with releases tied to upstream boto3 updates and its generator, mypy-boto3-builder.

pip install mypy-boto3-gameliftstreams
INSTALL
IMPORT
SIG · MYPY-BOTO3-GAMELIF
M
mypy-boto3-gameliftstreams
type-stubspythonv1.43.59
Install
3.4s avg
Import
Disk
18MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v1.43.59 · 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 · 19.8MB
glibc
py 3.103.910 runs
installs and imports cleanly · install 3.4s · import 0.000s · 20MB
18MB installed
● package 18MB
Code
Verified usage

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

GameLiftStreamsClient
from mypy_boto3_gameliftstreams import GameLiftStreamsClient
from mypy_boto3_gameliftstreams import GameLiftStreamsClient

This quickstart demonstrates how to obtain a type-checked GameLiftStreams client from a boto3 session and call a basic operation like `list_streams`. The `TYPE_CHECKING` block ensures that type-specific imports are only active during static analysis, avoiding runtime dependencies on `mypy-boto3-gameliftstreams`.

import os from typing import TYPE_CHECKING from boto3.session import Session # These imports are for type-checking only if TYPE_CHECKING: from mypy_boto3_gameliftstreams.client import GameLiftStreamsClient from mypy_boto3_gameliftstreams.type_defs import ListStreamsOutputTypeDef # Configure AWS credentials if not using environment variables/profile # os.environ['AWS_ACCESS_KEY_ID'] = os.environ.get('AWS_ACCESS_KEY_ID', 'YOUR_ACCESS_KEY') # os.environ['AWS_SECRET_ACCESS_KEY'] = os.environ.get('AWS_SECRET_ACCESS_KEY', 'YOUR_SECRET_KEY') # os.environ['AWS_REGION'] = os.environ.get('AWS_REGION', 'us-east-1') def get_gamelift_streams_client() -> "GameLiftStreamsClient": session = Session() client: GameLiftStreamsClient = session.client("gamelift-streams") return client def list_gamelift_streams(): client = get_gamelift_streams_client() try: # Example: List GameLift Streams (replace with actual method if 'list_streams' is not relevant or requires args) response: ListStreamsOutputTypeDef = client.list_streams() print("Successfully listed GameLift Streams.") # Process response here # For example, if there were a 'Streams' key with a list of stream data: # for stream in response.get('Streams', []): # print(f" Stream ARN: {stream.get('StreamArn')}") print(response) except client.exceptions.ClientError as e: print(f"Error listing GameLift Streams: {e}") if __name__ == "__main__": list_gamelift_streams()
Debug
Known issues
breakingStarting with `mypy-boto3-builder` version 8.12.0 (which generated this stub), support for Python 3.8 has been removed across all `mypy-boto3` packages. Users on Python 3.8 will need to upgrade to Python 3.9 or newer to use this and subsequent versions.
fix
Upgrade your Python environment to 3.9 or newer.
affects: mypy-boto3-builder >=8.12.0
breakingType definition names (TypeDefs) for packed method arguments and those with conflicting names were changed in `mypy-boto3-builder` version 8.9.0. For example, `CreateDistributionRequestRequestTypeDef` became `CreateDistributionRequestTypeDef`, and `CreateDistributionExtraRequestTypeDef` changed to `CreateDistributionRequestExtraTypeDef`. This may break existing explicit type annotations.
fix
Review and update explicit TypeDef annotations in your codebase according to the new naming conventions.
affects: mypy-boto3-builder >=8.9.0
gotchaPyCharm users might experience slow performance with `mypy-boto3` due to its handling of Literal overloads (PyCharm issue PY-40997). For large projects or if performance is an issue, consider using the `*-lite` versions (e.g., `boto3-stubs-lite[gameliftstreams]`) which offer a more RAM-friendly experience at the cost of requiring more explicit type annotations.
fix
If experiencing performance issues in PyCharm, try using `boto3-stubs-lite` or ensure your PyCharm and Python plugin versions are up to date.
affects: All versions
gotchaThe functionality and accuracy of type annotations are tightly coupled to the underlying `boto3` library version. Ensure that your `mypy-boto3-gameliftstreams` version closely matches your installed `boto3` version to avoid inconsistencies in type hints.
fix
Align `mypy-boto3-gameliftstreams` and `boto3` versions, ideally by installing `boto3-stubs` with the `[boto3]` extra (e.g., `pip install 'boto3-stubs[boto3]'`) or by manually matching versions.
affects: All versions
Upgrade
Version history
1.43.59latest on PyPI · released Jul 29, 2026
Audit
Dependencies
boto3requiredRequired runtime library for AWS SDK functionality.
mypyoptionalType checker required to utilize the annotations.
typing-extensionsoptionalMay be required for full functionality on older Python versions, though typically handled by environment.
Agent activity
20 hits · last 30 days
node
18
OpenAI (training)
1
Resources
mypy-boto3-gameliftstreams — pip install mypy-boto3-gameliftstreams · libregistry