Class: Aws::Connect::Types::CreateVocabularyRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#client_token ⇒ String

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs. If a create request is received more than once with same client token, subsequent requests return the previous response without creating a vocabulary again.

A suitable default value is auto-generated. You should normally not need to pass this option.

Returns:

  • (String)


8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 8512

class CreateVocabularyRequest < Struct.new(
  :client_token,
  :instance_id,
  :vocabulary_name,
  :language_code,
  :content,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#content ⇒ String

The content of the custom vocabulary in plain-text format with a table of values. Each row in the table represents a word or a phrase, described with Phrase, IPA, SoundsLike, and DisplayAs fields. Separate the fields with TAB characters. The size limit is 50KB. For more information, see Create a custom vocabulary using a table.

Returns:

  • (String)


8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 8512

class CreateVocabularyRequest < Struct.new(
  :client_token,
  :instance_id,
  :vocabulary_name,
  :language_code,
  :content,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#instance_id ⇒ String

The identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

Returns:

  • (String)


8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 8512

class CreateVocabularyRequest < Struct.new(
  :client_token,
  :instance_id,
  :vocabulary_name,
  :language_code,
  :content,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#language_code ⇒ String

The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see What is Amazon Transcribe?

Returns:

  • (String)


8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 8512

class CreateVocabularyRequest < Struct.new(
  :client_token,
  :instance_id,
  :vocabulary_name,
  :language_code,
  :content,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tags ⇒ Hash<String,String>

The tags used to organize, track, or control access for this resource. For example, { "Tags": "key2":"value2" }.

Returns:

  • (Hash<String,String>)


8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 8512

class CreateVocabularyRequest < Struct.new(
  :client_token,
  :instance_id,
  :vocabulary_name,
  :language_code,
  :content,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#vocabulary_name ⇒ String

A unique name of the custom vocabulary.

Returns:

  • (String)


8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 8512

class CreateVocabularyRequest < Struct.new(
  :client_token,
  :instance_id,
  :vocabulary_name,
  :language_code,
  :content,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end