tccli 3.0.1316.1__py2.py3-none-any.whl → 3.0.1317.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 (46) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/batch/v20170312/api.json +1 -1
  3. tccli/services/cbs/v20170312/api.json +57 -58
  4. tccli/services/cbs/v20170312/examples.json +5 -5
  5. tccli/services/cdb/v20170320/api.json +9 -9
  6. tccli/services/cdb/v20170320/examples.json +12 -0
  7. tccli/services/cvm/v20170312/api.json +13 -13
  8. tccli/services/cvm/v20170312/examples.json +1 -1
  9. tccli/services/cynosdb/v20190107/api.json +24 -2
  10. tccli/services/dnspod/v20210323/api.json +85 -65
  11. tccli/services/dnspod/v20210323/examples.json +28 -28
  12. tccli/services/domain/v20180808/api.json +10 -10
  13. tccli/services/domain/v20180808/examples.json +1 -1
  14. tccli/services/es/v20180416/api.json +49 -0
  15. tccli/services/ess/ess_client.py +53 -0
  16. tccli/services/ess/v20201111/api.json +82 -0
  17. tccli/services/ess/v20201111/examples.json +8 -0
  18. tccli/services/essbasic/v20210526/api.json +2 -2
  19. tccli/services/essbasic/v20210526/examples.json +9 -3
  20. tccli/services/hai/v20230812/api.json +1 -1
  21. tccli/services/lke/v20231130/api.json +11 -11
  22. tccli/services/lkeap/lkeap_client.py +53 -53
  23. tccli/services/lkeap/v20240522/api.json +90 -70
  24. tccli/services/lkeap/v20240522/examples.json +8 -8
  25. tccli/services/mps/v20190612/api.json +163 -0
  26. tccli/services/mps/v20190612/examples.json +1 -1
  27. tccli/services/mrs/v20200910/api.json +30 -0
  28. tccli/services/postgres/postgres_client.py +8 -61
  29. tccli/services/postgres/v20170312/api.json +0 -71
  30. tccli/services/postgres/v20170312/examples.json +0 -14
  31. tccli/services/privatedns/v20201028/api.json +2 -2
  32. tccli/services/tbaas/v20180416/api.json +3 -3
  33. tccli/services/tbaas/v20180416/examples.json +1 -1
  34. tccli/services/tcbr/v20220217/api.json +16 -16
  35. tccli/services/teo/v20220901/api.json +34 -6
  36. tccli/services/teo/v20220901/examples.json +1 -1
  37. tccli/services/tke/v20180525/api.json +6 -6
  38. tccli/services/tke/v20220501/api.json +61 -1
  39. tccli/services/tke/v20220501/examples.json +1 -1
  40. tccli/services/vpc/v20170312/api.json +1 -1
  41. tccli/services/waf/v20180125/api.json +78 -22
  42. {tccli-3.0.1316.1.dist-info → tccli-3.0.1317.1.dist-info}/METADATA +2 -2
  43. {tccli-3.0.1316.1.dist-info → tccli-3.0.1317.1.dist-info}/RECORD +46 -46
  44. {tccli-3.0.1316.1.dist-info → tccli-3.0.1317.1.dist-info}/WHEEL +0 -0
  45. {tccli-3.0.1316.1.dist-info → tccli-3.0.1317.1.dist-info}/entry_points.txt +0 -0
  46. {tccli-3.0.1316.1.dist-info → tccli-3.0.1317.1.dist-info}/license_files/LICENSE +0 -0
@@ -10890,6 +10890,15 @@
10890
10890
  "name": "EnhanceConfig",
10891
10891
  "required": false,
10892
10892
  "type": "object"
10893
+ },
10894
+ {
10895
+ "disabled": false,
10896
+ "document": "扩展参数,序列化的 json 字符串。",
10897
+ "example": "{\\\"video_info\\\":{\\\"keep_gop\\\":0}}",
10898
+ "member": "string",
10899
+ "name": "StdExtInfo",
10900
+ "required": false,
10901
+ "type": "string"
10893
10902
  }
10894
10903
  ],
10895
10904
  "type": "object"
@@ -13149,6 +13158,16 @@
13149
13158
  "type": "string",
13150
13159
  "value_allowed_null": true
13151
13160
  },
13161
+ {
13162
+ "disabled": false,
13163
+ "document": "图片处理任务的执行状态与结果。\n注意:此字段可能返回 null,表示取不到有效值。",
13164
+ "example": "无",
13165
+ "member": "ImageProcessTaskResult",
13166
+ "name": "ImageProcessTaskResultSet",
13167
+ "output_required": false,
13168
+ "type": "list",
13169
+ "value_allowed_null": true
13170
+ },
13152
13171
  {
13153
13172
  "disabled": false,
13154
13173
  "document": "任务的创建时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。\n注意:此字段可能返回 null,表示取不到有效值。",
@@ -18375,6 +18394,34 @@
18375
18394
  ],
18376
18395
  "usage": "both"
18377
18396
  },
18397
+ "ImageDenoiseConfig": {
18398
+ "document": "图片降噪配置",
18399
+ "members": [
18400
+ {
18401
+ "disabled": false,
18402
+ "document": "能力配置开关,可选值:\n<li>ON:开启;</li>\n<li>OFF:关闭。</li>\n默认值:ON。",
18403
+ "example": "ON",
18404
+ "member": "string",
18405
+ "name": "Switch",
18406
+ "output_required": true,
18407
+ "required": false,
18408
+ "type": "string",
18409
+ "value_allowed_null": false
18410
+ },
18411
+ {
18412
+ "disabled": false,
18413
+ "document": "类型,可选值:\n<li>weak</li>\n<li>strong</li>\n默认值:weak。\n注意:此字段可能返回 null,表示取不到有效值。",
18414
+ "example": "weak",
18415
+ "member": "string",
18416
+ "name": "Type",
18417
+ "output_required": true,
18418
+ "required": false,
18419
+ "type": "string",
18420
+ "value_allowed_null": true
18421
+ }
18422
+ ],
18423
+ "usage": "both"
18424
+ },
18378
18425
  "ImageEncodeConfig": {
18379
18426
  "document": "图片编码格式参数",
18380
18427
  "members": [
@@ -18417,6 +18464,17 @@
18417
18464
  "type": "object",
18418
18465
  "value_allowed_null": true
18419
18466
  },
18467
+ {
18468
+ "disabled": false,
18469
+ "document": "降噪配置。\n注意:此字段可能返回 null,表示取不到有效值。",
18470
+ "example": "无",
18471
+ "member": "ImageDenoiseConfig",
18472
+ "name": "Denoise",
18473
+ "output_required": false,
18474
+ "required": false,
18475
+ "type": "object",
18476
+ "value_allowed_null": true
18477
+ },
18420
18478
  {
18421
18479
  "disabled": false,
18422
18480
  "document": "综合增强配置。\n注意:此字段可能返回 null,表示取不到有效值。",
@@ -18460,6 +18518,17 @@
18460
18518
  "required": false,
18461
18519
  "type": "object",
18462
18520
  "value_allowed_null": true
18521
+ },
18522
+ {
18523
+ "disabled": false,
18524
+ "document": "低光照增强配置。\n注意:此字段可能返回 null,表示取不到有效值。",
18525
+ "example": "无",
18526
+ "member": "LowLightEnhanceConfig",
18527
+ "name": "LowLightEnhance",
18528
+ "output_required": false,
18529
+ "required": false,
18530
+ "type": "object",
18531
+ "value_allowed_null": true
18463
18532
  }
18464
18533
  ],
