Class: Aws::LexModelsV2::Types::VoiceSettings

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb

Overview

Note:

When making an API call, you may pass VoiceSettings data as a hash:

{
  voice_id: "VoiceId", # required
  engine: "standard", # accepts standard, neural
}

Defines settings for using an Amazon Polly voice to communicate with a user.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#engineString

Indicates the type of Amazon Polly voice that Amazon Lex should use for voice interaction with the user. For more information, see the engine parameter of the SynthesizeSpeech operation in the Amazon Polly developer guide.

If you do not specify a value, the default is standard.

Returns:

  • (String)


13108
13109
13110
13111
13112
13113
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 13108

class VoiceSettings < Struct.new(
  :voice_id,
  :engine)
  SENSITIVE = []
  include Aws::Structure
end

#voice_idString

The identifier of the Amazon Polly voice to use.

Returns:

  • (String)


13108
13109
13110
13111
13112
13113
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 13108

class VoiceSettings < Struct.new(
  :voice_id,
  :engine)
  SENSITIVE = []
  include Aws::Structure
end