Class: Aws::PinpointSMSVoiceV2::Types::SendVoiceMessageRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-pinpointsmsvoicev2/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#configuration_set_nameString

The name of the configuration set to use. This can be either the ConfigurationSetName or ConfigurationSetArn.

Returns:

  • (String)


6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
# File 'lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 6293

class SendVoiceMessageRequest < Struct.new(
  :destination_phone_number,
  :origination_identity,
  :message_body,
  :message_body_text_type,
  :voice_id,
  :configuration_set_name,
  :max_price_per_minute,
  :time_to_live,
  :context,
  :dry_run,
  :protect_configuration_id,
  :message_feedback_enabled)
  SENSITIVE = []
  include Aws::Structure
end

#contextHash<String,String>

You can specify custom data in this field. If you do, that data is logged to the event destination.

Returns:

  • (Hash<String,String>)


6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
# File 'lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 6293

class SendVoiceMessageRequest < Struct.new(
  :destination_phone_number,
  :origination_identity,
  :message_body,
  :message_body_text_type,
  :voice_id,
  :configuration_set_name,
  :max_price_per_minute,
  :time_to_live,
  :context,
  :dry_run,
  :protect_configuration_id,
  :message_feedback_enabled)
  SENSITIVE = []
  include Aws::Structure
end

#destination_phone_numberString

The destination phone number in E.164 format.

Returns:

  • (String)


6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
# File 'lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 6293

class SendVoiceMessageRequest < Struct.new(
  :destination_phone_number,
  :origination_identity,
  :message_body,
  :message_body_text_type,
  :voice_id,
  :configuration_set_name,
  :max_price_per_minute,
  :time_to_live,
  :context,
  :dry_run,
  :protect_configuration_id,
  :message_feedback_enabled)
  SENSITIVE = []
  include Aws::Structure
end

#dry_runBoolean

When set to true, the message is checked and validated, but isn’t sent to the end recipient.

Returns:

  • (Boolean)


6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
# File 'lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 6293

class SendVoiceMessageRequest < Struct.new(
  :destination_phone_number,
  :origination_identity,
  :message_body,
  :message_body_text_type,
  :voice_id,
  :configuration_set_name,
  :max_price_per_minute,
  :time_to_live,
  :context,
  :dry_run,
  :protect_configuration_id,
  :message_feedback_enabled)
  SENSITIVE = []
  include Aws::Structure
end

#max_price_per_minuteString

The maximum amount to spend per voice message, in US dollars.

Returns:

  • (String)


6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
# File 'lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 6293

class SendVoiceMessageRequest < Struct.new(
  :destination_phone_number,
  :origination_identity,
  :message_body,
  :message_body_text_type,
  :voice_id,
  :configuration_set_name,
  :max_price_per_minute,
  :time_to_live,
  :context,
  :dry_run,
  :protect_configuration_id,
  :message_feedback_enabled)
  SENSITIVE = []
  include Aws::Structure
end

#message_bodyString

The text to convert to a voice message.

Returns:

  • (String)


6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
# File 'lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 6293

class SendVoiceMessageRequest < Struct.new(
  :destination_phone_number,
  :origination_identity,
  :message_body,
  :message_body_text_type,
  :voice_id,
  :configuration_set_name,
  :max_price_per_minute,
  :time_to_live,
  :context,
  :dry_run,
  :protect_configuration_id,
  :message_feedback_enabled)
  SENSITIVE = []
  include Aws::Structure
end

#message_body_text_typeString

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.

[1]: docs.aws.amazon.com/polly/latest/dg/what-is.html

Returns:

  • (String)


6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
# File 'lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 6293

class SendVoiceMessageRequest < Struct.new(
  :destination_phone_number,
  :origination_identity,
  :message_body,
  :message_body_text_type,
  :voice_id,
  :configuration_set_name,
  :max_price_per_minute,
  :time_to_live,
  :context,
  :dry_run,
  :protect_configuration_id,
  :message_feedback_enabled)
  SENSITIVE = []
  include Aws::Structure
end

#message_feedback_enabledBoolean

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.

Returns:

  • (Boolean)


6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
# File 'lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 6293

class SendVoiceMessageRequest < Struct.new(
  :destination_phone_number,
  :origination_identity,
  :message_body,
  :message_body_text_type,
  :voice_id,
  :configuration_set_name,
  :max_price_per_minute,
  :time_to_live,
  :context,
  :dry_run,
  :protect_configuration_id,
  :message_feedback_enabled)
  SENSITIVE = []
  include Aws::Structure
end

#origination_identityString

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 AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).

Returns:

  • (String)


6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
# File 'lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 6293

class SendVoiceMessageRequest < Struct.new(
  :destination_phone_number,
  :origination_identity,
  :message_body,
  :message_body_text_type,
  :voice_id,
  :configuration_set_name,
  :max_price_per_minute,
  :time_to_live,
  :context,
  :dry_run,
  :protect_configuration_id,
  :message_feedback_enabled)
  SENSITIVE = []
  include Aws::Structure
end

#protect_configuration_idString

The unique identifier for the protect configuration.

Returns:

  • (String)


6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
# File 'lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 6293

class SendVoiceMessageRequest < Struct.new(
  :destination_phone_number,
  :origination_identity,
  :message_body,
  :message_body_text_type,
  :voice_id,
  :configuration_set_name,
  :max_price_per_minute,
  :time_to_live,
  :context,
  :dry_run,
  :protect_configuration_id,
  :message_feedback_enabled)
  SENSITIVE = []
  include Aws::Structure
end

#time_to_liveInteger

How long the voice message is valid for. By default this is 72 hours.

Returns:

  • (Integer)


6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
# File 'lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 6293

class SendVoiceMessageRequest < Struct.new(
  :destination_phone_number,
  :origination_identity,
  :message_body,
  :message_body_text_type,
  :voice_id,
  :configuration_set_name,
  :max_price_per_minute,
  :time_to_live,
  :context,
  :dry_run,
  :protect_configuration_id,
  :message_feedback_enabled)
  SENSITIVE = []
  include Aws::Structure
end

#voice_idString

The voice for the [Amazon Polly] service to use. By default this is set to “MATTHEW”.

[1]: docs.aws.amazon.com/polly/latest/dg/what-is.html

Returns:

  • (String)


6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
# File 'lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 6293

class SendVoiceMessageRequest < Struct.new(
  :destination_phone_number,
  :origination_identity,
  :message_body,
  :message_body_text_type,
  :voice_id,
  :configuration_set_name,
  :max_price_per_minute,
  :time_to_live,
  :context,
  :dry_run,
  :protect_configuration_id,
  :message_feedback_enabled)
  SENSITIVE = []
  include Aws::Structure
end