18465
18534
  "usage": "both"
@@ -18509,6 +18578,78 @@
18509
18578
  ],
18510
18579
  "usage": "both"
18511
18580
  },
18581
+ "ImageProcessTaskOutput": {
18582
+ "document": "图片处理结果信息",
18583
+ "members": [
18584
+ {
18585
+ "disabled": false,
18586
+ "document": "输出文件的路径。\n注意:此字段可能返回 null,表示取不到有效值。",
18587
+ "example": "/output/test.jpeg",
18588
+ "member": "string",
18589
+ "name": "Path",
18590
+ "output_required": false,
18591
+ "type": "string",
18592
+ "value_allowed_null": true
18593
+ },
18594
+ {
18595
+ "disabled": false,
18596
+ "document": "输出文件的存储位置。\n注意:此字段可能返回 null,表示取不到有效值。",
18597
+ "example": "无",
18598
+ "member": "TaskOutputStorage",
18599
+ "name": "OutputStorage",
18600
+ "output_required": false,
18601
+ "type": "object",
18602
+ "value_allowed_null": true
18603
+ }
18604
+ ],
18605
+ "usage": "out"
18606
+ },
18607
+ "ImageProcessTaskResult": {
18608
+ "document": "图片处理任务结果类型",
18609
+ "members": [
18610
+ {
18611
+ "disabled": false,
18612
+ "document": "任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。\n注意:此字段可能返回 null,表示取不到有效值。",
18613
+ "example": "SUCCESS",
18614
+ "member": "string",
18615
+ "name": "Status",
18616
+ "output_required": false,
18617
+ "type": "string",
18618
+ "value_allowed_null": true
18619
+ },
18620
+ {
18621
+ "disabled": false,
18622
+ "document": "错误信息。\n注意:此字段可能返回 null,表示取不到有效值。",
18623
+ "example": "SUCCESS",
18624
+ "member": "string",
18625
+ "name": "Message",
18626
+ "output_required": false,
18627
+ "type": "string",
18628
+ "value_allowed_null": true
18629
+ },
18630
+ {
18631
+ "disabled": false,
18632
+ "document": "转码任务的输出。\n注意:此字段可能返回 null,表示取不到有效值。",
18633
+ "example": "无",
18634
+ "member": "ImageProcessTaskOutput",
18635
+ "name": "Output",
18636
+ "output_required": false,
18637
+ "type": "object",
18638
+ "value_allowed_null": true
18639
+ },
18640
+ {
18641
+ "disabled": false,
18642
+ "document": "转码进度,取值范围 [0-100]\n注意:此字段可能返回 null,表示取不到有效值。",
18643
+ "example": "100",
18644
+ "member": "int64",
18645
+ "name": "Progress",
18646
+ "output_required": false,
18647
+ "type": "int",
18648
+ "value_allowed_null": true
18649
+ }
18650
+ ],
18651
+ "usage": "out"
18652
+ },
18512
18653
  "ImageQualityEnhanceConfig": {
18513
18654
  "document": "综合增强配置",
18514
18655
  "members": [
@@ -27220,6 +27361,28 @@
27220
27361
  "required": false,
27221
27362
  "type": "object",
27222
27363
  "value_allowed_null": false
27364
+ },
27365
+ {
27366
+ "disabled": false,
27367
+ "document": "扩展参数,序列化的 json 字符串。\n注意:此字段可能返回 null,表示取不到有效值。",
27368
+ "example": "{\"video_info\":{\"color_prim\":\"bt709\"}}",
27369
+ "member": "string",
27370
+ "name": "StdExtInfo",
27371
+ "output_required": false,
27372
+ "required": false,
27373
+ "type": "string",
27374
+ "value_allowed_null": true
27375
+ },
27376
+ {
27377
+ "disabled": false,
27378
+ "document": "音视频增强配置\n注意:此字段可能返回 null,表示取不到有效值。",
27379
+ "example": "无",
27380
+ "member": "EnhanceConfig",
27381
+ "name": "EnhanceConfig",
27382
+ "output_required": false,
27383
+ "required": false,
27384
+ "type": "object",
27385
+ "value_allowed_null": true
27223
27386
  }
27224
27387
  ],
27225
27388
  "usage": "both"
