tccli-intl-en 3.1.6.1__py2.py3-none-any.whl → 3.1.7.1__py2.py3-none-any.whl
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.
- tccli/__init__.py +1 -1
- tccli/services/__init__.py +3 -0
- tccli/services/controlcenter/controlcenter_client.py +224 -0
- tccli/services/controlcenter/v20230110/api.json +528 -5
- tccli/services/controlcenter/v20230110/examples.json +32 -0
- tccli/services/faceid/v20180301/api.json +13 -3
- tccli/services/kms/v20190118/api.json +79 -2
- tccli/services/kms/v20190118/examples.json +3 -3
- tccli/services/mdl/v20200326/api.json +163 -3
- tccli/services/smh/__init__.py +4 -0
- tccli/services/smh/smh_client.py +714 -0
- tccli/services/smh/v20210712/api.json +1287 -0
- tccli/services/smh/v20210712/examples.json +85 -0
- tccli/services/vpc/v20170312/api.json +19 -16
- tccli/services/vpc/v20170312/examples.json +4 -4
- {tccli_intl_en-3.1.6.1.dist-info → tccli_intl_en-3.1.7.1.dist-info}/METADATA +2 -2
- {tccli_intl_en-3.1.6.1.dist-info → tccli_intl_en-3.1.7.1.dist-info}/RECORD +21 -17
- {tccli_intl_en-3.1.6.1.dist-info → tccli_intl_en-3.1.7.1.dist-info}/LICENSE +0 -0
- {tccli_intl_en-3.1.6.1.dist-info → tccli_intl_en-3.1.7.1.dist-info}/WHEEL +0 -0
- {tccli_intl_en-3.1.6.1.dist-info → tccli_intl_en-3.1.7.1.dist-info}/entry_points.txt +0 -0
- {tccli_intl_en-3.1.6.1.dist-info → tccli_intl_en-3.1.7.1.dist-info}/top_level.txt +0 -0
|
@@ -6,6 +6,34 @@
|
|
|
6
6
|
"name": "Applies baselines to existing accounts in batches",
|
|
7
7
|
"output": "BatchApplyAccountBaselinesResponse",
|
|
8
8
|
"status": "online"
|
|
9
|
+
},
|
|
10
|
+
"GetAccountFactoryBaseline": {
|
|
11
|
+
"document": "This API is used to retrieve user baseline configuration data.",
|
|
12
|
+
"input": "GetAccountFactoryBaselineRequest",
|
|
13
|
+
"name": "Retrieve user baseline configuration data",
|
|
14
|
+
"output": "GetAccountFactoryBaselineResponse",
|
|
15
|
+
"status": "online"
|
|
16
|
+
},
|
|
17
|
+
"ListAccountFactoryBaselineItems": {
|
|
18
|
+
"document": "This API is used to obtain account factory system baseline items.",
|
|
19
|
+
"input": "ListAccountFactoryBaselineItemsRequest",
|
|
20
|
+
"name": "Obtain an account factory system baseline item",
|
|
21
|
+
"output": "ListAccountFactoryBaselineItemsResponse",
|
|
22
|
+
"status": "online"
|
|
23
|
+
},
|
|
24
|
+
"ListDeployStepTasks": {
|
|
25
|
+
"document": "This API is used to retrieve the application history of a certain baseline item.",
|
|
26
|
+
"input": "ListDeployStepTasksRequest",
|
|
27
|
+
"name": "Retrieve a certain baseline item history application information",
|
|
28
|
+
"output": "ListDeployStepTasksResponse",
|
|
29
|
+
"status": "online"
|
|
30
|
+
},
|
|
31
|
+
"UpdateAccountFactoryBaseline": {
|
|
32
|
+
"document": "This API is used to update the current baseline item configuration of a user. The baseline configuration will be overwritten with the current configuration. When adding new baseline items, the newly-added baseline configuration needs to be added to the existing configuration. When deleting baseline items, the deleted baseline configuration needs to be removed from the existing configuration, then save the latest baseline configuration.",
|
|
33
|
+
"input": "UpdateAccountFactoryBaselineRequest",
|
|
34
|
+
"name": "Update user baseline item configuration",
|
|
35
|
+
"output": "UpdateAccountFactoryBaselineResponse",
|
|
36
|
+
"status": "online"
|
|
9
37
|
}
|
|
10
38
|
},
|
|
11
39
|
"metadata": {
|
|
@@ -14,39 +42,282 @@
|
|
|
14
42
|
"serviceShortName": "controlcenter"
|
|
15
43
|
},
|
|
16
44
|
"objects": {
|
|
45
|
+
"AccountFactoryItem": {
|
|
46
|
+
"document": "Account factory baseline item.",
|
|
47
|
+
"members": [
|
|
48
|
+
{
|
|
49
|
+
"disabled": false,
|
|
50
|
+
"document": "Specifies the unique identifier for account factory baseline item, can only contain english letters, digits, and @, ,._[]-:()()[]+=., with a length of 2-128 characters.",
|
|
51
|
+
"example": "ACS-BP_ACCOUNT_FACTORY_RAM_USER_PASSWORD_POLICY",
|
|
52
|
+
"member": "string",
|
|
53
|
+
"name": "Identifier",
|
|
54
|
+
"output_required": true,
|
|
55
|
+
"type": "string",
|
|
56
|
+
"value_allowed_null": false
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"disabled": false,
|
|
60
|
+
"document": "Baseline item name. specifies a unique name for the feature item. supports a combination of english letters, numbers, chinese characters, and symbols @, &, _, [, ], -. valid values: 1-25 chinese or english characters.",
|
|
61
|
+
"example": "账号联系人",
|
|
62
|
+
"member": "string",
|
|
63
|
+
"name": "Name",
|
|
64
|
+
"output_required": true,
|
|
65
|
+
"type": "string",
|
|
66
|
+
"value_allowed_null": false
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"disabled": false,
|
|
70
|
+
"document": "Baseline item english name. specifies a unique name for the baseline item. supports a combination of english letters, digits, spaces, and symbols @, &, _, [], -. valid values: 1-64 english characters.",
|
|
71
|
+
"example": "protection rules",
|
|
72
|
+
"member": "string",
|
|
73
|
+
"name": "NameEn",
|
|
74
|
+
"output_required": false,
|
|
75
|
+
"type": "string",
|
|
76
|
+
"value_allowed_null": false
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"disabled": false,
|
|
80
|
+
"document": "Baseline item weight. the smaller the value, the higher the weight. value range equal to or greater than 0.",
|
|
81
|
+
"example": "1",
|
|
82
|
+
"member": "int64",
|
|
83
|
+
"name": "Weight",
|
|
84
|
+
"output_required": true,
|
|
85
|
+
"type": "int",
|
|
86
|
+
"value_allowed_null": false
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"disabled": false,
|
|
90
|
+
"document": "Specifies whether the baseline item is required (1: required; 0: optional).",
|
|
91
|
+
"example": "1",
|
|
92
|
+
"member": "int64",
|
|
93
|
+
"name": "Required",
|
|
94
|
+
"output_required": true,
|
|
95
|
+
"type": "int",
|
|
96
|
+
"value_allowed_null": false
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"disabled": false,
|
|
100
|
+
"document": "Baseline item dependency. value range of N depends on the count of other baseline items it relies on.",
|
|
101
|
+
"example": "[{\"Identifier\":\"ACS-BP_GUARDRAILS\",\"Type\":\"LandingZoneItem\"},{\"Identifier\":\"ACS-BP_CLOUDSSO\",\"Type\":\"LandingZoneItem\"}]",
|
|
102
|
+
"member": "DependsOnItem",
|
|
103
|
+
"name": "DependsOn",
|
|
104
|
+
"output_required": true,
|
|
105
|
+
"type": "list",
|
|
106
|
+
"value_allowed_null": false
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"disabled": false,
|
|
110
|
+
"document": "Baseline description, with a length of 2 to 256 english or chinese characters. it is empty by default.",
|
|
111
|
+
"example": "为新账号设置联系人,以配置消息通知。",
|
|
112
|
+
"member": "string",
|
|
113
|
+
"name": "Description",
|
|
114
|
+
"output_required": true,
|
|
115
|
+
"type": "string",
|
|
116
|
+
"value_allowed_null": false
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"disabled": false,
|
|
120
|
+
"document": "Baseline item english description, with a length of 2 to 1024 english characters. it is empty by default.",
|
|
121
|
+
"example": "Add contacts for new accounts to receive notifications. ",
|
|
122
|
+
"member": "string",
|
|
123
|
+
"name": "DescriptionEn",
|
|
124
|
+
"output_required": false,
|
|
125
|
+
"type": "string",
|
|
126
|
+
"value_allowed_null": false
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"disabled": false,
|
|
130
|
+
"document": "Baseline classification. length: 2-32 english or chinese characters. values cannot be empty.",
|
|
131
|
+
"example": "权限",
|
|
132
|
+
"member": "string",
|
|
133
|
+
"name": "Classify",
|
|
134
|
+
"output_required": true,
|
|
135
|
+
"type": "string",
|
|
136
|
+
"value_allowed_null": false
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"disabled": false,
|
|
140
|
+
"document": "Baseline english classification, with a length of 2-64 english characters. cannot be empty.",
|
|
141
|
+
"example": "permissions",
|
|
142
|
+
"member": "string",
|
|
143
|
+
"name": "ClassifyEn",
|
|
144
|
+
"output_required": false,
|
|
145
|
+
"type": "string",
|
|
146
|
+
"value_allowed_null": false
|
|
147
|
+
}
|
|
148
|
+
],
|
|
149
|
+
"usage": "out"
|
|
150
|
+
},
|
|
17
151
|
"BaselineConfigItem": {
|
|
18
152
|
"document": "Account Factory baseline configuration item.",
|
|
19
153
|
"members": [
|
|
20
154
|
{
|
|
21
155
|
"disabled": false,
|
|
22
|
-
"document": "
|
|
156
|
+
"document": "Specifies the unique identifier for account factory baseline item, can only contain english letters, digits, and @, ,._[]-:()()[]+=., with a length of 2-128 characters.",
|
|
157
|
+
"example": "ACS-BP_ACCOUNT_FACTORY_ACCOUNT_CONTACT",
|
|
158
|
+
"member": "string",
|
|
159
|
+
"name": "Identifier",
|
|
160
|
+
"output_required": true,
|
|
161
|
+
"required": false,
|
|
162
|
+
"type": "string",
|
|
163
|
+
"value_allowed_null": false
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"disabled": false,
|
|
167
|
+
"document": "Account factory baseline item configuration. different baseline item configuration parameters.",
|
|
168
|
+
"example": "{\\\"Contacts\\\":[{\\\"Name\\\":\\\"dest\\\",\\\"Email\\\":\\\"ia@22.com\\\",\\\"Mobile\\\":\\\"12345678910\\\",\\\"Position\\\":\\\"Technical Director\\\"}]}",
|
|
169
|
+
"member": "string",
|
|
170
|
+
"name": "Configuration",
|
|
171
|
+
"output_required": true,
|
|
172
|
+
"required": false,
|
|
173
|
+
"type": "string",
|
|
174
|
+
"value_allowed_null": false
|
|
175
|
+
}
|
|
176
|
+
],
|
|
177
|
+
"usage": "both"
|
|
178
|
+
},
|
|
179
|
+
"BaselineInfoItem": {
|
|
180
|
+
"document": "Account factory baseline information.",
|
|
181
|
+
"members": [
|
|
182
|
+
{
|
|
183
|
+
"disabled": false,
|
|
184
|
+
"document": "Specifies the unique identifier for account factory baseline item, can only contain english letters, digits, and @, ,._[]-:()()[]+=., with a length of 2-128 characters.",
|
|
23
185
|
"example": "ACS-BP_ACCOUNT_FACTORY_ACCOUNT_CONTACT",
|
|
24
186
|
"member": "string",
|
|
25
187
|
"name": "Identifier",
|
|
188
|
+
"output_required": true,
|
|
26
189
|
"required": false,
|
|
27
190
|
"type": "string",
|
|
28
|
-
"value_allowed_null":
|
|
191
|
+
"value_allowed_null": false
|
|
29
192
|
},
|
|
30
193
|
{
|
|
31
194
|
"disabled": false,
|
|
32
|
-
"document": "Account
|
|
195
|
+
"document": "Account factory baseline item configuration. different baseline item configuration parameters.",
|
|
33
196
|
"example": "{\\\"Contacts\\\":[{\\\"Name\\\":\\\"dest\\\",\\\"Email\\\":\\\"ia@22.com\\\",\\\"Mobile\\\":\\\"12345678910\\\",\\\"Position\\\":\\\"Technical Director\\\"}]}",
|
|
34
197
|
"member": "string",
|
|
35
198
|
"name": "Configuration",
|
|
199
|
+
"output_required": true,
|
|
36
200
|
"required": false,
|
|
37
201
|
"type": "string",
|
|
38
|
-
"value_allowed_null":
|
|
202
|
+
"value_allowed_null": false
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"disabled": false,
|
|
206
|
+
"document": "Specifies the number of accounts for baseline applications.",
|
|
207
|
+
"example": "4",
|
|
208
|
+
"member": "int64",
|
|
209
|
+
"name": "ApplyCount",
|
|
210
|
+
"output_required": true,
|
|
211
|
+
"required": false,
|
|
212
|
+
"type": "int",
|
|
213
|
+
"value_allowed_null": false
|
|
39
214
|
}
|
|
40
215
|
],
|
|
41
216
|
"usage": "both"
|
|
42
217
|
},
|
|
218
|
+
"BaselineStepTaskInfo": {
|
|
219
|
+
"document": "Baseline item deployment task information list.",
|
|
220
|
+
"members": [
|
|
221
|
+
{
|
|
222
|
+
"disabled": false,
|
|
223
|
+
"document": "Specifies the unique Id of the task, which can only contain english letters and digits, and is a 16-character random string.",
|
|
224
|
+
"example": "m7r1xzlef7lp71bo",
|
|
225
|
+
"member": "string",
|
|
226
|
+
"name": "TaskId",
|
|
227
|
+
"output_required": true,
|
|
228
|
+
"type": "string",
|
|
229
|
+
"value_allowed_null": false
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
"disabled": false,
|
|
233
|
+
"document": "Specifies the unique identifier for the baseline feature item, can only contain english letters, digits, and @, ,._[]-:()()[]+=., with a length of 2-128 characters.",
|
|
234
|
+
"example": "TCC-AF_CAM_USER_PASSWORD_POLICY",
|
|
235
|
+
"member": "string",
|
|
236
|
+
"name": "Identifier",
|
|
237
|
+
"output_required": true,
|
|
238
|
+
"type": "string",
|
|
239
|
+
"value_allowed_null": false
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"disabled": false,
|
|
243
|
+
"document": "Specifies the member account uin of the applied baseline item.",
|
|
244
|
+
"example": "14235424532",
|
|
245
|
+
"member": "int64",
|
|
246
|
+
"name": "MemberUin",
|
|
247
|
+
"output_required": true,
|
|
248
|
+
"type": "int",
|
|
249
|
+
"value_allowed_null": false
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
"disabled": false,
|
|
253
|
+
"document": "Baseline item application status. Running means the baseline item is in application. Success means the baseline item application is successful. Failed means the baseline item application failure. Pending means the baseline item is Pending application. Skipped means the baseline item is Skipped.",
|
|
254
|
+
"example": "Running",
|
|
255
|
+
"member": "string",
|
|
256
|
+
"name": "Status",
|
|
257
|
+
"output_required": true,
|
|
258
|
+
"type": "string",
|
|
259
|
+
"value_allowed_null": false
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"disabled": false,
|
|
263
|
+
"document": "Error code",
|
|
264
|
+
"example": "InternalError",
|
|
265
|
+
"member": "string",
|
|
266
|
+
"name": "ErrCode",
|
|
267
|
+
"output_required": true,
|
|
268
|
+
"type": "string",
|
|
269
|
+
"value_allowed_null": false
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"disabled": false,
|
|
273
|
+
"document": "Error message",
|
|
274
|
+
"example": "landing zone is not exist",
|
|
275
|
+
"member": "string",
|
|
276
|
+
"name": "ErrMessage",
|
|
277
|
+
"output_required": true,
|
|
278
|
+
"type": "string",
|
|
279
|
+
"value_allowed_null": false
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
"disabled": false,
|
|
283
|
+
"document": "Baseline item deployment output.",
|
|
284
|
+
"example": "[{\"Code\":\"OK\",\"Msg\":\"OK\"},{\"Code\":\"OK\",\"Msg\":\"OK\"}]",
|
|
285
|
+
"member": "string",
|
|
286
|
+
"name": "Output",
|
|
287
|
+
"output_required": true,
|
|
288
|
+
"type": "string",
|
|
289
|
+
"value_allowed_null": false
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
"disabled": false,
|
|
293
|
+
"document": "Creation time, represented in ISO8601 standard format as yyyy-MM-dd hh:MM:ss.",
|
|
294
|
+
"example": "2022-08-18 12:00:00",
|
|
295
|
+
"member": "string",
|
|
296
|
+
"name": "CreateTime",
|
|
297
|
+
"output_required": true,
|
|
298
|
+
"type": "string",
|
|
299
|
+
"value_allowed_null": false
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"disabled": false,
|
|
303
|
+
"document": "Specifies the last update time in ISO8601 standard representation with format yyyy-MM-dd hh:MM:ss.",
|
|
304
|
+
"example": "2022-08-18 12:00:00",
|
|
305
|
+
"member": "string",
|
|
306
|
+
"name": "UpdateTime",
|
|
307
|
+
"output_required": true,
|
|
308
|
+
"type": "string",
|
|
309
|
+
"value_allowed_null": false
|
|
310
|
+
}
|
|
311
|
+
],
|
|
312
|
+
"usage": "out"
|
|
313
|
+
},
|
|
43
314
|
"BatchApplyAccountBaselinesRequest": {
|
|
44
315
|
"document": "BatchApplyAccountBaselines request structure.",
|
|
45
316
|
"members": [
|
|
46
317
|
{
|
|
47
318
|
"disabled": false,
|
|
48
319
|
"document": "Member account UIN, which is also the UIN of the account to which the baseline is applied.",
|
|
49
|
-
"example": "[
|
|
320
|
+
"example": "[1000000000001]",
|
|
50
321
|
"member": "int64",
|
|
51
322
|
"name": "MemberUinList",
|
|
52
323
|
"required": true,
|
|
@@ -75,6 +346,258 @@
|
|
|
75
346
|
}
|
|
76
347
|
],
|
|
77
348
|
"type": "object"
|
|
349
|
+
},
|
|
350
|
+
"DependsOnItem": {
|
|
351
|
+
"document": "Dependency.",
|
|
352
|
+
"members": [
|
|
353
|
+
{
|
|
354
|
+
"disabled": false,
|
|
355
|
+
"document": "Dependency type. valid values: LandingZoneSetUp or AccountFactorySetUp. LandingZoneSetUp refers to the dependency of landingZone. AccountFactorySetUp refers to the dependency of account factory.",
|
|
356
|
+
"example": "LandingZoneItem",
|
|
357
|
+
"member": "string",
|
|
358
|
+
"name": "Type",
|
|
359
|
+
"output_required": true,
|
|
360
|
+
"required": false,
|
|
361
|
+
"type": "string",
|
|
362
|
+
"value_allowed_null": false
|
|
363
|
+
},
|
|
364
|
+
{
|
|
365
|
+
"disabled": false,
|
|
366
|
+
"document": "Specifies the unique identifier for the feature item, can only contain english letters, digits, and @, ,._[]-:()()[]+=., with a length of 2-128 characters.",
|
|
367
|
+
"example": "ACS-BP_GUARDRAILS",
|
|
368
|
+
"member": "string",
|
|
369
|
+
"name": "Identifier",
|
|
370
|
+
"output_required": true,
|
|
371
|
+
"required": false,
|
|
372
|
+
"type": "string",
|
|
373
|
+
"value_allowed_null": false
|
|
374
|
+
}
|
|
375
|
+
],
|
|
376
|
+
"usage": "both"
|
|
377
|
+
},
|
|
378
|
+
"GetAccountFactoryBaselineRequest": {
|
|
379
|
+
"document": "GetAccountFactoryBaseline request structure.",
|
|
380
|
+
"members": [],
|
|
381
|
+
"type": "object"
|
|
382
|
+
},
|
|
383
|
+
"GetAccountFactoryBaselineResponse": {
|
|
384
|
+
"document": "GetAccountFactoryBaseline response structure.",
|
|
385
|
+
"members": [
|
|
386
|
+
{
|
|
387
|
+
"disabled": false,
|
|
388
|
+
"document": "Specifies the uin of the main account to which the resource belongs.",
|
|
389
|
+
"example": "100000000001",
|
|
390
|
+
"member": "int64",
|
|
391
|
+
"name": "OwnerUin",
|
|
392
|
+
"output_required": true,
|
|
393
|
+
"type": "int",
|
|
394
|
+
"value_allowed_null": false
|
|
395
|
+
},
|
|
396
|
+
{
|
|
397
|
+
"disabled": false,
|
|
398
|
+
"document": "Specifies the baseline item name, which must be unique and can only contain a combination of english letters, digits, chinese characters, and symbols @, &_[]-, with a length of 1-25 chinese or english characters.",
|
|
399
|
+
"example": "default",
|
|
400
|
+
"member": "string",
|
|
401
|
+
"name": "Name",
|
|
402
|
+
"output_required": true,
|
|
403
|
+
"type": "string",
|
|
404
|
+
"value_allowed_null": false
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
"disabled": false,
|
|
408
|
+
"document": "List of baseline item configurations.",
|
|
409
|
+
"example": "[{\"Identifier\":\"ACS-BP_ACCOUNT_FACTORY_ACCOUNT_CONTACT\",\"Configuration\":\"{\\\"Contacts\\\":[{\\\"Name\\\":\\\"dest\\\",\\\"Email\\\":\\\"ia@22.com\\\",\\\"Mobile\\\":\\\"12345678910\\\",\\\"Position\\\":\\\"Technical Director\\\"}]}\",\"ApplyCount\":5}]",
|
|
410
|
+
"member": "BaselineInfoItem",
|
|
411
|
+
"name": "BaselineConfigItems",
|
|
412
|
+
"output_required": true,
|
|
413
|
+
"type": "list",
|
|
414
|
+
"value_allowed_null": false
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
"disabled": false,
|
|
418
|
+
"document": "Creation time, represented in ISO8601 standard format as yyyy-MM-dd hh:MM:ss.",
|
|
419
|
+
"example": "2022-08-18 12:00:00",
|
|
420
|
+
"member": "string",
|
|
421
|
+
"name": "CreateTime",
|
|
422
|
+
"output_required": true,
|
|
423
|
+
"type": "string",
|
|
424
|
+
"value_allowed_null": false
|
|
425
|
+
},
|
|
426
|
+
{
|
|
427
|
+
"disabled": false,
|
|
428
|
+
"document": "Specifies the last update time in ISO8601 standard representation with format yyyy-MM-dd hh:MM:ss.",
|
|
429
|
+
"example": "2022-08-18 12:00:00",
|
|
430
|
+
"member": "string",
|
|
431
|
+
"name": "UpdateTime",
|
|
432
|
+
"output_required": true,
|
|
433
|
+
"type": "string",
|
|
434
|
+
"value_allowed_null": false
|
|
435
|
+
},
|
|
436
|
+
{
|
|
437
|
+
"document": "The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.",
|
|
438
|
+
"member": "string",
|
|
439
|
+
"name": "RequestId",
|
|
440
|
+
"type": "string"
|
|
441
|
+
}
|
|
442
|
+
],
|
|
443
|
+
"type": "object"
|
|
444
|
+
},
|
|
445
|
+
"ListAccountFactoryBaselineItemsRequest": {
|
|
446
|
+
"document": "ListAccountFactoryBaselineItems request structure.",
|
|
447
|
+
"members": [
|
|
448
|
+
{
|
|
449
|
+
"disabled": false,
|
|
450
|
+
"document": "Maximum number of returned records. value ranges from 0 to 200.",
|
|
451
|
+
"example": "10",
|
|
452
|
+
"member": "int64",
|
|
453
|
+
"name": "Limit",
|
|
454
|
+
"required": true,
|
|
455
|
+
"type": "int"
|
|
456
|
+
},
|
|
457
|
+
{
|
|
458
|
+
"disabled": false,
|
|
459
|
+
"document": "Offset. valid values are equal to or greater than 0.",
|
|
460
|
+
"example": "0",
|
|
461
|
+
"member": "int64",
|
|
462
|
+
"name": "Offset",
|
|
463
|
+
"required": true,
|
|
464
|
+
"type": "int"
|
|
465
|
+
}
|
|
466
|
+
],
|
|
467
|
+
"type": "object"
|
|
468
|
+
},
|
|
469
|
+
"ListAccountFactoryBaselineItemsResponse": {
|
|
470
|
+
"document": "ListAccountFactoryBaselineItems response structure.",
|
|
471
|
+
"members": [
|
|
472
|
+
{
|
|
473
|
+
"disabled": false,
|
|
474
|
+
"document": "Account factory baseline list.",
|
|
475
|
+
"example": "[{\"Identifier\":\"test_identifier\",\"Name\":\"testName\",\"Weight\":2,\"Required\":1,\"DependsOn\":[],\"Description\":\"testUpdate\"}]",
|
|
476
|
+
"member": "AccountFactoryItem",
|
|
477
|
+
"name": "BaselineItems",
|
|
478
|
+
"output_required": true,
|
|
479
|
+
"type": "list",
|
|
480
|
+
"value_allowed_null": false
|
|
481
|
+
},
|
|
482
|
+
{
|
|
483
|
+
"disabled": false,
|
|
484
|
+
"document": "Total quantity.",
|
|
485
|
+
"example": "10",
|
|
486
|
+
"member": "int64",
|
|
487
|
+
"name": "Total",
|
|
488
|
+
"output_required": true,
|
|
489
|
+
"type": "int",
|
|
490
|
+
"value_allowed_null": false
|
|
491
|
+
},
|
|
492
|
+
{
|
|
493
|
+
"document": "The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.",
|
|
494
|
+
"member": "string",
|
|
495
|
+
"name": "RequestId",
|
|
496
|
+
"type": "string"
|
|
497
|
+
}
|
|
498
|
+
],
|
|
499
|
+
"type": "object"
|
|
500
|
+
},
|
|
501
|
+
"ListDeployStepTasksRequest": {
|
|
502
|
+
"document": "ListDeployStepTasks request structure.",
|
|
503
|
+
"members": [
|
|
504
|
+
{
|
|
505
|
+
"disabled": false,
|
|
506
|
+
"document": "Specifies the unique identifier for the feature item, can only contain english letters, digits, and @, ,._[]-:()()[]+=., with a length of 2-128 characters.",
|
|
507
|
+
"example": "ACS-BP_GUARDRAILS",
|
|
508
|
+
"member": "string",
|
|
509
|
+
"name": "Identifier",
|
|
510
|
+
"required": true,
|
|
511
|
+
"type": "string"
|
|
512
|
+
},
|
|
513
|
+
{
|
|
514
|
+
"disabled": false,
|
|
515
|
+
"document": "Maximum number of returned records. value ranges from 0 to 200.",
|
|
516
|
+
"example": "10",
|
|
517
|
+
"member": "int64",
|
|
518
|
+
"name": "Limit",
|
|
519
|
+
"required": true,
|
|
520
|
+
"type": "int"
|
|
521
|
+
},
|
|
522
|
+
{
|
|
523
|
+
"disabled": false,
|
|
524
|
+
"document": "Offset. valid values are equal to or greater than 0.",
|
|
525
|
+
"example": "0",
|
|
526
|
+
"member": "int64",
|
|
527
|
+
"name": "Offset",
|
|
528
|
+
"required": true,
|
|
529
|
+
"type": "int"
|
|
530
|
+
}
|
|
531
|
+
],
|
|
532
|
+
"type": "object"
|
|
533
|
+
},
|
|
534
|
+
"ListDeployStepTasksResponse": {
|
|
535
|
+
"document": "ListDeployStepTasks response structure.",
|
|
536
|
+
"members": [
|
|
537
|
+
{
|
|
538
|
+
"disabled": false,
|
|
539
|
+
"document": "Account factory baseline function application information list.",
|
|
540
|
+
"example": "[{\"TaskId\":\"s8gsj834y8ef0cjs\",\"Identifier\":\"TCC-AF_CAM_USER_PASSWORD_POLICY\",\"MemberUin\":100000000001,\"Status\":\"Success\",\"ErrCode\":\"Ok\",\"ErrMessage\":\"Ok\",\"CreateTime\":\"2022-08-18 12:00:00\",\"UpdateTime\":\"2022-08-18 12:00:00\"}]",
|
|
541
|
+
"member": "BaselineStepTaskInfo",
|
|
542
|
+
"name": "BaselineDeployStepTaskList",
|
|
543
|
+
"output_required": true,
|
|
544
|
+
"type": "list",
|
|
545
|
+
"value_allowed_null": false
|
|
546
|
+
},
|
|
547
|
+
{
|
|
548
|
+
"disabled": false,
|
|
549
|
+
"document": "Total quantity.",
|
|
550
|
+
"example": "1",
|
|
551
|
+
"member": "int64",
|
|
552
|
+
"name": "Total",
|
|
553
|
+
"output_required": true,
|
|
554
|
+
"type": "int",
|
|
555
|
+
"value_allowed_null": false
|
|
556
|
+
},
|
|
557
|
+
{
|
|
558
|
+
"document": "The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.",
|
|
559
|
+
"member": "string",
|
|
560
|
+
"name": "RequestId",
|
|
561
|
+
"type": "string"
|
|
562
|
+
}
|
|
563
|
+
],
|
|
564
|
+
"type": "object"
|
|
565
|
+
},
|
|
566
|
+
"UpdateAccountFactoryBaselineRequest": {
|
|
567
|
+
"document": "UpdateAccountFactoryBaseline request structure.",
|
|
568
|
+
"members": [
|
|
569
|
+
{
|
|
570
|
+
"disabled": false,
|
|
571
|
+
"document": "Specifies the baseline name, which must be unique and can only contain a combination of english letters, digits, chinese characters, and symbols @, &_[]-, with a length of 1-25 chinese or english characters.",
|
|
572
|
+
"example": "default",
|
|
573
|
+
"member": "string",
|
|
574
|
+
"name": "Name",
|
|
575
|
+
"required": true,
|
|
576
|
+
"type": "string"
|
|
577
|
+
},
|
|
578
|
+
{
|
|
579
|
+
"disabled": false,
|
|
580
|
+
"document": "Baseline configuration. overwrite update. can be accessed through controlcenter:GetAccountFactoryBaseline to query existing baseline configuration. can be accessed through controlcenter:ListAccountFactoryBaselineItems to query supported baseline list.",
|
|
581
|
+
"example": "[{\"Identifier\":\"ACS-BP_ACCOUNT_FACTORY_ACCOUNT_CONTACT\",\"Configuration\":\"{\\\"Contacts\\\":[{\\\"Name\\\":\\\"dest\\\",\\\"Email\\\":\\\"ia@22.com\\\",\\\"Mobile\\\":\\\"12345678910\\\",\\\"Position\\\":\\\"Technical Director\\\"}]}\"}]",
|
|
582
|
+
"member": "BaselineConfigItem",
|
|
583
|
+
"name": "BaselineConfigItems",
|
|
584
|
+
"required": false,
|
|
585
|
+
"type": "list"
|
|
586
|
+
}
|
|
587
|
+
],
|
|
588
|
+
"type": "object"
|
|
589
|
+
},
|
|
590
|
+
"UpdateAccountFactoryBaselineResponse": {
|
|
591
|
+
"document": "UpdateAccountFactoryBaseline response structure.",
|
|
592
|
+
"members": [
|
|
593
|
+
{
|
|
594
|
+
"document": "The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.",
|
|
595
|
+
"member": "string",
|
|
596
|
+
"name": "RequestId",
|
|
597
|
+
"type": "string"
|
|
598
|
+
}
|
|
599
|
+
],
|
|
600
|
+
"type": "object"
|
|
78
601
|
}
|
|
79
602
|
},
|
|
80
603
|
"version": "1.0"
|
|
@@ -7,6 +7,38 @@
|
|
|
7
7
|
"output": "{\n \"Response\": {\n \"RequestId\": \"e2f35fb3-3c8c-431e-b318-b4746cfe076c\"\n }\n}",
|
|
8
8
|
"title": "Applying baselines to existing accounts in batches"
|
|
9
9
|
}
|
|
10
|
+
],
|
|
11
|
+
"GetAccountFactoryBaseline": [
|
|
12
|
+
{
|
|
13
|
+
"document": "This example shows you how to obtain user baseline configuration.",
|
|
14
|
+
"input": "POST / HTTP/1.1\nHost: controlcenter.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetAccountFactoryBaseline\n<Common request parameters>\n\n{}",
|
|
15
|
+
"output": "{\n \"Response\": {\n \"OwnerUin\": 100000000001,\n \"Name\": \"default\",\n \"BaselineConfigItems\": [\n {\n \"Identifier\": \"ACS-BP_ACCOUNT_FACTORY_ACCOUNT_CONTACT\",\n \"Configuration\": \"{\\\"Contacts\\\":[{\\\"Name\\\":\\\"dest\\\",\\\"Email\\\":\\\"ia@22.com\\\",\\\"Mobile\\\":\\\"12345678910\\\",\\\"Position\\\":\\\"Technical Director\\\"}]}\",\n \"ApplyCount\": 5\n }\n ],\n \"CreateTime\": \"2022-08-18 12:00:00\",\n \"UpdateTime\": \"2022-08-18 12:00:00\",\n \"RequestId\": \"e2f35fb3-3c8c-431e-b318-b4746cfe076c\"\n }\n}",
|
|
16
|
+
"title": "Example"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"ListAccountFactoryBaselineItems": [
|
|
20
|
+
{
|
|
21
|
+
"document": "This example shows you how to retrieve the account baseline list from console.",
|
|
22
|
+
"input": "POST / HTTP/1.1\nHost: controlcenter.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListAccountFactoryBaselineItems\n<Common request parameters>\n\n{\n \"Limit\": 10,\n \"Offset\": 0\n}",
|
|
23
|
+
"output": "{\n \"Response\": {\n \"BaselineItems\": [\n {\nMessage\n \"ClassifyEn\": \"Message\",\n \"DependsOn\": [\n {\n \"Identifier\": \"TCC-AF_ACCOUNT_CONTACT\",\n \"Type\": \"AccountFactorySetUp\"\n }\n ],\n\"Description\": \"You can set recipients for each type of message. For important messages such as account, product, and failure notifications, you must set recipients to prevent missing messages and avoid losses.\"\n \"DescriptionEn\": \"Specify recipients for the notifications of different products. To avoid unexpected losses, we recommend you subscribe to important messages related to accounts, products, and errors.\",\n \"Identifier\": \"TCC-AF_ACCOUNT_NOTIFICATION\",\n\"Name\": \"Message subscription\"\n \"NameEn\": \"Message subscriptions\",\n \"Required\": 0,\n \"Weight\": 8\n }\n ],\n \"RequestId\": \"885a87d0-af7d-414a-b128-fd13653387b7\",\n \"Total\": 1\n }\n}",
|
|
24
|
+
"title": "Example"
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"ListDeployStepTasks": [
|
|
28
|
+
{
|
|
29
|
+
"document": "This example shows you how to retrieve deployment task history by baseline ID.",
|
|
30
|
+
"input": "POST / HTTP/1.1\nHost: controlcenter.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListDeployStepTasks\n<Common request parameters>\n\n{\n \"Limit\": 10,\n \"Offset\": 0,\n \"Identifier\": \"TCC-AF_CAM_USER_PASSWORD_POLICY\"\n}",
|
|
31
|
+
"output": "{\n \"Response\": {\n \"Total\": 1,\n \"BaselineDeployStepTaskList\": [\n {\n \"TaskId\": \"s8gsj834y8ef0cjs\",\n \"Identifier\": \"TCC-AF_CAM_USER_PASSWORD_POLICY\",\n \"MemberUin\": 100000000001,\n \"Status\": \"Success\",\n \"Output\": \"\",\n \"ErrCode\": \"Ok\",\n \"ErrMessage\": \"Ok\",\n \"CreateTime\": \"2022-08-18 12:00:00\",\n \"UpdateTime\": \"2022-08-18 12:00:00\"\n }\n ],\n \"RequestId\": \"ef0e0140-4e51-4087-95a1-f7fd18ca6d63\"\n }\n}",
|
|
32
|
+
"title": "Example"
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
"UpdateAccountFactoryBaseline": [
|
|
36
|
+
{
|
|
37
|
+
"document": "This example shows you how to batch update or add user baseline configurations.",
|
|
38
|
+
"input": "POST / HTTP/1.1\nHost: controlcenter.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateAccountFactoryBaseline\n<Common request parameters>\n\n{\n \"Name\": \"default\",\n \"BaselineConfigItems\": [\n {\n \"Identifier\": \"ACS-BP_ACCOUNT_FACTORY_ACCOUNT_CONTACT\",\n \"Configuration\": \"{\\\"Contacts\\\":[{\\\"Name\\\":\\\"dest\\\",\\\"Email\\\":\\\"ia@22.com\\\",\\\"Mobile\\\":\\\"12345678910\\\",\\\"Position\\\":\\\"Technical Director\\\"}]}\"\n }\n ]\n}",
|
|
39
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"748eabd0-5d58-40a6-85e3-26d74c3397d4\"\n }\n}",
|
|
40
|
+
"title": "Example"
|
|
41
|
+
}
|
|
10
42
|
]
|
|
11
43
|
},
|
|
12
44
|
"version": "1.0"
|
|
@@ -470,7 +470,7 @@
|
|
|
470
470
|
},
|
|
471
471
|
{
|
|
472
472
|
"disabled": false,
|
|
473
|
-
"document": "
|
|
473
|
+
"document": "PLUS: Plus Version.\nENHANCED: Enhanced Version.\nBASIC: Basic Version (default).",
|
|
474
474
|
"example": "ENHANCED",
|
|
475
475
|
"member": "string",
|
|
476
476
|
"name": "SdkVersion",
|
|
@@ -2182,6 +2182,16 @@
|
|
|
2182
2182
|
"type": "string",
|
|
2183
2183
|
"value_allowed_null": false
|
|
2184
2184
|
},
|
|
2185
|
+
{
|
|
2186
|
+
"disabled": false,
|
|
2187
|
+
"document": "Describes the detailed reason for the current liveness detection failure. Output only when SdkVersion is PLUS. Details are as follows:\n01 - User kept eyes closed throughout the process.\n02 - User failed to complete the specified action.\n03 - Suspected photo replay attack.\n04 - Suspected synthetic image.\n05 - Suspected synthetic video.\n06 - Suspected synthetic action.\n07 - Suspected fraud template.\n08 - Suspected watermark existence.\n09 - Light verification failed.\n10 - Face verification failed.\n11 - Poor face quality.\n12 - Unqualified collection quality.\n13 - Suspected adversarial sample attack.",
|
|
2188
|
+
"example": "[\"04\"]",
|
|
2189
|
+
"member": "string",
|
|
2190
|
+
"name": "LivenessInfoTag",
|
|
2191
|
+
"output_required": false,
|
|
2192
|
+
"type": "list",
|
|
2193
|
+
"value_allowed_null": true
|
|
2194
|
+
},
|
|
2185
2195
|
{
|
|
2186
2196
|
"document": "The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.",
|
|
2187
2197
|
"member": "string",
|
|
@@ -2215,7 +2225,7 @@
|
|
|
2215
2225
|
{
|
|
2216
2226
|
"disabled": false,
|
|
2217
2227
|
"document": "The photo (in Base64) to compare. This parameter is required when the value of `CheckMode` is `compare`.",
|
|
2218
|
-
"example": "
|
|
2228
|
+
"example": "/9j/4AAQSkZJRg.....s97n//2Q==",
|
|
2219
2229
|
"member": "string",
|
|
2220
2230
|
"name": "Image",
|
|
2221
2231
|
"required": false,
|
|
@@ -2241,7 +2251,7 @@
|
|
|
2241
2251
|
},
|
|
2242
2252
|
{
|
|
2243
2253
|
"disabled": false,
|
|
2244
|
-
"document": "
|
|
2254
|
+
"document": "PLUS: Plus Version.\nENHANCED: Enhanced Version.\nBASIC: Basic Version (Default).",
|
|
2245
2255
|
"example": "BASIC",
|
|
2246
2256
|
"member": "string",
|
|
2247
2257
|
"name": "SdkVersion",
|