tccli 3.0.1090.1__py2.py3-none-any.whl → 3.0.1091.1__py2.py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/examples/ccc/v20200210/UploadIvrAudio.md +16 -1
  3. tccli/examples/csip/v20221121/DescribeAssetViewVulRiskList.md +5 -302
  4. tccli/examples/gs/v20191118/StartPublishStreamToCSS.md +20 -0
  5. tccli/examples/organization/v20210331/AddOrganizationNode.md +1 -1
  6. tccli/examples/organization/v20210331/BindOrganizationMemberAuthAccount.md +3 -3
  7. tccli/examples/organization/v20210331/CancelOrganizationMemberAuthAccount.md +3 -3
  8. tccli/examples/organization/v20210331/CheckAccountDelete.md +5 -5
  9. tccli/examples/organization/v20210331/CreateOrganizationMember.md +2 -2
  10. tccli/examples/organization/v20210331/CreateOrganizationMemberAuthIdentity.md +1 -1
  11. tccli/examples/organization/v20210331/CreateOrganizationMemberPolicy.md +5 -5
  12. tccli/examples/organization/v20210331/CreateOrganizationMembersPolicy.md +2 -2
  13. tccli/examples/organization/v20210331/DeleteOrganizationMembers.md +1 -1
  14. tccli/examples/organization/v20210331/DeleteOrganizationNodes.md +1 -1
  15. tccli/examples/organization/v20210331/DeleteShareUnitResources.md +1 -1
  16. tccli/examples/organization/v20210331/DescribeOrganizationMemberAuthAccounts.md +2 -2
  17. tccli/examples/organization/v20210331/DescribeOrganizationMemberPolicies.md +1 -1
  18. tccli/examples/organization/v20210331/MoveOrganizationNodeMembers.md +2 -2
  19. tccli/examples/organization/v20210331/QuitOrganization.md +1 -1
  20. tccli/examples/organization/v20210331/UpdateOrganizationMember.md +2 -2
  21. tccli/examples/organization/v20210331/UpdateOrganizationMemberEmailBind.md +3 -3
  22. tccli/examples/organization/v20210331/UpdateOrganizationNode.md +3 -2
  23. tccli/examples/sqlserver/v20180328/DescribeDBInstancesAttribute.md +7 -1
  24. tccli/examples/ssl/v20191205/DeployCertificateInstance.md +26 -1
  25. tccli/examples/tione/v20211111/CreateBatchTask.md +1 -0
  26. tccli/services/aiart/v20221229/api.json +1 -1
  27. tccli/services/asr/v20190614/api.json +6 -6
  28. tccli/services/captcha/v20190722/api.json +75 -31
  29. tccli/services/ccc/v20200210/api.json +10 -0
  30. tccli/services/ccc/v20200210/examples.json +1 -1
  31. tccli/services/cfg/v20210820/api.json +30 -33
  32. tccli/services/csip/v20221121/api.json +17 -11
  33. tccli/services/csip/v20221121/examples.json +1 -1
  34. tccli/services/dts/v20211206/api.json +22 -2
  35. tccli/services/ess/v20201111/api.json +1 -1
  36. tccli/services/essbasic/v20210526/api.json +13 -13
  37. tccli/services/faceid/v20180301/api.json +4 -4
  38. tccli/services/gs/gs_client.py +53 -0
  39. tccli/services/gs/v20191118/api.json +43 -0
  40. tccli/services/gs/v20191118/examples.json +8 -0
  41. tccli/services/iss/v20230517/api.json +38 -0
  42. tccli/services/live/v20180801/api.json +12 -12
  43. tccli/services/monitor/monitor_client.py +0 -53
  44. tccli/services/monitor/v20180724/api.json +0 -52
  45. tccli/services/monitor/v20180724/examples.json +0 -8
  46. tccli/services/organization/v20210331/api.json +128 -119
  47. tccli/services/organization/v20210331/examples.json +24 -24
  48. tccli/services/soe/v20180724/api.json +13 -13
  49. tccli/services/sqlserver/v20180328/api.json +46 -0
  50. tccli/services/sqlserver/v20180328/examples.json +1 -1
  51. tccli/services/ssl/v20191205/examples.json +7 -1
  52. tccli/services/tione/v20211111/api.json +36 -3
  53. tccli/services/tione/v20211111/examples.json +1 -1
  54. tccli/services/trtc/v20190722/api.json +36 -9
  55. {tccli-3.0.1090.1.dist-info → tccli-3.0.1091.1.dist-info}/METADATA +2 -2
  56. {tccli-3.0.1090.1.dist-info → tccli-3.0.1091.1.dist-info}/RECORD +59 -58
  57. {tccli-3.0.1090.1.dist-info → tccli-3.0.1091.1.dist-info}/WHEEL +0 -0
  58. {tccli-3.0.1090.1.dist-info → tccli-3.0.1091.1.dist-info}/entry_points.txt +0 -0
  59. {tccli-3.0.1090.1.dist-info → tccli-3.0.1091.1.dist-info}/license_files/LICENSE +0 -0
