tccli 3.0.833.1__py2.py3-none-any.whl → 3.0.834.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.
Files changed (30) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/autoscaling/v20180419/api.json +1 -27
  3. tccli/services/autoscaling/v20180419/examples.json +5 -5
  4. tccli/services/cls/v20201016/api.json +11 -24
  5. tccli/services/cls/v20201016/examples.json +1 -1
  6. tccli/services/cvm/cvm_client.py +53 -0
  7. tccli/services/cvm/v20170312/api.json +368 -0
  8. tccli/services/cvm/v20170312/examples.json +8 -0
  9. tccli/services/cwp/v20180228/api.json +9 -0
  10. tccli/services/cwp/v20180228/examples.json +1 -1
  11. tccli/services/essbasic/essbasic_client.py +53 -0
  12. tccli/services/essbasic/v20210526/api.json +73 -0
  13. tccli/services/essbasic/v20210526/examples.json +8 -0
  14. tccli/services/gaap/v20180529/api.json +0 -5
  15. tccli/services/gaap/v20180529/examples.json +4 -4
  16. tccli/services/mps/mps_client.py +53 -0
  17. tccli/services/mps/v20190612/api.json +307 -18
  18. tccli/services/mps/v20190612/examples.json +8 -0
  19. tccli/services/oceanus/v20190422/api.json +119 -49
  20. tccli/services/tdmq/v20200217/api.json +38 -38
  21. tccli/services/vod/v20180717/api.json +0 -14
  22. tccli/services/vod/v20180717/examples.json +4 -4
  23. tccli/services/vpc/v20170312/api.json +1 -1
  24. tccli/services/vpc/v20170312/examples.json +1 -1
  25. {tccli-3.0.833.1.dist-info → tccli-3.0.834.1.dist-info}/METADATA +2 -2
  26. {tccli-3.0.833.1.dist-info → tccli-3.0.834.1.dist-info}/RECORD +30 -30
  27. {tccli-3.0.833.1.dist-info → tccli-3.0.834.1.dist-info}/LICENSE +0 -0
  28. {tccli-3.0.833.1.dist-info → tccli-3.0.834.1.dist-info}/WHEEL +0 -0
  29. {tccli-3.0.833.1.dist-info → tccli-3.0.834.1.dist-info}/entry_points.txt +0 -0
  30. {tccli-3.0.833.1.dist-info → tccli-3.0.834.1.dist-info}/top_level.txt +0 -0
@@ -118,14 +118,14 @@
118
118
  ],
