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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-polly/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
}

Instance Attribute Summary collapse

Instance Attribute Details

#contentString

Content of the PLS lexicon as string data.

Returns:

  • (String)


266
267
268
269
270
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb', line 266

class PutLexiconInput < Struct.new(
  :name,
  :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)


266
267
268
269
270
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb', line 266

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