Type annotations for boto3.ChimeSDKMessaging 1.19.8 service, generated by mypy-boto3-builder 6.0.2
Project description
mypy-boto3-chime-sdk-messaging
Type annotations for boto3.ChimeSDKMessaging 1.19.8 service compatible with VSCode, PyCharm, Emacs, Sublime Text, mypy, pyright and other tools.
Generated by mypy-boto3-builder 6.0.2.
More information can be found on boto3-stubs page and in mypy-boto3-chime-sdk-messaging docs
See how it helps to find and fix potential bugs:
How to install
Install boto3-stubs
for ChimeSDKMessaging
service.
python -m pip install boto3-stubs[chime-sdk-messaging]
Usage
VSCode
- Install Python extension
- Install Pylance extension
- Set
Pylance
as your Python Language Server - Install
boto-stubs[chime-sdk-messaging]
in your environment:python -m pip install 'boto3-stubs[chime-sdk-messaging]'
Both type checking and auto-complete should work for ChimeSDKMessaging
service. No explicit type annotations required, write your boto3
code as
usual.
PyCharm
- Install
boto-stubs[chime-sdk-messaging]
in your environment:python -m pip install 'boto3-stubs[chime-sdk-messaging]'
Both type checking and auto-complete should work for ChimeSDKMessaging
service. No explicit type annotations required, write your boto3
code as
usual. Auto-complete can be slow on big projects or if you have a lot of
installed boto3-stubs
submodules.
Other IDEs
Not tested, but as long as your IDE supports mypy
or pyright
, everything
should work.
mypy
- Install
mypy
:python -m pip install mypy
- Install
boto-stubs[chime-sdk-messaging]
in your environment:python -m pip install 'boto3-stubs[chime-sdk-messaging]'
- Run
mypy
as usual
Type checking should work for ChimeSDKMessaging
service. No explicit type
annotations required, write your boto3
code as usual.
pyright
- Install
pyright
:yarn global add pyright
- Install
boto-stubs[chime-sdk-messaging]
in your environment:python -m pip install 'boto3-stubs[chime-sdk-messaging]'
- Optionally, you can install
boto3-stubs
totypings
folder.
Type checking should work for ChimeSDKMessaging
service. No explicit type
annotations required, write your boto3
code as usual.
Explicit type annotations
Client annotations
ChimeSDKMessagingClient
provides annotations for
boto3.client("chime-sdk-messaging")
.
import boto3
from mypy_boto3_chime_sdk_messaging import ChimeSDKMessagingClient
client: ChimeSDKMessagingClient = boto3.client("chime-sdk-messaging")
# now client usage is checked by mypy and IDE should provide code auto-complete
# works for session as well
session = boto3.session.Session(region="us-west-1")
session_client: ChimeSDKMessagingClient = session.client("chime-sdk-messaging")
Literals
mypy_boto3_chime_sdk_messaging.literals
module contains literals extracted
from shapes that can be used in user code for type checking.
from mypy_boto3_chime_sdk_messaging.literals import (
AllowNotificationsType,
ChannelMembershipTypeType,
ChannelMessagePersistenceTypeType,
ChannelMessageStatusType,
ChannelMessageTypeType,
ChannelModeType,
ChannelPrivacyType,
ErrorCodeType,
FallbackActionType,
InvocationTypeType,
PushNotificationTypeType,
SortOrderType,
ServiceName,
)
def check_value(value: AllowNotificationsType) -> bool:
...
Typed dictionaries
mypy_boto3_chime_sdk_messaging.type_defs
module contains structures and
shapes assembled to typed dictionaries for additional type checking.
from mypy_boto3_chime_sdk_messaging.type_defs import (
AppInstanceUserMembershipSummaryTypeDef,
AssociateChannelFlowRequestRequestTypeDef,
BatchChannelMembershipsTypeDef,
BatchCreateChannelMembershipErrorTypeDef,
BatchCreateChannelMembershipRequestRequestTypeDef,
BatchCreateChannelMembershipResponseTypeDef,
ChannelAssociatedWithFlowSummaryTypeDef,
ChannelBanSummaryTypeDef,
ChannelBanTypeDef,
ChannelFlowCallbackRequestRequestTypeDef,
ChannelFlowCallbackResponseTypeDef,
ChannelFlowSummaryTypeDef,
ChannelFlowTypeDef,
ChannelMembershipForAppInstanceUserSummaryTypeDef,
ChannelMembershipPreferencesTypeDef,
ChannelMembershipSummaryTypeDef,
ChannelMembershipTypeDef,
ChannelMessageCallbackTypeDef,
ChannelMessageStatusStructureTypeDef,
ChannelMessageSummaryTypeDef,
ChannelMessageTypeDef,
ChannelModeratedByAppInstanceUserSummaryTypeDef,
ChannelModeratorSummaryTypeDef,
ChannelModeratorTypeDef,
ChannelSummaryTypeDef,
ChannelTypeDef,
CreateChannelBanRequestRequestTypeDef,
CreateChannelBanResponseTypeDef,
CreateChannelFlowRequestRequestTypeDef,
CreateChannelFlowResponseTypeDef,
CreateChannelMembershipRequestRequestTypeDef,
CreateChannelMembershipResponseTypeDef,
CreateChannelModeratorRequestRequestTypeDef,
CreateChannelModeratorResponseTypeDef,
CreateChannelRequestRequestTypeDef,
CreateChannelResponseTypeDef,
DeleteChannelBanRequestRequestTypeDef,
DeleteChannelFlowRequestRequestTypeDef,
DeleteChannelMembershipRequestRequestTypeDef,
DeleteChannelMessageRequestRequestTypeDef,
DeleteChannelModeratorRequestRequestTypeDef,
DeleteChannelRequestRequestTypeDef,
DescribeChannelBanRequestRequestTypeDef,
DescribeChannelBanResponseTypeDef,
DescribeChannelFlowRequestRequestTypeDef,
DescribeChannelFlowResponseTypeDef,
DescribeChannelMembershipForAppInstanceUserRequestRequestTypeDef,
DescribeChannelMembershipForAppInstanceUserResponseTypeDef,
DescribeChannelMembershipRequestRequestTypeDef,
DescribeChannelMembershipResponseTypeDef,
DescribeChannelModeratedByAppInstanceUserRequestRequestTypeDef,
DescribeChannelModeratedByAppInstanceUserResponseTypeDef,
DescribeChannelModeratorRequestRequestTypeDef,
DescribeChannelModeratorResponseTypeDef,
DescribeChannelRequestRequestTypeDef,
DescribeChannelResponseTypeDef,
DisassociateChannelFlowRequestRequestTypeDef,
GetChannelMembershipPreferencesRequestRequestTypeDef,
GetChannelMembershipPreferencesResponseTypeDef,
GetChannelMessageRequestRequestTypeDef,
GetChannelMessageResponseTypeDef,
GetChannelMessageStatusRequestRequestTypeDef,
GetChannelMessageStatusResponseTypeDef,
GetMessagingSessionEndpointResponseTypeDef,
IdentityTypeDef,
LambdaConfigurationTypeDef,
ListChannelBansRequestRequestTypeDef,
ListChannelBansResponseTypeDef,
ListChannelFlowsRequestRequestTypeDef,
ListChannelFlowsResponseTypeDef,
ListChannelMembershipsForAppInstanceUserRequestRequestTypeDef,
ListChannelMembershipsForAppInstanceUserResponseTypeDef,
ListChannelMembershipsRequestRequestTypeDef,
ListChannelMembershipsResponseTypeDef,
ListChannelMessagesRequestRequestTypeDef,
ListChannelMessagesResponseTypeDef,
ListChannelModeratorsRequestRequestTypeDef,
ListChannelModeratorsResponseTypeDef,
ListChannelsAssociatedWithChannelFlowRequestRequestTypeDef,
ListChannelsAssociatedWithChannelFlowResponseTypeDef,
ListChannelsModeratedByAppInstanceUserRequestRequestTypeDef,
ListChannelsModeratedByAppInstanceUserResponseTypeDef,
ListChannelsRequestRequestTypeDef,
ListChannelsResponseTypeDef,
ListTagsForResourceRequestRequestTypeDef,
ListTagsForResourceResponseTypeDef,
MessageAttributeValueTypeDef,
MessagingSessionEndpointTypeDef,
ProcessorConfigurationTypeDef,
ProcessorTypeDef,
PushNotificationConfigurationTypeDef,
PushNotificationPreferencesTypeDef,
PutChannelMembershipPreferencesRequestRequestTypeDef,
PutChannelMembershipPreferencesResponseTypeDef,
RedactChannelMessageRequestRequestTypeDef,
RedactChannelMessageResponseTypeDef,
ResponseMetadataTypeDef,
SendChannelMessageRequestRequestTypeDef,
SendChannelMessageResponseTypeDef,
TagResourceRequestRequestTypeDef,
TagTypeDef,
UntagResourceRequestRequestTypeDef,
UpdateChannelFlowRequestRequestTypeDef,
UpdateChannelFlowResponseTypeDef,
UpdateChannelMessageRequestRequestTypeDef,
UpdateChannelMessageResponseTypeDef,
UpdateChannelReadMarkerRequestRequestTypeDef,
UpdateChannelReadMarkerResponseTypeDef,
UpdateChannelRequestRequestTypeDef,
UpdateChannelResponseTypeDef,
)
def get_structure() -> AppInstanceUserMembershipSummaryTypeDef:
return {
...
}
Versioning
mypy-boto3-chime-sdk-messaging
version is the same as related boto3
version
and follows PEP 440 format.
Documentation
All type annotations can be found in mypy-boto3-chime-sdk-messaging docs
Support and contributing
This package is auto-generated. Please reports any bugs or request new features in mypy-boto3-builder repository.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for mypy-boto3-chime-sdk-messaging-1.19.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 674c1e09c01bde2fd120b699f23343784afbe3b1e0bb0aa1a891b5d2082dd5a1 |
|
MD5 | 95ea026f0b0f28972593c66b89a4e74b |
|
BLAKE2b-256 | 880b209f2f336d8e935a9902203d689e3c4b63f4ee053dd81edf27fdfff8d562 |
Hashes for mypy_boto3_chime_sdk_messaging-1.19.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 29502e9351201f0710122d6a8f14ddb741263fb14d24215631e94dab3a3caad8 |
|
MD5 | 519f3693c9f6d6736862272ded49c03b |
|
BLAKE2b-256 | 9962daf4dfef7477dc6a0941e33b0e247f4912d4a1e357b368b42484ad7ad024 |