119
119
  "CreateGlobalDomain": [
120
120
  {
121
- "document": "",
122
- "input": "POST / HTTP/1.1\nHost: gaap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateGlobalDomain\n<公共请求参数>\n\n{\n \"ProjectId\": \"0\",\n \"DefaultValue\": \"1.1.1.1\",\n \"Alias\": \"test\"\n}",
121
+ "document": "创建域名",
122
+ "input": "POST / HTTP/1.1\nHost: gaap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateGlobalDomain\n<公共请求参数>\n\n{\n \"ProjectId\": 0,\n \"DefaultValue\": \"1.1.1.1\",\n \"Alias\": \"test\"\n}",
123
123
  "output": "{\n \"Response\": {\n \"DomainId\": \"dm-pcp5xac5\",\n \"RequestId\": \"0266e1f0-10a4-46ce-a118-29e360c90a1b\"\n }\n}",
124
124
  "title": "创建域名"
125
125
  },
126
126
  {
127
- "document": "",
128
- "input": "POST / HTTP/1.1\nHost: gaap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateGlobalDomain\n<公共请求参数>\n\n{\n \"ProjectId\": \"0\",\n \"DefaultValue\": \"127.0.0.1\",\n \"Alias\": \"www.baidu.com\"\n}",
127
+ "document": "创建域名示例",
128
+ "input": "POST / HTTP/1.1\nHost: gaap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateGlobalDomain\n<公共请求参数>\n\n{\n \"ProjectId\": 0,\n \"DefaultValue\": \"127.0.0.1\",\n \"Alias\": \"www.baidu.com\"\n}",
129
129
  "output": "{\n \"Response\": {\n \"RequestId\": \"b4195a4c-7595-46db-b46d-7fcdafddee2c\",\n \"DomainId\": \"dm-bihtw7x3\"\n }\n}",
130
130
  "title": "创建域名示例"
131
131
  }
@@ -3813,6 +3813,58 @@ def doDescribeImageSpriteTemplates(args, parsed_globals):
3813
3813
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
3814
3814
 
3815
3815
 
3816
+ def doWithdrawsWatermark(args, parsed_globals):
3817
+ g_param = parse_global_arg(parsed_globals)
3818
+
3819
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
3820
+ cred = credential.CVMRoleCredential()
3821
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
3822
+ cred = credential.STSAssumeRoleCredential(
3823
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
3824
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')]
3825
+ )
3826
+ elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
3827
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
3828
+ else:
3829
+ cred = credential.Credential(
3830
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
3831
+ )
3832
+ http_profile = HttpProfile(
3833
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
3834
+ reqMethod="POST",
3835
+ endpoint=g_param[OptionsDefine.Endpoint],
3836
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
3837
+ )
3838
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
3839
+ if g_param[OptionsDefine.Language]:
3840
+ profile.language = g_param[OptionsDefine.Language]
3841
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
3842
+ client = mod.MpsClient(cred, g_param[OptionsDefine.Region], profile)
3843
+ client._sdkVersion += ("_CLI_" + __version__)
3844
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
3845
+ model = models.WithdrawsWatermarkRequest()
3846
+ model.from_json_string(json.dumps(args))
3847
+ start_time = time.time()
3848
+ while True:
3849
+ rsp = client.WithdrawsWatermark(model)
3850
+ result = rsp.to_json_string()
3851
+ try:
3852
+ json_obj = json.loads(result)
3853
+ except TypeError as e:
3854
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
3855
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
3856
+ break
3857
+ cur_time = time.time()
3858
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
3859
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
3860
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
3861
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
3862
+ else:
3863
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
3864
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
3865
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
3866
+
3867
+
3816
3868
  def doDeleteContentReviewTemplate(args, parsed_globals):
3817
3869
  g_param = parse_global_arg(parsed_globals)
3818
3870
 
@@ -4417,6 +4469,7 @@ ACTION_MAP = {
4417
4469
  "ModifyWordSample": doModifyWordSample,
4418
4470
  "ModifyAdaptiveDynamicStreamingTemplate": doModifyAdaptiveDynamicStreamingTemplate,
4419
4471
  "DescribeImageSpriteTemplates": doDescribeImageSpriteTemplates,
4472
+ "WithdrawsWatermark": doWithdrawsWatermark,
4420
4473
  "DeleteContentReviewTemplate": doDeleteContentReviewTemplate,
4421
4474
  "CreatePersonSample": doCreatePersonSample,
4422
4475
  "ProcessLiveStream": doProcessLiveStream,
@@ -580,6 +580,13 @@
580
580
  "name": "停止媒体传输流",
581
581
  "output": "StopStreamLinkFlowResponse",
582
582
  "status": "online"
583
+ },
584
+ "WithdrawsWatermark": {
585
+ "document": "提取视频中的盲水印。",
586
+ "input": "WithdrawsWatermarkRequest",
587
+ "name": "提取盲水印",
588
+ "output": "WithdrawsWatermarkResponse",
589
+ "status": "online"
583
590
  }
584
591
  },
585
592
  "metadata": {
@@ -4834,6 +4841,117 @@
4834
4841
  ],
4835
4842
  "usage": "in"
4836
4843
  },
