You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Polly::Types::DescribeVoicesInput

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing DescribeVoicesInput as input to an Aws::Client method, you can use a vanilla Hash:

{
  engine: "standard", # accepts standard, neural
  language_code: "arb", # accepts arb, cmn-CN, cy-GB, da-DK, de-DE, en-AU, en-GB, en-GB-WLS, en-IN, en-US, es-ES, es-MX, es-US, fr-CA, fr-FR, is-IS, it-IT, ja-JP, hi-IN, ko-KR, nb-NO, nl-NL, pl-PL, pt-BR, pt-PT, ro-RO, ru-RU, sv-SE, tr-TR
  include_additional_language_codes: false,
  next_token: "NextToken",
}

Instance Attribute Summary collapse

Instance Attribute Details

#engineString

Specifies the engine (standard or neural) used by Amazon Polly when processing input text for speech synthesis.

Possible values:

  • standard
  • neural

Returns:

  • (String)

    Specifies the engine (standard or neural) used by Amazon Polly when processing input text for speech synthesis.

#include_additional_language_codesBoolean

Boolean value indicating whether to return any bilingual voices that use the specified language as an additional language. For instance, if you request all languages that use US English (es-US), and there is an Italian voice that speaks both Italian (it-IT) and US English, that voice will be included if you specify yes but not if you specify no.

Returns:

  • (Boolean)

    Boolean value indicating whether to return any bilingual voices that use the specified language as an additional language.

#language_codeString

The language identification tag (ISO 639 code for the language name-ISO 3166 country code) for filtering the list of voices returned. If you don\'t specify this optional parameter, all available voices are returned.

Possible values:

  • arb
  • cmn-CN
  • cy-GB
  • da-DK
  • de-DE
  • en-AU
  • en-GB
  • en-GB-WLS
  • en-IN
  • en-US
  • es-ES
  • es-MX
  • es-US
  • fr-CA
  • fr-FR
  • is-IS
  • it-IT
  • ja-JP
  • hi-IN
  • ko-KR
  • nb-NO
  • nl-NL
  • pl-PL
  • pt-BR
  • pt-PT
  • ro-RO
  • ru-RU
  • sv-SE
  • tr-TR

Returns:

  • (String)

    The language identification tag (ISO 639 code for the language name-ISO 3166 country code) for filtering the list of voices returned.

#next_tokenString

An opaque pagination token returned from the previous DescribeVoices operation. If present, this indicates where to continue the listing.

Returns:

  • (String)

    An opaque pagination token returned from the previous DescribeVoices operation.