@@ -838,7 +838,7 @@
838
838
  {
839
839
  "document": "查询 ID 为78459的工作流。",
840
840
  "input": "https://mps.tencentcloudapi.com/?Action=DescribeWorkflows\n&WorkflowIds.0=78459\n&<公共请求参数>",
841
- "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"WorkflowInfoSet\": [\n {\n \"WorkflowId\": 0,\n \"WorkflowName\": \"abc\",\n \"Status\": \"abc\",\n \"Trigger\": {\n \"Type\": \"abc\",\n \"CosFileUploadTrigger\": {\n \"Bucket\": \"abc\",\n \"Region\": \"abc\",\n \"Dir\": \"abc\",\n \"Formats\": [\n \"abc\"\n ]\n },\n \"AwsS3FileUploadTrigger\": {\n \"S3Bucket\": \"abc\",\n \"S3Region\": \"abc\",\n \"Dir\": \"abc\",\n \"Formats\": [\n \"abc\"\n ],\n \"S3SecretId\": \"abc\",\n \"S3SecretKey\": \"abc\",\n \"AwsSQS\": {\n \"SQSRegion\": \"abc\",\n \"SQSQueueName\": \"abc\",\n \"S3SecretId\": \"abc\",\n \"S3SecretKey\": \"abc\"\n }\n }\n },\n \"OutputStorage\": {\n \"Type\": \"abc\",\n \"CosOutputStorage\": {\n \"Bucket\": \"abc\",\n \"Region\": \"abc\"\n },\n \"S3OutputStorage\": {\n \"S3Bucket\": \"abc\",\n \"S3Region\": \"abc\",\n \"S3SecretId\": \"abc\",\n \"S3SecretKey\": \"abc\"\n }\n },\n \"MediaProcessTask\": {\n \"TranscodeTaskSet\": [\n {\n \"Definition\": 1,\n \"RawParameter\": {\n \"Container\": \"abc\",\n \"RemoveVideo\": 0,\n \"RemoveAudio\": 0,\n \"VideoTemplate\": {\n \"Codec\": \"abc\",\n \"Fps\": 0,\n \"Bitrate\": 0,\n \"ResolutionAdaptive\": \"abc\",\n \"Width\": 1,\n \"Height\": 1,\n \"Gop\": 1,\n \"FillType\": \"abc\",\n \"Vcrf\": 1,\n \"HlsTime\": 1,\n \"SegmentType\": 0\n },\n \"AudioTemplate\": {\n \"Codec\": \"abc\",\n \"Bitrate\": 0,\n \"SampleRate\": 1,\n \"AudioChannel\": 0\n },\n \"TEHDConfig\": {\n \"Type\": \"abc\",\n \"MaxVideoBitrate\": 0\n }\n },\n \"OverrideParameter\": {\n \"Container\": \"abc\",\n \"RemoveVideo\": 1,\n \"RemoveAudio\": 1,\n \"VideoTemplate\": {\n \"Codec\": \"abc\",\n \"Fps\": 0,\n \"Bitrate\": 0,\n \"ResolutionAdaptive\": \"abc\",\n \"Width\": 1,\n \"Height\": 1,\n \"Gop\": 1,\n \"FillType\": \"abc\",\n \"Vcrf\": 1,\n \"ContentAdaptStream\": 1,\n \"HlsTime\": 1,\n \"SegmentType\": 0\n },\n \"AudioTemplate\": {\n \"Codec\": \"abc\",\n \"Bitrate\": 0,\n \"SampleRate\": 1,\n \"AudioChannel\": 0,\n \"StreamSelects\": [\n 0\n ]\n },\n \"TEHDConfig\": {\n \"Type\": \"abc\",\n \"MaxVideoBitrate\": 0\n },\n \"SubtitleTemplate\": {\n \"Path\": \"abc\",\n \"StreamIndex\": 0,\n \"FontType\": \"abc\",\n \"FontSize\": \"abc\",\n \"FontColor\": \"abc\",\n \"FontAlpha\": 0\n },\n \"AddonAudioStream\": [\n {\n \"Type\": \"abc\",\n \"CosInputInfo\": {\n \"Bucket\": \"abc\",\n \"Region\": \"abc\",\n \"Object\": \"abc\"\n },\n \"UrlInputInfo\": {\n \"Url\": \"abc\"\n },\n \"S3InputInfo\": {\n \"S3Bucket\": \"abc\",\n \"S3Region\": \"abc\",\n \"S3Object\": \"abc\",\n \"S3SecretId\": \"abc\",\n \"S3SecretKey\": \"abc\"\n }\n }\n ],\n \"StdExtInfo\": \"abc\",\n \"AddOnSubtitles\": [\n {\n \"Type\": \"abc\",\n \"Subtitle\": {\n \"Type\": \"abc\",\n \"CosInputInfo\": {\n \"Bucket\": \"abc\",\n \"Region\": \"abc\",\n \"Object\": \"abc\"\n },\n \"UrlInputInfo\": {\n \"Url\": \"abc\"\n },\n \"S3InputInfo\": {\n \"S3Bucket\": \"abc\",\n \"S3Region\": \"abc\",\n \"S3Object\": \"abc\",\n \"S3SecretId\": \"abc\",\n \"S3SecretKey\": \"abc\"\n }\n }\n }\n ]\n },\n \"WatermarkSet\": [\n {\n \"Definition\": 1,\n \"RawParameter\": {\n \"Type\": \"abc\",\n \"CoordinateOrigin\": \"abc\",\n \"XPos\": \"abc\",\n \"YPos\": \"abc\",\n \"ImageTemplate\": {\n \"ImageContent\": {\n \"Type\": \"abc\",\n \"CosInputInfo\": {\n \"Bucket\": \"abc\",\n \"Region\": \"abc\",\n \"Object\": \"abc\"\n },\n \"UrlInputInfo\": {\n \"Url\": \"abc\"\n },\n \"S3InputInfo\": {\n \"S3Bucket\": \"abc\",\n \"S3Region\": \"abc\",\n \"S3Object\": \"abc\",\n \"S3SecretId\": \"abc\",\n \"S3SecretKey\": \"abc\"\n }\n },\n \"Width\": \"abc\",\n \"Height\": \"abc\",\n \"RepeatType\": \"abc\"\n }\n },\n \"TextContent\": \"abc\",\n \"SvgContent\": \"abc\",\n \"StartTimeOffset\": 0,\n \"EndTimeOffset\": 0\n }\n ],\n \"MosaicSet\": [\n {\n \"CoordinateOrigin\": \"abc\",\n \"XPos\": \"abc\",\n \"YPos\": \"abc\",\n \"Width\": \"abc\",\n \"Height\": \"abc\",\n \"StartTimeOffset\": 0,\n \"EndTimeOffset\": 0\n }\n ],\n \"StartTimeOffset\": 0,\n \"EndTimeOffset\": 0,\n \"OutputStorage\": {\n \"Type\": \"abc\",\n \"CosOutputStorage\": {\n \"Bucket\": \"abc\",\n \"Region\": \"abc\"\n },\n \"S3OutputStorage\": {\n \"S3Bucket\": \"abc\",\n \"S3Region\": \"abc\",\n \"S3SecretId\": \"abc\",\n \"S3SecretKey\": \"abc\"\n }\n },\n \"OutputObjectPath\": \"abc\",\n \"SegmentObjectName\": \"abc\",\n \"ObjectNumberFormat\": {\n \"InitialValue\": 1,\n \"Increment\": 1,\n \"MinLength\": 1,\n \"PlaceHolder\": \"abc\"\n },\n \"HeadTailParameter\": {}\n }\n ],\n \"AnimatedGraphicTaskSet\": [\n {\n \"Definition\": 1,\n \"StartTimeOffset\": 0,\n \"EndTimeOffset\": 0,\n \"OutputStorage\": {\n \"Type\": \"abc\",\n \"CosOutputStorage\": {\n \"Bucket\": \"abc\",\n \"Region\": \"abc\"\n },\n \"S3OutputStorage\": {\n \"S3Bucket\": \"abc\",\n \"S3Region\": \"abc\",\n \"S3SecretId\": \"abc\",\n \"S3SecretKey\": \"abc\"\n }\n },\n \"OutputObjectPath\": \"abc\"\n }\n ],\n \"SnapshotByTimeOffsetTaskSet\": [\n {\n \"Definition\": 1,\n \"OutputStorage\": {\n \"Type\": \"abc\",\n \"CosOutputStorage\": {\n \"Bucket\": \"abc\",\n \"Region\": \"abc\"\n },\n \"S3OutputStorage\": {\n \"S3Bucket\": \"abc\",\n \"S3Region\": \"abc\",\n \"S3SecretId\": \"abc\",\n \"S3SecretKey\": \"abc\"\n }\n },\n \"ExtTimeOffsetSet\": [\n \"abc\"\n ],\n \"TimeOffsetSet\": [\n 0\n ],\n \"WatermarkSet\": [\n {\n \"Definition\": 1,\n \"RawParameter\": {\n \"Type\": \"abc\",\n \"CoordinateOrigin\": \"abc\",\n \"XPos\": \"abc\",\n \"YPos\": \"abc\",\n \"ImageTemplate\": {\n \"Width\": \"abc\",\n \"Height\": \"abc\",\n \"RepeatType\": \"abc\"\n }\n },\n \"TextContent\": \"abc\",\n \"SvgContent\": \"abc\",\n \"StartTimeOffset\": 0,\n \"EndTimeOffset\": 0\n }\n ],\n \"OutputObjectPath\": \"abc\",\n \"ObjectNumberFormat\": {\n \"InitialValue\": 1,\n \"Increment\": 1,\n \"MinLength\": 1,\n \"PlaceHolder\": \"abc\"\n }\n }\n ],\n \"SampleSnapshotTaskSet\": [\n {\n \"Definition\": 1,\n \"OutputStorage\": {\n \"Type\": \"abc\",\n \"CosOutputStorage\": {\n \"Bucket\": \"abc\",\n \"Region\": \"abc\"\n },\n \"S3OutputStorage\": {\n \"S3Bucket\": \"abc\",\n \"S3Region\": \"abc\",\n \"S3SecretId\": \"abc\",\n \"S3SecretKey\": \"abc\"\n }\n },\n \"WatermarkSet\": [\n {\n \"Definition\": 1,\n \"RawParameter\": {\n \"Type\": \"abc\",\n \"CoordinateOrigin\": \"abc\",\n \"XPos\": \"abc\",\n \"YPos\": \"abc\",\n \"ImageTemplate\": {\n \"Width\": \"abc\",\n \"Height\": \"abc\",\n \"RepeatType\": \"abc\"\n }\n },\n \"TextContent\": \"abc\",\n \"SvgContent\": \"abc\",\n \"StartTimeOffset\": 0,\n \"EndTimeOffset\": 0\n }\n ],\n \"OutputObjectPath\": \"abc\",\n \"ObjectNumberFormat\": {\n \"InitialValue\": 1,\n \"Increment\": 1,\n \"MinLength\": 1,\n \"PlaceHolder\": \"abc\"\n }\n }\n ],\n \"ImageSpriteTaskSet\": [\n {\n \"Definition\": 1,\n \"OutputObjectPath\": \"abc\",\n \"WebVttObjectName\": \"abc\"\n }\n ],\n \"AdaptiveDynamicStreamingTaskSet\": [\n {\n \"Definition\": 1,\n \"WatermarkSet\": [\n {\n \"Definition\": 1,\n \"RawParameter\": {\n \"Type\": \"abc\",\n \"CoordinateOrigin\": \"abc\",\n \"XPos\": \"abc\",\n \"YPos\": \"abc\",\n \"ImageTemplate\": {\n \"ImageContent\": {\n \"Type\": \"abc\",\n \"CosInputInfo\": {\n \"Bucket\": \"abc\",\n \"Region\": \"abc\",\n \"Object\": \"abc\"\n },\n \"UrlInputInfo\": {\n \"Url\": \"abc\"\n },\n \"S3InputInfo\": {\n \"S3Bucket\": \"abc\",\n \"S3Region\": \"abc\",\n \"S3Object\": \"abc\",\n \"S3SecretId\": \"abc\",\n \"S3SecretKey\": \"abc\"\n }\n },\n \"Width\": \"abc\",\n \"Height\": \"abc\",\n \"RepeatType\": \"abc\"\n }\n },\n \"TextContent\": \"abc\",\n \"SvgContent\": \"abc\",\n \"StartTimeOffset\": 0,\n \"EndTimeOffset\": 0\n }\n ],\n \"OutputStorage\": {\n \"Type\": \"abc\",\n \"CosOutputStorage\": {\n \"Bucket\": \"abc\",\n \"Region\": \"abc\"\n },\n \"S3OutputStorage\": {\n \"S3Bucket\": \"abc\",\n \"S3Region\": \"abc\",\n \"S3SecretId\": \"abc\",\n \"S3SecretKey\": \"abc\"\n }\n },\n \"OutputObjectPath\": \"abc\",\n \"SubStreamObjectName\": \"abc\",\n \"SegmentObjectName\": \"abc\",\n \"AddOnSubtitles\": [\n {\n \"Type\": \"abc\"\n }\n ],\n \"DrmInfo\": {\n \"Type\": \"abc\",\n \"SimpleAesDrm\": {\n \"Uri\": \"abc\",\n \"Key\": \"abc\",\n \"Vector\": \"abc\"\n }\n },\n \"DefinitionType\": \"abc\"\n }\n ]\n },\n \"AiContentReviewTask\": {\n \"Definition\": 1\n },\n \"AiAnalysisTask\": {\n \"Definition\": 1,\n \"ExtendedParameter\": \"abc\"\n },\n \"AiRecognitionTask\": {\n \"Definition\": 1\n },\n \"TaskNotifyConfig\": {\n \"NotifyType\": \"abc\",\n \"NotifyMode\": \"abc\",\n \"NotifyUrl\": \"abc\",\n \"CmqModel\": \"abc\",\n \"CmqRegion\": \"abc\",\n \"TopicName\": \"abc\",\n \"QueueName\": \"abc\",\n \"AwsSQS\": {\n \"SQSRegion\": \"abc\",\n \"SQSQueueName\": \"abc\",\n \"S3SecretId\": \"abc\",\n \"S3SecretKey\": \"abc\"\n },\n \"NotifyKey\": \"abc\"\n },\n \"TaskPriority\": 0,\n \"OutputDir\": \"abc\",\n \"CreateTime\": \"abc\",\n \"UpdateTime\": \"abc\"\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
841
+ "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"WorkflowInfoSet\": [\n {\n \"WorkflowId\": 0,\n \"WorkflowName\": \"abc\",\n \"Status\": \"abc\",\n \"Trigger\": {\n \"Type\": \"abc\",\n \"CosFileUploadTrigger\": {\n \"Bucket\": \"abc\",\n \"Region\": \"abc\",\n \"Dir\": \"abc\",\n \"Formats\": [\n \"abc\"\n ]\n },\n \"AwsS3FileUploadTrigger\": {\n \"S3Bucket\": \"abc\",\n \"S3Region\": \"abc\",\n \"Dir\": \"abc\",\n \"Formats\": [\n \"abc\"\n ],\n \"S3SecretId\": \"abc\",\n \"S3SecretKey\": \"abc\",\n \"AwsSQS\": {\n \"SQSRegion\": \"abc\",\n \"SQSQueueName\": \"abc\",\n \"S3SecretId\": \"abc\",\n \"S3SecretKey\": \"abc\"\n }\n }\n },\n \"OutputStorage\": {\n \"Type\": \"abc\",\n \"CosOutputStorage\": {\n \"Bucket\": \"abc\",\n \"Region\": \"abc\"\n },\n \"S3OutputStorage\": {\n \"S3Bucket\": \"abc\",\n \"S3Region\": \"abc\",\n \"S3SecretId\": \"abc\",\n \"S3SecretKey\": \"abc\"\n }\n },\n \"MediaProcessTask\": {\n \"TranscodeTaskSet\": [\n {\n \"Definition\": 1,\n \"RawParameter\": {\n \"Container\": \"abc\",\n \"RemoveVideo\": 0,\n \"RemoveAudio\": 0,\n \"VideoTemplate\": {\n \"Codec\": \"abc\",\n \"Fps\": 0,\n \"Bitrate\": 0,\n \"ResolutionAdaptive\": \"abc\",\n \"Width\": 1,\n \"Height\": 1,\n \"Gop\": 1,\n \"FillType\": \"abc\",\n \"Vcrf\": 1,\n \"HlsTime\": 1,\n \"SegmentType\": 0\n },\n \"AudioTemplate\": {\n \"Codec\": \"abc\",\n \"Bitrate\": 0,\n \"SampleRate\": 1,\n \"AudioChannel\": 0\n },\n \"TEHDConfig\": {\n \"Type\": \"abc\",\n \"MaxVideoBitrate\": 0\n },\n \"StdExtInfo\": \"abc\",\n \"EnhanceConfig\": {\n \"VideoEnhance\": {\n \"FrameRate\": {\n \"Switch\": \"abc\",\n \"Fps\": 1\n },\n \"SuperResolution\": {\n \"Switch\": \"abc\",\n \"Type\": \"abc\",\n \"Size\": 0\n },\n \"Hdr\": {\n \"Switch\": \"abc\",\n \"Type\": \"abc\"\n },\n \"Denoise\": {\n \"Switch\": \"abc\",\n \"Type\": \"abc\"\n },\n \"ImageQualityEnhance\": {\n \"Switch\": \"abc\",\n \"Type\": \"abc\"\n },\n \"ColorEnhance\": {\n \"Switch\": \"abc\",\n \"Type\": \"abc\"\n },\n \"SharpEnhance\": {\n \"Switch\": \"abc\",\n \"Intensity\": 0\n },\n \"FaceEnhance\": {\n \"Switch\": \"abc\",\n \"Intensity\": 0\n },\n \"LowLightEnhance\": {\n \"Switch\": \"abc\",\n \"Type\": \"abc\"\n },\n \"ScratchRepair\": {\n \"Switch\": \"abc\",\n \"Intensity\": 0\n },\n \"ArtifactRepair\": {\n \"Switch\": \"abc\",\n \"Type\": \"abc\"\n }\n },\n \"AudioEnhance\": {\n \"Denoise\": {\n \"Switch\": \"abc\"\n },\n \"Separate\": {\n \"Switch\": \"abc\",\n \"Type\": \"abc\",\n \"Track\": \"abc\"\n },\n \"VolumeBalance\": {\n \"Switch\": \"abc\",\n \"Type\": \"abc\"\n },\n \"Beautify\": {\n \"Switch\": \"abc\",\n \"Types\": [\n \"abc\"\n ]\n }\n }\n }\n },\n \"OverrideParameter\": {\n \"Container\": \"abc\",\n \"RemoveVideo\": 1,\n \"RemoveAudio\": 1,\n \"VideoTemplate\": {\n \"Codec\": \"abc\",\n \"Fps\": 0,\n \"Bitrate\": 0,\n \"ResolutionAdaptive\": \"abc\",\n \"Width\": 1,\n \"Height\": 1,\n \"Gop\": 1,\n \"FillType\": \"abc\",\n \"Vcrf\": 1,\n \"ContentAdaptStream\": 1,\n \"HlsTime\": 1,\n \"SegmentType\": 0\n },\n \"AudioTemplate\": {\n \"Codec\": \"abc\",\n \"Bitrate\": 0,\n \"SampleRate\": 1,\n \"AudioChannel\": 0,\n \"StreamSelects\": [\n 0\n ]\n },\n \"TEHDConfig\": {\n \"Type\": \"abc\",\n \"MaxVideoBitrate\": 0\n },\n \"SubtitleTemplate\": {\n \"Path\": \"abc\",\n \"StreamIndex\": 0,\n \"FontType\": \"abc\",\n \"FontSize\": \"abc\",\n \"FontColor\": \"abc\",\n \"FontAlpha\": 0\n },\n \"AddonAudioStream\": [\n {\n \"Type\": \"abc\",\n \"CosInputInfo\": {\n \"Bucket\": \"abc\",\n \"Region\": \"abc\",\n \"Object\": \"abc\"\n },\n \"UrlInputInfo\": {\n \"Url\": \"abc\"\n },\n \"S3InputInfo\": {\n \"S3Bucket\": \"abc\",\n \"S3Region\": \"abc\",\n \"S3Object\": \"abc\",\n \"S3SecretId\": \"abc\",\n \"S3SecretKey\": \"abc\"\n }\n }\n ],\n \"StdExtInfo\": \"abc\",\n \"AddOnSubtitles\": [\n {\n \"Type\": \"abc\",\n \"Subtitle\": {\n \"Type\": \"abc\",\n \"CosInputInfo\": {\n \"Bucket\": \"abc\",\n \"Region\": \"abc\",\n \"Object\": \"abc\"\n },\n \"UrlInputInfo\": {\n \"Url\": \"abc\"\n },\n \"S3InputInfo\": {\n \"S3Bucket\": \"abc\",\n \"S3Region\": \"abc\",\n \"S3Object\": \"abc\",\n \"S3SecretId\": \"abc\",\n \"S3SecretKey\": \"abc\"\n }\n }\n }\n ]\n },\n \"WatermarkSet\": [\n {\n \"Definition\": 1,\n \"RawParameter\": {\n \"Type\": \"abc\",\n \"CoordinateOrigin\": \"abc\",\n \"XPos\": \"abc\",\n \"YPos\": \"abc\",\n \"ImageTemplate\": {\n \"ImageContent\": {\n \"Type\": \"abc\",\n \"CosInputInfo\": {\n \"Bucket\": \"abc\",\n \"Region\": \"abc\",\n \"Object\": \"abc\"\n },\n \"UrlInputInfo\": {\n \"Url\": \"abc\"\n },\n \"S3InputInfo\": {\n \"S3Bucket\": \"abc\",\n \"S3Region\": \"abc\",\n \"S3Object\": \"abc\",\n \"S3SecretId\": \"abc\",\n \"S3SecretKey\": \"abc\"\n }\n },\n \"Width\": \"abc\",\n \"Height\": \"abc\",\n \"RepeatType\": \"abc\"\n }\n },\n \"TextContent\": \"abc\",\n \"SvgContent\": \"abc\",\n \"StartTimeOffset\": 0,\n \"EndTimeOffset\": 0\n }\n ],\n \"MosaicSet\": [\n {\n \"CoordinateOrigin\": \"abc\",\n \"XPos\": \"abc\",\n \"YPos\": \"abc\",\n \"Width\": \"abc\",\n \"Height\": \"abc\",\n \"StartTimeOffset\": 0,\n \"EndTimeOffset\": 0\n }\n ],\n \"StartTimeOffset\": 0,\n \"EndTimeOffset\": 0,\n \"OutputStorage\": {\n \"Type\": \"abc\",\n \"CosOutputStorage\": {\n \"Bucket\": \"abc\",\n \"Region\": \"abc\"\n },\n \"S3OutputStorage\": {\n \"S3Bucket\": \"abc\",\n \"S3Region\": \"abc\",\n \"S3SecretId\": \"abc\",\n \"S3SecretKey\": \"abc\"\n }\n },\n \"OutputObjectPath\": \"abc\",\n \"SegmentObjectName\": \"abc\",\n \"ObjectNumberFormat\": {\n \"InitialValue\": 1,\n \"Increment\": 1,\n \"MinLength\": 1,\n \"PlaceHolder\": \"abc\"\n },\n \"HeadTailParameter\": {}\n }\n ],\n \"AnimatedGraphicTaskSet\": [\n {\n \"Definition\": 1,\n \"StartTimeOffset\": 0,\n \"EndTimeOffset\": 0,\n \"OutputStorage\": {\n \"Type\": \"abc\",\n \"CosOutputStorage\": {\n \"Bucket\": \"abc\",\n \"Region\": \"abc\"\n },\n \"S3OutputStorage\": {\n \"S3Bucket\": \"abc\",\n \"S3Region\": \"abc\",\n \"S3SecretId\": \"abc\",\n \"S3SecretKey\": \"abc\"\n }\n },\n \"OutputObjectPath\": \"abc\"\n }\n ],\n \"SnapshotByTimeOffsetTaskSet\": [\n {\n \"Definition\": 1,\n \"OutputStorage\": {\n \"Type\": \"abc\",\n \"CosOutputStorage\": {\n \"Bucket\": \"abc\",\n \"Region\": \"abc\"\n },\n \"S3OutputStorage\": {\n \"S3Bucket\": \"abc\",\n \"S3Region\": \"abc\",\n \"S3SecretId\": \"abc\",\n \"S3SecretKey\": \"abc\"\n }\n },\n \"ExtTimeOffsetSet\": [\n \"abc\"\n ],\n \"TimeOffsetSet\": [\n 0\n ],\n \"WatermarkSet\": [\n {\n \"Definition\": 1,\n \"RawParameter\": {\n \"Type\": \"abc\",\n \"CoordinateOrigin\": \"abc\",\n \"XPos\": \"abc\",\n \"YPos\": \"abc\",\n \"ImageTemplate\": {\n \"Width\": \"abc\",\n \"Height\": \"abc\",\n \"RepeatType\": \"abc\"\n }\n },\n \"TextContent\": \"abc\",\n \"SvgContent\": \"abc\",\n \"StartTimeOffset\": 0,\n \"EndTimeOffset\": 0\n }\n ],\n \"OutputObjectPath\": \"abc\",\n \"ObjectNumberFormat\": {\n \"InitialValue\": 1,\n \"Increment\": 1,\n \"MinLength\": 1,\n \"PlaceHolder\": \"abc\"\n }\n }\n ],\n \"SampleSnapshotTaskSet\": [\n {\n \"Definition\": 1,\n \"OutputStorage\": {\n \"Type\": \"abc\",\n \"CosOutputStorage\": {\n \"Bucket\": \"abc\",\n \"Region\": \"abc\"\n },\n \"S3OutputStorage\": {\n \"S3Bucket\": \"abc\",\n \"S3Region\": \"abc\",\n \"S3SecretId\": \"abc\",\n \"S3SecretKey\": \"abc\"\n }\n },\n \"WatermarkSet\": [\n {\n \"Definition\": 1,\n \"RawParameter\": {\n \"Type\": \"abc\",\n \"CoordinateOrigin\": \"abc\",\n \"XPos\": \"abc\",\n \"YPos\": \"abc\",\n \"ImageTemplate\": {\n \"Width\": \"abc\",\n \"Height\": \"abc\",\n \"RepeatType\": \"abc\"\n }\n },\n \"TextContent\": \"abc\",\n \"SvgContent\": \"abc\",\n \"StartTimeOffset\": 0,\n \"EndTimeOffset\": 0\n }\n ],\n \"OutputObjectPath\": \"abc\",\n \"ObjectNumberFormat\": {\n \"InitialValue\": 1,\n \"Increment\": 1,\n \"MinLength\": 1,\n \"PlaceHolder\": \"abc\"\n }\n }\n ],\n \"ImageSpriteTaskSet\": [\n {\n \"Definition\": 1,\n \"OutputObjectPath\": \"abc\",\n \"WebVttObjectName\": \"abc\"\n }\n ],\n \"AdaptiveDynamicStreamingTaskSet\": [\n {\n \"Definition\": 1,\n \"WatermarkSet\": [\n {\n \"Definition\": 1,\n \"RawParameter\": {\n \"Type\": \"abc\",\n \"CoordinateOrigin\": \"abc\",\n \"XPos\": \"abc\",\n \"YPos\": \"abc\",\n \"ImageTemplate\": {\n \"ImageContent\": {\n \"Type\": \"abc\",\n \"CosInputInfo\": {\n \"Bucket\": \"abc\",\n \"Region\": \"abc\",\n \"Object\": \"abc\"\n },\n \"UrlInputInfo\": {\n \"Url\": \"abc\"\n },\n \"S3InputInfo\": {\n \"S3Bucket\": \"abc\",\n \"S3Region\": \"abc\",\n \"S3Object\": \"abc\",\n \"S3SecretId\": \"abc\",\n \"S3SecretKey\": \"abc\"\n }\n },\n \"Width\": \"abc\",\n \"Height\": \"abc\",\n \"RepeatType\": \"abc\"\n }\n },\n \"TextContent\": \"abc\",\n \"SvgContent\": \"abc\",\n \"StartTimeOffset\": 0,\n \"EndTimeOffset\": 0\n }\n ],\n \"OutputStorage\": {\n \"Type\": \"abc\",\n \"CosOutputStorage\": {\n \"Bucket\": \"abc\",\n \"Region\": \"abc\"\n },\n \"S3OutputStorage\": {\n \"S3Bucket\": \"abc\",\n \"S3Region\": \"abc\",\n \"S3SecretId\": \"abc\",\n \"S3SecretKey\": \"abc\"\n }\n },\n \"OutputObjectPath\": \"abc\",\n \"SubStreamObjectName\": \"abc\",\n \"SegmentObjectName\": \"abc\",\n \"AddOnSubtitles\": [\n {\n \"Type\": \"abc\"\n }\n ],\n \"DrmInfo\": {\n \"Type\": \"abc\",\n \"SimpleAesDrm\": {\n \"Uri\": \"abc\",\n \"Key\": \"abc\",\n \"Vector\": \"abc\"\n }\n },\n \"DefinitionType\": \"abc\"\n }\n ]\n },\n \"AiContentReviewTask\": {\n \"Definition\": 1\n },\n \"AiAnalysisTask\": {\n \"Definition\": 1,\n \"ExtendedParameter\": \"abc\"\n },\n \"AiRecognitionTask\": {\n \"Definition\": 1\n },\n \"TaskNotifyConfig\": {\n \"NotifyType\": \"abc\",\n \"NotifyMode\": \"abc\",\n \"NotifyUrl\": \"abc\",\n \"CmqModel\": \"abc\",\n \"CmqRegion\": \"abc\",\n \"TopicName\": \"abc\",\n \"QueueName\": \"abc\",\n \"AwsSQS\": {\n \"SQSRegion\": \"abc\",\n \"SQSQueueName\": \"abc\",\n \"S3SecretId\": \"abc\",\n \"S3SecretKey\": \"abc\"\n },\n \"NotifyKey\": \"abc\"\n },\n \"TaskPriority\": 0,\n \"OutputDir\": \"abc\",\n \"CreateTime\": \"abc\",\n \"UpdateTime\": \"abc\"\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
842
842
  "title": "查询特定工作流"
843
843
  }
