ksyun-sdk-node 1.0.1

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 (40) hide show
  1. package/.browserslistrc +1 -0
  2. package/.eslintignore +1 -0
  3. package/.eslintrc.json +14 -0
  4. package/README.md +75 -0
  5. package/babel.config.json +11 -0
  6. package/dist/base/BaseClient.js +104 -0
  7. package/dist/index.js +41 -0
  8. package/dist/lib/fetch.js +35 -0
  9. package/dist/lib/sign.js +155 -0
  10. package/dist/service/Actiontrail/v20190401/index.js +58 -0
  11. package/dist/service/Bill/v20180601/index.js +117 -0
  12. package/dist/service/Bill_union/v20200101/index.js +118 -0
  13. package/dist/service/Bill_union/v20211209/index.js +45 -0
  14. package/dist/service/Ebs/v20160304/index.js +359 -0
  15. package/dist/service/Iam/v20151101/index.js +887 -0
  16. package/dist/service/Kad/v20161122/index.js +133 -0
  17. package/dist/service/Kead/v20200101/index.js +52 -0
  18. package/dist/service/Resourcemanager/v20210320/index.js +171 -0
  19. package/dist/service/Sts/v20151101/index.js +50 -0
  20. package/dist/service/Trade/v20200114/index.js +47 -0
  21. package/dist/service/Trade/v20200831/index.js +49 -0
  22. package/example/iam.js +40 -0
  23. package/example/res.js +43 -0
  24. package/package.json +33 -0
  25. package/src/base/BaseClient.js +92 -0
  26. package/src/index.js +34 -0
  27. package/src/lib/fetch.js +35 -0
  28. package/src/lib/sign.js +148 -0
  29. package/src/service/Actiontrail/v20190401/index.js +47 -0
  30. package/src/service/Bill/v20180601/index.js +111 -0
  31. package/src/service/Bill_union/v20200101/index.js +112 -0
  32. package/src/service/Bill_union/v20211209/index.js +35 -0
  33. package/src/service/Ebs/v20160304/index.js +348 -0
  34. package/src/service/Iam/v20151101/index.js +876 -0
  35. package/src/service/Kad/v20161122/index.js +122 -0
  36. package/src/service/Kead/v20200101/index.js +41 -0
  37. package/src/service/Resourcemanager/v20210320/index.js +161 -0
  38. package/src/service/Sts/v20151101/index.js +39 -0
  39. package/src/service/Trade/v20200114/index.js +36 -0
  40. package/src/service/Trade/v20200831/index.js +38 -0
