@huaweicloud/huaweicloud-sdk-core 3.1.36 → 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,114 @@
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
+
1
112
  # 3.1.36 2023-04-27
2
113
 
3
114
  ### HuaweiCloud SDK CBR
package/CHANGELOG_CN.md CHANGED
@@ -1,3 +1,114 @@
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
+
1
112
  # 3.1.36 2023-04-27
2
113
 
3
114
  ### HuaweiCloud SDK CBR
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.36",
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",