tccli-intl-en 3.0.1265.1__py2.py3-none-any.whl → 3.1.1.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 (186) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/argument.py +1 -1
  3. tccli/services/__init__.py +5 -1
  4. tccli/services/advisor/advisor_client.py +10 -4
  5. tccli/services/aiart/aiart_client.py +5 -2
  6. tccli/services/ams/ams_client.py +20 -8
  7. tccli/services/antiddos/antiddos_client.py +350 -140
  8. tccli/services/apigateway/apigateway_client.py +465 -186
  9. tccli/services/apm/apm_client.py +835 -68
  10. tccli/services/apm/v20210622/api.json +3936 -1145
  11. tccli/services/apm/v20210622/examples.json +133 -23
  12. tccli/services/asr/asr_client.py +10 -4
  13. tccli/services/autoscaling/autoscaling_client.py +290 -116
  14. tccli/services/autoscaling/v20180419/api.json +1 -1
  15. tccli/services/batch/batch_client.py +140 -56
  16. tccli/services/bi/bi_client.py +120 -48
  17. tccli/services/billing/billing_client.py +210 -84
  18. tccli/services/cam/cam_client.py +405 -162
  19. tccli/services/captcha/captcha_client.py +5 -2
  20. tccli/services/car/car_client.py +165 -66
  21. tccli/services/cbs/cbs_client.py +190 -76
  22. tccli/services/ccc/ccc_client.py +515 -146
  23. tccli/services/ccc/v20200210/api.json +511 -27
  24. tccli/services/ccc/v20200210/examples.json +24 -0
  25. tccli/services/cdb/cdb_client.py +665 -266
  26. tccli/services/cdc/cdc_client.py +100 -40
  27. tccli/services/cdn/cdn_client.py +220 -88
  28. tccli/services/cdwdoris/cdwdoris_client.py +385 -154
  29. tccli/services/cdwpg/cdwpg_client.py +120 -48
  30. tccli/services/cdz/cdz_client.py +5 -2
  31. tccli/services/cfg/cfg_client.py +80 -32
  32. tccli/services/cfs/cfs_client.py +195 -78
  33. tccli/services/cfw/cfw_client.py +330 -132
  34. tccli/services/chdfs/chdfs_client.py +145 -58
  35. tccli/services/ciam/ciam_client.py +80 -32
  36. tccli/services/ckafka/ckafka_client.py +629 -131
  37. tccli/services/ckafka/v20190819/api.json +2749 -1470
  38. tccli/services/ckafka/v20190819/examples.json +209 -155
  39. tccli/services/clb/clb_client.py +415 -166
  40. tccli/services/clb/v20180317/api.json +1022 -647
  41. tccli/services/clb/v20180317/examples.json +19 -19
  42. tccli/services/cloudaudit/cloudaudit_client.py +90 -36
  43. tccli/services/cls/cls_client.py +434 -173
  44. tccli/services/cmq/cmq_client.py +10 -4
  45. tccli/services/config/config_client.py +30 -12
  46. tccli/services/controlcenter/controlcenter_client.py +5 -2
  47. tccli/services/csip/csip_client.py +170 -68
  48. tccli/services/ctsdb/ctsdb_client.py +10 -4
  49. tccli/services/cvm/cvm_client.py +420 -168
  50. tccli/services/cvm/v20170312/api.json +280 -174
  51. tccli/services/cvm/v20170312/examples.json +116 -116
  52. tccli/services/cwp/cwp_client.py +2325 -930
  53. tccli/services/cynosdb/cynosdb_client.py +1887 -577
  54. tccli/services/cynosdb/v20190107/api.json +11763 -7697
  55. tccli/services/cynosdb/v20190107/examples.json +132 -4
  56. tccli/services/dataintegration/dataintegration_client.py +5 -2
  57. tccli/services/dayu/dayu_client.py +515 -206
  58. tccli/services/dbbrain/dbbrain_client.py +210 -84
  59. tccli/services/dc/dc_client.py +90 -36
  60. tccli/services/dcdb/dcdb_client.py +310 -124
  61. tccli/services/dlc/dlc_client.py +808 -216
  62. tccli/services/dlc/v20210125/api.json +534 -13
  63. tccli/services/dlc/v20210125/examples.json +40 -0
  64. tccli/services/dms/dms_client.py +10 -4
  65. tccli/services/dnspod/dnspod_client.py +200 -80
  66. tccli/services/domain/domain_client.py +120 -48
  67. tccli/services/dts/dts_client.py +415 -166
  68. tccli/services/eb/eb_client.py +130 -52
  69. tccli/services/ecdn/ecdn_client.py +75 -30
  70. tccli/services/ecm/ecm_client.py +620 -248
  71. tccli/services/eiam/eiam_client.py +200 -80
  72. tccli/services/emr/emr_client.py +385 -154
  73. tccli/services/es/es_client.py +105 -42
  74. tccli/services/facefusion/facefusion_client.py +15 -6
  75. tccli/services/faceid/faceid_client.py +95 -38
  76. tccli/services/faceid/v20180301/examples.json +2 -2
  77. tccli/services/gaap/gaap_client.py +440 -176
  78. tccli/services/gme/gme_client.py +50 -20
  79. tccli/services/gpm/gpm_client.py +90 -36
  80. tccli/services/gse/gse_client.py +110 -44
  81. tccli/services/gwlb/gwlb_client.py +90 -36
  82. tccli/services/iai/iai_client.py +145 -58
  83. tccli/services/iap/iap_client.py +30 -12
  84. tccli/services/ims/ims_client.py +5 -2
  85. tccli/services/intlpartnersmgt/intlpartnersmgt_client.py +210 -84
  86. tccli/services/iotcloud/iotcloud_client.py +100 -40
  87. tccli/services/ip/ip_client.py +30 -12
  88. tccli/services/kms/kms_client.py +340 -136
  89. tccli/services/lcic/lcic_client.py +265 -106
  90. tccli/services/lighthouse/lighthouse_client.py +370 -148
  91. tccli/services/live/live_client.py +600 -240
  92. tccli/services/lke/lke_client.py +450 -180
  93. tccli/services/lkeap/lkeap_client.py +142 -12
  94. tccli/services/lkeap/v20240522/api.json +263 -0
  95. tccli/services/lkeap/v20240522/examples.json +35 -1
  96. tccli/services/mariadb/mariadb_client.py +250 -100
  97. tccli/services/mdc/mdc_client.py +90 -36
  98. tccli/services/mdl/mdl_client.py +165 -66
  99. tccli/services/mdl/v20200326/api.json +186 -12
  100. tccli/services/mdl/v20200326/examples.json +16 -16
  101. tccli/services/mdp/mdp_client.py +416 -124
  102. tccli/services/mdp/v20200527/api.json +146 -14
  103. tccli/services/mdp/v20200527/examples.json +95 -79
  104. tccli/services/message/__init__.py +4 -0
  105. tccli/services/message/message_client.py +210 -0
  106. tccli/services/message/v20181225/api.json +72 -0
  107. tccli/services/message/v20181225/examples.json +13 -0
  108. tccli/services/mongodb/mongodb_client.py +369 -58
  109. tccli/services/mongodb/v20190725/api.json +811 -226
  110. tccli/services/mongodb/v20190725/examples.json +54 -22
  111. tccli/services/monitor/monitor_client.py +1008 -296
  112. tccli/services/monitor/v20180724/api.json +657 -8
  113. tccli/services/monitor/v20180724/examples.json +152 -4
  114. tccli/services/mps/mps_client.py +684 -184
  115. tccli/services/mps/v20190612/api.json +1656 -222
  116. tccli/services/mps/v20190612/examples.json +60 -10
  117. tccli/services/msp/msp_client.py +35 -14
  118. tccli/services/ocr/ocr_client.py +246 -76
  119. tccli/services/ocr/v20181119/api.json +119 -10
  120. tccli/services/ocr/v20181119/examples.json +8 -0
  121. tccli/services/omics/omics_client.py +100 -40
  122. tccli/services/organization/organization_client.py +580 -232
  123. tccli/services/postgres/postgres_client.py +455 -182
  124. tccli/services/privatedns/privatedns_client.py +155 -62
  125. tccli/services/pts/pts_client.py +240 -96
  126. tccli/services/quota/quota_client.py +229 -2
  127. tccli/services/quota/v20241204/api.json +451 -2
  128. tccli/services/quota/v20241204/examples.json +42 -3
  129. tccli/services/rce/rce_client.py +5 -2
  130. tccli/services/redis/redis_client.py +545 -218
  131. tccli/services/redis/v20180412/api.json +225 -113
  132. tccli/services/redis/v20180412/examples.json +19 -19
  133. tccli/services/region/region_client.py +15 -6
  134. tccli/services/rum/rum_client.py +300 -120
  135. tccli/services/scf/scf_client.py +210 -84
  136. tccli/services/ses/ses_client.py +145 -58
  137. tccli/services/sms/sms_client.py +90 -36
  138. tccli/services/sqlserver/sqlserver_client.py +695 -278
  139. tccli/services/ssl/ssl_client.py +190 -76
  140. tccli/services/ssm/ssm_client.py +120 -48
  141. tccli/services/sts/sts_client.py +25 -10
  142. tccli/services/tag/tag_client.py +150 -60
  143. tccli/services/tat/tat_client.py +95 -38
  144. tccli/services/tbaas/tbaas_client.py +20 -8
  145. tccli/services/tcaplusdb/tcaplusdb_client.py +260 -104
  146. tccli/services/tchd/tchd_client.py +5 -2
  147. tccli/services/tcmpp/tcmpp_client.py +520 -208
  148. tccli/services/tcr/tcr_client.py +380 -152
  149. tccli/services/tcsas/tcsas_client.py +295 -118
  150. tccli/services/tcsas/v20250106/api.json +101 -61
  151. tccli/services/tcsas/v20250106/examples.json +2 -2
  152. tccli/services/tcss/tcss_client.py +1650 -660
  153. tccli/services/tdid/tdid_client.py +240 -96
  154. tccli/services/tdmq/tdmq_client.py +470 -188
  155. tccli/services/tem/tem_client.py +280 -112
  156. tccli/services/teo/teo_client.py +1365 -483
  157. tccli/services/teo/v20220901/api.json +354 -39
  158. tccli/services/teo/v20220901/examples.json +24 -0
  159. tccli/services/tione/tione_client.py +5 -2
  160. tccli/services/tiw/tiw_client.py +255 -102
  161. tccli/services/tke/tke_client.py +690 -276
  162. tccli/services/tms/tms_client.py +5 -2
  163. tccli/services/tmt/tmt_client.py +5 -2
  164. tccli/services/trabbit/trabbit_client.py +145 -58
  165. tccli/services/trro/trro_client.py +95 -38
  166. tccli/services/trtc/trtc_client.py +255 -102
  167. tccli/services/trtc/v20190722/api.json +11 -11
  168. tccli/services/trtc/v20190722/examples.json +7 -7
  169. tccli/services/tts/tts_client.py +5 -2
  170. tccli/services/vclm/vclm_client.py +10 -4
  171. tccli/services/vm/vm_client.py +20 -8
  172. tccli/services/vod/vod_client.py +895 -358
  173. tccli/services/vpc/v20170312/api.json +970 -75
  174. tccli/services/vpc/v20170312/examples.json +106 -10
  175. tccli/services/vpc/vpc_client.py +2159 -644
  176. tccli/services/waf/waf_client.py +535 -214
  177. tccli/services/wedata/v20250806/api.json +13644 -0
  178. tccli/services/wedata/v20250806/examples.json +621 -0
  179. tccli/services/wedata/wedata_client.py +6067 -1263
  180. tccli/services/yunjing/yunjing_client.py +355 -142
  181. {tccli_intl_en-3.0.1265.1.dist-info → tccli_intl_en-3.1.1.1.dist-info}/METADATA +4 -7
  182. {tccli_intl_en-3.0.1265.1.dist-info → tccli_intl_en-3.1.1.1.dist-info}/RECORD +186 -180
  183. {tccli_intl_en-3.0.1265.1.dist-info → tccli_intl_en-3.1.1.1.dist-info}/WHEEL +1 -1
  184. {tccli_intl_en-3.0.1265.1.dist-info → tccli_intl_en-3.1.1.1.dist-info}/entry_points.txt +0 -1
  185. {tccli_intl_en-3.0.1265.1.dist-info → tccli_intl_en-3.1.1.1.dist-info}/LICENSE +0 -0
  186. {tccli_intl_en-3.0.1265.1.dist-info → tccli_intl_en-3.1.1.1.dist-info}/top_level.txt +0 -0