@@ -50,7 +50,7 @@
50
50
  "status": "online"
51
51
  },
52
52
  "CheckPhoneAndName": {
53
- "document": "手机号二要素核验接口用于校验手机号和姓名的真实性和一致性,支持的手机号段详情请查阅<a href=\"https://cloud.tencent.com/document/product/1007/46063\">运营商类</a>文档。\n",
53
+ "document": "手机号二要素核验接口用于校验手机号和姓名的真实性和一致性,支持的手机号段详情请查阅<a href=\"https://cloud.tencent.com/document/product/1007/46063\">运营商类</a>文档。",
54
54
  "input": "CheckPhoneAndNameRequest",
55
55
  "name": "手机号二要素核验",
56
56
  "output": "CheckPhoneAndNameResponse",
@@ -1043,11 +1043,11 @@
1043
1043
  "members": [
1044
1044
  {
1045
1045
  "disabled": false,
1046
- "document": "认证结果码,收费情况如下。\n收费结果码:\n0: 验证结果一致\n1: 验证结果不一致\n不收费结果码:\n-1:查无记录\n-2:引擎未知错误\n-3:引擎服务异常",
1046
+ "document": "认证结果码,收费情况如下。\n收费结果码:\n0: 验证结果一致\n1: 验证结果不一致\n不收费结果码:\n-1:查无记录\n-2:引擎未知错误\n-3:引擎服务异常\n-4:姓名校验不通过\n-5:手机号码不合法",
1047
1047
  "example": "0",
1048
1048
  "member": "string",
1049
1049
  "name": "Result",
1050
- "required": true,
1050
+ "output_required": true,
1051
1051
  "type": "string",
1052
1052
  "value_allowed_null": false
1053
1053
  },
@@ -1057,7 +1057,7 @@
1057
1057
  "example": "验证结果一致",
1058
1058
  "member": "string",
1059
1059
  "name": "Description",
1060
- "required": true,
1060
+ "output_required": true,
1061
1061
  "type": "string",
1062
1062
  "value_allowed_null": false
1063
1063
  },
@@ -225,6 +225,58 @@ def doSaveGameArchive(args, parsed_globals):
225
225
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
226
226
 
227
227
 
228
+ def doStartPublishStreamToCSS(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.GsClient(cred, g_param[OptionsDefine.Region], profile)
255
+ client._sdkVersion += ("_CLI_" + __version__)
256
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
257
+ model = models.StartPublishStreamToCSSRequest()
258
+ model.from_json_string(json.dumps(args))
259
+ start_time = time.time()
260
+ while True:
261
+ rsp = client.StartPublishStreamToCSS(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
+
228
280
  def doCreateSession(args, parsed_globals):
229
281
  g_param = parse_global_arg(parsed_globals)
230
282
 
@@ -448,6 +500,7 @@ ACTION_MAP = {
448
500
  "TrylockWorker": doTrylockWorker,
449
501
  "StopGame": doStopGame,
450
502
  "SaveGameArchive": doSaveGameArchive,
503
+ "StartPublishStreamToCSS": doStartPublishStreamToCSS,
451
504
  "CreateSession": doCreateSession,
452
505
  "StartPublishStream": doStartPublishStream,
453
506
  "StopPublishStream": doStopPublishStream,
@@ -28,6 +28,13 @@
28
28
  "output": "StartPublishStreamResponse",
29
29
  "status": "online"
30
30
  },
31
+ "StartPublishStreamToCSS": {
32
+ "document": "开始云端推流",
33
+ "input": "StartPublishStreamToCSSRequest",
34
+ "name": "开始云端推流到云直播",
35
+ "output": "StartPublishStreamToCSSResponse",
36
+ "status": "online"
37
+ },
31
38
  "StopGame": {
32
39
  "document": "强制退出游戏",
33
40
  "input": "StopGameRequest",
@@ -415,6 +422,42 @@
415
422
  ],
416
423
  "type": "object"
417
424
  },
425
+ "StartPublishStreamToCSSRequest": {
426
+ "document": "StartPublishStreamToCSS请求参数结构体",
427
+ "members": [
428
+ {
429
+ "disabled": false,
430
+ "document": "唯一用户身份标识,由业务方自定义,平台不予理解。(可根据业务需要决定使用用户的唯一身份标识或是使用时间戳随机生成;在用户重连时应保持UserId不变)",
431
+ "example": "abc123",
432
+ "member": "string",
433
+ "name": "UserId",
434
+ "required": true,
435
+ "type": "string"
436
+ },
437
+ {
438
+ "disabled": false,
439
+ "document": "推流参数,推流时携带自定义参数。",
440
+ "example": "bar=1&foo=2",
441
+ "member": "string",
442
+ "name": "PublishStreamArgs",
443
+ "required": false,
444
+ "type": "string"
445
+ }
446
+ ],
447
+ "type": "object"
448
+ },
449
+ "StartPublishStreamToCSSResponse": {
450
+ "document": "StartPublishStreamToCSS返回参数结构体",
451
+ "members": [
452
+ {
453
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
454
+ "member": "string",
455
+ "name": "RequestId",
456
+ "type": "string"
457
+ }
458
+ ],
459
+ "type": "object"
460
+ },
418
461
  "StopGameRequest": {
419
462
  "document": "StopGame请求参数结构体",
420
463
  "members": [
@@ -32,6 +32,14 @@
32
32
  "title": "开始云端推流"
33
33
  }
34
34
  ],
35
+ "StartPublishStreamToCSS": [
36
+ {
37
+ "document": "",
38
+ "input": "POST / HTTP/1.1\nHost: gs.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: StartPublishStreamToCSS\n<公共请求参数>\n\n{\n \"UserId\": \"abc123\"\n}",
39
+ "output": "{\n \"Response\": {\n \"RequestId\": \"4eb17e58-68da-4e9a-b298-0894723c9022\"\n }\n}",
40
+ "title": "StartPublishStreamToCSS 示例"
41
+ }
42
+ ],
35
43
  "StopGame": [
36
44
  {
37
45
  "document": "",
@@ -3806,6 +3806,26 @@
3806
3806
  "output_required": true,
3807
3807
  "type": "string",
3808
3808
  "value_allowed_null": true
3809
+ },
3810
+ {
3811
+ "disabled": false,
3812
+ "document": "音频关开(0:关闭;1:开启)关闭时丢弃音频\t\n注意:此字段可能返回 null,表示取不到有效值。",
3813
+ "example": "0",
3814
+ "member": "int64",
3815
+ "name": "AudioSwitch",
3816
+ "output_required": false,
3817
+ "type": "int",
3818
+ "value_allowed_null": true
3819
+ },
3820
+ {
3821
+ "disabled": false,
3822
+ "document": "订阅开关(0:关闭;1:开启)默认开启,开启状态下会订阅设备通道变化,仅国标NVR设备有效\t\n注意:此字段可能返回 null,表示取不到有效值。",
3823
+ "example": "1",
3824
+ "member": "int64",
3825
+ "name": "SubscribeSwitch",
3826
+ "output_required": false,
3827
+ "type": "int",
3828
+ "value_allowed_null": true
3809
3829
  }
3810
3830
  ],
3811
3831
  "usage": "out"
@@ -10173,6 +10193,24 @@
10173
10193
  "name": "ProtocolType",
10174
10194
  "required": false,
10175
10195
  "type": "int"
10196
+ },
10197
+ {
10198
+ "disabled": false,
10199
+ "document": "音频关开(0:关闭;1:开启)默认开启,关闭时丢弃音频",
10200
+ "example": "1",
10201
+ "member": "int64",
10202
+ "name": "AudioSwitch",
10203
+ "required": false,
10204
+ "type": "int"
10205
+ },
10206
+ {
10207
+ "disabled": false,
10208
+ "document": "订阅开关(0:关闭;1:开启)默认开启,开启状态下会订阅设备通道变化,仅国标NVR设备有效",
10209
+ "example": "1",
10210
+ "member": "int64",
10211
+ "name": "SubscribeSwitch",
10212
+ "required": false,
10213
+ "type": "int"
10176
10214
  }
10177
10215
  ],
