Type definitions#
Index > EndUserMessagingSocial > Type definitions
Auto-generated documentation for EndUserMessagingSocial type annotations stubs module types-boto3-socialmessaging.
BlobTypeDef#
# BlobTypeDef definition
BlobTypeDef = Union[
str,
bytes,
IO[Any],
StreamingBody,
]
WhatsAppSignupCallbackTypeDef#
# WhatsAppSignupCallbackTypeDef definition
class WhatsAppSignupCallbackTypeDef(TypedDict):
accessToken: str,
ResponseMetadataTypeDef#
# ResponseMetadataTypeDef definition
class ResponseMetadataTypeDef(TypedDict):
RequestId: str,
HTTPStatusCode: int,
HTTPHeaders: dict[str, str],
RetryAttempts: int,
HostId: NotRequired[str],
DeleteWhatsAppMessageMediaInputRequestTypeDef#
# DeleteWhatsAppMessageMediaInputRequestTypeDef definition
class DeleteWhatsAppMessageMediaInputRequestTypeDef(TypedDict):
mediaId: str,
originationPhoneNumberId: str,
DisassociateWhatsAppBusinessAccountInputRequestTypeDef#
# DisassociateWhatsAppBusinessAccountInputRequestTypeDef definition
class DisassociateWhatsAppBusinessAccountInputRequestTypeDef(TypedDict):
id: str,
GetLinkedWhatsAppBusinessAccountInputRequestTypeDef#
# GetLinkedWhatsAppBusinessAccountInputRequestTypeDef definition
class GetLinkedWhatsAppBusinessAccountInputRequestTypeDef(TypedDict):
id: str,
GetLinkedWhatsAppBusinessAccountPhoneNumberInputRequestTypeDef#
# GetLinkedWhatsAppBusinessAccountPhoneNumberInputRequestTypeDef definition
class GetLinkedWhatsAppBusinessAccountPhoneNumberInputRequestTypeDef(TypedDict):
id: str,
WhatsAppPhoneNumberDetailTypeDef#
# WhatsAppPhoneNumberDetailTypeDef definition
class WhatsAppPhoneNumberDetailTypeDef(TypedDict):
arn: str,
phoneNumber: str,
phoneNumberId: str,
metaPhoneNumberId: str,
displayPhoneNumberName: str,
displayPhoneNumber: str,
qualityRating: str,
S3FileTypeDef#
# S3FileTypeDef definition
class S3FileTypeDef(TypedDict):
bucketName: str,
key: str,
S3PresignedUrlTypeDef#
# S3PresignedUrlTypeDef definition
class S3PresignedUrlTypeDef(TypedDict):
url: str,
headers: Mapping[str, str],
WhatsAppBusinessAccountEventDestinationTypeDef#
# WhatsAppBusinessAccountEventDestinationTypeDef definition
class WhatsAppBusinessAccountEventDestinationTypeDef(TypedDict):
eventDestinationArn: str,
roleArn: NotRequired[str],
WhatsAppPhoneNumberSummaryTypeDef#
# WhatsAppPhoneNumberSummaryTypeDef definition
class WhatsAppPhoneNumberSummaryTypeDef(TypedDict):
arn: str,
phoneNumber: str,
phoneNumberId: str,
metaPhoneNumberId: str,
displayPhoneNumberName: str,
displayPhoneNumber: str,
qualityRating: str,
PaginatorConfigTypeDef#
# PaginatorConfigTypeDef definition
class PaginatorConfigTypeDef(TypedDict):
MaxItems: NotRequired[int],
PageSize: NotRequired[int],
StartingToken: NotRequired[str],
ListLinkedWhatsAppBusinessAccountsInputRequestTypeDef#
# ListLinkedWhatsAppBusinessAccountsInputRequestTypeDef definition
class ListLinkedWhatsAppBusinessAccountsInputRequestTypeDef(TypedDict):
nextToken: NotRequired[str],
maxResults: NotRequired[int],
ListTagsForResourceInputRequestTypeDef#
# ListTagsForResourceInputRequestTypeDef definition
class ListTagsForResourceInputRequestTypeDef(TypedDict):
resourceArn: str,
TagTypeDef#
# TagTypeDef definition
class TagTypeDef(TypedDict):
key: str,
value: NotRequired[str],
UntagResourceInputRequestTypeDef#
# UntagResourceInputRequestTypeDef definition
class UntagResourceInputRequestTypeDef(TypedDict):
resourceArn: str,
tagKeys: Sequence[str],
DeleteWhatsAppMessageMediaOutputTypeDef#
# DeleteWhatsAppMessageMediaOutputTypeDef definition
class DeleteWhatsAppMessageMediaOutputTypeDef(TypedDict):
success: bool,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
GetWhatsAppMessageMediaOutputTypeDef#
# GetWhatsAppMessageMediaOutputTypeDef definition
class GetWhatsAppMessageMediaOutputTypeDef(TypedDict):
mimeType: str,
fileSize: int,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
PostWhatsAppMessageMediaOutputTypeDef#
# PostWhatsAppMessageMediaOutputTypeDef definition
class PostWhatsAppMessageMediaOutputTypeDef(TypedDict):
mediaId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
SendWhatsAppMessageOutputTypeDef#
# SendWhatsAppMessageOutputTypeDef definition
class SendWhatsAppMessageOutputTypeDef(TypedDict):
messageId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
TagResourceOutputTypeDef#
# TagResourceOutputTypeDef definition
class TagResourceOutputTypeDef(TypedDict):
statusCode: int,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
UntagResourceOutputTypeDef#
# UntagResourceOutputTypeDef definition
class UntagResourceOutputTypeDef(TypedDict):
statusCode: int,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
SendWhatsAppMessageInputRequestTypeDef#
# SendWhatsAppMessageInputRequestTypeDef definition
class SendWhatsAppMessageInputRequestTypeDef(TypedDict):
originationPhoneNumberId: str,
message: BlobTypeDef,
metaApiVersion: str,
GetLinkedWhatsAppBusinessAccountPhoneNumberOutputTypeDef#
# GetLinkedWhatsAppBusinessAccountPhoneNumberOutputTypeDef definition
class GetLinkedWhatsAppBusinessAccountPhoneNumberOutputTypeDef(TypedDict):
phoneNumber: WhatsAppPhoneNumberDetailTypeDef, # (1)
linkedWhatsAppBusinessAccountId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
LinkedWhatsAppBusinessAccountIdMetaDataTypeDef#
# LinkedWhatsAppBusinessAccountIdMetaDataTypeDef definition
class LinkedWhatsAppBusinessAccountIdMetaDataTypeDef(TypedDict):
accountName: NotRequired[str],
registrationStatus: NotRequired[RegistrationStatusType], # (1)
unregisteredWhatsAppPhoneNumbers: NotRequired[list[WhatsAppPhoneNumberDetailTypeDef]], # (2)
wabaId: NotRequired[str],
GetWhatsAppMessageMediaInputRequestTypeDef#
# GetWhatsAppMessageMediaInputRequestTypeDef definition
class GetWhatsAppMessageMediaInputRequestTypeDef(TypedDict):
mediaId: str,
originationPhoneNumberId: str,
metadataOnly: NotRequired[bool],
destinationS3PresignedUrl: NotRequired[S3PresignedUrlTypeDef], # (1)
destinationS3File: NotRequired[S3FileTypeDef], # (2)
- See S3PresignedUrlTypeDef
- See S3FileTypeDef
PostWhatsAppMessageMediaInputRequestTypeDef#
# PostWhatsAppMessageMediaInputRequestTypeDef definition
class PostWhatsAppMessageMediaInputRequestTypeDef(TypedDict):
originationPhoneNumberId: str,
sourceS3PresignedUrl: NotRequired[S3PresignedUrlTypeDef], # (1)
sourceS3File: NotRequired[S3FileTypeDef], # (2)
- See S3PresignedUrlTypeDef
- See S3FileTypeDef
LinkedWhatsAppBusinessAccountSummaryTypeDef#
# LinkedWhatsAppBusinessAccountSummaryTypeDef definition
class LinkedWhatsAppBusinessAccountSummaryTypeDef(TypedDict):
arn: str,
id: str,
wabaId: str,
registrationStatus: RegistrationStatusType, # (1)
linkDate: datetime,
wabaName: str,
eventDestinations: list[WhatsAppBusinessAccountEventDestinationTypeDef], # (2)
PutWhatsAppBusinessAccountEventDestinationsInputRequestTypeDef#
# PutWhatsAppBusinessAccountEventDestinationsInputRequestTypeDef definition
class PutWhatsAppBusinessAccountEventDestinationsInputRequestTypeDef(TypedDict):
id: str,
eventDestinations: Sequence[WhatsAppBusinessAccountEventDestinationTypeDef], # (1)
LinkedWhatsAppBusinessAccountTypeDef#
# LinkedWhatsAppBusinessAccountTypeDef definition
class LinkedWhatsAppBusinessAccountTypeDef(TypedDict):
arn: str,
id: str,
wabaId: str,
registrationStatus: RegistrationStatusType, # (1)
linkDate: datetime,
wabaName: str,
eventDestinations: list[WhatsAppBusinessAccountEventDestinationTypeDef], # (2)
phoneNumbers: list[WhatsAppPhoneNumberSummaryTypeDef], # (3)
- See RegistrationStatusType
- See WhatsAppBusinessAccountEventDestinationTypeDef
- See WhatsAppPhoneNumberSummaryTypeDef
ListLinkedWhatsAppBusinessAccountsInputPaginateTypeDef#
# ListLinkedWhatsAppBusinessAccountsInputPaginateTypeDef definition
class ListLinkedWhatsAppBusinessAccountsInputPaginateTypeDef(TypedDict):
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListTagsForResourceOutputTypeDef#
# ListTagsForResourceOutputTypeDef definition
class ListTagsForResourceOutputTypeDef(TypedDict):
statusCode: int,
tags: list[TagTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See TagTypeDef
- See ResponseMetadataTypeDef
TagResourceInputRequestTypeDef#
# TagResourceInputRequestTypeDef definition
class TagResourceInputRequestTypeDef(TypedDict):
resourceArn: str,
tags: Sequence[TagTypeDef], # (1)
- See TagTypeDef
WabaPhoneNumberSetupFinalizationTypeDef#
# WabaPhoneNumberSetupFinalizationTypeDef definition
class WabaPhoneNumberSetupFinalizationTypeDef(TypedDict):
id: str,
twoFactorPin: str,
dataLocalizationRegion: NotRequired[str],
tags: NotRequired[Sequence[TagTypeDef]], # (1)
- See TagTypeDef
WabaSetupFinalizationTypeDef#
# WabaSetupFinalizationTypeDef definition
class WabaSetupFinalizationTypeDef(TypedDict):
id: NotRequired[str],
eventDestinations: NotRequired[Sequence[WhatsAppBusinessAccountEventDestinationTypeDef]], # (1)
tags: NotRequired[Sequence[TagTypeDef]], # (2)
WhatsAppSignupCallbackResultTypeDef#
# WhatsAppSignupCallbackResultTypeDef definition
class WhatsAppSignupCallbackResultTypeDef(TypedDict):
associateInProgressToken: NotRequired[str],
linkedAccountsWithIncompleteSetup: NotRequired[dict[str, LinkedWhatsAppBusinessAccountIdMetaDataTypeDef]], # (1)
ListLinkedWhatsAppBusinessAccountsOutputTypeDef#
# ListLinkedWhatsAppBusinessAccountsOutputTypeDef definition
class ListLinkedWhatsAppBusinessAccountsOutputTypeDef(TypedDict):
linkedAccounts: list[LinkedWhatsAppBusinessAccountSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
GetLinkedWhatsAppBusinessAccountOutputTypeDef#
# GetLinkedWhatsAppBusinessAccountOutputTypeDef definition
class GetLinkedWhatsAppBusinessAccountOutputTypeDef(TypedDict):
account: LinkedWhatsAppBusinessAccountTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
WhatsAppSetupFinalizationTypeDef#
# WhatsAppSetupFinalizationTypeDef definition
class WhatsAppSetupFinalizationTypeDef(TypedDict):
associateInProgressToken: str,
phoneNumbers: Sequence[WabaPhoneNumberSetupFinalizationTypeDef], # (1)
phoneNumberParent: NotRequired[str],
waba: NotRequired[WabaSetupFinalizationTypeDef], # (2)
AssociateWhatsAppBusinessAccountOutputTypeDef#
# AssociateWhatsAppBusinessAccountOutputTypeDef definition
class AssociateWhatsAppBusinessAccountOutputTypeDef(TypedDict):
signupCallbackResult: WhatsAppSignupCallbackResultTypeDef, # (1)
statusCode: int,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
AssociateWhatsAppBusinessAccountInputRequestTypeDef#
# AssociateWhatsAppBusinessAccountInputRequestTypeDef definition
class AssociateWhatsAppBusinessAccountInputRequestTypeDef(TypedDict):
signupCallback: NotRequired[WhatsAppSignupCallbackTypeDef], # (1)
setupFinalization: NotRequired[WhatsAppSetupFinalizationTypeDef], # (2)