From 87fc3376cbdd8dcc91b00a7f37fa8e8beb97b440 Mon Sep 17 00:00:00 2001 From: sdk-team Date: Wed, 29 Apr 2020 16:47:05 +0800 Subject: [PATCH] Support Document Translation. --- CHANGELOG | 4 ++++ VERSION | 2 +- alimt/src/AlimtClient.cc | 6 +++--- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index a6c2c143b..a871efa44 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,7 @@ +2020-04-29 Version: 1.36.388 +- Support Document Translation. +- Support Lanuage Detection. + 2020-04-29 Version: 1.36.387 - Sync cdn APIs. diff --git a/VERSION b/VERSION index f92fd7e3e..11ec21ba7 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.387 \ No newline at end of file +1.36.388 \ No newline at end of file diff --git a/alimt/src/AlimtClient.cc b/alimt/src/AlimtClient.cc index cdf342ceb..f84055df0 100644 --- a/alimt/src/AlimtClient.cc +++ b/alimt/src/AlimtClient.cc @@ -31,21 +31,21 @@ AlimtClient::AlimtClient(const Credentials &credentials, const ClientConfigurati RpcServiceClient(SERVICE_NAME, std::make_shared(credentials), configuration) { auto locationClient = std::make_shared(credentials, configuration); - endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, "alimtct"); + endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, "alimt"); } AlimtClient::AlimtClient(const std::shared_ptr& credentialsProvider, const ClientConfiguration & configuration) : RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration) { auto locationClient = std::make_shared(credentialsProvider, configuration); - endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, "alimtct"); + endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, "alimt"); } AlimtClient::AlimtClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) : RpcServiceClient(SERVICE_NAME, std::make_shared(accessKeyId, accessKeySecret), configuration) { auto locationClient = std::make_shared(accessKeyId, accessKeySecret, configuration); - endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, "alimtct"); + endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, "alimt"); } AlimtClient::~AlimtClient()