@huaweicloud/huaweicloud-sdk-core 3.1.35 → 3.1.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,223 @@
1
+ # 3.1.37 2023-05-11
2
+
3
+ ### HuaweiCloud SDK MSGSMS
4
+
5
+ - _Features_
6
+ - Support the service `MSG&SMS`
7
+ - _Bug Fix_
8
+ - None
9
+ - _Change_
10
+ - None
11
+
12
+ ### HuaweiCloud SDK AOS
13
+
14
+ - _Features_
15
+ - Support the interface `ContinueDeployStack`
16
+ - _Bug Fix_
17
+ - None
18
+ - _Change_
19
+ - None
20
+
21
+ ### HuaweiCloud SDK CBR
22
+
23
+ - _Features_
24
+ - None
25
+ - _Bug Fix_
26
+ - None
27
+ - _Change_
28
+ - **ShowVaultResourceInstances**
29
+ - changes of response param
30
+ - `* resources.resource_detail: list<Vault> -> object<InstancesResourceDetail>`
31
+ - **ListPolicies**
32
+ - changes of response param
33
+ - `+ policies.operation_definition.full_backup_interval`
34
+ - **CreatePolicy**
35
+ - changes of request param
36
+ - `+ policy.operation_definition.full_backup_interval`
37
+ - changes of response param
38
+ - `+ policy.operation_definition.full_backup_interval`
39
+ - **ShowPolicy**
40
+ - changes of response param
41
+ - `+ policy.operation_definition.full_backup_interval`
42
+ - **UpdatePolicy**
43
+ - changes of request param
44
+ - `+ policy.operation_definition.full_backup_interval`
45
+ - changes of response param
46
+ - `+ policy.operation_definition.full_backup_interval`
47
+ - **CreateVault**
48
+ - changes of request param
49
+ - `- vault.billing.extra_info`
50
+
51
+ ### HuaweiCloud SDK ECS
52
+
53
+ - _Features_
54
+ - Support the interface `NovaAttachInterface`
55
+ - _Bug Fix_
56
+ - None
57
+ - _Change_
58
+ - **ReinstallServerWithoutCloudInit**
59
+ - changes of request param
60
+ - `+ os-reinstall.metadata`
61
+ - **ChangeServerOsWithoutCloudInit**
62
+ - changes of request param
63
+ - `+ os-change.metadata`
64
+ - **ReinstallServerWithCloudInit**
65
+ - changes of request param
66
+ - `+ os-reinstall.metadata.__system__encrypted`
67
+ - `+ os-reinstall.metadata.__system__cmkid`
68
+ - **ChangeServerOsWithCloudInit**
69
+ - changes of request param
70
+ - `+ os-change.metadata.__system__encrypted`
71
+ - `+ os-change.metadata.__system__cmkid`
72
+ - **CreateServers**
73
+ - changes of request param
74
+ - `+ server.root_volume.extendparam.__system__encrypted`
75
+ - `+ server.root_volume.extendparam.__system__cmkid`
76
+ - **CreatePostPaidServers**
77
+ - changes of request param
78
+ - `+ server.root_volume.extendparam.__system__encrypted`
79
+ - `+ server.root_volume.extendparam.__system__cmkid`
80
+
81
+ ### HuaweiCloud SDK Image
82
+
83
+ - _Features_
84
+ - Support the interfaces `CreateVideoTaggingMediaTask`, `ShowVideoTaggingMediaTask`
85
+ - _Bug Fix_
86
+ - None
87
+ - _Change_
88
+ - None
89
+
90
+ ### HuaweiCloud SDK IMS
91
+
92
+ - _Features_
93
+ - None
94
+ - _Bug Fix_
95
+ - None
96
+ - _Change_
97
+ - **ListImages**
98
+ - changes of request param
99
+ - `+ __imagetype: enum value [market]`
100
+
101
+ ### HuaweiCloud SDK LTS
102
+
103
+ - _Features_
104
+ - None
105
+ - _Bug Fix_
106
+ - None
107
+ - _Change_
108
+ - **UpdateAomMappingRules**
109
+ - changes of request param
110
+ - `* body: object<AomMappingRequestInfo> -> object<UpdateAomMappingRequest>`
111
+
112
+ # 3.1.36 2023-04-27
113
+
114
+ ### HuaweiCloud SDK CBR
115
+
116
+ - _Features_
117
+ - Support Cloud Backup and Recovery service.
118
+ - _Bug Fix_
119
+ - None
120
+ - _Change_
121
+ - None
122
+
123
+ ### HuaweiCloud SDK LTS
124
+
125
+ - _Features_
126
+ - Support `Log Tank Service`.
127
+ - _Bug Fix_
128
+ - None
129
+ - _Change_
130
+ - None
131
+
132
+ ### HuaweiCloud SDK CDN
133
+
134
+ - _Features_
135
+ - None
136
+ - _Bug Fix_
137
+ - None
138
+ - _Change_
139
+ - **ShowDomainFullConfig**
140
+ - changes of response param
141
+ - `+ configs.ipv6_accelerate`
142
+ - `+ configs.origin_range_status`
143
+
144
+ ### HuaweiCloud SDK CFW
145
+
146
+ - _Features_
147
+ - None
148
+ - _Bug Fix_
149
+ - None
150
+ - _Change_
151
+ - **ListIpsProtectModeUsingPost**
152
+ - changes of response param
153
+ - `+ data`
154
+ - `- object_id`
155
+ - `- status`
156
+
157
+ ### HuaweiCloud SDK CSMS
158
+
159
+ - _Features_
160
+ - None
161
+ - _Bug Fix_
162
+ - None
163
+ - _Change_
164
+ - **ListResourceInstances**
165
+ - changes of response param
166
+ - `+ resources.sys_tags`
167
+
168
+ ### HuaweiCloud SDK DCS
169
+
170
+ - _Features_
171
+ - Support the interfaces `ResetPassword`, `UpdateInstanceBandwidth`, `ListConfigTemplates`
172
+ - _Bug Fix_
173
+ - None
174
+ - _Change_
175
+ - None
176
+
177
+ ### HuaweiCloud SDK Image
178
+
179
+ - _Features_
180
+ - None
181
+ - _Bug Fix_
182
+ - None
183
+ - _Change_
184
+ - Remove the interfaces `RunQueryCustomTags`, `RunDeleteCustomTags`
185
+
186
+ ### HuaweiCloud SDK KMS
187
+
188
+ - _Features_
189
+ - None
190
+ - _Bug Fix_
191
+ - None
192
+ - _Change_
193
+ - **ListKeys**
194
+ - changes of response param
195
+ - `+ key_details.partition_type`
196
+ - **ListKeyDetail**
197
+ - changes of response param
198
+ - `+ key_info.partition_type`
199
+ - **ListRetirableGrants**
200
+ - changes of response param
201
+ - `+ total`
202
+ - **ListKmsByTags**
203
+ - changes of response param
204
+ - `+ resources.resource_detail.partition_type`
205
+
206
+ ### HuaweiCloud SDK SMS
207
+
208
+ - _Features_
209
+ - Support the following interfaces:
210
+ - `ListApiVersion`
211
+ - `ShowApiVersion`
212
+ - `ShowConfig`
213
+ - `UpdateNetworkCheckInfo`
214
+ - `ShowConfigSetting`
215
+ - `UploadSpecialConfigurationSetting`
216
+ - _Bug Fix_
217
+ - None
218
+ - _Change_
219
+ - None
220
+
1
221
  # 3.1.35 2023-04-20
