Class: Aws::Translate::Types::GetTerminologyRequest

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

Overview

Note:

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

{
  name: "ResourceName", # required
  terminology_data_format: "CSV", # accepts CSV, TMX, TSV
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The name of the custom terminology being retrieved.

Returns:

  • (String)


383
384
385
386
387
388
# File 'lib/aws-sdk-translate/types.rb', line 383

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

#terminology_data_formatString

The data format of the custom terminology being retrieved.

If you don’t specify this parameter, Amazon Translate returns a file that has the same format as the file that was imported to create the terminology.

If you specify this parameter when you retrieve a multi-directional terminology resource, you must specify the same format as that of the input file that was imported to create it. Otherwise, Amazon Translate throws an error.

Returns:

  • (String)


383
384
385
386
387
388
# File 'lib/aws-sdk-translate/types.rb', line 383

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