@@ -120,10 +120,10 @@
120
120
  ],
121
121
  "CreateReplicationGroup": [
122
122
  {
123
- "document": "This example shows you how to create a replication group.",
123
+ "document": "This example shows you how to create a replication group instance.",
124
124
  "input": "POST / HTTP/1.1\nHost: redis.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateReplicationGroup\n<Common request parameters>\n\n{\n \"InstanceId\": \"crs-5qlr****\",\n \"GroupName\": \"name\"\n}",
125
- "output": "{\n \"Response\": {\n \"TaskId\": 327,\n \"RequestId\": \"e546784b-709c-401d-aba6-73037eb4e522\"\n }\n}",
126
- "title": "Request Sample"
125
+ "output": "{\n \"Response\": {\n \"TaskId\": 327,\n \"GroupId\": \"crs-repl-eewq*****\",\n \"RequestId\": \"e546784b-709c-401d-aba6-73037eb4e522\"\n }\n}",
126
+ "title": "Request Example"
127
127
  }
128
128
  ],
129
129
  "DeleteInstanceAccount": [
@@ -224,10 +224,10 @@
224
224
  ],
225
225
  "DescribeInstanceBackups": [
226
226
  {
227
- "document": "This example shows you how to query the backup list of the instance `crs-c7nuafdt`.",
228
- "input": "POST / HTTP/1.1\nHost: redis.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstanceBackups\n<Common request parameters>\n\n{\n \"Status\": [\n \"2\"\n ],\n \"InstanceId\": \"crs-c7nuafdt\",\n \"Limit\": \"10\",\n \"Offset\": \"0\"\n}",
229
- "output": "{\n \"Response\": {\n \"BackupSet\": [\n {\n \"BackupId\": \"154572601-1165734322-153731238\",\n \"BackupSize\": 191,\n \"BackupType\": \"0\",\n \"EndTime\": \"2022-12-23 16:25:18\",\n \"ExpireTime\": \"2022-12-30 16:24:41\",\n \"FileType\": \"RDB-Redis 4.0\",\n \"FullBackup\": 0,\n \"InstanceId\": \"crs-c7nuafdt\",\n \"InstanceName\": \"Backup test\",\n \"InstanceType\": 6,\n \"Locked\": 0,\n \"Region\": \"ap-guangzhou\",\n \"Remark\": \"test001\",\n \"StartTime\": \"2022-12-23 16:24:41\",\n \"Status\": 2\n }\n ],\n \"RequestId\": \"2a95bfa4-ac8c-43cd-b7b1-5a93817d8de2\",\n \"TotalCount\": 1\n }\n}",
230
- "title": "Sample 1"
227
+ "document": "This example shows you how to query the backup list of the crs-c7nuafdt instance through this API.",
228
+ "input": "POST / HTTP/1.1\nHost: redis.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstanceBackups\n<Common request parameters>\n\n{\n \"Status\": [\n 2\n ],\n \"InstanceId\": \"crs-c7nuafdt\",\n \"Limit\": 10,\n \"Offset\": 0\n}",
229
+ "output": "{\n \"Response\": {\n \"BackupSet\": [\n {\n \"BackupId\": \"154572601-1165734322-153731238\",\n \"BackupSize\": 191,\n \"BackupType\": \"0\",\n \"EndTime\": \"2022-12-23 16:25:18\",\n \"ExpireTime\": \"2022-12-30 16:24:41\",\n \"FileType\": \"RDB-Redis 4.0\",\n \"FullBackup\": 0,\n \"InstanceId\": \"crs-c7nuafdt\",\n \"InstanceName\": \"Backup test.\",\n \"InstanceType\": 6,\n \"Locked\": 0,\n \"Region\": \"ap-guangzhou\",\n \"Remark\": \"test001\",\n \"StartTime\": \"2022-12-23 16:24:41\",\n \"Status\": 2\n }\n ],\n \"RequestId\": \"2a95bfa4-ac8c-43cd-b7b1-5a93817d8de2\",\n \"TotalCount\": 1\n }\n}",
230
+ "title": "Example 1"
231
231
  }
232
232
  ],