10178
10216
  "type": "object"
@@ -10905,7 +10905,7 @@
10905
10905
  "example": "abc.com",
10906
10906
  "member": "string",
10907
10907
  "name": "Name",
10908
- "required": false,
10908
+ "output_required": true,
10909
10909
  "type": "string",
10910
10910
  "value_allowed_null": false
10911
10911
  },
@@ -10915,7 +10915,7 @@
10915
10915
  "example": "1",
10916
10916
  "member": "uint64",
10917
10917
  "name": "Type",
10918
- "required": false,
10918
+ "output_required": true,
10919
10919
  "type": "int",
10920
10920
  "value_allowed_null": false
10921
10921
  },
@@ -10925,7 +10925,7 @@
10925
10925
  "example": "1",
10926
10926
  "member": "uint64",
10927
10927
  "name": "Status",
10928
- "required": false,
10928
+ "output_required": true,
10929
10929
  "type": "int",
10930
10930
  "value_allowed_null": false
10931
10931
  },
@@ -10935,7 +10935,7 @@
10935
10935
  "example": "2011-09-09 11:11:11",
10936
10936
  "member": "string",
10937
10937
  "name": "CreateTime",
10938
- "required": false,
10938
+ "output_required": true,
10939
10939
  "type": "string",
10940
10940
  "value_allowed_null": false