2
222
 
3
223
  ### HuaweiCloud SDK AOS
package/CHANGELOG_CN.md CHANGED
@@ -1,3 +1,223 @@
1
+ # 3.1.37 2023-05-11
2
+
3
+ ### HuaweiCloud SDK MSGSMS
4
+
5
+ - _新增特性_
6
+ - 支持消息&短信服务
7
+ - _解决问题_
8
+ - 无
9
+ - _特性变更_
10
+ - 无
11
+
12
+ ### HuaweiCloud SDK AOS
13
+
14
+ - _新增特性_
15
+ - 支持接口`ContinueDeployStack`
16
+ - _解决问题_
17
+ - 无
18
+ - _特性变更_
19
+ - 无
20
+
21
+ ### HuaweiCloud SDK CBR
22
+
23
+ - _新增特性_
24
+ - 无
25
+ - _解决问题_
26
+ - 无
27
+ - _特性变更_
28
+ - **ShowVaultResourceInstances**
29
+ - 响应参数变更
30
+ - `* resources.resource_detail: list<Vault> -> object<InstancesResourceDetail>`
31
+ - **ListPolicies**
32
+ - 响应参数变更
33
+ - `+ policies.operation_definition.full_backup_interval`
34
+ - **CreatePolicy**
35
+ - 请求参数变更
36
+ - `+ policy.operation_definition.full_backup_interval`
37
+ - 响应参数变更
38
+ - `+ policy.operation_definition.full_backup_interval`
39
+ - **ShowPolicy**
40
+ - 响应参数变更
41
+ - `+ policy.operation_definition.full_backup_interval`
42
+ - **UpdatePolicy**
43
+ - 请求参数变更
44
+ - `+ policy.operation_definition.full_backup_interval`
45
+ - 响应参数变更
46
+ - `+ policy.operation_definition.full_backup_interval`
47
+ - **CreateVault**
48
+ - 请求参数变更
49
+ - `- vault.billing.extra_info`
50
+
51
+ ### HuaweiCloud SDK ECS
52
+
53
+ - _新增特性_
54
+ - 支持接口`NovaAttachInterface`
55
+ - _解决问题_
56
+ - 无
57
+ - _特性变更_
58
+ - **ReinstallServerWithoutCloudInit**
59
+ - 请求参数变更
60
+ - `+ os-reinstall.metadata`
61
+ - **ChangeServerOsWithoutCloudInit**
62
+ - 请求参数变更
63
+ - `+ os-change.metadata`
64
+ - **ReinstallServerWithCloudInit**
65
+ - 请求参数变更
66
+ - `+ os-reinstall.metadata.__system__encrypted`
67
+ - `+ os-reinstall.metadata.__system__cmkid`
68
+ - **ChangeServerOsWithCloudInit**
69
+ - 请求参数变更
70
+ - `+ os-change.metadata.__system__encrypted`
71
+ - `+ os-change.metadata.__system__cmkid`
72
+ - **CreateServers**
73
+ - 请求参数变更
74
+ - `+ server.root_volume.extendparam.__system__encrypted`
75
+ - `+ server.root_volume.extendparam.__system__cmkid`
76
+ - **CreatePostPaidServers**
77
+ - 请求参数变更
78
+ - `+ server.root_volume.extendparam.__system__encrypted`
79
+ - `+ server.root_volume.extendparam.__system__cmkid`
80
+
81
+ ### HuaweiCloud SDK Image
82
+
83
+ - _新增特性_
84
+ - 支持接口`CreateVideoTaggingMediaTask`、`ShowVideoTaggingMediaTask`
85
+ - _解决问题_
86
+ - 无
87
+ - _特性变更_
88
+ - 无
89
+
90
+ ### HuaweiCloud SDK IMS
91
+
92
+ - _新增特性_
93
+ - 无
94
+ - _解决问题_
95
+ - 无
96
+ - _特性变更_
97
+ - **ListImages**
98
+ - 请求参数变更
99
+ - `+ __imagetype: enum value [market]`
100
+
101
+ ### HuaweiCloud SDK LTS
102
+
103
+ - _新增特性_
104
+ - 无
105
+ - _解决问题_
106
+ - 无
107
+ - _特性变更_
108
+ - **UpdateAomMappingRules**
109
+ - 请求参数变更
110
+ - `* body: object<AomMappingRequestInfo> -> object<UpdateAomMappingRequest>`
111
+
112
+ # 3.1.36 2023-04-27
113
+
114
+ ### HuaweiCloud SDK CBR
115
+
116
+ - _新增特性_
117
+ - 支持云备份服务
118
+ - _解决问题_
119
+ - 无
120
+ - _特性变更_
121
+ - 无
122
+
123
+ ### HuaweiCloud SDK LTS
124
+
125
+ - _新增特性_
126
+ - 支持云日志服务
127
+ - _解决问题_
128
+ - 无
129
+ - _特性变更_
130
+ - 无
131
+
132
+ ### HuaweiCloud SDK CDN
133
+
134
+ - _新增特性_
135
+ - 无
136
+ - _解决问题_
137
+ - 无
138
+ - _特性变更_
139
+ - **ShowDomainFullConfig**
140
+ - 响应参数变更
141
+ - `+ configs.ipv6_accelerate`
142
+ - `+ configs.origin_range_status`
143
+
144
+ ### HuaweiCloud SDK CFW
145
+
146
+ - _新增特性_
147
+ - 无
148
+ - _解决问题_
149
+ - 无
150
+ - _特性变更_
151
+ - **ListIpsProtectModeUsingPost**
152
+ - 响应参数变更
153
+ - `+ data`
154
+ - `- object_id`
155
+ - `- status`
156
+
157
+ ### HuaweiCloud SDK CSMS
158
+
159
+ - _新增特性_
160
+ - 无
161
+ - _解决问题_
162
+ - 无
163
+ - _特性变更_
164
+ - **ListResourceInstances**
165
+ - 响应参数变更
166
+ - `+ resources.sys_tags`
167
+
168
+ ### HuaweiCloud SDK DCS
169
+
170
+ - _新增特性_
171
+ - 支持接口`ResetPassword`、`UpdateInstanceBandwidth`、`ListConfigTemplates`
172
+ - _解决问题_
173
+ - 无
174
+ - _特性变更_
175
+ - 无
176
+
177
+ ### HuaweiCloud SDK Image
178
+
179
+ - _新增特性_
180
+ - 无
181
+ - _解决问题_
182
+ - 无
183
+ - _特性变更_
184
+ - 移除接口`RunQueryCustomTags`、`RunDeleteCustomTags`
185
+
186
+ ### HuaweiCloud SDK KMS
187
+
188
+ - _新增特性_
189
+ - 无
190
+ - _解决问题_
191
+ - 无
192
+ - _特性变更_
193
+ - **ListKeys**
194
+ - 响应参数变更
195
+ - `+ key_details.partition_type`
196
+ - **ListKeyDetail**
197
+ - 响应参数变更
198
+ - `+ key_info.partition_type`
199
+ - **ListRetirableGrants**
200
+ - 响应参数变更
201
+ - `+ total`
202
+ - **ListKmsByTags**
203
+ - 响应参数变更
204
+ - `+ resources.resource_detail.partition_type`
205
+
206
+ ### HuaweiCloud SDK SMS
207
+
208
+ - _新增特性_
209
+ - 支持以下接口:
210
+ - `ListApiVersion`
211
+ - `ShowApiVersion`
212
+ - `ShowConfig`
213
+ - `UpdateNetworkCheckInfo`
214
+ - `ShowConfigSetting`
215
+ - `UploadSpecialConfigurationSetting`
216
+ - _解决问题_
217
+ - 无
218
+ - _特性变更_
219
+ - 无
220
+
1
221
  # 3.1.35 2023-04-20
