Class: Aws::Translate::Types::GetTerminologyRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Translate::Types::GetTerminologyRequest
- 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
-
#name ⇒ String
The name of the custom terminology being retrieved.
-
#terminology_data_format ⇒ String
The data format of the custom terminology being retrieved.
Instance Attribute Details
#name ⇒ String
The name of the custom terminology being retrieved.
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_format ⇒ String
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.
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 |