844
844
  ],
@@ -1269,6 +1269,16 @@
1269
1269
  "output_required": false,
1270
1270
  "type": "object",
1271
1271
  "value_allowed_null": false
1272
+ },
1273
+ {
1274
+ "disabled": false,
1275
+ "document": "内窥镜报告V2",
1276
+ "example": "无",
1277
+ "member": "Check",
1278
+ "name": "EndoscopyV2",
1279
+ "output_required": false,
1280
+ "type": "list",
1281
+ "value_allowed_null": false
1272
1282
  }
1273
1283
  ],
1274
1284
  "usage": "out"
@@ -6815,6 +6825,16 @@
6815
6825
  "output_required": false,
6816
6826
  "type": "string",
6817
6827
  "value_allowed_null": false
6828
+ },
6829
+ {
6830
+ "disabled": false,
6831
+ "document": "标本",
6832
+ "example": "血",
6833
+ "member": "string",
6834
+ "name": "Sample",
6835
+ "output_required": false,
6836
+ "type": "string",
6837
+ "value_allowed_null": false
6818
6838
  }
6819
6839
  ],
6820
6840
  "usage": "out"
@@ -13880,6 +13900,16 @@
13880
13900
  "output_required": false,
13881
13901
  "type": "object",
13882
13902
  "value_allowed_null": false
