tccli 3.0.1212.1__py2.py3-none-any.whl → 3.0.1213.1__py2.py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/captcha/v20190722/api.json +13 -3
  3. tccli/services/cdb/v20170320/api.json +9 -0
  4. tccli/services/cfw/v20190904/api.json +68 -64
  5. tccli/services/cfw/v20190904/examples.json +22 -22
  6. tccli/services/cvm/v20170312/api.json +1 -1
  7. tccli/services/cwp/v20180228/api.json +144 -112
  8. tccli/services/cwp/v20180228/examples.json +55 -55
  9. tccli/services/cynosdb/v20190107/api.json +51 -40
  10. tccli/services/cynosdb/v20190107/examples.json +2 -2
  11. tccli/services/dbbrain/v20210527/api.json +2 -2
  12. tccli/services/dbbrain/v20210527/examples.json +1 -1
  13. tccli/services/ecdn/v20191012/api.json +2 -2
  14. tccli/services/ecdn/v20191012/examples.json +1 -1
  15. tccli/services/emr/v20190103/api.json +2 -2
  16. tccli/services/emr/v20190103/examples.json +1 -1
  17. tccli/services/ess/v20201111/api.json +19 -1
  18. tccli/services/ess/v20201111/examples.json +6 -0
  19. tccli/services/essbasic/v20210526/api.json +18 -0
  20. tccli/services/essbasic/v20210526/examples.json +6 -0
  21. tccli/services/hunyuan/v20230901/api.json +1 -1
  22. tccli/services/lcic/v20220817/api.json +1 -1
  23. tccli/services/lcic/v20220817/examples.json +2 -2
  24. tccli/services/lighthouse/v20200324/api.json +6 -6
  25. tccli/services/lighthouse/v20200324/examples.json +1 -1
  26. tccli/services/monitor/v20180724/api.json +19 -0
  27. tccli/services/mqtt/v20240516/api.json +3 -3
  28. tccli/services/rce/v20201103/api.json +10 -10
  29. tccli/services/rce/v20201103/examples.json +1 -1
  30. tccli/services/ses/v20201002/api.json +21 -21
  31. tccli/services/sms/v20190711/api.json +74 -74
  32. tccli/services/sms/v20190711/examples.json +12 -12
  33. tccli/services/sms/v20210111/api.json +73 -73
  34. tccli/services/sms/v20210111/examples.json +15 -15
  35. tccli/services/taf/v20200210/api.json +38 -1
  36. tccli/services/taf/v20200210/examples.json +1 -1
  37. tccli/services/tdmq/tdmq_client.py +53 -0
  38. tccli/services/tdmq/v20200217/api.json +180 -66
  39. tccli/services/tdmq/v20200217/examples.json +20 -12
  40. tccli/services/trocket/v20230308/api.json +353 -274
  41. tccli/services/trocket/v20230308/examples.json +58 -64
  42. tccli/services/vpc/v20170312/api.json +9 -9
  43. tccli/services/waf/v20180125/api.json +83 -1
  44. tccli/services/waf/v20180125/examples.json +9 -1
  45. tccli/services/waf/waf_client.py +57 -4
  46. tccli/services/wedata/v20210820/api.json +390 -0
  47. tccli/services/wedata/v20210820/examples.json +14 -0
  48. tccli/services/wedata/wedata_client.py +57 -4
  49. {tccli-3.0.1212.1.dist-info → tccli-3.0.1213.1.dist-info}/METADATA +2 -2
  50. {tccli-3.0.1212.1.dist-info → tccli-3.0.1213.1.dist-info}/RECORD +53 -53
  51. {tccli-3.0.1212.1.dist-info → tccli-3.0.1213.1.dist-info}/WHEEL +0 -0
  52. {tccli-3.0.1212.1.dist-info → tccli-3.0.1213.1.dist-info}/entry_points.txt +0 -0
  53. {tccli-3.0.1212.1.dist-info → tccli-3.0.1213.1.dist-info}/license_files/LICENSE +0 -0
