ksyun-sdk-node 1.0.5 → 1.2.4

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.
Files changed (99) hide show
  1. package/dist/base/BaseClient.js +90 -55
  2. package/dist/index.js +9 -12
  3. package/dist/lib/fetch.js +4 -5
  4. package/dist/lib/sign.js +31 -33
  5. package/dist/lib/signautreV4.js +167 -0
  6. package/dist/service/Actiontrail/v20190401/index.js +4 -7
  7. package/dist/service/Bill/v20180601/index.js +11 -50
  8. package/dist/service/Bill/v20220601/index.js +64 -0
  9. package/dist/service/Bill_union/v20200101/index.js +48 -10
  10. package/dist/service/Bill_union/v20221222/index.js +142 -0
  11. package/dist/service/Bws/v20160304/index.js +23 -6
  12. package/dist/service/Cdn/v20160901/index.js +42 -0
  13. package/dist/service/Cdn/v20200630/index.js +410 -0
  14. package/dist/service/Cdn/v20200901/index.js +162 -0
  15. package/dist/service/Cen/v20160304/index.js +460 -0
  16. package/dist/service/Clickhouse/v20210101/index.js +546 -0
  17. package/dist/service/Ebs/v20160304/index.js +3 -6
  18. package/dist/service/Eip/v20160304/index.js +3 -6
  19. package/dist/service/Epc/v20151101/index.js +36 -60
  20. package/dist/service/Iam/v20151101/index.js +61 -7
  21. package/dist/service/Kad/v20161122/index.js +3 -6
  22. package/dist/service/Kce/v20180314/index.js +320 -0
  23. package/dist/service/Kce/v20190806/index.js +482 -0
  24. package/dist/service/Kce/v20201231/index.js +63 -0
  25. package/dist/service/Kcf/v20211215/index.js +203 -0
  26. package/dist/service/Kcm/v20160304/index.js +120 -0
  27. package/dist/service/Kcrs/v20211109/index.js +851 -0
  28. package/dist/service/Kcs/v20160701/index.js +1106 -0
  29. package/dist/service/Kcs/v20170401/index.js +81 -0
  30. package/dist/service/Kead/v20200101/index.js +3 -6
  31. package/dist/service/Kec/v20160304/index.js +107 -42
  32. package/dist/service/Ket/v20170101/index.js +141 -0
  33. package/dist/service/Kkms/v20160304/index.js +167 -0
  34. package/dist/service/Klog/v20200731/index.js +804 -0
  35. package/dist/service/Kls/v20170101/index.js +194 -0
  36. package/dist/service/Krds/v20160701/index.js +1302 -0
  37. package/dist/service/Krds/v20200825/index.js +174 -0
  38. package/dist/service/Memcached/v20180627/index.js +249 -0
  39. package/dist/service/Mongodb/v20170101/index.js +22 -7
  40. package/dist/service/Monitor/v20100525/index.js +70 -0
  41. package/dist/service/Monitor/v20181114/index.js +49 -0
  42. package/dist/service/Monitor/v20210101/index.js +179 -0
  43. package/dist/service/Monitor/v20220101/index.js +68 -0
  44. package/dist/service/Rabbitmq/v20191017/index.js +242 -0
  45. package/dist/service/Resourcemanager/v20210320/index.js +3 -6
  46. package/dist/service/Sks/v20151101/index.js +3 -6
  47. package/dist/service/Slb/v20160304/index.js +517 -8
  48. package/dist/service/Sts/v20151101/index.js +4 -7
  49. package/dist/service/Tagv2/v20200901/index.js +174 -0
  50. package/dist/service/Tidb/v20210520/index.js +363 -0
  51. package/dist/service/Trade/v20200114/index.js +3 -6
  52. package/dist/service/Trade/v20200831/index.js +3 -6
  53. package/dist/service/Vpc/v20160304/index.js +239 -7
  54. package/dist/service/Waf/v20200707/index.js +248 -0
  55. package/package.json +1 -1
  56. package/src/base/BaseClient.js +85 -36
  57. package/src/lib/signautreV4.js +166 -0
  58. package/src/service/Actiontrail/v20190401/index.js +1 -1
  59. package/src/service/Bill/v20180601/index.js +6 -46
  60. package/src/service/Bill/v20220601/index.js +56 -0
  61. package/src/service/Bill_union/v20200101/index.js +37 -0
  62. package/src/service/Bill_union/v20221222/index.js +134 -0
  63. package/src/service/Bws/v20160304/index.js +20 -0
  64. package/src/service/{Bill_union/v20211209 → Cdn/v20160901}/index.js +6 -6
  65. package/src/service/Cdn/v20200630/index.js +402 -0
  66. package/src/service/Cdn/v20200901/index.js +154 -0
  67. package/src/service/Cen/v20160304/index.js +452 -0
  68. package/src/service/Clickhouse/v20210101/index.js +538 -0
  69. package/src/service/Ebs/v20160304/index.js +1 -4
  70. package/src/service/Epc/v20151101/index.js +26 -50
  71. package/src/service/Iam/v20151101/index.js +57 -0
  72. package/src/service/Kce/v20180314/index.js +312 -0
  73. package/src/service/Kce/v20190806/index.js +474 -0
  74. package/src/service/Kce/v20201231/index.js +55 -0
  75. package/src/service/Kcf/v20211215/index.js +197 -0
  76. package/src/service/Kcm/v20160304/index.js +112 -0
  77. package/src/service/Kcrs/v20211109/index.js +857 -0
  78. package/src/service/Kcs/v20160701/index.js +1101 -0
  79. package/src/service/Kcs/v20170401/index.js +73 -0
  80. package/src/service/Kec/v20160304/index.js +86 -22
  81. package/src/service/Ket/v20170101/index.js +133 -0
  82. package/src/service/Kkms/v20160304/index.js +159 -0
  83. package/src/service/Klog/v20200731/index.js +810 -0
  84. package/src/service/Kls/v20170101/index.js +186 -0
  85. package/src/service/Krds/v20160701/index.js +1296 -0
  86. package/src/service/Krds/v20200825/index.js +166 -0
  87. package/src/service/Memcached/v20180627/index.js +248 -0
  88. package/src/service/Mongodb/v20170101/index.js +18 -0
  89. package/src/service/Monitor/v20100525/index.js +62 -0
  90. package/src/service/{Slb/v20171210 → Monitor/v20181114}/index.js +13 -11
  91. package/src/service/Monitor/v20210101/index.js +172 -0
  92. package/src/service/Monitor/v20220101/index.js +60 -0
  93. package/src/service/Rabbitmq/v20191017/index.js +234 -0
  94. package/src/service/Slb/v20160304/index.js +512 -0
  95. package/src/service/Sts/v20151101/index.js +1 -1
  96. package/src/service/Tagv2/v20200901/index.js +166 -0
  97. package/src/service/Tidb/v20210520/index.js +355 -0
  98. package/src/service/Vpc/v20160304/index.js +235 -0
  99. package/src/service/Waf/v20200707/index.js +240 -0