13903
+ },
13904
+ {
13905
+ "disabled": false,
13906
+ "document": "内窥镜报告V2",
13907
+ "example": "object",
13908
+ "member": "Check",
13909
+ "name": "EndoscopyV2",
13910
+ "output_required": false,
13911
+ "type": "object",
13912
+ "value_allowed_null": false
13883
13913
  }
13884
13914
  ],
13885
13915
  "usage": "out"
@@ -2825,7 +2825,7 @@ def doDescribeEncryptionKeys(args, parsed_globals):
2825
2825
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2826
2826
 
2827
2827
 
2828
- def doModifyDBInstancesProject(args, parsed_globals):
2828
+ def doDeleteReadOnlyGroup(args, parsed_globals):
2829
2829
  g_param = parse_global_arg(parsed_globals)
2830
2830
 
2831
2831
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -2854,11 +2854,11 @@ def doModifyDBInstancesProject(args, parsed_globals):
2854
2854
  client = mod.PostgresClient(cred, g_param[OptionsDefine.Region], profile)
2855
2855
  client._sdkVersion += ("_CLI_" + __version__)
2856
2856
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
2857
- model = models.ModifyDBInstancesProjectRequest()
2857
+ model = models.DeleteReadOnlyGroupRequest()
2858
2858
  model.from_json_string(json.dumps(args))
