tccli 3.0.1315.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 (62) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/batch/v20170312/api.json +1 -1
  3. tccli/services/bh/v20230418/api.json +2 -2
  4. tccli/services/cbs/v20170312/api.json +108 -98
  5. tccli/services/cbs/v20170312/examples.json +12 -12
  6. tccli/services/cdb/v20170320/api.json +41 -28
  7. tccli/services/cdb/v20170320/examples.json +12 -0
  8. tccli/services/cdwdoris/v20211228/api.json +20 -0
  9. tccli/services/cfs/v20190719/api.json +39 -39
  10. tccli/services/cfs/v20190719/examples.json +10 -10
  11. tccli/services/cfw/v20190904/api.json +4 -4
  12. tccli/services/cvm/v20170312/api.json +22 -22
  13. tccli/services/cvm/v20170312/examples.json +1 -1
  14. tccli/services/cynosdb/v20190107/api.json +163 -4
  15. tccli/services/dnspod/v20210323/api.json +102 -82
  16. tccli/services/dnspod/v20210323/examples.json +28 -28
  17. tccli/services/domain/v20180808/api.json +10 -10
  18. tccli/services/domain/v20180808/examples.json +1 -1
  19. tccli/services/emr/v20190103/api.json +10 -0
  20. tccli/services/es/v20180416/api.json +49 -0
  21. tccli/services/ess/ess_client.py +53 -0
  22. tccli/services/ess/v20201111/api.json +111 -11
  23. tccli/services/ess/v20201111/examples.json +9 -1
  24. tccli/services/essbasic/v20210526/api.json +25 -7
  25. tccli/services/essbasic/v20210526/examples.json +10 -4
  26. tccli/services/gs/v20191118/api.json +22 -0
  27. tccli/services/hai/v20230812/api.json +59 -59
  28. tccli/services/hai/v20230812/examples.json +6 -6
  29. tccli/services/lke/v20231130/api.json +412 -18
  30. tccli/services/lkeap/lkeap_client.py +53 -53
  31. tccli/services/lkeap/v20240522/api.json +90 -70
  32. tccli/services/lkeap/v20240522/examples.json +8 -8
  33. tccli/services/mps/v20190612/api.json +163 -0
  34. tccli/services/mps/v20190612/examples.json +1 -1
  35. tccli/services/mrs/v20200910/api.json +30 -0
  36. tccli/services/postgres/postgres_client.py +24 -183
  37. tccli/services/postgres/v20170312/api.json +0 -157
  38. tccli/services/postgres/v20170312/examples.json +0 -36
  39. tccli/services/privatedns/v20201028/api.json +6 -6
  40. tccli/services/privatedns/v20201028/examples.json +2 -2
  41. tccli/services/pts/v20210728/api.json +10 -0
  42. tccli/services/ssl/v20191205/api.json +4 -4
  43. tccli/services/tbaas/v20180416/api.json +3 -3
  44. tccli/services/tbaas/v20180416/examples.json +1 -1
  45. tccli/services/tcbr/v20220217/api.json +16 -16
  46. tccli/services/teo/v20220901/api.json +39 -11
  47. tccli/services/teo/v20220901/examples.json +1 -1
  48. tccli/services/tke/tke_client.py +8 -61
  49. tccli/services/tke/v20180525/api.json +16 -114
  50. tccli/services/tke/v20180525/examples.json +0 -8
  51. tccli/services/tke/v20220501/api.json +61 -1
  52. tccli/services/tke/v20220501/examples.json +1 -1
  53. tccli/services/tms/v20201229/api.json +27 -8
  54. tccli/services/tms/v20201229/examples.json +2 -2
  55. tccli/services/vpc/v20170312/api.json +12 -12
  56. tccli/services/vpc/v20170312/examples.json +2 -2
  57. tccli/services/waf/v20180125/api.json +78 -22
  58. {tccli-3.0.1315.1.dist-info → tccli-3.0.1317.1.dist-info}/METADATA +2 -2
  59. {tccli-3.0.1315.1.dist-info → tccli-3.0.1317.1.dist-info}/RECORD +62 -62
  60. {tccli-3.0.1315.1.dist-info → tccli-3.0.1317.1.dist-info}/WHEEL +0 -0
  61. {tccli-3.0.1315.1.dist-info → tccli-3.0.1317.1.dist-info}/entry_points.txt +0 -0
  62. {tccli-3.0.1315.1.dist-info → tccli-3.0.1317.1.dist-info}/license_files/LICENSE +0 -0
