ksyun-sdk-node 1.0.5 → 1.4.8
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/.claude/settings.local.json +12 -0
- package/dist/base/BaseClient.js +133 -52
- package/dist/index.js +9 -12
- package/dist/lib/fetch.js +4 -5
- package/dist/lib/sign.js +31 -33
- package/dist/lib/signautreV4.js +167 -0
- package/dist/service/Actiontrail/v20190401/index.js +34 -37
- package/dist/service/Aicp/v20240612/index.js +511 -0
- package/dist/service/Bill/v20180601/index.js +49 -88
- package/dist/service/Bill/v20220601/index.js +64 -0
- package/dist/service/Bill_union/v20200101/index.js +151 -77
- package/dist/service/Bill_union/v20221222/index.js +142 -0
- package/dist/service/Bill_union/v20250801/index.js +66 -0
- package/dist/service/Bws/v20160304/index.js +111 -94
- package/dist/service/Cdn/v20160901/index.js +89 -0
- package/dist/service/Cdn/v20200630/index.js +410 -0
- package/dist/service/Cdn/v20200901/index.js +162 -0
- package/dist/service/Cdn/v20211201/index.js +45 -0
- package/dist/service/Cdn/v20250503/index.js +71 -0
- package/dist/service/Cen/v20160304/index.js +460 -0
- package/dist/service/Clickhouse/v20210101/index.js +546 -0
- package/dist/service/Ebs/v20160304/index.js +265 -268
- package/dist/service/Eip/v20160304/index.js +104 -107
- package/dist/service/Epc/v20151101/index.js +1735 -784
- package/dist/service/Iam/v20151101/index.js +872 -711
- package/dist/service/Iam/v20240513/index.js +47 -0
- package/dist/service/Iam/v20240703/index.js +44 -0
- package/dist/service/Kad/v20161122/index.js +84 -87
- package/dist/service/Kce/v20180314/index.js +320 -0
- package/dist/service/Kce/v20190806/index.js +482 -0
- package/dist/service/Kce/v20201231/index.js +63 -0
- package/dist/service/Kcf/v20211215/index.js +203 -0
- package/dist/service/Kcm/v20160304/index.js +120 -0
- package/dist/service/Kcrs/v20211109/index.js +851 -0
- package/dist/service/Kcs/v20160701/index.js +1106 -0
- package/dist/service/Kcs/v20170401/index.js +81 -0
- package/dist/service/Kead/v20200101/index.js +28 -31
- package/dist/service/Kec/v20160304/index.js +1695 -1466
- package/dist/service/Kes/v20201215/index.js +171 -0
- package/dist/service/Ket/v20170101/index.js +141 -0
- package/dist/service/Kkms/v20160304/index.js +167 -0
- package/dist/service/Klog/v20200731/index.js +331 -0
- package/dist/service/Kls/v20170101/index.js +194 -0
- package/dist/service/Kmr/v20210902/index.js +422 -0
- package/dist/service/Kmr/v20231231/index.js +154 -0
- package/dist/service/Kmr/v20240814/index.js +370 -0
- package/dist/service/Krds/v20160701/index.js +1302 -0
- package/dist/service/Krds/v20200825/index.js +174 -0
- package/dist/service/Memcached/v20180627/index.js +249 -0
- package/dist/service/Mongodb/v20170101/index.js +516 -501
- package/dist/service/Monitor/v20100525/index.js +70 -0
- package/dist/service/Monitor/v20181114/index.js +49 -0
- package/dist/service/Monitor/v20210101/index.js +216 -0
- package/dist/service/Monitor/v20220101/index.js +58 -0
- package/dist/service/Monitor/v20250101/index.js +71 -0
- package/dist/service/Rabbitmq/v20191017/index.js +242 -0
- package/dist/service/Resourcemanager/v20210320/index.js +113 -116
- package/dist/service/Sks/v20151101/index.js +72 -75
- package/dist/service/Slb/v20160304/index.js +1299 -790
- package/dist/service/Sts/v20151101/index.js +26 -29
- package/dist/service/Tagv2/v20200901/index.js +174 -0
- package/dist/service/Tidb/v20210520/index.js +363 -0
- package/dist/service/Trade/v20200114/index.js +23 -26
- package/dist/service/Trade/v20200831/index.js +25 -28
- package/dist/service/Vpc/v20160304/index.js +2015 -1045
- package/dist/service/Waf/v20200707/index.js +248 -0
- package/example/iam.js +2 -1
- package/example/res.js +2 -1
- package/package.json +1 -1
- package/src/base/BaseClient.js +131 -35
- package/src/lib/signautreV4.js +166 -0
- package/src/service/Actiontrail/v20190401/index.js +42 -42
- package/src/service/Aicp/v20240612/index.js +503 -0
- package/src/service/Bill/v20180601/index.js +61 -102
- package/src/service/Bill/v20220601/index.js +56 -0
- package/src/service/Bill_union/v20200101/index.js +181 -109
- package/src/service/Bill_union/v20221222/index.js +134 -0
- package/src/service/Bill_union/v20250801/index.js +58 -0
- package/src/service/Bws/v20160304/index.js +139 -119
- package/src/service/Cdn/v20160901/index.js +81 -0
- package/src/service/Cdn/v20200630/index.js +402 -0
- package/src/service/Cdn/v20200901/index.js +154 -0
- package/src/service/Cdn/v20211201/index.js +37 -0
- package/src/service/Cdn/v20250503/index.js +63 -0
- package/src/service/Cen/v20160304/index.js +452 -0
- package/src/service/Clickhouse/v20210101/index.js +538 -0
- package/src/service/Ebs/v20160304/index.js +365 -368
- package/src/service/Eip/v20160304/index.js +135 -136
- package/src/service/Epc/v20151101/index.js +1984 -1033
- package/src/service/Iam/v20151101/index.js +1155 -993
- package/src/service/Iam/v20240513/index.js +39 -0
- package/src/service/Iam/v20240703/index.js +36 -0
- package/src/service/Kad/v20161122/index.js +112 -112
- package/src/service/Kce/v20180314/index.js +312 -0
- package/src/service/Kce/v20190806/index.js +474 -0
- package/src/service/Kce/v20201231/index.js +55 -0
- package/src/service/Kcf/v20211215/index.js +195 -0
- package/src/service/Kcm/v20160304/index.js +112 -0
- package/src/service/Kcrs/v20211109/index.js +843 -0
- package/src/service/Kcs/v20160701/index.js +1098 -0
- package/src/service/Kcs/v20170401/index.js +73 -0
- package/src/service/Kead/v20200101/index.js +36 -36
- package/src/service/Kec/v20160304/index.js +2061 -1838
- package/src/service/Kes/v20201215/index.js +163 -0
- package/src/service/Ket/v20170101/index.js +133 -0
- package/src/service/Kkms/v20160304/index.js +159 -0
- package/src/service/Klog/v20200731/index.js +323 -0
- package/src/service/Kls/v20170101/index.js +186 -0
- package/src/service/Kmr/v20210902/index.js +414 -0
- package/src/service/Kmr/v20231231/index.js +146 -0
- package/src/service/Kmr/v20240814/index.js +362 -0
- package/src/service/Krds/v20160701/index.js +1294 -0
- package/src/service/Krds/v20200825/index.js +166 -0
- package/src/service/Memcached/v20180627/index.js +241 -0
- package/src/service/Mongodb/v20170101/index.js +672 -654
- package/src/service/Monitor/v20100525/index.js +62 -0
- package/src/service/Monitor/v20181114/index.js +41 -0
- package/src/service/Monitor/v20210101/index.js +208 -0
- package/src/service/Monitor/v20220101/index.js +50 -0
- package/src/service/Monitor/v20250101/index.js +63 -0
- package/src/service/Rabbitmq/v20191017/index.js +234 -0
- package/src/service/Resourcemanager/v20210320/index.js +157 -158
- package/src/service/Sks/v20151101/index.js +95 -96
- package/src/service/Slb/v20160304/index.js +1471 -959
- package/src/service/Sts/v20151101/index.js +34 -34
- package/src/service/Tagv2/v20200901/index.js +166 -0
- package/src/service/Tidb/v20210520/index.js +355 -0
- package/src/service/Trade/v20200114/index.js +31 -31
- package/src/service/Trade/v20200831/index.js +33 -33
- package/src/service/Vpc/v20160304/index.js +2404 -1432
- package/src/service/Waf/v20200707/index.js +240 -0
- package/src/service/Bill_union/v20211209/index.js +0 -35
- package/src/service/Slb/v20171210/index.js +0 -39
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
4
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
5
|
+
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
6
|
+
const BaseClient = require("../../../base/BaseClient.js");
|
|
7
|
+
module.exports = class Client extends BaseClient {
|
|
8
|
+
constructor(...args) {
|
|
9
|
+
super(...args);
|
|
10
|
+
_defineProperty(this, "_baseConfig", {
|
|
11
|
+
protocol: "http://",
|
|
12
|
+
endpoint: "kes.api.ksyun.com",
|
|
13
|
+
config: {
|
|
14
|
+
timeout: 60,
|
|
15
|
+
//设置timeout
|
|
16
|
+
headers: {
|
|
17
|
+
Accept: "application/json"
|
|
18
|
+
},
|
|
19
|
+
credentials: {
|
|
20
|
+
region: "cn-shanghai-3",
|
|
21
|
+
service: "kes"
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
_defineProperty(this, "_apiList", {
|
|
26
|
+
DescribeCluster: {
|
|
27
|
+
url: "/",
|
|
28
|
+
method: "POST",
|
|
29
|
+
config: {
|
|
30
|
+
query: {
|
|
31
|
+
Version: "2020-12-15",
|
|
32
|
+
Action: "DescribeCluster"
|
|
33
|
+
},
|
|
34
|
+
headers: {
|
|
35
|
+
"Content-Type": "application/json"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
paramsType: {
|
|
39
|
+
ClusterId: "String"
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
ListClusters: {
|
|
43
|
+
url: "/",
|
|
44
|
+
method: "POST",
|
|
45
|
+
config: {
|
|
46
|
+
query: {
|
|
47
|
+
Version: "2020-12-15",
|
|
48
|
+
Action: "ListClusters"
|
|
49
|
+
},
|
|
50
|
+
headers: {
|
|
51
|
+
"Content-Type": "application/json"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
paramsType: {
|
|
55
|
+
Marker: "String"
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
ModifyClusterName: {
|
|
59
|
+
url: "/",
|
|
60
|
+
method: "POST",
|
|
61
|
+
config: {
|
|
62
|
+
query: {
|
|
63
|
+
Version: "2020-12-15",
|
|
64
|
+
Action: "ModifyClusterName"
|
|
65
|
+
},
|
|
66
|
+
headers: {
|
|
67
|
+
"Content-Type": "application/json"
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
paramsType: {
|
|
71
|
+
ClusterId: "String",
|
|
72
|
+
ClusterName: "String"
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
LaunchCluster: {
|
|
76
|
+
url: "/",
|
|
77
|
+
method: "POST",
|
|
78
|
+
config: {
|
|
79
|
+
query: {
|
|
80
|
+
Version: "2020-12-15",
|
|
81
|
+
Action: "LaunchCluster"
|
|
82
|
+
},
|
|
83
|
+
headers: {
|
|
84
|
+
"Content-Type": "application/json"
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
paramsType: {
|
|
88
|
+
ClusterName: "String",
|
|
89
|
+
MainVersion: "String",
|
|
90
|
+
Scenario: "String",
|
|
91
|
+
AvailabilityZone: "String",
|
|
92
|
+
ChargeType: "String",
|
|
93
|
+
PurchaseTime: "Int",
|
|
94
|
+
ProjectId: "Int",
|
|
95
|
+
VpcDomainId: "String",
|
|
96
|
+
VpcSubnetId: "String",
|
|
97
|
+
VpcEpcSubnetId: "String",
|
|
98
|
+
SecurityGroupId: "String",
|
|
99
|
+
InstanceGroups: "Array"
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
ListInstanceGroups: {
|
|
103
|
+
url: "/",
|
|
104
|
+
method: "POST",
|
|
105
|
+
config: {
|
|
106
|
+
query: {
|
|
107
|
+
Version: "2020-12-15",
|
|
108
|
+
Action: "ListInstanceGroups"
|
|
109
|
+
},
|
|
110
|
+
headers: {
|
|
111
|
+
"Content-Type": "application/json"
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
paramsType: {
|
|
115
|
+
ClusterId: "String"
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
ServiceControl: {
|
|
119
|
+
url: "/",
|
|
120
|
+
method: "POST",
|
|
121
|
+
config: {
|
|
122
|
+
query: {
|
|
123
|
+
Version: "2020-12-15",
|
|
124
|
+
Action: "ServiceControl"
|
|
125
|
+
},
|
|
126
|
+
headers: {
|
|
127
|
+
"Content-Type": "application/json"
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
paramsType: {
|
|
131
|
+
ClusterId: "String",
|
|
132
|
+
ControlType: "String",
|
|
133
|
+
Rolling: "String"
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
ClusterHealthStatistic: {
|
|
137
|
+
url: "/",
|
|
138
|
+
method: "POST",
|
|
139
|
+
config: {
|
|
140
|
+
query: {
|
|
141
|
+
Version: "2020-12-15",
|
|
142
|
+
Action: "ClusterHealthStatistic"
|
|
143
|
+
},
|
|
144
|
+
headers: {
|
|
145
|
+
"Content-Type": "application/json"
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
paramsType: {
|
|
149
|
+
ClusterId: "String"
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
CheckClusterHealth: {
|
|
153
|
+
url: "/",
|
|
154
|
+
method: "POST",
|
|
155
|
+
config: {
|
|
156
|
+
query: {
|
|
157
|
+
Version: "2020-12-15",
|
|
158
|
+
Action: "CheckClusterHealth"
|
|
159
|
+
},
|
|
160
|
+
headers: {
|
|
161
|
+
"Content-Type": "application/json"
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
paramsType: {
|
|
165
|
+
cluster_id: "String",
|
|
166
|
+
check_list: "Array"
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
});
|
|
170
|
+
}
|
|
171
|
+
};
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
4
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
5
|
+
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
6
|
+
const BaseClient = require("../../../base/BaseClient.js");
|
|
7
|
+
module.exports = class Client extends BaseClient {
|
|
8
|
+
constructor(...args) {
|
|
9
|
+
super(...args);
|
|
10
|
+
_defineProperty(this, "_baseConfig", {
|
|
11
|
+
protocol: "http://",
|
|
12
|
+
endpoint: "ket.api.ksyun.com",
|
|
13
|
+
config: {
|
|
14
|
+
timeout: 60,
|
|
15
|
+
//设置timeout
|
|
16
|
+
headers: {
|
|
17
|
+
Accept: "application/json"
|
|
18
|
+
},
|
|
19
|
+
credentials: {
|
|
20
|
+
region: "cn-shanghai-3",
|
|
21
|
+
service: "ket"
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
_defineProperty(this, "_apiList", {
|
|
26
|
+
Preset: {
|
|
27
|
+
url: "/",
|
|
28
|
+
method: "POST",
|
|
29
|
+
config: {
|
|
30
|
+
query: {
|
|
31
|
+
Version: "2017-01-01",
|
|
32
|
+
Action: "Preset"
|
|
33
|
+
},
|
|
34
|
+
headers: {
|
|
35
|
+
"Content-Type": "application/json"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
paramsType: {
|
|
39
|
+
UniqName: "String",
|
|
40
|
+
App: "String",
|
|
41
|
+
Preset: "String",
|
|
42
|
+
Description: "String",
|
|
43
|
+
Output: "String",
|
|
44
|
+
Video: "String"
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
UpdatePreset: {
|
|
48
|
+
url: "/",
|
|
49
|
+
method: "POST",
|
|
50
|
+
config: {
|
|
51
|
+
query: {
|
|
52
|
+
Version: "2017-01-01",
|
|
53
|
+
Action: "UpdatePreset"
|
|
54
|
+
},
|
|
55
|
+
headers: {
|
|
56
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
paramsType: {
|
|
60
|
+
UniqName: "String",
|
|
61
|
+
App: "String",
|
|
62
|
+
Preset: "String",
|
|
63
|
+
Description: "String",
|
|
64
|
+
Output: "String",
|
|
65
|
+
Video: "String"
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
DelPreset: {
|
|
69
|
+
url: "/",
|
|
70
|
+
method: "GET",
|
|
71
|
+
config: {
|
|
72
|
+
query: {
|
|
73
|
+
Version: "2017-01-01",
|
|
74
|
+
Action: "DelPreset"
|
|
75
|
+
},
|
|
76
|
+
headers: {
|
|
77
|
+
"Content-Type": "application/json"
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
paramsType: {
|
|
81
|
+
UniqName: "String",
|
|
82
|
+
App: "String",
|
|
83
|
+
Preset: "String"
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
GetPresetList: {
|
|
87
|
+
url: "/",
|
|
88
|
+
method: "GET",
|
|
89
|
+
config: {
|
|
90
|
+
query: {
|
|
91
|
+
Version: "2017-01-01",
|
|
92
|
+
Action: "GetPresetList"
|
|
93
|
+
},
|
|
94
|
+
headers: {
|
|
95
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
paramsType: {
|
|
99
|
+
UniqName: "String",
|
|
100
|
+
App: "String"
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
GetPresetDetail: {
|
|
104
|
+
url: "/",
|
|
105
|
+
method: "GET",
|
|
106
|
+
config: {
|
|
107
|
+
query: {
|
|
108
|
+
Version: "2017-01-01",
|
|
109
|
+
Action: "GetPresetDetail"
|
|
110
|
+
},
|
|
111
|
+
headers: {
|
|
112
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
paramsType: {
|
|
116
|
+
UniqName: "String",
|
|
117
|
+
App: "String",
|
|
118
|
+
Preset: "String"
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
GetStreamTranList: {
|
|
122
|
+
url: "/",
|
|
123
|
+
method: "GET",
|
|
124
|
+
config: {
|
|
125
|
+
query: {
|
|
126
|
+
Version: "2017-01-01",
|
|
127
|
+
Action: "GetStreamTranList"
|
|
128
|
+
},
|
|
129
|
+
headers: {
|
|
130
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
paramsType: {
|
|
134
|
+
UniqName: "String",
|
|
135
|
+
App: "String",
|
|
136
|
+
StreamID: "String"
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
});
|
|
140
|
+
}
|
|
141
|
+
};
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
4
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
5
|
+
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
6
|
+
const BaseClient = require("../../../base/BaseClient.js");
|
|
7
|
+
module.exports = class Client extends BaseClient {
|
|
8
|
+
constructor(...args) {
|
|
9
|
+
super(...args);
|
|
10
|
+
_defineProperty(this, "_baseConfig", {
|
|
11
|
+
protocol: "http://",
|
|
12
|
+
endpoint: "kkms.api.ksyun.com",
|
|
13
|
+
config: {
|
|
14
|
+
timeout: 60,
|
|
15
|
+
//设置timeout
|
|
16
|
+
headers: {
|
|
17
|
+
Accept: "application/json"
|
|
18
|
+
},
|
|
19
|
+
credentials: {
|
|
20
|
+
region: "cn-shanghai-3",
|
|
21
|
+
service: "kkms"
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
_defineProperty(this, "_apiList", {
|
|
26
|
+
CreateKey: {
|
|
27
|
+
url: "/",
|
|
28
|
+
method: "GET",
|
|
29
|
+
config: {
|
|
30
|
+
query: {
|
|
31
|
+
Version: "2016-03-04",
|
|
32
|
+
Action: "CreateKey"
|
|
33
|
+
},
|
|
34
|
+
headers: {
|
|
35
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
paramsType: {
|
|
39
|
+
KeyName: "String",
|
|
40
|
+
Description: "String",
|
|
41
|
+
KeyUsage: "String",
|
|
42
|
+
Origin: "String",
|
|
43
|
+
ChargeType: "String"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
ModifyKey: {
|
|
47
|
+
url: "/",
|
|
48
|
+
method: "GET",
|
|
49
|
+
config: {
|
|
50
|
+
query: {
|
|
51
|
+
Version: "2016-03-04",
|
|
52
|
+
Action: "ModifyKey"
|
|
53
|
+
},
|
|
54
|
+
headers: {
|
|
55
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
paramsType: {
|
|
59
|
+
KeyId: "String",
|
|
60
|
+
KeyName: "String",
|
|
61
|
+
Description: "String"
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
ModifyKeyState: {
|
|
65
|
+
url: "/",
|
|
66
|
+
method: "GET",
|
|
67
|
+
config: {
|
|
68
|
+
query: {
|
|
69
|
+
Version: "2016-03-04",
|
|
70
|
+
Action: "ModifyKeyState"
|
|
71
|
+
},
|
|
72
|
+
headers: {
|
|
73
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
paramsType: {
|
|
77
|
+
KeyId: "String",
|
|
78
|
+
KeyState: "String"
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
DeleteKey: {
|
|
82
|
+
url: "/",
|
|
83
|
+
method: "GET",
|
|
84
|
+
config: {
|
|
85
|
+
query: {
|
|
86
|
+
Version: "2016-03-04",
|
|
87
|
+
Action: "DeleteKey"
|
|
88
|
+
},
|
|
89
|
+
headers: {
|
|
90
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
paramsType: {
|
|
94
|
+
KeyId: "String"
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
DescribeKeys: {
|
|
98
|
+
url: "/",
|
|
99
|
+
method: "GET",
|
|
100
|
+
config: {
|
|
101
|
+
query: {
|
|
102
|
+
Version: "2016-03-04",
|
|
103
|
+
Action: "DescribeKeys"
|
|
104
|
+
},
|
|
105
|
+
headers: {
|
|
106
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
paramsType: {
|
|
110
|
+
KeyId: "Filter"
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
Encrypt: {
|
|
114
|
+
url: "/",
|
|
115
|
+
method: "GET",
|
|
116
|
+
config: {
|
|
117
|
+
query: {
|
|
118
|
+
Version: "2016-03-04",
|
|
119
|
+
Action: "Encrypt"
|
|
120
|
+
},
|
|
121
|
+
headers: {
|
|
122
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
paramsType: {
|
|
126
|
+
KeyId: "String",
|
|
127
|
+
Plaintext: "String"
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
Decrypt: {
|
|
131
|
+
url: "/",
|
|
132
|
+
method: "GET",
|
|
133
|
+
config: {
|
|
134
|
+
query: {
|
|
135
|
+
Version: "2016-03-04",
|
|
136
|
+
Action: "Decrypt"
|
|
137
|
+
},
|
|
138
|
+
headers: {
|
|
139
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
140
|
+
}
|
|
141
|
+
},
|
|
142
|
+
paramsType: {
|
|
143
|
+
KeyId: "String",
|
|
144
|
+
CiphertextBlob: "String"
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
GenerateDataKey: {
|
|
148
|
+
url: "/",
|
|
149
|
+
method: "GET",
|
|
150
|
+
config: {
|
|
151
|
+
query: {
|
|
152
|
+
Version: "2016-03-04",
|
|
153
|
+
Action: "GenerateDataKey"
|
|
154
|
+
},
|
|
155
|
+
headers: {
|
|
156
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
157
|
+
}
|
|
158
|
+
},
|
|
159
|
+
paramsType: {
|
|
160
|
+
KeyId: "String",
|
|
161
|
+
KeySpec: "String",
|
|
162
|
+
NumberOfBytes: "Int"
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
});
|
|
166
|
+
}
|
|
167
|
+
};
|