get_terminology
async
¶
get_terminology(
name: ResourceName,
*,
config_overrides: Optional[AsyncTranslateClientConfig] = None,
terminology_data_format: Optional[TerminologyDataFormat] = None,
) -> GetTerminologyResponse
Retrieves a custom terminology.
Parameters:
-
name(ResourceName) –The name of the custom terminology being retrieved.
-
terminology_data_format(Optional[TerminologyDataFormat], default:None) –The data format of the custom terminology being retrieved.
If you don't specify this parameter, Amazon Translate returns a file with 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 the input file that was imported to create it. Otherwise, Amazon Translate throws an error.
Raises:
-
InternalServerException–An internal server error occurred. Retry your request.
-
InvalidParameterValueException–The value of the parameter is not valid. Review the value of the parameter you are using to correct it, and then retry your operation.
-
ResourceNotFoundException–The resource you are looking for has not been found. Review the resource you're looking for and see if a different resource will accomplish your needs before retrying the revised request.
-
TooManyRequestsException–You have made too many requests within a short period of time. Wait for a short time and then try your request again.
-
UnknownServiceError–The service returned an error code this client does not model.