Typed dictionaries#
Index > ChimeSDKMessaging > Typed dictionaries
Auto-generated documentation for ChimeSDKMessaging type annotations stubs module mypy-boto3-chime-sdk-messaging.
AppInstanceUserMembershipSummaryTypeDef#
# AppInstanceUserMembershipSummaryTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import AppInstanceUserMembershipSummaryTypeDef
def get_value() -> AppInstanceUserMembershipSummaryTypeDef:
return {
"Type": ...,
}
# AppInstanceUserMembershipSummaryTypeDef definition
class AppInstanceUserMembershipSummaryTypeDef(TypedDict):
Type: NotRequired[ChannelMembershipTypeType], # (1)
ReadMarkerTimestamp: NotRequired[datetime],
SubChannelId: NotRequired[str],
AssociateChannelFlowRequestRequestTypeDef#
# AssociateChannelFlowRequestRequestTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import AssociateChannelFlowRequestRequestTypeDef
def get_value() -> AssociateChannelFlowRequestRequestTypeDef:
return {
"ChannelArn": ...,
"ChannelFlowArn": ...,
"ChimeBearer": ...,
}
# AssociateChannelFlowRequestRequestTypeDef definition
class AssociateChannelFlowRequestRequestTypeDef(TypedDict):
ChannelArn: str,
ChannelFlowArn: str,
ChimeBearer: str,
IdentityTypeDef#
# IdentityTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import IdentityTypeDef
def get_value() -> IdentityTypeDef:
return {
"Arn": ...,
}
# IdentityTypeDef definition
class IdentityTypeDef(TypedDict):
Arn: NotRequired[str],
Name: NotRequired[str],
BatchCreateChannelMembershipErrorTypeDef#
# BatchCreateChannelMembershipErrorTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import BatchCreateChannelMembershipErrorTypeDef
def get_value() -> BatchCreateChannelMembershipErrorTypeDef:
return {
"MemberArn": ...,
}
# BatchCreateChannelMembershipErrorTypeDef definition
class BatchCreateChannelMembershipErrorTypeDef(TypedDict):
MemberArn: NotRequired[str],
ErrorCode: NotRequired[ErrorCodeType], # (1)
ErrorMessage: NotRequired[str],
- See ErrorCodeType
BatchCreateChannelMembershipRequestRequestTypeDef#
# BatchCreateChannelMembershipRequestRequestTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import BatchCreateChannelMembershipRequestRequestTypeDef
def get_value() -> BatchCreateChannelMembershipRequestRequestTypeDef:
return {
"ChannelArn": ...,
"MemberArns": ...,
"ChimeBearer": ...,
}
# BatchCreateChannelMembershipRequestRequestTypeDef definition
class BatchCreateChannelMembershipRequestRequestTypeDef(TypedDict):
ChannelArn: str,
MemberArns: Sequence[str],
ChimeBearer: str,
Type: NotRequired[ChannelMembershipTypeType], # (1)
SubChannelId: NotRequired[str],
ChannelAssociatedWithFlowSummaryTypeDef#
# ChannelAssociatedWithFlowSummaryTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import ChannelAssociatedWithFlowSummaryTypeDef
def get_value() -> ChannelAssociatedWithFlowSummaryTypeDef:
return {
"Name": ...,
}
# ChannelAssociatedWithFlowSummaryTypeDef definition
class ChannelAssociatedWithFlowSummaryTypeDef(TypedDict):
Name: NotRequired[str],
ChannelArn: NotRequired[str],
Mode: NotRequired[ChannelModeType], # (1)
Privacy: NotRequired[ChannelPrivacyType], # (2)
Metadata: NotRequired[str],
- See ChannelModeType
- See ChannelPrivacyType
ChannelFlowCallbackResponseTypeDef#
# ChannelFlowCallbackResponseTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import ChannelFlowCallbackResponseTypeDef
def get_value() -> ChannelFlowCallbackResponseTypeDef:
return {
"ChannelArn": ...,
"CallbackId": ...,
"ResponseMetadata": ...,
}
# ChannelFlowCallbackResponseTypeDef definition
class ChannelFlowCallbackResponseTypeDef(TypedDict):
ChannelArn: str,
CallbackId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
ChannelSummaryTypeDef#
# ChannelSummaryTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import ChannelSummaryTypeDef
def get_value() -> ChannelSummaryTypeDef:
return {
"Name": ...,
}
# ChannelSummaryTypeDef definition
class ChannelSummaryTypeDef(TypedDict):
Name: NotRequired[str],
ChannelArn: NotRequired[str],
Mode: NotRequired[ChannelModeType], # (1)
Privacy: NotRequired[ChannelPrivacyType], # (2)
Metadata: NotRequired[str],
LastMessageTimestamp: NotRequired[datetime],
- See ChannelModeType
- See ChannelPrivacyType
PushNotificationPreferencesTypeDef#
# PushNotificationPreferencesTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import PushNotificationPreferencesTypeDef
def get_value() -> PushNotificationPreferencesTypeDef:
return {
"AllowNotifications": ...,
}
# PushNotificationPreferencesTypeDef definition
class PushNotificationPreferencesTypeDef(TypedDict):
AllowNotifications: AllowNotificationsType, # (1)
FilterRule: NotRequired[str],
MessageAttributeValueTypeDef#
# MessageAttributeValueTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import MessageAttributeValueTypeDef
def get_value() -> MessageAttributeValueTypeDef:
return {
"StringValues": ...,
}
# MessageAttributeValueTypeDef definition
class MessageAttributeValueTypeDef(TypedDict):
StringValues: NotRequired[Sequence[str]],
PushNotificationConfigurationTypeDef#
# PushNotificationConfigurationTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import PushNotificationConfigurationTypeDef
def get_value() -> PushNotificationConfigurationTypeDef:
return {
"Title": ...,
}
# PushNotificationConfigurationTypeDef definition
class PushNotificationConfigurationTypeDef(TypedDict):
Title: NotRequired[str],
Body: NotRequired[str],
Type: NotRequired[PushNotificationTypeType], # (1)
ChannelMessageStatusStructureTypeDef#
# ChannelMessageStatusStructureTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import ChannelMessageStatusStructureTypeDef
def get_value() -> ChannelMessageStatusStructureTypeDef:
return {
"Value": ...,
}
# ChannelMessageStatusStructureTypeDef definition
class ChannelMessageStatusStructureTypeDef(TypedDict):
Value: NotRequired[ChannelMessageStatusType], # (1)
Detail: NotRequired[str],
ElasticChannelConfigurationTypeDef#
# ElasticChannelConfigurationTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import ElasticChannelConfigurationTypeDef
def get_value() -> ElasticChannelConfigurationTypeDef:
return {
"MaximumSubChannels": ...,
"TargetMembershipsPerSubChannel": ...,
"MinimumMembershipPercentage": ...,
}
# ElasticChannelConfigurationTypeDef definition
class ElasticChannelConfigurationTypeDef(TypedDict):
MaximumSubChannels: int,
TargetMembershipsPerSubChannel: int,
MinimumMembershipPercentage: int,
ExpirationSettingsTypeDef#
# ExpirationSettingsTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import ExpirationSettingsTypeDef
def get_value() -> ExpirationSettingsTypeDef:
return {
"ExpirationDays": ...,
"ExpirationCriterion": ...,
}
# ExpirationSettingsTypeDef definition
class ExpirationSettingsTypeDef(TypedDict):
ExpirationDays: int,
ExpirationCriterion: ExpirationCriterionType, # (1)
CreateChannelBanRequestRequestTypeDef#
# CreateChannelBanRequestRequestTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import CreateChannelBanRequestRequestTypeDef
def get_value() -> CreateChannelBanRequestRequestTypeDef:
return {
"ChannelArn": ...,
"MemberArn": ...,
"ChimeBearer": ...,
}
# CreateChannelBanRequestRequestTypeDef definition
class CreateChannelBanRequestRequestTypeDef(TypedDict):
ChannelArn: str,
MemberArn: str,
ChimeBearer: str,
TagTypeDef#
# TagTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import TagTypeDef
def get_value() -> TagTypeDef:
return {
"Key": ...,
"Value": ...,
}
# TagTypeDef definition
class TagTypeDef(TypedDict):
Key: str,
Value: str,
CreateChannelFlowResponseTypeDef#
# CreateChannelFlowResponseTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import CreateChannelFlowResponseTypeDef
def get_value() -> CreateChannelFlowResponseTypeDef:
return {
"ChannelFlowArn": ...,
"ResponseMetadata": ...,
}
# CreateChannelFlowResponseTypeDef definition
class CreateChannelFlowResponseTypeDef(TypedDict):
ChannelFlowArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
CreateChannelMembershipRequestRequestTypeDef#
# CreateChannelMembershipRequestRequestTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import CreateChannelMembershipRequestRequestTypeDef
def get_value() -> CreateChannelMembershipRequestRequestTypeDef:
return {
"ChannelArn": ...,
"MemberArn": ...,
"Type": ...,
"ChimeBearer": ...,
}
# CreateChannelMembershipRequestRequestTypeDef definition
class CreateChannelMembershipRequestRequestTypeDef(TypedDict):
ChannelArn: str,
MemberArn: str,
Type: ChannelMembershipTypeType, # (1)
ChimeBearer: str,
SubChannelId: NotRequired[str],
CreateChannelModeratorRequestRequestTypeDef#
# CreateChannelModeratorRequestRequestTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import CreateChannelModeratorRequestRequestTypeDef
def get_value() -> CreateChannelModeratorRequestRequestTypeDef:
return {
"ChannelArn": ...,
"ChannelModeratorArn": ...,
"ChimeBearer": ...,
}
# CreateChannelModeratorRequestRequestTypeDef definition
class CreateChannelModeratorRequestRequestTypeDef(TypedDict):
ChannelArn: str,
ChannelModeratorArn: str,
ChimeBearer: str,
CreateChannelResponseTypeDef#
# CreateChannelResponseTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import CreateChannelResponseTypeDef
def get_value() -> CreateChannelResponseTypeDef:
return {
"ChannelArn": ...,
"ResponseMetadata": ...,
}
# CreateChannelResponseTypeDef definition
class CreateChannelResponseTypeDef(TypedDict):
ChannelArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DeleteChannelBanRequestRequestTypeDef#
# DeleteChannelBanRequestRequestTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import DeleteChannelBanRequestRequestTypeDef
def get_value() -> DeleteChannelBanRequestRequestTypeDef:
return {
"ChannelArn": ...,
"MemberArn": ...,
"ChimeBearer": ...,
}
# DeleteChannelBanRequestRequestTypeDef definition
class DeleteChannelBanRequestRequestTypeDef(TypedDict):
ChannelArn: str,
MemberArn: str,
ChimeBearer: str,
DeleteChannelFlowRequestRequestTypeDef#
# DeleteChannelFlowRequestRequestTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import DeleteChannelFlowRequestRequestTypeDef
def get_value() -> DeleteChannelFlowRequestRequestTypeDef:
return {
"ChannelFlowArn": ...,
}
# DeleteChannelFlowRequestRequestTypeDef definition
class DeleteChannelFlowRequestRequestTypeDef(TypedDict):
ChannelFlowArn: str,
DeleteChannelMembershipRequestRequestTypeDef#
# DeleteChannelMembershipRequestRequestTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import DeleteChannelMembershipRequestRequestTypeDef
def get_value() -> DeleteChannelMembershipRequestRequestTypeDef:
return {
"ChannelArn": ...,
"MemberArn": ...,
"ChimeBearer": ...,
}
# DeleteChannelMembershipRequestRequestTypeDef definition
class DeleteChannelMembershipRequestRequestTypeDef(TypedDict):
ChannelArn: str,
MemberArn: str,
ChimeBearer: str,
SubChannelId: NotRequired[str],
DeleteChannelMessageRequestRequestTypeDef#
# DeleteChannelMessageRequestRequestTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import DeleteChannelMessageRequestRequestTypeDef
def get_value() -> DeleteChannelMessageRequestRequestTypeDef:
return {
"ChannelArn": ...,
"MessageId": ...,
"ChimeBearer": ...,
}
# DeleteChannelMessageRequestRequestTypeDef definition
class DeleteChannelMessageRequestRequestTypeDef(TypedDict):
ChannelArn: str,
MessageId: str,
ChimeBearer: str,
SubChannelId: NotRequired[str],
DeleteChannelModeratorRequestRequestTypeDef#
# DeleteChannelModeratorRequestRequestTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import DeleteChannelModeratorRequestRequestTypeDef
def get_value() -> DeleteChannelModeratorRequestRequestTypeDef:
return {
"ChannelArn": ...,
"ChannelModeratorArn": ...,
"ChimeBearer": ...,
}
# DeleteChannelModeratorRequestRequestTypeDef definition
class DeleteChannelModeratorRequestRequestTypeDef(TypedDict):
ChannelArn: str,
ChannelModeratorArn: str,
ChimeBearer: str,
DeleteChannelRequestRequestTypeDef#
# DeleteChannelRequestRequestTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import DeleteChannelRequestRequestTypeDef
def get_value() -> DeleteChannelRequestRequestTypeDef:
return {
"ChannelArn": ...,
"ChimeBearer": ...,
}
# DeleteChannelRequestRequestTypeDef definition
class DeleteChannelRequestRequestTypeDef(TypedDict):
ChannelArn: str,
ChimeBearer: str,
DeleteMessagingStreamingConfigurationsRequestRequestTypeDef#
# DeleteMessagingStreamingConfigurationsRequestRequestTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import DeleteMessagingStreamingConfigurationsRequestRequestTypeDef
def get_value() -> DeleteMessagingStreamingConfigurationsRequestRequestTypeDef:
return {
"AppInstanceArn": ...,
}
# DeleteMessagingStreamingConfigurationsRequestRequestTypeDef definition
class DeleteMessagingStreamingConfigurationsRequestRequestTypeDef(TypedDict):
AppInstanceArn: str,
DescribeChannelBanRequestRequestTypeDef#
# DescribeChannelBanRequestRequestTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import DescribeChannelBanRequestRequestTypeDef
def get_value() -> DescribeChannelBanRequestRequestTypeDef:
return {
"ChannelArn": ...,
"MemberArn": ...,
"ChimeBearer": ...,
}
# DescribeChannelBanRequestRequestTypeDef definition
class DescribeChannelBanRequestRequestTypeDef(TypedDict):
ChannelArn: str,
MemberArn: str,
ChimeBearer: str,
DescribeChannelFlowRequestRequestTypeDef#
# DescribeChannelFlowRequestRequestTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import DescribeChannelFlowRequestRequestTypeDef
def get_value() -> DescribeChannelFlowRequestRequestTypeDef:
return {
"ChannelFlowArn": ...,
}
# DescribeChannelFlowRequestRequestTypeDef definition
class DescribeChannelFlowRequestRequestTypeDef(TypedDict):
ChannelFlowArn: str,
DescribeChannelMembershipForAppInstanceUserRequestRequestTypeDef#
# DescribeChannelMembershipForAppInstanceUserRequestRequestTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import DescribeChannelMembershipForAppInstanceUserRequestRequestTypeDef
def get_value() -> DescribeChannelMembershipForAppInstanceUserRequestRequestTypeDef:
return {
"ChannelArn": ...,
"AppInstanceUserArn": ...,
"ChimeBearer": ...,
}
# DescribeChannelMembershipForAppInstanceUserRequestRequestTypeDef definition
class DescribeChannelMembershipForAppInstanceUserRequestRequestTypeDef(TypedDict):
ChannelArn: str,
AppInstanceUserArn: str,
ChimeBearer: str,
DescribeChannelMembershipRequestRequestTypeDef#
# DescribeChannelMembershipRequestRequestTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import DescribeChannelMembershipRequestRequestTypeDef
def get_value() -> DescribeChannelMembershipRequestRequestTypeDef:
return {
"ChannelArn": ...,
"MemberArn": ...,
"ChimeBearer": ...,
}
# DescribeChannelMembershipRequestRequestTypeDef definition
class DescribeChannelMembershipRequestRequestTypeDef(TypedDict):
ChannelArn: str,
MemberArn: str,
ChimeBearer: str,
SubChannelId: NotRequired[str],
DescribeChannelModeratedByAppInstanceUserRequestRequestTypeDef#
# DescribeChannelModeratedByAppInstanceUserRequestRequestTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import DescribeChannelModeratedByAppInstanceUserRequestRequestTypeDef
def get_value() -> DescribeChannelModeratedByAppInstanceUserRequestRequestTypeDef:
return {
"ChannelArn": ...,
"AppInstanceUserArn": ...,
"ChimeBearer": ...,
}
# DescribeChannelModeratedByAppInstanceUserRequestRequestTypeDef definition
class DescribeChannelModeratedByAppInstanceUserRequestRequestTypeDef(TypedDict):
ChannelArn: str,
AppInstanceUserArn: str,
ChimeBearer: str,
DescribeChannelModeratorRequestRequestTypeDef#
# DescribeChannelModeratorRequestRequestTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import DescribeChannelModeratorRequestRequestTypeDef
def get_value() -> DescribeChannelModeratorRequestRequestTypeDef:
return {
"ChannelArn": ...,
"ChannelModeratorArn": ...,
"ChimeBearer": ...,
}
# DescribeChannelModeratorRequestRequestTypeDef definition
class DescribeChannelModeratorRequestRequestTypeDef(TypedDict):
ChannelArn: str,
ChannelModeratorArn: str,
ChimeBearer: str,
DescribeChannelRequestRequestTypeDef#
# DescribeChannelRequestRequestTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import DescribeChannelRequestRequestTypeDef
def get_value() -> DescribeChannelRequestRequestTypeDef:
return {
"ChannelArn": ...,
"ChimeBearer": ...,
}
# DescribeChannelRequestRequestTypeDef definition
class DescribeChannelRequestRequestTypeDef(TypedDict):
ChannelArn: str,
ChimeBearer: str,
DisassociateChannelFlowRequestRequestTypeDef#
# DisassociateChannelFlowRequestRequestTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import DisassociateChannelFlowRequestRequestTypeDef
def get_value() -> DisassociateChannelFlowRequestRequestTypeDef:
return {
"ChannelArn": ...,
"ChannelFlowArn": ...,
"ChimeBearer": ...,
}
# DisassociateChannelFlowRequestRequestTypeDef definition
class DisassociateChannelFlowRequestRequestTypeDef(TypedDict):
ChannelArn: str,
ChannelFlowArn: str,
ChimeBearer: str,
EmptyResponseMetadataTypeDef#
# EmptyResponseMetadataTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import EmptyResponseMetadataTypeDef
def get_value() -> EmptyResponseMetadataTypeDef:
return {
"ResponseMetadata": ...,
}
# EmptyResponseMetadataTypeDef definition
class EmptyResponseMetadataTypeDef(TypedDict):
ResponseMetadata: ResponseMetadataTypeDef, # (1)
GetChannelMembershipPreferencesRequestRequestTypeDef#
# GetChannelMembershipPreferencesRequestRequestTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import GetChannelMembershipPreferencesRequestRequestTypeDef
def get_value() -> GetChannelMembershipPreferencesRequestRequestTypeDef:
return {
"ChannelArn": ...,
"MemberArn": ...,
"ChimeBearer": ...,
}
# GetChannelMembershipPreferencesRequestRequestTypeDef definition
class GetChannelMembershipPreferencesRequestRequestTypeDef(TypedDict):
ChannelArn: str,
MemberArn: str,
ChimeBearer: str,
GetChannelMessageRequestRequestTypeDef#
# GetChannelMessageRequestRequestTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import GetChannelMessageRequestRequestTypeDef
def get_value() -> GetChannelMessageRequestRequestTypeDef:
return {
"ChannelArn": ...,
"MessageId": ...,
"ChimeBearer": ...,
}
# GetChannelMessageRequestRequestTypeDef definition
class GetChannelMessageRequestRequestTypeDef(TypedDict):
ChannelArn: str,
MessageId: str,
ChimeBearer: str,
SubChannelId: NotRequired[str],
GetChannelMessageStatusRequestRequestTypeDef#
# GetChannelMessageStatusRequestRequestTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import GetChannelMessageStatusRequestRequestTypeDef
def get_value() -> GetChannelMessageStatusRequestRequestTypeDef:
return {
"ChannelArn": ...,
"MessageId": ...,
"ChimeBearer": ...,
}
# GetChannelMessageStatusRequestRequestTypeDef definition
class GetChannelMessageStatusRequestRequestTypeDef(TypedDict):
ChannelArn: str,
MessageId: str,
ChimeBearer: str,
SubChannelId: NotRequired[str],
MessagingSessionEndpointTypeDef#
# MessagingSessionEndpointTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import MessagingSessionEndpointTypeDef
def get_value() -> MessagingSessionEndpointTypeDef:
return {
"Url": ...,
}
# MessagingSessionEndpointTypeDef definition
class MessagingSessionEndpointTypeDef(TypedDict):
Url: NotRequired[str],
GetMessagingStreamingConfigurationsRequestRequestTypeDef#
# GetMessagingStreamingConfigurationsRequestRequestTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import GetMessagingStreamingConfigurationsRequestRequestTypeDef
def get_value() -> GetMessagingStreamingConfigurationsRequestRequestTypeDef:
return {
"AppInstanceArn": ...,
}
# GetMessagingStreamingConfigurationsRequestRequestTypeDef definition
class GetMessagingStreamingConfigurationsRequestRequestTypeDef(TypedDict):
AppInstanceArn: str,
StreamingConfigurationTypeDef#
# StreamingConfigurationTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import StreamingConfigurationTypeDef
def get_value() -> StreamingConfigurationTypeDef:
return {
"DataType": ...,
"ResourceArn": ...,
}
# StreamingConfigurationTypeDef definition
class StreamingConfigurationTypeDef(TypedDict):
DataType: MessagingDataTypeType, # (1)
ResourceArn: str,
LambdaConfigurationTypeDef#
# LambdaConfigurationTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import LambdaConfigurationTypeDef
def get_value() -> LambdaConfigurationTypeDef:
return {
"ResourceArn": ...,
"InvocationType": ...,
}
# LambdaConfigurationTypeDef definition
class LambdaConfigurationTypeDef(TypedDict):
ResourceArn: str,
InvocationType: InvocationTypeType, # (1)
ListChannelBansRequestRequestTypeDef#
# ListChannelBansRequestRequestTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import ListChannelBansRequestRequestTypeDef
def get_value() -> ListChannelBansRequestRequestTypeDef:
return {
"ChannelArn": ...,
"ChimeBearer": ...,
}
# ListChannelBansRequestRequestTypeDef definition
class ListChannelBansRequestRequestTypeDef(TypedDict):
ChannelArn: str,
ChimeBearer: str,
MaxResults: NotRequired[int],
NextToken: NotRequired[str],
ListChannelFlowsRequestRequestTypeDef#
# ListChannelFlowsRequestRequestTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import ListChannelFlowsRequestRequestTypeDef
def get_value() -> ListChannelFlowsRequestRequestTypeDef:
return {
"AppInstanceArn": ...,
}
# ListChannelFlowsRequestRequestTypeDef definition
class ListChannelFlowsRequestRequestTypeDef(TypedDict):
AppInstanceArn: str,
MaxResults: NotRequired[int],
NextToken: NotRequired[str],
ListChannelMembershipsForAppInstanceUserRequestRequestTypeDef#
# ListChannelMembershipsForAppInstanceUserRequestRequestTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import ListChannelMembershipsForAppInstanceUserRequestRequestTypeDef
def get_value() -> ListChannelMembershipsForAppInstanceUserRequestRequestTypeDef:
return {
"ChimeBearer": ...,
}
# ListChannelMembershipsForAppInstanceUserRequestRequestTypeDef definition
class ListChannelMembershipsForAppInstanceUserRequestRequestTypeDef(TypedDict):
ChimeBearer: str,
AppInstanceUserArn: NotRequired[str],
MaxResults: NotRequired[int],
NextToken: NotRequired[str],
ListChannelMembershipsRequestRequestTypeDef#
# ListChannelMembershipsRequestRequestTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import ListChannelMembershipsRequestRequestTypeDef
def get_value() -> ListChannelMembershipsRequestRequestTypeDef:
return {
"ChannelArn": ...,
"ChimeBearer": ...,
}
# ListChannelMembershipsRequestRequestTypeDef definition
class ListChannelMembershipsRequestRequestTypeDef(TypedDict):
ChannelArn: str,
ChimeBearer: str,
Type: NotRequired[ChannelMembershipTypeType], # (1)
MaxResults: NotRequired[int],
NextToken: NotRequired[str],
SubChannelId: NotRequired[str],
ListChannelMessagesRequestRequestTypeDef#
# ListChannelMessagesRequestRequestTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import ListChannelMessagesRequestRequestTypeDef
def get_value() -> ListChannelMessagesRequestRequestTypeDef:
return {
"ChannelArn": ...,
"ChimeBearer": ...,
}
# ListChannelMessagesRequestRequestTypeDef definition
class ListChannelMessagesRequestRequestTypeDef(TypedDict):
ChannelArn: str,
ChimeBearer: str,
SortOrder: NotRequired[SortOrderType], # (1)
NotBefore: NotRequired[Union[datetime, str]],
NotAfter: NotRequired[Union[datetime, str]],
MaxResults: NotRequired[int],
NextToken: NotRequired[str],
SubChannelId: NotRequired[str],
- See SortOrderType
ListChannelModeratorsRequestRequestTypeDef#
# ListChannelModeratorsRequestRequestTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import ListChannelModeratorsRequestRequestTypeDef
def get_value() -> ListChannelModeratorsRequestRequestTypeDef:
return {
"ChannelArn": ...,
"ChimeBearer": ...,
}
# ListChannelModeratorsRequestRequestTypeDef definition
class ListChannelModeratorsRequestRequestTypeDef(TypedDict):
ChannelArn: str,
ChimeBearer: str,
MaxResults: NotRequired[int],
NextToken: NotRequired[str],
ListChannelsAssociatedWithChannelFlowRequestRequestTypeDef#
# ListChannelsAssociatedWithChannelFlowRequestRequestTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import ListChannelsAssociatedWithChannelFlowRequestRequestTypeDef
def get_value() -> ListChannelsAssociatedWithChannelFlowRequestRequestTypeDef:
return {
"ChannelFlowArn": ...,
}
# ListChannelsAssociatedWithChannelFlowRequestRequestTypeDef definition
class ListChannelsAssociatedWithChannelFlowRequestRequestTypeDef(TypedDict):
ChannelFlowArn: str,
MaxResults: NotRequired[int],
NextToken: NotRequired[str],
ListChannelsModeratedByAppInstanceUserRequestRequestTypeDef#
# ListChannelsModeratedByAppInstanceUserRequestRequestTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import ListChannelsModeratedByAppInstanceUserRequestRequestTypeDef
def get_value() -> ListChannelsModeratedByAppInstanceUserRequestRequestTypeDef:
return {
"ChimeBearer": ...,
}
# ListChannelsModeratedByAppInstanceUserRequestRequestTypeDef definition
class ListChannelsModeratedByAppInstanceUserRequestRequestTypeDef(TypedDict):
ChimeBearer: str,
AppInstanceUserArn: NotRequired[str],
MaxResults: NotRequired[int],
NextToken: NotRequired[str],
ListChannelsRequestRequestTypeDef#
# ListChannelsRequestRequestTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import ListChannelsRequestRequestTypeDef
def get_value() -> ListChannelsRequestRequestTypeDef:
return {
"AppInstanceArn": ...,
"ChimeBearer": ...,
}
# ListChannelsRequestRequestTypeDef definition
class ListChannelsRequestRequestTypeDef(TypedDict):
AppInstanceArn: str,
ChimeBearer: str,
Privacy: NotRequired[ChannelPrivacyType], # (1)
MaxResults: NotRequired[int],
NextToken: NotRequired[str],
ListSubChannelsRequestRequestTypeDef#
# ListSubChannelsRequestRequestTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import ListSubChannelsRequestRequestTypeDef
def get_value() -> ListSubChannelsRequestRequestTypeDef:
return {
"ChannelArn": ...,
"ChimeBearer": ...,
}
# ListSubChannelsRequestRequestTypeDef definition
class ListSubChannelsRequestRequestTypeDef(TypedDict):
ChannelArn: str,
ChimeBearer: str,
MaxResults: NotRequired[int],
NextToken: NotRequired[str],
SubChannelSummaryTypeDef#
# SubChannelSummaryTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import SubChannelSummaryTypeDef
def get_value() -> SubChannelSummaryTypeDef:
return {
"SubChannelId": ...,
}
# SubChannelSummaryTypeDef definition
class SubChannelSummaryTypeDef(TypedDict):
SubChannelId: NotRequired[str],
MembershipCount: NotRequired[int],
ListTagsForResourceRequestRequestTypeDef#
# ListTagsForResourceRequestRequestTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import ListTagsForResourceRequestRequestTypeDef
def get_value() -> ListTagsForResourceRequestRequestTypeDef:
return {
"ResourceARN": ...,
}
# ListTagsForResourceRequestRequestTypeDef definition
class ListTagsForResourceRequestRequestTypeDef(TypedDict):
ResourceARN: str,
RedactChannelMessageRequestRequestTypeDef#
# RedactChannelMessageRequestRequestTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import RedactChannelMessageRequestRequestTypeDef
def get_value() -> RedactChannelMessageRequestRequestTypeDef:
return {
"ChannelArn": ...,
"MessageId": ...,
"ChimeBearer": ...,
}
# RedactChannelMessageRequestRequestTypeDef definition
class RedactChannelMessageRequestRequestTypeDef(TypedDict):
ChannelArn: str,
MessageId: str,
ChimeBearer: str,
SubChannelId: NotRequired[str],
RedactChannelMessageResponseTypeDef#
# RedactChannelMessageResponseTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import RedactChannelMessageResponseTypeDef
def get_value() -> RedactChannelMessageResponseTypeDef:
return {
"ChannelArn": ...,
"MessageId": ...,
"SubChannelId": ...,
"ResponseMetadata": ...,
}
# RedactChannelMessageResponseTypeDef definition
class RedactChannelMessageResponseTypeDef(TypedDict):
ChannelArn: str,
MessageId: str,
SubChannelId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
ResponseMetadataTypeDef#
# ResponseMetadataTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import ResponseMetadataTypeDef
def get_value() -> ResponseMetadataTypeDef:
return {
"RequestId": ...,
"HostId": ...,
"HTTPStatusCode": ...,
"HTTPHeaders": ...,
"RetryAttempts": ...,
}
# ResponseMetadataTypeDef definition
class ResponseMetadataTypeDef(TypedDict):
RequestId: str,
HostId: str,
HTTPStatusCode: int,
HTTPHeaders: Dict[str, str],
RetryAttempts: int,
SearchFieldTypeDef#
# SearchFieldTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import SearchFieldTypeDef
def get_value() -> SearchFieldTypeDef:
return {
"Key": ...,
"Values": ...,
"Operator": ...,
}
# SearchFieldTypeDef definition
class SearchFieldTypeDef(TypedDict):
Key: SearchFieldKeyType, # (1)
Values: Sequence[str],
Operator: SearchFieldOperatorType, # (2)
UntagResourceRequestRequestTypeDef#
# UntagResourceRequestRequestTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import UntagResourceRequestRequestTypeDef
def get_value() -> UntagResourceRequestRequestTypeDef:
return {
"ResourceARN": ...,
"TagKeys": ...,
}
# UntagResourceRequestRequestTypeDef definition
class UntagResourceRequestRequestTypeDef(TypedDict):
ResourceARN: str,
TagKeys: Sequence[str],
UpdateChannelFlowResponseTypeDef#
# UpdateChannelFlowResponseTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import UpdateChannelFlowResponseTypeDef
def get_value() -> UpdateChannelFlowResponseTypeDef:
return {
"ChannelFlowArn": ...,
"ResponseMetadata": ...,
}
# UpdateChannelFlowResponseTypeDef definition
class UpdateChannelFlowResponseTypeDef(TypedDict):
ChannelFlowArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
UpdateChannelMessageRequestRequestTypeDef#
# UpdateChannelMessageRequestRequestTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import UpdateChannelMessageRequestRequestTypeDef
def get_value() -> UpdateChannelMessageRequestRequestTypeDef:
return {
"ChannelArn": ...,
"MessageId": ...,
"Content": ...,
"ChimeBearer": ...,
}
# UpdateChannelMessageRequestRequestTypeDef definition
class UpdateChannelMessageRequestRequestTypeDef(TypedDict):
ChannelArn: str,
MessageId: str,
Content: str,
ChimeBearer: str,
Metadata: NotRequired[str],
SubChannelId: NotRequired[str],
ContentType: NotRequired[str],
UpdateChannelReadMarkerRequestRequestTypeDef#
# UpdateChannelReadMarkerRequestRequestTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import UpdateChannelReadMarkerRequestRequestTypeDef
def get_value() -> UpdateChannelReadMarkerRequestRequestTypeDef:
return {
"ChannelArn": ...,
"ChimeBearer": ...,
}
# UpdateChannelReadMarkerRequestRequestTypeDef definition
class UpdateChannelReadMarkerRequestRequestTypeDef(TypedDict):
ChannelArn: str,
ChimeBearer: str,
UpdateChannelReadMarkerResponseTypeDef#
# UpdateChannelReadMarkerResponseTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import UpdateChannelReadMarkerResponseTypeDef
def get_value() -> UpdateChannelReadMarkerResponseTypeDef:
return {
"ChannelArn": ...,
"ResponseMetadata": ...,
}
# UpdateChannelReadMarkerResponseTypeDef definition
class UpdateChannelReadMarkerResponseTypeDef(TypedDict):
ChannelArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
UpdateChannelRequestRequestTypeDef#
# UpdateChannelRequestRequestTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import UpdateChannelRequestRequestTypeDef
def get_value() -> UpdateChannelRequestRequestTypeDef:
return {
"ChannelArn": ...,
"ChimeBearer": ...,
}
# UpdateChannelRequestRequestTypeDef definition
class UpdateChannelRequestRequestTypeDef(TypedDict):
ChannelArn: str,
ChimeBearer: str,
Name: NotRequired[str],
Mode: NotRequired[ChannelModeType], # (1)
Metadata: NotRequired[str],
- See ChannelModeType
UpdateChannelResponseTypeDef#
# UpdateChannelResponseTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import UpdateChannelResponseTypeDef
def get_value() -> UpdateChannelResponseTypeDef:
return {
"ChannelArn": ...,
"ResponseMetadata": ...,
}
# UpdateChannelResponseTypeDef definition
class UpdateChannelResponseTypeDef(TypedDict):
ChannelArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
BatchChannelMembershipsTypeDef#
# BatchChannelMembershipsTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import BatchChannelMembershipsTypeDef
def get_value() -> BatchChannelMembershipsTypeDef:
return {
"InvitedBy": ...,
}
# BatchChannelMembershipsTypeDef definition
class BatchChannelMembershipsTypeDef(TypedDict):
InvitedBy: NotRequired[IdentityTypeDef], # (1)
Type: NotRequired[ChannelMembershipTypeType], # (2)
Members: NotRequired[List[IdentityTypeDef]], # (3)
ChannelArn: NotRequired[str],
SubChannelId: NotRequired[str],
- See IdentityTypeDef
- See ChannelMembershipTypeType
- See IdentityTypeDef
ChannelBanSummaryTypeDef#
# ChannelBanSummaryTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import ChannelBanSummaryTypeDef
def get_value() -> ChannelBanSummaryTypeDef:
return {
"Member": ...,
}
# ChannelBanSummaryTypeDef definition
class ChannelBanSummaryTypeDef(TypedDict):
Member: NotRequired[IdentityTypeDef], # (1)
- See IdentityTypeDef
ChannelBanTypeDef#
# ChannelBanTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import ChannelBanTypeDef
def get_value() -> ChannelBanTypeDef:
return {
"Member": ...,
}
# ChannelBanTypeDef definition
class ChannelBanTypeDef(TypedDict):
Member: NotRequired[IdentityTypeDef], # (1)
ChannelArn: NotRequired[str],
CreatedTimestamp: NotRequired[datetime],
CreatedBy: NotRequired[IdentityTypeDef], # (1)
- See IdentityTypeDef
- See IdentityTypeDef
ChannelMembershipSummaryTypeDef#
# ChannelMembershipSummaryTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import ChannelMembershipSummaryTypeDef
def get_value() -> ChannelMembershipSummaryTypeDef:
return {
"Member": ...,
}
# ChannelMembershipSummaryTypeDef definition
class ChannelMembershipSummaryTypeDef(TypedDict):
Member: NotRequired[IdentityTypeDef], # (1)
- See IdentityTypeDef
ChannelMembershipTypeDef#
# ChannelMembershipTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import ChannelMembershipTypeDef
def get_value() -> ChannelMembershipTypeDef:
return {
"InvitedBy": ...,
}
# ChannelMembershipTypeDef definition
class ChannelMembershipTypeDef(TypedDict):
InvitedBy: NotRequired[IdentityTypeDef], # (1)
Type: NotRequired[ChannelMembershipTypeType], # (2)
Member: NotRequired[IdentityTypeDef], # (1)
ChannelArn: NotRequired[str],
CreatedTimestamp: NotRequired[datetime],
LastUpdatedTimestamp: NotRequired[datetime],
SubChannelId: NotRequired[str],
- See IdentityTypeDef
- See ChannelMembershipTypeType
- See IdentityTypeDef
ChannelModeratorSummaryTypeDef#
# ChannelModeratorSummaryTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import ChannelModeratorSummaryTypeDef
def get_value() -> ChannelModeratorSummaryTypeDef:
return {
"Moderator": ...,
}
# ChannelModeratorSummaryTypeDef definition
class ChannelModeratorSummaryTypeDef(TypedDict):
Moderator: NotRequired[IdentityTypeDef], # (1)
- See IdentityTypeDef
ChannelModeratorTypeDef#
# ChannelModeratorTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import ChannelModeratorTypeDef
def get_value() -> ChannelModeratorTypeDef:
return {
"Moderator": ...,
}
# ChannelModeratorTypeDef definition
class ChannelModeratorTypeDef(TypedDict):
Moderator: NotRequired[IdentityTypeDef], # (1)
ChannelArn: NotRequired[str],
CreatedTimestamp: NotRequired[datetime],
CreatedBy: NotRequired[IdentityTypeDef], # (1)
- See IdentityTypeDef
- See IdentityTypeDef
CreateChannelBanResponseTypeDef#
# CreateChannelBanResponseTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import CreateChannelBanResponseTypeDef
def get_value() -> CreateChannelBanResponseTypeDef:
return {
"ChannelArn": ...,
"Member": ...,
"ResponseMetadata": ...,
}
# CreateChannelBanResponseTypeDef definition
class CreateChannelBanResponseTypeDef(TypedDict):
ChannelArn: str,
Member: IdentityTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
CreateChannelMembershipResponseTypeDef#
# CreateChannelMembershipResponseTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import CreateChannelMembershipResponseTypeDef
def get_value() -> CreateChannelMembershipResponseTypeDef:
return {
"ChannelArn": ...,
"Member": ...,
"SubChannelId": ...,
"ResponseMetadata": ...,
}
# CreateChannelMembershipResponseTypeDef definition
class CreateChannelMembershipResponseTypeDef(TypedDict):
ChannelArn: str,
Member: IdentityTypeDef, # (1)
SubChannelId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
CreateChannelModeratorResponseTypeDef#
# CreateChannelModeratorResponseTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import CreateChannelModeratorResponseTypeDef
def get_value() -> CreateChannelModeratorResponseTypeDef:
return {
"ChannelArn": ...,
"ChannelModerator": ...,
"ResponseMetadata": ...,
}
# CreateChannelModeratorResponseTypeDef definition
class CreateChannelModeratorResponseTypeDef(TypedDict):
ChannelArn: str,
ChannelModerator: IdentityTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListChannelsAssociatedWithChannelFlowResponseTypeDef#
# ListChannelsAssociatedWithChannelFlowResponseTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import ListChannelsAssociatedWithChannelFlowResponseTypeDef
def get_value() -> ListChannelsAssociatedWithChannelFlowResponseTypeDef:
return {
"Channels": ...,
"NextToken": ...,
"ResponseMetadata": ...,
}
# ListChannelsAssociatedWithChannelFlowResponseTypeDef definition
class ListChannelsAssociatedWithChannelFlowResponseTypeDef(TypedDict):
Channels: List[ChannelAssociatedWithFlowSummaryTypeDef], # (1)
NextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ChannelMembershipForAppInstanceUserSummaryTypeDef#
# ChannelMembershipForAppInstanceUserSummaryTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import ChannelMembershipForAppInstanceUserSummaryTypeDef
def get_value() -> ChannelMembershipForAppInstanceUserSummaryTypeDef:
return {
"ChannelSummary": ...,
}
# ChannelMembershipForAppInstanceUserSummaryTypeDef definition
class ChannelMembershipForAppInstanceUserSummaryTypeDef(TypedDict):
ChannelSummary: NotRequired[ChannelSummaryTypeDef], # (1)
AppInstanceUserMembershipSummary: NotRequired[AppInstanceUserMembershipSummaryTypeDef], # (2)
ChannelModeratedByAppInstanceUserSummaryTypeDef#
# ChannelModeratedByAppInstanceUserSummaryTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import ChannelModeratedByAppInstanceUserSummaryTypeDef
def get_value() -> ChannelModeratedByAppInstanceUserSummaryTypeDef:
return {
"ChannelSummary": ...,
}
# ChannelModeratedByAppInstanceUserSummaryTypeDef definition
class ChannelModeratedByAppInstanceUserSummaryTypeDef(TypedDict):
ChannelSummary: NotRequired[ChannelSummaryTypeDef], # (1)
ListChannelsResponseTypeDef#
# ListChannelsResponseTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import ListChannelsResponseTypeDef
def get_value() -> ListChannelsResponseTypeDef:
return {
"Channels": ...,
"NextToken": ...,
"ResponseMetadata": ...,
}
# ListChannelsResponseTypeDef definition
class ListChannelsResponseTypeDef(TypedDict):
Channels: List[ChannelSummaryTypeDef], # (1)
NextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
SearchChannelsResponseTypeDef#
# SearchChannelsResponseTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import SearchChannelsResponseTypeDef
def get_value() -> SearchChannelsResponseTypeDef:
return {
"Channels": ...,
"NextToken": ...,
"ResponseMetadata": ...,
}
# SearchChannelsResponseTypeDef definition
class SearchChannelsResponseTypeDef(TypedDict):
Channels: List[ChannelSummaryTypeDef], # (1)
NextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ChannelMembershipPreferencesTypeDef#
# ChannelMembershipPreferencesTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import ChannelMembershipPreferencesTypeDef
def get_value() -> ChannelMembershipPreferencesTypeDef:
return {
"PushNotifications": ...,
}
# ChannelMembershipPreferencesTypeDef definition
class ChannelMembershipPreferencesTypeDef(TypedDict):
PushNotifications: NotRequired[PushNotificationPreferencesTypeDef], # (1)
ChannelMessageCallbackTypeDef#
# ChannelMessageCallbackTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import ChannelMessageCallbackTypeDef
def get_value() -> ChannelMessageCallbackTypeDef:
return {
"MessageId": ...,
}
# ChannelMessageCallbackTypeDef definition
class ChannelMessageCallbackTypeDef(TypedDict):
MessageId: str,
Content: NotRequired[str],
Metadata: NotRequired[str],
PushNotification: NotRequired[PushNotificationConfigurationTypeDef], # (1)
MessageAttributes: NotRequired[Mapping[str, MessageAttributeValueTypeDef]], # (2)
SubChannelId: NotRequired[str],
ContentType: NotRequired[str],
SendChannelMessageRequestRequestTypeDef#
# SendChannelMessageRequestRequestTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import SendChannelMessageRequestRequestTypeDef
def get_value() -> SendChannelMessageRequestRequestTypeDef:
return {
"ChannelArn": ...,
"Content": ...,
"Type": ...,
"Persistence": ...,
"ClientRequestToken": ...,
"ChimeBearer": ...,
}
# SendChannelMessageRequestRequestTypeDef definition
class SendChannelMessageRequestRequestTypeDef(TypedDict):
ChannelArn: str,
Content: str,
Type: ChannelMessageTypeType, # (1)
Persistence: ChannelMessagePersistenceTypeType, # (2)
ClientRequestToken: str,
ChimeBearer: str,
Metadata: NotRequired[str],
PushNotification: NotRequired[PushNotificationConfigurationTypeDef], # (3)
MessageAttributes: NotRequired[Mapping[str, MessageAttributeValueTypeDef]], # (4)
SubChannelId: NotRequired[str],
ContentType: NotRequired[str],
- See ChannelMessageTypeType
- See ChannelMessagePersistenceTypeType
- See PushNotificationConfigurationTypeDef
- See MessageAttributeValueTypeDef
ChannelMessageSummaryTypeDef#
# ChannelMessageSummaryTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import ChannelMessageSummaryTypeDef
def get_value() -> ChannelMessageSummaryTypeDef:
return {
"MessageId": ...,
}
# ChannelMessageSummaryTypeDef definition
class ChannelMessageSummaryTypeDef(TypedDict):
MessageId: NotRequired[str],
Content: NotRequired[str],
Metadata: NotRequired[str],
Type: NotRequired[ChannelMessageTypeType], # (1)
CreatedTimestamp: NotRequired[datetime],
LastUpdatedTimestamp: NotRequired[datetime],
LastEditedTimestamp: NotRequired[datetime],
Sender: NotRequired[IdentityTypeDef], # (2)
Redacted: NotRequired[bool],
Status: NotRequired[ChannelMessageStatusStructureTypeDef], # (3)
MessageAttributes: NotRequired[Dict[str, MessageAttributeValueTypeDef]], # (4)
ContentType: NotRequired[str],
- See ChannelMessageTypeType
- See IdentityTypeDef
- See ChannelMessageStatusStructureTypeDef
- See MessageAttributeValueTypeDef
ChannelMessageTypeDef#
# ChannelMessageTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import ChannelMessageTypeDef
def get_value() -> ChannelMessageTypeDef:
return {
"ChannelArn": ...,
}
# ChannelMessageTypeDef definition
class ChannelMessageTypeDef(TypedDict):
ChannelArn: NotRequired[str],
MessageId: NotRequired[str],
Content: NotRequired[str],
Metadata: NotRequired[str],
Type: NotRequired[ChannelMessageTypeType], # (1)
CreatedTimestamp: NotRequired[datetime],
LastEditedTimestamp: NotRequired[datetime],
LastUpdatedTimestamp: NotRequired[datetime],
Sender: NotRequired[IdentityTypeDef], # (2)
Redacted: NotRequired[bool],
Persistence: NotRequired[ChannelMessagePersistenceTypeType], # (3)
Status: NotRequired[ChannelMessageStatusStructureTypeDef], # (4)
MessageAttributes: NotRequired[Dict[str, MessageAttributeValueTypeDef]], # (5)
SubChannelId: NotRequired[str],
ContentType: NotRequired[str],
- See ChannelMessageTypeType
- See IdentityTypeDef
- See ChannelMessagePersistenceTypeType
- See ChannelMessageStatusStructureTypeDef
- See MessageAttributeValueTypeDef
GetChannelMessageStatusResponseTypeDef#
# GetChannelMessageStatusResponseTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import GetChannelMessageStatusResponseTypeDef
def get_value() -> GetChannelMessageStatusResponseTypeDef:
return {
"Status": ...,
"ResponseMetadata": ...,
}
# GetChannelMessageStatusResponseTypeDef definition
class GetChannelMessageStatusResponseTypeDef(TypedDict):
Status: ChannelMessageStatusStructureTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
SendChannelMessageResponseTypeDef#
# SendChannelMessageResponseTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import SendChannelMessageResponseTypeDef
def get_value() -> SendChannelMessageResponseTypeDef:
return {
"ChannelArn": ...,
"MessageId": ...,
"Status": ...,
"SubChannelId": ...,
"ResponseMetadata": ...,
}
# SendChannelMessageResponseTypeDef definition
class SendChannelMessageResponseTypeDef(TypedDict):
ChannelArn: str,
MessageId: str,
Status: ChannelMessageStatusStructureTypeDef, # (1)
SubChannelId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
UpdateChannelMessageResponseTypeDef#
# UpdateChannelMessageResponseTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import UpdateChannelMessageResponseTypeDef
def get_value() -> UpdateChannelMessageResponseTypeDef:
return {
"ChannelArn": ...,
"MessageId": ...,
"Status": ...,
"SubChannelId": ...,
"ResponseMetadata": ...,
}
# UpdateChannelMessageResponseTypeDef definition
class UpdateChannelMessageResponseTypeDef(TypedDict):
ChannelArn: str,
MessageId: str,
Status: ChannelMessageStatusStructureTypeDef, # (1)
SubChannelId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ChannelTypeDef#
# ChannelTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import ChannelTypeDef
def get_value() -> ChannelTypeDef:
return {
"Name": ...,
}
# ChannelTypeDef definition
class ChannelTypeDef(TypedDict):
Name: NotRequired[str],
ChannelArn: NotRequired[str],
Mode: NotRequired[ChannelModeType], # (1)
Privacy: NotRequired[ChannelPrivacyType], # (2)
Metadata: NotRequired[str],
CreatedBy: NotRequired[IdentityTypeDef], # (3)
CreatedTimestamp: NotRequired[datetime],
LastMessageTimestamp: NotRequired[datetime],
LastUpdatedTimestamp: NotRequired[datetime],
ChannelFlowArn: NotRequired[str],
ElasticChannelConfiguration: NotRequired[ElasticChannelConfigurationTypeDef], # (4)
ExpirationSettings: NotRequired[ExpirationSettingsTypeDef], # (5)
- See ChannelModeType
- See ChannelPrivacyType
- See IdentityTypeDef
- See ElasticChannelConfigurationTypeDef
- See ExpirationSettingsTypeDef
PutChannelExpirationSettingsRequestRequestTypeDef#
# PutChannelExpirationSettingsRequestRequestTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import PutChannelExpirationSettingsRequestRequestTypeDef
def get_value() -> PutChannelExpirationSettingsRequestRequestTypeDef:
return {
"ChannelArn": ...,
}
# PutChannelExpirationSettingsRequestRequestTypeDef definition
class PutChannelExpirationSettingsRequestRequestTypeDef(TypedDict):
ChannelArn: str,
ChimeBearer: NotRequired[str],
ExpirationSettings: NotRequired[ExpirationSettingsTypeDef], # (1)
PutChannelExpirationSettingsResponseTypeDef#
# PutChannelExpirationSettingsResponseTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import PutChannelExpirationSettingsResponseTypeDef
def get_value() -> PutChannelExpirationSettingsResponseTypeDef:
return {
"ChannelArn": ...,
"ExpirationSettings": ...,
"ResponseMetadata": ...,
}
# PutChannelExpirationSettingsResponseTypeDef definition
class PutChannelExpirationSettingsResponseTypeDef(TypedDict):
ChannelArn: str,
ExpirationSettings: ExpirationSettingsTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
CreateChannelRequestRequestTypeDef#
# CreateChannelRequestRequestTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import CreateChannelRequestRequestTypeDef
def get_value() -> CreateChannelRequestRequestTypeDef:
return {
"AppInstanceArn": ...,
"Name": ...,
"ClientRequestToken": ...,
"ChimeBearer": ...,
}
# CreateChannelRequestRequestTypeDef definition
class CreateChannelRequestRequestTypeDef(TypedDict):
AppInstanceArn: str,
Name: str,
ClientRequestToken: str,
ChimeBearer: str,
Mode: NotRequired[ChannelModeType], # (1)
Privacy: NotRequired[ChannelPrivacyType], # (2)
Metadata: NotRequired[str],
Tags: NotRequired[Sequence[TagTypeDef]], # (3)
ChannelId: NotRequired[str],
MemberArns: NotRequired[Sequence[str]],
ModeratorArns: NotRequired[Sequence[str]],
ElasticChannelConfiguration: NotRequired[ElasticChannelConfigurationTypeDef], # (4)
ExpirationSettings: NotRequired[ExpirationSettingsTypeDef], # (5)
- See ChannelModeType
- See ChannelPrivacyType
- See TagTypeDef
- See ElasticChannelConfigurationTypeDef
- See ExpirationSettingsTypeDef
ListTagsForResourceResponseTypeDef#
# ListTagsForResourceResponseTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import ListTagsForResourceResponseTypeDef
def get_value() -> ListTagsForResourceResponseTypeDef:
return {
"Tags": ...,
"ResponseMetadata": ...,
}
# ListTagsForResourceResponseTypeDef definition
class ListTagsForResourceResponseTypeDef(TypedDict):
Tags: List[TagTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See TagTypeDef
- See ResponseMetadataTypeDef
TagResourceRequestRequestTypeDef#
# TagResourceRequestRequestTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import TagResourceRequestRequestTypeDef
def get_value() -> TagResourceRequestRequestTypeDef:
return {
"ResourceARN": ...,
"Tags": ...,
}
# TagResourceRequestRequestTypeDef definition
class TagResourceRequestRequestTypeDef(TypedDict):
ResourceARN: str,
Tags: Sequence[TagTypeDef], # (1)
- See TagTypeDef
GetMessagingSessionEndpointResponseTypeDef#
# GetMessagingSessionEndpointResponseTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import GetMessagingSessionEndpointResponseTypeDef
def get_value() -> GetMessagingSessionEndpointResponseTypeDef:
return {
"Endpoint": ...,
"ResponseMetadata": ...,
}
# GetMessagingSessionEndpointResponseTypeDef definition
class GetMessagingSessionEndpointResponseTypeDef(TypedDict):
Endpoint: MessagingSessionEndpointTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetMessagingStreamingConfigurationsResponseTypeDef#
# GetMessagingStreamingConfigurationsResponseTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import GetMessagingStreamingConfigurationsResponseTypeDef
def get_value() -> GetMessagingStreamingConfigurationsResponseTypeDef:
return {
"StreamingConfigurations": ...,
"ResponseMetadata": ...,
}
# GetMessagingStreamingConfigurationsResponseTypeDef definition
class GetMessagingStreamingConfigurationsResponseTypeDef(TypedDict):
StreamingConfigurations: List[StreamingConfigurationTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
PutMessagingStreamingConfigurationsRequestRequestTypeDef#
# PutMessagingStreamingConfigurationsRequestRequestTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import PutMessagingStreamingConfigurationsRequestRequestTypeDef
def get_value() -> PutMessagingStreamingConfigurationsRequestRequestTypeDef:
return {
"AppInstanceArn": ...,
"StreamingConfigurations": ...,
}
# PutMessagingStreamingConfigurationsRequestRequestTypeDef definition
class PutMessagingStreamingConfigurationsRequestRequestTypeDef(TypedDict):
AppInstanceArn: str,
StreamingConfigurations: Sequence[StreamingConfigurationTypeDef], # (1)
PutMessagingStreamingConfigurationsResponseTypeDef#
# PutMessagingStreamingConfigurationsResponseTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import PutMessagingStreamingConfigurationsResponseTypeDef
def get_value() -> PutMessagingStreamingConfigurationsResponseTypeDef:
return {
"StreamingConfigurations": ...,
"ResponseMetadata": ...,
}
# PutMessagingStreamingConfigurationsResponseTypeDef definition
class PutMessagingStreamingConfigurationsResponseTypeDef(TypedDict):
StreamingConfigurations: List[StreamingConfigurationTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ProcessorConfigurationTypeDef#
# ProcessorConfigurationTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import ProcessorConfigurationTypeDef
def get_value() -> ProcessorConfigurationTypeDef:
return {
"Lambda": ...,
}
# ProcessorConfigurationTypeDef definition
class ProcessorConfigurationTypeDef(TypedDict):
Lambda: LambdaConfigurationTypeDef, # (1)
ListSubChannelsResponseTypeDef#
# ListSubChannelsResponseTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import ListSubChannelsResponseTypeDef
def get_value() -> ListSubChannelsResponseTypeDef:
return {
"ChannelArn": ...,
"SubChannels": ...,
"NextToken": ...,
"ResponseMetadata": ...,
}
# ListSubChannelsResponseTypeDef definition
class ListSubChannelsResponseTypeDef(TypedDict):
ChannelArn: str,
SubChannels: List[SubChannelSummaryTypeDef], # (1)
NextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
SearchChannelsRequestRequestTypeDef#
# SearchChannelsRequestRequestTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import SearchChannelsRequestRequestTypeDef
def get_value() -> SearchChannelsRequestRequestTypeDef:
return {
"Fields": ...,
}
# SearchChannelsRequestRequestTypeDef definition
class SearchChannelsRequestRequestTypeDef(TypedDict):
Fields: Sequence[SearchFieldTypeDef], # (1)
ChimeBearer: NotRequired[str],
MaxResults: NotRequired[int],
NextToken: NotRequired[str],
BatchCreateChannelMembershipResponseTypeDef#
# BatchCreateChannelMembershipResponseTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import BatchCreateChannelMembershipResponseTypeDef
def get_value() -> BatchCreateChannelMembershipResponseTypeDef:
return {
"BatchChannelMemberships": ...,
"Errors": ...,
"ResponseMetadata": ...,
}
# BatchCreateChannelMembershipResponseTypeDef definition
class BatchCreateChannelMembershipResponseTypeDef(TypedDict):
BatchChannelMemberships: BatchChannelMembershipsTypeDef, # (1)
Errors: List[BatchCreateChannelMembershipErrorTypeDef], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
- See BatchChannelMembershipsTypeDef
- See BatchCreateChannelMembershipErrorTypeDef
- See ResponseMetadataTypeDef
ListChannelBansResponseTypeDef#
# ListChannelBansResponseTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import ListChannelBansResponseTypeDef
def get_value() -> ListChannelBansResponseTypeDef:
return {
"ChannelArn": ...,
"NextToken": ...,
"ChannelBans": ...,
"ResponseMetadata": ...,
}
# ListChannelBansResponseTypeDef definition
class ListChannelBansResponseTypeDef(TypedDict):
ChannelArn: str,
NextToken: str,
ChannelBans: List[ChannelBanSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DescribeChannelBanResponseTypeDef#
# DescribeChannelBanResponseTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import DescribeChannelBanResponseTypeDef
def get_value() -> DescribeChannelBanResponseTypeDef:
return {
"ChannelBan": ...,
"ResponseMetadata": ...,
}
# DescribeChannelBanResponseTypeDef definition
class DescribeChannelBanResponseTypeDef(TypedDict):
ChannelBan: ChannelBanTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListChannelMembershipsResponseTypeDef#
# ListChannelMembershipsResponseTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import ListChannelMembershipsResponseTypeDef
def get_value() -> ListChannelMembershipsResponseTypeDef:
return {
"ChannelArn": ...,
"ChannelMemberships": ...,
"NextToken": ...,
"ResponseMetadata": ...,
}
# ListChannelMembershipsResponseTypeDef definition
class ListChannelMembershipsResponseTypeDef(TypedDict):
ChannelArn: str,
ChannelMemberships: List[ChannelMembershipSummaryTypeDef], # (1)
NextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DescribeChannelMembershipResponseTypeDef#
# DescribeChannelMembershipResponseTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import DescribeChannelMembershipResponseTypeDef
def get_value() -> DescribeChannelMembershipResponseTypeDef:
return {
"ChannelMembership": ...,
"ResponseMetadata": ...,
}
# DescribeChannelMembershipResponseTypeDef definition
class DescribeChannelMembershipResponseTypeDef(TypedDict):
ChannelMembership: ChannelMembershipTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListChannelModeratorsResponseTypeDef#
# ListChannelModeratorsResponseTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import ListChannelModeratorsResponseTypeDef
def get_value() -> ListChannelModeratorsResponseTypeDef:
return {
"ChannelArn": ...,
"NextToken": ...,
"ChannelModerators": ...,
"ResponseMetadata": ...,
}
# ListChannelModeratorsResponseTypeDef definition
class ListChannelModeratorsResponseTypeDef(TypedDict):
ChannelArn: str,
NextToken: str,
ChannelModerators: List[ChannelModeratorSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DescribeChannelModeratorResponseTypeDef#
# DescribeChannelModeratorResponseTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import DescribeChannelModeratorResponseTypeDef
def get_value() -> DescribeChannelModeratorResponseTypeDef:
return {
"ChannelModerator": ...,
"ResponseMetadata": ...,
}
# DescribeChannelModeratorResponseTypeDef definition
class DescribeChannelModeratorResponseTypeDef(TypedDict):
ChannelModerator: ChannelModeratorTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DescribeChannelMembershipForAppInstanceUserResponseTypeDef#
# DescribeChannelMembershipForAppInstanceUserResponseTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import DescribeChannelMembershipForAppInstanceUserResponseTypeDef
def get_value() -> DescribeChannelMembershipForAppInstanceUserResponseTypeDef:
return {
"ChannelMembership": ...,
"ResponseMetadata": ...,
}
# DescribeChannelMembershipForAppInstanceUserResponseTypeDef definition
class DescribeChannelMembershipForAppInstanceUserResponseTypeDef(TypedDict):
ChannelMembership: ChannelMembershipForAppInstanceUserSummaryTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListChannelMembershipsForAppInstanceUserResponseTypeDef#
# ListChannelMembershipsForAppInstanceUserResponseTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import ListChannelMembershipsForAppInstanceUserResponseTypeDef
def get_value() -> ListChannelMembershipsForAppInstanceUserResponseTypeDef:
return {
"ChannelMemberships": ...,
"NextToken": ...,
"ResponseMetadata": ...,
}
# ListChannelMembershipsForAppInstanceUserResponseTypeDef definition
class ListChannelMembershipsForAppInstanceUserResponseTypeDef(TypedDict):
ChannelMemberships: List[ChannelMembershipForAppInstanceUserSummaryTypeDef], # (1)
NextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DescribeChannelModeratedByAppInstanceUserResponseTypeDef#
# DescribeChannelModeratedByAppInstanceUserResponseTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import DescribeChannelModeratedByAppInstanceUserResponseTypeDef
def get_value() -> DescribeChannelModeratedByAppInstanceUserResponseTypeDef:
return {
"Channel": ...,
"ResponseMetadata": ...,
}
# DescribeChannelModeratedByAppInstanceUserResponseTypeDef definition
class DescribeChannelModeratedByAppInstanceUserResponseTypeDef(TypedDict):
Channel: ChannelModeratedByAppInstanceUserSummaryTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListChannelsModeratedByAppInstanceUserResponseTypeDef#
# ListChannelsModeratedByAppInstanceUserResponseTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import ListChannelsModeratedByAppInstanceUserResponseTypeDef
def get_value() -> ListChannelsModeratedByAppInstanceUserResponseTypeDef:
return {
"Channels": ...,
"NextToken": ...,
"ResponseMetadata": ...,
}
# ListChannelsModeratedByAppInstanceUserResponseTypeDef definition
class ListChannelsModeratedByAppInstanceUserResponseTypeDef(TypedDict):
Channels: List[ChannelModeratedByAppInstanceUserSummaryTypeDef], # (1)
NextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetChannelMembershipPreferencesResponseTypeDef#
# GetChannelMembershipPreferencesResponseTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import GetChannelMembershipPreferencesResponseTypeDef
def get_value() -> GetChannelMembershipPreferencesResponseTypeDef:
return {
"ChannelArn": ...,
"Member": ...,
"Preferences": ...,
"ResponseMetadata": ...,
}
# GetChannelMembershipPreferencesResponseTypeDef definition
class GetChannelMembershipPreferencesResponseTypeDef(TypedDict):
ChannelArn: str,
Member: IdentityTypeDef, # (1)
Preferences: ChannelMembershipPreferencesTypeDef, # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
PutChannelMembershipPreferencesRequestRequestTypeDef#
# PutChannelMembershipPreferencesRequestRequestTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import PutChannelMembershipPreferencesRequestRequestTypeDef
def get_value() -> PutChannelMembershipPreferencesRequestRequestTypeDef:
return {
"ChannelArn": ...,
"MemberArn": ...,
"ChimeBearer": ...,
"Preferences": ...,
}
# PutChannelMembershipPreferencesRequestRequestTypeDef definition
class PutChannelMembershipPreferencesRequestRequestTypeDef(TypedDict):
ChannelArn: str,
MemberArn: str,
ChimeBearer: str,
Preferences: ChannelMembershipPreferencesTypeDef, # (1)
PutChannelMembershipPreferencesResponseTypeDef#
# PutChannelMembershipPreferencesResponseTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import PutChannelMembershipPreferencesResponseTypeDef
def get_value() -> PutChannelMembershipPreferencesResponseTypeDef:
return {
"ChannelArn": ...,
"Member": ...,
"Preferences": ...,
"ResponseMetadata": ...,
}
# PutChannelMembershipPreferencesResponseTypeDef definition
class PutChannelMembershipPreferencesResponseTypeDef(TypedDict):
ChannelArn: str,
Member: IdentityTypeDef, # (1)
Preferences: ChannelMembershipPreferencesTypeDef, # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
ChannelFlowCallbackRequestRequestTypeDef#
# ChannelFlowCallbackRequestRequestTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import ChannelFlowCallbackRequestRequestTypeDef
def get_value() -> ChannelFlowCallbackRequestRequestTypeDef:
return {
"CallbackId": ...,
"ChannelArn": ...,
"ChannelMessage": ...,
}
# ChannelFlowCallbackRequestRequestTypeDef definition
class ChannelFlowCallbackRequestRequestTypeDef(TypedDict):
CallbackId: str,
ChannelArn: str,
ChannelMessage: ChannelMessageCallbackTypeDef, # (1)
DeleteResource: NotRequired[bool],
ListChannelMessagesResponseTypeDef#
# ListChannelMessagesResponseTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import ListChannelMessagesResponseTypeDef
def get_value() -> ListChannelMessagesResponseTypeDef:
return {
"ChannelArn": ...,
"NextToken": ...,
"ChannelMessages": ...,
"SubChannelId": ...,
"ResponseMetadata": ...,
}
# ListChannelMessagesResponseTypeDef definition
class ListChannelMessagesResponseTypeDef(TypedDict):
ChannelArn: str,
NextToken: str,
ChannelMessages: List[ChannelMessageSummaryTypeDef], # (1)
SubChannelId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetChannelMessageResponseTypeDef#
# GetChannelMessageResponseTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import GetChannelMessageResponseTypeDef
def get_value() -> GetChannelMessageResponseTypeDef:
return {
"ChannelMessage": ...,
"ResponseMetadata": ...,
}
# GetChannelMessageResponseTypeDef definition
class GetChannelMessageResponseTypeDef(TypedDict):
ChannelMessage: ChannelMessageTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DescribeChannelResponseTypeDef#
# DescribeChannelResponseTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import DescribeChannelResponseTypeDef
def get_value() -> DescribeChannelResponseTypeDef:
return {
"Channel": ...,
"ResponseMetadata": ...,
}
# DescribeChannelResponseTypeDef definition
class DescribeChannelResponseTypeDef(TypedDict):
Channel: ChannelTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ProcessorTypeDef#
# ProcessorTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import ProcessorTypeDef
def get_value() -> ProcessorTypeDef:
return {
"Name": ...,
"Configuration": ...,
"ExecutionOrder": ...,
"FallbackAction": ...,
}
# ProcessorTypeDef definition
class ProcessorTypeDef(TypedDict):
Name: str,
Configuration: ProcessorConfigurationTypeDef, # (1)
ExecutionOrder: int,
FallbackAction: FallbackActionType, # (2)
ChannelFlowSummaryTypeDef#
# ChannelFlowSummaryTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import ChannelFlowSummaryTypeDef
def get_value() -> ChannelFlowSummaryTypeDef:
return {
"ChannelFlowArn": ...,
}
# ChannelFlowSummaryTypeDef definition
class ChannelFlowSummaryTypeDef(TypedDict):
ChannelFlowArn: NotRequired[str],
Name: NotRequired[str],
Processors: NotRequired[List[ProcessorTypeDef]], # (1)
- See ProcessorTypeDef
ChannelFlowTypeDef#
# ChannelFlowTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import ChannelFlowTypeDef
def get_value() -> ChannelFlowTypeDef:
return {
"ChannelFlowArn": ...,
}
# ChannelFlowTypeDef definition
class ChannelFlowTypeDef(TypedDict):
ChannelFlowArn: NotRequired[str],
Processors: NotRequired[List[ProcessorTypeDef]], # (1)
Name: NotRequired[str],
CreatedTimestamp: NotRequired[datetime],
LastUpdatedTimestamp: NotRequired[datetime],
- See ProcessorTypeDef
CreateChannelFlowRequestRequestTypeDef#
# CreateChannelFlowRequestRequestTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import CreateChannelFlowRequestRequestTypeDef
def get_value() -> CreateChannelFlowRequestRequestTypeDef:
return {
"AppInstanceArn": ...,
"Processors": ...,
"Name": ...,
"ClientRequestToken": ...,
}
# CreateChannelFlowRequestRequestTypeDef definition
class CreateChannelFlowRequestRequestTypeDef(TypedDict):
AppInstanceArn: str,
Processors: Sequence[ProcessorTypeDef], # (1)
Name: str,
ClientRequestToken: str,
Tags: NotRequired[Sequence[TagTypeDef]], # (2)
- See ProcessorTypeDef
- See TagTypeDef
UpdateChannelFlowRequestRequestTypeDef#
# UpdateChannelFlowRequestRequestTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import UpdateChannelFlowRequestRequestTypeDef
def get_value() -> UpdateChannelFlowRequestRequestTypeDef:
return {
"ChannelFlowArn": ...,
"Processors": ...,
"Name": ...,
}
# UpdateChannelFlowRequestRequestTypeDef definition
class UpdateChannelFlowRequestRequestTypeDef(TypedDict):
ChannelFlowArn: str,
Processors: Sequence[ProcessorTypeDef], # (1)
Name: str,
- See ProcessorTypeDef
ListChannelFlowsResponseTypeDef#
# ListChannelFlowsResponseTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import ListChannelFlowsResponseTypeDef
def get_value() -> ListChannelFlowsResponseTypeDef:
return {
"ChannelFlows": ...,
"NextToken": ...,
"ResponseMetadata": ...,
}
# ListChannelFlowsResponseTypeDef definition
class ListChannelFlowsResponseTypeDef(TypedDict):
ChannelFlows: List[ChannelFlowSummaryTypeDef], # (1)
NextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DescribeChannelFlowResponseTypeDef#
# DescribeChannelFlowResponseTypeDef usage example
from mypy_boto3_chime_sdk_messaging.type_defs import DescribeChannelFlowResponseTypeDef
def get_value() -> DescribeChannelFlowResponseTypeDef:
return {
"ChannelFlow": ...,
"ResponseMetadata": ...,
}
# DescribeChannelFlowResponseTypeDef definition
class DescribeChannelFlowResponseTypeDef(TypedDict):
ChannelFlow: ChannelFlowTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)