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

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

Overview

Note:

When making an API call, you may pass PutLexiconInput data as a hash:

{
  name: "LexiconName", # required
  content: "LexiconContent", # required
}

Constant Summary collapse

SENSITIVE =
[:content]

Instance Attribute Summary collapse

Instance Attribute Details

#contentString

Content of the PLS lexicon as string data.

Returns:

  • (String)


595
596
597
598
599
600
# File 'lib/aws-sdk-polly/types.rb', line 595

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

#nameString

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

Returns:

  • (String)


595
596
597
598
599
600
# File 'lib/aws-sdk-polly/types.rb', line 595

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