tencentcloud-sdk-nodejs 4.0.474 → 4.0.476
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 +233 -0
- package/SERVICE_CHANGELOG.md +559 -95
- package/package.json +1 -1
- package/products.md +26 -26
- package/src/common/sdk_version.ts +1 -1
- package/src/services/as/v20180419/as_models.ts +2 -2
- package/src/services/bma/v20210624/bma_models.ts +40 -0
- package/src/services/cam/v20190116/cam_client.ts +534 -496
- package/src/services/cam/v20190116/cam_models.ts +133 -27
- package/src/services/cls/v20201016/cls_client.ts +37 -13
- package/src/services/cls/v20201016/cls_models.ts +226 -174
- package/src/services/cwp/v20180228/cwp_models.ts +22 -1
- package/src/services/dasb/v20191018/dasb_models.ts +7 -7
- package/src/services/dcdb/v20180411/dcdb_client.ts +12 -0
- package/src/services/dcdb/v20180411/dcdb_models.ts +25 -0
- package/src/services/dts/v20211206/dts_client.ts +4 -4
- package/src/services/emr/v20190103/emr_models.ts +4 -2
- package/src/services/ess/v20201111/ess_models.ts +23 -15
- package/src/services/essbasic/v20210526/essbasic_models.ts +8 -0
- package/src/services/mariadb/v20170312/mariadb_client.ts +42 -18
- package/src/services/mariadb/v20170312/mariadb_models.ts +55 -0
- package/src/services/mps/v20190612/mps_client.ts +327 -52
- package/src/services/mps/v20190612/mps_models.ts +2669 -542
- package/src/services/pts/v20210728/pts_models.ts +12 -0
- package/src/services/redis/v20180412/redis_models.ts +8 -2
- package/src/services/soe/v20180724/soe_models.ts +38 -35
- package/src/services/ssl/v20191205/ssl_models.ts +1 -1
- package/src/services/tag/v20180813/tag_client.ts +1 -1
- package/src/services/tcr/v20190924/tcr_models.ts +5 -0
- package/src/services/tdmq/v20200217/tdmq_models.ts +6 -0
- package/src/services/teo/v20220901/teo_client.ts +73 -12
- package/src/services/teo/v20220901/teo_models.ts +418 -166
- package/src/services/thpc/v20220401/thpc_models.ts +5 -0
- package/src/services/tiia/v20190529/tiia_client.ts +22 -24
- package/src/services/tiia/v20190529/tiia_models.ts +19 -19
- package/src/services/trtc/v20190722/trtc_client.ts +76 -1
- package/src/services/trtc/v20190722/trtc_models.ts +215 -7
- package/src/services/vod/v20180717/vod_models.ts +5 -0
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/as/v20180419/as_models.d.ts +2 -2
- package/tencentcloud/services/bma/v20210624/bma_models.d.ts +32 -0
- package/tencentcloud/services/cam/v20190116/cam_client.d.ts +177 -164
- package/tencentcloud/services/cam/v20190116/cam_client.js +263 -244
- package/tencentcloud/services/cam/v20190116/cam_models.d.ts +116 -24
- package/tencentcloud/services/cls/v20201016/cls_client.d.ts +11 -3
- package/tencentcloud/services/cls/v20201016/cls_client.js +15 -3
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +205 -159
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +18 -1
- package/tencentcloud/services/dasb/v20191018/dasb_models.d.ts +7 -7
- package/tencentcloud/services/dcdb/v20180411/dcdb_client.d.ts +5 -1
- package/tencentcloud/services/dcdb/v20180411/dcdb_client.js +6 -0
- package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +22 -0
- package/tencentcloud/services/dts/v20211206/dts_client.d.ts +4 -4
- package/tencentcloud/services/dts/v20211206/dts_client.js +4 -4
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +3 -1
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +20 -13
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +7 -0
- package/tencentcloud/services/mariadb/v20170312/mariadb_client.d.ts +15 -7
- package/tencentcloud/services/mariadb/v20170312/mariadb_client.js +21 -9
- package/tencentcloud/services/mariadb/v20170312/mariadb_models.d.ts +48 -0
- package/tencentcloud/services/mps/v20190612/mps_client.d.ts +89 -15
- package/tencentcloud/services/mps/v20190612/mps_client.js +127 -17
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +2281 -477
- package/tencentcloud/services/pts/v20210728/pts_models.d.ts +10 -0
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +7 -2
- package/tencentcloud/services/soe/v20180724/soe_models.d.ts +35 -32
- package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +1 -1
- package/tencentcloud/services/tag/v20180813/tag_client.d.ts +1 -1
- package/tencentcloud/services/tag/v20180813/tag_client.js +1 -1
- package/tencentcloud/services/tcr/v20190924/tcr_models.d.ts +4 -0
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +5 -0
- package/tencentcloud/services/teo/v20220901/teo_client.d.ts +23 -3
- package/tencentcloud/services/teo/v20220901/teo_client.js +33 -3
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +359 -142
- package/tencentcloud/services/thpc/v20220401/thpc_models.d.ts +4 -0
- package/tencentcloud/services/tiia/v20190529/tiia_client.d.ts +19 -21
- package/tencentcloud/services/tiia/v20190529/tiia_client.js +19 -21
- package/tencentcloud/services/tiia/v20190529/tiia_models.d.ts +17 -17
- package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +42 -1
- package/tencentcloud/services/trtc/v20190722/trtc_client.js +49 -0
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +185 -6
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +4 -0
- package/test/cam.v20190116.test.js +192 -162
- package/test/cls.v20201016.test.js +22 -2
- package/test/dcdb.v20180411.test.js +10 -0
- package/test/mariadb.v20170312.test.js +26 -6
- package/test/mps.v20190612.test.js +186 -6
- package/test/teo.v20220901.test.js +52 -2
- package/test/trtc.v20190722.test.js +40 -0
|
@@ -18,9 +18,9 @@ const client = new tencentcloud.cam.v20190116.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("cam.v20190116.test.js", function () {
|
|
20
20
|
|
|
21
|
-
it("cam.v20190116.
|
|
21
|
+
it("cam.v20190116.AddUser", async function () {
|
|
22
22
|
try {
|
|
23
|
-
const data = await client.
|
|
23
|
+
const data = await client.AddUser({})
|
|
24
24
|
expect(data).to.be.ok
|
|
25
25
|
} catch(error) {
|
|
26
26
|
expect(error.requestId).to.be.ok
|
|
@@ -28,9 +28,9 @@ it("cam.v20190116.GetUserAppId", async function () {
|
|
|
28
28
|
}
|
|
29
29
|
})
|
|
30
30
|
|
|
31
|
-
it("cam.v20190116.
|
|
31
|
+
it("cam.v20190116.CreateServiceLinkedRole", async function () {
|
|
32
32
|
try {
|
|
33
|
-
const data = await client.
|
|
33
|
+
const data = await client.CreateServiceLinkedRole({})
|
|
34
34
|
expect(data).to.be.ok
|
|
35
35
|
} catch(error) {
|
|
36
36
|
expect(error.requestId).to.be.ok
|
|
@@ -38,9 +38,9 @@ it("cam.v20190116.SetMfaFlag", async function () {
|
|
|
38
38
|
}
|
|
39
39
|
})
|
|
40
40
|
|
|
41
|
-
it("cam.v20190116.
|
|
41
|
+
it("cam.v20190116.GetUserPermissionBoundary", async function () {
|
|
42
42
|
try {
|
|
43
|
-
const data = await client.
|
|
43
|
+
const data = await client.GetUserPermissionBoundary({})
|
|
44
44
|
expect(data).to.be.ok
|
|
45
45
|
} catch(error) {
|
|
46
46
|
expect(error.requestId).to.be.ok
|
|
@@ -48,9 +48,9 @@ it("cam.v20190116.UpdateRoleConsoleLogin", async function () {
|
|
|
48
48
|
}
|
|
49
49
|
})
|
|
50
50
|
|
|
51
|
-
it("cam.v20190116.
|
|
51
|
+
it("cam.v20190116.GetAccountSummary", async function () {
|
|
52
52
|
try {
|
|
53
|
-
const data = await client.
|
|
53
|
+
const data = await client.GetAccountSummary({})
|
|
54
54
|
expect(data).to.be.ok
|
|
55
55
|
} catch(error) {
|
|
56
56
|
expect(error.requestId).to.be.ok
|
|
@@ -58,9 +58,9 @@ it("cam.v20190116.CreateGroup", async function () {
|
|
|
58
58
|
}
|
|
59
59
|
})
|
|
60
60
|
|
|
61
|
-
it("cam.v20190116.
|
|
61
|
+
it("cam.v20190116.DeleteRolePermissionsBoundary", async function () {
|
|
62
62
|
try {
|
|
63
|
-
const data = await client.
|
|
63
|
+
const data = await client.DeleteRolePermissionsBoundary({})
|
|
64
64
|
expect(data).to.be.ok
|
|
65
65
|
} catch(error) {
|
|
66
66
|
expect(error.requestId).to.be.ok
|
|
@@ -68,9 +68,9 @@ it("cam.v20190116.DeleteServiceLinkedRole", async function () {
|
|
|
68
68
|
}
|
|
69
69
|
})
|
|
70
70
|
|
|
71
|
-
it("cam.v20190116.
|
|
71
|
+
it("cam.v20190116.ListAttachedGroupPolicies", async function () {
|
|
72
72
|
try {
|
|
73
|
-
const data = await client.
|
|
73
|
+
const data = await client.ListAttachedGroupPolicies({})
|
|
74
74
|
expect(data).to.be.ok
|
|
75
75
|
} catch(error) {
|
|
76
76
|
expect(error.requestId).to.be.ok
|
|
@@ -78,9 +78,9 @@ it("cam.v20190116.AddUser", async function () {
|
|
|
78
78
|
}
|
|
79
79
|
})
|
|
80
80
|
|
|
81
|
-
it("cam.v20190116.
|
|
81
|
+
it("cam.v20190116.ConsumeCustomMFAToken", async function () {
|
|
82
82
|
try {
|
|
83
|
-
const data = await client.
|
|
83
|
+
const data = await client.ConsumeCustomMFAToken({})
|
|
84
84
|
expect(data).to.be.ok
|
|
85
85
|
} catch(error) {
|
|
86
86
|
expect(error.requestId).to.be.ok
|
|
@@ -88,9 +88,9 @@ it("cam.v20190116.CreateServiceLinkedRole", async function () {
|
|
|
88
88
|
}
|
|
89
89
|
})
|
|
90
90
|
|
|
91
|
-
it("cam.v20190116.
|
|
91
|
+
it("cam.v20190116.UpdateUser", async function () {
|
|
92
92
|
try {
|
|
93
|
-
const data = await client.
|
|
93
|
+
const data = await client.UpdateUser({})
|
|
94
94
|
expect(data).to.be.ok
|
|
95
95
|
} catch(error) {
|
|
96
96
|
expect(error.requestId).to.be.ok
|
|
@@ -98,9 +98,9 @@ it("cam.v20190116.GetSAMLProvider", async function () {
|
|
|
98
98
|
}
|
|
99
99
|
})
|
|
100
100
|
|
|
101
|
-
it("cam.v20190116.
|
|
101
|
+
it("cam.v20190116.GetCustomMFATokenInfo", async function () {
|
|
102
102
|
try {
|
|
103
|
-
const data = await client.
|
|
103
|
+
const data = await client.GetCustomMFATokenInfo({})
|
|
104
104
|
expect(data).to.be.ok
|
|
105
105
|
} catch(error) {
|
|
106
106
|
expect(error.requestId).to.be.ok
|
|
@@ -108,9 +108,9 @@ it("cam.v20190116.ListSAMLProviders", async function () {
|
|
|
108
108
|
}
|
|
109
109
|
})
|
|
110
110
|
|
|
111
|
-
it("cam.v20190116.
|
|
111
|
+
it("cam.v20190116.GetUser", async function () {
|
|
112
112
|
try {
|
|
113
|
-
const data = await client.
|
|
113
|
+
const data = await client.GetUser({})
|
|
114
114
|
expect(data).to.be.ok
|
|
115
115
|
} catch(error) {
|
|
116
116
|
expect(error.requestId).to.be.ok
|
|
@@ -118,9 +118,9 @@ it("cam.v20190116.CreateRole", async function () {
|
|
|
118
118
|
}
|
|
119
119
|
})
|
|
120
120
|
|
|
121
|
-
it("cam.v20190116.
|
|
121
|
+
it("cam.v20190116.DeleteUserPermissionsBoundary", async function () {
|
|
122
122
|
try {
|
|
123
|
-
const data = await client.
|
|
123
|
+
const data = await client.DeleteUserPermissionsBoundary({})
|
|
124
124
|
expect(data).to.be.ok
|
|
125
125
|
} catch(error) {
|
|
126
126
|
expect(error.requestId).to.be.ok
|
|
@@ -128,9 +128,9 @@ it("cam.v20190116.UpdateUserOIDCConfig", async function () {
|
|
|
128
128
|
}
|
|
129
129
|
})
|
|
130
130
|
|
|
131
|
-
it("cam.v20190116.
|
|
131
|
+
it("cam.v20190116.GetServiceLinkedRoleDeletionStatus", async function () {
|
|
132
132
|
try {
|
|
133
|
-
const data = await client.
|
|
133
|
+
const data = await client.GetServiceLinkedRoleDeletionStatus({})
|
|
134
134
|
expect(data).to.be.ok
|
|
135
135
|
} catch(error) {
|
|
136
136
|
expect(error.requestId).to.be.ok
|
|
@@ -138,9 +138,9 @@ it("cam.v20190116.PutRolePermissionsBoundary", async function () {
|
|
|
138
138
|
}
|
|
139
139
|
})
|
|
140
140
|
|
|
141
|
-
it("cam.v20190116.
|
|
141
|
+
it("cam.v20190116.DescribeUserOIDCConfig", async function () {
|
|
142
142
|
try {
|
|
143
|
-
const data = await client.
|
|
143
|
+
const data = await client.DescribeUserOIDCConfig({})
|
|
144
144
|
expect(data).to.be.ok
|
|
145
145
|
} catch(error) {
|
|
146
146
|
expect(error.requestId).to.be.ok
|
|
@@ -148,9 +148,9 @@ it("cam.v20190116.ListUsers", async function () {
|
|
|
148
148
|
}
|
|
149
149
|
})
|
|
150
150
|
|
|
151
|
-
it("cam.v20190116.
|
|
151
|
+
it("cam.v20190116.CreateAccessKey", async function () {
|
|
152
152
|
try {
|
|
153
|
-
const data = await client.
|
|
153
|
+
const data = await client.CreateAccessKey({})
|
|
154
154
|
expect(data).to.be.ok
|
|
155
155
|
} catch(error) {
|
|
156
156
|
expect(error.requestId).to.be.ok
|
|
@@ -158,9 +158,9 @@ it("cam.v20190116.ListAttachedRolePolicies", async function () {
|
|
|
158
158
|
}
|
|
159
159
|
})
|
|
160
160
|
|
|
161
|
-
it("cam.v20190116.
|
|
161
|
+
it("cam.v20190116.DeleteUser", async function () {
|
|
162
162
|
try {
|
|
163
|
-
const data = await client.
|
|
163
|
+
const data = await client.DeleteUser({})
|
|
164
164
|
expect(data).to.be.ok
|
|
165
165
|
} catch(error) {
|
|
166
166
|
expect(error.requestId).to.be.ok
|
|
@@ -168,9 +168,9 @@ it("cam.v20190116.DeletePolicy", async function () {
|
|
|
168
168
|
}
|
|
169
169
|
})
|
|
170
170
|
|
|
171
|
-
it("cam.v20190116.
|
|
171
|
+
it("cam.v20190116.UpdateRoleDescription", async function () {
|
|
172
172
|
try {
|
|
173
|
-
const data = await client.
|
|
173
|
+
const data = await client.UpdateRoleDescription({})
|
|
174
174
|
expect(data).to.be.ok
|
|
175
175
|
} catch(error) {
|
|
176
176
|
expect(error.requestId).to.be.ok
|
|
@@ -178,9 +178,9 @@ it("cam.v20190116.DeleteRolePermissionsBoundary", async function () {
|
|
|
178
178
|
}
|
|
179
179
|
})
|
|
180
180
|
|
|
181
|
-
it("cam.v20190116.
|
|
181
|
+
it("cam.v20190116.UpdateSAMLProvider", async function () {
|
|
182
182
|
try {
|
|
183
|
-
const data = await client.
|
|
183
|
+
const data = await client.UpdateSAMLProvider({})
|
|
184
184
|
expect(data).to.be.ok
|
|
185
185
|
} catch(error) {
|
|
186
186
|
expect(error.requestId).to.be.ok
|
|
@@ -188,9 +188,9 @@ it("cam.v20190116.DescribeUserSAMLConfig", async function () {
|
|
|
188
188
|
}
|
|
189
189
|
})
|
|
190
190
|
|
|
191
|
-
it("cam.v20190116.
|
|
191
|
+
it("cam.v20190116.UntagRole", async function () {
|
|
192
192
|
try {
|
|
193
|
-
const data = await client.
|
|
193
|
+
const data = await client.UntagRole({})
|
|
194
194
|
expect(data).to.be.ok
|
|
195
195
|
} catch(error) {
|
|
196
196
|
expect(error.requestId).to.be.ok
|
|
@@ -198,9 +198,9 @@ it("cam.v20190116.DeletePolicyVersion", async function () {
|
|
|
198
198
|
}
|
|
199
199
|
})
|
|
200
200
|
|
|
201
|
-
it("cam.v20190116.
|
|
201
|
+
it("cam.v20190116.DescribeSubAccounts", async function () {
|
|
202
202
|
try {
|
|
203
|
-
const data = await client.
|
|
203
|
+
const data = await client.DescribeSubAccounts({})
|
|
204
204
|
expect(data).to.be.ok
|
|
205
205
|
} catch(error) {
|
|
206
206
|
expect(error.requestId).to.be.ok
|
|
@@ -208,9 +208,9 @@ it("cam.v20190116.DetachRolePolicy", async function () {
|
|
|
208
208
|
}
|
|
209
209
|
})
|
|
210
210
|
|
|
211
|
-
it("cam.v20190116.
|
|
211
|
+
it("cam.v20190116.RemoveUserFromGroup", async function () {
|
|
212
212
|
try {
|
|
213
|
-
const data = await client.
|
|
213
|
+
const data = await client.RemoveUserFromGroup({})
|
|
214
214
|
expect(data).to.be.ok
|
|
215
215
|
} catch(error) {
|
|
216
216
|
expect(error.requestId).to.be.ok
|
|
@@ -218,9 +218,9 @@ it("cam.v20190116.TagRole", async function () {
|
|
|
218
218
|
}
|
|
219
219
|
})
|
|
220
220
|
|
|
221
|
-
it("cam.v20190116.
|
|
221
|
+
it("cam.v20190116.ListSAMLProviders", async function () {
|
|
222
222
|
try {
|
|
223
|
-
const data = await client.
|
|
223
|
+
const data = await client.ListSAMLProviders({})
|
|
224
224
|
expect(data).to.be.ok
|
|
225
225
|
} catch(error) {
|
|
226
226
|
expect(error.requestId).to.be.ok
|
|
@@ -228,9 +228,9 @@ it("cam.v20190116.SetDefaultPolicyVersion", async function () {
|
|
|
228
228
|
}
|
|
229
229
|
})
|
|
230
230
|
|
|
231
|
-
it("cam.v20190116.
|
|
231
|
+
it("cam.v20190116.ListUsersForGroup", async function () {
|
|
232
232
|
try {
|
|
233
|
-
const data = await client.
|
|
233
|
+
const data = await client.ListUsersForGroup({})
|
|
234
234
|
expect(data).to.be.ok
|
|
235
235
|
} catch(error) {
|
|
236
236
|
expect(error.requestId).to.be.ok
|
|
@@ -238,9 +238,9 @@ it("cam.v20190116.DescribeRoleList", async function () {
|
|
|
238
238
|
}
|
|
239
239
|
})
|
|
240
240
|
|
|
241
|
-
it("cam.v20190116.
|
|
241
|
+
it("cam.v20190116.UpdateUserSAMLConfig", async function () {
|
|
242
242
|
try {
|
|
243
|
-
const data = await client.
|
|
243
|
+
const data = await client.UpdateUserSAMLConfig({})
|
|
244
244
|
expect(data).to.be.ok
|
|
245
245
|
} catch(error) {
|
|
246
246
|
expect(error.requestId).to.be.ok
|
|
@@ -248,9 +248,9 @@ it("cam.v20190116.CreateSAMLProvider", async function () {
|
|
|
248
248
|
}
|
|
249
249
|
})
|
|
250
250
|
|
|
251
|
-
it("cam.v20190116.
|
|
251
|
+
it("cam.v20190116.CreateUserOIDCConfig", async function () {
|
|
252
252
|
try {
|
|
253
|
-
const data = await client.
|
|
253
|
+
const data = await client.CreateUserOIDCConfig({})
|
|
254
254
|
expect(data).to.be.ok
|
|
255
255
|
} catch(error) {
|
|
256
256
|
expect(error.requestId).to.be.ok
|
|
@@ -258,9 +258,9 @@ it("cam.v20190116.DeleteSAMLProvider", async function () {
|
|
|
258
258
|
}
|
|
259
259
|
})
|
|
260
260
|
|
|
261
|
-
it("cam.v20190116.
|
|
261
|
+
it("cam.v20190116.DeleteAccessKey", async function () {
|
|
262
262
|
try {
|
|
263
|
-
const data = await client.
|
|
263
|
+
const data = await client.DeleteAccessKey({})
|
|
264
264
|
expect(data).to.be.ok
|
|
265
265
|
} catch(error) {
|
|
266
266
|
expect(error.requestId).to.be.ok
|
|
@@ -268,9 +268,9 @@ it("cam.v20190116.UpdateUser", async function () {
|
|
|
268
268
|
}
|
|
269
269
|
})
|
|
270
270
|
|
|
271
|
-
it("cam.v20190116.
|
|
271
|
+
it("cam.v20190116.GetUserAppId", async function () {
|
|
272
272
|
try {
|
|
273
|
-
const data = await client.
|
|
273
|
+
const data = await client.GetUserAppId({})
|
|
274
274
|
expect(data).to.be.ok
|
|
275
275
|
} catch(error) {
|
|
276
276
|
expect(error.requestId).to.be.ok
|
|
@@ -278,9 +278,9 @@ it("cam.v20190116.CreateUserOIDCConfig", async function () {
|
|
|
278
278
|
}
|
|
279
279
|
})
|
|
280
280
|
|
|
281
|
-
it("cam.v20190116.
|
|
281
|
+
it("cam.v20190116.PutRolePermissionsBoundary", async function () {
|
|
282
282
|
try {
|
|
283
|
-
const data = await client.
|
|
283
|
+
const data = await client.PutRolePermissionsBoundary({})
|
|
284
284
|
expect(data).to.be.ok
|
|
285
285
|
} catch(error) {
|
|
286
286
|
expect(error.requestId).to.be.ok
|
|
@@ -288,9 +288,9 @@ it("cam.v20190116.GetPolicy", async function () {
|
|
|
288
288
|
}
|
|
289
289
|
})
|
|
290
290
|
|
|
291
|
-
it("cam.v20190116.
|
|
291
|
+
it("cam.v20190116.DeleteServiceLinkedRole", async function () {
|
|
292
292
|
try {
|
|
293
|
-
const data = await client.
|
|
293
|
+
const data = await client.DeleteServiceLinkedRole({})
|
|
294
294
|
expect(data).to.be.ok
|
|
295
295
|
} catch(error) {
|
|
296
296
|
expect(error.requestId).to.be.ok
|
|
@@ -298,9 +298,9 @@ it("cam.v20190116.GetRolePermissionBoundary", async function () {
|
|
|
298
298
|
}
|
|
299
299
|
})
|
|
300
300
|
|
|
301
|
-
it("cam.v20190116.
|
|
301
|
+
it("cam.v20190116.ListUsers", async function () {
|
|
302
302
|
try {
|
|
303
|
-
const data = await client.
|
|
303
|
+
const data = await client.ListUsers({})
|
|
304
304
|
expect(data).to.be.ok
|
|
305
305
|
} catch(error) {
|
|
306
306
|
expect(error.requestId).to.be.ok
|
|
@@ -308,9 +308,9 @@ it("cam.v20190116.GetCustomMFATokenInfo", async function () {
|
|
|
308
308
|
}
|
|
309
309
|
})
|
|
310
310
|
|
|
311
|
-
it("cam.v20190116.
|
|
311
|
+
it("cam.v20190116.DescribeUserSAMLConfig", async function () {
|
|
312
312
|
try {
|
|
313
|
-
const data = await client.
|
|
313
|
+
const data = await client.DescribeUserSAMLConfig({})
|
|
314
314
|
expect(data).to.be.ok
|
|
315
315
|
} catch(error) {
|
|
316
316
|
expect(error.requestId).to.be.ok
|
|
@@ -318,9 +318,39 @@ it("cam.v20190116.ListAccessKeys", async function () {
|
|
|
318
318
|
}
|
|
319
319
|
})
|
|
320
320
|
|
|
321
|
-
it("cam.v20190116.
|
|
321
|
+
it("cam.v20190116.DetachRolePolicy", async function () {
|
|
322
322
|
try {
|
|
323
|
-
const data = await client.
|
|
323
|
+
const data = await client.DetachRolePolicy({})
|
|
324
|
+
expect(data).to.be.ok
|
|
325
|
+
} catch(error) {
|
|
326
|
+
expect(error.requestId).to.be.ok
|
|
327
|
+
expect(error.code).to.be.ok
|
|
328
|
+
}
|
|
329
|
+
})
|
|
330
|
+
|
|
331
|
+
it("cam.v20190116.DescribeRoleList", async function () {
|
|
332
|
+
try {
|
|
333
|
+
const data = await client.DescribeRoleList({})
|
|
334
|
+
expect(data).to.be.ok
|
|
335
|
+
} catch(error) {
|
|
336
|
+
expect(error.requestId).to.be.ok
|
|
337
|
+
expect(error.code).to.be.ok
|
|
338
|
+
}
|
|
339
|
+
})
|
|
340
|
+
|
|
341
|
+
it("cam.v20190116.CreateSAMLProvider", async function () {
|
|
342
|
+
try {
|
|
343
|
+
const data = await client.CreateSAMLProvider({})
|
|
344
|
+
expect(data).to.be.ok
|
|
345
|
+
} catch(error) {
|
|
346
|
+
expect(error.requestId).to.be.ok
|
|
347
|
+
expect(error.code).to.be.ok
|
|
348
|
+
}
|
|
349
|
+
})
|
|
350
|
+
|
|
351
|
+
it("cam.v20190116.DeleteOIDCConfig", async function () {
|
|
352
|
+
try {
|
|
353
|
+
const data = await client.DeleteOIDCConfig({})
|
|
324
354
|
expect(data).to.be.ok
|
|
325
355
|
} catch(error) {
|
|
326
356
|
expect(error.requestId).to.be.ok
|
|
@@ -348,9 +378,9 @@ it("cam.v20190116.DeleteRole", async function () {
|
|
|
348
378
|
}
|
|
349
379
|
})
|
|
350
380
|
|
|
351
|
-
it("cam.v20190116.
|
|
381
|
+
it("cam.v20190116.AttachGroupPolicy", async function () {
|
|
352
382
|
try {
|
|
353
|
-
const data = await client.
|
|
383
|
+
const data = await client.AttachGroupPolicy({})
|
|
354
384
|
expect(data).to.be.ok
|
|
355
385
|
} catch(error) {
|
|
356
386
|
expect(error.requestId).to.be.ok
|
|
@@ -358,9 +388,9 @@ it("cam.v20190116.GetUser", async function () {
|
|
|
358
388
|
}
|
|
359
389
|
})
|
|
360
390
|
|
|
361
|
-
it("cam.v20190116.
|
|
391
|
+
it("cam.v20190116.ListPoliciesGrantingServiceAccess", async function () {
|
|
362
392
|
try {
|
|
363
|
-
const data = await client.
|
|
393
|
+
const data = await client.ListPoliciesGrantingServiceAccess({})
|
|
364
394
|
expect(data).to.be.ok
|
|
365
395
|
} catch(error) {
|
|
366
396
|
expect(error.requestId).to.be.ok
|
|
@@ -368,9 +398,9 @@ it("cam.v20190116.DeleteUserPermissionsBoundary", async function () {
|
|
|
368
398
|
}
|
|
369
399
|
})
|
|
370
400
|
|
|
371
|
-
it("cam.v20190116.
|
|
401
|
+
it("cam.v20190116.UpdateAccessKey", async function () {
|
|
372
402
|
try {
|
|
373
|
-
const data = await client.
|
|
403
|
+
const data = await client.UpdateAccessKey({})
|
|
374
404
|
expect(data).to.be.ok
|
|
375
405
|
} catch(error) {
|
|
376
406
|
expect(error.requestId).to.be.ok
|
|
@@ -378,9 +408,9 @@ it("cam.v20190116.DescribeOIDCConfig", async function () {
|
|
|
378
408
|
}
|
|
379
409
|
})
|
|
380
410
|
|
|
381
|
-
it("cam.v20190116.
|
|
411
|
+
it("cam.v20190116.UpdatePolicy", async function () {
|
|
382
412
|
try {
|
|
383
|
-
const data = await client.
|
|
413
|
+
const data = await client.UpdatePolicy({})
|
|
384
414
|
expect(data).to.be.ok
|
|
385
415
|
} catch(error) {
|
|
386
416
|
expect(error.requestId).to.be.ok
|
|
@@ -388,9 +418,9 @@ it("cam.v20190116.ListAttachedGroupPolicies", async function () {
|
|
|
388
418
|
}
|
|
389
419
|
})
|
|
390
420
|
|
|
391
|
-
it("cam.v20190116.
|
|
421
|
+
it("cam.v20190116.ListAttachedUserPolicies", async function () {
|
|
392
422
|
try {
|
|
393
|
-
const data = await client.
|
|
423
|
+
const data = await client.ListAttachedUserPolicies({})
|
|
394
424
|
expect(data).to.be.ok
|
|
395
425
|
} catch(error) {
|
|
396
426
|
expect(error.requestId).to.be.ok
|
|
@@ -398,9 +428,9 @@ it("cam.v20190116.GetServiceLinkedRoleDeletionStatus", async function () {
|
|
|
398
428
|
}
|
|
399
429
|
})
|
|
400
430
|
|
|
401
|
-
it("cam.v20190116.
|
|
431
|
+
it("cam.v20190116.CreatePolicyVersion", async function () {
|
|
402
432
|
try {
|
|
403
|
-
const data = await client.
|
|
433
|
+
const data = await client.CreatePolicyVersion({})
|
|
404
434
|
expect(data).to.be.ok
|
|
405
435
|
} catch(error) {
|
|
406
436
|
expect(error.requestId).to.be.ok
|
|
@@ -408,9 +438,9 @@ it("cam.v20190116.DescribeUserOIDCConfig", async function () {
|
|
|
408
438
|
}
|
|
409
439
|
})
|
|
410
440
|
|
|
411
|
-
it("cam.v20190116.
|
|
441
|
+
it("cam.v20190116.ListCollaborators", async function () {
|
|
412
442
|
try {
|
|
413
|
-
const data = await client.
|
|
443
|
+
const data = await client.ListCollaborators({})
|
|
414
444
|
expect(data).to.be.ok
|
|
415
445
|
} catch(error) {
|
|
416
446
|
expect(error.requestId).to.be.ok
|
|
@@ -418,9 +448,9 @@ it("cam.v20190116.ListPoliciesGrantingServiceAccess", async function () {
|
|
|
418
448
|
}
|
|
419
449
|
})
|
|
420
450
|
|
|
421
|
-
it("cam.v20190116.
|
|
451
|
+
it("cam.v20190116.TagRole", async function () {
|
|
422
452
|
try {
|
|
423
|
-
const data = await client.
|
|
453
|
+
const data = await client.TagRole({})
|
|
424
454
|
expect(data).to.be.ok
|
|
425
455
|
} catch(error) {
|
|
426
456
|
expect(error.requestId).to.be.ok
|
|
@@ -428,9 +458,9 @@ it("cam.v20190116.ConsumeCustomMFAToken", async function () {
|
|
|
428
458
|
}
|
|
429
459
|
})
|
|
430
460
|
|
|
431
|
-
it("cam.v20190116.
|
|
461
|
+
it("cam.v20190116.UpdateRoleConsoleLogin", async function () {
|
|
432
462
|
try {
|
|
433
|
-
const data = await client.
|
|
463
|
+
const data = await client.UpdateRoleConsoleLogin({})
|
|
434
464
|
expect(data).to.be.ok
|
|
435
465
|
} catch(error) {
|
|
436
466
|
expect(error.requestId).to.be.ok
|
|
@@ -438,9 +468,9 @@ it("cam.v20190116.CreateOIDCConfig", async function () {
|
|
|
438
468
|
}
|
|
439
469
|
})
|
|
440
470
|
|
|
441
|
-
it("cam.v20190116.
|
|
471
|
+
it("cam.v20190116.AttachUserPolicy", async function () {
|
|
442
472
|
try {
|
|
443
|
-
const data = await client.
|
|
473
|
+
const data = await client.AttachUserPolicy({})
|
|
444
474
|
expect(data).to.be.ok
|
|
445
475
|
} catch(error) {
|
|
446
476
|
expect(error.requestId).to.be.ok
|
|
@@ -448,9 +478,9 @@ it("cam.v20190116.GetPolicyVersion", async function () {
|
|
|
448
478
|
}
|
|
449
479
|
})
|
|
450
480
|
|
|
451
|
-
it("cam.v20190116.
|
|
481
|
+
it("cam.v20190116.UpdateAssumeRolePolicy", async function () {
|
|
452
482
|
try {
|
|
453
|
-
const data = await client.
|
|
483
|
+
const data = await client.UpdateAssumeRolePolicy({})
|
|
454
484
|
expect(data).to.be.ok
|
|
455
485
|
} catch(error) {
|
|
456
486
|
expect(error.requestId).to.be.ok
|
|
@@ -458,9 +488,9 @@ it("cam.v20190116.ListAttachedUserAllPolicies", async function () {
|
|
|
458
488
|
}
|
|
459
489
|
})
|
|
460
490
|
|
|
461
|
-
it("cam.v20190116.
|
|
491
|
+
it("cam.v20190116.SetMfaFlag", async function () {
|
|
462
492
|
try {
|
|
463
|
-
const data = await client.
|
|
493
|
+
const data = await client.SetMfaFlag({})
|
|
464
494
|
expect(data).to.be.ok
|
|
465
495
|
} catch(error) {
|
|
466
496
|
expect(error.requestId).to.be.ok
|
|
@@ -468,9 +498,9 @@ it("cam.v20190116.GetUserPermissionBoundary", async function () {
|
|
|
468
498
|
}
|
|
469
499
|
})
|
|
470
500
|
|
|
471
|
-
it("cam.v20190116.
|
|
501
|
+
it("cam.v20190116.GetSecurityLastUsed", async function () {
|
|
472
502
|
try {
|
|
473
|
-
const data = await client.
|
|
503
|
+
const data = await client.GetSecurityLastUsed({})
|
|
474
504
|
expect(data).to.be.ok
|
|
475
505
|
} catch(error) {
|
|
476
506
|
expect(error.requestId).to.be.ok
|
|
@@ -478,9 +508,9 @@ it("cam.v20190116.CreateUserSAMLConfig", async function () {
|
|
|
478
508
|
}
|
|
479
509
|
})
|
|
480
510
|
|
|
481
|
-
it("cam.v20190116.
|
|
511
|
+
it("cam.v20190116.DeletePolicy", async function () {
|
|
482
512
|
try {
|
|
483
|
-
const data = await client.
|
|
513
|
+
const data = await client.DeletePolicy({})
|
|
484
514
|
expect(data).to.be.ok
|
|
485
515
|
} catch(error) {
|
|
486
516
|
expect(error.requestId).to.be.ok
|
|
@@ -488,9 +518,9 @@ it("cam.v20190116.UpdateSAMLProvider", async function () {
|
|
|
488
518
|
}
|
|
489
519
|
})
|
|
490
520
|
|
|
491
|
-
it("cam.v20190116.
|
|
521
|
+
it("cam.v20190116.CreateGroup", async function () {
|
|
492
522
|
try {
|
|
493
|
-
const data = await client.
|
|
523
|
+
const data = await client.CreateGroup({})
|
|
494
524
|
expect(data).to.be.ok
|
|
495
525
|
} catch(error) {
|
|
496
526
|
expect(error.requestId).to.be.ok
|
|
@@ -498,9 +528,9 @@ it("cam.v20190116.ListGroups", async function () {
|
|
|
498
528
|
}
|
|
499
529
|
})
|
|
500
530
|
|
|
501
|
-
it("cam.v20190116.
|
|
531
|
+
it("cam.v20190116.ListAccessKeys", async function () {
|
|
502
532
|
try {
|
|
503
|
-
const data = await client.
|
|
533
|
+
const data = await client.ListAccessKeys({})
|
|
504
534
|
expect(data).to.be.ok
|
|
505
535
|
} catch(error) {
|
|
506
536
|
expect(error.requestId).to.be.ok
|
|
@@ -508,9 +538,9 @@ it("cam.v20190116.AddUserToGroup", async function () {
|
|
|
508
538
|
}
|
|
509
539
|
})
|
|
510
540
|
|
|
511
|
-
it("cam.v20190116.
|
|
541
|
+
it("cam.v20190116.DeleteGroup", async function () {
|
|
512
542
|
try {
|
|
513
|
-
const data = await client.
|
|
543
|
+
const data = await client.DeleteGroup({})
|
|
514
544
|
expect(data).to.be.ok
|
|
515
545
|
} catch(error) {
|
|
516
546
|
expect(error.requestId).to.be.ok
|
|
@@ -518,9 +548,9 @@ it("cam.v20190116.AttachRolePolicy", async function () {
|
|
|
518
548
|
}
|
|
519
549
|
})
|
|
520
550
|
|
|
521
|
-
it("cam.v20190116.
|
|
551
|
+
it("cam.v20190116.GetGroup", async function () {
|
|
522
552
|
try {
|
|
523
|
-
const data = await client.
|
|
553
|
+
const data = await client.GetGroup({})
|
|
524
554
|
expect(data).to.be.ok
|
|
525
555
|
} catch(error) {
|
|
526
556
|
expect(error.requestId).to.be.ok
|
|
@@ -528,9 +558,9 @@ it("cam.v20190116.DescribeSafeAuthFlagColl", async function () {
|
|
|
528
558
|
}
|
|
529
559
|
})
|
|
530
560
|
|
|
531
|
-
it("cam.v20190116.
|
|
561
|
+
it("cam.v20190116.CreateOIDCConfig", async function () {
|
|
532
562
|
try {
|
|
533
|
-
const data = await client.
|
|
563
|
+
const data = await client.CreateOIDCConfig({})
|
|
534
564
|
expect(data).to.be.ok
|
|
535
565
|
} catch(error) {
|
|
536
566
|
expect(error.requestId).to.be.ok
|
|
@@ -538,9 +568,9 @@ it("cam.v20190116.GetAccountSummary", async function () {
|
|
|
538
568
|
}
|
|
539
569
|
})
|
|
540
570
|
|
|
541
|
-
it("cam.v20190116.
|
|
571
|
+
it("cam.v20190116.GetPolicyVersion", async function () {
|
|
542
572
|
try {
|
|
543
|
-
const data = await client.
|
|
573
|
+
const data = await client.GetPolicyVersion({})
|
|
544
574
|
expect(data).to.be.ok
|
|
545
575
|
} catch(error) {
|
|
546
576
|
expect(error.requestId).to.be.ok
|
|
@@ -548,9 +578,9 @@ it("cam.v20190116.UntagRole", async function () {
|
|
|
548
578
|
}
|
|
549
579
|
})
|
|
550
580
|
|
|
551
|
-
it("cam.v20190116.
|
|
581
|
+
it("cam.v20190116.ListAttachedUserAllPolicies", async function () {
|
|
552
582
|
try {
|
|
553
|
-
const data = await client.
|
|
583
|
+
const data = await client.ListAttachedUserAllPolicies({})
|
|
554
584
|
expect(data).to.be.ok
|
|
555
585
|
} catch(error) {
|
|
556
586
|
expect(error.requestId).to.be.ok
|
|
@@ -558,9 +588,9 @@ it("cam.v20190116.ListPolicyVersions", async function () {
|
|
|
558
588
|
}
|
|
559
589
|
})
|
|
560
590
|
|
|
561
|
-
it("cam.v20190116.
|
|
591
|
+
it("cam.v20190116.SetDefaultPolicyVersion", async function () {
|
|
562
592
|
try {
|
|
563
|
-
const data = await client.
|
|
593
|
+
const data = await client.SetDefaultPolicyVersion({})
|
|
564
594
|
expect(data).to.be.ok
|
|
565
595
|
} catch(error) {
|
|
566
596
|
expect(error.requestId).to.be.ok
|
|
@@ -568,9 +598,9 @@ it("cam.v20190116.DescribeSafeAuthFlag", async function () {
|
|
|
568
598
|
}
|
|
569
599
|
})
|
|
570
600
|
|
|
571
|
-
it("cam.v20190116.
|
|
601
|
+
it("cam.v20190116.DetachGroupPolicy", async function () {
|
|
572
602
|
try {
|
|
573
|
-
const data = await client.
|
|
603
|
+
const data = await client.DetachGroupPolicy({})
|
|
574
604
|
expect(data).to.be.ok
|
|
575
605
|
} catch(error) {
|
|
576
606
|
expect(error.requestId).to.be.ok
|
|
@@ -578,9 +608,9 @@ it("cam.v20190116.DescribeSafeAuthFlagIntl", async function () {
|
|
|
578
608
|
}
|
|
579
609
|
})
|
|
580
610
|
|
|
581
|
-
it("cam.v20190116.
|
|
611
|
+
it("cam.v20190116.DescribeSafeAuthFlag", async function () {
|
|
582
612
|
try {
|
|
583
|
-
const data = await client.
|
|
613
|
+
const data = await client.DescribeSafeAuthFlag({})
|
|
584
614
|
expect(data).to.be.ok
|
|
585
615
|
} catch(error) {
|
|
586
616
|
expect(error.requestId).to.be.ok
|
|
@@ -588,9 +618,9 @@ it("cam.v20190116.UpdateGroup", async function () {
|
|
|
588
618
|
}
|
|
589
619
|
})
|
|
590
620
|
|
|
591
|
-
it("cam.v20190116.
|
|
621
|
+
it("cam.v20190116.DescribeSafeAuthFlagIntl", async function () {
|
|
592
622
|
try {
|
|
593
|
-
const data = await client.
|
|
623
|
+
const data = await client.DescribeSafeAuthFlagIntl({})
|
|
594
624
|
expect(data).to.be.ok
|
|
595
625
|
} catch(error) {
|
|
596
626
|
expect(error.requestId).to.be.ok
|
|
@@ -598,9 +628,9 @@ it("cam.v20190116.GetRole", async function () {
|
|
|
598
628
|
}
|
|
599
629
|
})
|
|
600
630
|
|
|
601
|
-
it("cam.v20190116.
|
|
631
|
+
it("cam.v20190116.ListGroups", async function () {
|
|
602
632
|
try {
|
|
603
|
-
const data = await client.
|
|
633
|
+
const data = await client.ListGroups({})
|
|
604
634
|
expect(data).to.be.ok
|
|
605
635
|
} catch(error) {
|
|
606
636
|
expect(error.requestId).to.be.ok
|
|
@@ -608,9 +638,9 @@ it("cam.v20190116.UpdateRoleDescription", async function () {
|
|
|
608
638
|
}
|
|
609
639
|
})
|
|
610
640
|
|
|
611
|
-
it("cam.v20190116.
|
|
641
|
+
it("cam.v20190116.ListWeChatWorkSubAccounts", async function () {
|
|
612
642
|
try {
|
|
613
|
-
const data = await client.
|
|
643
|
+
const data = await client.ListWeChatWorkSubAccounts({})
|
|
614
644
|
expect(data).to.be.ok
|
|
615
645
|
} catch(error) {
|
|
616
646
|
expect(error.requestId).to.be.ok
|
|
@@ -618,9 +648,9 @@ it("cam.v20190116.ListEntitiesForPolicy", async function () {
|
|
|
618
648
|
}
|
|
619
649
|
})
|
|
620
650
|
|
|
621
|
-
it("cam.v20190116.
|
|
651
|
+
it("cam.v20190116.ListPolicyVersions", async function () {
|
|
622
652
|
try {
|
|
623
|
-
const data = await client.
|
|
653
|
+
const data = await client.ListPolicyVersions({})
|
|
624
654
|
expect(data).to.be.ok
|
|
625
655
|
} catch(error) {
|
|
626
656
|
expect(error.requestId).to.be.ok
|
|
@@ -628,9 +658,9 @@ it("cam.v20190116.ListAttachedUserPolicies", async function () {
|
|
|
628
658
|
}
|
|
629
659
|
})
|
|
630
660
|
|
|
631
|
-
it("cam.v20190116.
|
|
661
|
+
it("cam.v20190116.UpdateGroup", async function () {
|
|
632
662
|
try {
|
|
633
|
-
const data = await client.
|
|
663
|
+
const data = await client.UpdateGroup({})
|
|
634
664
|
expect(data).to.be.ok
|
|
635
665
|
} catch(error) {
|
|
636
666
|
expect(error.requestId).to.be.ok
|
|
@@ -638,9 +668,9 @@ it("cam.v20190116.DeleteUser", async function () {
|
|
|
638
668
|
}
|
|
639
669
|
})
|
|
640
670
|
|
|
641
|
-
it("cam.v20190116.
|
|
671
|
+
it("cam.v20190116.CreatePolicy", async function () {
|
|
642
672
|
try {
|
|
643
|
-
const data = await client.
|
|
673
|
+
const data = await client.CreatePolicy({})
|
|
644
674
|
expect(data).to.be.ok
|
|
645
675
|
} catch(error) {
|
|
646
676
|
expect(error.requestId).to.be.ok
|
|
@@ -648,9 +678,9 @@ it("cam.v20190116.UpdateUserSAMLConfig", async function () {
|
|
|
648
678
|
}
|
|
649
679
|
})
|
|
650
680
|
|
|
651
|
-
it("cam.v20190116.
|
|
681
|
+
it("cam.v20190116.DetachUserPolicy", async function () {
|
|
652
682
|
try {
|
|
653
|
-
const data = await client.
|
|
683
|
+
const data = await client.DetachUserPolicy({})
|
|
654
684
|
expect(data).to.be.ok
|
|
655
685
|
} catch(error) {
|
|
656
686
|
expect(error.requestId).to.be.ok
|
|
@@ -658,9 +688,9 @@ it("cam.v20190116.CreatePolicyVersion", async function () {
|
|
|
658
688
|
}
|
|
659
689
|
})
|
|
660
690
|
|
|
661
|
-
it("cam.v20190116.
|
|
691
|
+
it("cam.v20190116.ListGroupsForUser", async function () {
|
|
662
692
|
try {
|
|
663
|
-
const data = await client.
|
|
693
|
+
const data = await client.ListGroupsForUser({})
|
|
664
694
|
expect(data).to.be.ok
|
|
665
695
|
} catch(error) {
|
|
666
696
|
expect(error.requestId).to.be.ok
|
|
@@ -668,9 +698,9 @@ it("cam.v20190116.ListCollaborators", async function () {
|
|
|
668
698
|
}
|
|
669
699
|
})
|
|
670
700
|
|
|
671
|
-
it("cam.v20190116.
|
|
701
|
+
it("cam.v20190116.GetSAMLProvider", async function () {
|
|
672
702
|
try {
|
|
673
|
-
const data = await client.
|
|
703
|
+
const data = await client.GetSAMLProvider({})
|
|
674
704
|
expect(data).to.be.ok
|
|
675
705
|
} catch(error) {
|
|
676
706
|
expect(error.requestId).to.be.ok
|
|
@@ -678,9 +708,9 @@ it("cam.v20190116.DetachGroupPolicy", async function () {
|
|
|
678
708
|
}
|
|
679
709
|
})
|
|
680
710
|
|
|
681
|
-
it("cam.v20190116.
|
|
711
|
+
it("cam.v20190116.CreateRole", async function () {
|
|
682
712
|
try {
|
|
683
|
-
const data = await client.
|
|
713
|
+
const data = await client.CreateRole({})
|
|
684
714
|
expect(data).to.be.ok
|
|
685
715
|
} catch(error) {
|
|
686
716
|
expect(error.requestId).to.be.ok
|
|
@@ -688,9 +718,9 @@ it("cam.v20190116.DescribeSubAccounts", async function () {
|
|
|
688
718
|
}
|
|
689
719
|
})
|
|
690
720
|
|
|
691
|
-
it("cam.v20190116.
|
|
721
|
+
it("cam.v20190116.ListAttachedRolePolicies", async function () {
|
|
692
722
|
try {
|
|
693
|
-
const data = await client.
|
|
723
|
+
const data = await client.ListAttachedRolePolicies({})
|
|
694
724
|
expect(data).to.be.ok
|
|
695
725
|
} catch(error) {
|
|
696
726
|
expect(error.requestId).to.be.ok
|
|
@@ -698,9 +728,9 @@ it("cam.v20190116.RemoveUserFromGroup", async function () {
|
|
|
698
728
|
}
|
|
699
729
|
})
|
|
700
730
|
|
|
701
|
-
it("cam.v20190116.
|
|
731
|
+
it("cam.v20190116.DeleteSAMLProvider", async function () {
|
|
702
732
|
try {
|
|
703
|
-
const data = await client.
|
|
733
|
+
const data = await client.DeleteSAMLProvider({})
|
|
704
734
|
expect(data).to.be.ok
|
|
705
735
|
} catch(error) {
|
|
706
736
|
expect(error.requestId).to.be.ok
|
|
@@ -708,9 +738,9 @@ it("cam.v20190116.ListPolicies", async function () {
|
|
|
708
738
|
}
|
|
709
739
|
})
|
|
710
740
|
|
|
711
|
-
it("cam.v20190116.
|
|
741
|
+
it("cam.v20190116.GetPolicy", async function () {
|
|
712
742
|
try {
|
|
713
|
-
const data = await client.
|
|
743
|
+
const data = await client.GetPolicy({})
|
|
714
744
|
expect(data).to.be.ok
|
|
715
745
|
} catch(error) {
|
|
716
746
|
expect(error.requestId).to.be.ok
|
|
@@ -718,9 +748,9 @@ it("cam.v20190116.ListUsersForGroup", async function () {
|
|
|
718
748
|
}
|
|
719
749
|
})
|
|
720
750
|
|
|
721
|
-
it("cam.v20190116.
|
|
751
|
+
it("cam.v20190116.GetRolePermissionBoundary", async function () {
|
|
722
752
|
try {
|
|
723
|
-
const data = await client.
|
|
753
|
+
const data = await client.GetRolePermissionBoundary({})
|
|
724
754
|
expect(data).to.be.ok
|
|
725
755
|
} catch(error) {
|
|
726
756
|
expect(error.requestId).to.be.ok
|
|
@@ -728,9 +758,9 @@ it("cam.v20190116.AttachUserPolicy", async function () {
|
|
|
728
758
|
}
|
|
729
759
|
})
|
|
730
760
|
|
|
731
|
-
it("cam.v20190116.
|
|
761
|
+
it("cam.v20190116.UpdateUserOIDCConfig", async function () {
|
|
732
762
|
try {
|
|
733
|
-
const data = await client.
|
|
763
|
+
const data = await client.UpdateUserOIDCConfig({})
|
|
734
764
|
expect(data).to.be.ok
|
|
735
765
|
} catch(error) {
|
|
736
766
|
expect(error.requestId).to.be.ok
|
|
@@ -738,9 +768,9 @@ it("cam.v20190116.GetGroup", async function () {
|
|
|
738
768
|
}
|
|
739
769
|
})
|
|
740
770
|
|
|
741
|
-
it("cam.v20190116.
|
|
771
|
+
it("cam.v20190116.DescribeOIDCConfig", async function () {
|
|
742
772
|
try {
|
|
743
|
-
const data = await client.
|
|
773
|
+
const data = await client.DescribeOIDCConfig({})
|
|
744
774
|
expect(data).to.be.ok
|
|
745
775
|
} catch(error) {
|
|
746
776
|
expect(error.requestId).to.be.ok
|
|
@@ -748,9 +778,9 @@ it("cam.v20190116.DeleteOIDCConfig", async function () {
|
|
|
748
778
|
}
|
|
749
779
|
})
|
|
750
780
|
|
|
751
|
-
it("cam.v20190116.
|
|
781
|
+
it("cam.v20190116.ListEntitiesForPolicy", async function () {
|
|
752
782
|
try {
|
|
753
|
-
const data = await client.
|
|
783
|
+
const data = await client.ListEntitiesForPolicy({})
|
|
754
784
|
expect(data).to.be.ok
|
|
755
785
|
} catch(error) {
|
|
756
786
|
expect(error.requestId).to.be.ok
|
|
@@ -758,9 +788,9 @@ it("cam.v20190116.ListWeChatWorkSubAccounts", async function () {
|
|
|
758
788
|
}
|
|
759
789
|
})
|
|
760
790
|
|
|
761
|
-
it("cam.v20190116.
|
|
791
|
+
it("cam.v20190116.PutUserPermissionsBoundary", async function () {
|
|
762
792
|
try {
|
|
763
|
-
const data = await client.
|
|
793
|
+
const data = await client.PutUserPermissionsBoundary({})
|
|
764
794
|
expect(data).to.be.ok
|
|
765
795
|
} catch(error) {
|
|
766
796
|
expect(error.requestId).to.be.ok
|
|
@@ -768,9 +798,9 @@ it("cam.v20190116.GetSecurityLastUsed", async function () {
|
|
|
768
798
|
}
|
|
769
799
|
})
|
|
770
800
|
|
|
771
|
-
it("cam.v20190116.
|
|
801
|
+
it("cam.v20190116.CreateUserSAMLConfig", async function () {
|
|
772
802
|
try {
|
|
773
|
-
const data = await client.
|
|
803
|
+
const data = await client.CreateUserSAMLConfig({})
|
|
774
804
|
expect(data).to.be.ok
|
|
775
805
|
} catch(error) {
|
|
776
806
|
expect(error.requestId).to.be.ok
|
|
@@ -778,9 +808,9 @@ it("cam.v20190116.AttachGroupPolicy", async function () {
|
|
|
778
808
|
}
|
|
779
809
|
})
|
|
780
810
|
|
|
781
|
-
it("cam.v20190116.
|
|
811
|
+
it("cam.v20190116.AddUserToGroup", async function () {
|
|
782
812
|
try {
|
|
783
|
-
const data = await client.
|
|
813
|
+
const data = await client.AddUserToGroup({})
|
|
784
814
|
expect(data).to.be.ok
|
|
785
815
|
} catch(error) {
|
|
786
816
|
expect(error.requestId).to.be.ok
|
|
@@ -788,9 +818,9 @@ it("cam.v20190116.DisableUserSSO", async function () {
|
|
|
788
818
|
}
|
|
789
819
|
})
|
|
790
820
|
|
|
791
|
-
it("cam.v20190116.
|
|
821
|
+
it("cam.v20190116.AttachRolePolicy", async function () {
|
|
792
822
|
try {
|
|
793
|
-
const data = await client.
|
|
823
|
+
const data = await client.AttachRolePolicy({})
|
|
794
824
|
expect(data).to.be.ok
|
|
795
825
|
} catch(error) {
|
|
796
826
|
expect(error.requestId).to.be.ok
|
|
@@ -798,9 +828,9 @@ it("cam.v20190116.PutUserPermissionsBoundary", async function () {
|
|
|
798
828
|
}
|
|
799
829
|
})
|
|
800
830
|
|
|
801
|
-
it("cam.v20190116.
|
|
831
|
+
it("cam.v20190116.DescribeSafeAuthFlagColl", async function () {
|
|
802
832
|
try {
|
|
803
|
-
const data = await client.
|
|
833
|
+
const data = await client.DescribeSafeAuthFlagColl({})
|
|
804
834
|
expect(data).to.be.ok
|
|
805
835
|
} catch(error) {
|
|
806
836
|
expect(error.requestId).to.be.ok
|
|
@@ -808,9 +838,9 @@ it("cam.v20190116.CreatePolicy", async function () {
|
|
|
808
838
|
}
|
|
809
839
|
})
|
|
810
840
|
|
|
811
|
-
it("cam.v20190116.
|
|
841
|
+
it("cam.v20190116.GetRole", async function () {
|
|
812
842
|
try {
|
|
813
|
-
const data = await client.
|
|
843
|
+
const data = await client.GetRole({})
|
|
814
844
|
expect(data).to.be.ok
|
|
815
845
|
} catch(error) {
|
|
816
846
|
expect(error.requestId).to.be.ok
|
|
@@ -818,9 +848,9 @@ it("cam.v20190116.UpdateAssumeRolePolicy", async function () {
|
|
|
818
848
|
}
|
|
819
849
|
})
|
|
820
850
|
|
|
821
|
-
it("cam.v20190116.
|
|
851
|
+
it("cam.v20190116.DeletePolicyVersion", async function () {
|
|
822
852
|
try {
|
|
823
|
-
const data = await client.
|
|
853
|
+
const data = await client.DeletePolicyVersion({})
|
|
824
854
|
expect(data).to.be.ok
|
|
825
855
|
} catch(error) {
|
|
826
856
|
expect(error.requestId).to.be.ok
|
|
@@ -828,9 +858,9 @@ it("cam.v20190116.DetachUserPolicy", async function () {
|
|
|
828
858
|
}
|
|
829
859
|
})
|
|
830
860
|
|
|
831
|
-
it("cam.v20190116.
|
|
861
|
+
it("cam.v20190116.ListPolicies", async function () {
|
|
832
862
|
try {
|
|
833
|
-
const data = await client.
|
|
863
|
+
const data = await client.ListPolicies({})
|
|
834
864
|
expect(data).to.be.ok
|
|
835
865
|
} catch(error) {
|
|
836
866
|
expect(error.requestId).to.be.ok
|
|
@@ -838,9 +868,9 @@ it("cam.v20190116.ListGroupsForUser", async function () {
|
|
|
838
868
|
}
|
|
839
869
|
})
|
|
840
870
|
|
|
841
|
-
it("cam.v20190116.
|
|
871
|
+
it("cam.v20190116.DisableUserSSO", async function () {
|
|
842
872
|
try {
|
|
843
|
-
const data = await client.
|
|
873
|
+
const data = await client.DisableUserSSO({})
|
|
844
874
|
expect(data).to.be.ok
|
|
845
875
|
} catch(error) {
|
|
846
876
|
expect(error.requestId).to.be.ok
|