@@ -0,0 +1,887 @@
1
+ "use strict";
2
+
3
+ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
4
+
5
+ const BaseClient = require("../../../base/BaseClient.js");
6
+
7
+ module.exports = class Client extends BaseClient {
8
+ constructor(...args) {
9
+ super(...args);
10
+
11
+ _defineProperty(this, "_baseConfig", {
12
+ 'protocol': 'http://',
13
+ 'endpoint': 'iam.api.ksyun.com',
14
+ 'config': {
15
+ 'timeout': 60,
16
+ //设置timeout
17
+ 'headers': {
18
+ 'Accept': 'application/json'
19
+ },
20
+ 'credentials': {
21
+ 'region': 'cn-shanghai-3',
22
+ 'service': 'iam'
23
+ }
24
+ }
25
+ });
26
+
27
+ _defineProperty(this, "_apiList", {
28
+ 'CreateUser': {
29
+ 'url': '/',
30
+ 'method': 'POST',
31
+ 'config': {
32
+ 'query': {
33
+ 'Version': '2015-11-01',
34
+ 'Action': 'CreateUser'
35
+ },
36
+ 'headers': {
37
+ 'Content-Type': 'application/x-www-form-urlencoded'
38
+ }
39
+ },
40
+ 'paramsType': {
41
+ 'UserName': 'String',
42
+ 'RealName': 'String',
43
+ 'Phone': 'String',
44
+ 'Email': 'String',
45
+ 'Remark': 'String',
46
+ 'Password': 'String',
47
+ 'PasswordResetRequired': 'Int',
48
+ 'OpenLoginProtection': 'Int',
49
+ 'OpenSecurityProtection': 'Int',
50
+ 'ViewAllProject': 'Int'
51
+ }
52
+ },
53
+ 'ListUsers': {
54
+ 'url': '/',
55
+ 'method': 'POST',
56
+ 'config': {
57
+ 'query': {
58
+ 'Version': '2015-11-01',
59
+ 'Action': 'ListUsers'
60
+ },
61
+ 'headers': {
62
+ 'Content-Type': 'application/x-www-form-urlencoded'
63
+ }
64
+ },
65
+ 'paramsType': {
66
+ 'Marker': 'String',
67
+ 'MaxItems': 'Int',
68
+ 'AccessKey': 'String'
69
+ }
70
+ },
71
+ 'UpdateUser': {
72
+ 'url': '/',
73
+ 'method': 'POST',
74
+ 'config': {
75
+ 'query': {
76
+ 'Version': '2015-11-01',
77
+ 'Action': 'UpdateUser'
78
+ },
79
+ 'headers': {
80
+ 'Content-Type': 'application/x-www-form-urlencoded'
81
+ }
82
+ },
83
+ 'paramsType': {
84
+ 'UserName': 'String',
85
+ 'NewUserName': 'String',
86
+ 'NewRealName': 'String',
87
+ 'NewEmail': 'String',
88
+ 'NewPhone': 'String',
89
+ 'IsInternational': 'Int',
90
+ 'NewRemark': 'String'
91
+ }
92
+ },
93
+ 'GetUser': {
94
+ 'url': '/',
95
+ 'method': 'POST',
96
+ 'config': {
97
+ 'query': {
98
+ 'Version': '2015-11-01',
99
+ 'Action': 'GetUser'
100
+ },
101
+ 'headers': {
102
+ 'Content-Type': 'application/x-www-form-urlencoded'
103
+ }
104
+ },
105
+ 'paramsType': {
106
+ 'UserName': 'String'
107
+ }
108
+ },
109
+ 'DeleteUser': {
110
+ 'url': '/',
111
+ 'method': 'POST',
112
+ 'config': {
113
+ 'query': {
114
+ 'Version': '2015-11-01',
115
+ 'Action': 'DeleteUser'
116
+ },
117
+ 'headers': {
118
+ 'Content-Type': 'application/x-www-form-urlencoded'
119
+ }
120
+ },
121
+ 'paramsType': {
122
+ 'UserName': 'String'
123
+ }
124
+ },
125
+ 'ListAttachedUserPolicies': {
126
+ 'url': '/',
127
+ 'method': 'POST',
128
+ 'config': {
129
+ 'query': {
130
+ 'Version': '2015-11-01',
131
+ 'Action': 'ListAttachedUserPolicies'
132
+ },
133
+ 'headers': {
134
+ 'Content-Type': 'application/x-www-form-urlencoded'
135
+ }
136
+ },
137
+ 'paramsType': {
138
+ 'UserName': 'String',
139
+ 'Marker': 'String',
140
+ 'MaxItems': 'String'
141
+ }
142
+ },
143
+ 'ListPolicyVersions': {
144
+ 'url': '/',
145
+ 'method': 'POST',
146
+ 'config': {
147
+ 'query': {
148
+ 'Version': '2015-11-01',
149
+ 'Action': 'ListPolicyVersions'
150
+ },
151
+ 'headers': {
152
+ 'Content-Type': 'application/x-www-form-urlencoded'
153
+ }
154
+ },
155
+ 'paramsType': {
156
+ 'PolicyKrn': 'String'
157
+ }
158
+ },
159
+ 'SetDefaultPolicyVersion': {
160
+ 'url': '/',
161
+ 'method': 'POST',
162
+ 'config': {
163
+ 'query': {
164
+ 'Version': '2015-11-01',
165
+ 'Action': 'SetDefaultPolicyVersion'
166
+ },
167
+ 'headers': {
168
+ 'Content-Type': 'application/x-www-form-urlencoded'
169
+ }
170
+ },
171
+ 'paramsType': {
172
+ 'PolicyKrn': 'String',
173
+ 'VersionId': 'String'
174
+ }
175
+ },
176
+ 'AttachUserPolicy': {
177
+ 'url': '/',
178
+ 'method': 'POST',
179
+ 'config': {
180
+ 'query': {
181
+ 'Version': '2015-11-01',
182
+ 'Action': 'AttachUserPolicy'
183
+ },
184
+ 'headers': {
185
+ 'Content-Type': 'application/x-www-form-urlencoded'
186
+ }
187
+ },
188
+ 'paramsType': {
189
+ 'PolicyKrn': 'String',
190
+ 'UserName': 'String'
191
+ }
192
+ },
193
+ 'DeletePolicyVersion': {
194
+ 'url': '/',
195
+ 'method': 'POST',
196
+ 'config': {
197
+ 'query': {
198
+ 'Version': '2015-11-01',
199
+ 'Action': 'DeletePolicyVersion'
200
+ },
201
+ 'headers': {
202
+ 'Content-Type': 'application/x-www-form-urlencoded'
203
+ }
204
+ },
205
+ 'paramsType': {
206
+ 'PolicyKrn': 'String',
207
+ 'VersionId': 'String'
208
+ }
209
+ },
210
+ 'GetPolicyVersion': {
211
+ 'url': '/',
212
+ 'method': 'POST',
213
+ 'config': {
214
+ 'query': {
215
+ 'Version': '2015-11-01',
216
+ 'Action': 'GetPolicyVersion'
217
+ },
218
+ 'headers': {
219
+ 'Content-Type': 'application/x-www-form-urlencoded'
220
+ }
221
+ },
222
+ 'paramsType': {
223
+ 'PolicyKrn': 'String',
224
+ 'VersionId': 'String'
225
+ }
226
+ },
227
+ 'CreatePolicyVersion': {
228
+ 'url': '/',
229
+ 'method': 'POST',
230
+ 'config': {
231
+ 'query': {
232
+ 'Version': '2015-11-01',
233
+ 'Action': 'CreatePolicyVersion'
234
+ },
235
+ 'headers': {
236
+ 'Content-Type': 'application/x-www-form-urlencoded'
237
+ }
238
+ },
239
+ 'paramsType': {
240
+ 'PolicyKrn': 'String',
241
+ 'PolicyDocument': 'String',
242
+ 'SetAsDefault': 'String',
243
+ 'PolicyStruct': 'String'
244
+ }
245
+ },
246
+ 'ListPolicies': {
247
+ 'url': '/',
248
+ 'method': 'POST',
249
+ 'config': {
250
+ 'query': {
251
+ 'Version': '2015-11-01',
252
+ 'Action': 'ListPolicies'
253
+ },
254
+ 'headers': {
255
+ 'Content-Type': 'application/x-www-form-urlencoded'
256
+ }
257
+ },
258
+ 'paramsType': {
259
+ 'Marker': 'String',
260
+ 'MaxItems': 'String',
261
+ 'OnlyAttached': 'Boolean',
262
+ 'Scope': 'String'
263
+ }
264
+ },
265
+ 'GetPolicy': {
266
+ 'url': '/',
267
+ 'method': 'POST',
268
+ 'config': {
269
+ 'query': {
270
+ 'Version': '2015-11-01',
271
+ 'Action': 'GetPolicy'
272
+ },
273
+ 'headers': {
274
+ 'Content-Type': 'application/x-www-form-urlencoded'
275
+ }
276
+ },
277
+ 'paramsType': {
278
+ 'PolicyKrn': 'String'
279
+ }
280
+ },
281
+ 'DeletePolicy': {
282
+ 'url': '/',
283
+ 'method': 'POST',
284
+ 'config': {
285
+ 'query': {
286
+ 'Version': '2015-11-01',
287
+ 'Action': 'DeletePolicy'
288
+ },
289
+ 'headers': {
290
+ 'Content-Type': 'application/x-www-form-urlencoded'
291
+ }
292
+ },
293
+ 'paramsType': {
294
+ 'PolicyKrn': 'String'
295
+ }
296
+ },
297
+ 'CreatePolicy': {
298
+ 'url': '/',
299
+ 'method': 'POST',
300
+ 'config': {
301
+ 'query': {
302
+ 'Version': '2015-11-01',
303
+ 'Action': 'CreatePolicy'
304
+ },
305
+ 'headers': {
306
+ 'Content-Type': 'application/x-www-form-urlencoded'
307
+ }
308
+ },
309
+ 'paramsType': {
310
+ 'PolicyName': 'String',
311
+ 'Description': 'String',
312
+ 'PolicyDocument': 'String',
313
+ 'PolicyStruct': 'String',
314
+ 'CreateMode': 'String'
315
+ }
316
+ },
317
+ 'ChangePassword': {
318
+ 'url': '/',
319
+ 'method': 'POST',
320
+ 'config': {
321
+ 'query': {
322
+ 'Version': '2015-11-01',
323
+ 'Action': 'ChangePassword'
324
+ },
325
+ 'headers': {
326
+ 'Content-Type': 'application/x-www-form-urlencoded'
327
+ }
328
+ },
329
+ 'paramsType': {
330
+ 'OldPassword': 'String',
331
+ 'NewPassword': 'String'
332
+ }
333
+ },
334
+ 'UpdateLoginProfile': {
335
+ 'url': '/',
336
+ 'method': 'POST',
337
+ 'config': {
338
+ 'query': {
339
+ 'Version': '2015-11-01',
340
+ 'Action': 'UpdateLoginProfile'
341
+ },
342
+ 'headers': {
343
+ 'Content-Type': 'application/x-www-form-urlencoded'
344
+ }
345
+ },
346
+ 'paramsType': {
347
+ 'UserName': 'String',
348
+ 'Password': 'String',
349
+ 'PasswordResetRequired': 'Boolean',
350
+ 'OpenLoginProtection': 'Boolean',
351
+ 'OpenSecurityProtection': 'Boolean',
352
+ 'ViewAllProject': 'Boolean'
353
+ }
354
+ },
355
+ 'GetLoginProfile': {
356
+ 'url': '/',
357
+ 'method': 'POST',
358
+ 'config': {
359
+ 'query': {
360
+ 'Version': '2015-11-01',
361
+ 'Action': 'GetLoginProfile'
362
+ },
363
+ 'headers': {
364
+ 'Content-Type': 'application/x-www-form-urlencoded'
365
+ }
366
+ },
367
+ 'paramsType': {
368
+ 'UserName': 'String'
369
+ }
370
+ },
371
+ 'CreateAccessKey': {
372
+ 'url': '/',
373
+ 'method': 'POST',
374
+ 'config': {
375
+ 'query': {
376
+ 'Version': '2015-11-01',
377
+ 'Action': 'CreateAccessKey'
378
+ },
379
+ 'headers': {
380
+ 'Content-Type': 'application/x-www-form-urlencoded'
381
+ }
382
+ },
383
+ 'paramsType': {
384
+ 'UserName': 'String'
385
+ }
386
+ },
387
+ 'ListAccessKeys': {
388
+ 'url': '/',
389
+ 'method': 'POST',
390
+ 'config': {
391
+ 'query': {
392
+ 'Version': '2015-11-01',
393
+ 'Action': 'ListAccessKeys'
394
+ },
395
+ 'headers': {
396
+ 'Content-Type': 'application/x-www-form-urlencoded'
397
+ }
398
+ },
399
+ 'paramsType': {
400
+ 'UserName': 'String'
401
+ }
402
+ },
403
+ 'UpdateAccessKey': {
404
+ 'url': '/',
405
+ 'method': 'POST',
406
+ 'config': {
407
+ 'query': {
408
+ 'Version': '2015-11-01',
409
+ 'Action': 'UpdateAccessKey'
410
+ },
411
+ 'headers': {
412
+ 'Content-Type': 'application/x-www-form-urlencoded'
413
+ }
414
+ },
415
+ 'paramsType': {
416
+ 'AccessKeyId': 'String',
417
+ 'UserName': 'String',
418
+ 'Status': 'String'
419
+ }
420
+ },
421
+ 'DeleteAccessKey': {
422
+ 'url': '/',
423
+ 'method': 'POST',
424
+ 'config': {
425
+ 'query': {
426
+ 'Version': '2015-11-01',
427
+ 'Action': 'DeleteAccessKey'
428
+ },
429
+ 'headers': {
430
+ 'Content-Type': 'application/x-www-form-urlencoded'
431
+ }
432
+ },
433
+ 'paramsType': {
434
+ 'UserName': 'String',
435
+ 'AccessKeyId': 'String'
436
+ }
437
+ },
438
+ 'CreateRole': {
439
+ 'url': '/',
440
+ 'method': 'POST',
441
+ 'config': {
442
+ 'query': {
443
+ 'Version': '2015-11-01',
444
+ 'Action': 'CreateRole'
445
+ },
446
+ 'headers': {
447
+ 'Content-Type': 'application/x-www-form-urlencoded'
448
+ }
449
+ },
450
+ 'paramsType': {
451
+ 'RoleName': 'String',
452
+ 'TrustAccounts': 'String',
453
+ 'Description': 'String'
454
+ }
455
+ },
456
+ 'DeleteRole': {
457
+ 'url': '/',
458
+ 'method': 'POST',
459
+ 'config': {
460
+ 'query': {
461
+ 'Version': '2015-11-01',
462
+ 'Action': 'DeleteRole'
463
+ },
464
+ 'headers': {
465
+ 'Content-Type': 'application/x-www-form-urlencoded'
466
+ }
467
+ },
468
+ 'paramsType': {
469
+ 'RoleName': 'String'
470
+ }
471
+ },
472
+ 'GetRole': {
473
+ 'url': '/',
474
+ 'method': 'POST',
475
+ 'config': {
476
+ 'query': {
477
+ 'Version': '2015-11-01',
478
+ 'Action': 'GetRole'
479
+ },
480
+ 'headers': {
481
+ 'Content-Type': 'application/x-www-form-urlencoded'
482
+ }
483
+ },
484
+ 'paramsType': {
485
+ 'RoleName': 'String'
486
+ }
487
+ },
488
+ 'ListRoles': {
489
+ 'url': '/',
490
+ 'method': 'POST',
491
+ 'config': {
492
+ 'query': {
493
+ 'Version': '2015-11-01',
494
+ 'Action': 'ListRoles'
495
+ },
496
+ 'headers': {
497
+ 'Content-Type': 'application/x-www-form-urlencoded'
498
+ }
499
+ },
500
+ 'paramsType': {
501
+ 'Marker': 'String',
502
+ 'MaxItems': 'Int'
503
+ }
504
+ },
505
+ 'AttachRolePolicy': {
506
+ 'url': '/',
507
+ 'method': 'POST',
508
+ 'config': {
509
+ 'query': {
510
+ 'Version': '2015-11-01',
511
+ 'Action': 'AttachRolePolicy'
512
+ },
513
+ 'headers': {
514
+ 'Content-Type': 'application/x-www-form-urlencoded'
515
+ }
516
+ },
517
+ 'paramsType': {
518
+ 'RoleName': 'String',
519
+ 'PolicyKrn': 'String'
520
+ }
521
+ },
522
+ 'DetachRolePolicy': {
523
+ 'url': '/',
524
+ 'method': 'POST',
525
+ 'config': {
526
+ 'query': {
527
+ 'Version': '2015-11-01',
528
+ 'Action': 'DetachRolePolicy'
529
+ },
530
+ 'headers': {
531
+ 'Content-Type': 'application/x-www-form-urlencoded'
532
+ }
533
+ },
534
+ 'paramsType': {
535
+ 'RoleName': 'String',
536
+ 'PolicyKrn': 'String'
537
+ }
538
+ },
539
+ 'ListAttachedRolePolicies': {
540
+ 'url': '/',
541
+ 'method': 'POST',
542
+ 'config': {
543
+ 'query': {
544
+ 'Version': '2015-11-01',
545
+ 'Action': 'ListAttachedRolePolicies'
546
+ },
547
+ 'headers': {
548
+ 'Content-Type': 'application/x-www-form-urlencoded'
549
+ }
550
+ },
551
+ 'paramsType': {
552
+ 'RoleName': 'String',
553
+ 'Marker': 'String',
554
+ 'MaxItems': 'Int'
555
+ }
556
+ },
557
+ 'UpdateRoleTrustAccounts': {
558
+ 'url': '/',
559
+ 'method': 'POST',
560
+ 'config': {
561
+ 'query': {
562
+ 'Version': '2015-11-01',
563
+ 'Action': 'UpdateRoleTrustAccounts'
564
+ },
565
+ 'headers': {
566
+ 'Content-Type': 'application/x-www-form-urlencoded'
567
+ }
568
+ },
569
+ 'paramsType': {
570
+ 'RoleName': 'String',
571
+ 'NewTrustAccounts': 'String'
572
+ }
573
+ },
574
+ 'ListEntityForPolicy': {
575
+ 'url': '/',
576
+ 'method': 'POST',
577
+ 'config': {
578
+ 'query': {
579
+ 'Version': '2015-11-01',
580
+ 'Action': 'ListEntityForPolicy'
581
+ },
582
+ 'headers': {
583
+ 'Content-Type': 'application/x-www-form-urlencoded'
584
+ }
585
+ },
586
+ 'paramsType': {
587
+ 'PolicyKrn': 'String',
588
+ 'Marker': 'String',
589
+ 'MaxItems': 'Int'
590
+ }
591
+ },
592
+ 'CreateProject': {
593
+ 'url': '/',
594
+ 'method': 'POST',
595
+ 'config': {
596
+ 'query': {
597
+ 'Version': '2015-11-01',
598
+ 'Action': 'CreateProject'
599
+ },
600
+ 'headers': {
601
+ 'Content-Type': 'application/x-www-form-urlencoded'
602
+ }
603
+ },
604
+ 'paramsType': {
605
+ 'ProjectName': 'String',
606
+ 'ProjectDesc': 'String'
607
+ }
608
+ },
609
+ 'ListEntitiesForPolicy': {
610
+ 'url': '/',
611
+ 'method': 'GET',
612
+ 'config': {
613
+ 'query': {
614
+ 'Version': '2015-11-01',
615
+ 'Action': 'ListEntitiesForPolicy'
616
+ },
617
+ 'headers': {
618
+ 'Content-Type': 'application/json'
619
+ }
620
+ },
621
+ 'paramsType': {
622
+ 'PolicyKrn': 'String',
623
+ 'MaxItems': 'Int',
624
+ 'Marker': 'String'
625
+ }
626
+ },
627
+ 'ListProjectMember': {
628
+ 'url': '/',
629
+ 'method': 'POST',
630
+ 'config': {
631
+ 'query': {
632
+ 'Version': '2015-11-01',
633
+ 'Action': 'ListProjectMember'
634
+ },
635
+ 'headers': {
636
+ 'Content-Type': 'application/x-www-form-urlencoded'
637
+ }
638
+ },
639
+ 'paramsType': {
640
+ 'ProjectId': 'Int'
641
+ }
642
+ },
643
+ 'DeleteProjectMember': {
644
+ 'url': '/',
645
+ 'method': 'POST',
646
+ 'config': {
647
+ 'query': {
648
+ 'Version': '2015-11-01',
649
+ 'Action': 'DeleteProjectMember'
650
+ },
651
+ 'headers': {
652
+ 'Content-Type': 'application/x-www-form-urlencoded'
653
+ }
654
+ },
655
+ 'paramsType': {
656
+ 'ProjectId': 'Int',
657
+ 'MemberIds': 'String'
658
+ }
659
+ },
660
+ 'AddProjectMember': {
661
+ 'url': '/',
662
+ 'method': 'POST',
663
+ 'config': {
664
+ 'query': {
665
+ 'Version': '2015-11-01',
666
+ 'Action': 'AddProjectMember'
667
+ },
668
+ 'headers': {
669
+ 'Content-Type': 'application/x-www-form-urlencoded'
670
+ }
671
+ },
672
+ 'paramsType': {
673
+ 'ProjectId': 'Int',
674
+ 'IdentityId': 'String',
675
+ 'IdentityType': 'Int'
676
+ }
677
+ },
678
+ 'UpdateRole': {
679
+ 'url': '/',
680
+ 'method': 'POST',
681
+ 'config': {
682
+ 'query': {
683
+ 'Version': '2015-11-01',
684
+ 'Action': 'UpdateRole'
685
+ },
686
+ 'headers': {
687
+ 'Content-Type': 'application/x-www-form-urlencoded'
688
+ }
689
+ },
690
+ 'paramsType': {
691
+ 'RoleName': 'String',
692
+ 'NewDescription': 'String'
693
+ }
694
+ },
695
+ 'UpdatePolicy': {
696
+ 'url': '/',
697
+ 'method': 'POST',
698
+ 'config': {
699
+ 'query': {
700
+ 'Version': '2015-11-01',
701
+ 'Action': 'UpdatePolicy'
702
+ },
703
+ 'headers': {
704
+ 'Content-Type': 'application/x-www-form-urlencoded'
705
+ }
706
+ },
707
+ 'paramsType': {
708
+ 'PolicyKrn': 'String',
709
+ 'NewDescription': 'String'
710
+ }
711
+ },
712
+ 'CreateGroup': {
713
+ 'url': '/',
714
+ 'method': 'POST',
715
+ 'config': {
716
+ 'query': {
717
+ 'Version': '2015-11-01',
718
+ 'Action': 'CreateGroup'
719
+ },
720
+ 'headers': {
721
+ 'Content-Type': 'application/x-www-form-urlencoded'
722
+ }
723
+ },
724
+ 'paramsType': {
725
+ 'GroupName': 'String',
726
+ 'Description': 'String'
727
+ }
728
+ },
729
+ 'DeleteGroup': {
730
+ 'url': '/',
731
+ 'method': 'POST',
732
+ 'config': {
733
+ 'query': {
734
+ 'Version': '2015-11-01',
735
+ 'Action': 'DeleteGroup'
736
+ },
737
+ 'headers': {
738
+ 'Content-Type': 'application/x-www-form-urlencoded'
739
+ }
740
+ },
741
+ 'paramsType': {
742
+ 'GroupName': 'String'
743
+ }
744
+ },
745
+ 'DetachGroupPolicy': {
746
+ 'url': '/',
747
+ 'method': 'POST',
748
+ 'config': {
749
+ 'query': {
750
+ 'Version': '2015-11-01',
751
+ 'Action': 'DetachGroupPolicy'
752
+ },
753
+ 'headers': {
754
+ 'Content-Type': 'application/x-www-form-urlencoded'
755
+ }
756
+ },
757
+ 'paramsType': {
758
+ 'GroupName': 'String',
759
+ 'PolicyKrn': 'String'
760
+ }
761
+ },
762
+ 'AttachGroupPolicy': {
763
+ 'url': '/',
764
+ 'method': 'POST',
765
+ 'config': {
766
+ 'query': {
767
+ 'Version': '2015-11-01',
768
+ 'Action': 'AttachGroupPolicy'
769
+ },
770
+ 'headers': {
771
+ 'Content-Type': 'application/x-www-form-urlencoded'
772
+ }
773
+ },
774
+ 'paramsType': {
775
+ 'GroupName': 'String',
776
+ 'PolicyKrn': 'String'
777
+ }
778
+ },
779
+ 'ListGroupPolicies': {
780
+ 'url': '/',
781
+ 'method': 'POST',
782
+ 'config': {
783
+ 'query': {
784
+ 'Version': '2015-11-01',
785
+ 'Action': 'ListGroupPolicies'
786
+ },
787
+ 'headers': {
788
+ 'Content-Type': 'application/x-www-form-urlencoded'
789
+ }
790
+ },
791
+ 'paramsType': {
792
+ 'GroupName': 'String',
793
+ 'MaxItems': 'String',
794
+ 'Marker': 'String'
795
+ }
796
+ },
797
+ 'AddUserToGroup': {
798
+ 'url': '/',
799
+ 'method': 'POST',
800
+ 'config': {
801
+ 'query': {
802
+ 'Version': '2015-11-01',
803
+ 'Action': 'AddUserToGroup'
804
+ },
805
+ 'headers': {
806
+ 'Content-Type': 'application/x-www-form-urlencoded'
807
+ }
808
+ },
809
+ 'paramsType': {
810
+ 'GroupName': 'String',
811
+ 'UserName': 'String'
812
+ }
813
+ },
814
+ 'GetGroup': {
815
+ 'url': '/',
816
+ 'method': 'POST',
817
+ 'config': {
818
+ 'query': {
819
+ 'Version': '2015-11-01',
820
+ 'Action': 'GetGroup'
821
+ },
822
+ 'headers': {
823
+ 'Content-Type': 'application/x-www-form-urlencoded'
824
+ }
825
+ },
826
+ 'paramsType': {
827
+ 'GroupName': 'String',
828
+ 'MaxItems': 'String',
829
+ 'Marker': 'String'
830
+ }
831
+ },
832
+ 'ListGroupsForUser': {
833
+ 'url': '/',
834
+ 'method': 'POST',
835
+ 'config': {
836
+ 'query': {
837
+ 'Version': '2015-11-01',
838
+ 'Action': 'ListGroupsForUser'
839
+ },
840
+ 'headers': {
841
+ 'Content-Type': 'application/x-www-form-urlencoded'
842
+ }
843
+ },
844
+ 'paramsType': {
845
+ 'UserName': 'String',
846
+ 'MaxItems': 'String',
847
+ 'Marker': 'String'
848
+ }
849
+ },
850
+ 'ListGroups': {
851
+ 'url': '/',
852
+ 'method': 'POST',
853
+ 'config': {
854
+ 'query': {
855
+ 'Version': '2015-11-01',
856
+ 'Action': 'ListGroups'
857
+ },
858
+ 'headers': {
859
+ 'Content-Type': 'application/x-www-form-urlencoded'
860
+ }
861
+ },
862
+ 'paramsType': {
863
+ 'MaxItems': 'String',
864
+ 'Marker': 'String'
865
+ }
866
+ },
867
+ 'RemoveUserFromGroup': {
868
+ 'url': '/',
869
+ 'method': 'POST',
870
+ 'config': {
871
+ 'query': {
872
+ 'Version': '2015-11-01',
873
+ 'Action': 'RemoveUserFromGroup'
874
+ },
875
+ 'headers': {
876
+ 'Content-Type': 'application/x-www-form-urlencoded'
877
+ }
878
+ },
879
+ 'paramsType': {
880
+ 'GroupName': 'String',
881
+ 'UserName': 'String'
882
+ }
883
+ }
884
+ });
885
+ }
886
+
887
+ };