tccli 3.0.1142.1__py2.py3-none-any.whl → 3.0.1143.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.
- tccli/__init__.py +1 -1
 - tccli/services/aiart/aiart_client.py +53 -0
 - tccli/services/aiart/v20221229/api.json +108 -0
 - tccli/services/aiart/v20221229/examples.json +8 -0
 - tccli/services/clb/v20180317/api.json +37 -37
 - tccli/services/essbasic/v20210526/api.json +5 -7
 - tccli/services/redis/v20180412/api.json +29 -29
 - tccli/services/redis/v20180412/examples.json +1 -1
 - tccli/services/teo/v20220901/api.json +15 -7
 - tccli/services/tmt/v20180321/api.json +36 -0
 - tccli/services/tmt/v20180321/examples.json +6 -0
 - tccli/services/waf/v20180125/api.json +222 -174
 - tccli/services/waf/v20180125/examples.json +14 -14
 - {tccli-3.0.1142.1.dist-info → tccli-3.0.1143.1.dist-info}/METADATA +2 -2
 - {tccli-3.0.1142.1.dist-info → tccli-3.0.1143.1.dist-info}/RECORD +18 -18
 - {tccli-3.0.1142.1.dist-info → tccli-3.0.1143.1.dist-info}/WHEEL +0 -0
 - {tccli-3.0.1142.1.dist-info → tccli-3.0.1143.1.dist-info}/entry_points.txt +0 -0
 - {tccli-3.0.1142.1.dist-info → tccli-3.0.1143.1.dist-info}/license_files/LICENSE +0 -0
 
| 
         @@ -10413,7 +10413,7 @@ 
     | 
|
| 
       10413 
10413 
     | 
    
         
             
                  "usage": "both"
         
     | 
| 
       10414 
10414 
     | 
    
         
             
                },
         
     | 
| 
       10415 