10941
10941
  },
@@ -10945,7 +10945,7 @@
10945
10945
  "example": "1",
10946
10946
  "member": "uint64",
10947
10947
  "name": "BCName",
10948
- "required": false,
10948
+ "output_required": true,
10949
10949
  "type": "int",
10950
10950
  "value_allowed_null": false
10951
10951
  },
@@ -10955,7 +10955,7 @@
10955
10955
  "example": "abc.com",
10956
10956
  "member": "string",
10957
10957
  "name": "TargetDomain",
10958
- "required": false,
10958
+ "output_required": true,
10959
10959
  "type": "string",
10960
10960
  "value_allowed_null": false
10961
10961
  },
@@ -10965,7 +10965,7 @@
10965
10965
  "example": "2",
10966
10966
  "member": "int64",
10967
10967
  "name": "PlayType",
10968
- "required": false,
10968
+ "output_required": true,
10969
10969
  "type": "int",
10970
10970
  "value_allowed_null": false
10971
10971
  },
@@ -10975,7 +10975,7 @@
10975
10975
  "example": "0",
10976
10976
  "member": "int64",
10977
10977
  "name": "IsDelayLive",
10978
- "required": false,
10978
+ "output_required": true,
10979
10979
  "type": "int",
10980
10980
  "value_allowed_null": false