@@ -0,0 +1,166 @@
1
+ const BaseClient = require("../../../base/BaseClient.js");
2
+
3
+ module.exports = class Client extends BaseClient {
4
+ _baseConfig = {
5
+ 'protocol': 'http://',
6
+ 'endpoint': 'krds.api.ksyun.com',
7
+ 'config': {
8
+ 'timeout': 60, //设置timeout
9
+ 'headers': {
10
+ 'Accept': 'application/json'
11
+ },
12
+ 'credentials': {
13
+ 'region': 'cn-shanghai-3',
14
+ 'service': 'krds',
15
+ },
16
+ },
17
+ }
18
+ _apiList = {
19
+ 'CreateSecurityGroup': {
20
+ 'url': '/',
21
+ 'method': 'GET',
22
+ 'config': {
23
+ 'query': {
24
+ 'Version': '2020-08-25',
25
+ 'Action': 'CreateSecurityGroup',
26
+ },
27
+ 'headers': {
28
+ 'Content-Type': 'application/json'
29
+ },
30
+ },
31
+ 'paramsType': {
32
+ 'SecurityGroupName': 'String',
33
+ 'SecurityGroupDescription': 'String',
34
+ 'SecurityGroupType': 'String',
35
+ 'DBInstanceIdentifier': 'Filter',
36
+ 'SecurityGroupRule.SecurityGroupRuleName.N': 'String',
37
+ 'SecurityGroupRule.SecurityGroupRuleCidr.N': 'String',
38
+ }
39
+ },
40
+ 'DescribeSecurityGroup': {
41
+ 'url': '/',
42
+ 'method': 'GET',
43
+ 'config': {
44
+ 'query': {
45
+ 'Version': '2020-08-25',
46
+ 'Action': 'DescribeSecurityGroup',
47
+ },
48
+ 'headers': {
49
+ 'Content-Type': 'application/json'
50
+ },
51
+ },
52
+ 'paramsType': {
53
+ 'SecurityGroupId.N': 'String',
54
+ 'SecurityGroupType': 'String',
55
+ }
56
+ },
57
+ 'DeleteSecurityGroup': {
58
+ 'url': '/',
59
+ 'method': 'GET',
60
+ 'config': {
61
+ 'query': {
62
+ 'Version': '2020-08-25',
63
+ 'Action': 'DeleteSecurityGroup',
64
+ },
65
+ 'headers': {
66
+ 'Content-Type': 'application/json'
67
+ },
68
+ },
69
+ 'paramsType': {
70
+ 'SecurityGroupIds': 'String',
71
+ }
72
+ },
73
+ 'ModifySecurityGroup': {
74
+ 'url': '/',
75
+ 'method': 'GET',
76
+ 'config': {
77
+ 'query': {
78
+ 'Version': '2020-08-25',
79
+ 'Action': 'ModifySecurityGroup',
80
+ },
81
+ 'headers': {
82
+ 'Content-Type': 'application/json'
83
+ },
84
+ },
85
+ 'paramsType': {
86
+ 'SecurityGroupId': 'String',
87
+ 'SecurityGroupName': 'String',
88
+ 'SecurityGroupDescription': 'String',
89
+ }
90
+ },
91
+ 'CloneSecurityGroup': {
92
+ 'url': '/',
93
+ 'method': 'GET',
94
+ 'config': {
95
+ 'query': {
96
+ 'Version': '2020-08-25',
97
+ 'Action': 'CloneSecurityGroup',
98
+ },
99
+ 'headers': {
100
+ 'Content-Type': 'application/json'
101
+ },
102
+ },
103
+ 'paramsType': {
104
+ 'SecurityGroupId': 'String',
105
+ 'SecurityGroupName': 'String',
106
+ 'SecurityGroupDescription': 'String',
107
+ }
108
+ },
109
+ 'ModifySecurityGroupRule': {
110
+ 'url': '/',
111
+ 'method': 'GET',
112
+ 'config': {
113
+ 'query': {
114
+ 'Version': '2020-08-25',
115
+ 'Action': 'ModifySecurityGroupRule',
116
+ },
117
+ 'headers': {
118
+ 'Content-Type': 'application/json'
119
+ },
120
+ },
121
+ 'paramsType': {
122
+ 'SecurityGroupRuleAction': 'String',
123
+ 'SecurityGroupId': 'String',
124
+ 'SecurityGroupRule.SecurityGroupRuleId': 'Filter',
125
+ 'SecurityGroupRule.SecurityGroupRuleName': 'Filter',
126
+ 'SecurityGroupRule.SecurityGroupRuleCidr': 'Filter',
127
+ }
128
+ },
129
+ 'SecurityGroupRelation': {
130
+ 'url': '/',
131
+ 'method': 'GET',
132
+ 'config': {
133
+ 'query': {
134
+ 'Version': '2020-08-25',
135
+ 'Action': 'SecurityGroupRelation',
136
+ },
137
+ 'headers': {
138
+ 'Content-Type': 'application/json'
139
+ },
140
+ },
141
+ 'paramsType': {
142
+ 'RelationAction': 'String',
143
+ 'SecurityGroupId': 'String',
144
+ 'DBInstanceIdentifier': 'String',
145
+ }
146
+ },
147
+ 'ModifySecurityGroupRuleName': {
148
+ 'url': '/',
149
+ 'method': 'GET',
150
+ 'config': {
151
+ 'query': {
152
+ 'Version': '2020-08-25',
153
+ 'Action': 'ModifySecurityGroupRuleName',
154
+ },
155
+ 'headers': {
156
+ 'Content-Type': 'application/json'
157
+ },
158
+ },
159
+ 'paramsType': {
160
+ 'SecurityGroupId': 'String',
161
+ 'SecurityGroupRuleId': 'String',
162
+ 'SecurityGroupRuleName': 'String',
163
+ }
164
+ },
165
+ }
166
+ }
@@ -0,0 +1,248 @@
1
+ const BaseClient = require("../../../base/BaseClient.js");
2
+
3
+ module.exports = class Client extends BaseClient {
4
+ _baseConfig = {
5
+ 'protocol': 'http://',
6
+ 'endpoint': 'memcached.api.ksyun.com',
7
+ 'config': {
8
+ 'timeout': 60, //设置timeout
9
+ 'headers': {
10
+ 'Accept': 'application/json'
11
+ },
12
+ 'credentials': {
13
+ 'region': 'cn-shanghai-3',
14
+ 'service': 'memcached',
15
+ },
16
+ },
17
+ }
18
+ _apiList = {
19
+ 'CreateCacheCluster': {
20
+ 'url': '/',
21
+ 'method': 'POST',
22
+ 'config': {
23
+ 'query': {
24
+ 'Version': '2018-06-27',
25
+ 'Action': 'CreateCacheCluster',
26
+ },
27
+ 'headers': {
28
+ 'Content-Type': 'application/x-www-form-urlencoded'
29
+ },
30
+ },
31
+ 'paramsType': {
32
+ 'Name': 'String',
33
+ 'Capacity': 'String',
34
+ 'SlaveNum': 'String',
35
+ 'NetType': 'String',
36
+ 'VpcId': 'String',
37
+ 'VnetId': 'String',
38
+ 'BillType': 'String',
39
+ 'Duration': 'String',
40
+ 'DurationUnit': 'String',
41
+ 'PassWord': 'String',
42
+ 'IamProjectId': 'String',
43
+ 'Engine': 'String',
44
+ }
45
+ },
46
+ 'DeleteCacheCluster': {
47
+ 'url': '/',
48
+ 'method': 'DELETE',
49
+ 'config': {
50
+ 'query': {
51
+ 'Version': '2018-06-27',
52
+ 'Action': 'DeleteCacheCluster',
53
+ },
54
+ 'headers': {
55
+ 'Content-Type': 'application/x-www-form-urlencoded'
56
+ },
57
+ },
58
+ 'paramsType': {
59
+ }
60
+ },
61
+ 'ResizeCacheCluster': {
62
+ 'url': '/',
63
+ 'method': 'PUT',
64
+ 'config': {
65
+ 'query': {
66
+ 'Version': '2018-06-27',
67
+ 'Action': 'ResizeCacheCluster',
68
+ },
69
+ 'headers': {
70
+ 'Content-Type': 'application/x-www-form-urlencoded'
71
+ },
72
+ },
73
+ 'paramsType': {
74
+ 'CacheId': 'String',
75
+ 'Capacity': 'String',
76
+ 'Engine': 'String',
77
+ }
78
+ },
79
+ 'DescribeCacheClusters': {
80
+ 'url': '/',
81
+ 'method': 'GET',
82
+ 'config': {
83
+ 'query': {
84
+ 'Version': '2018-06-27',
85
+ 'Action': 'DescribeCacheClusters',
86
+ },
87
+ 'headers': {
88
+ 'Content-Type': 'application/x-www-form-urlencoded'
89
+ },
90
+ },
91
+ 'paramsType': {
92
+ 'Engine': 'String',
93
+ 'CacheId': 'String',
94
+ 'Name': 'String',
95
+ 'Vip': 'String',
96
+ 'VpcId': 'String',
97
+ 'VnetId': 'String',
98
+ 'Offset': 'String',
99
+ 'Limit': 'String',
100
+ 'OrderBy': 'String',
101
+ 'IamProjectId': 'String',
102
+ }
103
+ },
104
+ 'DescribeCacheCluster': {
105
+ 'url': '/',
106
+ 'method': 'GET',
107
+ 'config': {
108
+ 'query': {
109
+ 'Version': '2018-06-27',
110
+ 'Action': 'DescribeCacheCluster',
111
+ },
112
+ 'headers': {
113
+ 'Content-Type': 'application/x-www-form-urlencoded'
114
+ },
115
+ },
116
+ 'paramsType': {
117
+ 'CacheId': 'String',
118
+ 'Engine': 'String',
119
+ }
120
+ },
121
+ 'FlushCacheCluster': {
122
+ 'url': '/',
123
+ 'method': 'PUT',
124
+ 'config': {
125
+ 'query': {
126
+ 'Version': '2018-06-27',
127
+ 'Action': 'FlushCacheCluster',
128
+ },
129
+ 'headers': {
130
+ 'Content-Type': 'application/x-www-form-urlencoded'
131
+ },
132
+ },
133
+ 'paramsType': {
134
+ }
135
+ },
136
+ 'RenameCacheCluster': {
137
+ 'url': '/',
138
+ 'method': 'PUT',
139
+ 'config': {
140
+ 'query': {
141
+ 'Version': '2018-06-27',
142
+ 'Action': 'RenameCacheCluster',
143
+ },
144
+ 'headers': {
145
+ 'Content-Type': 'application/x-www-form-urlencoded'
146
+ },
147
+ },
148
+ 'paramsType': {
149
+ 'CacheId': 'String',
150
+ 'Name': 'String',
151
+ 'Engine': 'String',
152
+ }
153
+ },
154
+ 'UpdatePassword': {
155
+ 'url': '/',
156
+ 'method': 'PUT',
157
+ 'config': {
158
+ 'query': {
159
+ 'Version': '2018-06-27',
160
+ 'Action': 'UpdatePassword',
161
+ },
162
+ 'headers': {
163
+ 'Content-Type': 'application/x-www-form-urlencoded'
164
+ },
165
+ },
166
+ 'paramsType': {
167
+ 'CacheId': 'String',
168
+ 'Password': 'String',
169
+ 'Engine': 'String',
170
+ }
171
+ },
172
+ 'DescribeCacheSecurityRules': {
173
+ 'url': '/',
174
+ 'method': 'GET',
175
+ 'config': {
176
+ 'query': {
177
+ 'Version': '2018-06-27',
178
+ 'Action': 'DescribeCacheSecurityRules',
179
+ },
180
+ 'headers': {
181
+ 'Content-Type': 'application/x-www-form-urlencoded'
182
+ },
183
+ },
184
+ 'paramsType': {
185
+ }
186
+ },
187
+ 'DeleteCacheSecurityRule': {
188
+ 'url': '/',
189
+ 'method': 'DELETE',
190
+ 'config': {
191
+ 'query': {
192
+ 'Version': '2018-06-27',
193
+ 'Action': 'DeleteCacheSecurityRule',
194
+ },
195
+ 'headers': {
196
+ 'Content-Type': 'application/x-www-form-urlencoded'
197
+ },
198
+ },
199
+ 'paramsType': {
200
+ }
201
+ },
202
+ 'SetCacheSecurityRules': {
203
+ 'url': '/',
204
+ 'method': 'PUT',
205
+ 'config': {
206
+ 'query': {
207
+ 'Version': '2018-06-27',
208
+ 'Action': 'SetCacheSecurityRules',
209
+ },
210
+ 'headers': {
211
+ 'Content-Type': 'application/x-www-form-urlencoded'
212
+ },
213
+ },
214
+ 'paramsType': {
215
+ }
216
+ },
217
+ 'DescribeRegions': {
218
+ 'url': '/',
219
+ 'method': 'GET',
220
+ 'config': {
221
+ 'query': {
222
+ 'Version': '2018-06-27',
223
+ 'Action': 'DescribeRegions',
224
+ },
225
+ 'headers': {
226
+ 'Content-Type': 'application/x-www-form-urlencoded'
227
+ },
228
+ },
229
+ 'paramsType': {
230
+ }
231
+ },
232
+ 'DescribeAvailabilityZones': {
233
+ 'url': '/',
234
+ 'method': 'GET',
235
+ 'config': {
236
+ 'query': {
237
+ 'Version': '2018-06-27',
238
+ 'Action': 'DescribeAvailabilityZones',
239
+ },
240
+ 'headers': {
241
+ 'Content-Type': 'application/x-www-form-urlencoded'
242
+ },
243
+ },
244
+ 'paramsType': {
245
+ }
246
+ },
247
+ }
248
+ }
@@ -120,6 +120,7 @@ module.exports = class Client extends BaseClient {
120
120
  },