10415 
     | 
    
         
             
                "IpTableRule": {
         
     | 
| 
       10416 
     | 
    
         
            -
                  "document": " 
     | 
| 
      
 10416 
     | 
    
         
            +
                  "document": "自定义规则-基础访问管控配置。",
         
     | 
| 
       10417 
10417 
     | 
    
         
             
                  "members": [
         
     | 
| 
       10418 
10418 
     | 
    
         
             
                    {
         
     | 
| 
       10419 
10419 
     | 
    
         
             
                      "disabled": false,
         
     | 
| 
         @@ -10421,29 +10421,32 @@ 
     | 
|
| 
       10421 
10421 
     | 
    
         
             
                      "example": "drop",
         
     | 
| 
       10422 
10422 
     | 
    
         
             
                      "member": "string",
         
     | 
| 
       10423 
10423 
     | 
    
         
             
                      "name": "Action",
         
     | 
| 
      
 10424 
     | 
    
         
            +
                      "output_required": true,
         
     | 
| 
       10424 
10425 
     | 
    
         
             
                      "required": true,
         
     | 
| 
       10425 
10426 
     | 
    
         
             
                      "type": "string",
         
     | 
| 
       10426 
10427 
     | 
    
         
             
                      "value_allowed_null": false
         
     | 
| 
       10427 
10428 
     | 
    
         
             
                    },
         
     | 
| 
       10428 
10429 
     | 
    
         
             
                    {
         
     | 
| 
       10429 
10430 
     | 
    
         
             
                      "disabled": false,
         
     | 
| 
       10430 
     | 
    
         
            -
                      "document": "根据类型匹配,取值有:\n<li>ip 
     | 
| 
      
 10431 
     | 
    
         
            +
                      "document": "根据类型匹配,取值有:\n<li>ip:客户端 IP 进行匹配;</li>\n<li>area:客户端 IP 所属地区匹配;</li>\n<li>asn:客户端所属的自治系统进行匹配;</li>\n<li>referer:请求头 Referer 进行匹配;</li>\n<li>ua:请求头 User-Agent 进行匹配;</li>\n<li>url:请求 URL 进行匹配。</li>",
         
     | 
| 
       10431 
10432 
     | 
    
         
             
                      "example": "ip",
         
     | 
| 
       10432 
10433 
     | 
    
         
             
                      "member": "string",
         
     | 
| 
       10433 
10434 
     | 
    
         
             
                      "name": "MatchFrom",
         
     | 
| 
      
 10435 
     | 
    
         
            +
                      "output_required": true,
         
     | 
| 
       10434 
10436 
     | 
    
         
             
                      "required": true,
         
     | 
| 
       10435 
10437 
     | 
    
         
             
                      "type": "string",
         
     | 
| 
       10436 
10438 
     | 
    
         
             
                      "value_allowed_null": false
         
     | 
| 
       10437 
10439 
     | 
    
         
             
                    },
         
     | 
| 
       10438 
10440 
     | 
    
         
             
                    {
         
     | 
| 
       10439 
10441 
     | 
    
         
             
                      "disabled": false,
         
     | 
| 
       10440 
     | 
    
         
            -
                      "document": " 
     | 
| 
      
 10442 
     | 
    
         
            +
                      "document": "规则的匹配方式。取值有:\n<li> match:匹配,适用于 MatchFrom 为 ip;</li>\n<li> not_match:不匹配,适用于 MatchFrom 为 ip;</li>\n<li> include_area:地域包含,适用于 MatchFrom 为 area;</li>\n<li> not_include_area:地域不包含,适用于 MatchFrom 为 area;</li>\n<li> asn_match:ASN 包含,适用于 MatchFrom 为 asn;</li>\n<li> asn_not_match:ASN 不包含,适用于 MatchFrom 为 asn;</li>\n<li> equal:等于,适用于 MatchFrom 为 ua , referer;</li>\n<li> not_equal:不等于,适用于 MatchFrom 为 ua , referer;</li>\n<li> include:通配符匹配,适用于 MatchFrom 为 ua , referer , url;</li>\n<li> not_include:通配符不匹配,适用于 MatchFrom 为 ua , referer;</li>\n<li> is_emty:配置内容为空,适用于 MatchFrom 为 ua , referer;</li>\n<li> not_exists:配置内容不存在,适用于 MatchFrom 为 ua , referer。</li>",
         
     | 
| 
       10441 
10443 
     | 
    
         
             
                      "example": "equal",
         
     | 
| 
       10442 
10444 
     | 
    
         
             
                      "member": "string",
         
     | 
| 
       10443 
10445 
     | 
    
         
             
                      "name": "Operator",
         
     | 
| 
      
 10446 
     | 
    
         
            +
                      "output_required": true,
         
     | 
| 
       10444 
10447 
     | 
    
         
             
                      "required": false,
         
     | 
| 
       10445 
10448 
     | 
    
         
             
                      "type": "string",
         
     | 
| 
       10446 
     | 
    
         
            -
                      "value_allowed_null":  
     | 
| 
      
 10449 
     | 
    
         
            +
                      "value_allowed_null": false
         
     | 
| 
       10447 
10450 
     | 
    
         
             
                    },
         
     | 
| 
       10448 
10451 
     | 
    
         
             
                    {
         
     | 
| 
       10449 
10452 
     | 
    
         
             
                      "disabled": false,
         
     | 
| 
         @@ -10451,6 +10454,7 @@ 
     | 
|
| 
       10451 
10454 
     | 
    
         
             
                      "example": "0",
         
     | 
| 
       10452 
10455 
     | 
    
         
             
                      "member": "int64",
         
     | 
| 
       10453 
10456 
     | 
    
         
             
                      "name": "RuleID",
         
     | 
| 
      
 10457 
     | 
    
         
            +
                      "output_required": true,
         
     | 
| 
       10454 
10458 
     | 
    
         
             
                      "required": false,
         
     | 
| 
       10455 
10459 
     | 
    
         
             
                      "type": "int",
         
     | 
| 
       10456 
10460 
     | 
    
         
             
                      "value_allowed_null": false
         
     | 
| 
         @@ -10461,19 +10465,21 @@ 
     | 
|
| 
       10461 
10465 
     | 
    
         
             
                      "example": "无",
         
     | 
| 
       10462 
10466 
     | 
    
         
             
                      "member": "datetime_iso",
         
     | 
| 
       10463 
10467 
     | 
    
         
             
                      "name": "UpdateTime",
         
     | 
| 
      
 10468 
     | 
    
         
            +
                      "output_required": true,
         
     | 
| 
       10464 
10469 
     | 
    
         
             
                      "required": false,
         
     | 
| 
       10465 
10470 
     | 
    
         
             
                      "type": "string",
         
     | 
| 
       10466 
10471 
     | 
    
         
             
                      "value_allowed_null": false
         
     | 
| 
       10467 
10472 
     | 
    
         
             
                    },
         
     | 
| 
       10468 
10473 
     | 
    
         
             
                    {
         
     | 
| 
       10469 
10474 
     | 
    
         
             
                      "disabled": false,
         
     | 
| 
       10470 
     | 
    
         
            -
                      "document": " 
     | 
| 
      
 10475 
     | 
    
         
            +
                      "document": "规则启用状态。取值有:\n<li> on:启用;</li>\n<li> off:未启用。</li>\n当入参缺省时,按 on 取值。",
         
     | 
| 
       10471 
10476 
     | 
    
         
             
                      "example": "on",
         
     | 
| 
       10472 
10477 
     | 
    
         
             
                      "member": "string",
         
     | 
| 
       10473 
10478 
     | 
    
         
             
                      "name": "Status",
         
     | 
| 
      
 10479 
     | 
    
         
            +
                      "output_required": true,
         
     | 
| 
       10474 
10480 
     | 
    
         
             
                      "required": false,
         
     | 
| 
       10475 
10481 
     | 
    
         
             
                      "type": "string",
         
     | 
| 
       10476 
     | 
    
         
            -
                      "value_allowed_null":  
     | 
| 
      
 10482 
     | 
    
         
            +
                      "value_allowed_null": false
         
     | 
| 
       10477 
10483 
     | 
    
         
             
                    },
         
     | 
| 
       10478 
10484 
     | 
    
         
             
                    {
         
     | 
| 
       10479 
10485 
     | 
    
         
             
                      "disabled": false,
         
     | 
| 
         @@ -10481,16 +10487,18 @@ 
     | 
|
| 
       10481 
10487 
     | 
    
         
             
                      "example": "rule1",
         
     | 
| 
       10482 
10488 
     | 
    
         
             
                      "member": "string",
         
     | 
| 
       10483 
10489 
     | 
    
         
             
                      "name": "RuleName",
         
     | 
| 
      
 10490 
     | 
    
         
            +
                      "output_required": true,
         
     | 
| 
       10484 
10491 
     | 
    
         
             
                      "required": false,
         
     | 
| 
       10485 
10492 
     | 
    
         
             
                      "type": "string",
         
     | 
| 
       10486 
10493 
     | 
    
         
             
                      "value_allowed_null": true
         
     | 
| 
       10487 
10494 
     | 
    
         
             
                    },
         
     | 
| 
       10488 
10495 
     | 
    
         
             
                    {
         
     | 
| 
       10489 
10496 
     | 
    
         
             
                      "disabled": false,
         
     | 
| 
       10490 
     | 
    
         
            -
                      "document": " 
     | 
| 
      
 10497 
     | 
    
         
            +
                      "document": "匹配内容。支持多值输入。\n<li>当输入多个匹配值时,请使用英文逗号分隔;</li>\n<li>当 MatchFrom 为 ua 时,不支持多值输入;</li>\n<li>当 Operator 为 is_empty 或 not_exists 时,本字段入参值无效。</li>",
         
     | 
| 
       10491 
10498 
     | 
    
         
             
                      "example": "1.1.1.1",
         
     | 
| 
       10492 
10499 
     | 
    
         
             
                      "member": "string",
         
     | 
| 
       10493 
10500 
     | 
    
         
             
                      "name": "MatchContent",
         
     | 
| 
      
 10501 
     | 
    
         
            +
                      "output_required": true,
         
     | 
| 
       10494 
10502 
     | 
    
         
             
                      "required": false,
         
     | 
| 
       10495 
10503 
     | 
    
         
             
                      "type": "string",
         
     | 
| 
       10496 
10504 
     | 
    
         
             
                      "value_allowed_null": false
         
     | 
| 
         @@ -732,6 +732,24 @@ 
     | 
|
| 
       732 
732 
     | 
    
         
             
                      "name": "SourceTextList",
         
     | 
| 
       733 
733 
     | 
    
         
             
                      "required": true,
         
     | 
| 
       734 
734 
     | 
    
         
             
                      "type": "list"
         
     | 
| 
      
 735 
     | 
    
         
            +
                    },
         
     | 
| 
      
 736 
     | 
    
         
            +
                    {
         
     | 
| 
      
 737 
     | 
    
         
            +
                      "disabled": false,
         
     | 
| 
      
 738 
     | 
    
         
            +
                      "document": "需要使用的术语库列表",
         
     | 
| 
      
 739 
     | 
    
         
            +
                      "example": "[\"144aed8218c911eb97b88eb0fc7321d4\"]",
         
     | 
| 
      
 740 
     | 
    
         
            +
                      "member": "string",
         
     | 
| 
      
 741 
     | 
    
         
            +
                      "name": "TermRepoIDList",
         
     | 
| 
      
 742 
     | 
    
         
            +
                      "required": false,
         
     | 
| 
      
 743 
     | 
    
         
            +
                      "type": "list"
         
     | 
| 
      
 744 
     | 
    
         
            +
                    },
         
     | 
| 
      
 745 
     | 
    
         
            +
                    {
         
     | 
| 
      
 746 
     | 
    
         
            +
                      "disabled": false,
         
     | 
| 
      
 747 
     | 
    
         
            +
                      "document": "需要使用的例句库列表",
         
     | 
| 
      
 748 
     | 
    
         
            +
                      "example": "[\"b77f64e518ec11ebb2aabf416d88df30\"]",
         
     | 
| 
      
 749 
     | 
    
         
            +
                      "member": "string",
         
     | 
| 
      
 750 
     | 
    
         
            +
                      "name": "SentRepoIDList",
         
     | 
| 
      
 751 
     | 
    
         
            +
                      "required": false,
         
     | 
| 
      
 752 
     | 
    
         
            +
                      "type": "list"
         
     | 
| 
       735 
753 
     | 
    
         
             
                    }
         
     | 
| 
       736 
754 
     | 
    
         
             
                  ],
         
     | 
| 
       737 
755 
     | 
    
         
             
                  "type": "object"
         
     | 
| 
         @@ -825,6 +843,24 @@ 
     | 
|
| 
       825 
843 
     | 
    
         
             
                      "name": "UntranslatedText",
         
     | 
| 
       826 
844 
     | 
    
         
             
                      "required": false,
         
     | 
| 
       827 
845 
     | 
    
         
             
                      "type": "string"
         
     | 
| 
      
 846 
     | 
    
         
            +
                    },
         
     | 