2
222
 
3
223
  ### HuaweiCloud SDK AOS
package/HcClient.d.ts CHANGED
@@ -10,7 +10,7 @@ export interface HttpRequestOptions {
10
10
  queryParams: Record<string, any>;
11
11
  pathParams: Record<string, any>;
12
12
  headers: Record<string, string>;
13
- data: Record<string, any>;
13
+ data?: Record<string, any>;
14
14
  }
15
15
  export declare class HcClient {
16
16
  private httpClient;
@@ -75,7 +75,6 @@ var axios_1 = __importDefault(require("axios"));
75
75
  var querystring_1 = require("querystring");
76
76
  var https_proxy_agent_1 = __importDefault(require("https-proxy-agent"));
77
77
  var logger_1 = require("../logger");
78
- var ExceptionUtil_1 = require("../exception/ExceptionUtil");
79
78
  var SdkException_1 = require("../exception/SdkException");
80
79
  var AKSKSigner_1 = require("../auth/AKSKSigner");
81
80
  var DefaultHttpClient = /** @class */ (function () {
@@ -114,7 +113,7 @@ var DefaultHttpClient = /** @class */ (function () {
114
113
  error_1 = _a.sent();
115
114
  exceptionResponse = this._formatExceptionResponse(error_1);
116
115
  this._logger.error('Some error found:', exceptionResponse);
117
- throw ExceptionUtil_1.ExceptionUtil.generalException(exceptionResponse);
116
+ throw exceptionResponse;
118
117
  case 3: return [2 /*return*/];
119
118
  }
120
119
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@huaweicloud/huaweicloud-sdk-core",
3
- "version": "3.1.35",
3
+ "version": "3.1.37",
4
4
  "description": "Core code for Huaweicloud SDK for Node.js",
5
5
  "main": "huaweicloud-sdk-core.js",
6
6
  "typings": "huaweicloud-sdk-core.d.ts",