233
233
  "DescribeInstanceDTSInfo": [
@@ -441,9 +441,9 @@
441
441
  "DescribeProjectSecurityGroups": [
442
442
  {
443
443
  "document": " ",
444
- "input": "POST / HTTP/1.1\nHost: redis.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeProjectSecurityGroups\n<Common request parameters>\n\n{\n \"ProjectId\": \"11954\",\n \"Product\": \"redis\"\n}",
444
+ "input": "POST / HTTP/1.1\nHost: redis.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeProjectSecurityGroups\n<Common request parameters>\n\n{\n \"ProjectId\": 11954,\n \"Product\": \"redis\"\n}",
445
445
  "output": "{\n \"Response\": {\n \"Total\": 1,\n \"RequestId\": \"6EF60BEC-0242-43AF-BB20-270359FB54A1\",\n \"Groups\": [\n {\n \"Outbound\": [],\n \"SecurityGroupName\": \"CDB\",\n \"Inbound\": [],\n \"ProjectId\": 0,\n \"SecurityGroupId\": \"sg-ajr1jzgj\",\n \"SecurityGroupRemark\": \"\",\n \"CreateTime\": \"2017-04-13 15:00:06\"\n }\n ]\n }\n}",
446
- "title": "Sample request"
446
+ "title": "Request Example"
447
447
  }
448
448
  ],
449
449
  "DescribeProxySlowLog": [
@@ -471,7 +471,7 @@
471
471
  "DescribeRedisClusters": [
472
472
  {
473
473
  "document": " ",
474
- "input": "POST / HTTP/1.1\nHost: redis.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRedisClusters\n<Common request parameters>\n\n{\n \"Limit\": \"100\",\n \"DedicatedClusterId\": \"cluster-0astoh6a\",\n \"Offset\": \"0\"\n}",
474
+ "input": "POST / HTTP/1.1\nHost: redis.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRedisClusters\n<Common request parameters>\n\n{\n \"Limit\": 100,\n \"DedicatedClusterId\": \"cluster-0astoh6a\",\n \"Offset\": 0\n}",
475
475
  "output": "{\n \"Response\": {\n \"Total\": 4,\n \"Resources\": [\n {\n \"AppId\": 251200288,\n \"RegionId\": 1,\n \"ZoneId\": 100002,\n \"PayMode\": 1,\n \"ProjectId\": 0,\n \"AutoRenewFlag\": 0,\n \"ClusterName\": \"crs-cdc-9nyfki8h\",\n \"StartTime\": \"2022-06-10 14:40:33\",\n \"EndTime\": \"2022-07-10 14:40:33\",\n \"Status\": 1,\n \"RedisClusterId\": \"crs-cdc-9nyfki8h\",\n \"BaseBundles\": [\n {\n \"ResourceBundleName\": \"cc-standard\",\n \"AvailableMemory\": 0,\n \"Count\": 1\n }\n ],\n \"ResourceBundles\": [\n {\n \"ResourceBundleName\": \"resource-bundle-mini\",\n \"AvailableMemory\": 16,\n \"Count\": 1\n }\n ],\n \"DedicatedClusterId\": \"cluster-0astoh6a\"\n },\n {\n \"AppId\": 251200288,\n \"RegionId\": 1,\n \"ZoneId\": 100002,\n \"PayMode\": 1,\n \"ProjectId\": 0,\n \"AutoRenewFlag\": 0,\n \"ClusterName\": \"crs-cdc-3blwadqr\",\n \"StartTime\": \"2022-06-10 11:43:57\",\n \"EndTime\": \"2022-07-10 11:43:57\",\n \"Status\": 1,\n \"RedisClusterId\": \"crs-cdc-3blwadqr\",\n \"BaseBundles\": [\n {\n \"ResourceBundleName\": \"cc-standard\",\n \"AvailableMemory\": 0,\n \"Count\": 1\n }\n ],\n \"ResourceBundles\": [\n {\n \"ResourceBundleName\": \"resource-bundle-mini\",\n \"AvailableMemory\": 16,\n \"Count\": 1\n }\n ],\n \"DedicatedClusterId\": \"cluster-0astoh6a\"\n },\n {\n \"AppId\": 251200288,\n \"RegionId\": 1,\n \"ZoneId\": 100002,\n \"PayMode\": 1,\n \"ProjectId\": 0,\n \"AutoRenewFlag\": 0,\n \"ClusterName\": \"crs-cdc-etfesut3\",\n \"StartTime\": \"2022-06-10 11:00:25\",\n \"EndTime\": \"2022-07-10 11:00:25\",\n \"Status\": 1,\n \"RedisClusterId\": \"crs-cdc-etfesut3\",\n \"BaseBundles\": [\n {\n \"ResourceBundleName\": \"cc-standard\",\n \"AvailableMemory\": 0,\n \"Count\": 1\n }\n ],\n \"ResourceBundles\": [\n {\n \"ResourceBundleName\": \"resource-bundle-mini\",\n \"AvailableMemory\": 16,\n \"Count\": 1\n },\n {\n \"ResourceBundleName\": \"resource-bundle-large\",\n \"AvailableMemory\": 538,\n \"Count\": 1\n }\n ],\n \"DedicatedClusterId\": \"cluster-0astoh6a\"\n },\n {\n \"AppId\": 251200288,\n \"RegionId\": 1,\n \"ZoneId\": 100002,\n \"PayMode\": 1,\n \"ProjectId\": 0,\n \"AutoRenewFlag\": 0,\n \"ClusterName\": \"crs-cdc-4myknrdf\",\n \"StartTime\": \"2022-06-10 10:33:12\",\n \"EndTime\": \"2022-08-10 10:33:12\",\n \"Status\": 2,\n \"RedisClusterId\": \"crs-cdc-4myknrdf\",\n \"BaseBundles\": [\n {\n \"ResourceBundleName\": \"cc-standard\",\n \"AvailableMemory\": 0,\n \"Count\": 1\n }\n ],\n \"ResourceBundles\": [\n {\n \"ResourceBundleName\": \"resource-bundle-mini\",\n \"AvailableMemory\": 16,\n \"Count\": 1\n },\n {\n \"ResourceBundleName\": \"resource-bundle-small-1\",\n \"AvailableMemory\": 48,\n \"Count\": 2\n }\n ],\n \"DedicatedClusterId\": \"cluster-0astoh6a\"\n }\n ],\n \"RequestId\": \"1504cdf3-0095-4694-86d2-5f2a6f8c99a4\"\n }\n}",
476
476
  "title": "Example 1"
477
477
  }
@@ -502,10 +502,10 @@
502
502
  ],
503
503
  "DescribeSecondLevelBackupInfo": [
504
504
  {
505
- "document": "This example shows you how to query the second-level backup information.",
506
- "input": "POST / HTTP/1.1\nHost: redis.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSecondLevelBackupInfo\n<Common request parameters>\n\n{\n \"InstanceId\": \"crs-asdasdas\",\n \"BackupTimestamp\": 1716449238\n}",
505
+ "document": "This example shows you how to query second-level backup information.",
506
+ "input": "POST / HTTP/1.1\nHost: redis.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSecondLevelBackupInfo\n<Common request parameters>\n\n{\n \"InstanceId\": \"crs-asda****\",\n \"BackupTimestamp\": 1716449238\n}",
507
507
  "output": "{\n \"Response\": {\n \"BackupId\": \"154709612-5143180-1043869225\",\n \"BackupTimestamp\": 1719563096,\n \"MissingTimestamps\": null,\n \"RequestId\": \"fa6ec05f-d469-41cd-862f-da6771c4554d\",\n \"StartTimestamp\": 1719562435\n }\n}",
508
- "title": "Querying the Second-Level Backup Information"
508
+ "title": "Querying Second-Level Backup Information"
509
509
  }
510
510
  ],
511
511
  "DescribeSlowLog": [
@@ -618,9 +618,9 @@
618
618
  ],
619
619
  "ManualBackupInstance": [
620
620
  {
621
- "document": "This example shows you how to perform manual backup.",
621
+ "document": "This example shows you how to perform a manual backup.",
622
622
  "input": "https://redis.tencentcloudapi.com/?Action=ManualBackupInstance\n&InstanceId=crs-5a4p****\n&Remark=note_message\n&<Common request parameters>",
623
- "output": "{\n \"Response\": {\n \"TaskId\": \"6954227\",\n \"RequestId\": \"4daddc97-0005-45d8-b5b8-38514ec1e97c\"\n }\n}",
623
+ "output": "{\n \"Response\": {\n \"TaskId\": 6954227,\n \"RequestId\": \"4daddc97-0005-45d8-b5b8-38514ec1e97c\"\n }\n}",
624
624
  "title": "Request Example"
625
625
  }
626
626
  ],
@@ -675,7 +675,7 @@
675
675
  "ModifyInstanceAccount": [
676
676
  {
677
677
  "document": " ",
678
- "input": "https://redis.tencentcloudapi.com/?Action=ModifyInstanceAccount\n&InstanceId=crs-5a4py64p\n&AccountName=test_account\n&<Common request parameters>",
678
+ "input": "https://redis.tencentcloudapi.com/?Action=ModifyInstanceAccount\n&InstanceId=crs-********\n&AccountName=test_account\n&<Common request parameters>",
679
679
  "output": "{\n \"Response\": {\n \"TaskId\": 123456,\n \"RequestId\": \"0e728fa9-c2e5-4bf8-8d6b-c1c4fab7b6db\"\n }\n}",
680
680
  "title": "Request Example"
681
681
  }
@@ -788,7 +788,7 @@
788
788
  {
789
789
  "document": "This example shows you how to delete a replication group when no instance exists in the replication group.",
790
790
  "input": "POST / HTTP/1.1\nHost: redis.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RemoveReplicationGroup\n<Common request parameters>\n\n{\n \"GroupId\": \"crs-rpl-oxsincthdd\"\n}",
791
- "output": "{\n \"Response\": {\n \"RequestId\": \"abc\"\n }\n}",
791
+ "output": "{\n \"Response\": {\n \"RequestId\": \"9a6bd110-20fc-4e08-b78b-a5656cb6151c\"\n }\n}",
792
792
  "title": "Deleting a Replication Group"
793
793
  }
794
794
  ],
@@ -820,8 +820,8 @@
820
820
  {
821
821
  "document": " ",
822
822
  "input": "POST / HTTP/1.1\nHost: redis.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RestoreInstance\n<Common request parameters>\n\n{\n \"InstanceId\": \"crs-5a4py64p\",\n \"BackupId\": \"678362566696298532848117\",\n \"Password\": \"mypassword\"\n}",
823
- "output": "{\n \"Response\": {\n \"TaskId\": \"6954227\",\n \"RequestId\": \"4daddc97-0005-45d8-b5b8-38514ec1e97c\"\n }\n}",
824
- "title": "Restoring a Redis Instance"
823
+ "output": "{\n \"Response\": {\n \"TaskId\": 6954227,\n \"RequestId\": \"4daddc97-0005-45d8-b5b8-38514ec1e97c\"\n }\n}",
824
+ "title": "Recovering a CRS Instance"
825
825
  }
826
826
  ],
827
827
  "StartupInstance": [
@@ -27,7 +27,10 @@ def doDescribeProducts(args, parsed_globals):
27
27
  g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
28
28
  g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
29
29
  )
30
- elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
30
+ elif os.getenv(OptionsDefine.ENV_TKE_REGION) \
31
+ and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) \
32
+ and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) \
33
+ and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
31
34
  cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
