SendVoiceMessageRequest
¶
Source code in docs_src/capo_pinpoint_sms_voice_v2/types/send_voice_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_per_minute
instance-attribute
¶
max_price_per_minute: NotRequired[MaxPrice]
The maximum amount to spend per voice message, in US dollars.
message_body
instance-attribute
¶
message_body: NotRequired[VoiceMessageBody]
The text to convert to a voice message.
message_body_text_type
instance-attribute
¶
message_body_text_type: NotRequired[VoiceMessageBodyTextType]
Specifies if the MessageBody field contains text or speech synthesis markup language (SSML).
-
TEXT: This is the default value. When used the maximum character limit is 3000.
-
SSML: When used the maximum character limit is 6000 including SSML tagging.
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: VoiceMessageOriginationIdentity
The origination identity to use for the voice call. This can be the PhoneNumber, PhoneNumberId, PhoneNumberArn, 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 for the protect configuration.
time_to_live
instance-attribute
¶
time_to_live: NotRequired[TimeToLive]
How long the voice message is valid for. By default this is 72 hours.
voice_id
instance-attribute
¶
voice_id: NotRequired[VoiceId]
The voice for the Amazon Polly service to use. By default this is set to "MATTHEW".