Class: Aws::Polly::Types::PutLexiconInput

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

Overview

Constant Summary collapse

SENSITIVE =
[:content]

Instance Attribute Summary collapse

Instance Attribute Details

#content ⇒ String

Content of the PLS lexicon as string data.

Returns:

  • (String)


639
640
641
642
643
644
645
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb', line 639

class PutLexiconInput < Struct.new(
  :name,
  :content,
  :tags)
  SENSITIVE = [:content]
  include Aws::Structure
end

#name ⇒ String

Name of the lexicon. The name must follow the regular expression format [0-9A-Za-z]1,20. That is, the name is a case-sensitive alphanumeric string up to 20 characters long.

Returns:

  • (String)


639
640
641
642
643
644
645
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb', line 639

class PutLexiconInput < Struct.new(
  :name,
  :content,
  :tags)
  SENSITIVE = [:content]
  include Aws::Structure
end

#tags ⇒ Hash<String,String>

The metadata that you apply to the lexicon to help you categorize and organize it. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters. You can't replace the tags of an existing lexicon by overwriting it with PutLexicon.

Returns:

  • (Hash<String,String>)


639
640
641
642
643
644
645
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb', line 639

class PutLexiconInput < Struct.new(
  :name,
  :content,
  :tags)
  SENSITIVE = [:content]
  include Aws::Structure
end