Class: Aws::Polly::Types::LexiconAttributes

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb

Overview

Contains metadata describing the lexicon such as the number of lexemes, language code, and so on. For more information, see Managing Lexicons.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#alphabet ⇒ String

Phonetic alphabet used in the lexicon. Valid values are ipa, x-sampa, x-amazon-pinyin, x-amazon-jyutping, x-amazon-pron-kana, and x-amazon-yomigana.

Returns:

  • (String)


412
413
414
415
416
417
418
419
420
421
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb', line 412

class LexiconAttributes < Struct.new(
  :alphabet,
  :language_code,
  :last_modified,
  :lexicon_arn,
  :lexemes_count,
  :size)
  SENSITIVE = []
  include Aws::Structure
end

#language_code ⇒ String

Language code that the lexicon applies to. A lexicon with a language code such as "en" would be applied to all English languages (en-GB, en-US, en-AUS, en-WLS, and so on.

Returns:

  • (String)


412
413
414
415
416
417
418
419
420
421
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb', line 412

class LexiconAttributes < Struct.new(
  :alphabet,
  :language_code,
  :last_modified,
  :lexicon_arn,
  :lexemes_count,
  :size)
  SENSITIVE = []
  include Aws::Structure
end

#last_modified ⇒ Time

Date lexicon was last modified (a timestamp value).

Returns:

  • (Time)


412
413
414
415
416
417
418
419
420
421
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb', line 412

class LexiconAttributes < Struct.new(
  :alphabet,
  :language_code,
  :last_modified,
  :lexicon_arn,
  :lexemes_count,
  :size)
  SENSITIVE = []
  include Aws::Structure
end

#lexemes_count ⇒ Integer

Number of lexemes in the lexicon.

Returns:

  • (Integer)


412
413
414
415
416
417
418
419
420
421
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb', line 412

class LexiconAttributes < Struct.new(
  :alphabet,
  :language_code,
  :last_modified,
  :lexicon_arn,
  :lexemes_count,
  :size)
  SENSITIVE = []
  include Aws::Structure
end

#lexicon_arn ⇒ String

Amazon Resource Name (ARN) of the lexicon.

Returns:

  • (String)


412
413
414
415
416
417
418
419
420
421
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb', line 412

class LexiconAttributes < Struct.new(
  :alphabet,
  :language_code,
  :last_modified,
  :lexicon_arn,
  :lexemes_count,
  :size)
  SENSITIVE = []
  include Aws::Structure
end

#size ⇒ Integer

Total size of the lexicon, in characters.

Returns:

  • (Integer)


412
413
414
415
416
417
418
419
420
421
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb', line 412

class LexiconAttributes < Struct.new(
  :alphabet,
  :language_code,
  :last_modified,
  :lexicon_arn,
  :lexemes_count,
  :size)
  SENSITIVE = []
  include Aws::Structure
end