tccli 3.0.1145.1__py2.py3-none-any.whl → 3.0.1146.1__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- tccli/__init__.py +1 -1
- tccli/services/cdb/v20170320/api.json +2 -2
- tccli/services/emr/v20190103/api.json +5 -5
- tccli/services/es/v20180416/api.json +13 -0
- tccli/services/ess/v20201111/api.json +9 -0
- tccli/services/essbasic/v20210526/api.json +24 -15
- tccli/services/lke/v20231130/api.json +11 -1
- tccli/services/mps/v20190612/api.json +20 -0
- tccli/services/ocr/v20181119/api.json +9 -0
- tccli/services/smpn/smpn_client.py +0 -159
- tccli/services/smpn/v20190822/api.json +0 -312
- tccli/services/smpn/v20190822/examples.json +0 -24
- tccli/services/tke/v20180525/api.json +3 -0
- {tccli-3.0.1145.1.dist-info → tccli-3.0.1146.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1145.1.dist-info → tccli-3.0.1146.1.dist-info}/RECORD +18 -18
- {tccli-3.0.1145.1.dist-info → tccli-3.0.1146.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1145.1.dist-info → tccli-3.0.1146.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1145.1.dist-info → tccli-3.0.1146.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = '3.0.
|
1
|
+
__version__ = '3.0.1146.1'
|
@@ -12673,7 +12673,7 @@
|
|
12673
12673
|
"example": "1",
|
12674
12674
|
"member": "int64",
|
12675
12675
|
"name": "TotalCount",
|
12676
|
-
"
|
12676
|
+
"output_required": true,
|
12677
12677
|
"type": "int",
|
12678
12678
|
"value_allowed_null": false
|
12679
12679
|
},
|
@@ -12683,7 +12683,7 @@
|
|
12683
12683
|
"example": "无",
|
12684
12684
|
"member": "SqlFileInfo",
|
12685
12685
|
"name": "Items",
|
12686
|
-
"
|
12686
|
+
"output_required": true,
|
12687
12687
|
"type": "list",
|
12688
12688
|
"value_allowed_null": false
|
12689
12689
|
},
|
@@ -7117,7 +7117,7 @@
|
|
7117
7117
|
},
|
7118
7118
|
{
|
7119
7119
|
"disabled": false,
|
7120
|
-
"document": "
|
7120
|
+
"document": "扩缩容负载指标。注:不推荐使用此属性,和LoadMetricsConditions属性配置互斥,配置了LoadMetricsConditions,这个属性不生效。请优先使用LoadMetricsConditions属性支持多指标。\n注意:此字段可能返回 null,表示取不到有效值。",
|
7121
7121
|
"example": "无",
|
7122
7122
|
"member": "string",
|
7123
7123
|
"name": "LoadMetrics",
|
@@ -7128,7 +7128,7 @@
|
|
7128
7128
|
},
|
7129
7129
|
{
|
7130
7130
|
"disabled": false,
|
7131
|
-
"document": "规则元数据记录ID
|
7131
|
+
"document": "规则元数据记录ID。注:不推荐使用此属性,和LoadMetricsConditions属性配置互斥,配置了LoadMetricsConditions,这个属性不生效。请优先使用LoadMetricsConditions属性支持多指标。\n注意:此字段可能返回 null,表示取不到有效值。",
|
7132
7132
|
"example": "无",
|
7133
7133
|
"member": "int64",
|
7134
7134
|
"name": "MetricId",
|
@@ -7139,7 +7139,7 @@
|
|
7139
7139
|
},
|
7140
7140
|
{
|
7141
7141
|
"disabled": false,
|
7142
|
-
"document": "规则统计周期,提供300s,600s,900s
|
7142
|
+
"document": "规则统计周期,提供300s,600s,900s。注:不推荐使用此属性,和LoadMetricsConditions属性配置互斥,配置了LoadMetricsConditions,这个属性不生效。请优先使用LoadMetricsConditions属性支持多指标。\n注意:此字段可能返回 null,表示取不到有效值。",
|
7143
7143
|
"example": "无",
|
7144
7144
|
"member": "int64",
|
7145
7145
|
"name": "StatisticPeriod",
|
@@ -7161,7 +7161,7 @@
|
|
7161
7161
|
},
|
7162
7162
|
{
|
7163
7163
|
"disabled": false,
|
7164
|
-
"document": "触发次数,当连续触发超过TriggerThreshold
|
7164
|
+
"document": "触发次数,当连续触发超过TriggerThreshold次后才开始扩缩容。注:不推荐使用此属性,和LoadMetricsConditions属性配置互斥,配置了LoadMetricsConditions,这个属性不生效。请优先使用LoadMetricsConditions属性支持多指标。",
|
7165
7165
|
"example": "无",
|
7166
7166
|
"member": "int64",
|
7167
7167
|
"name": "TriggerThreshold",
|
@@ -7172,7 +7172,7 @@
|
|
7172
7172
|
},
|
7173
7173
|
{
|
7174
7174
|
"disabled": false,
|
7175
|
-
"document": "
|
7175
|
+
"document": "条件触发数组。注:不推荐使用此属性,和LoadMetricsConditions属性配置互斥,配置了LoadMetricsConditions,这个属性不生效。请优先使用LoadMetricsConditions属性支持多指标。\n注意:此字段可能返回 null,表示取不到有效值。",
|
7176
7176
|
"example": "无",
|
7177
7177
|
"member": "TriggerConditions",
|
7178
7178
|
"name": "TriggerConditions",
|
@@ -8436,6 +8436,7 @@
|
|
8436
8436
|
"example": "3d",
|
8437
8437
|
"member": "string",
|
8438
8438
|
"name": "ExpireMaxAge",
|
8439
|
+
"output_required": true,
|
8439
8440
|
"required": false,
|
8440
8441
|
"type": "string",
|
8441
8442
|
"value_allowed_null": true
|
@@ -8446,6 +8447,18 @@
|
|
8446
8447
|
"example": "@timestamp",
|
8447
8448
|
"member": "string",
|
8448
8449
|
"name": "TimestampField",
|
8450
|
+
"output_required": true,
|
8451
|
+
"required": false,
|
8452
|
+
"type": "string",
|
8453
|
+
"value_allowed_null": true
|
8454
|
+
},
|
8455
|
+
{
|
8456
|
+
"disabled": false,
|
8457
|
+
"document": "标准存储时长\n注意:此字段可能返回 null,表示取不到有效值。",
|
8458
|
+
"example": "无",
|
8459
|
+
"member": "string",
|
8460
|
+
"name": "SinkCycleAge",
|
8461
|
+
"output_required": false,
|
8449
8462
|
"required": false,
|
8450
8463
|
"type": "string",
|
8451
8464
|
"value_allowed_null": true
|
@@ -2921,6 +2921,15 @@
|
|
2921
2921
|
"name": "Agent",
|
2922
2922
|
"required": false,
|
2923
2923
|
"type": "object"
|
2924
|
+
},
|
2925
|
+
{
|
2926
|
+
"disabled": false,
|
2927
|
+
"document": "链接/二维码的有效截止时间,格式为unix时间戳。最长不超过 2099年12月31日(4102415999)。\n默认值为有效期为当前时间后7天。",
|
2928
|
+
"example": "无",
|
2929
|
+
"member": "uint64",
|
2930
|
+
"name": "ExpiredOn",
|
2931
|
+
"required": false,
|
2932
|
+
"type": "int"
|
2924
2933
|
}
|
2925
2934
|
],
|
2926
2935
|
"type": "object"
|
@@ -6233,6 +6233,15 @@
|
|
6233
6233
|
"name": "FlowId",
|
6234
6234
|
"required": true,
|
6235
6235
|
"type": "string"
|
6236
|
+
},
|
6237
|
+
{
|
6238
|
+
"disabled": false,
|
6239
|
+
"document": "链接/二维码的有效截止时间,格式为unix时间戳。最长不超过 2099年12月31日(4102415999)。\n默认值为有效期为当前时间后7天。",
|
6240
|
+
"example": "无",
|
6241
|
+
"member": "uint64",
|
6242
|
+
"name": "ExpiredOn",
|
6243
|
+
"required": false,
|
6244
|
+
"type": "int"
|
6236
6245
|
}
|
6237
6246
|
],
|
6238
6247
|
"type": "object"
|
@@ -7701,7 +7710,7 @@
|
|
7701
7710
|
},
|
7702
7711
|
{
|
7703
7712
|
"disabled": false,
|
7704
|
-
"document": "合同模板ID数组,每一个合同模板ID为32位字符串, 最多支持
|
7713
|
+
"document": "合同模板ID数组,每一个合同模板ID为32位字符串, 最多支持100个模板的批量查询。\n\n注意: \n1.` 此参数TemplateIds与TemplateId互为独立,若两者均传入,以TemplateId为准。`\n2. `请确保每个模板均正确且属于当前企业,若有任一模板不存在,则返回错误。`\n4. `若传递此参数,分页参数(Limit,Offset)无效`\n\n\n[点击查看模板Id在控制台上的位置](https://qcloudimg.tencent-cloud.cn/raw/e988be12bf28a89b4716aed4502c2e02.png)\n",
|
7705
7714
|
"example": "无",
|
7706
7715
|
"member": "string",
|
7707
7716
|
"name": "TemplateIds",
|
@@ -7710,7 +7719,7 @@
|
|
7710
7719
|
},
|
7711
7720
|
{
|
7712
7721
|
"disabled": false,
|
7713
|
-
"document": "指定每页返回的数据条数,和Offset参数配合使用。\n\n注:`1.默认值为20,单页做大值为
|
7722
|
+
"document": "指定每页返回的数据条数,和Offset参数配合使用。\n\n注:`1.默认值为20,单页做大值为100。`",
|
7714
7723
|
"example": "无",
|
7715
7724
|
"member": "uint64",
|
7716
7725
|
"name": "Limit",
|
@@ -11322,27 +11331,27 @@
|
|
11322
11331
|
"example": "无",
|
11323
11332
|
"member": "string",
|
11324
11333
|
"name": "UserId",
|
11325
|
-
"
|
11334
|
+
"output_required": true,
|
11326
11335
|
"type": "string",
|
11327
11336
|
"value_allowed_null": false
|
11328
11337
|
},
|
11329
11338
|
{
|
11330
11339
|
"disabled": false,
|
11331
|
-
"document": "
|
11340
|
+
"document": "显示的员工名\n注意:2024-07-08 及之后创建的应用号,该字段返回的是打码信息",
|
11332
11341
|
"example": "无",
|
11333
11342
|
"member": "string",
|
11334
11343
|
"name": "DisplayName",
|
11335
|
-
"
|
11344
|
+
"output_required": true,
|
11336
11345
|
"type": "string",
|
11337
11346
|
"value_allowed_null": false
|
11338
11347
|
},
|
11339
11348
|
{
|
11340
11349
|
"disabled": false,
|
11341
|
-
"document": "
|
11350
|
+
"document": "员工手机号\n注意:2024-07-08 及之后创建的应用号,该字段返回的是打码信息",
|
11342
11351
|
"example": "无",
|
11343
11352
|
"member": "string",
|
11344
11353
|
"name": "Mobile",
|
11345
|
-
"
|
11354
|
+
"output_required": true,
|
11346
11355
|
"type": "string",
|
11347
11356
|
"value_allowed_null": false
|
11348
11357
|
},
|
@@ -11352,7 +11361,7 @@
|
|
11352
11361
|
"example": "无",
|
11353
11362
|
"member": "string",
|
11354
11363
|
"name": "Email",
|
11355
|
-
"
|
11364
|
+
"output_required": true,
|
11356
11365
|
"type": "string",
|
11357
11366
|
"value_allowed_null": true
|
11358
11367
|
},
|
@@ -11362,7 +11371,7 @@
|
|
11362
11371
|
"example": "无",
|
11363
11372
|
"member": "string",
|
11364
11373
|
"name": "OpenId",
|
11365
|
-
"
|
11374
|
+
"output_required": true,
|
11366
11375
|
"type": "string",
|
11367
11376
|
"value_allowed_null": true
|
11368
11377
|
},
|
@@ -11372,7 +11381,7 @@
|
|
11372
11381
|
"example": "无",
|
11373
11382
|
"member": "StaffRole",
|
11374
11383
|
"name": "Roles",
|
11375
|
-
"
|
11384
|
+
"output_required": true,
|
11376
11385
|
"type": "list",
|
11377
11386
|
"value_allowed_null": true
|
11378
11387
|
},
|
@@ -11382,7 +11391,7 @@
|
|
11382
11391
|
"example": "无",
|
11383
11392
|
"member": "Department",
|
11384
11393
|
"name": "Department",
|
11385
|
-
"
|
11394
|
+
"output_required": true,
|
11386
11395
|
"type": "object",
|
11387
11396
|
"value_allowed_null": true
|
11388
11397
|
},
|
@@ -11392,7 +11401,7 @@
|
|
11392
11401
|
"example": "无",
|
11393
11402
|
"member": "bool",
|
11394
11403
|
"name": "Verified",
|
11395
|
-
"
|
11404
|
+
"output_required": true,
|
11396
11405
|
"type": "bool",
|
11397
11406
|
"value_allowed_null": false
|
11398
11407
|
},
|
@@ -11402,7 +11411,7 @@
|
|
11402
11411
|
"example": "无",
|
11403
11412
|
"member": "int64",
|
11404
11413
|
"name": "CreatedOn",
|
11405
|
-
"
|
11414
|
+
"output_required": true,
|
11406
11415
|
"type": "int",
|
11407
11416
|
"value_allowed_null": false
|
11408
11417
|
},
|
@@ -11412,7 +11421,7 @@
|
|
11412
11421
|
"example": "无",
|
11413
11422
|
"member": "int64",
|
11414
11423
|
"name": "VerifiedOn",
|
11415
|
-
"
|
11424
|
+
"output_required": true,
|
11416
11425
|
"type": "int",
|
11417
11426
|
"value_allowed_null": false
|
11418
11427
|
},
|
@@ -11422,7 +11431,7 @@
|
|
11422
11431
|
"example": "无",
|
11423
11432
|
"member": "int64",
|
11424
11433
|
"name": "QuiteJob",
|
11425
|
-
"
|
11434
|
+
"output_required": true,
|
11426
11435
|
"type": "int",
|
11427
11436
|
"value_allowed_null": false
|
11428
11437
|
}
|
@@ -477,7 +477,7 @@
|
|
477
477
|
"status": "online"
|
478
478
|
},
|
479
479
|
"ParseDoc": {
|
480
|
-
"document": "接口即将下线,请切换使用新接口:[文档解析](https://cloud.tencent.com/document/product/1759/107504)
|
480
|
+
"document": "接口即将下线,请切换使用新接口:[文档解析](https://cloud.tencent.com/document/product/1759/107504)",
|
481
481
|
"input": "ParseDocRequest",
|
482
482
|
"name": "文档解析旧版(请迁移新接口)",
|
483
483
|
"output": "ParseDocResponse",
|
@@ -6026,6 +6026,16 @@
|
|
6026
6026
|
"output_required": false,
|
6027
6027
|
"type": "string",
|
6028
6028
|
"value_allowed_null": true
|
6029
|
+
},
|
6030
|
+
{
|
6031
|
+
"disabled": false,
|
6032
|
+
"document": "是否允许重试,0:否,1:是\n注意:此字段可能返回 null,表示取不到有效值。",
|
6033
|
+
"example": "无",
|
6034
|
+
"member": "bool",
|
6035
|
+
"name": "IsAllowRetry",
|
6036
|
+
"output_required": false,
|
6037
|
+
"type": "bool",
|
6038
|
+
"value_allowed_null": true
|
6029
6039
|
}
|
6030
6040
|
],
|
6031
6041
|
"usage": "out"
|
@@ -1976,6 +1976,26 @@
|
|
1976
1976
|
"output_required": true,
|
1977
1977
|
"type": "object",
|
1978
1978
|
"value_allowed_null": false
|
1979
|
+
},
|
1980
|
+
{
|
1981
|
+
"disabled": false,
|
1982
|
+
"document": "基于画面提取的字幕文件路径。\n注意:此字段可能返回 null,表示取不到有效值。",
|
1983
|
+
"example": "无",
|
1984
|
+
"member": "string",
|
1985
|
+
"name": "OriginSubtitlePath",
|
1986
|
+
"output_required": false,
|
1987
|
+
"type": "string",
|
1988
|
+
"value_allowed_null": true
|
1989
|
+
},
|
1990
|
+
{
|
1991
|
+
"disabled": false,
|
1992
|
+
"document": "基于画面提取的字幕翻译文件路径。\n注意:此字段可能返回 null,表示取不到有效值。",
|
1993
|
+
"example": "无",
|
1994
|
+
"member": "string",
|
1995
|
+
"name": "TranslateSubtitlePath",
|
1996
|
+
"output_required": false,
|
1997
|
+
"type": "string",
|
1998
|
+
"value_allowed_null": true
|
1979
1999
|
}
|
1980
2000
|
],
|
1981
2001
|
"usage": "out"
|
@@ -20851,6 +20851,15 @@
|
|
20851
20851
|
"name": "OfdFileBase64",
|
20852
20852
|
"required": false,
|
20853
20853
|
"type": "string"
|
20854
|
+
},
|
20855
|
+
{
|
20856
|
+
"disabled": false,
|
20857
|
+
"document": "需要识别的OFD发票页面的对应页码,默认值为1。 示例值:1",
|
20858
|
+
"example": "1",
|
20859
|
+
"member": "int64",
|
20860
|
+
"name": "OfdPageNumber",
|
20861
|
+
"required": false,
|
20862
|
+
"type": "int"
|
20854
20863
|
}
|
20855
20864
|
],
|
20856
20865
|
"type": "object"
|
@@ -17,58 +17,6 @@ from tencentcloud.smpn.v20190822 import models as models_v20190822
|
|
17
17
|
from jmespath import search
|
18
18
|
import time
|
19
19
|
|
20
|
-
def doDescribeSmpnMhm(args, parsed_globals):
|
21
|
-
g_param = parse_global_arg(parsed_globals)
|
22
|
-
|
23
|
-
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
24
|
-
cred = credential.CVMRoleCredential()
|
25
|
-
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
26
|
-
cred = credential.STSAssumeRoleCredential(
|
27
|
-
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
28
|
-
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
29
|
-
)
|
30
|
-
elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
|
31
|
-
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
32
|
-
else:
|
33
|
-
cred = credential.Credential(
|
34
|
-
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
35
|
-
)
|
36
|
-
http_profile = HttpProfile(
|
37
|
-
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
38
|
-
reqMethod="POST",
|
39
|
-
endpoint=g_param[OptionsDefine.Endpoint],
|
40
|
-
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
41
|
-
)
|
42
|
-
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
43
|
-
if g_param[OptionsDefine.Language]:
|
44
|
-
profile.language = g_param[OptionsDefine.Language]
|
45
|
-
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
46
|
-
client = mod.SmpnClient(cred, g_param[OptionsDefine.Region], profile)
|
47
|
-
client._sdkVersion += ("_CLI_" + __version__)
|
48
|
-
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
49
|
-
model = models.DescribeSmpnMhmRequest()
|
50
|
-
model.from_json_string(json.dumps(args))
|
51
|
-
start_time = time.time()
|
52
|
-
while True:
|
53
|
-
rsp = client.DescribeSmpnMhm(model)
|
54
|
-
result = rsp.to_json_string()
|
55
|
-
try:
|
56
|
-
json_obj = json.loads(result)
|
57
|
-
except TypeError as e:
|
58
|
-
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
59
|
-
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
60
|
-
break
|
61
|
-
cur_time = time.time()
|
62
|
-
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
63
|
-
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
64
|
-
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
65
|
-
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
66
|
-
else:
|
67
|
-
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
68
|
-
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
69
|
-
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
70
|
-
|
71
|
-
|
72
20
|
def doDescribeSmpnFnr(args, parsed_globals):
|
73
21
|
g_param = parse_global_arg(parsed_globals)
|
74
22
|
|
@@ -121,58 +69,6 @@ def doDescribeSmpnFnr(args, parsed_globals):
|
|
121
69
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
122
70
|
|
123
71
|
|
124
|
-
def doCreateSmpnEpa(args, parsed_globals):
|
125
|
-
g_param = parse_global_arg(parsed_globals)
|
126
|
-
|
127
|
-
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
128
|
-
cred = credential.CVMRoleCredential()
|
129
|
-
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
130
|
-
cred = credential.STSAssumeRoleCredential(
|
131
|
-
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
132
|
-
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
133
|
-
)
|
134
|
-
elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
|
135
|
-
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
136
|
-
else:
|
137
|
-
cred = credential.Credential(
|
138
|
-
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
139
|
-
)
|
140
|
-
http_profile = HttpProfile(
|
141
|
-
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
142
|
-
reqMethod="POST",
|
143
|
-
endpoint=g_param[OptionsDefine.Endpoint],
|
144
|
-
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
145
|
-
)
|
146
|
-
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
147
|
-
if g_param[OptionsDefine.Language]:
|
148
|
-
profile.language = g_param[OptionsDefine.Language]
|
149
|
-
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
150
|
-
client = mod.SmpnClient(cred, g_param[OptionsDefine.Region], profile)
|
151
|
-
client._sdkVersion += ("_CLI_" + __version__)
|
152
|
-
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
153
|
-
model = models.CreateSmpnEpaRequest()
|
154
|
-
model.from_json_string(json.dumps(args))
|
155
|
-
start_time = time.time()
|
156
|
-
while True:
|
157
|
-
rsp = client.CreateSmpnEpa(model)
|
158
|
-
result = rsp.to_json_string()
|
159
|
-
try:
|
160
|
-
json_obj = json.loads(result)
|
161
|
-
except TypeError as e:
|
162
|
-
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
163
|
-
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
164
|
-
break
|
165
|
-
cur_time = time.time()
|
166
|
-
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
167
|
-
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
168
|
-
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
169
|
-
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
170
|
-
else:
|
171
|
-
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
172
|
-
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
173
|
-
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
174
|
-
|
175
|
-
|
176
72
|
def doDescribeSmpnChp(args, parsed_globals):
|
177
73
|
g_param = parse_global_arg(parsed_globals)
|
178
74
|
|
@@ -225,58 +121,6 @@ def doDescribeSmpnChp(args, parsed_globals):
|
|
225
121
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
226
122
|
|
227
123
|
|
228
|
-
def doDescribeSmpnMrl(args, parsed_globals):
|
229
|
-
g_param = parse_global_arg(parsed_globals)
|
230
|
-
|
231
|
-
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
232
|
-
cred = credential.CVMRoleCredential()
|
233
|
-
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
234
|
-
cred = credential.STSAssumeRoleCredential(
|
235
|
-
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
236
|
-
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
237
|
-
)
|
238
|
-
elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
|
239
|
-
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
240
|
-
else:
|
241
|
-
cred = credential.Credential(
|
242
|
-
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
243
|
-
)
|
244
|
-
http_profile = HttpProfile(
|
245
|
-
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
246
|
-
reqMethod="POST",
|
247
|
-
endpoint=g_param[OptionsDefine.Endpoint],
|
248
|
-
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
249
|
-
)
|
250
|
-
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
251
|
-
if g_param[OptionsDefine.Language]:
|
252
|
-
profile.language = g_param[OptionsDefine.Language]
|
253
|
-
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
254
|
-
client = mod.SmpnClient(cred, g_param[OptionsDefine.Region], profile)
|
255
|
-
client._sdkVersion += ("_CLI_" + __version__)
|
256
|
-
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
257
|
-
model = models.DescribeSmpnMrlRequest()
|
258
|
-
model.from_json_string(json.dumps(args))
|
259
|
-
start_time = time.time()
|
260
|
-
while True:
|
261
|
-
rsp = client.DescribeSmpnMrl(model)
|
262
|
-
result = rsp.to_json_string()
|
263
|
-
try:
|
264
|
-
json_obj = json.loads(result)
|
265
|
-
except TypeError as e:
|
266
|
-
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
267
|
-
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
268
|
-
break
|
269
|
-
cur_time = time.time()
|
270
|
-
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
271
|
-
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
272
|
-
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
273
|
-
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
274
|
-
else:
|
275
|
-
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
276
|
-
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
277
|
-
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
278
|
-
|
279
|
-
|
280
124
|
CLIENT_MAP = {
|
281
125
|
"v20190822": smpn_client_v20190822,
|
282
126
|
|
@@ -288,11 +132,8 @@ MODELS_MAP = {
|
|
288
132
|
}
|
289
133
|
|
290
134
|
ACTION_MAP = {
|
291
|
-
"DescribeSmpnMhm": doDescribeSmpnMhm,
|
292
135
|
"DescribeSmpnFnr": doDescribeSmpnFnr,
|
293
|
-
"CreateSmpnEpa": doCreateSmpnEpa,
|
294
136
|
"DescribeSmpnChp": doDescribeSmpnChp,
|
295
|
-
"DescribeSmpnMrl": doDescribeSmpnMrl,
|
296
137
|
|
297
138
|
}
|
298
139
|
|
@@ -1,12 +1,5 @@
|
|
1
1
|
{
|
2
2
|
"actions": {
|
3
|
-
"CreateSmpnEpa": {
|
4
|
-
"document": "不在使用的API\n\n企业号码认证",
|
5
|
-
"input": "CreateSmpnEpaRequest",
|
6
|
-
"name": "企业号码认证",
|
7
|
-
"output": "CreateSmpnEpaResponse",
|
8
|
-
"status": "deprecated"
|
9
|
-
},
|
10
3
|
"DescribeSmpnChp": {
|
11
4
|
"document": "不在使用的API\n\n查询号码的标记和标记次数",
|
12
5
|
"input": "DescribeSmpnChpRequest",
|
@@ -20,20 +13,6 @@
|
|
20
13
|
"name": "虚假号码识别",
|
21
14
|
"output": "DescribeSmpnFnrResponse",
|
22
15
|
"status": "deprecated"
|
23
|
-
},
|
24
|
-
"DescribeSmpnMhm": {
|
25
|
-
"document": "不在使用的API\n\n号码营销监控",
|
26
|
-
"input": "DescribeSmpnMhmRequest",
|
27
|
-
"name": "号码营销监控",
|
28
|
-
"output": "DescribeSmpnMhmResponse",
|
29
|
-
"status": "deprecated"
|
30
|
-
},
|
31
|
-
"DescribeSmpnMrl": {
|
32
|
-
"document": "不在使用的API\n\n查询号码恶意标记等级",
|
33
|
-
"input": "DescribeSmpnMrlRequest",
|
34
|
-
"name": "恶意标记等级",
|
35
|
-
"output": "DescribeSmpnMrlResponse",
|
36
|
-
"status": "deprecated"
|
37
16
|
}
|
38
17
|
},
|
39
18
|
"metadata": {
|
@@ -85,51 +64,6 @@
|
|
85
64
|
],
|
86
65
|
"usage": "out"
|
87
66
|
},
|
88
|
-
"CreateSmpnEpaRequest": {
|
89
|
-
"document": "CreateSmpnEpa请求参数结构体",
|
90
|
-
"members": [
|
91
|
-
{
|
92
|
-
"disabled": false,
|
93
|
-
"document": "企业号码认证请求内容",
|
94
|
-
"example": "",
|
95
|
-
"member": "EPARequest",
|
96
|
-
"name": "RequestData",
|
97
|
-
"required": true,
|
98
|
-
"type": "object"
|
99
|
-
},
|
100
|
-
{
|
101
|
-
"disabled": false,
|
102
|
-
"document": "用于计费的资源ID",
|
103
|
-
"example": "",
|
104
|
-
"member": "string",
|
105
|
-
"name": "ResourceId",
|
106
|
-
"required": true,
|
107
|
-
"type": "string"
|
108
|
-
}
|
109
|
-
],
|
110
|
-
"type": "object"
|
111
|
-
},
|
112
|
-
"CreateSmpnEpaResponse": {
|
113
|
-
"document": "CreateSmpnEpa返回参数结构体",
|
114
|
-
"members": [
|
115
|
-
{
|
116
|
-
"disabled": false,
|
117
|
-
"document": "业号码认证回应内容",
|
118
|
-
"example": "",
|
119
|
-
"member": "EPAResponse",
|
120
|
-
"name": "ResponseData",
|
121
|
-
"type": "object",
|
122
|
-
"value_allowed_null": false
|
123
|
-
},
|
124
|
-
{
|
125
|
-
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
126
|
-
"member": "string",
|
127
|
-
"name": "RequestId",
|
128
|
-
"type": "string"
|
129
|
-
}
|
130
|
-
],
|
131
|
-
"type": "object"
|
132
|
-
},
|
133
67
|
"DescribeSmpnChpRequest": {
|
134
68
|
"document": "DescribeSmpnChp请求参数结构体",
|
135
69
|
"members": [
|
@@ -220,138 +154,6 @@
|
|
220
154
|
],
|
221
155
|
"type": "object"
|
222
156
|
},
|
223
|
-
"DescribeSmpnMhmRequest": {
|
224
|
-
"document": "DescribeSmpnMhm请求参数结构体",
|
225
|
-
"members": [
|
226
|
-
{
|
227
|
-
"disabled": false,
|
228
|
-
"document": "号码营销监控请求内容",
|
229
|
-
"example": "",
|
230
|
-
"member": "MHMRequest",
|
231
|
-
"name": "RequestData",
|
232
|
-
"required": true,
|
233
|
-
"type": "object"
|
234
|
-
},
|
235
|
-
{
|
236
|
-
"disabled": false,
|
237
|
-
"document": "用于计费的资源ID",
|
238
|
-
"example": "",
|
239
|
-
"member": "string",
|
240
|
-
"name": "ResourceId",
|
241
|
-
"required": true,
|
242
|
-
"type": "string"
|
243
|
-
}
|
244
|
-
],
|
245
|
-
"type": "object"
|
246
|
-
},
|
247
|
-
"DescribeSmpnMhmResponse": {
|
248
|
-
"document": "DescribeSmpnMhm返回参数结构体",
|
249
|
-
"members": [
|
250
|
-
{
|
251
|
-
"disabled": false,
|
252
|
-
"document": "号码营销监控回应内容",
|
253
|
-
"example": "",
|
254
|
-
"member": "MHMResponse",
|
255
|
-
"name": "ResponseData",
|
256
|
-
"type": "object",
|
257
|
-
"value_allowed_null": false
|
258
|
-
},
|
259
|
-
{
|
260
|
-
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
261
|
-
"member": "string",
|
262
|
-
"name": "RequestId",
|
263
|
-
"type": "string"
|
264
|
-
}
|
265
|
-
],
|
266
|
-
"type": "object"
|
267
|
-
},
|
268
|
-
"DescribeSmpnMrlRequest": {
|
269
|
-
"document": "DescribeSmpnMrl请求参数结构体",
|
270
|
-
"members": [
|
271
|
-
{
|
272
|
-
"disabled": false,
|
273
|
-
"document": "恶意标记等级请求内容",
|
274
|
-
"example": "",
|
275
|
-
"member": "MRLRequest",
|
276
|
-
"name": "RequestData",
|
277
|
-
"required": true,
|
278
|
-
"type": "object"
|
279
|
-
},
|
280
|
-
{
|
281
|
-
"disabled": false,
|
282
|
-
"document": "用于计费的资源ID",
|
283
|
-
"example": "",
|
284
|
-
"member": "string",
|
285
|
-
"name": "ResourceId",
|
286
|
-
"required": true,
|
287
|
-
"type": "string"
|
288
|
-
}
|
289
|
-
],
|
290
|
-
"type": "object"
|
291
|
-
},
|
292
|
-
"DescribeSmpnMrlResponse": {
|
293
|
-
"document": "DescribeSmpnMrl返回参数结构体",
|
294
|
-
"members": [
|
295
|
-
{
|
296
|
-
"disabled": false,
|
297
|
-
"document": "恶意标记等级回应内容",
|
298
|
-
"example": "",
|
299
|
-
"member": "MRLResponse",
|
300
|
-
"name": "ResponseData",
|
301
|
-
"type": "object",
|
302
|
-
"value_allowed_null": false
|
303
|
-
},
|
304
|
-
{
|
305
|
-
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
306
|
-
"member": "string",
|
307
|
-
"name": "RequestId",
|
308
|
-
"type": "string"
|
309
|
-
}
|
310
|
-
],
|
311
|
-
"type": "object"
|
312
|
-
},
|
313
|
-
"EPARequest": {
|
314
|
-
"document": "企业号码认证请求",
|
315
|
-
"members": [
|
316
|
-
{
|
317
|
-
"disabled": false,
|
318
|
-
"document": "电话号码",
|
319
|
-
"example": "",
|
320
|
-
"member": "string",
|
321
|
-
"name": "PhoneNumber",
|
322
|
-
"required": true,
|
323
|
-
"type": "string",
|
324
|
-
"value_allowed_null": false
|
325
|
-
},
|
326
|
-
{
|
327
|
-
"disabled": false,
|
328
|
-
"document": "黄页名称",
|
329
|
-
"example": "",
|
330
|
-
"member": "string",
|
331
|
-
"name": "Name",
|
332
|
-
"required": true,
|
333
|
-
"type": "string",
|
334
|
-
"value_allowed_null": false
|
335
|
-
}
|
336
|
-
],
|
337
|
-
"usage": "in"
|
338
|
-
},
|
339
|
-
"EPAResponse": {
|
340
|
-
"document": "企业号码认证回应",
|
341
|
-
"members": [
|
342
|
-
{
|
343
|
-
"disabled": false,
|
344
|
-
"document": "0成功 其他失败",
|
345
|
-
"example": "",
|
346
|
-
"member": "int64",
|
347
|
-
"name": "RetCode",
|
348
|
-
"required": true,
|
349
|
-
"type": "int",
|
350
|
-
"value_allowed_null": false
|
351
|
-
}
|
352
|
-
],
|
353
|
-
"usage": "out"
|
354
|
-
},
|
355
157
|
"FNRRequest": {
|
356
158
|
"document": "虚假号码识别请求",
|
357
159
|
"members": [
|
@@ -383,120 +185,6 @@
|
|
383
185
|
}
|
384
186
|
],
|
385
187
|
"usage": "out"
|
386
|
-
},
|
387
|
-
"MHMRequest": {
|
388
|
-
"document": "号码营销监控请求",
|
389
|
-
"members": [
|
390
|
-
{
|
391
|
-
"disabled": false,
|
392
|
-
"document": "电话号码",
|
393
|
-
"example": "",
|
394
|
-
"member": "string",
|
395
|
-
"name": "PhoneNumber",
|
396
|
-
"required": true,
|
397
|
-
"type": "string",
|
398
|
-
"value_allowed_null": false
|
399
|
-
}
|
400
|
-
],
|
401
|
-
"usage": "in"
|
402
|
-
},
|
403
|
-
"MHMResponse": {
|
404
|
-
"document": "号码营销监控回应",
|
405
|
-
"members": [
|
406
|
-
{
|
407
|
-
"disabled": false,
|
408
|
-
"document": "标记类型\n 0: 无标记\n 50:骚扰电话\n 51:房产中介\n 52:保险理财\n 53:广告推销\n 54:诈骗电话\n 55:快递电话\n 56:出租车专车",
|
409
|
-
"example": "",
|
410
|
-
"member": "int64",
|
411
|
-
"name": "TagType",
|
412
|
-
"required": true,
|
413
|
-
"type": "int",
|
414
|
-
"value_allowed_null": false
|
415
|
-
},
|
416
|
-
{
|
417
|
-
"disabled": false,
|
418
|
-
"document": "标记次数",
|
419
|
-
"example": "",
|
420
|
-
"member": "int64",
|
421
|
-
"name": "TagCount",
|
422
|
-
"required": true,
|
423
|
-
"type": "int",
|
424
|
-
"value_allowed_null": false
|
425
|
-
}
|
426
|
-
],
|
427
|
-
"usage": "out"
|
428
|
-
},
|
429
|
-
"MRLRequest": {
|
430
|
-
"document": "号码恶意标记等级请求",
|
431
|
-
"members": [
|
432
|
-
{
|
433
|
-
"disabled": false,
|
434
|
-
"document": "电话号码",
|
435
|
-
"example": "",
|
436
|
-
"member": "string",
|
437
|
-
"name": "PhoneNumber",
|
438
|
-
"required": true,
|
439
|
-
"type": "string",
|
440
|
-
"value_allowed_null": false
|
441
|
-
}
|
442
|
-
],
|
443
|
-
"usage": "in"
|
444
|
-
},
|
445
|
-
"MRLResponse": {
|
446
|
-
"document": "号码恶意标记等级",
|
447
|
-
"members": [
|
448
|
-
{
|
449
|
-
"disabled": false,
|
450
|
-
"document": "骚扰电话恶意标记等级",
|
451
|
-
"example": "",
|
452
|
-
"member": "int64",
|
453
|
-
"name": "DisturbLevel",
|
454
|
-
"required": true,
|
455
|
-
"type": "int",
|
456
|
-
"value_allowed_null": false
|
457
|
-
},
|
458
|
-
{
|
459
|
-
"disabled": false,
|
460
|
-
"document": "房产中介恶意标记等级",
|
461
|
-
"example": "",
|
462
|
-
"member": "int64",
|
463
|
-
"name": "HouseAgentLevel",
|
464
|
-
"required": true,
|
465
|
-
"type": "int",
|
466
|
-
"value_allowed_null": false
|
467
|
-
},
|
468
|
-
{
|
469
|
-
"disabled": false,
|
470
|
-
"document": "保险理财恶意标记等级",
|
471
|
-
"example": "",
|
472
|
-
"member": "int64",
|
473
|
-
"name": "InsuranceLevel",
|
474
|
-
"required": true,
|
475
|
-
"type": "int",
|
476
|
-
"value_allowed_null": false
|
477
|
-
},
|
478
|
-
{
|
479
|
-
"disabled": false,
|
480
|
-
"document": "广告推销恶意标记等级",
|
481
|
-
"example": "",
|
482
|
-
"member": "int64",
|
483
|
-
"name": "SalesLevel",
|
484
|
-
"required": true,
|
485
|
-
"type": "int",
|
486
|
-
"value_allowed_null": false
|
487
|
-
},
|
488
|
-
{
|
489
|
-
"disabled": false,
|
490
|
-
"document": "诈骗电话恶意标记等级",
|
491
|
-
"example": "",
|
492
|
-
"member": "int64",
|
493
|
-
"name": "CheatLevel",
|
494
|
-
"required": true,
|
495
|
-
"type": "int",
|
496
|
-
"value_allowed_null": false
|
497
|
-
}
|
498
|
-
],
|
499
|
-
"usage": "out"
|
500
188
|
}
|
501
189
|
},
|
502
190
|
"version": "1.0"
|
@@ -1,13 +1,5 @@
|
|
1
1
|
{
|
2
2
|
"actions": {
|
3
|
-
"CreateSmpnEpa": [
|
4
|
-
{
|
5
|
-
"document": "",
|
6
|
-
"input": "https://smpn.tencentcloudapi.com/?Action=CreateSmpnEpa\r\n&ResourceId=test_resource_id_for_smpn_epa\r\n&RequestData.PhoneNumber=18122223554\r\n&RequestData.Name=黄页名称\r\n&<公共请求参数>",
|
7
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"891f2f2e-4851-4cd8-9555-8d92d6e77902\",\n \"ResponseData\": {\n \"RetCode\": 0\n }\n }\n}",
|
8
|
-
"title": "CreateSmpnEpa"
|
9
|
-
}
|
10
|
-
],
|
11
3
|
"DescribeSmpnChp": [
|
12
4
|
{
|
13
5
|
"document": "",
|
@@ -23,22 +15,6 @@
|
|
23
15
|
"output": "{\n \"Response\": {\n \"RequestId\": \"a3e252b4-1209-4a50-b3c0-465116f20d75\",\n \"ResponseData\": {}\n }\n}",
|
24
16
|
"title": "DescribeSmpnFnr"
|
25
17
|
}
|
26
|
-
],
|
27
|
-
"DescribeSmpnMhm": [
|
28
|
-
{
|
29
|
-
"document": "",
|
30
|
-
"input": "https://smpn.tencentcloudapi.com/?Action=DescribeSmpnMhm\r\n&ResourceId=test_resource_id_for_smpn_mhm\r\n&RequestData.PhoneNumber=18122225555\r\n&<公共请求参数>",
|
31
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"891f2f2e-4851-4cd8-9555-8d92d6e77902\",\n \"ResponseData\": {\n \"TagType\": 0,\n \"TagCount\": 0\n }\n }\n}",
|
32
|
-
"title": "DescribeSmpnMhm"
|
33
|
-
}
|
34
|
-
],
|
35
|
-
"DescribeSmpnMrl": [
|
36
|
-
{
|
37
|
-
"document": "",
|
38
|
-
"input": "https://smpn.tencentcloudapi.com/?Action=DescribeSmpnMrl\r\n&ResourceId=test_resource_id_for_smpn_mrl\r\n&RequestData.PhoneNumber=18122225555\r\n&<公共请求参数>",
|
39
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"891f2f2e-4851-4cd8-9555-8d92d6e77902\",\n \"ResponseData\": {\n \"DisturbLevel\": 1,\n \"HouseAgentLevel\": 1,\n \"InsuranceLevel\": 1,\n \"SalesLevel\": 1,\n \"CheatLevel\": 1\n }\n }\n}",
|
40
|
-
"title": "DescribeSmpnMrl"
|
41
|
-
}
|
42
18
|
]
|
43
19
|
},
|
44
20
|
"version": "1.0"
|
@@ -7230,6 +7230,7 @@
|
|
7230
7230
|
"example": " [\"xxx\"]",
|
7231
7231
|
"member": "string",
|
7232
7232
|
"name": "SuccInstanceIds",
|
7233
|
+
"output_required": true,
|
7233
7234
|
"type": "list",
|
7234
7235
|
"value_allowed_null": true
|
7235
7236
|
},
|
@@ -7239,6 +7240,7 @@
|
|
7239
7240
|
"example": " [\"xxx\"]",
|
7240
7241
|
"member": "string",
|
7241
7242
|
"name": "FailedInstanceIds",
|
7243
|
+
"output_required": true,
|
7242
7244
|
"type": "list",
|
7243
7245
|
"value_allowed_null": true
|
7244
7246
|
},
|
@@ -7248,6 +7250,7 @@
|
|
7248
7250
|
"example": " [\"xxx\"]",
|
7249
7251
|
"member": "string",
|
7250
7252
|
"name": "NotFoundInstanceIds",
|
7253
|
+
"output_required": true,
|
7251
7254
|
"type": "list",
|
7252
7255
|
"value_allowed_null": true
|
7253
7256
|
},
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: tccli
|
3
|
-
Version: 3.0.
|
3
|
+
Version: 3.0.1146.1
|
4
4
|
Summary: Universal Command Line Environment for Tencent Cloud
|
5
5
|
Project-URL: Bug Tracker, https://github.com/TencentCloud/tencentcloud-cli/issues
|
6
6
|
Project-URL: Homepage, https://github.com/TencentCloud/tencentcloud-cli
|
@@ -13,7 +13,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
13
13
|
Classifier: Programming Language :: Python :: 3
|
14
14
|
Requires-Dist: jmespath==0.10.0
|
15
15
|
Requires-Dist: six==1.16.0
|
16
|
-
Requires-Dist: tencentcloud-sdk-python>=3.0.
|
16
|
+
Requires-Dist: tencentcloud-sdk-python>=3.0.1146
|
17
17
|
Description-Content-Type: text/markdown
|
18
18
|
|
19
19
|
# 命令行工具简介
|
@@ -1,4 +1,4 @@
|
|
1
|
-
tccli/__init__.py,sha256=
|
1
|
+
tccli/__init__.py,sha256=TG0j7xJtXdI0VZw1ER_R4YaOEIXABdH_dP8qngqvSXA,27
|
2
2
|
tccli/argparser.py,sha256=iFaw_iIMdyVwUdcv2_2OHQfe7-7j9yGzoOgXgXswoBo,5555
|
3
3
|
tccli/argument.py,sha256=ZtVo3AySpzM-Hw6_hPdU27FjUsc8QPB2fIuLy7JSBAk,8091
|
4
4
|
tccli/base_command.py,sha256=rFWNAwfS0GA6LLGNOM-iPI0RV81Jag5cZn536ZQN0pw,2859
|
@@ -200,7 +200,7 @@ tccli/services/ccc/v20200210/api.json,sha256=JjRGJ6Rn61-VcJz8f8-rlfWi2yF9byvOodL
|
|
200
200
|
tccli/services/ccc/v20200210/examples.json,sha256=xdtz8yRTeYoHLWbtkbCHGqJDrZ3C4wTbz5t68oAIEOw,62166
|
201
201
|
tccli/services/cdb/__init__.py,sha256=9Jk9tAMP2ZM_xOG77GvqXL1q3UfwYTEos6_P6xzpTiM,85
|
202
202
|
tccli/services/cdb/cdb_client.py,sha256=xSktzlFtZwmCYlr5ZMceTXTTNrAzkyDkV0KU9Ov51ZE,526188
|
203
|
-
tccli/services/cdb/v20170320/api.json,sha256=
|
203
|
+
tccli/services/cdb/v20170320/api.json,sha256=iuW4JzP8m0JVDe8CaUVBS4vH54L5epA3vBYR4XvarA8,709933
|
204
204
|
tccli/services/cdb/v20170320/examples.json,sha256=g-7zzZNNRdZWllE_sB6hK3H8G0uxImrzxZENprH974c,163919
|
205
205
|
tccli/services/cdc/__init__.py,sha256=0NOw5_YSjO-QzgYYiIo0gheuTe2_dvzCUnVD4BOP4tI,85
|
206
206
|
tccli/services/cdc/cdc_client.py,sha256=wSnb34OvPAii0UEu5GkkgWFQ15CmtjsfnPKgE5nzFqU,71139
|
@@ -426,21 +426,21 @@ tccli/services/eis/v20210601/api.json,sha256=g4AJCtbcKsD7SK1PNkOi3otPkTgRrzkfsBo
|
|
426
426
|
tccli/services/eis/v20210601/examples.json,sha256=0AzvsX5xN4sc7M4GKxa888M0-rOayfoPeR26AKgLXCw,5943
|
427
427
|
tccli/services/emr/__init__.py,sha256=CuCQwSW5RgNZF9gAIua1frYRqyXro0GUikyCRDqmWs8,85
|
428
428
|
tccli/services/emr/emr_client.py,sha256=38OvlPl9HeJjRo7nGNVBOeW63h-qHKQ5yWQS1ap9THw,142195
|
429
|
-
tccli/services/emr/v20190103/api.json,sha256=
|
429
|
+
tccli/services/emr/v20190103/api.json,sha256=Uz_U92lYLVb_jvV294ZNupmKifCPaatalr2TQ5UGwRY,456651
|
430
430
|
tccli/services/emr/v20190103/examples.json,sha256=I6oQJeA6HalYl2QE9qfcPfWF_6SepOm19hGdDUoXVX0,85042
|
431
431
|
tccli/services/es/__init__.py,sha256=Tgbj2S-AFcftz26Uaksp0nrbDZShO6QOdNN89tFu9s0,83
|
432
432
|
tccli/services/es/es_client.py,sha256=CafnSOgO1SckwFnNP619y1SuAC4NhGizbq3f5qv0Muk,176095
|
433
|
-
tccli/services/es/v20180416/api.json,sha256
|
433
|
+
tccli/services/es/v20180416/api.json,sha256=gZxJwtiIKn1lzkE2JL4n3s2A3knfefYghDINje71ejQ,330868
|
434
434
|
tccli/services/es/v20180416/examples.json,sha256=BEiP2kwNPX9S27se0EKEOYrh_ORRDYse1raO48zGQdk,73605
|
435
435
|
tccli/services/ess/__init__.py,sha256=heBHzUKDuNxQ68yNutgyA8stCndyFWqYJqiQFozTiDs,85
|
436
436
|
tccli/services/ess/ess_client.py,sha256=k51s1ABsHB6IIUwh3y44E4cwjHL2Y0vYdIoyLtfyoLE,273404
|
437
|
-
tccli/services/ess/v20201111/api.json,sha256=
|
437
|
+
tccli/services/ess/v20201111/api.json,sha256=vM2rJbQJeR098a4k84Q13gPUOHxMfy0ITN25-x4KTi8,701286
|
438
438
|
tccli/services/ess/v20201111/examples.json,sha256=9XrhrFJHEg8wmp1dIiqzKtkWx__9OI5fy0Q0DxBxIzg,551524
|
439
439
|
tccli/services/essbasic/__init__.py,sha256=Uh5kuYtJvJ4F1S2w-19_B6a_JMF1ubh8Se-7p5LA0PE,95
|
440
440
|
tccli/services/essbasic/essbasic_client.py,sha256=MB_GAtMfLFZpBnvw9HL9dUS3Qh3-YT6sdOlcC6yURiQ,401587
|
441
441
|
tccli/services/essbasic/v20201222/api.json,sha256=8yA-0DwpjBAZajDJnp3flQ2xn1sdkZMVQcvegUcemSM,184116
|
442
442
|
tccli/services/essbasic/v20201222/examples.json,sha256=TsEP0F9v4W6KvnFnczr2diMh2NX2Tp7TcCEkoeBw69Q,68751
|
443
|
-
tccli/services/essbasic/v20210526/api.json,sha256=
|
443
|
+
tccli/services/essbasic/v20210526/api.json,sha256=tY6n9sDbkX_V2BqhYK1Cf0FdnMQQQkjFj5O0Wq1F1kU,640102
|
444
444
|
tccli/services/essbasic/v20210526/examples.json,sha256=HNCdHahB86mZRrLydqBqTTMAxJpeVVuiLWfsIktlckQ,421841
|
445
445
|
tccli/services/facefusion/__init__.py,sha256=5IsXKY7EJG73GoLZDaRk_QwthyDmfes1nKAVdwZETUE,99
|
446
446
|
tccli/services/facefusion/facefusion_client.py,sha256=WOqOQDPKlKpXTGcmw5t5uZKY0VhwRJtud72Vx6CR2h4,18163
|
@@ -606,7 +606,7 @@ tccli/services/live/v20180801/api.json,sha256=u983S8K0T-aLLaLO4EOs-lH4UHMLzlsCXU
|
|
606
606
|
tccli/services/live/v20180801/examples.json,sha256=XXuF8yFUOhLSveeX38YQ6Zf5bfaBytbwQg4B4aWgtp0,128007
|
607
607
|
tccli/services/lke/__init__.py,sha256=GKvpxCc-YzK4HVgYFq-aLRxZ1WW4MjpKLIqJNqecz_c,85
|
608
608
|
tccli/services/lke/lke_client.py,sha256=OA2qRRrzOYotbPRrrl1XyhMEoVnXi40LTTL7NKmC-Qk,254529
|
609
|
-
tccli/services/lke/v20231130/api.json,sha256=
|
609
|
+
tccli/services/lke/v20231130/api.json,sha256=W4DPScLT_smBjvKJINneDiAGy3nWBBxYVE1Z53P2Wgw,332540
|
610
610
|
tccli/services/lke/v20231130/examples.json,sha256=Z1okkVLYIwbGryMYocncoO0lZrG-smap65b0ZNmc434,226317
|
611
611
|
tccli/services/lowcode/__init__.py,sha256=Kwnfhcs3YjlqMpMouELxDMbP4F0BLDwcaqTPutTSvDs,93
|
612
612
|
tccli/services/lowcode/lowcode_client.py,sha256=mk1eMWo8vZK0nJ8y6jtYIvoUnvkgMJv-W-1i20SzMaw,8716
|
@@ -658,7 +658,7 @@ tccli/services/monitor/v20180724/api.json,sha256=RSAXuYf-RZtlpOY_I7WBCPqP_Z3krMl
|
|
658
658
|
tccli/services/monitor/v20180724/examples.json,sha256=_NfPlxlNO_ESNI_60tLiLeLPOdfDoWBiZ2HKbIWmmIk,260854
|
659
659
|
tccli/services/mps/__init__.py,sha256=4M5o2xc0u3rqtgz_5an9Qxw2QaOqwBq8Fjc3IB64p2o,85
|
660
660
|
tccli/services/mps/mps_client.py,sha256=h3jjE66SxuAI5uIysVKhYKStOXZFd2Lr0ZdT_jgqPiw,329690
|
661
|
-
tccli/services/mps/v20190612/api.json,sha256=
|
661
|
+
tccli/services/mps/v20190612/api.json,sha256=KmRrpwDelzUZ3sUgRPEJLtSCmFSmhX5j15BmF-0GP_U,995611
|
662
662
|
tccli/services/mps/v20190612/examples.json,sha256=FRb2x5LflXa3FeNUaJPL8sHOoMwZ5P0IVEcBkte43O0,262782
|
663
663
|
tccli/services/mrs/__init__.py,sha256=Vwc_ClNX27xapevic8Icf1ien9RVCMPqPag9PyUNnos,85
|
664
664
|
tccli/services/mrs/mrs_client.py,sha256=gkJ5KxNkknL-NkxVnYJOPl0J63RMByeEGagfjqOtqqg,39439
|
@@ -690,7 +690,7 @@ tccli/services/oceanus/v20190422/api.json,sha256=dc-XrDfciDmghZaKnoFoMH14To8eWBF
|
|
690
690
|
tccli/services/oceanus/v20190422/examples.json,sha256=qcKM-kj7kJVYjNKraB6sYf4GIBxKYqyFuxi8P1d6Fk4,48148
|
691
691
|
tccli/services/ocr/__init__.py,sha256=1UdHN9VtB5qVwAn2FMefSi4BhMTJOjmFgYZT-zTEVBM,85
|
692
692
|
tccli/services/ocr/ocr_client.py,sha256=L3ZoHryCN1ZyIY_0VswbE80oVIoY3XD7G7w4l6lWYSc,267687
|
693
|
-
tccli/services/ocr/v20181119/api.json,sha256=
|
693
|
+
tccli/services/ocr/v20181119/api.json,sha256=cKIT2jpIsEvooWYNeLqx2GX74GaKFQe4g_on4wE9iBY,771092
|
694
694
|
tccli/services/ocr/v20181119/examples.json,sha256=d6a25mxJ6dPG2x16r-BriOTkQmiQawZCldKWaVZOxFA,555045
|
695
695
|
tccli/services/omics/__init__.py,sha256=2Uhk7Pv4ejuVCryMqNlAdn8xPMdHO2Hr4500KAZ0W-M,89
|
696
696
|
tccli/services/omics/omics_client.py,sha256=D589nMlFbMtuOazg_7UEh3YYfTHvnDwjI-0JMjifdaY,67016
|
@@ -763,9 +763,9 @@ tccli/services/smop/smop_client.py,sha256=Lt-H9NEdo7TsyXJpj1ECIwwYs7TYn5tuQ8qcp0
|
|
763
763
|
tccli/services/smop/v20201203/api.json,sha256=uJGkBMGcWyQosVmvFOtCvw3t-CuUmaq97OzWB4R8fUI,9047
|
764
764
|
tccli/services/smop/v20201203/examples.json,sha256=s9y1IlQhbfu416pOqEB5xbZH7RfF5TTT_TffErIKoyM,1207
|
765
765
|
tccli/services/smpn/__init__.py,sha256=JFuFNFgBocUkvMctWPq6dbJ-nVgwZqn5nAc_oYSK0rg,87
|
766
|
-
tccli/services/smpn/smpn_client.py,sha256=
|
767
|
-
tccli/services/smpn/v20190822/api.json,sha256=
|
768
|
-
tccli/services/smpn/v20190822/examples.json,sha256=
|
766
|
+
tccli/services/smpn/smpn_client.py,sha256=A5uSXyoVoi9zHoxq0fYqJWW-eL3EQMQGO0cOi0P9CMs,11730
|
767
|
+
tccli/services/smpn/v20190822/api.json,sha256=2eTS0AuBnOAlpcmBm57vsQbMYhXm-d0Rqgam9ppiwbY,5593
|
768
|
+
tccli/services/smpn/v20190822/examples.json,sha256=bJmTLC2sOkIoxDWmIJQDskgxRfyOoNfszqdfuZh3Xjo,999
|
769
769
|
tccli/services/sms/__init__.py,sha256=E2rHgUECIJEv3bXVekxPKSuOjzs_iwnew1sPUNqC5Xw,85
|
770
770
|
tccli/services/sms/sms_client.py,sha256=YIKN4s7rkwHikDpBSIMPF1VX90fzBI16y1obIFIju5s,61419
|
771
771
|
tccli/services/sms/v20190711/api.json,sha256=l8zby-AlAlaZ1nLFHB_tgJgMxANdjywGSXYTwexSsnw,77989
|
@@ -950,7 +950,7 @@ tccli/services/tiw/v20190919/api.json,sha256=c5Ecm2NbrEjsbrPN7jJ8R0AaE3QwZ3xnVLq
|
|
950
950
|
tccli/services/tiw/v20190919/examples.json,sha256=WaA43CeC-HN0ZRBwn173qIu0us_J_4eabeHVUYtH_dc,53985
|
951
951
|
tccli/services/tke/__init__.py,sha256=7R7ljco3cOJ2rceMbHur-sjpljFjutvZXAUnXQubtEM,85
|
952
952
|
tccli/services/tke/tke_client.py,sha256=TCO6vzzNDgUgswX1cZ1ExJZfB82ah6LHo7ks4E3pAF8,707273
|
953
|
-
tccli/services/tke/v20180525/api.json,sha256=
|
953
|
+
tccli/services/tke/v20180525/api.json,sha256=fpYFJsa0Bt4kmqh15oG5elvIZC2QYuTx8l4XuRHv_8s,859327
|
954
954
|
tccli/services/tke/v20180525/examples.json,sha256=AXHmLd8YHhMeW0WfzbhuXASYU9PHeGWcnrAAU8HePRs,239325
|
955
955
|
tccli/services/tke/v20220501/api.json,sha256=Hm7kOfKhYjRuuIAxdj3aQ8ufX4B5mSFWxxTH6bifYTo,90165
|
956
956
|
tccli/services/tke/v20220501/examples.json,sha256=h6mvWAYNrBPrIExtNb22Hihtw9IkU3AD5abyfSCC02o,14326
|
@@ -1096,8 +1096,8 @@ tccli/services/yunsou/v20180504/api.json,sha256=2808fil5p3pTEJ3SqXEEq7eSrASZOiv8
|
|
1096
1096
|
tccli/services/yunsou/v20180504/examples.json,sha256=Jg4WuqS_Wxl7eTBMbzjem65FuUZQi3qq3xtlBNFZlTU,11870
|
1097
1097
|
tccli/services/yunsou/v20191115/api.json,sha256=r_p7c7fMNylQVDpSN0CkUB4Cx1nYW1lI3BM_Zi50FNs,15932
|
1098
1098
|
tccli/services/yunsou/v20191115/examples.json,sha256=vN5MzexHVPMckm4MbnXNiOe3KKiVchvf4_uLpjOskuk,3983
|
1099
|
-
tccli-3.0.
|
1100
|
-
tccli-3.0.
|
1101
|
-
tccli-3.0.
|
1102
|
-
tccli-3.0.
|
1103
|
-
tccli-3.0.
|
1099
|
+
tccli-3.0.1146.1.dist-info/METADATA,sha256=DwEYiUwxuKvAmM5uAJrdWMq7REC2VhU56l8n6gju-9k,16172
|
1100
|
+
tccli-3.0.1146.1.dist-info/WHEEL,sha256=HyPWovjK_wfsxZqVnw7Bu5rgKxNh3Nm__lHm0ALDcb4,101
|
1101
|
+
tccli-3.0.1146.1.dist-info/entry_points.txt,sha256=9ZzsXxi7Xj3ZneT7VxRVJpFvnmdEOeysh999_0gWVvo,85
|
1102
|
+
tccli-3.0.1146.1.dist-info/license_files/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
1103
|
+
tccli-3.0.1146.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|