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