Skip to content

Commit 3718818

Browse files
release 3.1.155 source code
1 parent 7eb7c18 commit 3718818

File tree

743 files changed

+76450
-1165
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

743 files changed

+76450
-1165
lines changed

CHANGELOG.md

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,76 @@
1+
# 3.1.155 2025-07-17
2+
3+
### HuaweiCloud SDK Config
4+
5+
- _API Version_
6+
- V1
7+
- _Features_
8+
- None
9+
- _Bug Fix_
10+
- None
11+
- _Change_
12+
- **ShowConfigurationAggregator**
13+
- changes of response param
14+
- `+ tags`
15+
- **UpdateConfigurationAggregator**
16+
- changes of request param
17+
- `+ tags`
18+
- changes of response param
19+
- `+ tags`
20+
- **CreateAggregationAuthorization**
21+
- changes of request param
22+
- `+ tags`
23+
- changes of response param
24+
- `+ tags`
25+
- **ListAggregationAuthorizations**
26+
- changes of response param
27+
- `+ tags`
28+
- `+ aggregation_authorizations.tags`
29+
- **CountResourcesByTag**
30+
- changes of request param
31+
- `+ resource_type: enum value [config:aggregators,config:aggregationAuthorizations]`
32+
- **TagResource**
33+
- changes of request param
34+
- `+ resource_type: enum value [config:aggregators,config:aggregationAuthorizations]`
35+
- **UnTagResource**
36+
- changes of request param
37+
- `+ resource_type: enum value [config:aggregators,config:aggregationAuthorizations]`
38+
- **ListTagsForResource**
39+
- changes of request param
40+
- `+ resource_type: enum value [config:aggregators,config:aggregationAuthorizations]`
41+
- **ListTagsForResourceType**
42+
- changes of request param
43+
- `+ resource_type: enum value [config:aggregators,config:aggregationAuthorizations]`
44+
- **CreateConfigurationAggregator**
45+
- changes of request param
46+
- `+ tags`
47+
- changes of response param
48+
- `+ tags`
49+
- **ListConfigurationAggregators**
50+
- changes of response param
51+
- `+ tags`
52+
- `+ configuration_aggregators.tags`
53+
- **ListResourcesByTag**
54+
- changes of request param
55+
- `+ resource_type: enum value [config:aggregators,config:aggregationAuthorizations]`
56+
57+
### HuaweiCloud SDK MetaStudio
58+
59+
- _API Version_
60+
- V1
61+
- _Features_
62+
- Support the following APIs:
63+
- `ListAsrVocabulary`
64+
- `CreateAsrVocabulary`
65+
- `ShowAsrVocabulary`
66+
- `UpdateAsrVocabulary`
67+
- `DeleteAsrVocabulary`
68+
- `ShowAsrVocabularyAssociation`
69+
- _Bug Fix_
70+
- None
71+
- _Change_
72+
- None
73+
174
# 3.1.154 2025-07-10
275

376
### HuaweiCloud SDK CDN

CHANGELOG_CN.md

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,76 @@
1+
# 3.1.155 2025-07-17
2+
3+
### HuaweiCloud SDK Config
4+
5+
- _接口版本_
6+
- V1
7+
- _新增特性_
8+
- 无
9+
- _解决问题_
10+
- 无
11+
- _特性变更_
12+
- **ShowConfigurationAggregator**
13+
- 响应参数变更
14+
- `+ tags`
15+
- **UpdateConfigurationAggregator**
16+
- 请求参数变更
17+
- `+ tags`
18+
- 响应参数变更
19+
- `+ tags`
20+
- **CreateAggregationAuthorization**
21+
- 请求参数变更
22+
- `+ tags`
23+
- 响应参数变更
24+
- `+ tags`
25+
- **ListAggregationAuthorizations**
26+
- 响应参数变更
27+
- `+ tags`
28+
- `+ aggregation_authorizations.tags`
29+
- **CountResourcesByTag**
30+
- 请求参数变更
31+
- `+ resource_type: enum value [config:aggregators,config:aggregationAuthorizations]`
32+
- **TagResource**
33+
- 请求参数变更
34+
- `+ resource_type: enum value [config:aggregators,config:aggregationAuthorizations]`
35+
- **UnTagResource**
36+
- 请求参数变更
37+
- `+ resource_type: enum value [config:aggregators,config:aggregationAuthorizations]`
38+
- **ListTagsForResource**
39+
- 请求参数变更
40+
- `+ resource_type: enum value [config:aggregators,config:aggregationAuthorizations]`
41+
- **ListTagsForResourceType**
42+
- 请求参数变更
43+
- `+ resource_type: enum value [config:aggregators,config:aggregationAuthorizations]`
44+
- **CreateConfigurationAggregator**
45+
- 请求参数变更
46+
- `+ tags`
47+
- 响应参数变更
48+
- `+ tags`
49+
- **ListConfigurationAggregators**
50+
- 响应参数变更
51+
- `+ tags`
52+
- `+ configuration_aggregators.tags`
53+
- **ListResourcesByTag**
54+
- 请求参数变更
55+
- `+ resource_type: enum value [config:aggregators,config:aggregationAuthorizations]`
56+
57+
### HuaweiCloud SDK MetaStudio
58+
59+
- _接口版本_
60+
- V1
61+
- _新增特性_
62+
- 支持以下接口:
63+
- `ListAsrVocabulary`
64+
- `CreateAsrVocabulary`
65+
- `ShowAsrVocabulary`
66+
- `UpdateAsrVocabulary`
67+
- `DeleteAsrVocabulary`
68+
- `ShowAsrVocabularyAssociation`
69+
- _解决问题_
70+
- 无
71+
- _特性变更_
72+
- 无
73+
174
# 3.1.154 2025-07-10
275