4844
+ "AwsS3FileUploadTrigger": {
4845
+ "document": "AWS S3 文件是上传触发器。",
4846
+ "members": [
4847
+ {
4848
+ "document": "工作流绑定的 AWS S3 存储桶。",
4849
+ "example": "test",
4850
+ "member": "string",
4851
+ "name": "S3Bucket",
4852
+ "required": true,
4853
+ "type": "string",
4854
+ "value_allowed_null": false
4855
+ },
4856
+ {
4857
+ "document": "工作流绑定的桶所在 AWS 区域。",
4858
+ "example": "无",
4859
+ "member": "string",
4860
+ "name": "S3Region",
4861
+ "required": true,
4862
+ "type": "string",
4863
+ "value_allowed_null": false
4864
+ },
4865
+ {
4866
+ "document": "工作流绑定的输入路径目录,必须为绝对路径,即以 `/` 开头和结尾。如`/movie/201907/`,不填代表根目录`/`。\t",
4867
+ "example": "无",
4868
+ "member": "string",
4869
+ "name": "Dir",
4870
+ "required": false,
4871
+ "type": "string",
4872
+ "value_allowed_null": false
4873
+ },
4874
+ {
4875
+ "document": "工作流允许触发的文件格式列表,如 [\"mp4\", \"flv\", \"mov\"]。不填代表所有格式的文件都可以触发工作流。\t",
4876
+ "example": "无",
4877
+ "member": "string",
4878
+ "name": "Formats",
4879
+ "required": false,
4880
+ "type": "list",
4881
+ "value_allowed_null": false
4882
+ },
4883
+ {
4884
+ "document": "工作流绑定的 AWS S3 存储桶的秘钥ID。\n注意:此字段可能返回 null,表示取不到有效值。",
4885
+ "example": "无",
4886
+ "member": "string",
4887
+ "name": "S3SecretId",
4888
+ "required": false,
4889
+ "type": "string",
4890
+ "value_allowed_null": true
4891
+ },
4892
+ {
4893
+ "document": "工作流绑定的 AWS S3 存储桶的秘钥Key。\n注意:此字段可能返回 null,表示取不到有效值。",
4894
+ "example": "无",
4895
+ "member": "string",
4896
+ "name": "S3SecretKey",
4897
+ "required": false,
4898
+ "type": "string",
4899
+ "value_allowed_null": true
4900
+ },
4901
+ {
4902
+ "document": "工作流绑定的 AWS S3 存储桶对应的 SQS事件队列。\n注意:队列和桶需要在同一区域。\n注意:此字段可能返回 null,表示取不到有效值。",
4903
+ "example": "无",
4904
+ "member": "AwsSQS",
4905
+ "name": "AwsSQS",
4906
+ "required": false,
4907
+ "type": "object",
4908
+ "value_allowed_null": true
4909
+ }
4910
+ ],
4911
+ "usage": "both"
4912
+ },
4913
+ "AwsSQS": {
4914
+ "document": "Aws SQS 队列信息",
4915
+ "members": [
4916
+ {
4917
+ "document": "SQS 队列区域。",
4918
+ "example": "ap-southeast-1",
4919
+ "member": "string",
4920
+ "name": "SQSRegion",
4921
+ "required": true,
4922
+ "type": "string",
4923
+ "value_allowed_null": false
4924
+ },
4925
+ {
4926
+ "document": "SQS 队列名称。",
4927
+ "example": "test",
4928
+ "member": "string",
4929
+ "name": "SQSQueueName",
4930
+ "required": true,
4931
+ "type": "string",
4932
+ "value_allowed_null": false
4933
+ },
4934
+ {
4935
+ "document": "读写SQS的秘钥id。",
4936
+ "example": "xx",
4937
+ "member": "string",
4938
+ "name": "S3SecretId",
4939
+ "required": false,
4940
+ "type": "string",
4941
+ "value_allowed_null": false
4942
+ },
4943
+ {
4944
+ "document": "读写SQS的秘钥key。",
4945
+ "example": "xxx",
4946
+ "member": "string",
4947
+ "name": "S3SecretKey",
4948
+ "required": false,
4949
+ "type": "string",
4950
+ "value_allowed_null": false
4951
+ }
4952
+ ],
4953
+ "usage": "in"
4954
+ },
4837
4955
  "ClassificationConfigureInfo": {
4838
4956
  "document": "智能分类任务控制参数",
4839
4957
  "members": [
@@ -13732,8 +13850,7 @@
13732
13850
  "document": "媒体处理的输入对象信息。",
13733
13851
  "members": [
13734
13852
  {
13735
- "default": "",
13736
- "document": "输入来源对象的类型,支持 COS、URL 两种。",
13853
+ "document": "输入来源对象的类型,支持:\n<li> COS:COS源</li>\n<li> URL:URL源</li>\n<li> AWS-S3:AWS 源,目前只支持转码任务 </li>",
13737
13854
  "example": "NULL",
13738
13855
  "member": "string",
13739
13856
  "name": "Type",
@@ -13742,7 +13859,6 @@
13742
13859
  "value_allowed_null": false
13743
13860
  },
13744
13861
  {
13745
- "default": "",
13746
13862
  "document": "当 Type 为 COS 时有效,则该项为必填,表示媒体处理 COS 对象信息。",
13747
13863
  "example": "NULL",
13748
13864
  "member": "CosInputInfo",
@@ -13752,7 +13868,6 @@
13752
13868
  "value_allowed_null": false
13753
13869
  },
13754
13870
  {
13755
- "default": "",
13756
13871
  "document": "当 Type 为 URL 时有效,则该项为必填,表示媒体处理 URL 对象信息。\n注意:此字段可能返回 null,表示取不到有效值。",
13757
13872
  "example": "NULL",
13758
13873
  "member": "UrlInputInfo",
@@ -13760,6 +13875,15 @@
13760
13875
  "required": false,
13761
13876
  "type": "object",
13762
13877
  "value_allowed_null": true
13878
+ },
13879
+ {
13880
+ "document": "当 Type 为 AWS-S3 时有效,则该项为必填,表示媒体处理 AWS S3 对象信息。\n注意:此字段可能返回 null,表示取不到有效值。",
13881
+ "example": "NULL",
13882
+ "member": "S3InputInfo",
13883
+ "name": "S3InputInfo",
13884
+ "required": false,
13885
+ "type": "object",
13886
+ "value_allowed_null": true
13763
13887
  }
13764
13888
  ],
13765
13889
  "usage": "both"
@@ -18124,6 +18248,99 @@
18124
18248
  ],
18125
18249
  "usage": "both"
18126
18250
  },