2859
2859
  start_time = time.time()
2860
2860
  while True:
2861
- rsp = client.ModifyDBInstancesProject(model)
2861
+ rsp = client.DeleteReadOnlyGroup(model)
2862
2862
  result = rsp.to_json_string()
2863
2863
  try:
2864
2864
  json_obj = json.loads(result)
@@ -3085,7 +3085,7 @@ def doDeleteDBInstanceNetworkAccess(args, parsed_globals):
3085
3085
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
3086
3086
 
3087
3087
 
3088
- def doDeleteReadOnlyGroup(args, parsed_globals):
3088
+ def doModifyDBInstancesProject(args, parsed_globals):
3089
3089
  g_param = parse_global_arg(parsed_globals)
3090
3090
 
3091
3091
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -3114,11 +3114,11 @@ def doDeleteReadOnlyGroup(args, parsed_globals):
3114
3114
  client = mod.PostgresClient(cred, g_param[OptionsDefine.Region], profile)
3115
3115
  client._sdkVersion += ("_CLI_" + __version__)
3116
3116
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
3117
- model = models.DeleteReadOnlyGroupRequest()
3117
+ model = models.ModifyDBInstancesProjectRequest()
3118
3118
  model.from_json_string(json.dumps(args))
3119
3119
  start_time = time.time()