121
121
  'paramsType': {
122
122
  'InstanceId': 'String',
123
+ 'NodeId': 'String',
123
124
  }
124
125
  },
125
126
  'RenameMongoDBInstance': {
@@ -653,5 +654,22 @@ module.exports = class Client extends BaseClient {
653
654
  'Storage': 'Int',
654
655
  }
655
656
  },
657
+ 'DescribeClusterForRestore': {
658
+ 'url': '/',
659
+ 'method': 'GET',
660
+ 'config': {
661
+ 'query': {
662
+ 'Version': '2017-01-01',
663
+ 'Action': 'DescribeClusterForRestore',
664
+ },
665
+ 'headers': {
666
+ 'Content-Type': 'application/json'
667
+ },
668
+ },
669
+ 'paramsType': {
670
+ 'InstanceId': 'String',
671
+ 'ResetTimePoint': 'String',
672
+ }
673
+ },
656
674
  }
657
675
  }
@@ -0,0 +1,62 @@
1
+ const BaseClient = require("../../../base/BaseClient.js");
2
+
3
+ module.exports = class Client extends BaseClient {
4
+ _baseConfig = {
5
+ 'protocol': 'http://',
6
+ 'endpoint': 'monitor.api.ksyun.com',
7
+ 'config': {
8
+ 'timeout': 60, //设置timeout
9
+ 'headers': {
10
+ 'Accept': 'application/json'
11
+ },
12
+ 'credentials': {
13
+ 'region': 'cn-shanghai-3',
14
+ 'service': 'monitor',
15
+ },
16
+ },
17
+ }
18
+ _apiList = {
19
+ 'GetMetricStatistics': {
20
+ 'url': '/',
21
+ 'method': 'GET',
22
+ 'config': {
23
+ 'query': {
24
+ 'Version': '2010-05-25',
25
+ 'Action': 'GetMetricStatistics',
26
+ },
27
+ 'headers': {
28
+ 'Content-Type': 'application/json'
29
+ },
30
+ },
31
+ 'paramsType': {
32
+ 'Namespace': 'String',
33
+ 'InstanceID': 'String',
34
+ 'MetricName': 'String',
35
+ 'StartTime': 'String',
36
+ 'EndTime': 'String',
37
+ 'Aggregate': 'String',
38
+ 'Period': 'Int',
39
+ }
40
+ },
41
+ 'ListMetrics': {
42
+ 'url': '/',
43
+ 'method': 'GET',
44
+ 'config': {
45
+ 'query': {
46
+ 'Version': '2010-05-25',
47
+ 'Action': 'ListMetrics',
48
+ },
49
+ 'headers': {
50
+ 'Content-Type': 'application/json'
51
+ },
52
+ },
53
+ 'paramsType': {
54
+ 'Namespace': 'String',
55
+ 'InstanceID': 'String',
56
+ 'MetricName': 'String',
57
+ 'PageIndex': 'Int',
58
+ 'PageSize': 'Int',
59
+ }
60
+ },
61
+ }
62
+ }
@@ -3,7 +3,7 @@ const BaseClient = require("../../../base/BaseClient.js");
3
3
  module.exports = class Client extends BaseClient {
4
4
  _baseConfig = {
5
5
  'protocol': 'http://',
6
- 'endpoint': 'slb.api.ksyun.com',
6
+ 'endpoint': 'monitor.api.ksyun.com',
7
7
  'config': {
8
8
  'timeout': 60, //设置timeout
9
9
  'headers': {
@@ -11,28 +11,30 @@ module.exports = class Client extends BaseClient {
11
11
  },
12
12
  'credentials': {
13
13
  'region': 'cn-shanghai-3',
14
- 'service': 'slb',
14
+ 'service': 'monitor',
15
15
  },
16
16
  },
17
17
  }
18
18
  _apiList = {
19
- 'DescribeLoadBalancers': {
19
+ 'GetMetricStatisticsBatch': {
20
20
  'url': '/',
21
- 'method': 'GET',
21
+ 'method': 'POST',
22
22
  'config': {
23
23
  'query': {
24
- 'Version': '2017-12-10',
25
- 'Action': 'DescribeLoadBalancers',
24
+ 'Version': '2018-11-14',
25
+ 'Action': 'GetMetricStatisticsBatch',
26
26
  },
27
27
  'headers': {
28
- 'Content-Type': 'application/x-www-form-urlencoded'
28
+ 'Content-Type': 'application/json'
29
29
  },
30
30
  },
31
31
  'paramsType': {
32
- 'LoadBalancerId': 'Filter',
33
- 'State': 'String',
34
- 'ProjectId': 'Filter',
35
- 'Filter': 'Filter',
32
+ 'Namespace': 'String',
33
+ 'StartTime': 'String',
34
+ 'EndTime': 'String',
35
+ 'Aggregate': 'Array',
36
+ 'Period': 'Int',
37
+ 'Metrics': 'Array',
36
38
  }
37
39
  },
38
40
  }