Type definitions#
Index > ConnectParticipant > Type definitions
Auto-generated documentation for ConnectParticipant type annotations stubs module mypy-boto3-connectparticipant.
AttachmentItemTypeDef#
# AttachmentItemTypeDef definition
class AttachmentItemTypeDef(TypedDict):
ContentType: NotRequired[str],
AttachmentId: NotRequired[str],
AttachmentName: NotRequired[str],
Status: NotRequired[ArtifactStatusType], # (1)
CompleteAttachmentUploadRequestRequestTypeDef#
# CompleteAttachmentUploadRequestRequestTypeDef definition
class CompleteAttachmentUploadRequestRequestTypeDef(TypedDict):
AttachmentIds: Sequence[str],
ClientToken: str,
ConnectionToken: str,
ConnectionCredentialsTypeDef#
# ConnectionCredentialsTypeDef definition
class ConnectionCredentialsTypeDef(TypedDict):
ConnectionToken: NotRequired[str],
Expiry: NotRequired[str],
CreateParticipantConnectionRequestRequestTypeDef#
# CreateParticipantConnectionRequestRequestTypeDef definition
class CreateParticipantConnectionRequestRequestTypeDef(TypedDict):
ParticipantToken: str,
Type: NotRequired[Sequence[ConnectionTypeType]], # (1)
ConnectParticipant: NotRequired[bool],
ResponseMetadataTypeDef#
# ResponseMetadataTypeDef definition
class ResponseMetadataTypeDef(TypedDict):
RequestId: str,
HTTPStatusCode: int,
HTTPHeaders: Dict[str, str],
RetryAttempts: int,
HostId: NotRequired[str],
WebsocketTypeDef#
# WebsocketTypeDef definition
class WebsocketTypeDef(TypedDict):
Url: NotRequired[str],
ConnectionExpiry: NotRequired[str],
DescribeViewRequestRequestTypeDef#
# DescribeViewRequestRequestTypeDef definition
class DescribeViewRequestRequestTypeDef(TypedDict):
ViewToken: str,
ConnectionToken: str,
DisconnectParticipantRequestRequestTypeDef#
# DisconnectParticipantRequestRequestTypeDef definition
class DisconnectParticipantRequestRequestTypeDef(TypedDict):
ConnectionToken: str,
ClientToken: NotRequired[str],
GetAttachmentRequestRequestTypeDef#
# GetAttachmentRequestRequestTypeDef definition
class GetAttachmentRequestRequestTypeDef(TypedDict):
AttachmentId: str,
ConnectionToken: str,
StartPositionTypeDef#
# StartPositionTypeDef definition
class StartPositionTypeDef(TypedDict):
Id: NotRequired[str],
AbsoluteTime: NotRequired[str],
MostRecent: NotRequired[int],
ReceiptTypeDef#
# ReceiptTypeDef definition
class ReceiptTypeDef(TypedDict):
DeliveredTimestamp: NotRequired[str],
ReadTimestamp: NotRequired[str],
RecipientParticipantId: NotRequired[str],
SendEventRequestRequestTypeDef#
# SendEventRequestRequestTypeDef definition
class SendEventRequestRequestTypeDef(TypedDict):
ContentType: str,
ConnectionToken: str,
Content: NotRequired[str],
ClientToken: NotRequired[str],
SendMessageRequestRequestTypeDef#
# SendMessageRequestRequestTypeDef definition
class SendMessageRequestRequestTypeDef(TypedDict):
ContentType: str,
Content: str,
ConnectionToken: str,
ClientToken: NotRequired[str],
StartAttachmentUploadRequestRequestTypeDef#
# StartAttachmentUploadRequestRequestTypeDef definition
class StartAttachmentUploadRequestRequestTypeDef(TypedDict):
ContentType: str,
AttachmentSizeInBytes: int,
AttachmentName: str,
ClientToken: str,
ConnectionToken: str,
UploadMetadataTypeDef#
# UploadMetadataTypeDef definition
class UploadMetadataTypeDef(TypedDict):
Url: NotRequired[str],
UrlExpiry: NotRequired[str],
HeadersToInclude: NotRequired[Dict[str, str]],
ViewContentTypeDef#
# ViewContentTypeDef definition
class ViewContentTypeDef(TypedDict):
InputSchema: NotRequired[str],
Template: NotRequired[str],
Actions: NotRequired[List[str]],
GetAttachmentResponseTypeDef#
# GetAttachmentResponseTypeDef definition
class GetAttachmentResponseTypeDef(TypedDict):
Url: str,
UrlExpiry: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
SendEventResponseTypeDef#
# SendEventResponseTypeDef definition
class SendEventResponseTypeDef(TypedDict):
Id: str,
AbsoluteTime: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
SendMessageResponseTypeDef#
# SendMessageResponseTypeDef definition
class SendMessageResponseTypeDef(TypedDict):
Id: str,
AbsoluteTime: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
CreateParticipantConnectionResponseTypeDef#
# CreateParticipantConnectionResponseTypeDef definition
class CreateParticipantConnectionResponseTypeDef(TypedDict):
Websocket: WebsocketTypeDef, # (1)
ConnectionCredentials: ConnectionCredentialsTypeDef, # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
GetTranscriptRequestRequestTypeDef#
# GetTranscriptRequestRequestTypeDef definition
class GetTranscriptRequestRequestTypeDef(TypedDict):
ConnectionToken: str,
ContactId: NotRequired[str],
MaxResults: NotRequired[int],
NextToken: NotRequired[str],
ScanDirection: NotRequired[ScanDirectionType], # (1)
SortOrder: NotRequired[SortKeyType], # (2)
StartPosition: NotRequired[StartPositionTypeDef], # (3)
- See ScanDirectionType
- See SortKeyType
- See StartPositionTypeDef
MessageMetadataTypeDef#
# MessageMetadataTypeDef definition
class MessageMetadataTypeDef(TypedDict):
MessageId: NotRequired[str],
Receipts: NotRequired[List[ReceiptTypeDef]], # (1)
- See ReceiptTypeDef
StartAttachmentUploadResponseTypeDef#
# StartAttachmentUploadResponseTypeDef definition
class StartAttachmentUploadResponseTypeDef(TypedDict):
AttachmentId: str,
UploadMetadata: UploadMetadataTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ViewTypeDef#
# ViewTypeDef definition
class ViewTypeDef(TypedDict):
Id: NotRequired[str],
Arn: NotRequired[str],
Name: NotRequired[str],
Version: NotRequired[int],
Content: NotRequired[ViewContentTypeDef], # (1)
ItemTypeDef#
# ItemTypeDef definition
class ItemTypeDef(TypedDict):
AbsoluteTime: NotRequired[str],
Content: NotRequired[str],
ContentType: NotRequired[str],
Id: NotRequired[str],
Type: NotRequired[ChatItemTypeType], # (1)
ParticipantId: NotRequired[str],
DisplayName: NotRequired[str],
ParticipantRole: NotRequired[ParticipantRoleType], # (2)
Attachments: NotRequired[List[AttachmentItemTypeDef]], # (3)
MessageMetadata: NotRequired[MessageMetadataTypeDef], # (4)
RelatedContactId: NotRequired[str],
ContactId: NotRequired[str],
DescribeViewResponseTypeDef#
# DescribeViewResponseTypeDef definition
class DescribeViewResponseTypeDef(TypedDict):
View: ViewTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See ViewTypeDef
- See ResponseMetadataTypeDef
GetTranscriptResponseTypeDef#
# GetTranscriptResponseTypeDef definition
class GetTranscriptResponseTypeDef(TypedDict):
InitialContactId: str,
Transcript: List[ItemTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
- See ItemTypeDef
- See ResponseMetadataTypeDef