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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-polly/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>)


1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb', line 1129

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)


1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb', line 1129

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)


1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb', line 1129

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)


1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb', line 1129

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)


1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb', line 1129

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)


1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb', line 1129

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>)


1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb', line 1129

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