Registry / type-stubs / mypy-boto3-socialmessaging

mypy-boto3-socialmessaging

JSON →
library1.43.66pypypi✓ verified 28d ago

Type annotations for the `boto3` AWS SDK's EndUserMessagingSocial service. This library provides static type checking and autocompletion for `boto3` clients and resources related to the Social Messaging service, generated by `mypy-boto3-builder`. It is compatible with various IDEs and static analysis tools like mypy and pyright. The current version is 1.42.28, and it follows a frequent release cadence, often aligning with `boto3` and `botocore` updates.

pip install mypy-boto3-socialmessaging boto3
INSTALL
IMPORT
SIG · MYPY-BOTO3-SOCIALM
M
mypy-boto3-socialmessaging
type-stubspythonv1.43.66
Install
3.7s avg
Import
577ms
Disk
50MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.9–3.13
musl
3.9–3.13
Install & Compatibility
Where this runs
tested against v1.43.66 · 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.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.588s · 52MB
glibc
py 3.10–3.95 runs
installs and imports cleanly · install 3.7s · import 0.566s · 52MB
50MB installed
● package 50MB
Code
Verified usage

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

EndUserMessagingSocialClient
✓ from mypy_boto3_socialmessaging.client import EndUserMessagingSocialClient

This quickstart demonstrates how to obtain and use a type-hinted `boto3` client for the EndUserMessagingSocial service. It shows the correct import for the client and a basic pattern for instantiation. While the example `get_profile_snapshot` is commented out as it requires specific AWS resources, the setup for type-hinting is complete.

import boto3 from mypy_boto3_socialmessaging.client import EndUserMessagingSocialClient from os import environ from typing import TYPE_CHECKING # This example assumes AWS credentials are configured (e.g., via environment variables, ~/.aws/credentials, or IAM roles). if TYPE_CHECKING: # Only for type checking, not needed at runtime if boto3 is installed from mypy_boto3_socialmessaging.type_defs import GetProfileSnapshotResponseTypeDef def get_social_messaging_client() -> EndUserMessagingSocialClient: """Returns a type-hinted boto3 SocialMessaging client.""" region = environ.get("AWS_REGION", "us-east-1") # Default region if not set return boto3.client("end-user-messaging-social", region_name=region) # Example usage: # client: EndUserMessagingSocialClient = get_social_messaging_client() # try: # # Replace with actual API calls for EndUserMessagingSocial # response: GetProfileSnapshotResponseTypeDef = client.get_profile_snapshot() # print(f"Successfully retrieved profile snapshot: {response}") # except client.exceptions.ResourceNotFoundException: # print("Profile snapshot not found.") # except Exception as e: # print(f"An error occurred: {e}") print("mypy-boto3-socialmessaging stubs are installed and ready for type-hinting!") print("Example client function defined: get_social_messaging_client()")
Debug
Known issues
breakingPython 3.8 support was explicitly removed in `mypy-boto3-builder` version 8.12.0, which affects all generated stub packages, including `mypy-boto3-socialmessaging`. Users on Python 3.8 will need to upgrade their Python version to 3.9+ to use this library.
fix
Upgrade your Python environment to 3.9 or newer.
affects: >=8.12.0
breakingStarting from `mypy-boto3-builder` version 8.9.0, there were breaking changes in TypeDef naming conventions. This includes shorter names for packed method arguments (e.g., `CreateDistributionRequestRequestTypeDef` became `CreateDistributionRequestTypeDef`) and reordering of `Extra` postfixes. If you rely on specific generated TypeDef names, you may need to update your code.
fix
Review your explicit TypeDef imports and usage, adapting to the new naming conventions documented in `mypy-boto3-builder` releases.
affects: >=8.9.0
gotchaThis package provides *only* type annotations (stubs) for the `boto3` library's `EndUserMessagingSocial` service. It does not include the `boto3` runtime itself. You *must* install the `boto3` library separately for your code to function at runtime (`pip install boto3`).
fix
Ensure `boto3` is installed in your project environment alongside `mypy-boto3-socialmessaging`.
affects: all
gotchaThe versioning of `mypy-boto3-socialmessaging` (and other `mypy-boto3` ecosystem packages) does not directly correlate with the `boto3` version. It follows independent Python Packaging version specifiers, driven by the `mypy-boto3-builder`, meaning a higher `mypy-boto3-socialmessaging` version doesn't necessarily imply compatibility only with a specific `boto3` version.
fix
Always install `mypy-boto3-socialmessaging` that matches or is close to the `boto3` version you are using, or verify compatibility with the `mypy-boto3-builder` documentation.
affects: all
Upgrade
Version history
1.43.66latest on PyPI · released Aug 7, 2026
Audit
Dependencies
boto3requiredRuntime dependency for the AWS SDK functionalities you are type-hinting.
pythonrequiredRequires Python 3.9 or higher.
Agent activity
27 hits · last 30 days
node
24
OpenAI (training)
1
Resources
mypy-boto3-socialmessaging — pip install mypy-boto3-socialmessaging · libregistry