| 
      
 847 
     | 
    
         
            +
                    {
         
     | 
| 
      
 848 
     | 
    
         
            +
                      "disabled": false,
         
     | 
| 
      
 849 
     | 
    
         
            +
                      "document": "需要使用的术语库列表",
         
     | 
| 
      
 850 
     | 
    
         
            +
                      "example": "[\"144aed8218c911eb97b88eb0fc7321d4\"]",
         
     | 
| 
      
 851 
     | 
    
         
            +
                      "member": "string",
         
     | 
| 
      
 852 
     | 
    
         
            +
                      "name": "TermRepoIDList",
         
     | 
| 
      
 853 
     | 
    
         
            +
                      "required": false,
         
     | 
| 
      
 854 
     | 
    
         
            +
                      "type": "list"
         
     | 
| 
      
 855 
     | 
    
         
            +
                    },
         
     | 
| 
      
 856 
     | 
    
         
            +
                    {
         
     | 
| 
      
 857 
     | 
    
         
            +
                      "disabled": false,
         
     | 
| 
      
 858 
     | 
    
         
            +
                      "document": "需要使用的例句库列表",
         
     | 
| 
      
 859 
     | 
    
         
            +
                      "example": "[\"b77f64e518ec11ebb2aabf416d88df30\"]",
         
     | 
| 
      
 860 
     | 
    
         
            +
                      "member": "string",
         
     | 
| 
      
 861 
     | 
    
         
            +
                      "name": "SentRepoIDList",
         
     | 
| 
      
 862 
     | 
    
         
            +
                      "required": false,
         
     | 
| 
      
 863 
     | 
    
         
            +
                      "type": "list"
         
     | 
| 
       828 
864 
     | 
    
         
             
                    }
         
     | 