10981
10981
  },
@@ -10985,7 +10985,7 @@
10985
10985
  "example": "abc.com",
10986
10986
  "member": "string",
10987
10987
  "name": "CurrentCName",
10988
- "required": false,
10988
+ "output_required": true,
10989
10989
  "type": "string",
10990
10990
  "value_allowed_null": false
10991
10991
  },
@@ -10995,7 +10995,7 @@
10995
10995
  "example": "a",
10996
10996
  "member": "int64",
10997
10997
  "name": "RentTag",
10998
- "required": false,
10998
+ "output_required": true,
10999
10999
  "type": "int",
11000
11000
  "value_allowed_null": false
11001
11001
  },
@@ -11005,7 +11005,7 @@
11005
11005
  "example": "2011-09-09 11:11:11",
11006
11006
  "member": "string",
11007
11007
  "name": "RentExpireTime",
11008
- "required": false,
11008
+ "output_required": true,
11009
11009
  "type": "string",
11010
11010
  "value_allowed_null": false
11011
11011
  },
@@ -11015,7 +11015,7 @@
11015
11015
  "example": "0",
11016
11016
  "member": "int64",
11017
11017
  "name": "IsMiniProgramLive",
11018
- "required": false,
11018
+ "output_required": true,
11019
11019
  "type": "int",
11020
11020
  "value_allowed_null": true
11021
11021
  }
@@ -4021,58 +4021,6 @@ def doCreateSSOAccount(args, parsed_globals):
4021
4021
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4022
4022
 
4023
4023
 
4024
- def doSendCustomAlarmMsg(args, parsed_globals):
4025
- g_param = parse_global_arg(parsed_globals)
4026
-
4027
- if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
4028
- cred = credential.CVMRoleCredential()
4029
- elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
4030
- cred = credential.STSAssumeRoleCredential(
4031
- g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
4032
- g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
4033
- )
4034
- 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):
4035
- cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
4036
- else:
4037
- cred = credential.Credential(
4038
- g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
4039
- )
4040
- http_profile = HttpProfile(
4041
- reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
4042
- reqMethod="POST",
4043
- endpoint=g_param[OptionsDefine.Endpoint],
4044
- proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
4045
- )
4046
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
4047
- if g_param[OptionsDefine.Language]:
4048
- profile.language = g_param[OptionsDefine.Language]
4049
- mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
4050
- client = mod.MonitorClient(cred, g_param[OptionsDefine.Region], profile)
4051
- client._sdkVersion += ("_CLI_" + __version__)
4052
- models = MODELS_MAP[g_param[OptionsDefine.Version]]
4053
- model = models.SendCustomAlarmMsgRequest()
4054
- model.from_json_string(json.dumps(args))
4055
- start_time = time.time()
4056
- while True:
4057
- rsp = client.SendCustomAlarmMsg(model)
4058
- result = rsp.to_json_string()
4059
- try:
4060
- json_obj = json.loads(result)
4061
- except TypeError as e:
4062
- json_obj = json.loads(result.decode('utf-8')) # python3.3
4063
- if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
4064
- break
4065
- cur_time = time.time()
4066
- if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
4067
- raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
4068
- (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
4069
- search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
4070
- else:
4071
- print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
4072
- time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
4073
- FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4074
-
4075
-
4076
4024
  def doModifyAlarmPolicyNotice(args, parsed_globals):
4077
4025
  g_param = parse_global_arg(parsed_globals)
4078
4026
 
@@ -8321,7 +8269,6 @@ ACTION_MAP = {
8321
8269
  "DeleteGrafanaInstance": doDeleteGrafanaInstance,
8322
8270
  "DeletePrometheusConfig": doDeletePrometheusConfig,
8323
8271
  "CreateSSOAccount": doCreateSSOAccount,
8324
- "SendCustomAlarmMsg": doSendCustomAlarmMsg,
8325
8272
  "ModifyAlarmPolicyNotice": doModifyAlarmPolicyNotice,
8326
8273
  "EnableGrafanaInternet": doEnableGrafanaInternet,
8327
8274
  "CreateGrafanaNotificationChannel": doCreateGrafanaNotificationChannel,
@@ -917,13 +917,6 @@
917
917
  "output": "RunPrometheusInstanceResponse",
918
918
  "status": "online"
919
919
  },
920
- "SendCustomAlarmMsg": {
921
- "document": "发送自定义消息告警",
922
- "input": "SendCustomAlarmMsgRequest",
923
- "name": "发送自定义消息告警",
924
- "output": "SendCustomAlarmMsgResponse",
925
- "status": "online"
926
- },
927
920
  "SetDefaultAlarmPolicy": {
928
921
  "document": "设置一个策略为该告警策略类型、该项目的默认告警策略。\n同一项目下相同的告警策略类型,就会被设置为非默认。",
929
922
  "input": "SetDefaultAlarmPolicyRequest",
@@ -19124,51 +19117,6 @@
19124
19117
  ],
19125
19118
  "type": "object"
19126
19119
  },
