Compare commits

...

3 Commits

Author SHA1 Message Date
sdk-team
87fc3376cb Support Document Translation. 2020-04-29 16:47:05 +08:00
sdk-team
f6ec6326cb Sync cdn APIs. 2020-04-29 16:35:08 +08:00
sdk-team
bd43e54271 Add Scdn APIS. 2020-04-29 16:10:26 +08:00
3 changed files with 15 additions and 4 deletions

View File

@@ -1,3 +1,14 @@
2020-04-29 Version: 1.36.388
- Support Document Translation.
- Support Lanuage Detection.
2020-04-29 Version: 1.36.387
- Sync cdn APIs.
2020-04-29 Version: 1.36.386
- Add Scdn APIS.
- Sync cdn APIS.
2020-04-28 Version: 1.36.385
- Generated 2019-03-15 for `fnf`.

View File

@@ -1 +1 @@
1.36.385
1.36.388

View File

@@ -31,21 +31,21 @@ AlimtClient::AlimtClient(const Credentials &credentials, const ClientConfigurati
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(credentials), configuration)
{
auto locationClient = std::make_shared<LocationClient>(credentials, configuration);
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "alimtct");
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "alimt");
}
AlimtClient::AlimtClient(const std::shared_ptr<CredentialsProvider>& credentialsProvider, const ClientConfiguration & configuration) :
RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration)
{
auto locationClient = std::make_shared<LocationClient>(credentialsProvider, configuration);
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "alimtct");
endpointProvider_ = std::make_shared<EndpointProvider>(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<SimpleCredentialsProvider>(accessKeyId, accessKeySecret), configuration)
{
auto locationClient = std::make_shared<LocationClient>(accessKeyId, accessKeySecret, configuration);
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "alimtct");
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "alimt");
}
AlimtClient::~AlimtClient()