18251
+ "S3InputInfo": {
18252
+ "document": "AWS S3存储输入",
18253
+ "members": [
18254
+ {
18255
+ "document": "S3 bucket。",
18256
+ "example": "test",
18257
+ "member": "string",
18258
+ "name": "S3Bucket",
18259
+ "required": true,
18260
+ "type": "string",
18261
+ "value_allowed_null": false
18262
+ },
18263
+ {
18264
+ "document": "S3 bucket 对应的区域。",
18265
+ "example": "ap-southeast-1",
18266
+ "member": "string",
18267
+ "name": "S3Region",
18268
+ "required": true,
18269
+ "type": "string",
18270
+ "value_allowed_null": false
18271
+ },
18272
+ {
18273
+ "document": "S3 bucket 中的媒体资源路径。",
18274
+ "example": "/test.mp4",
18275
+ "member": "string",
18276
+ "name": "S3Object",
18277
+ "required": true,
18278
+ "type": "string",
18279
+ "value_allowed_null": false
18280
+ },
18281
+ {
18282
+ "document": "AWS 内网访问 媒体资源的秘钥id。",
18283
+ "example": "\"\"",
18284
+ "member": "string",
18285
+ "name": "S3SecretId",
18286
+ "required": false,
18287
+ "type": "string",
18288
+ "value_allowed_null": false
18289
+ },
18290
+ {
18291
+ "document": "AWS 内网访问 媒体资源的秘钥key。",
18292
+ "example": "\"\"",
18293
+ "member": "string",
18294
+ "name": "S3SecretKey",
18295
+ "required": false,
18296
+ "type": "string",
18297
+ "value_allowed_null": false
18298
+ }
18299
+ ],
18300
+ "usage": "in"
18301
+ },
18302
+ "S3OutputStorage": {
18303
+ "document": "AWS S3 输出位置",
18304
+ "members": [
18305
+ {
18306
+ "document": "S3 bucket。",
18307
+ "example": "test",
18308
+ "member": "string",
18309
+ "name": "S3Bucket",
18310
+ "required": true,
18311
+ "type": "string",
18312
+ "value_allowed_null": false
18313
+ },
18314
+ {
18315
+ "document": "S3 bucket 对应的区域。",
18316
+ "example": "ap-southeast-1",
18317
+ "member": "string",
18318
+ "name": "S3Region",
18319
+ "required": true,
18320
+ "type": "string",
18321
+ "value_allowed_null": false
18322
+ },
18323
+ {
18324
+ "document": "AWS 内网上传 媒体资源的秘钥id。",
18325
+ "example": "\"\"",
18326
+ "member": "string",
18327
+ "name": "S3SecretId",
18328
+ "required": false,
18329
+ "type": "string",
18330
+ "value_allowed_null": false
18331
+ },
18332
+ {
18333
+ "document": "AWS 内网上传 媒体资源的秘钥key。",
18334
+ "example": "\"\"",
18335
+ "member": "string",
18336
+ "name": "S3SecretKey",
18337
+ "required": false,
18338
+ "type": "string",
18339
+ "value_allowed_null": false
18340
+ }
18341
+ ],
18342
+ "usage": "in"
18343
+ },
18127
18344
  "SRTAddressDestination": {
18128
18345
  "document": "转推的目标地址信息。",
18129
18346
  "members": [
@@ -19158,7 +19375,6 @@
19158
19375
  "document": "任务的事件通知配置。",
19159
19376
  "members": [
19160
19377
  {
19161
- "default": "",
19162
19378
  "document": "CMQ或TDMQ-CMQ 的模型,有 Queue 和 Topic 两种。",
19163
19379
  "example": "Queue ",
19164
19380
  "member": "string",
@@ -19168,7 +19384,6 @@
19168
19384
  "value_allowed_null": false
19169
19385
  },
19170
19386
  {
19171
- "default": "",
19172
19387
  "document": "CMQ或TDMQ-CMQ 的园区,如 sh,bj 等。",
19173
19388
  "example": "sh",
19174
19389
  "member": "string",
@@ -19178,7 +19393,6 @@
19178
19393
  "value_allowed_null": false
19179
19394
  },
19180
19395
  {
19181
- "default": "",
19182
19396
  "document": "当模型为 Topic 时有效,表示接收事件通知的 CMQ 或 TDMQ-CMQ 的主题名。",
19183
19397
  "example": "test",
19184
19398
  "member": "string",
@@ -19188,7 +19402,6 @@
19188
19402
  "value_allowed_null": false
19189
19403
  },
19190
19404
  {
19191
- "default": "",
19192
19405
  "document": "当模型为 Queue 时有效,表示接收事件通知的 CMQ 或 TDMQ-CMQ 的队列名。",
19193
19406
  "example": "\"\"",
19194
19407
  "member": "string",
@@ -19198,7 +19411,6 @@
19198
19411
  "value_allowed_null": false
19199
19412
  },
19200
19413
  {
19201
- "default": "",
19202
19414
  "document": "工作流通知的模式,可取值有 Finish 和 Change,不填代表 Finish。",
19203
19415
  "example": "Finish ",
19204
19416
  "member": "string",
@@ -19208,8 +19420,7 @@
19208
19420
  "value_allowed_null": false
19209
19421
  },
19210
19422
  {
19211
- "default": "",
19212
- "document": "通知类型,可选值:\n<li>CMQ:已下线,建议切换到TDMQ-CMQ</li>\n<li>TDMQ-CMQ:消息队列</li>\n<li>URL:指定URL时HTTP回调推送到 NotifyUrl 指定的地址,回调协议http+json,包体内容同解析事件通知接口的输出参数 </li>\n<li>SCF:不推荐使用,需要在控制台额外配置SCF</li>\n<font color=\"red\"> 注:不填或为空时默认 CMQ,如需采用其他类型需填写对应类型值。 </font>",
19423
+ "document": "通知类型,可选值:\n<li>CMQ:已下线,建议切换到TDMQ-CMQ</li>\n<li>TDMQ-CMQ:消息队列</li>\n<li>URL:指定URL时HTTP回调推送到 NotifyUrl 指定的地址,回调协议http+json,包体内容同解析事件通知接口的输出参数 </li>\n<li>SCF:不推荐使用,需要在控制台额外配置SCF</li>\n<li>AWS-SQS:AWS 队列,只适用于 AWS 任务,且要求同区域</li>\n<font color=\"red\"> 注:不填或为空时默认 CMQ,如需采用其他类型需填写对应类型值。 </font>",
19213
19424
  "example": "URL",
19214
19425
  "member": "string",
19215
19426
  "name": "NotifyType",
@@ -19218,7 +19429,6 @@
19218
19429
  "value_allowed_null": false
19219
19430
  },
19220
19431
  {
19221
- "default": "",
19222
19432
  "document": "HTTP回调地址,NotifyType为URL时必填。",
19223
19433
  "example": "http://www.qq.com/callback",
19224
19434
  "member": "string",
@@ -19226,6 +19436,15 @@
19226
19436
  "required": false,
19227
19437
  "type": "string",
19228
19438
  "value_allowed_null": false
19439
+ },
19440
+ {
19441
+ "document": "AWS SQS 回调,NotifyType为 AWS-SQS 时必填。\n\n注意:此字段可能返回 null,表示取不到有效值。",
19442
+ "example": "NULL",
19443
+ "member": "AwsSQS",
19444
+ "name": "AwsSQS",
19445
+ "required": false,
19446
+ "type": "object",
19447
+ "value_allowed_null": true
19229
19448
  }
19230
19449
  ],
19231
19450
  "usage": "both"
@@ -19234,8 +19453,7 @@
19234
19453
  "document": "媒体处理输出对象信息。",
19235
19454
  "members": [
19236
19455
  {
19237
- "default": "",
19238
- "document": "媒体处理输出对象存储位置的类型,现在仅支持 COS。",
19456
+ "document": "媒体处理输出对象存储位置的类型,支持:\n<li>COS:COS存储</li>\n<li>AWS-S3:AWS 存储,只适用于AWS任务,且要求同区域</li>",
19239
19457
  "example": "NULL",
19240
19458
  "member": "string",
19241
19459
  "name": "Type",
@@ -19244,7 +19462,6 @@
19244
19462
  "value_allowed_null": false
19245
19463
  },
19246
19464
  {
19247
- "default": "",
19248
19465
  "document": "当 Type 为 COS 时有效,则该项为必填,表示媒体处理 COS 输出位置。\n注意:此字段可能返回 null,表示取不到有效值。",
19249
19466
  "example": "NULL",
19250
19467
  "member": "CosOutputStorage",
@@ -19252,6 +19469,15 @@
19252
19469
  "required": false,
19253
19470
  "type": "object",
19254
19471
  "value_allowed_null": true
19472
+ },
19473
+ {
19474
+ "document": "当 Type 为 AWS-S3 时有效,则该项为必填,表示媒体处理 AWS S3 输出位置。\n注意:此字段可能返回 null,表示取不到有效值。",
19475
+ "example": "NULL",
19476
+ "member": "S3OutputStorage",
19477
+ "name": "S3OutputStorage",
19478
+ "required": false,
19479
+ "type": "object",
19480
+ "value_allowed_null": true
19255
19481
  }
19256
19482
  ],
19257
19483
  "usage": "both"
@@ -20752,6 +20978,60 @@
20752
20978
  ],
20753
20979
  "usage": "out"
20754
20980
  },
