Class: Aws::Polly::Types::Voice

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

Overview

Description of the voice.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#additional_language_codesArray<String>

Additional codes for languages available for the specified voice in addition to its default language.

For example, the default language for Aditi is Indian English (en-IN) because it was first used for that language. Since Aditi is bilingual and fluent in both Indian English and Hindi, this parameter would show the code ‘hi-IN`.

Returns:

  • (Array<String>)


1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
# File 'lib/aws-sdk-polly/types.rb', line 1153

class Voice < Struct.new(
  :gender,
  :id,
  :language_code,
  :language_name,
  :name,
  :additional_language_codes,
  :supported_engines)
  SENSITIVE = []
  include Aws::Structure
end

#genderString

Gender of the voice.

Returns:

  • (String)


1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
# File 'lib/aws-sdk-polly/types.rb', line 1153

class Voice < Struct.new(
  :gender,
  :id,
  :language_code,
  :language_name,
  :name,
  :additional_language_codes,
  :supported_engines)
  SENSITIVE = []
  include Aws::Structure
end

#idString

Amazon Polly assigned voice ID. This is the ID that you specify when calling the ‘SynthesizeSpeech` operation.

Returns:

  • (String)


1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
# File 'lib/aws-sdk-polly/types.rb', line 1153

class Voice < Struct.new(
  :gender,
  :id,
  :language_code,
  :language_name,
  :name,
  :additional_language_codes,
  :supported_engines)
  SENSITIVE = []
  include Aws::Structure
end

#language_codeString

Language code of the voice.

Returns:

  • (String)


1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
# File 'lib/aws-sdk-polly/types.rb', line 1153

class Voice < Struct.new(
  :gender,
  :id,
  :language_code,
  :language_name,
  :name,
  :additional_language_codes,
  :supported_engines)
  SENSITIVE = []
  include Aws::Structure
end

#language_nameString

Human readable name of the language in English.

Returns:

  • (String)


1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
# File 'lib/aws-sdk-polly/types.rb', line 1153

class Voice < Struct.new(
  :gender,
  :id,
  :language_code,
  :language_name,
  :name,
  :additional_language_codes,
  :supported_engines)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

Name of the voice (for example, Salli, Kendra, etc.). This provides a human readable voice name that you might display in your application.

Returns:

  • (String)


1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
# File 'lib/aws-sdk-polly/types.rb', line 1153

class Voice < Struct.new(
  :gender,
  :id,
  :language_code,
  :language_name,
  :name,
  :additional_language_codes,
  :supported_engines)
  SENSITIVE = []
  include Aws::Structure
end

#supported_enginesArray<String>

Specifies which engines (‘standard` or `neural`) that are supported by a given voice.

Returns:

  • (Array<String>)


1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
# File 'lib/aws-sdk-polly/types.rb', line 1153

class Voice < Struct.new(
  :gender,
  :id,
  :language_code,
  :language_name,
  :name,
  :additional_language_codes,
  :supported_engines)
  SENSITIVE = []
  include Aws::Structure
end