@@ -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"
@@ -693,58 +693,6 @@ def doDescribeDBInstanceParameters(args, parsed_globals):
693
693
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
694
694
 
695
695
 
696
- def doDeleteServerlessDBInstance(args, parsed_globals):
697
- g_param = parse_global_arg(parsed_globals)
698
-
699
- if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
700
- cred = credential.CVMRoleCredential()
701
- elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
702
- cred = credential.STSAssumeRoleCredential(
703
- g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
704
- g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
705
- )
706
- 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):
707
- cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
708
- else:
709
- cred = credential.Credential(
710
- g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
711
- )
712
- http_profile = HttpProfile(
713
- reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
714
- reqMethod="POST",
715
- endpoint=g_param[OptionsDefine.Endpoint],
716
- proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
717
- )
718
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
719
- if g_param[OptionsDefine.Language]:
720
- profile.language = g_param[OptionsDefine.Language]
721
- mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
722
- client = mod.PostgresClient(cred, g_param[OptionsDefine.Region], profile)
723
- client._sdkVersion += ("_CLI_" + __version__)
724
- models = MODELS_MAP[g_param[OptionsDefine.Version]]
725
- model = models.DeleteServerlessDBInstanceRequest()
726
- model.from_json_string(json.dumps(args))
727
- start_time = time.time()
728
- while True:
729
- rsp = client.DeleteServerlessDBInstance(model)
730
- result = rsp.to_json_string()
731
- try:
732
- json_obj = json.loads(result)
733
- except TypeError as e:
734
- json_obj = json.loads(result.decode('utf-8')) # python3.3
735
- if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
736
- break
737
- cur_time = time.time()
738
- if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
739
- raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
740
- (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
741
- search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
742
- else:
743
- print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
744
- time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
745
- FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
746
-
747
-
748
696
  def doCreateDBInstanceNetworkAccess(args, parsed_globals):
749
697
  g_param = parse_global_arg(parsed_globals)
750
698
 
@@ -849,7 +797,7 @@ def doModifyDBInstanceSpec(args, parsed_globals):
849
797
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
850
798
 
851
799
 
852
- def doModifyBackupDownloadRestriction(args, parsed_globals):
800
+ def doModifyDBInstanceSecurityGroups(args, parsed_globals):
853
801
  g_param = parse_global_arg(parsed_globals)
854
802
 
855
803
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -878,11 +826,11 @@ def doModifyBackupDownloadRestriction(args, parsed_globals):
878
826
  client = mod.PostgresClient(cred, g_param[OptionsDefine.Region], profile)
879
827
  client._sdkVersion += ("_CLI_" + __version__)
880
828
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
881
- model = models.ModifyBackupDownloadRestrictionRequest()
829
+ model = models.ModifyDBInstanceSecurityGroupsRequest()
882
830
  model.from_json_string(json.dumps(args))
883
831
  start_time = time.time()
884
832
  while True:
885
- rsp = client.ModifyBackupDownloadRestriction(model)
833
+ rsp = client.ModifyDBInstanceSecurityGroups(model)
886
834
  result = rsp.to_json_string()
887
835
  try:
888
836
  json_obj = json.loads(result)
@@ -1057,7 +1005,7 @@ def doDescribeDatabases(args, parsed_globals):
1057
1005
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1058
1006
 
1059
1007
 
1060
- def doDescribeSlowQueryAnalysis(args, parsed_globals):
1008
+ def doDescribeParameterTemplates(args, parsed_globals):
1061
1009
  g_param = parse_global_arg(parsed_globals)
1062
1010
 
1063
1011
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -1086,11 +1034,11 @@ def doDescribeSlowQueryAnalysis(args, parsed_globals):
1086
1034
  client = mod.PostgresClient(cred, g_param[OptionsDefine.Region], profile)
1087
1035
  client._sdkVersion += ("_CLI_" + __version__)
1088
1036
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
1089
- model = models.DescribeSlowQueryAnalysisRequest()
1037
+ model = models.DescribeParameterTemplatesRequest()
1090
1038
  model.from_json_string(json.dumps(args))
1091
1039
  start_time = time.time()
1092
1040
  while True:
1093
- rsp = client.DescribeSlowQueryAnalysis(model)
1041
+ rsp = client.DescribeParameterTemplates(model)
1094
1042
  result = rsp.to_json_string()
1095
1043
  try:
1096
1044
  json_obj = json.loads(result)
@@ -1525,7 +1473,7 @@ def doDescribeDBBackups(args, parsed_globals):
1525
1473
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1526
1474
 
1527
1475
 
1528
- def doDescribeParameterTemplates(args, parsed_globals):
1476
+ def doDescribeSlowQueryAnalysis(args, parsed_globals):
1529
1477
  g_param = parse_global_arg(parsed_globals)
1530
1478
 
1531
1479
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -1554,11 +1502,11 @@ def doDescribeParameterTemplates(args, parsed_globals):
1554
1502
  client = mod.PostgresClient(cred, g_param[OptionsDefine.Region], profile)
1555
1503
  client._sdkVersion += ("_CLI_" + __version__)
1556
1504
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
1557
- model = models.DescribeParameterTemplatesRequest()
1505
+ model = models.DescribeSlowQueryAnalysisRequest()
1558
1506
  model.from_json_string(json.dumps(args))
1559
1507
  start_time = time.time()
1560
1508
  while True:
1561
- rsp = client.DescribeParameterTemplates(model)
1509
+ rsp = client.DescribeSlowQueryAnalysis(model)
1562
1510
  result = rsp.to_json_string()
1563
1511
  try:
1564
1512
  json_obj = json.loads(result)
@@ -1785,58 +1733,6 @@ def doDescribeParameterTemplateAttributes(args, parsed_globals):
1785
1733
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1786
1734
 
1787
1735
 
1788
- def doCloseServerlessDBExtranetAccess(args, parsed_globals):
1789
- g_param = parse_global_arg(parsed_globals)
1790
-
1791
- if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
1792
- cred = credential.CVMRoleCredential()
1793
- elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
1794
- cred = credential.STSAssumeRoleCredential(
1795
- g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
1796
- g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
1797
- )
1798
- 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):
1799
- cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
1800
- else:
1801
- cred = credential.Credential(
1802
- g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
1803
- )
1804
- http_profile = HttpProfile(
1805
- reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
1806
- reqMethod="POST",
1807
- endpoint=g_param[OptionsDefine.Endpoint],
1808
- proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
1809
- )
1810
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
1811
- if g_param[OptionsDefine.Language]:
1812
- profile.language = g_param[OptionsDefine.Language]
1813
- mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
1814
- client = mod.PostgresClient(cred, g_param[OptionsDefine.Region], profile)
1815
- client._sdkVersion += ("_CLI_" + __version__)
1816
- models = MODELS_MAP[g_param[OptionsDefine.Version]]
1817
- model = models.CloseServerlessDBExtranetAccessRequest()
1818
- model.from_json_string(json.dumps(args))
1819
- start_time = time.time()
1820
- while True:
1821
- rsp = client.CloseServerlessDBExtranetAccess(model)
1822
- result = rsp.to_json_string()
1823
- try:
1824
- json_obj = json.loads(result)
1825
- except TypeError as e:
1826
- json_obj = json.loads(result.decode('utf-8')) # python3.3
1827
- if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
1828
- break
1829
- cur_time = time.time()
1830
- if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
1831
- raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
1832
- (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
1833
- search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
1834
- else:
1835
- print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
1836
- time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
1837
- FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1838
-
1839
-
1840
1736
  def doModifyDBInstanceDeployment(args, parsed_globals):
1841
1737
  g_param = parse_global_arg(parsed_globals)
1842
1738
 
@@ -2929,7 +2825,7 @@ def doDescribeEncryptionKeys(args, parsed_globals):
2929
2825
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2930
2826
 
2931
2827
 
2932
- def doModifyDBInstancesProject(args, parsed_globals):
2828
+ def doDeleteReadOnlyGroup(args, parsed_globals):
2933
2829
  g_param = parse_global_arg(parsed_globals)
2934
2830
 
2935
2831
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -2958,11 +2854,11 @@ def doModifyDBInstancesProject(args, parsed_globals):
2958
2854
  client = mod.PostgresClient(cred, g_param[OptionsDefine.Region], profile)
2959
2855
  client._sdkVersion += ("_CLI_" + __version__)
2960
2856
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
2961
- model = models.ModifyDBInstancesProjectRequest()
2857
+ model = models.DeleteReadOnlyGroupRequest()
2962
2858
  model.from_json_string(json.dumps(args))
2963
2859
  start_time = time.time()
2964
2860
  while True:
2965
- rsp = client.ModifyDBInstancesProject(model)
2861
+ rsp = client.DeleteReadOnlyGroup(model)
2966
2862
  result = rsp.to_json_string()
2967
2863
  try:
2968
2864
  json_obj = json.loads(result)
@@ -3189,7 +3085,7 @@ def doDeleteDBInstanceNetworkAccess(args, parsed_globals):
3189
3085
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
3190
3086
 
3191
3087
 
3192
- def doDeleteReadOnlyGroup(args, parsed_globals):
3088
+ def doModifyDBInstancesProject(args, parsed_globals):
3193
3089
  g_param = parse_global_arg(parsed_globals)
3194
3090
 
3195
3091
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -3218,11 +3114,11 @@ def doDeleteReadOnlyGroup(args, parsed_globals):
3218
3114
  client = mod.PostgresClient(cred, g_param[OptionsDefine.Region], profile)
3219
3115
  client._sdkVersion += ("_CLI_" + __version__)
3220
3116
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
3221
- model = models.DeleteReadOnlyGroupRequest()
3117
+ model = models.ModifyDBInstancesProjectRequest()
3222
3118
  model.from_json_string(json.dumps(args))
3223
3119
  start_time = time.time()
3224
3120
  while True:
3225
- rsp = client.DeleteReadOnlyGroup(model)
3121
+ rsp = client.ModifyDBInstancesProject(model)
3226
3122
  result = rsp.to_json_string()
3227
3123
  try:
3228
3124
  json_obj = json.loads(result)
@@ -4853,58 +4749,6 @@ def doModifyDBInstanceSSLConfig(args, parsed_globals):
4853
4749
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4854
4750
 
4855
4751
 
4856
- def doInitDBInstances(args, parsed_globals):
4857
- g_param = parse_global_arg(parsed_globals)
4858
-
4859
- if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
4860
- cred = credential.CVMRoleCredential()
4861
- elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
4862
- cred = credential.STSAssumeRoleCredential(
4863
- g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
4864
- g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
4865
- )
4866
- 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):
4867
- cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
4868
- else:
4869
- cred = credential.Credential(
4870
- g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
4871
- )
4872
- http_profile = HttpProfile(
4873
- reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
4874
- reqMethod="POST",
4875
- endpoint=g_param[OptionsDefine.Endpoint],
4876
- proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
4877
- )
4878
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
4879
- if g_param[OptionsDefine.Language]:
4880
- profile.language = g_param[OptionsDefine.Language]
4881
- mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
4882
- client = mod.PostgresClient(cred, g_param[OptionsDefine.Region], profile)
4883
- client._sdkVersion += ("_CLI_" + __version__)
4884
- models = MODELS_MAP[g_param[OptionsDefine.Version]]
4885
- model = models.InitDBInstancesRequest()
4886
- model.from_json_string(json.dumps(args))
4887
- start_time = time.time()
4888
- while True:
4889
- rsp = client.InitDBInstances(model)
4890
- result = rsp.to_json_string()
4891
- try:
4892
- json_obj = json.loads(result)
4893
- except TypeError as e:
4894
- json_obj = json.loads(result.decode('utf-8')) # python3.3
4895
- if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
4896
- break
4897
- cur_time = time.time()
4898
- if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
4899
- raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
4900
- (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
4901
- search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
4902
- else:
4903
- print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
4904
- time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
4905
- FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4906
-
4907
-
4908
4752
  def doCreateReadOnlyGroupNetworkAccess(args, parsed_globals):
4909
4753
  g_param = parse_global_arg(parsed_globals)
4910
4754
 
@@ -5269,7 +5113,7 @@ def doInquiryPriceRenewDBInstance(args, parsed_globals):
5269
5113
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
5270
5114
 
5271
5115
 
5272
- def doModifyDBInstanceSecurityGroups(args, parsed_globals):
5116
+ def doModifyBackupDownloadRestriction(args, parsed_globals):
5273
5117
  g_param = parse_global_arg(parsed_globals)
5274
5118
 
5275
5119
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -5298,11 +5142,11 @@ def doModifyDBInstanceSecurityGroups(args, parsed_globals):
5298
5142
  client = mod.PostgresClient(cred, g_param[OptionsDefine.Region], profile)
5299
5143
  client._sdkVersion += ("_CLI_" + __version__)
5300
5144
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
5301
- model = models.ModifyDBInstanceSecurityGroupsRequest()
5145
+ model = models.ModifyBackupDownloadRestrictionRequest()
5302
5146
  model.from_json_string(json.dumps(args))
5303
5147
  start_time = time.time()
5304
5148
  while True:
5305
- rsp = client.ModifyDBInstanceSecurityGroups(model)
5149
+ rsp = client.ModifyBackupDownloadRestriction(model)
5306
5150
  result = rsp.to_json_string()
5307
5151
  try:
5308
5152
  json_obj = json.loads(result)
@@ -5657,14 +5501,13 @@ ACTION_MAP = {
5657
5501
  "DescribeDedicatedClusters": doDescribeDedicatedClusters,
5658
5502
  "DeleteParameterTemplate": doDeleteParameterTemplate,
5659
5503
  "DescribeDBInstanceParameters": doDescribeDBInstanceParameters,
5660
- "DeleteServerlessDBInstance": doDeleteServerlessDBInstance,
5661
5504
  "CreateDBInstanceNetworkAccess": doCreateDBInstanceNetworkAccess,
5662
5505
  "ModifyDBInstanceSpec": doModifyDBInstanceSpec,
5663
- "ModifyBackupDownloadRestriction": doModifyBackupDownloadRestriction,
5506
+ "ModifyDBInstanceSecurityGroups": doModifyDBInstanceSecurityGroups,
5664
5507
  "ModifyMaintainTimeWindow": doModifyMaintainTimeWindow,
5665
5508
  "RenewInstance": doRenewInstance,
5666
5509
  "DescribeDatabases": doDescribeDatabases,
5667
- "DescribeSlowQueryAnalysis": doDescribeSlowQueryAnalysis,
5510
+ "DescribeParameterTemplates": doDescribeParameterTemplates,
5668
5511
  "DescribeProductConfig": doDescribeProductConfig,
5669
5512
  "DescribeDBSlowlogs": doDescribeDBSlowlogs,
5670
5513
  "DescribeAccountPrivileges": doDescribeAccountPrivileges,
@@ -5673,12 +5516,11 @@ ACTION_MAP = {
5673
5516
  "UnlockAccount": doUnlockAccount,
5674
5517
  "DestroyDBInstance": doDestroyDBInstance,
5675
5518
  "DescribeDBBackups": doDescribeDBBackups,
5676
- "DescribeParameterTemplates": doDescribeParameterTemplates,
5519
+ "DescribeSlowQueryAnalysis": doDescribeSlowQueryAnalysis,
5677
5520
  "InquiryPriceCreateDBInstances": doInquiryPriceCreateDBInstances,
5678
5521
  "DescribeDBInstanceSecurityGroups": doDescribeDBInstanceSecurityGroups,
5679
5522
  "CreateBaseBackup": doCreateBaseBackup,
5680
5523
  "DescribeParameterTemplateAttributes": doDescribeParameterTemplateAttributes,
5681
- "CloseServerlessDBExtranetAccess": doCloseServerlessDBExtranetAccess,
5682
5524
  "ModifyDBInstanceDeployment": doModifyDBInstanceDeployment,
5683
5525
  "CreateServerlessDBInstance": doCreateServerlessDBInstance,
5684
5526
  "CreateDatabase": doCreateDatabase,
@@ -5700,12 +5542,12 @@ ACTION_MAP = {
5700
5542
  "RebalanceReadOnlyGroup": doRebalanceReadOnlyGroup,
5701
5543
  "DescribeBackupDownloadURL": doDescribeBackupDownloadURL,
5702
5544
  "DescribeEncryptionKeys": doDescribeEncryptionKeys,
5703
- "ModifyDBInstancesProject": doModifyDBInstancesProject,
5545
+ "DeleteReadOnlyGroup": doDeleteReadOnlyGroup,
5704
5546
  "UpgradeDBInstanceKernelVersion": doUpgradeDBInstanceKernelVersion,
5705
5547
  "ResetAccountPassword": doResetAccountPassword,
5706
5548
  "RestoreDBInstanceObjects": doRestoreDBInstanceObjects,
5707
5549
  "DeleteDBInstanceNetworkAccess": doDeleteDBInstanceNetworkAccess,
5708
- "DeleteReadOnlyGroup": doDeleteReadOnlyGroup,
5550
+ "ModifyDBInstancesProject": doModifyDBInstancesProject,
5709
5551
  "DescribeDBXlogs": doDescribeDBXlogs,
5710
5552
  "RestartDBInstance": doRestartDBInstance,
5711
5553
  "CreateDBInstances": doCreateDBInstances,
@@ -5737,7 +5579,6 @@ ACTION_MAP = {
5737
5579
  "DeleteAccount": doDeleteAccount,
5738
5580
  "ModifyBackupPlan": doModifyBackupPlan,
5739
5581
  "ModifyDBInstanceSSLConfig": doModifyDBInstanceSSLConfig,
5740
- "InitDBInstances": doInitDBInstances,
5741
5582
  "CreateReadOnlyGroupNetworkAccess": doCreateReadOnlyGroupNetworkAccess,
5742
5583
  "DescribeZones": doDescribeZones,
5743
5584
  "DescribeDBInstanceSSLConfig": doDescribeDBInstanceSSLConfig,
@@ -5745,7 +5586,7 @@ ACTION_MAP = {
5745
5586
  "InquiryPriceUpgradeDBInstance": doInquiryPriceUpgradeDBInstance,
5746
5587
  "CreateReadOnlyGroup": doCreateReadOnlyGroup,
5747
5588
  "InquiryPriceRenewDBInstance": doInquiryPriceRenewDBInstance,
5748
- "ModifyDBInstanceSecurityGroups": doModifyDBInstanceSecurityGroups,
5589
+ "ModifyBackupDownloadRestriction": doModifyBackupDownloadRestriction,
5749
5590
  "DescribeDBVersions": doDescribeDBVersions,
5750
5591
  "LockAccount": doLockAccount,
5751
5592
  "DescribeReadOnlyGroups": doDescribeReadOnlyGroups,