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


1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb', line 1062

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)


1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb', line 1062

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)


1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb', line 1062

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)


1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb', line 1062

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)


1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb', line 1062

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)


1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb', line 1062

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, neural, long-form or generative) are supported by a given voice.

Returns:

  • (Array<String>)


1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb', line 1062

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