@@ -19,7 +19,7 @@
19
19
  "CallbackStatusStatistics": [
20
20
  {
21
21
  "document": "",
22
- "input": "POST / HTTP/1.1\nHost: sms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CallbackStatusStatistics\n<公共请求参数>\n\n{\n \"SmsSdkAppId\": \"1400006874\",\n \"EndTime\": \"2021050123\",\n \"Limit\": 0,\n \"BeginTime\": \"2021050113\",\n \"Offset\": 0\n}",
22
+ "input": "POST / HTTP/1.1\nHost: sms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CallbackStatusStatistics\n<公共请求参数>\n\n{\n \"SmsSdkAppId\": \"1400006666\",\n \"EndTime\": \"2021050123\",\n \"Limit\": 0,\n \"BeginTime\": \"2021050113\",\n \"Offset\": 0\n}",
23
23
  "output": "{\n \"Response\": {\n \"CallbackStatusStatistics\": {\n \"CallbackCount\": 1745,\n \"RequestSuccessCount\": 1880,\n \"CallbackFailCount\": 401,\n \"CallbackSuccessCount\": 1344,\n \"InternalErrorCount\": 0,\n \"InvalidNumberCount\": 0,\n \"ShutdownErrorCount\": 401,\n \"BlackListCount\": 0,\n \"FrequencyLimitCount\": 0\n },\n \"RequestId\": \"3314836f-0b10-45cb-b7be-593e84c1c197\"\n }\n}",
24
24
  "title": "请求示例"
25
25
  }
@@ -43,8 +43,8 @@
43
43
  "DescribePhoneNumberInfo": [
44
44
  {
45
45
  "document": "",
46
- "input": "POST / HTTP/1.1\nHost: sms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePhoneNumberInfo\n<公共请求参数>\n\n{\n \"PhoneNumberSet\": [\n \"+8618511122266\",\n \"+8618511122233\"\n ]\n}",
47
- "output": "{\n \"Response\": {\n \"PhoneNumberInfoSet\": [\n {\n \"SubscriberNumber\": \"18511122266\",\n \"Message\": \"Describe success\",\n \"Code\": \"Ok\",\n \"PhoneNumber\": \"+8618511122266\",\n \"IsoCode\": \"CN\",\n \"IsoName\": \"China\",\n \"NationCode\": \"86\"\n },\n {\n \"SubscriberNumber\": \"18511122233\",\n \"Message\": \"Describe success\",\n \"Code\": \"Ok\",\n \"PhoneNumber\": \"+8618511122233\",\n \"IsoCode\": \"CN\",\n \"IsoName\": \"China\",\n \"NationCode\": \"86\"\n }\n ],\n \"RequestId\": \"a0aabda6-cf91-4f3e-a81f-9198114a2279\"\n }\n}",
46
+ "input": "POST / HTTP/1.1\nHost: sms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePhoneNumberInfo\n<公共请求参数>\n\n{\n \"PhoneNumberSet\": [\n \"+8618501234444\",\n \"+8618501234445\"\n ]\n}",
47
+ "output": "{\n \"Response\": {\n \"PhoneNumberInfoSet\": [\n {\n \"SubscriberNumber\": \"18501234444\",\n \"Message\": \"Describe success\",\n \"Code\": \"Ok\",\n \"PhoneNumber\": \"+8618501234444\",\n \"IsoCode\": \"CN\",\n \"IsoName\": \"China\",\n \"NationCode\": \"86\"\n },\n {\n \"SubscriberNumber\": \"18501234445\",\n \"Message\": \"Describe success\",\n \"Code\": \"Ok\",\n \"PhoneNumber\": \"+8618501234445\",\n \"IsoCode\": \"CN\",\n \"IsoName\": \"China\",\n \"NationCode\": \"86\"\n }\n ],\n \"RequestId\": \"a0aabda6-cf91-4f3e-a81f-9198114a2279\"\n }\n}",
48
48
  "title": "请求示例"
49
49
  }
50
50
  ],
@@ -83,32 +83,32 @@
83
83
  "PullSmsReplyStatus": [
84
84
  {
85
85
  "document": "",
86
- "input": "POST / HTTP/1.1\nHost: sms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: PullSmsReplyStatus\n<公共请求参数>\n\n{\n \"SmsSdkAppId\": \"1400006874\",\n \"Limit\": 100\n}",
87
- "output": "{\n \"Response\": {\n \"RequestId\": \"a0aabda6-cf91-4f3e-a81f-9198114a2279\",\n \"PullSmsReplyStatusSet\": [\n {\n \"CountryCode\": \"86\",\n \"ReplyContent\": \"1\",\n \"SubscriberNumber\": \"15291990000\",\n \"ExtendCode\": \"11\",\n \"ReplyTime\": 1620734188,\n \"PhoneNumber\": \"+8615291990000\",\n \"SignName\": \"腾讯云\"\n },\n {\n \"CountryCode\": \"86\",\n \"ReplyContent\": \"2\",\n \"SubscriberNumber\": \"15291990001\",\n \"ExtendCode\": \"11\",\n \"ReplyTime\": 1620734189,\n \"PhoneNumber\": \"+8615291990001\",\n \"SignName\": \"腾讯云\"\n }\n ]\n }\n}",
86
+ "input": "POST / HTTP/1.1\nHost: sms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: PullSmsReplyStatus\n<公共请求参数>\n\n{\n \"SmsSdkAppId\": \"1400006666\",\n \"Limit\": 100\n}",
87
+ "output": "{\n \"Response\": {\n \"RequestId\": \"a0aabda6-cf91-4f3e-a81f-9198114a2279\",\n \"PullSmsReplyStatusSet\": [\n {\n \"CountryCode\": \"86\",\n \"ReplyContent\": \"1\",\n \"SubscriberNumber\": \"18501234444\",\n \"ExtendCode\": \"11\",\n \"ReplyTime\": 1620734188,\n \"PhoneNumber\": \"+8618501234444\",\n \"SignName\": \"腾讯云\"\n },\n {\n \"CountryCode\": \"86\",\n \"ReplyContent\": \"2\",\n \"SubscriberNumber\": \"18501234444\",\n \"ExtendCode\": \"11\",\n \"ReplyTime\": 1620734189,\n \"PhoneNumber\": \"+8618501234444\",\n \"SignName\": \"腾讯云\"\n }\n ]\n }\n}",
88
88
  "title": "请求示例"
89
89
  }
90
90
  ],
91
91
  "PullSmsReplyStatusByPhoneNumber": [
92
92
  {
93
93
  "document": "",
94
- "input": "POST / HTTP/1.1\nHost: sms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: PullSmsReplyStatusByPhoneNumber\n<公共请求参数>\n\n{\n \"SmsSdkAppId\": \"1400006666\",\n \"PhoneNumber\": \"+8615291996666\",\n \"BeginTime\": 1620734100,\n \"Offset\": 0,\n \"Limit\": 2,\n \"EndTime\": 1620734200\n}",
95
- "output": "{\n \"Response\": {\n \"RequestId\": \"a0aabda6-cf91-4f3e-a81f-9198114a2279\",\n \"PullSmsReplyStatusSet\": [\n {\n \"CountryCode\": \"86\",\n \"ReplyContent\": \"1\",\n \"SubscriberNumber\": \"15291996666\",\n \"ExtendCode\": \"11\",\n \"ReplyTime\": 1620734188,\n \"PhoneNumber\": \"+8615291996666\",\n \"SignName\": \"腾讯云\"\n },\n {\n \"CountryCode\": \"86\",\n \"ReplyContent\": \"2\",\n \"SubscriberNumber\": \"15291996666\",\n \"ExtendCode\": \"11\",\n \"ReplyTime\": 1620734189,\n \"PhoneNumber\": \"+8615291996666\",\n \"SignName\": \"腾讯云\"\n }\n ]\n }\n}",
94
+ "input": "POST / HTTP/1.1\nHost: sms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: PullSmsReplyStatusByPhoneNumber\n<公共请求参数>\n\n{\n \"SmsSdkAppId\": \"1400006666\",\n \"PhoneNumber\": \"+8618501234444\",\n \"BeginTime\": 1620734100,\n \"Offset\": 0,\n \"Limit\": 2,\n \"EndTime\": 1620734200\n}",
95
+ "output": "{\n \"Response\": {\n \"RequestId\": \"a0aabda6-cf91-4f3e-a81f-9198114a2279\",\n \"PullSmsReplyStatusSet\": [\n {\n \"CountryCode\": \"86\",\n \"ReplyContent\": \"1\",\n \"SubscriberNumber\": \"18501234444\",\n \"ExtendCode\": \"11\",\n \"ReplyTime\": 1620734188,\n \"PhoneNumber\": \"+8618501234444\",\n \"SignName\": \"腾讯云\"\n },\n {\n \"CountryCode\": \"86\",\n \"ReplyContent\": \"2\",\n \"SubscriberNumber\": \"18501234444\",\n \"ExtendCode\": \"11\",\n \"ReplyTime\": 1620734189,\n \"PhoneNumber\": \"+8618501234444\",\n \"SignName\": \"腾讯云\"\n }\n ]\n }\n}",
96
96
  "title": "请求示例"
97
97
  }
98
98
  ],
99
99
  "PullSmsSendStatus": [
100
100
  {
101
101
  "document": "",
102
- "input": "POST / HTTP/1.1\nHost: sms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: PullSmsSendStatus\n<公共请求参数>\n\n{\n \"SmsSdkAppId\": \"1400006874\",\n \"Limit\": 100\n}",
103
- "output": "{\n \"Response\": {\n \"PullSmsSendStatusSet\": [\n {\n \"Description\": \"DELIVRD\",\n \"CountryCode\": \"86\",\n \"SubscriberNumber\": \"15291990000\",\n \"ReportStatus\": \"SUCCESS\",\n \"PhoneNumber\": \"+8615291990000\",\n \"SerialNo\": \"14:19325917feb3914eb78b50d6182d7e452e\",\n \"UserReceiveTime\": 1620734188,\n \"SessionContext\": \"\"\n },\n {\n \"Description\": \"DELIVRD\",\n \"CountryCode\": \"86\",\n \"SubscriberNumber\": \"15291990001\",\n \"ReportStatus\": \"SUCCESS\",\n \"PhoneNumber\": \"+8615291990001\",\n \"SerialNo\": \"14:19325917feb3914eb78b50d6182d7e462f\",\n \"UserReceiveTime\": 1620734188,\n \"SessionContext\": \"\"\n }\n ],\n \"RequestId\": \"8979fc1e-9564-4fc9-bf7d-2958ce679b72\"\n }\n}",
102
+ "input": "POST / HTTP/1.1\nHost: sms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: PullSmsSendStatus\n<公共请求参数>\n\n{\n \"SmsSdkAppId\": \"1400006666\",\n \"Limit\": 100\n}",
103
+ "output": "{\n \"Response\": {\n \"PullSmsSendStatusSet\": [\n {\n \"Description\": \"DELIVRD\",\n \"CountryCode\": \"86\",\n \"SubscriberNumber\": \"18501234444\",\n \"ReportStatus\": \"SUCCESS\",\n \"PhoneNumber\": \"+8618501234444\",\n \"SerialNo\": \"5000:1045710669157053657849499619\",\n \"UserReceiveTime\": 1620734188,\n \"SessionContext\": \"\"\n },\n {\n \"Description\": \"DELIVRD\",\n \"CountryCode\": \"86\",\n \"SubscriberNumber\": \"18501234445\",\n \"ReportStatus\": \"SUCCESS\",\n \"PhoneNumber\": \"+8618501234445\",\n \"SerialNo\": \"5000:1045710669157053657849499718\",\n \"UserReceiveTime\": 1620734188,\n \"SessionContext\": \"\"\n }\n ],\n \"RequestId\": \"8979fc1e-9564-4fc9-bf7d-2958ce679b72\"\n }\n}",
104
104
  "title": "请求示例"
105
105
  }
106
106
  ],
107
107
  "PullSmsSendStatusByPhoneNumber": [
108
108
  {
109
109
  "document": "",
110
- "input": "POST / HTTP/1.1\nHost: sms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: PullSmsSendStatusByPhoneNumber\n<公共请求参数>\n\n{\n \"SmsSdkAppId\": \"1400006666\",\n \"PhoneNumber\": \"+8615291996666\",\n \"BeginTime\": 1620734100,\n \"Offset\": 0,\n \"Limit\": 2,\n \"EndTime\": 1620734200\n}",
111
- "output": "{\n \"Response\": {\n \"PullSmsSendStatusSet\": [\n {\n \"Description\": \"DELIVRD\",\n \"CountryCode\": \"86\",\n \"SubscriberNumber\": \"15291996666\",\n \"ReportStatus\": \"SUCCESS\",\n \"PhoneNumber\": \"+8615291996666\",\n \"SerialNo\": \"14:19325917feb3914eb78b50d6182d7e452e\",\n \"UserReceiveTime\": 1620734188,\n \"SessionContext\": \"\"\n },\n {\n \"Description\": \"DELIVRD\",\n \"CountryCode\": \"86\",\n \"SubscriberNumber\": \"15291996666\",\n \"ReportStatus\": \"SUCCESS\",\n \"PhoneNumber\": \"+8615291996666\",\n \"SerialNo\": \"14:19325917feb3914eb78b50d6182d7e456f\",\n \"UserReceiveTime\": 1620734188,\n \"SessionContext\": \"\"\n }\n ],\n \"RequestId\": \"8979fc1e-9564-4fc9-bf7d-2958ce679b72\"\n }\n}",
110
+ "input": "POST / HTTP/1.1\nHost: sms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: PullSmsSendStatusByPhoneNumber\n<公共请求参数>\n\n{\n \"SmsSdkAppId\": \"1400006666\",\n \"PhoneNumber\": \"+8618501234444\",\n \"BeginTime\": 1620734100,\n \"Offset\": 0,\n \"Limit\": 2,\n \"EndTime\": 1620734200\n}",
111
+ "output": "{\n \"Response\": {\n \"PullSmsSendStatusSet\": [\n {\n \"Description\": \"DELIVRD\",\n \"CountryCode\": \"86\",\n \"SubscriberNumber\": \"18501234444\",\n \"ReportStatus\": \"SUCCESS\",\n \"PhoneNumber\": \"+8618501234444\",\n \"SerialNo\": \"5000:1045710669157053657849499619\",\n \"UserReceiveTime\": 1620734188,\n \"SessionContext\": \"\"\n },\n {\n \"Description\": \"DELIVRD\",\n \"CountryCode\": \"86\",\n \"SubscriberNumber\": \"18501234444\",\n \"ReportStatus\": \"SUCCESS\",\n \"PhoneNumber\": \"+8618501234444\",\n \"SerialNo\": \"5000:1045710669157053657849498556\",\n \"UserReceiveTime\": 1620734188,\n \"SessionContext\": \"\"\n }\n ],\n \"RequestId\": \"8979fc1e-9564-4fc9-bf7d-2958ce679b72\"\n }\n}",
112
112
  "title": "请求示例"
113
113
  }
114
114
  ],
@@ -123,15 +123,15 @@
123
123
  "SendSms": [
124
124
  {
125
125
  "document": "",
126
- "input": "POST / HTTP/1.1\nHost: sms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SendSms\n<公共请求参数>\n\n{\n \"PhoneNumberSet\": [\n \"+8618511122233\",\n \"+8618511122266\"\n ],\n \"SmsSdkAppId\": \"1400006666\",\n \"SignName\": \"腾讯云\",\n \"TemplateId\": \"1110\",\n \"TemplateParamSet\": [\n \"1234\"\n ],\n \"SessionContext\": \"test\"\n}",
127
- "output": "{\n \"Response\": {\n \"SendStatusSet\": [\n {\n \"SerialNo\": \"5000:1045710669157053657849499619\",\n \"PhoneNumber\": \"+8618511122233\",\n \"Fee\": 1,\n \"SessionContext\": \"test\",\n \"Code\": \"Ok\",\n \"Message\": \"send success\",\n \"IsoCode\": \"CN\"\n },\n {\n \"SerialNo\": \"5000:1045710669157053657849499718\",\n \"PhoneNumber\": \"+8618511122266\",\n \"Fee\": 1,\n \"SessionContext\": \"test\",\n \"Code\": \"Ok\",\n \"Message\": \"send success\",\n \"IsoCode\": \"CN\"\n }\n ],\n \"RequestId\": \"a0aabda6-cf91-4f3e-a81f-9198114a2279\"\n }\n}",
126
+ "input": "POST / HTTP/1.1\nHost: sms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SendSms\n<公共请求参数>\n\n{\n \"PhoneNumberSet\": [\n \"+8618501234444\",\n \"+8618501234445\"\n ],\n \"SmsSdkAppId\": \"1400006666\",\n \"SignName\": \"腾讯云\",\n \"TemplateId\": \"1110\",\n \"TemplateParamSet\": [\n \"4370\"\n ],\n \"SessionContext\": \"outsid_1729495320_1011\"\n}",
127
+ "output": "{\n \"Response\": {\n \"SendStatusSet\": [\n {\n \"SerialNo\": \"5000:1045710669157053657849499619\",\n \"PhoneNumber\": \"+8618501234444\",\n \"Fee\": 1,\n \"SessionContext\": \"outsid_1729495320_1011\",\n \"Code\": \"Ok\",\n \"Message\": \"send success\",\n \"IsoCode\": \"CN\"\n },\n {\n \"SerialNo\": \"5000:1045710669157053657849499718\",\n \"PhoneNumber\": \"+8618501234445\",\n \"Fee\": 1,\n \"SessionContext\": \"outsid_1729495320_1011\",\n \"Code\": \"Ok\",\n \"Message\": \"send success\",\n \"IsoCode\": \"CN\"\n }\n ],\n \"RequestId\": \"a0aabda6-cf91-4f3e-a81f-9198114a2279\"\n }\n}",
128
128
  "title": "请求示例"
129
129
  }
130
130
  ],
131
131
  "SendStatusStatistics": [
132
132
  {
133
133
  "document": "",
134
- "input": "POST / HTTP/1.1\nHost: sms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SendStatusStatistics\n<公共请求参数>\n\n{\n \"SmsSdkAppId\": \"1400006874\",\n \"EndTime\": \"2021050123\",\n \"Limit\": 0,\n \"BeginTime\": \"2021050113\",\n \"Offset\": 0\n}",
134
+ "input": "POST / HTTP/1.1\nHost: sms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SendStatusStatistics\n<公共请求参数>\n\n{\n \"SmsSdkAppId\": \"1400006666\",\n \"EndTime\": \"2021050123\",\n \"Limit\": 0,\n \"BeginTime\": \"2021050113\",\n \"Offset\": 0\n}",
135
135
  "output": "{\n \"Response\": {\n \"SendStatusStatistics\": {\n \"FeeCount\": 1880,\n \"RequestCount\": 1880,\n \"RequestSuccessCount\": 1880\n },\n \"RequestId\": \"f36e4f00-605e-49b1-ad0d-bfaba81c7325\"\n }\n}",
136
136
  "title": "请求示例"
137
137
  }
@@ -139,7 +139,7 @@
139
139
  "SmsPackagesStatistics": [
140
140
  {
141
141
  "document": "",
142
- "input": "POST / HTTP/1.1\nHost: sms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SmsPackagesStatistics\n<公共请求参数>\n\n{\n \"SmsSdkAppId\": \"1400006874\",\n \"EndTime\": \"2021043023\",\n \"Limit\": 2,\n \"BeginTime\": \"2021040113\",\n \"Offset\": 0\n}",
142
+ "input": "POST / HTTP/1.1\nHost: sms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SmsPackagesStatistics\n<公共请求参数>\n\n{\n \"SmsSdkAppId\": \"1400006666\",\n \"EndTime\": \"2021043023\",\n \"Limit\": 2,\n \"BeginTime\": \"2021040113\",\n \"Offset\": 0\n}",
143
143
  "output": "{\n \"Response\": {\n \"SmsPackagesStatisticsSet\": [\n {\n \"PackageCreateTime\": 1617292800,\n \"PackageExpiredTime\": 1617292800,\n \"PackageEffectiveTime\": 1619884800,\n \"PackageType\": 1,\n \"CurrentUsage\": 1000,\n \"PackageId\": 1000791745,\n \"PackageAmount\": 1000\n },\n {\n \"PackageCreateTime\": 1617379200,\n \"PackageExpiredTime\": 1617379200,\n \"PackageEffectiveTime\": 1619971200,\n \"PackageType\": 1,\n \"CurrentUsage\": 100,\n \"PackageId\": 1000876572,\n \"PackageAmount\": 1000\n }\n ],\n \"RequestId\": \"3314836f-0b10-45cb-b7be-593e84c1c197\"\n }\n}",
144
144
  "title": "请求示例"
145
145
  }
@@ -64,7 +64,44 @@
64
64
  },
65
65
  "InputBusinessEncryptData": {
66
66
  "document": "业务入参",
67
- "members": [],
67
+ "members": [
68
+ {
69
+ "disabled": false,
70
+ "document": "加密方式;0:AES;1:DES",
71
+ "example": "1",
72
+ "member": "uint64",
73
+ "name": "EncryptMethod",
74
+ "required": true,
75
+ "type": "int"
76
+ },
77
+ {
78
+ "disabled": false,
79
+ "document": "业务数据加密字符串",
80
+ "example": "7ecfc5536b47f4fa7d176b6450b67564caab7e6845531f02fd28feb8122f7afa",
81
+ "member": "string",
82
+ "name": "EncryptData",
83
+ "required": true,
84
+ "type": "string"
85
+ },
86
+ {
87
+ "disabled": false,
88
+ "document": "加密模式;0:ECB,1:CBC;2:CTR;3:CFB;4:OFB",
89
+ "example": "1",
90
+ "member": "uint64",
91
+ "name": "EncryptMode",
92
+ "required": true,
93
+ "type": "int"
94
+ },
95
+ {
96
+ "disabled": false,
97
+ "document": "填充模式;0:ZERO ;1:PKCS5;3:PKCS7",
98
+ "example": "1",
99
+ "member": "uint64",
100
+ "name": "PaddingType",
101
+ "required": true,
102
+ "type": "int"
103
+ }
104
+ ],
68
105
  "usage": "in"
69
106
  },
70
107
  "InputRecognizeTargetAudience": {
@@ -27,7 +27,7 @@
27
27
  "RecognizeTargetAudience": [
28
28
  {
29
29
  "document": "",
30
- "input": "POST / HTTP/1.1\nHost: taf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RecognizeTargetAudience\n<公共请求参数>\n\n{\n \"BspData\": {\n \"Uid\": \"XXXXXXXXXXXXXXX\",\n \"AccountType\": 256,\n \"ModelIdList\": [\n 5260\n ],\n \"IsAuthorized\": 1\n },\n \"BusinessEncryptData\": {}\n}",
30
+ "input": "POST / HTTP/1.1\nHost: taf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RecognizeTargetAudience\n<公共请求参数>\n\n{\n \"BspData\": {\n \"Uid\": \"XXXXXXXXXXXXXXX\",\n \"AccountType\": 256,\n \"ModelIdList\": [\n 5260\n ],\n \"IsAuthorized\": 1\n },\n \"BusinessEncryptData\": {\n \"EncryptMethod\": 0,\n \"EncryptData\": \"xxxxxxxxx\",\n \"EncryptMode\": 0,\n \"PaddingType\": 1\n }\n}",
31
31
  "output": "{\n \"Response\": {\n \"Data\": {\n \"Message\": \"xx\",\n \"Code\": 0,\n \"Value\": [\n {\n \"IsFound\": 0,\n \"Score\": 0.0,\n \"ModelId\": 1\n }\n ]\n },\n \"RequestId\": \"xx\"\n }\n}",
32
32
  "title": "RecognizeTargetAudience"
33
33
  }
@@ -3761,6 +3761,58 @@ def doResetMsgSubOffsetByTimestamp(args, parsed_globals):
3761
3761
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
3762
3762
 
3763
3763
 
3764
+ def doCreateRabbitMQBinding(args, parsed_globals):
3765
+ g_param = parse_global_arg(parsed_globals)
3766
+
3767
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
3768
+ cred = credential.CVMRoleCredential()
3769
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
3770
+ cred = credential.STSAssumeRoleCredential(
3771
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
3772
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
3773
+ )
3774
+ 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):
3775
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
3776
+ else:
3777
+ cred = credential.Credential(
3778
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
3779
+ )
3780
+ http_profile = HttpProfile(
3781
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
3782
+ reqMethod="POST",
3783
+ endpoint=g_param[OptionsDefine.Endpoint],
3784
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
3785
+ )
3786
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
3787
+ if g_param[OptionsDefine.Language]:
3788
+ profile.language = g_param[OptionsDefine.Language]
3789
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
3790
+ client = mod.TdmqClient(cred, g_param[OptionsDefine.Region], profile)
3791
+ client._sdkVersion += ("_CLI_" + __version__)
3792
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
3793
+ model = models.CreateRabbitMQBindingRequest()
3794
+ model.from_json_string(json.dumps(args))
3795
+ start_time = time.time()
3796
+ while True:
3797
+ rsp = client.CreateRabbitMQBinding(model)
3798
+ result = rsp.to_json_string()
3799
+ try:
3800
+ json_obj = json.loads(result)
3801
+ except TypeError as e:
3802
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
3803
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
3804
+ break
3805
+ cur_time = time.time()
3806
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
3807
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
3808
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
3809
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
3810
+ else:
3811
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
3812
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
3813
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
3814
+
3815
+
3764
3816
  def doDescribeMsgTrace(args, parsed_globals):
3765
3817
  g_param = parse_global_arg(parsed_globals)
3766
3818
 
@@ -7484,6 +7536,7 @@ ACTION_MAP = {
7484
7536
  "DescribeRocketMQCluster": doDescribeRocketMQCluster,
7485
7537
  "DeleteTopics": doDeleteTopics,
7486
7538
  "ResetMsgSubOffsetByTimestamp": doResetMsgSubOffsetByTimestamp,
7539
+ "CreateRabbitMQBinding": doCreateRabbitMQBinding,
7487
7540
  "DescribeMsgTrace": doDescribeMsgTrace,
7488
7541
  "ModifyRocketMQRole": doModifyRocketMQRole,
7489
7542
  "DescribeRabbitMQNodeList": doDescribeRabbitMQNodeList,