20981
+ "WithdrawsWatermarkRequest": {
20982
+ "document": "WithdrawsWatermark请求参数结构体",
20983
+ "members": [
20984
+ {
20985
+ "default": "",
20986
+ "document": "输入媒体文件存储信息。",
20987
+ "example": "无",
20988
+ "member": "MediaInputInfo",
20989
+ "name": "InputInfo",
20990
+ "required": true,
20991
+ "type": "object"
20992
+ },
20993
+ {
20994
+ "default": "",
20995
+ "document": "任务的事件通知信息,不填代表不获取事件通知。",
20996
+ "example": "无",
20997
+ "member": "TaskNotifyConfig",
20998
+ "name": "TaskNotifyConfig",
20999
+ "required": false,
21000
+ "type": "object"
21001
+ },
21002
+ {
21003
+ "default": "",
21004
+ "document": "来源上下文,用于透传用户请求信息,任务流状态变更回调将返回该字段值,最长 1000 个字符。",
21005
+ "example": "xxx",
21006
+ "member": "string",
21007
+ "name": "SessionContext",
21008
+ "required": false,
21009
+ "type": "string"
21010
+ }
21011
+ ],
21012
+ "type": "object"
21013
+ },
21014
+ "WithdrawsWatermarkResponse": {
21015
+ "document": "WithdrawsWatermark返回参数结构体",
21016
+ "members": [
21017
+ {
21018
+ "document": "任务 ID,可以通过该 ID 查询任务状态和结果。",
21019
+ "example": "125xxx65-WithdrawsWatermark-bffb15f07530b57bc1aabb01fac74bca",
21020
+ "member": "string",
21021
+ "name": "TaskId",
21022
+ "required": true,
21023
+ "type": "string",
21024
+ "value_allowed_null": false
21025
+ },
21026
+ {
21027
+ "document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。",
21028
+ "member": "string",
21029
+ "name": "RequestId",
21030
+ "type": "string"
21031
+ }
21032
+ ],
21033
+ "type": "object"
21034
+ },
20755
21035
  "WorkflowInfo": {
20756
21036
  "document": "工作流信息详情。",
20757
21037
  "members": [
@@ -21008,8 +21288,8 @@
21008
21288
  "document": "输入规则,当上传视频命中该规则时,即触发工作流。",
21009
21289
  "members": [
21010
21290
  {
21011
- "default": "",
21012
- "document": "触发器的类型,目前仅支持 CosFileUpload。",
21291
+ "document": "触发器的类型,可选值:\n<li>CosFileUpload:COS触发</li>\n<li>AwsS3FileUpload:AWS触发,目前只支持转码任务。只有编排支持,工作流不支持。 </li>\n\n",
21292
+ "example": "",
21013
21293
  "member": "string",
21014
21294
  "name": "Type",
21015
21295
  "required": true,
@@ -21017,13 +21297,22 @@
21017
21297
  "value_allowed_null": false
21018
21298
  },
21019
21299
  {
21020
- "default": "",
21021
21300
  "document": "当 Type 为 CosFileUpload 时必填且有效,为 COS 触发规则。\n注意:此字段可能返回 null,表示取不到有效值。",
21301
+ "example": "无",
21022
21302
  "member": "CosFileUploadTrigger",
21023
21303
  "name": "CosFileUploadTrigger",
21024
21304
  "required": false,
21025
21305
  "type": "object",
21026
21306
  "value_allowed_null": true
21307
+ },
21308
+ {
21309
+ "document": "当 Type 为 AwsS3FileUpload 时必填且有效,为 AWS S3 触发规则。\n\n注意:目前AWS的S3、对应触发队列SQS、回调队列SQS的秘钥需要一致。\n注意:此字段可能返回 null,表示取不到有效值。",
21310
+ "example": "无",
21311
+ "member": "AwsS3FileUploadTrigger",
21312
+ "name": "AwsS3FileUploadTrigger",
21313
+ "required": false,
21314
+ "type": "object",
21315
+ "value_allowed_null": true
21027
21316
  }
21028
21317
  ],
21029
21318
  "usage": "both"
@@ -795,6 +795,14 @@
795
795
  "output": "{\n \"Response\": {\n \"RequestId\": \"aaaaa\"\n }\n}",
796
796
  "title": "请求示例"
797
797
  }
798
+ ],
799
+ "WithdrawsWatermark": [
800
+ {
801
+ "document": "提取视频中的暗水印。",
802
+ "input": "POST / HTTP/1.1\nHost: mps.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: WithdrawsWatermark\n<公共请求参数>\n\n{\n \"InputInfo\": {\n \"Type\": \"COS\",\n \"CosInputInfo\": {\n \"Region\": \"ap-chongqing\",\n \"Object\": \"/movie/201907/WildAnimal.mov\",\n \"Bucket\": \"TopRankVideo-125xxx88\"\n }\n }\n}",
803
+ "output": "{\n \"Response\": {\n \"TaskId\": \"125xxx65-WithdrawsWatermark-bffb15f07530b57bc1aabb01fac74bca\",\n \"RequestId\": \"6ca31e3a-6b8e-4b4e-9256-fdc700064ef3\"\n }\n}",
804
+ "title": "发起提取水印任务"
805
+ }
798
806
  ]
799
807
  },
800
808
  "version": "1.0"