32
35
  else:
33
36
  cred = credential.Credential(
@@ -39,7 +42,7 @@ def doDescribeProducts(args, parsed_globals):
39
42
  endpoint=g_param[OptionsDefine.Endpoint],
40
43
  proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
41
44
  )
42
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
45
+ profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
43
46
  if g_param[OptionsDefine.Language]:
44
47
  profile.language = g_param[OptionsDefine.Language]
45
48
  mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
@@ -79,7 +82,10 @@ def doDescribeRegions(args, parsed_globals):
79
82
  g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
80
83
  g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
81
84
  )
82
- 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):
85
+ elif os.getenv(OptionsDefine.ENV_TKE_REGION) \
86
+ and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) \
87
+ and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) \
88
+ and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
83
89
  cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
84
90
  else:
85
91
  cred = credential.Credential(
@@ -91,7 +97,7 @@ def doDescribeRegions(args, parsed_globals):
91
97
  endpoint=g_param[OptionsDefine.Endpoint],
92
98
  proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
93
99
  )
94
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
100
+ profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
95
101
  if g_param[OptionsDefine.Language]:
96
102
  profile.language = g_param[OptionsDefine.Language]
97
103
  mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
@@ -131,7 +137,10 @@ def doDescribeZones(args, parsed_globals):
131
137
  g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
132
138
  g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
133
139
  )
134
- elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
140
+ elif os.getenv(OptionsDefine.ENV_TKE_REGION) \
141
+ and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) \
142
+ and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) \
143
+ and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
135
144
  cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
136
145
  else:
137
146
  cred = credential.Credential(
@@ -143,7 +152,7 @@ def doDescribeZones(args, parsed_globals):
143
152
  endpoint=g_param[OptionsDefine.Endpoint],
144
153
  proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
145
154
  )
146
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
155
+ profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
147
156
  if g_param[OptionsDefine.Language]:
148
157
  profile.language = g_param[OptionsDefine.Language]
149
158
  mod = CLIENT_MAP[g_param[OptionsDefine.Version]]