376
### HuaweiCloud SDK CDN

Core/Auth/BasicCredentials.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public override Dictionary<string, string> GetPathParamDictionary()
6666
return pathParamDictionary;
6767
}
6868

69-
public override Task<HttpRequest> SignAuthRequest(HttpRequest request)
69+
public override Task<HttpRequest> SignAuthRequest(HttpRequest request, SdkHttpClient client = null)
7070
{
7171
var httpRequestTask = Task<HttpRequest>.Factory.StartNew(() =>
7272
{

Core/Auth/Credentials.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public string Sk
7272

7373
public abstract Dictionary<string, string> GetPathParamDictionary();
7474

75-
public abstract Task<HttpRequest> SignAuthRequest(HttpRequest request);
75+
public abstract Task<HttpRequest> SignAuthRequest(HttpRequest request, SdkHttpClient client = null);
7676

7777
public abstract ICredential ProcessAuthParams(SdkHttpClient client, string regionId);
7878

Core/Auth/GlobalCredentials.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public override Dictionary<string, string> GetPathParamDictionary()
6565
return pathParamDictionary;
6666
}
6767

68-
public override Task<HttpRequest> SignAuthRequest(HttpRequest request)
68+
public override Task<HttpRequest> SignAuthRequest(HttpRequest request, SdkHttpClient client = null)
6969
{
7070
var httpRequestTask = Task<HttpRequest>.Factory.StartNew(() =>
7171
{

Core/Auth/ICredential.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public interface ICredential
2828
{
2929
Dictionary<string, string> GetPathParamDictionary();
3030

31-
Task<HttpRequest> SignAuthRequest(HttpRequest request);
31+
Task<HttpRequest> SignAuthRequest(HttpRequest request, SdkHttpClient client = null);
3232

3333
ICredential ProcessAuthParams(SdkHttpClient client, string regionId);
3434

Core/Client.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ private HttpResponseMessage _sync_http(string url, string method, SdkRequest sd
130130
var request = GetHttpRequest(url, method, sdkRequest);
131131
if (string.IsNullOrEmpty(request.Headers.Get("Authorization")))
132132
{
133-
request = _credentials.SignAuthRequest(request).Result;
133+
request = _credentials.SignAuthRequest(request, _sdkHttpClient).Result;
134134
}
135135

136136
var message = _sdkHttpClient.InitHttpRequest(request, _httpConfig.IgnoreBodyForGetRequest);
@@ -151,7 +151,7 @@ private async Task<HttpResponseMessage> _async_http(string url, string method, S
151151
var request = GetHttpRequest(url, method, sdkRequest);
152152
if (string.IsNullOrEmpty(request.Headers.Get("Authorization")))
153153
{
154-
request = await _credentials.SignAuthRequest(request);
154+
request = await _credentials.SignAuthRequest(request, _sdkHttpClient);
155155
}
156156

157157
var message = _sdkHttpClient.InitHttpRequest(request, _httpConfig.IgnoreBodyForGetRequest);

0 commit comments

Comments
 (0)