3120
3120
  while True:
3121
- rsp = client.DeleteReadOnlyGroup(model)
3121
+ rsp = client.ModifyDBInstancesProject(model)
3122
3122
  result = rsp.to_json_string()
3123
3123
  try:
3124
3124
  json_obj = json.loads(result)
@@ -4749,58 +4749,6 @@ def doModifyDBInstanceSSLConfig(args, parsed_globals):
4749
4749
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4750
4750
 
4751
4751
 
4752
- def doInitDBInstances(args, parsed_globals):
4753
- g_param = parse_global_arg(parsed_globals)
4754
-
4755
- if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
4756
- cred = credential.CVMRoleCredential()
4757
- elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
4758
- cred = credential.STSAssumeRoleCredential(
4759
- g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
4760
- g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
4761
- )
4762
- 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):
4763
- cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
4764
- else:
4765
- cred = credential.Credential(
4766
- g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
4767
- )
4768
- http_profile = HttpProfile(
4769
- reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
4770
- reqMethod="POST",
4771
- endpoint=g_param[OptionsDefine.Endpoint],
4772
- proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
4773
- )
4774
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
4775
- if g_param[OptionsDefine.Language]:
4776
- profile.language = g_param[OptionsDefine.Language]
4777
- mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
4778
- client = mod.PostgresClient(cred, g_param[OptionsDefine.Region], profile)
4779
- client._sdkVersion += ("_CLI_" + __version__)
4780
- models = MODELS_MAP[g_param[OptionsDefine.Version]]
4781
- model = models.InitDBInstancesRequest()
4782
- model.from_json_string(json.dumps(args))
4783
- start_time = time.time()
4784
- while True:
4785
- rsp = client.InitDBInstances(model)
4786
- result = rsp.to_json_string()
4787
- try:
4788
- json_obj = json.loads(result)
4789
- except TypeError as e:
4790
- json_obj = json.loads(result.decode('utf-8')) # python3.3
4791
- if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
4792
- break
4793
- cur_time = time.time()
4794
- if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
4795
- raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
4796
- (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
4797
- search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
4798
- else:
4799
- print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
4800
- time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
4801
- FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4802
-
4803
-
4804
4752
  def doCreateReadOnlyGroupNetworkAccess(args, parsed_globals):
4805
4753
  g_param = parse_global_arg(parsed_globals)
4806
4754
 
@@ -5594,12 +5542,12 @@ ACTION_MAP = {
5594
5542
  "RebalanceReadOnlyGroup": doRebalanceReadOnlyGroup,
5595
5543
  "DescribeBackupDownloadURL": doDescribeBackupDownloadURL,
5596
5544
  "DescribeEncryptionKeys": doDescribeEncryptionKeys,
5597
- "ModifyDBInstancesProject": doModifyDBInstancesProject,
5545
+ "DeleteReadOnlyGroup": doDeleteReadOnlyGroup,
5598
5546
  "UpgradeDBInstanceKernelVersion": doUpgradeDBInstanceKernelVersion,
5599
5547
  "ResetAccountPassword": doResetAccountPassword,
5600
5548
  "RestoreDBInstanceObjects": doRestoreDBInstanceObjects,
5601
5549
  "DeleteDBInstanceNetworkAccess": doDeleteDBInstanceNetworkAccess,
5602
- "DeleteReadOnlyGroup": doDeleteReadOnlyGroup,
5550
+ "ModifyDBInstancesProject": doModifyDBInstancesProject,
5603
5551
  "DescribeDBXlogs": doDescribeDBXlogs,
5604
5552
  "RestartDBInstance": doRestartDBInstance,
5605
5553
  "CreateDBInstances": doCreateDBInstances,
@@ -5631,7 +5579,6 @@ ACTION_MAP = {
5631
5579
  "DeleteAccount": doDeleteAccount,
5632
5580
  "ModifyBackupPlan": doModifyBackupPlan,
5633
5581
  "ModifyDBInstanceSSLConfig": doModifyDBInstanceSSLConfig,
5634
- "InitDBInstances": doInitDBInstances,
5635
5582
  "CreateReadOnlyGroupNetworkAccess": doCreateReadOnlyGroupNetworkAccess,
5636
5583
  "DescribeZones": doDescribeZones,
5637
5584
  "DescribeDBInstanceSSLConfig": doDescribeDBInstanceSSLConfig,
@@ -462,13 +462,6 @@
462
462
  "output": "DisIsolateDBInstancesResponse",
463
463
  "status": "online"
464
464
  },
465
- "InitDBInstances": {
466
- "document": "早期接口,不规范,已提供新接口 CreateInstances 替换\n\n本接口(InitDBInstances)用于初始化云数据库PostgreSQL实例。本接口已废弃,推荐使用接口[CreateInstances](https://cloud.tencent.com/document/api/409/56107)替代。",
467
- "input": "InitDBInstancesRequest",
468
- "name": "初始化实例(废弃)",
469
- "output": "InitDBInstancesResponse",
470
- "status": "deprecated"
471
- },
472
465
  "InquiryPriceCreateDBInstances": {
473
466
  "document": "本接口 (InquiryPriceCreateDBInstances) 用于查询购买实例的价格信息。",
474
467
  "input": "InquiryPriceCreateDBInstancesRequest",
@@ -7821,70 +7814,6 @@
7821
7814
  ],
7822
7815
  "usage": "in"
7823
7816
  },
7824
- "InitDBInstancesRequest": {
7825
- "document": "InitDBInstances请求参数结构体",
7826
- "members": [
7827
- {
7828
- "disabled": false,
7829
- "document": "实例ID集合。",
7830
- "example": "[\"postgres-6fego161\\n\"]",
7831
- "member": "string",
7832
- "name": "DBInstanceIdSet",
7833
- "required": true,
7834
- "type": "list"
7835
- },
7836
- {
7837
- "disabled": false,
7838
- "document": "实例根账号用户名。",
7839
- "example": "testuser",
7840
- "member": "string",
7841
- "name": "AdminName",
7842
- "required": true,
7843
- "type": "string"
7844
- },
7845
- {
7846
- "disabled": false,
7847
- "document": "实例根账号用户名对应的密码。",
7848
- "example": "testuser%40123",
7849
- "member": "string",
7850
- "name": "AdminPassword",
7851
- "required": true,
7852
- "type": "string"
7853
- },
7854
- {
7855
- "disabled": false,
7856
- "document": "实例字符集,目前只支持:UTF8、LATIN1。",
7857
- "example": "UTF8",
7858
- "member": "string",
7859
- "name": "Charset",
7860
- "required": true,
7861
- "type": "string"
7862
- }
7863
- ],
7864
- "type": "object"
7865
- },
7866
- "InitDBInstancesResponse": {
7867
- "document": "InitDBInstances返回参数结构体",
7868
- "members": [
7869
- {
7870
- "disabled": false,
7871
- "document": "实例ID集合。",
7872
- "example": "[\"postgres-6fego161\"]",
7873
- "member": "string",
7874
- "name": "DBInstanceIdSet",
7875
- "output_required": true,
7876
- "type": "list",
7877
- "value_allowed_null": false
7878
- },
7879
- {
7880
- "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
7881
- "member": "string",
7882
- "name": "RequestId",
7883
- "type": "string"
7884
- }
7885
- ],
7886
- "type": "object"
7887
- },
7888
7817
  "InquiryPriceCreateDBInstancesRequest": {
7889
7818
  "document": "InquiryPriceCreateDBInstances请求参数结构体",
7890
7819
  "members": [
@@ -636,20 +636,6 @@
636
636
  "title": "解隔离实例"
637
637
  }
638
638
  ],
639
- "InitDBInstances": [
640
- {
641
- "document": "例如:初始化的实例Id为: postgres-6fego161",
642
- "input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InitDBInstances\n<公共请求参数>\n\n{\n \"AdminPassword\": \"testuser%40123\",\n \"Charset\": \"UTF8\",\n \"AdminName\": \"testuser\",\n \"DBInstanceIdSet\": [\n \"postgres-6fego161\"\n ]\n}",
643
- "output": "{\n \"Response\": {\n \"RequestId\": \"98fe67de-f7a7-4285-b1f2-40c2a2a3495e\",\n \"DBInstanceIdSet\": [\n \"postgres-6fego161\"\n ]\n }\n}",
644
- "title": "初始化单个实例"
645
- },
646
- {
647
- "document": "例如:同时初始化2个实例,实例Id分别为:postgres-6fego161、postgres-lnp6j617",
648
- "input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InitDBInstances\n<公共请求参数>\n\n{\n \"AdminPassword\": \"testuser%40123\",\n \"Charset\": \"UTF8\",\n \"AdminName\": \"testuser\",\n \"DBInstanceIdSet\": [\n \"postgres-lnp6j617\",\n \"postgres-6fego161\"\n ]\n}",
649
- "output": "{\n \"Response\": {\n \"RequestId\": \"5b895b34-5448-4c55-9ad1-a61427c15837\",\n \"DBInstanceIdSet\": [\n \"postgres-6fego161\",\n \"postgres-lnp6j617\"\n ]\n }\n}",
650
- "title": "初始化多个实例"
651
- }
652
- ],
653
639
  "InquiryPriceCreateDBInstances": [
654
640
  {
655
641
  "document": "查询实例的售卖价格",