SendMediaMessageRequest
¶
Source code in docs_src/capo_pinpoint_sms_voice_v2/types/send_media_message_request.py
configuration_set_name
instance-attribute
¶
configuration_set_name: NotRequired[ConfigurationSetNameOrArn]
The name of the configuration set to use. This can be either the ConfigurationSetName or ConfigurationSetArn.
context
instance-attribute
¶
context: NotRequired[ContextMap]
You can specify custom data in this field. If you do, that data is logged to the event destination.
destination_phone_number
instance-attribute
¶
destination_phone_number: PhoneNumber
The destination phone number in E.164 format.
dry_run
instance-attribute
¶
dry_run: bool
When set to true, the message is checked and validated, but isn't sent to the end recipient.
max_price
instance-attribute
¶
max_price: NotRequired[MaxPrice]
The maximum amount that you want to spend, in US dollars, per each MMS message.
media_urls
instance-attribute
¶
media_urls: NotRequired[MediaUrlList]
An array of URLs to each media file to send.
The media files have to be stored in an S3 bucket. Supported media file formats are listed in MMS file types, size and character limits. For more information on creating an S3 bucket and managing objects, see Creating a bucket, Uploading objects in the Amazon S3 User Guide, and Setting up an Amazon S3 bucket for MMS files in the Amazon Web Services End User Messaging SMS User Guide.
message_body
instance-attribute
¶
message_body: NotRequired[TextMessageBody]
The text body of the message.
message_feedback_enabled
instance-attribute
¶
message_feedback_enabled: NotRequired[bool]
Set to true to enable message feedback for the message. When a user receives the message you need to update the message status using PutMessageFeedback.
origination_identity
instance-attribute
¶
origination_identity: MediaMessageOriginationIdentity
The origination identity of the message. This can be either the PhoneNumber, PhoneNumberId, PhoneNumberArn, SenderId, SenderIdArn, PoolId, or PoolArn.
If you are using a shared End User Messaging SMS resource then you must use the full Amazon Resource Name(ARN).
protect_configuration_id
instance-attribute
¶
protect_configuration_id: NotRequired[ProtectConfigurationIdOrArn]
The unique identifier of the protect configuration to use.
time_to_live
instance-attribute
¶
time_to_live: NotRequired[TimeToLive]
How long the media message is valid for. By default this is 72 hours.