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


1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb', line 1074

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)


1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb', line 1074

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)


1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb', line 1074

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)


1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb', line 1074

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)


1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb', line 1074

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)


1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb', line 1074

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

Returns:

  • (Array<String>)


1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb', line 1074

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