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.

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


765
766
767
768
769
770
771
772
773
# File 'lib/aws-sdk-polly/types.rb', line 765

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

#genderString

Gender of the voice.

Returns:

  • (String)


765
766
767
768
769
770
771
772
773
# File 'lib/aws-sdk-polly/types.rb', line 765

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

#idString

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

Returns:

  • (String)


765
766
767
768
769
770
771
772
773
# File 'lib/aws-sdk-polly/types.rb', line 765

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

#language_codeString

Language code of the voice.

Returns:

  • (String)


765
766
767
768
769
770
771
772
773
# File 'lib/aws-sdk-polly/types.rb', line 765

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

#language_nameString

Human readable name of the language in English.

Returns:

  • (String)


765
766
767
768
769
770
771
772
773
# File 'lib/aws-sdk-polly/types.rb', line 765

class Voice < Struct.new(
  :gender,
  :id,
  :language_code,
  :language_name,
  :name,
  :additional_language_codes)
  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)


765
766
767
768
769
770
771
772
773
# File 'lib/aws-sdk-polly/types.rb', line 765

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