| 
       829 
865 
     | 
    
         
             
                  ],
         
     | 
| 
       830 
866 
     | 
    
         
             
                  "type": "object"
         
     | 
| 
         @@ -54,6 +54,12 @@ 
     | 
|
| 
       54 
54 
     | 
    
         
             
                    "input": "POST / HTTP/1.1\nHost: tmt.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: TextTranslateBatch\n<公共请求参数>\n\n{\n    \"SourceTextList\": [\n        \"你好\",\n        \"今天天气怎么样\"\n    ],\n    \"Source\": \"zh\",\n    \"Target\": \"en\",\n    \"ProjectId\": 0\n}",
         
     | 
| 
       55 
55 
     | 
    
         
             
                    "output": "{\n    \"Response\": {\n        \"RequestId\": \"beb15bd7-29aa-4f0f-9a80-574d6fc3733f\",\n        \"Source\": \"zh\",\n        \"Target\": \"en\",\n        \"TargetTextList\": [\n            \"Hello.\",\n            \"What's the weather like today?\"\n        ]\n    }\n}",
         
     | 
| 
       56 
56 
     | 
    
         
             
                    "title": "批量文本翻译调用示例"
         
     | 
| 
      
 57 
     | 
    
         
            +
                  },
         
     | 
| 
      
 58 
     | 
    
         
            +
                  {
         
     | 
| 
      
 59 
     | 
    
         
            +
                    "document": "带术语库例句库",
         
     | 
| 
      
 60 
     | 
    
         
            +
                    "input": "POST / HTTP/1.1\nHost: tmt.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: TextTranslateBatch\n<公共请求参数>\n\n{\n    \"Source\": \"auto\",\n    \"Target\": \"en\",\n    \"ProjectId\": 0,\n    \"SourceTextList\": [\n        \"你好啊\",\n        \"这是你的苹果\"\n    ],\n    \"TermRepoIDList\": [\n        \"753899732b0611efbb47037fdf41da5a\"\n    ],\n    \"SentRepoIDList\": [\n        \"\"\n    ]\n}",
         
     | 
| 
      
 61 
     | 
    
         
            +
                    "output": "{\n    \"Response\": {\n        \"RequestId\": \"abf2a2a1-a0da-4d7d-b539-cc34322b78a4\",\n        \"Source\": \"zh\",\n        \"Target\": \"en\",\n        \"TargetTextList\": [\n            \"What's up man!\",\n            \"This is your apple\"\n        ]\n    }\n}",
         
     | 
| 
      
 62 
     | 
    
         
            +
                    "title": "批量文本翻译示例"
         
     | 
| 
       57 
63 
     | 
    
         
             
                  }
         
     | 
| 
       58 
64 
     | 
    
         
             
                ]
         
     | 
| 
       59 
65 
     | 
    
         
             
              },
         
     |