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

#alphabetString

Phonetic alphabet used in the lexicon. Valid values are ipa and x-sampa.

Returns:

  • (String)


348
349
350
351
352
353
354
355
356
357
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb', line 348

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

#language_codeString

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)


348
349
350
351
352
353
354
355
356
357
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb', line 348

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

#last_modifiedTime

Date lexicon was last modified (a timestamp value).

Returns:

  • (Time)


348
349
350
351
352
353
354
355
356
357
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb', line 348

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

#lexemes_countInteger

Number of lexemes in the lexicon.

Returns:

  • (Integer)


348
349
350
351
352
353
354
355
356
357
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb', line 348

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

#lexicon_arnString

Amazon Resource Name (ARN) of the lexicon.

Returns:

  • (String)


348
349
350
351
352
353
354
355
356
357
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb', line 348

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

#sizeInteger

Total size of the lexicon, in characters.

Returns:

  • (Integer)


348
349
350
351
352
353
354
355
356
357
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb', line 348

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