19127
- "SendCustomAlarmMsgRequest": {
19128
- "document": "SendCustomAlarmMsg请求参数结构体",
19129
- "members": [
19130
- {
19131
- "disabled": false,
19132
- "document": "接口模块名,当前取值monitor",
19133
- "example": "monitor",
19134
- "member": "string",
19135
- "name": "Module",
19136
- "required": true,
19137
- "type": "string"
19138
- },
19139
- {
19140
- "disabled": false,
19141
- "document": "消息策略ID,在自定义消息页面配置",
19142
- "example": "cm-04rhwvwg",
19143
- "member": "string",
19144
- "name": "PolicyId",
19145
- "required": true,
19146
- "type": "string"
19147
- },
19148
- {
19149
- "disabled": false,
19150
- "document": "用户想要发送的自定义消息内容",
19151
- "example": "xxx",
19152
- "member": "string",
19153
- "name": "Msg",
19154
- "required": true,
19155
- "type": "string"
19156
- }
19157
- ],
19158
- "type": "object"
19159
- },
19160
- "SendCustomAlarmMsgResponse": {
19161
- "document": "SendCustomAlarmMsg返回参数结构体",
19162
- "members": [
19163
- {
19164
- "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
19165
- "member": "string",
19166
- "name": "RequestId",
19167
- "type": "string"
19168
- }
19169
- ],
19170
- "type": "object"
19171
- },
19172
19120
  "ServiceDiscoveryItem": {
19173
19121
  "document": "Prometheus 服务发现信息",
19174
19122
  "members": [
@@ -1228,14 +1228,6 @@
1228
1228
  "title": "初始化实例"
1229
1229
  }
1230
1230
  ],
1231
- "SendCustomAlarmMsg": [
1232
- {
1233
- "document": "发送自定义消息告警",
1234
- "input": "https://monitor.tencentcloudapi.com/?Action=SendCustomAlarmMsg\r\n&Module=monitor\r\n&PolicyId=cm-04rhwvwg\r\n&Msg=XXXX\r\n&<公共请求参数>",
1235
- "output": "{\n \"Response\": {\n \"RequestId\": \"9q1zxtmzw6xqyqriu8run9jf6fnnkdbn\"\n }\n}",
1236
- "title": "发送自定义消息告警"
1237
- }
1238
- ],
1239
1231
  "SetDefaultAlarmPolicy": [
1240
1232
  {
1241
1233
  "document": "",